aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/layerscape/README
diff options
context:
space:
mode:
authorPawel Dembicki <paweldembicki@gmail.com>2020-08-13 11:15:56 +0200
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>2020-08-25 16:42:21 +0200
commit81ac2a73bc227484888a2a715f8e4e2e8043804e (patch)
tree5303e17e76da1ab3fb6ba5a164020ab62f4b5f6d /target/linux/layerscape/README
parente12ac405525c29a6b6195e6259d769715919560c (diff)
downloadupstream-81ac2a73bc227484888a2a715f8e4e2e8043804e.tar.gz
upstream-81ac2a73bc227484888a2a715f8e4e2e8043804e.tar.bz2
upstream-81ac2a73bc227484888a2a715f8e4e2e8043804e.zip
layerscape: add flashing manual for LS1012FRDM
LS1012FRDM is supported but there's no flashing instruction in README. This patch adds it. While at it, add a missing saveenv for MAC address setup. Signed-off-by: Pawel Dembicki <paweldembicki@gmail.com> [add comment about saveenv] Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
Diffstat (limited to 'target/linux/layerscape/README')
-rw-r--r--target/linux/layerscape/README11
1 files changed, 11 insertions, 0 deletions
diff --git a/target/linux/layerscape/README b/target/linux/layerscape/README
index 951f3e8984..8cbf05bd15 100644
--- a/target/linux/layerscape/README
+++ b/target/linux/layerscape/README
@@ -71,6 +71,16 @@ from SD card.
3.2 Program firmware.bin to flash
---------------------------------
+* LS1012FRDM (QSPI flash)
+ Board have only one nor flash bank. Those commands will replace stock
+ bootloader and firmware. Please refer point 4 for MAC recovery.
+
+ => tftp a0000000 <firmware_name>-firmware.bin
+ => sf probe 0:0
+ => sf erase 0 +$filesize
+ => sf write a0000000 0 $filesize
+ => reset
+
* LS1012ARDB (QSPI flash)
Start up from bank1, and program firmware to bank2 with below commands.
Switch to bank2 to start up OpenWrt.
@@ -155,6 +165,7 @@ from SD card.
=> setenv ethaddr 00:04:9F:04:65:4b
=> setenv eth1addr 00:04:9F:04:65:4c
+ => saveenv
5. Other references