Some question about the first-stage for kboot
andy at openmoko.com
Sun May 18 09:53:04 CEST 2008
-----BEGIN PGP SIGNED MESSAGE-----
Somebody in the thread at some point said:
| wrote by werner:
| I'd recommend storing the first-stage loader in the first NAND erase
| page (128kB), and the kboot system in the following pages. That way,
| the kboot system can be replaced without changing the first-stage
| and vice versa.
| i think the first-stage for kboot needs :
| if we just need the three files.
| i want to know how to build a first-stage bin file.
| and i don't want build it in the u-boot project.
| there are too many code and file in u-boot that we don't need.
| i want create a new project about first-stage.
| give me some advice.
If I was doing this, I would think about two ways
~ - reduce the U-Boot configure to this minimum, then delete all sources
~ not compiled from U-Boot tree, clean down the Makefile, until you can
have the minimum needed
~ - capture the existing U-Boot build actions into a script, ie, watch
the gcc command lines used and copy the ones for the files you are
interested in. Simulate just running those with your script.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org
-----END PGP SIGNATURE-----
More information about the openmoko-kernel