can i try to use my code to boot CURRENT KERNEL

Andy Green andy at openmoko.com
Mon Aug 4 16:58:57 CEST 2008


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

Somebody in the thread at some point said:
| can i try to use my code to boot CURRENT KERNEL
|
| i spent a lot of time about loads a file form NAND to DRAM(and serial
| console debug),
| so i want do something about "Next"[1]
| --"add the initialization that is currently done in u-boot and not
| --in the kernel." even now i don't know how to do it, but i want try.

Take a look at ./common/cmd_bootm.c and ./lib_arm/bootm.c.  This is what
runs with bootm command in U-Boot once the kernel image is in RAM.

We make our kernels so they decompress themselves (IH_COMP_NONE), you
don't have to take care of it.

Just follow the flow from do_bootm() ./common/cmd_bootm.c into
do_bootm_linux() in ./lib_arm/bootm.c and see how you go.

- -Andy
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iEYEARECAAYFAkiXGTEACgkQOjLpvpq7dMo5jQCeMB4klewjzrXhxeRtzMaQAB4Y
A1kAn0FBFdTuC8Bz9aCBmHVl1UWGeKTk
=89rT
-----END PGP SIGNATURE-----




More information about the openmoko-kernel mailing list