forked from Openwrt/openwrt
f637cf5ef7
Specifications: * SoC: BCM63168 * RAM: NT5CC64M16GP-DI, DDR3 128MiB * NAND: W29N01HVSINA, 128MiB * Ethernet: 4x1000M LAN, 1x 1000M WAN * Serial interface: on board but not populated, 3.3V, 115200, 8N1 Notes: * Use DSA for VLAN and switches * Ethernet ports and USB works * gpio-leds are not working * WLAN, xDSL, and FXS are not going to work Signed-off-by: Hang Zhou <929513338@qq.com> [refactor, reorder, drop unneeded or not working stuff] Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
28 lines
433 B
Bash
28 lines
433 B
Bash
# SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
PART_NAME=firmware
|
|
REQUIRE_IMAGE_METADATA=1
|
|
|
|
platform_check_image() {
|
|
return 0
|
|
}
|
|
|
|
platform_do_upgrade() {
|
|
case "$(board_name)" in
|
|
comtrend,vg-8050 |\
|
|
comtrend,vr-3032u |\
|
|
sagem,fast-3864-op)
|
|
CI_JFFS2_CLEAN_MARKERS=1
|
|
nand_do_upgrade "$1"
|
|
;;
|
|
sercomm,h500-s-lowi |\
|
|
sercomm,h500-s-vfes |\
|
|
sercomm,shg2500)
|
|
nand_do_upgrade "$1"
|
|
;;
|
|
*)
|
|
default_do_upgrade "$1"
|
|
;;
|
|
esac
|
|
}
|