hai,
Can anyone tell me how to flash the kernel image and bootloader image from the nand with required steps.
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
There are various ways of doing it, some are described in the user's guide for the IPNC - you can use a JTAG interface + Code Composer Studio, you can use TFTP or NFS, use the UART interface (which is slow) or you can boot from an SD card & burn images using U-Boot from there.
If you give more information on what you are trying to do that will help.
Bob,
I want dm368 leopardboard to boot from the nand flash.At present i can flash from the sd card.Then i am unable to do the flash from nand.Can u give me the procedure from kernel and uboot image to load on the nand flash.
I'm a bit confused by what you're flashing from where - what do you flash from the SD card? Are you flashing *to* the NAND?
You need to change the boot mode DIP switches to make the Leopard boot from NAND rather than SD.
Bob,
The senario is I can boot the uImage(kernel Image), Bootloader Image, File System from the sd card. In this case the dip pin switches are in 010 (0 indicates OFF and 1 indicates ON). Now i want to boot the bootloader Image and Kernel Image from the nand flash with dip pin switches are in 000, can u suggest me now to boot from nand flash with all make configuration and also step by step procedure to boot from nand flash. I was studied many forums and also many guides but i can't understand.
Assuming you have the image files and can get into U-Boot from your SD card, the commands described in my 1st post here show the process of burning everything to the NAND on a Leopardboard DM368.
Does this help at all:
http://processors.wiki.ti.com/index.php/Serial_Boot_and_Flash_Loading_Utility
Bob,
If i turn on the DM368 board UImage and U_boot.bin will be loaded from the sd card(because DIP switches are placed as 010), these UImage and U_boot.bin files in sd card should be write into the nand (nand flash). what are the steps do i follow
Assuming you have the UBL (ubl_432arm_340ddr_ipnc_dm368.bin) and U-Boot (u-boot-1.3.4-dm368_ipnc.bin) on your SD card, this should be the right thing for the IPNC:
fatload mmc 0 0x80700000 ubl_432arm_340ddr_ipnc_dm368.bin
nand erase 0x20000 0x20000
nand write.ubl 0x80700000 0x20000 0x20000
fatload mmc 0 0x80700000 u-boot-1.3.4-dm368_ipnc.bin
nand erase 0x320000 0x60000
nand write.ubl 0x80700000 0x320000 0x60000
fatload mmc 0 0x80700000 kernel.uImage
nand erase 0x500000 0x400000
nand write 0x80700000 0x500000 0x400000
fatload mmc 0 0x80700000 fsimage.uImage
nand erase 0x900000 0x2000000
nand write 0x80700000 0x900000 0x2000000
Although, as my thread link shows, I'm not having total success with UBL + U-boot at the moment!