08714738d2
The Traverse LS1043-S board is a router board based on NXP/Freescale's LS1043 SoC, with 4x1GBase-T, 1 SFP and 1 SFP+, as well as miniPCIe and M.2 LTE. Unlike the Layerscape reference boards, the LS1043-S board has NAND flash and uses the mainline U-Boot. This patch implements support for the LS1043-S board, as well as the earlier LS1043-V board. It is our intention that all boards in this family (LS1043-S and later, Five64) will boot the same binary. Not included in this patchset are the hwmon drivers not in the kernel (emc1704,pac1934) or the bootloader. Signed-off-by: Mathew McBride <matt@traverse.com.au>
21 lines
369 B
Bash
Executable file
21 lines
369 B
Bash
Executable file
#!/bin/sh
|
|
|
|
. /lib/functions/system.sh
|
|
. /lib/functions/uci-defaults.sh
|
|
|
|
board_config_update
|
|
|
|
case "$(board_name)" in
|
|
traverse,ls1043v)
|
|
ucidef_set_interface_lan "eth0 eth1 eth2 eth3"
|
|
ucidef_set_interface_wan "eth4"
|
|
;;
|
|
traverse,ls1043s)
|
|
ucidef_set_interface_lan "eth0 eth1 eth2 eth3 eth6"
|
|
ucidef_set_interface_wan "eth4"
|
|
;;
|
|
esac
|
|
|
|
board_config_flush
|
|
|
|
exit 0
|