NOR flash, NAND flash and the steppingstone
Andy Green
andy at openmoko.com
Tue Sep 9 09:06:51 CEST 2008
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Somebody in the thread at some point said:
| Which brought me to the next idea: Write a tiny "just do the basic
| setup and prepare the kernel TAGs" stubcode, that would be uploaded
| to steppingstone and executed until breakpoint, so that JTAG can be
| used to upload the kernel into SDRAM, and then execution resumed in
| the kernel image with registers r0, r1, r2 pointing to the parameter
| structures.
|
| And now I see, that such kind of project is already in work :-)
You have to do a bit more like ATAGs to get kernel to start... you can
find ATAG generation in phase2.c
http://git.openmoko.org/?p=qi.git;a=blob;f=src/phase2.c;h=fe8b0ecf3876d84a9e2b7a81da5b196fd0c4ed9a;hb=HEAD
and OpenOCD script in there to do it all from scratch via steppingstone.
http://git.openmoko.org/?p=qi.git;a=blob;f=gta03-qi.ocd;h=16cf0bdde5c9569d7c8e360043c27679a148b5a9;hb=HEAD
- -Andy
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org
iEYEARECAAYFAkjGIH8ACgkQOjLpvpq7dMpc5wCfb+eMz6/1P3qdTk5trJfX0X/S
svcAn2yk3lu3lcEPtoqmNsP3j+KuwzSa
=ENQ9
-----END PGP SIGNATURE-----
More information about the hardware
mailing list