[poky] [PATCH] README.hardware: update flashing instructions for MPC8315

Ed Bartosh ed.bartosh at linux.intel.com
Wed Jun 7 05:22:46 PDT 2017


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 at 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



More information about the poky mailing list