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.

(From meta-yocto rev: 05fc7fc19a9b43cab31ea873e5c38a2737c799cf)

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Ed Bartosh 2017-06-07 15:22:46 +03:00 committed by Richard Purdie
parent f1fd97be55
commit b1d5267f0e

View File

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