From: Ed Bartosh <ed.bartosh@linux.intel.com>
To: poky@yoctoproject.org
Subject: [PATCH] README.hardware: update flashing instructions for MPC8315
Date: Wed, 7 Jun 2017 15:22:46 +0300 [thread overview]
Message-ID: <1496838166-24881-1-git-send-email-ed.bartosh@linux.intel.com> (raw)
Using 1000000 memory address for kernel and a00000 for dtb
can cause kernel image to overwrite dtb when uncompressing
and u-boot crashing with:
ERROR: image is not a fdt - must RESET the board to recover.
Updated flashing instructions for the board to use addresses
1000000 and 2000000 to avoid this error.
Got rid of resetting loadaddr and ftdaddr u-boot variables.
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
---
README.hardware | 15 +++++----------
1 file changed, 5 insertions(+), 10 deletions(-)
diff --git a/README.hardware b/README.hardware
index e6ccf78..dc6a08d 100644
--- a/README.hardware
+++ b/README.hardware
@@ -255,21 +255,16 @@ Reset the board
and flash it to NOR flash as described above.
- 6. Set fdtaddr and loadaddr. This is not necessary if you set them before.
-
- => setenv fdtaddr a00000
- => setenv loadaddr 1000000
-
- 7. Load the kernel and dtb from first partition of the USB disk:
+ 6. Load the kernel and dtb from the first partition of the USB disk:
=> usb start
- => ext2load usb 0:1 $loadaddr uImage
- => ext2load usb 0:1 $fdtaddr dtb
+ => ext2load usb 0:1 1000000 uImage
+ => ext2load usb 0:1 2000000 dtb
- 8. Set bootargs and boot up the device
+ 7. Set bootargs and boot up the device
=> setenv bootargs root=/dev/sdb2 rw rootwait console=ttyS0,115200
- => bootm $loadaddr - $fdtaddr
+ => bootm 1000000 - 2000000
--- Booting from NFS root ---
--
2.1.4
reply other threads:[~2017-06-07 12:23 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=1496838166-24881-1-git-send-email-ed.bartosh@linux.intel.com \
--to=ed.bartosh@linux.intel.com \
--cc=poky@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.