Forum.ArchosFans.com
http://forum.archosfans.com/

Step-by-step for building Angstrom for the A5
http://forum.archosfans.com/viewtopic.php?f=34&t=28214
Page 1 of 1

Author:  cryptyk [ Fri Dec 04, 2009 10:24 am ]
Post subject:  Step-by-step for building Angstrom for the A5

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

Author:  Knorreworst [ Fri Dec 04, 2009 8:26 pm ]
Post subject:  Re: Step-by-step for building Angstrom for the A5

THANK YOU!!!

Great job, this helps us significantly :D

Author:  barragan [ Fri Dec 04, 2009 9:05 pm ]
Post subject:  Re: Step-by-step for building Angstrom for the A5

HI WHAT IS THIS? WHAT WILL IT DO AN MY ARCHOS 5?DO I HAVE TO DOWNLOAD IT ?

Author:  kooga1 [ Sun Dec 06, 2009 3:49 pm ]
Post subject:  Re: Step-by-step for building Angstrom for the A5

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

Author:  cryptyk [ Mon Dec 07, 2009 8:42 am ]
Post subject:  Re: Step-by-step for building Angstrom for the A5

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.

Author:  kooga1 [ Mon Dec 07, 2009 9:08 am ]
Post subject:  Re: Step-by-step for building Angstrom for the A5

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.

Author:  kooga1 [ Mon Dec 07, 2009 9:21 am ]
Post subject:  Re: Step-by-step for building Angstrom for the A5

for the source-me.txt errors, it's the last
Code:
cd ${OETREE}
who's wrong

Author:  cryptyk [ Mon Dec 07, 2009 7:38 pm ]
Post subject:  Re: Step-by-step for building Angstrom for the A5

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.

Author:  kooga1 [ Mon Dec 07, 2009 9:27 pm ]
Post subject:  Re: Step-by-step for building Angstrom for the A5

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$

Author:  cryptyk [ Mon Dec 07, 2009 10:13 pm ]
Post subject:  Re: Step-by-step for building Angstrom for the A5

That's weird. Try this:
sudo su -
echo "vm.mmap_min_addr = 0" > /etc/sysctl.d/mmap_min_addr.conf
exit

Author:  Raingna [ Tue Dec 08, 2009 6:00 pm ]
Post subject:  Re: Step-by-step for building Angstrom for the A5

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

Author:  dbn045 [ Tue Dec 08, 2009 7:44 pm ]
Post subject:  Re: Step-by-step for building Angstrom for the A5

What exactly does this do? I don't get it

Author:  papygeek [ Thu Dec 31, 2009 4:40 pm ]
Post subject:  Re: Step-by-step for building Angstrom for the A5

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 ...

Author:  grond [ Thu Dec 31, 2009 5:37 pm ]
Post subject:  Re: Step-by-step for building Angstrom for the A5

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...

Author:  papygeek [ Fri Jan 01, 2010 1:12 pm ]
Post subject:  Re: Step-by-step for building Angstrom for the A5

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 ?

Author:  r_o_e_e [ Fri Jan 15, 2010 12:02 pm ]
Post subject:  Re: Step-by-step for building Angstrom for the A5

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

Author:  rishid [ Fri Jan 22, 2010 3:35 pm ]
Post subject:  Re: Step-by-step for building Angstrom for the A5

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.

Author:  ptaffs [ Thu Oct 14, 2010 1:30 pm ]
Post subject:  Re: Step-by-step for building Angstrom for the A5

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.

Author:  bakhanbeigi [ Mon Dec 26, 2011 4:24 pm ]
Post subject:  Re: Step-by-step for building Angstrom for the A5

Is it available for Archos 7c home ?

Page 1 of 1 All times are UTC+01:00
Powered by phpBB® Forum Software © phpBB Limited
https://www.phpbb.com/