Skip to contentSkip to conversation

README.hardware: update flashing instructions for MPC8315

PATCH New Ed Bartosh 1 participant 1 message Jun 7, 2017

lore
Share & tools
lore

Ed Bartosh

author
#0 lore raw

PATCH 1/1 README.hardware: update flashing instructions for MPC8315

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.

---
 README.hardware | 15 +++++----------
 1 file changed, 5 insertions(+), 10 deletions(-)
README.hardware +5 -10
index e6ccf78..dc6a08d 100644
@@ -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 ---
Signature · 1 line
2.1.4