mirror of
https://git.openwrt.org/openwrt/openwrt.git
synced 2026-05-01 08:01:02 +02:00
Following up with errors reported in the ASU repo, these bananapi cases do not match the DT compatible "bpi", sync with dts sources. Also some profiles were overwriting SUPPORTED_DEVICES. Sysupgrade would be failing in SUPPORTED_DEVICES check since the DT compatible(/tmp/sysinfo/board_name) is not in SUPPORTED_DEVICES. This should also fix errors when using ASU sysupgrade clients. - Sync profile makefile target names with DT compatibles. - Fix overwrites of SUPPORTED_DEVICES instead of appending. - Adapt the uboot-sunxi profiles accordingly. *bpi-p2-zero dts is still not upstream. V2: - Include fixes for arm926ejs(ARM926EJ-S) subtarget (LicheePi Nano and PopStick v1.1) (profile rename for correct default SUPPORTED_DEVICES) Fixes: https://forum.openwrt.org/t/luci-attended-sysupgrade-support-thread/230552/246 Fixes: https://github.com/openwrt/asu/issues/486 Fixes: https://github.com/openwrt/asu/issues/524 Fixes: 9aa66b8ce730aebff76d353392151708a897a3a0 "sunxi: add support for Banana Pi M2 Berry" Fixes: d5f615bf2a0434c15d13943b566d46f25da579bb "sunxi: add support for Sinovoip Banana Pi M2 Plus" Fixes: 3819c1638a9d300840d0f869628891f9696be112 "sunxi: Add support for Banana Pi M2 Ultra" Fixes: 6bf8193b25a147abfe3720104e63af890c1ca2b8 "sunxi: add support for Bananapi P2 Zero" Fixes: 80edfaf675364835e6d2e17d97ebec6afc6b2103 "sunxi: add support for Banana Pi M3" Fixes: 3c24a1d423a6052b101c00cb7d94e70d72702639 "sunxi: add support for NanoPi NEO Plus2 board" Fixes: a689307c970e37c247c6452ba3963be8b109eb4f "sunxi: build image/uboot for the NanoPi NEO2" Fixes: fde68cb80941a60be93ece75e808b5b407d11cc8 "sunxi: add support for FriendlyARM NanoPi R1S H5" Fixes: 3ec468ff4fa3106d459ae58ec4bc4833715118c6 "sunxi: add F1C100 (arm926ej-s) support" Signed-off-by: Mario Andrés Pérez <mapb_@outlook.com> Link: https://github.com/openwrt/openwrt/pull/21095 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
56 lines
1.5 KiB
Makefile
56 lines
1.5 KiB
Makefile
# SPDX-License-Identifier: GPL-2.0-only
|
|
#
|
|
# Copyright (C) 2013-2016 OpenWrt.org
|
|
# Copyright (C) 2016 Yousong Zhou
|
|
|
|
KERNEL_LOADADDR:=0x40008000
|
|
|
|
define Device/cubietech_a10-cubieboard
|
|
$(call Device/FitImageGzip)
|
|
DEVICE_VENDOR := Cubietech
|
|
DEVICE_MODEL := Cubieboard
|
|
DEVICE_PACKAGES:=kmod-ata-sunxi kmod-sun4i-emac kmod-rtc-sunxi
|
|
SOC := sun4i
|
|
endef
|
|
TARGET_DEVICES += cubietech_a10-cubieboard
|
|
|
|
define Device/haoyu_a10-marsboard
|
|
$(call Device/FitImageGzip)
|
|
DEVICE_VENDOR := HAOYU Electronics
|
|
DEVICE_MODEL := MarsBoard A10
|
|
DEVICE_PACKAGES:=kmod-ata-core kmod-ata-sunxi kmod-sun4i-emac \
|
|
kmod-rtc-sunxi kmod-sound-core kmod-sound-soc-sunxi
|
|
SUPPORTED_DEVICES += marsboard,a10-marsboard
|
|
SOC := sun4i
|
|
endef
|
|
TARGET_DEVICES += haoyu_a10-marsboard
|
|
|
|
define Device/linksprite_a10-pcduino
|
|
$(call Device/FitImageGzip)
|
|
DEVICE_VENDOR := LinkSprite
|
|
DEVICE_MODEL := pcDuino
|
|
DEVICE_PACKAGES:=kmod-sun4i-emac kmod-rtc-sunxi kmod-rtl8192cu
|
|
SOC := sun4i
|
|
endef
|
|
TARGET_DEVICES += linksprite_a10-pcduino
|
|
|
|
define Device/olimex_a10-olinuxino-lime
|
|
$(call Device/FitImageGzip)
|
|
DEVICE_VENDOR := Olimex
|
|
DEVICE_MODEL := A10-OLinuXino-LIME
|
|
DEVICE_PACKAGES:=kmod-ata-sunxi kmod-sun4i-emac kmod-rtc-sunxi
|
|
SOC := sun4i
|
|
endef
|
|
TARGET_DEVICES += olimex_a10-olinuxino-lime
|
|
|
|
define Device/olimex_a13-olinuxino
|
|
$(call Device/FitImageGzip)
|
|
DEVICE_VENDOR := Olimex
|
|
DEVICE_MODEL := A13-OLinuXino
|
|
DEVICE_ALT0_VENDOR := Olimex
|
|
DEVICE_ALT0_MODEL := A13-SOM
|
|
DEVICE_PACKAGES:=kmod-rtl8192cu
|
|
SOC := sun5i
|
|
endef
|
|
TARGET_DEVICES += olimex_a13-olinuxino
|