Skip to content

Commit

Permalink
add machine bananapi-bpi-cm4io
Browse files Browse the repository at this point in the history
  • Loading branch information
Dangku authored and superna9999 committed May 13, 2024
1 parent 7802d1e commit d971362
Show file tree
Hide file tree
Showing 6 changed files with 21 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
with:
host: ubuntu-20.04
images: core-image-base core-image-weston core-image-x11 amlogic-image-headless-initrd amlogic-image-headless-sd amlogic-image-sato
machines: amlogic-p200 amlogic-p200-sdboot amlogic-p201-sdboot amlogic-p212 amlogic-p212-sdboot amlogic-s400 friendlyelec-nanopik2 hardkernel-odroidc2 hardkernel-odroidc2-sdboot hardkernel-odroidc4 hardkernel-odroidc4-sdboot hardkernel-odroidhc4 hardkernel-odroidhc4-sdboot hardkernel-odroidn2 hardkernel-odroidn2-sdboot hardkernel-odroidn2plus hardkernel-odroidn2plus-sdboot khadas-vim khadas-vim-sdboot khadas-vim2 khadas-vim3 khadas-vim3-sdboot khadas-vim3l khadas-vim3l-sdboot libretech-ac libretech-cc radxa-zero seirobotics-sei510 seirobotics-sei610 bananapi-bpi-m5 beelink-gt1-ultimate hardkernel-odroid-go-ultra hardkernel-odroid-n2l bananapi-bpi-m2-pro bananapi-bpi-m2s
machines: amlogic-p200 amlogic-p200-sdboot amlogic-p201-sdboot amlogic-p212 amlogic-p212-sdboot amlogic-s400 friendlyelec-nanopik2 hardkernel-odroidc2 hardkernel-odroidc2-sdboot hardkernel-odroidc4 hardkernel-odroidc4-sdboot hardkernel-odroidhc4 hardkernel-odroidhc4-sdboot hardkernel-odroidn2 hardkernel-odroidn2-sdboot hardkernel-odroidn2plus hardkernel-odroidn2plus-sdboot khadas-vim khadas-vim-sdboot khadas-vim2 khadas-vim3 khadas-vim3-sdboot khadas-vim3l khadas-vim3l-sdboot libretech-ac libretech-cc radxa-zero seirobotics-sei510 seirobotics-sei610 bananapi-bpi-m5 beelink-gt1-ultimate hardkernel-odroid-go-ultra hardkernel-odroid-n2l bananapi-bpi-m2-pro bananapi-bpi-m2s bananapi-bpi-cm4io
ref_type: sha
ref: ${{github.sha}}
branch: ${{github.ref_name}}
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@ Available A311D machines are :
- khadas-vim3-sdboot : .wic image to be booted using vendor u-boot
- hardkernel-odroid-go-ultra: complete bootable .wic sdcard image with mainline U-boot
- bananapi-bpi-m2s: complete bootable .wic sdcard image with mainline U-boot
- bananapi-bpi-cm4io: complete bootable .wic sdcard image with mainline U-boot

Available S905X3/D3 machines are :
- khadas-vim3l : complete bootable .wic sdcard image with mainline U-boot
Expand Down
1 change: 1 addition & 0 deletions conf/machine/amlogic-s9xxx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ require conf/machine/include/amlogic-q200-dtb.inc
require conf/machine/include/amlogic-q201-dtb.inc
require conf/machine/include/amlogic-s400-dtb.inc
require conf/machine/include/amlogic-u200-dtb.inc
require conf/machine/include/bananapi-bpi-cm4io-dtb.inc
require conf/machine/include/bananapi-bpi-m2-pro-dtb.inc
require conf/machine/include/bananapi-bpi-m2s-dtb.inc
require conf/machine/include/bananapi-bpi-m5-dtb.inc
Expand Down
12 changes: 12 additions & 0 deletions conf/machine/bananapi-bpi-cm4io.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#@TYPE: Machine
#@NAME: Banana Pi CM4IO
#@DESCRIPTION: Machine configuration

require conf/machine/include/amlogic-a311d.inc
require conf/machine/include/bananapi-bpi-cm4io-dtb.inc
require conf/machine/include/amlogic-modern-boot.inc

MACHINE_FEATURES:append = " alsa ext2 screen usbgadget usbhost sdio vfat wifi bluetooth"


UBOOT_MACHINE = "bananapi-cm4-cm4io_defconfig"
4 changes: 4 additions & 0 deletions conf/machine/include/bananapi-bpi-cm4io-dtb.inc
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Banana Pi CM4IO dtb

KERNEL_DEVICETREE += "amlogic/meson-g12b-bananapi-cm4-cm4io.dtb"
IMAGE_BOOT_FILES += "meson-g12b-bananapi-cm4-cm4io.dtb"
2 changes: 2 additions & 0 deletions recipes-bsp/trusted-firmware-a/amlogic-boot-fip.bb
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ COMPATIBLE_MACHINE:hardkernel-odroid-go-ultra = "hardkernel-odroid-go-ultra"
COMPATIBLE_MACHINE:hardkernel-odroid-n2l = "hardkernel-odroid-n2l"
COMPATIBLE_MACHINE:bananapi-bpi-m2-pro = "bananapi-bpi-m2-pro"
COMPATIBLE_MACHINE:bananapi-bpi-m2s = "bananapi-bpi-m2s"
COMPATIBLE_MACHINE:bananapi-bpi-cm4io = "bananapi-bpi-cm4io"

MODEL:libretech-cc = "lepotato"
MODEL:libretech-ac = "lafrite"
Expand All @@ -61,6 +62,7 @@ MODEL:hardkernel-odroid-go-ultra = "odroid-go-ultra"
MODEL:hardkernel-odroid-n2l = "odroid-n2l"
MODEL:bananapi-bpi-m2-pro = "bananapi-m2-pro"
MODEL:bananapi-bpi-m2s = "bananapi-m2s"
MODEL:bananapi-bpi-cm4io = "bananapi-cm4io"

LIC_FILES_CHKSUM = "file://LICENSE;md5=2dbd68496cc5ed3e68e855100cb86363"

Expand Down

0 comments on commit d971362

Please sign in to comment.