diff options
author | Yangbo Lu <yangbo.lu@nxp.com> | 2018-07-18 16:56:07 +0800 |
---|---|---|
committer | Hauke Mehrtens <hauke@hauke-m.de> | 2018-09-22 21:20:57 +0200 |
commit | 7016dd48f164364e1ee7b9d86169375691f7be0d (patch) | |
tree | a8bb408214ca6cbb8cb7b764d79803488310a72e /package/boot/uboot-layerscape | |
parent | eb684205e5e6958ad71cf4a179fa776f6507f7e3 (diff) | |
download | upstream-7016dd48f164364e1ee7b9d86169375691f7be0d.tar.gz upstream-7016dd48f164364e1ee7b9d86169375691f7be0d.tar.bz2 upstream-7016dd48f164364e1ee7b9d86169375691f7be0d.zip |
layerscape: add ls1012afrwy support and drop ls1012afrdm
ls1012afrdm was no longer supported in NXP Layerscape SDK.
Instead a new board ls1012afrwy was introduced in LSDK.
This patch is to drop ls1012afrdm and add ls1012afrwy support.
Since only 2MB NOR flash could be used, we just put u-boot
and firmware on NOR flash, and put kernel/dtb/rootfs on SD
card.
The Layerscape FRWY-LS1012A board is an ultra-low-cost
development platform for LS1012A Series Communication
Processors built on Arm Cortex-A53. This tool refines the
FRDM-LS1012A with more features for a better hands-on experience
for IoT, edge computing, and various advanced embedded
applications. Features include easy access to processor I/O,
low-power operation, micro SD card storage, an M2 connector, a
small form factor, and expansion board options via mikroBUS Click
Module. The MicroBUS Module provides easy expansion via hundreds
of powerful modules supporting sensors, actuators, memories,
and displays.
Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
Diffstat (limited to 'package/boot/uboot-layerscape')
-rw-r--r-- | package/boot/uboot-layerscape/Makefile | 10 | ||||
-rw-r--r-- | package/boot/uboot-layerscape/files/ls1012afrdm-uEnv.txt | 8 | ||||
-rw-r--r-- | package/boot/uboot-layerscape/files/ls1012afrwy-uEnv.txt | 8 |
3 files changed, 13 insertions, 13 deletions
diff --git a/package/boot/uboot-layerscape/Makefile b/package/boot/uboot-layerscape/Makefile index ef456bfc7e..39dc6c76d1 100644 --- a/package/boot/uboot-layerscape/Makefile +++ b/package/boot/uboot-layerscape/Makefile @@ -33,10 +33,10 @@ define U-Boot/ls1012ardb ENV_SIZE:=0x40000 endef -define U-Boot/ls1012afrdm - NAME:=NXP LS1012AFRDM - UBOOT_CONFIG:=ls1012afrdm_qspi - ENV_SIZE:=0x40000 +define U-Boot/ls1012afrwy + NAME:=NXP LS1012AFRWY + UBOOT_CONFIG:=ls1012afrwy_qspi + ENV_SIZE:=0x10000 endef define U-Boot/ls1043ardb @@ -94,7 +94,7 @@ endef UBOOT_TARGETS := \ ls1012ardb \ - ls1012afrdm \ + ls1012afrwy \ ls1043ardb \ ls1043ardb-sdboot \ ls1046ardb \ diff --git a/package/boot/uboot-layerscape/files/ls1012afrdm-uEnv.txt b/package/boot/uboot-layerscape/files/ls1012afrdm-uEnv.txt deleted file mode 100644 index 32419dd33d..0000000000 --- a/package/boot/uboot-layerscape/files/ls1012afrdm-uEnv.txt +++ /dev/null @@ -1,8 +0,0 @@ -fdtaddr=0x8f000000 -loadaddr=0x81000000 -fdt_high=0xffffffffffffffff -initrd_high=0xffffffffffffffff -qspi_boot=sf probe 0:0;sf read $fdtaddr f00000 100000;sf read $loadaddr 1000000 1000000;bootm $loadaddr - $fdtaddr -bootargs=ubi.mtd=9 root=ubi0:rootfs rw rootfstype=ubifs noinitrd earlycon=uart8250,mmio,0x21c0500 console=ttyS0,115200 mtdparts=1550000.quadspi:1m(rcw),2m(u-boot),1m(u-boot-env),2m(ppa),4m(reserved-1),3m(pfe),2m(reserved-2),1m(dtb),16m(kernel),32m(ubifs) -bootcmd=echo starting openwrt ...;pfe stop;run qspi_boot -bootdelay=3 diff --git a/package/boot/uboot-layerscape/files/ls1012afrwy-uEnv.txt b/package/boot/uboot-layerscape/files/ls1012afrwy-uEnv.txt new file mode 100644 index 0000000000..31178df690 --- /dev/null +++ b/package/boot/uboot-layerscape/files/ls1012afrwy-uEnv.txt @@ -0,0 +1,8 @@ +fdtaddr=0x8f000000 +loadaddr=0x81000000 +fdt_high=0xffffffffffffffff +initrd_high=0xffffffffffffffff +sd_boot=mmc read $fdtaddr 7800 800;mmc read $loadaddr 8000 8000;bootm $loadaddr - $fdtaddr +bootargs=root=/dev/mmcblk0p1 rw rootwait rootfstype=ext4 noinitrd earlycon=uart8250,mmio,0x21c0500 console=ttyS0,115200 +bootcmd=echo starting openwrt ...;pfe stop;run sd_boot +bootdelay=3 |