[oe] Solution for AVR32 kernel link problem

Koen Kooi k.kooi at student.utwente.nl
Mon Feb 4 12:14:13 UTC 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Alex schreef:
| Hi
|
| I played around with OE for AVR32.
|
| I think I found a solution for the kernel linking problem.

<snip>

Great catch! This also fixes the build of alsa, it is applied in OE now.

|
| Finally, I couldn't test it, as I can't boot the kernel. Something is
| wrong with my load address and entry point. It is set to 0x20008000. I
| tried to
| add UBOOT_ENTRYPOINT = "90000000" to atngw100.conf and just recompile
| the kernel by "bitbake virtual/kernel -c clean" and "bitbake
| virtual/kernel".
| This didn't change the entry point, but maybe I have to recompile
| everything..

For my ngw with uboot from git (3 week old) the following works:

mkimage -A avr32 -O linux -T kernel -C none -a 0x10000000 -e 0x90000000
- -n 'koen 24rcgit' -d arch/avr32/boot/images/vmlinux.bin uImage

I changed linux.inc and atngw100.conf to allow the loadadress to be
different from the entry point.

regards,

Koen

- --
koen at dominion.kabel.utwente.nl will go go away in december 2007, please
use k.kooi at student.utwente.nl instead.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)

iD8DBQFHpwGVMkyGM64RGpERAtxkAKCnqnup+rV12sisqk8oMO7hkxYfogCdGTFG
zlIWKrqpDk8Tx8kQeoCvzE4=
=eIAw
-----END PGP SIGNATURE-----




More information about the Openembedded-devel mailing list