rockchip: merge bootscript
[openwrt/staging/ldir.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/firefly_roc-rk3328-cc
9 DEVICE_VENDOR := Firefly
10 DEVICE_MODEL := ROC-RK3328-CC
11 SOC := rk3328
12 DEVICE_DTS := rockchip/rk3328-roc-cc
13 UBOOT_DEVICE_NAME := roc-cc-rk3328
14 IMAGE/sysupgrade.img.gz := boot-common | boot-script | pine64-img | gzip | append-metadata
15 endef
16 TARGET_DEVICES += firefly_roc-rk3328-cc
17
18 define Device/friendlyarm_nanopi-r2s
19 DEVICE_VENDOR := FriendlyARM
20 DEVICE_MODEL := NanoPi R2S
21 SOC := rk3328
22 UBOOT_DEVICE_NAME := nanopi-r2s-rk3328
23 IMAGE/sysupgrade.img.gz := boot-common | boot-script | pine64-img | gzip | append-metadata
24 DEVICE_PACKAGES := kmod-usb-net-rtl8152
25 endef
26 TARGET_DEVICES += friendlyarm_nanopi-r2s
27
28 define Device/friendlyarm_nanopi-r4s
29 DEVICE_VENDOR := FriendlyARM
30 DEVICE_MODEL := NanoPi R4S
31 DEVICE_VARIANT := 4GB LPDDR4
32 SOC := rk3399
33 UBOOT_DEVICE_NAME := nanopi-r4s-rk3399
34 IMAGE/sysupgrade.img.gz := boot-common | boot-script | pine64-img | gzip | append-metadata
35 DEVICE_PACKAGES := kmod-r8169
36 endef
37 TARGET_DEVICES += friendlyarm_nanopi-r4s
38
39 define Device/pine64_rockpro64
40 DEVICE_VENDOR := Pine64
41 DEVICE_MODEL := RockPro64
42 SOC := rk3399
43 UBOOT_DEVICE_NAME := rockpro64-rk3399
44 IMAGE/sysupgrade.img.gz := boot-common | boot-script | pine64-img | gzip | append-metadata
45 endef
46 TARGET_DEVICES += pine64_rockpro64
47
48 define Device/radxa_rock-pi-4a
49 DEVICE_VENDOR := Radxa
50 DEVICE_MODEL := ROCK Pi 4A
51 SOC := rk3399
52 SUPPORTED_DEVICES := radxa,rockpi4a radxa,rockpi4
53 UBOOT_DEVICE_NAME := rock-pi-4-rk3399
54 IMAGE/sysupgrade.img.gz := boot-common | boot-script | pine64-img | gzip | append-metadata
55 endef
56 TARGET_DEVICES += radxa_rock-pi-4a