layerscape: armv8_64b: add Traverse Ten64 NAND variant
authorMathew McBride <matt@traverse.com.au>
Tue, 6 Jun 2023 06:24:11 +0000 (06:24 +0000)
committerHauke Mehrtens <hauke@hauke-m.de>
Wed, 26 Jul 2023 11:36:58 +0000 (13:36 +0200)
commit68a4c60b5cb3ec48d74a40fb403417ef1606893d
tree4beb70382bd85d54cf0f1b3655a18fc38cfed32c
parente54e5bc415ceea61391a22cf0bfe88181690ce3e
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)
package/boot/uboot-envtools/files/layerscape
target/linux/layerscape/armv8_64b/config-5.15
target/linux/layerscape/base-files/etc/board.d/01_led
target/linux/layerscape/base-files/etc/board.d/02_network
target/linux/layerscape/base-files/etc/board.d/03_gpio_switches
target/linux/layerscape/base-files/lib/upgrade/platform.sh
target/linux/layerscape/image/Makefile
target/linux/layerscape/image/armv8_64b.mk