How to load image onto NAND flash at i.MX23 Evaluation Kit?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to load image onto NAND flash at i.MX23 Evaluation Kit?

Jump to solution
1,058 Views
olavtorheim
Contributor I

Hello everyone,

This question may seem simple, but I am new to using the MX series of microprocessors and have recently bought the i.MX23 evaluation kit. Now, what I want to do is to find out how to load my software onto the NAND flash. The evaluation board is configured using the switches to load from the NAND flash, and I am able to use the debug UART for logging into the existing linux system running from the currently existing boot image on the NAND flash. Now, I don't have any idea how to be able to put a new image onto the NAND flash and start running my own software on the board? How do I start from here? All help would be appreciated.

Best regards,

Olav

0 Kudos
1 Solution
658 Views
Ramtry
Contributor III

Hi Olav,


Follow this steps to flash program into NAND flash and Boot from NAND Flash.

$ cd ~/ltib

$ ./ltib -p boot_stream.spec -f

$ cd rootfs

$ sudo tar jcvf rootfs.tar.bz2 .

$ cp rootfs.tar.bz2 to pendrive

$ cp boot/imx28_ivt_linux.sb to  pendrive and rename it as linux_ivt.sb

boot the PC in window

*) set the boot switch is set to 0000 in imx evk board (USB0)

*) Connect microAB usb cable into your pc and OTG connector of your imx23 evk

*) Open MFGTOOL in pc

*) as soon you open the MFGTOOL then i will display the HID mode

*) Place the copied file in pendrive to the MFGTOOL  \Profiles\MX28 Linux Update\OS Firmware\files

*) Select Option->Configuration

*) Mfgtool-Configuration window will open and select SINGLE CHIP NAND in option tab of the list box and click OK

*) Click START button to program the NAND flash

*) After programming, change the boot switch to NAND and restart the board

*) Now your new board boot from NAND

Hope this may be helpful to you. I f you any other query, feel free to ask.

Thanks & Regards

RAM

View solution in original post

0 Kudos
1 Reply
659 Views
Ramtry
Contributor III

Hi Olav,


Follow this steps to flash program into NAND flash and Boot from NAND Flash.

$ cd ~/ltib

$ ./ltib -p boot_stream.spec -f

$ cd rootfs

$ sudo tar jcvf rootfs.tar.bz2 .

$ cp rootfs.tar.bz2 to pendrive

$ cp boot/imx28_ivt_linux.sb to  pendrive and rename it as linux_ivt.sb

boot the PC in window

*) set the boot switch is set to 0000 in imx evk board (USB0)

*) Connect microAB usb cable into your pc and OTG connector of your imx23 evk

*) Open MFGTOOL in pc

*) as soon you open the MFGTOOL then i will display the HID mode

*) Place the copied file in pendrive to the MFGTOOL  \Profiles\MX28 Linux Update\OS Firmware\files

*) Select Option->Configuration

*) Mfgtool-Configuration window will open and select SINGLE CHIP NAND in option tab of the list box and click OK

*) Click START button to program the NAND flash

*) After programming, change the boot switch to NAND and restart the board

*) Now your new board boot from NAND

Hope this may be helpful to you. I f you any other query, feel free to ask.

Thanks & Regards

RAM

0 Kudos