[meta-freescale] Deploying U-Boot on empty NAND (imx28evk)

Per Smitt per.smitt at sbie.se
Tue Aug 26 06:40:23 PDT 2014


Hi

I am working with an imx28evk to build a Linux platform for a customer. I have been able to get Linux running on the board both with SD and nand. To run on nand I had to use MfgTool to write U-Boot to the nand.

To get more control of the deployment process I want to move away from MfgTool and only use sb_loader.exe to send an U-Boot to execute in RAM and from there I want to manually download all files I need over TFTP and write them to nand.

I have managed to do this with both kernel and ubifs filesystem but U-Boot keeps eluding me.

I have an empty nand in the imx28evk board and do the following:
sb_loader.exe /f u-boot-imx28evk.sb
This starts U-Boot on the device, and the nand is still empty.

Then in U-Boot I do the following:
mtdparts delall
mtdparts add nand0 0x0300000 bootloader
nand erase.part bootloader
tftp ${loadaddr} tlx-image-minimal-imx28evk.uboot.mxsboot-nand
nand write ${loadaddr} bootloader

All the U-Boot commands were executed successfully. I had hoped that at this point I could press the reset button and get U-Boot executing right away. However I only get this in the terminal:
0x80508002

Anyone who can help me with this?

Additional info:
This based on core-image-minimal with minor changes to conf/machine/imx28evk.conf:
UBOOT_CONFIG ??= "nand"
IMAGE_FSTYPES ?= "uboot.mxsboot-nand uboot.mxsboot-sdcard sdcard ubifs"

Many thanks in advance,
Per Smitt





-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/meta-freescale/attachments/20140826/bee30873/attachment-0001.html>


More information about the meta-freescale mailing list