diff options
author | Ed Bartosh <ed.bartosh@linux.intel.com> | 2017-06-07 15:22:46 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-06-09 17:13:45 +0100 |
commit | b1d5267f0e31605b346af40778da0ac1ff298b78 (patch) | |
tree | 1b1379608b01f1a017340b73b565438c733b3863 | |
parent | f1fd97be551fe4ec2027cd8d17abd63c772f8305 (diff) | |
download | poky-b1d5267f0e31605b346af40778da0ac1ff298b78.tar.gz |
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>
-rw-r--r-- | README.hardware | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/README.hardware b/README.hardware index e6ccf7808e..dc6a08dea7 100644 --- a/README.hardware +++ b/README.hardware | |||
@@ -255,21 +255,16 @@ Reset the board | |||
255 | 255 | ||
256 | and flash it to NOR flash as described above. | 256 | and flash it to NOR flash as described above. |
257 | 257 | ||
258 | 6. Set fdtaddr and loadaddr. This is not necessary if you set them before. | 258 | 6. Load the kernel and dtb from the first partition of the USB disk: |
259 | |||
260 | => setenv fdtaddr a00000 | ||
261 | => setenv loadaddr 1000000 | ||
262 | |||
263 | 7. Load the kernel and dtb from first partition of the USB disk: | ||
264 | 259 | ||
265 | => usb start | 260 | => usb start |
266 | => ext2load usb 0:1 $loadaddr uImage | 261 | => ext2load usb 0:1 1000000 uImage |
267 | => ext2load usb 0:1 $fdtaddr dtb | 262 | => ext2load usb 0:1 2000000 dtb |
268 | 263 | ||
269 | 8. Set bootargs and boot up the device | 264 | 7. Set bootargs and boot up the device |
270 | 265 | ||
271 | => setenv bootargs root=/dev/sdb2 rw rootwait console=ttyS0,115200 | 266 | => setenv bootargs root=/dev/sdb2 rw rootwait console=ttyS0,115200 |
272 | => bootm $loadaddr - $fdtaddr | 267 | => bootm 1000000 - 2000000 |
273 | 268 | ||
274 | 269 | ||
275 | --- Booting from NFS root --- | 270 | --- Booting from NFS root --- |