126 lines
4.2 KiB
Makefile
126 lines
4.2 KiB
Makefile
# SPDX-License-Identifier: GPL-2.0-only
|
|
#
|
|
# Copyright (C) 2020 Tobias Maedel
|
|
|
|
# FIT will be loaded at 0x02080000. Leave 16M for that, align it to 2M and load the kernel after it.
|
|
KERNEL_LOADADDR := 0x03200000
|
|
|
|
define Device/friendlyarm_nanopi-r2c
|
|
DEVICE_VENDOR := FriendlyARM
|
|
DEVICE_MODEL := NanoPi R2C
|
|
SOC := rk3328
|
|
UBOOT_DEVICE_NAME := nanopi-r2c-rk3328
|
|
IMAGE/sysupgrade.img.gz := boot-common | boot-script | pine64-bin | gzip | append-metadata
|
|
DEVICE_PACKAGES := kmod-usb-net-rtl8152
|
|
endef
|
|
TARGET_DEVICES += friendlyarm_nanopi-r2c
|
|
|
|
define Device/friendlyarm_nanopi-r2s
|
|
DEVICE_VENDOR := FriendlyARM
|
|
DEVICE_MODEL := NanoPi R2S
|
|
SOC := rk3328
|
|
UBOOT_DEVICE_NAME := nanopi-r2s-rk3328
|
|
IMAGE/sysupgrade.img.gz := boot-common | boot-script | pine64-bin | gzip | append-metadata
|
|
DEVICE_PACKAGES := kmod-usb-net-rtl8152
|
|
endef
|
|
TARGET_DEVICES += friendlyarm_nanopi-r2s
|
|
|
|
define Device/friendlyarm_nanopi-r4s
|
|
DEVICE_VENDOR := FriendlyARM
|
|
DEVICE_MODEL := NanoPi R4S
|
|
SOC := rk3399
|
|
UBOOT_DEVICE_NAME := nanopi-r4s-rk3399
|
|
IMAGE/sysupgrade.img.gz := boot-common | boot-script | pine64-bin | gzip | append-metadata
|
|
DEVICE_PACKAGES := kmod-r8168
|
|
endef
|
|
TARGET_DEVICES += friendlyarm_nanopi-r4s
|
|
|
|
define Device/friendlyarm_nanopi-r4s-enterprise
|
|
DEVICE_VENDOR := FriendlyARM
|
|
DEVICE_MODEL := NanoPi R4S Enterprise Edition
|
|
SOC := rk3399
|
|
UBOOT_DEVICE_NAME := nanopi-r4s-enterprise-rk3399
|
|
IMAGE/sysupgrade.img.gz := boot-common | boot-script | pine64-bin | gzip | append-metadata
|
|
DEVICE_PACKAGES := kmod-r8168
|
|
endef
|
|
TARGET_DEVICES += friendlyarm_nanopi-r4s-enterprise
|
|
|
|
define Device/friendlyarm_nanopi-r5c
|
|
DEVICE_VENDOR := FriendlyARM
|
|
DEVICE_MODEL := NanoPi R5C
|
|
SOC := rk3568
|
|
UBOOT_DEVICE_NAME := nanopi-r5c-rk3568
|
|
IMAGE/sysupgrade.img.gz := boot-common | boot-script | pine64-img | gzip | append-metadata
|
|
DEVICE_PACKAGES := kmod-r8125 kmod-rtw88 rtl8822ce-firmware wpad-basic-openssl
|
|
endef
|
|
TARGET_DEVICES += friendlyarm_nanopi-r5c
|
|
|
|
define Device/friendlyarm_nanopi-r5s
|
|
DEVICE_VENDOR := FriendlyARM
|
|
DEVICE_MODEL := NanoPi R5S
|
|
SOC := rk3568
|
|
UBOOT_DEVICE_NAME := nanopi-r5s-rk3568
|
|
IMAGE/sysupgrade.img.gz := boot-common | boot-script | pine64-img | gzip | append-metadata
|
|
DEVICE_PACKAGES := kmod-r8125
|
|
endef
|
|
TARGET_DEVICES += friendlyarm_nanopi-r5s
|
|
|
|
define Device/lunzn_fastrhino-r66s
|
|
DEVICE_VENDOR := Lunzn
|
|
DEVICE_MODEL := FastRhino R66S
|
|
SOC := rk3568
|
|
UBOOT_DEVICE_NAME := fastrhino-r66s-rk3568
|
|
IMAGE/sysupgrade.img.gz := boot-common | boot-script | pine64-img | gzip | append-metadata
|
|
DEVICE_PACKAGES := kmod-r8125
|
|
endef
|
|
TARGET_DEVICES += lunzn_fastrhino-r66s
|
|
|
|
define Device/lunzn_fastrhino-r68s
|
|
DEVICE_VENDOR := Lunzn
|
|
DEVICE_MODEL := FastRhino R68S
|
|
SOC := rk3568
|
|
UBOOT_DEVICE_NAME := fastrhino-r68s-rk3568
|
|
IMAGE/sysupgrade.img.gz := boot-common | boot-script | pine64-img | gzip | append-metadata
|
|
DEVICE_PACKAGES := kmod-r8125
|
|
endef
|
|
TARGET_DEVICES += lunzn_fastrhino-r68s
|
|
|
|
define Device/pine64_rockpro64
|
|
DEVICE_VENDOR := Pine64
|
|
DEVICE_MODEL := RockPro64
|
|
SOC := rk3399
|
|
UBOOT_DEVICE_NAME := rockpro64-rk3399
|
|
IMAGE/sysupgrade.img.gz := boot-common | boot-script | pine64-bin | gzip | append-metadata
|
|
endef
|
|
TARGET_DEVICES += pine64_rockpro64
|
|
|
|
define Device/radxa_rock-pi-4a
|
|
DEVICE_VENDOR := Radxa
|
|
DEVICE_MODEL := ROCK Pi 4A
|
|
SOC := rk3399
|
|
SUPPORTED_DEVICES := radxa,rockpi4a radxa,rockpi4
|
|
UBOOT_DEVICE_NAME := rock-pi-4-rk3399
|
|
IMAGE/sysupgrade.img.gz := boot-common | boot-script | pine64-bin | gzip | append-metadata
|
|
endef
|
|
TARGET_DEVICES += radxa_rock-pi-4a
|
|
|
|
define Device/xunlong_orangepi-r1-plus
|
|
DEVICE_VENDOR := Xunlong
|
|
DEVICE_MODEL := Orange Pi R1 Plus
|
|
SOC := rk3328
|
|
UBOOT_DEVICE_NAME := orangepi-r1-plus-rk3328
|
|
IMAGE/sysupgrade.img.gz := boot-common | boot-script | pine64-bin | gzip | append-metadata
|
|
DEVICE_PACKAGES := kmod-usb-net-rtl8152
|
|
endef
|
|
TARGET_DEVICES += xunlong_orangepi-r1-plus
|
|
|
|
define Device/xunlong_orangepi-r1-plus-lts
|
|
DEVICE_VENDOR := Xunlong
|
|
DEVICE_MODEL := Orange Pi R1 Plus LTS
|
|
SOC := rk3328
|
|
UBOOT_DEVICE_NAME := orangepi-r1-plus-lts-rk3328
|
|
IMAGE/sysupgrade.img.gz := boot-common | boot-script | pine64-bin | gzip | append-metadata
|
|
DEVICE_PACKAGES := kmod-usb-net-rtl8152
|
|
endef
|
|
TARGET_DEVICES += xunlong_orangepi-r1-plus-lts
|