I. Burn uboot. bin to NAND Flash
(1) J-link arm
(2) r
(3) Speed 12000 // set TCK
(4) initialize SDRAM
Loadbin D: \ init. Bin 0
Setpc 0
G
(5) download the u-boot.bin_openjtag to SDRAM and run
H
Loadbin D: \ u-boot.bin_openjtag 0x33f80000
Setpc 0x33f80000
G
(6) download u-boot.bin to SDRAM
H
Loadbin D: \ u-boot.bin 0x30000000
G
(7) In the terminal through the u-boot.bin_openjtag to burn the u-boot.bin to the NAND Flash
Nand scrub // erase the entire NAND Flash
Y
Nand write. jffs2 0x30000000 0 0x400000
// Copy the previously downloaded 0x30000000ProgramBurn to NAND Block 0
Ii. Burn the kernel
(1) create a uimage
(2) Burn writing
Smdk2440a> TFTP 0x30008000 uimage
Smdk2440a> NAND erase 60000 500000
Smdk2440a> NAND write 0x30008000 0x60000 0x500000
Bootm
3. Create an NFS root file system
(1)root_qtopia.tar.gz root file system source code package
(2) configure the NFS shared directory of the NFS service
Set NFS shared directory
Start NFS service
Set U-boot parameters to start the kernel Mount network root file system:
......
Setenv bootargs console = ttysac0 root =/dev/nfs nfsroot = 192.168.1.102:/home/student/root_qtopia IP = 192.168.1.226: 192.168.1.102: 192.168.1.102: 255.255.255.0: Disabled: eth0: Off