Skip to contentSkip to conversation

board/raspberrypi: add Compute Module 4/IO Board support (64 Bit)

Buildroot Yann E. MORIN 1 participant 1 message May 20, 2021 Broadcom BCM2711/BCM2835 Arm architecture

lore
Share & tools
lore
#0 lore raw

commit: https://git.buildroot.net/buildroot/commit/?id=46f01da8a4a578f251b35d74388690a53b749f00
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/next

---
 board/raspberrypi/genimage-raspberrypicm4io-64.cfg | 30 ++++++++++++++++
 board/raspberrypi/readme.txt                       |  4 +++
 board/raspberrypicm4io-64                          |  1 +
 configs/raspberrypicm4io_64_defconfig              | 41 ++++++++++++++++++++++
 4 files changed, 76 insertions(+)
board/raspberrypi/genimage-raspberrypicm4io-64.cfg new file +30 -0
new file mode 100644
index 0000000000..32a7ca897d
@@ -0,0 +1,30 @@
+image boot.vfat {
+  vfat {
+    files = {
+      "bcm2711-rpi-cm4.dtb",
+      "rpi-firmware/cmdline.txt",
+      "rpi-firmware/config.txt",
+      "rpi-firmware/fixup.dat",
+      "rpi-firmware/start.elf",
+      "rpi-firmware/overlays",
+      "Image"
+    }
+  }
+  size = 32M
+}
+
+image sdcard.img {
+  hdimage {
+  }
+
+  partition boot {
+    partition-type = 0xC
+    bootable = "true"
+    image = "boot.vfat"
+  }
+
+  partition rootfs {
+    partition-type = 0x83
+    image = "rootfs.ext4"
+  }
+}
board/raspberrypi/readme.txt +4 -0
index 2032bf80ed..62cb248633 100644
@@ -52,6 +52,10 @@ For model CM4 (on IO Board):
 
   $ make raspberrypicm4io_defconfig
 
+or for CM4 (on IO Board - 64 bit):
+
+  $ make raspberrypicm4io_64_defconfig
+
 Build the rootfs
 ----------------
 
board/raspberrypicm4io-64 new file +1 -0
new file mode 120000
index 0000000000..fcdafc81ed
@@ -0,0 +1 @@
+raspberrypi
\ No newline at end of file
configs/raspberrypicm4io_64_defconfig new file +41 -0

41 lines not on this page · raw message