Forum.ArchosFans.com

Unofficial Archos Support Forum
It is currently Thu Dec 12, 2019 4:08 am

All times are UTC+01:00




Post new topic  Reply to topic  [ 19 posts ] 
Author Message
PostPosted: Fri Dec 04, 2009 10:24 am 
Offline
Archos User
Archos User

Joined: Wed Aug 20, 2008 11:42 pm
Posts: 127
I documented everything I did to get Angstrom building for the A5, from scratch. It doesn't really explain what each step does, but it's a step-by-step you can follow if you want to get up to speed quickly. It uses a virtual machine running Ubuntu, so it should be easy to follow regardless of which OS you're running on your computer.
http://dl.dropbox.com/u/387849/wiki.html


Top
   
PostPosted: Fri Dec 04, 2009 8:26 pm 
Offline
Archos Novice
Archos Novice

Joined: Mon Nov 16, 2009 10:58 am
Posts: 40
THANK YOU!!!

Great job, this helps us significantly :D


Top
   
PostPosted: Fri Dec 04, 2009 9:05 pm 
Offline
Archos Novice
Archos Novice

Joined: Fri Dec 04, 2009 8:36 pm
Posts: 2
HI WHAT IS THIS? WHAT WILL IT DO AN MY ARCHOS 5?DO I HAVE TO DOWNLOAD IT ?


Top
   
PostPosted: Sun Dec 06, 2009 3:49 pm 
Offline
Archos Novice
Archos Novice

Joined: Sun Dec 06, 2009 3:31 pm
Posts: 4
Hello, thanks for the step by step.
Sorry for my bad english.

I've errors
Code:
[email protected]:~/OE/openembedded$ echo "vm.mmap_min_addr = 0" > /etc/sysctl.d/mmap_min_addr.conf
bash: /etc/sysctl.d/mmap_min_addr.conf: Permission denied


and
Code:
[email protected]:~/OE/openembedded$ cd ${OETREE}
[email protected]:~/OE$ source source-me.txt
bash: source-me.txt: No such file or directory
[email protected]:~/OE$ cd ${OETREE}/openembedded
[email protected]:~/OE/openembedded$ bitbake base-image ; bitbake console-image x11-image
/usr/lib/pymodules/python2.6/bb/COW.py:29: DeprecationWarning: the sets module is deprecated
  import types, sets
ERROR: Please set the 'PERSISTENT_DIR' or 'CACHE' variable.
/usr/lib/pymodules/python2.6/bb/COW.py:29: DeprecationWarning: the sets module is deprecated
  import types, sets
ERROR: Please set the 'PERSISTENT_DIR' or 'CACHE' variable.


thanks for your help


Top
   
PostPosted: Mon Dec 07, 2009 8:42 am 
Offline
Archos User
Archos User

Joined: Wed Aug 20, 2008 11:42 pm
Posts: 127
kooga1 wrote:
Hello, thanks for the step by step.
Sorry for my bad english.

I've errors
Code:
[email protected]:~/OE/openembedded$ echo "vm.mmap_min_addr = 0" > /etc/sysctl.d/mmap_min_addr.conf
bash: /etc/sysctl.d/mmap_min_addr.conf: Permission denied



This should be
Code:
sudo echo "vm.mmap_min_addr = 0" > /etc/sysctl.d/mmap_min_addr.conf


kooga1 wrote:
and
Code:
[email protected]:~/OE/openembedded$ cd ${OETREE}
[email protected]:~/OE$ source source-me.txt
bash: source-me.txt: No such file or directory
[email protected]:~/OE$ cd ${OETREE}/openembedded
[email protected]:~/OE/openembedded$ bitbake base-image ; bitbake console-image x11-image
/usr/lib/pymodules/python2.6/bb/COW.py:29: DeprecationWarning: the sets module is deprecated
  import types, sets
ERROR: Please set the 'PERSISTENT_DIR' or 'CACHE' variable.
/usr/lib/pymodules/python2.6/bb/COW.py:29: DeprecationWarning: the sets module is deprecated
  import types, sets
ERROR: Please set the 'PERSISTENT_DIR' or 'CACHE' variable.


thanks for your help


Did you download the source-me.txt file? It's the wget command in the second code-box of Step 2 of the tutorial.


Top
   
PostPosted: Mon Dec 07, 2009 9:08 am 
Offline
Archos Novice
Archos Novice

Joined: Sun Dec 06, 2009 3:31 pm
Posts: 4
cryptyk wrote:
This should be


Code:
sudo echo "vm.mmap_min_addr = 0" > /etc/sysctl.d/mmap_min_addr.conf



I've test and it's the same errors

Yes source-me.txt is download.


Top
   
PostPosted: Mon Dec 07, 2009 9:21 am 
Offline
Archos Novice
Archos Novice

Joined: Sun Dec 06, 2009 3:31 pm
Posts: 4
for the source-me.txt errors, it's the last
Code:
cd ${OETREE}
who's wrong


Top
   
PostPosted: Mon Dec 07, 2009 7:38 pm 
Offline
Archos User
Archos User

Joined: Wed Aug 20, 2008 11:42 pm
Posts: 127
I bet I know what happened. Once you've run export {{{ OETREE="${HOME}/OE" }}}, you need to use that same console window without closing it.

Try this:
sudo echo "vm.mmap_min_addr = 0" > /etc/sysctl.d/mmap_min_addr.conf
This should ask you for your password - you shouldn't get a permission denied unless you put the wrong password in...
Then delete the OE directory {{{ rm -rf ~/OE }}}
Then start at Step 2 again, running each command individually, all in the same console window.


Top
   
PostPosted: Mon Dec 07, 2009 9:27 pm 
Offline
Archos Novice
Archos Novice

Joined: Sun Dec 06, 2009 3:31 pm
Posts: 4
the same error :(

Code:
[email protected]:~/OE/openembedded$ sudo echo "vm.mmap_min_addr = 0" > /etc/sysctl.d/mmap_min_addr.conf
bash: /etc/sysctl.d/mmap_min_addr.conf: Permission denied
[email protected]:~/OE/openembedded$


Top
   
PostPosted: Mon Dec 07, 2009 10:13 pm 
Offline
Archos User
Archos User

Joined: Wed Aug 20, 2008 11:42 pm
Posts: 127
That's weird. Try this:
sudo su -
echo "vm.mmap_min_addr = 0" > /etc/sysctl.d/mmap_min_addr.conf
exit


Top
   
PostPosted: Tue Dec 08, 2009 6:00 pm 
Offline
Archos User
Archos User

Joined: Fri Oct 31, 2008 3:14 pm
Posts: 51
Nice tutorial. I might give it a shot.

Just a question... Since you used Ubuntu over Virtualbox (all free software), would be requesting the .vdi of your already set-up environment asking too much? :P


Top
   
PostPosted: Tue Dec 08, 2009 7:44 pm 
Offline
Archos User
Archos User

Joined: Sat Sep 05, 2009 9:59 pm
Posts: 106
What exactly does this do? I don't get it


Top
   
PostPosted: Thu Dec 31, 2009 4:40 pm 
Offline
Archos Novice
Archos Novice

Joined: Thu Dec 31, 2009 4:37 pm
Posts: 2
Hello,

I make all what it describe, but the compilation is during also.
I compile during 48 hours and it is not finish....

Is it normal ?

Then another question : how can we install this compilation on the archos, it is not describe anywhere ?

Thnak you very much for your works ...


Top
   
PostPosted: Thu Dec 31, 2009 5:37 pm 
Offline
Archos Guru
Archos Guru

Joined: Thu Nov 23, 2006 10:37 pm
Posts: 627
Location: Berlin
papygeek wrote:
I compile during 48 hours and it is not finish....

Is it normal ?


I think somebody reported that it took a week to compile...

_________________
openAOS


Top
   
PostPosted: Fri Jan 01, 2010 1:12 pm 
Offline
Archos Novice
Archos Novice

Joined: Thu Dec 31, 2009 4:37 pm
Posts: 2
Done !
All compilation takes 55 hours !

And now how can i install this compilation ?
I suppose i must run the aos tools for unpack and repack the firmware ?
In the new "open firmware" which archos gived when you unpack you have the following folders :
Init and recovery
they contain : initramfs(folder) zImage(file)
and in initramfs :
bin dev etc init(file) lib mnt new-root proc sbin sys usr

Question : may i replace this directory by my rootfs crosscompilation ?
and then i repack the firmware for update my archos ?


Top
   
PostPosted: Fri Jan 15, 2010 12:02 pm 
Offline
Archos Novice
Archos Novice

Joined: Sat Jan 09, 2010 11:54 pm
Posts: 2
Hi
Have you figured out how to perform the flash ?
When I place both files (initramfs and zImage) on the device it says if flushed successfully but every things works as if nothing happend.

How do I make the switch ?

Cheers
Roee


Top
   
PostPosted: Fri Jan 22, 2010 3:35 pm 
Offline
Archos Novice
Archos Novice

Joined: Wed Jan 20, 2010 8:12 pm
Posts: 4
cryptyk: have you been able to take the image that gets built and run it on the A05?

If so can we complete the tutorial? It has been a great resource.


Top
   
PostPosted: Thu Oct 14, 2010 1:30 pm 
Offline
Archos Novice
Archos Novice

Joined: Thu Oct 14, 2010 1:24 pm
Posts: 1
cryptyk wrote:
That's weird. Try this:
sudo su -
echo "vm.mmap_min_addr = 0" > /etc/sysctl.d/mmap_min_addr.conf
exit


it's not weird.

sudo echo "vm.mmap_min_addr = 0" > /etc/sysctl.d/mmap_min_addr.conf

will only run the echo with elevated privilege, the redirect ">" runs with user privilege and can't write to the file.

This should also work, running the command in a subshell (sh), but is not universal as people use different shells (sh, bash, ksh), and quotes need thought since they don't nest well.

sudo sh -c 'echo "vm.mmap_min_addr = 0" > /etc/sysctl.d/mmap_min_addr.conf'

sudo sh -c "echo vm.mmap_min_addr = 0 > /etc/sysctl.d/mmap_min_addr.conf"

"sudo su -" is a bad habit.


Top
   
PostPosted: Mon Dec 26, 2011 4:24 pm 
Offline
Archos Novice
Archos Novice

Joined: Sat Oct 15, 2011 10:09 am
Posts: 6
Is it available for Archos 7c home ?


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 19 posts ] 

All times are UTC+01:00


Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Limited