Linux under USB burn write Uimage kernel 1. Start the Development Board and enter the U-boot: (if there is no system in the board, you can start the board by using SD card) u-boot 2011.06 (Mar 19 2012- 08:45:34) for mini6410 cpu: [EMAIL&NBSP;PROTECTED]FCLK = 667MHz, hclk = 133MHz, Pclk = 66MHz (ASYNC Mode) board:mini6 410dram:256 mibnand:512 Mibmmc:samsung sd/mmc:host controler ch0sd Card is SD_VERSION_2SD/MMC size:3911680 block * 5 12B = 1910mbvideo:no Video params found, try bootargs~~ 640x480x24 31kHz 59hz[petworm] Video_hw_init: <640, 480, 640, 480>error:bad gzipped dataerror:no Valid BMP or bmp.gz image at 57500000in:serialout:serialerr:serialnet:dm9000hi T any key to stop autoboot:3 2. After pressing any key into the command line state, run the DNW command, and the file storage address is passed in as a parameter (hex): mini6410 # DNW 50008000Insert a OTG cab Le into the connector! 3. Plug in the USB cable, connect the host and the Development Board, Minicom will appear the following prompt: usb Cable is Connectednow, waiting for DNW to Transmi T data 4. Another terminal, load Secbulk driver: sudo insmod secbulk 5. Establish Secbulk Drive Device node (you can skip this step by experimenting): sudo Mknod/dev /secbulk0 C 102 0 6. Run the DNW program to send the UIMThe file name of age with a path is passed in as a parameter: sudo./DNW uimage_a70 # (We select the Uimage_a70 file in the current directory) transfer starts after carriage, until the transfer is complete. The minicom tip is as follows: now, waiting for DNW to transmit Datadownload done!! Download address:0x50008000, Download filesize:0x40de8checksum is being calculated. Checksum o.k. host side hints as follows: [email protected]:~/desktop/dnw_linux/dnw$ sudo./DNW uimage_a70file Name: Uimage_a70file size:3763296 byteswriting Data ... 100% 3763306 bytes ok At this point, the file transfer is complete and the checksum is correct. At this point we can use the U-boot command to write the file to the corresponding Nandflash address: mini6410 # NAND erase 80000 400000NAND erase:device 0 offset 0x80000, size 0x 400000Erasing at 0x460000 – 100% complete. OKMINI6410 # NAND Write 50008000 80000 400000NAND write:device 0 offset 0x80000, size 0x4000004194304 bytes WRITTEN:OK&N Bsp;7. Adjust the S2 to the NAND boot position, restart the board and read the kernel to memory from the Nandflash, and run the following results: u-boot 2011.06 (Mar 2012-13:58:27) for mini6410 CPU: [EMAIL&NBSP;PROTECTED]FCLK = 667MHz, hclk = 133MHz, Pclk = 66MHz (ASYNC Mode) board:mini6410dram:256 mibnand:512 Mi Bmmc:samsung SD/MMC: Host controler ch0no SD/MMC card detected! No MMC card for env! Using default Environmentvideo:no Video params found, try bootargs~~ 640x480x24 31kHz 59hz[petworm] Video_hw_init: <64 0, 480, 640, 480>no SD/MMC card detected! Video:no MMC card for background image! In:serialOut:serialErr:serialNet:dm9000Hit any key to stop autoboot:0mini6410 # NAND read 50008000 80000 400000NAND R Ead:device 0 Offset 0x80000, size 0x4000004194304 bytes read:ok 8. Boot the kernel from memory: mini6410 # BOOTM 50008000## bootin G kernel from Legacy Image at 50008000 ... Image name:petwormimage Type:arm linux kernel image (uncompressed) Data size:3763232 Bytes = 3.6 Mibload Addre Ss:50008000entry point:50008040verifying Checksum ... Okxip Kernel Image ... Okok starting kernel ... uncompressing Linux ... done, booting the kernel. Initializing cgroup Subsys cpulinux version 2.6.38-friendlyarm ([email protected]) (GCC version 4.5.1 ( Ctng-1.8.1-f1cpu:armv6-compatible Processor [410fb7Revision 6 (ARMV7), Cr=00c5387fcpu:vipt nonaliasing data cache, vipt nonaliasing instruction cachemachine:mini6410. 。。 。。。 At this point, Linux with USB cable burning write Uimage successfully completed! : We can convert the Zimage to a uimage file by using the Mkimage command that comes with U-boot, the command is as follows: Mkimage-a arm-o linux-t kernel-c none-a 0x50008000-e0x50 008040-n "Image-name"-D zimage_a70 uimage_a70 This command converts the Zimage_a70 file to a uimage_a70 file, and the name of the image is image-name.
Linux under USB burn uimage kernel