1
0
mirror of https://github.com/cjdelisle/openwrt.git synced 2025-10-13 16:25:00 +00:00
Files
openwrt/target/linux/sunxi/image/cortexa8.mk
Zoltan HERPAI 8abb6dbf0f sunxi: change target to use FIT kernel images
Modernize the target slightly to use kernel+dtb FIT images in all
subtargets. LZMA compression will be used for the cortexa53 devices,
and we'll stay conservative and use gzip for the cortexa7/a8 devices
due to performance differences.

Tested-on:
 - Linksprite pcDuino v2 (cortexa8 / A10)
 - Olinuxino Micro (cortexa7 / A20)
 - Banana Pi M2 Berry (cortexa7 / V40)
 - Banana Pi P2 Zero (cortexa7 / H2+)
 - Xunlong Orange Pi 2 (cortexa7/ H3)
 - OrangePi PC Zero 2 (cortexa53 / H616)

Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
2025-08-11 23:06:24 +02:00

65 lines
1.8 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-olimex-som
$(call Device/FitImageGzip)
DEVICE_VENDOR := Olimex
DEVICE_MODEL := A13-SOM
DEVICE_PACKAGES:=kmod-rtl8192cu
SUPPORTED_DEVICES:=olimex,a13-olinuxino
SOC := sun5i-a13
SUNXI_DTS := $$(SUNXI_DTS_DIR)sun5i-a13-olinuxino
endef
TARGET_DEVICES += olimex_a13-olimex-som
define Device/olimex_a13-olinuxino
$(call Device/FitImageGzip)
DEVICE_VENDOR := Olimex
DEVICE_MODEL := A13-OLinuXino
DEVICE_PACKAGES:=kmod-rtl8192cu
SOC := sun5i
endef
TARGET_DEVICES += olimex_a13-olinuxino