From: Per Smitt <per.smitt@sbie.se>
To: "meta-freescale@yoctoproject.org" <meta-freescale@yoctoproject.org>
Subject: Deploying U-Boot on empty NAND (imx28evk)
Date: Tue, 26 Aug 2014 13:40:23 +0000 [thread overview]
Message-ID: <1409060423340.67946@sbie.se> (raw)
[-- 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 --]
next reply other threads:[~2014-08-26 13:56 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-08-26 13:40 Per Smitt [this message]
2014-08-26 14:02 ` Deploying U-Boot on empty NAND (imx28evk) Otavio Salvador
2014-08-26 14:48 ` Per Smitt
2014-08-26 16:12 ` Eric Bénard
2014-08-27 8:50 ` Per Smitt
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1409060423340.67946@sbie.se \
--to=per.smitt@sbie.se \
--cc=meta-freescale@yoctoproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.