aboutsummaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorMathew McBride <matt@traverse.com.au>2023-06-06 06:24:11 +0000
committerHauke Mehrtens <hauke@hauke-m.de>2023-07-26 13:36:58 +0200
commit68a4c60b5cb3ec48d74a40fb403417ef1606893d (patch)
tree4beb70382bd85d54cf0f1b3655a18fc38cfed32c /package
parente54e5bc415ceea61391a22cf0bfe88181690ce3e (diff)
downloadupstream-68a4c60b5cb3ec48d74a40fb403417ef1606893d.tar.gz
upstream-68a4c60b5cb3ec48d74a40fb403417ef1606893d.tar.bz2
upstream-68a4c60b5cb3ec48d74a40fb403417ef1606893d.zip
layerscape: armv8_64b: add Traverse Ten64 NAND variant
The Ten64 board[1] is based around NXP's Layerscape LS1088A SoC. It is capable of booting both standard Linux distributions from disk devices, using EFI, and booting OpenWrt from NAND. See the online manual for more information, including the flash layout[2]. This patchset adds support for generating Ten64 images for NAND boot. For disk boot, one can use the EFI support that was recently added to the armvirt target. We previously supported NAND users by building inside our armvirt/EFI target[3], but this approach is not suitable for OpenWrt upstream. Users who used our supplied NAND images will be able to upgrade to this via sysupgrade. Signed-off-by: Mathew McBride <matt@traverse.com.au> [1] - https://www.traverse.com.au/hardware/ten64 [2] - https://ten64doc.traverse.com.au/hardware/flash/ [3] - Example: https://gitlab.com/traversetech/ls1088firmware/openwrt/-/commit/285e4360e1604eb466880d245d48efd9962143a5 (cherry picked from commit af0546da3440dba24217949527e503820350ff05)
Diffstat (limited to 'package')
-rw-r--r--package/boot/uboot-envtools/files/layerscape3
1 files changed, 3 insertions, 0 deletions
diff --git a/package/boot/uboot-envtools/files/layerscape b/package/boot/uboot-envtools/files/layerscape
index b11587d876..bc7dcf24f9 100644
--- a/package/boot/uboot-envtools/files/layerscape
+++ b/package/boot/uboot-envtools/files/layerscape
@@ -16,6 +16,9 @@ case "$board" in
traverse,ls1043s)
ubootenv_add_uci_config "/dev/mtd1" "0x40000" "0x2000" "0x20000"
;;
+ traverse,ten64)
+ ubootenv_add_uci_config "/dev/mtd3" "0x0000" "0x80000" "0x80000"
+ ;;
esac
config_load ubootenv