All of lore.kernel.org
 help / color / mirror / Atom feed
* Deploying U-Boot on empty NAND (imx28evk)
@ 2014-08-26 13:40 Per Smitt
  2014-08-26 14:02 ` Otavio Salvador
  2014-08-26 16:12 ` Eric Bénard
  0 siblings, 2 replies; 5+ messages in thread
From: Per Smitt @ 2014-08-26 13:40 UTC (permalink / raw)
  To: meta-freescale@yoctoproject.org

[-- Attachment #1: Type: text/plain, Size: 1439 bytes --]

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






[-- Attachment #2: Type: text/html, Size: 2484 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2014-08-27  8:50 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-08-26 13:40 Deploying U-Boot on empty NAND (imx28evk) Per Smitt
2014-08-26 14:02 ` Otavio Salvador
2014-08-26 14:48   ` Per Smitt
2014-08-26 16:12 ` Eric Bénard
2014-08-27  8:50   ` Per Smitt

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.