1
0
mirror of git://projects.qi-hardware.com/xburst-tools.git synced 2024-11-01 14:14:38 +02:00
xburst-tools/nandboot
Xiangfu Liu 056ecbbe29 -add nandboot to xburst-tool
-nandboot load the zImage kernel

Signed-off-by: Xiangfu Liu <xiangfu.z@gmail.com>
2009-07-01 10:53:48 +08:00
..
include -add nandboot to xburst-tool 2009-07-01 10:53:48 +08:00
src -add nandboot to xburst-tool 2009-07-01 10:53:48 +08:00
config.h -add nandboot to xburst-tool 2009-07-01 10:53:48 +08:00
README -add nandboot to xburst-tool 2009-07-01 10:53:48 +08:00

This is the source code of the NAND Secondary Program Loader (SPL).
The NAND SPL itself will be first loaded by the IPL (Initial Program Loader)
inside the CPU, then it loads the kernel image from NAND into RAM and 
starts the kernel from RAM.

To build the NAND SPL, follow next steps:

  $ cd src/
  $ make

And you will get a binary file called n-boot.bin.

Before building the SPL, you should open config.h and check the 
configuration is correct for your system.

For JZ4730, the n-boot.bin must be less than 4KB.

For JZ4740, the n-boot.bin must be less than 8KB.

The platform definitions were declared in include/jz47xx_board.h.
Please check and modify it according to your system.