Skip to content

Commit

Permalink
adding support for Radxa CM3 IO board
Browse files Browse the repository at this point in the history
  • Loading branch information
maurerr committed Jan 20, 2024
1 parent 164dc87 commit 4931153
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 0 deletions.
12 changes: 12 additions & 0 deletions package/boot/uboot-rockchip/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,17 @@ define U-Boot/quartz64-a-rk3566
DDR_3568:=$(1)
endef

define U-Boot/radxa-cm3-io-rk3566
BUILD_SUBTARGET:=armv8
NAME:=CM3-IO
BUILD_DEVICES:= \
radxa_cm3-io
DEPENDS:=+PACKAGE_u-boot-cm3-io-rk3566:arm-trusted-firmware-rockchip
PKG_BUILD_DEPENDS:=arm-trusted-firmware-rockchip
ATF:=rk3568_bl31.elf
DDR_3568:=$(1)
endef

define U-Boot/nanopi-r5c-rk3568
BUILD_SUBTARGET:=armv8
NAME:=NANOPI-R5C
Expand Down Expand Up @@ -178,6 +189,7 @@ define U-Boot/rock-5b-rk3588
endef

UBOOT_TARGETS := \
radxa-cm3-io-rk3566 \
nanopi-r6c-rk3588 \
nanopi-r6s-rk3588 \
orangepi-5-plus-rk3588 \
Expand Down
11 changes: 11 additions & 0 deletions target/linux/rockchip/image/armv8.mk
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,17 @@ define Device/pine64_quartz64-a
endef
TARGET_DEVICES += pine64_quartz64-a

define Device/radxa_cm3-io
DEVICE_VENDOR := Radxa
DEVICE_MODEL := CM3 IO
SOC := rk3566
SUPPORTED_DEVICES := radxa,cm3-io
UBOOT_DEVICE_NAME := radxa-cm3-io-rk3566
DEVICE_DTS := rockchip/rk3566-radxa-cm3-io
IMAGE/sysupgrade.img.gz := boot-common | boot-script rock-3a | pine64-img | gzip | append-metadata
endef
TARGET_DEVICES += radxa_cm3-io

define Device/radxa_rock-3a
DEVICE_VENDOR := Radxa
DEVICE_MODEL := ROCK3 Model A
Expand Down

0 comments on commit 4931153

Please sign in to comment.