f95416323ddadf923d3860e7413190273da9d883
[openwrt/staging/hauke.git] / target / linux / rockchip / image / armv8.mk
1 # SPDX-License-Identifier: GPL-2.0-only
2 #
3 # Copyright (C) 2020 Tobias Maedel
4
5 # FIT will be loaded at 0x02080000. Leave 16M for that, align it to 2M and load the kernel after it.
6 KERNEL_LOADADDR := 0x03200000
7
8 define Device/friendlyarm_nanopi-r2s
9 DEVICE_VENDOR := FriendlyARM
10 DEVICE_MODEL := NanoPi R2S
11 SOC := rk3328
12 UBOOT_DEVICE_NAME := nanopi-r2s-rk3328
13 IMAGE/sysupgrade.img.gz := boot-common | boot-script nanopi-r2s | pine64-img | gzip | append-metadata
14 DEVICE_PACKAGES := kmod-usb-net-rtl8152
15 endef
16 TARGET_DEVICES += friendlyarm_nanopi-r2s
17
18 define Device/friendlyarm_nanopi-r4s
19 DEVICE_VENDOR := FriendlyARM
20 DEVICE_MODEL := NanoPi R4S
21 DEVICE_VARIANT := 4GB LPDDR4
22 SOC := rk3399
23 UBOOT_DEVICE_NAME := nanopi-r4s-rk3399
24 IMAGE/sysupgrade.img.gz := boot-common | boot-script nanopi-r4s | pine64-img | gzip | append-metadata
25 DEVICE_PACKAGES := kmod-r8169
26 endef
27 TARGET_DEVICES += friendlyarm_nanopi-r4s
28
29 define Device/pine64_rockpro64
30 DEVICE_VENDOR := Pine64
31 DEVICE_MODEL := RockPro64
32 SOC := rk3399
33 UBOOT_DEVICE_NAME := rockpro64-rk3399
34 IMAGE/sysupgrade.img.gz := boot-common | boot-script | pine64-img | gzip | append-metadata
35 endef
36 TARGET_DEVICES += pine64_rockpro64
37
38 define Device/radxa_rock-pi-4a
39 DEVICE_VENDOR := Radxa
40 DEVICE_MODEL := ROCK Pi 4A
41 SOC := rk3399
42 SUPPORTED_DEVICES := radxa,rockpi4a radxa,rockpi4
43 UBOOT_DEVICE_NAME := rock-pi-4-rk3399
44 IMAGE/sysupgrade.img.gz := boot-common | boot-script | pine64-img | gzip | append-metadata
45 endef
46 TARGET_DEVICES += radxa_rock-pi-4a