Skip to contentSkip to conversation

configs/polyhex_debix_model_a_defconfig: new defconfig

PATCH In review Gilles Talis 2 participants 2 messages Feb 18, 2025

lore
Share & tools
lore
#0 lore raw

PATCH v3 1/1 configs/polyhex_debix_model_a_defconfig: new defconfig

This configuration builds an image for the Polyhex Debix Model A SBC

DEBIX Model A is an industrial grade single board computer powered by NXP i.MX 8M Plus applications processor

https://www.debix.io/hardware/model-a.html

- Linux Kernel: Upstream version 6.12.14
- U-boot: Upstream version 2025.01
- ATF: Upstream version 2.12

---
Changes v2 --> v3:
- Re-enable BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_12
- Added linux-headers and ATF hashes
- Bumped Linux Kernel version to 6.12.14
- Bumped U-Boot version to 2025.01

Changes v1 --> v2:
- Fixed post-build.sh script warnings
- Enabled BR2_DOWNLOAD_FORCE_CHECK_HASHES
- Added Linux and U-Boot hashes
- Renamed post-build.sh processed files as *.in

---
 board/polyhex/debix-model-a/extlinux.conf.in  |   4 +
 board/polyhex/debix-model-a/genimage.cfg.in   |  17 +++
 .../arm-trusted-firmware.hash                 |   2 +
 .../patches/linux-headers/linux-headers.hash  |   1 +
 .../debix-model-a/patches/linux/linux.hash    |   2 +
 .../debix-model-a/patches/uboot/uboot.hash    |   2 +
 board/polyhex/debix-model-a/post-build.sh     |   7 ++
 board/polyhex/debix-model-a/readme.txt        | 112 ++++++++++++++++++
 configs/polyhex_debix_model_a_defconfig       |  47 ++++++++
 9 files changed, 194 insertions(+)
 create mode 100644 board/polyhex/debix-model-a/extlinux.conf.in
 create mode 100644 board/polyhex/debix-model-a/genimage.cfg.in
 create mode 100644 board/polyhex/debix-model-a/patches/arm-trusted-firmware/arm-trusted-firmware.hash
 create mode 120000 board/polyhex/debix-model-a/patches/linux-headers/linux-headers.hash
 create mode 100644 board/polyhex/debix-model-a/patches/linux/linux.hash
 create mode 100644 board/polyhex/debix-model-a/patches/uboot/uboot.hash
 create mode 100755 board/polyhex/debix-model-a/post-build.sh
 create mode 100644 board/polyhex/debix-model-a/readme.txt
 create mode 100644 configs/polyhex_debix_model_a_defconfig
board/polyhex/debix-model-a/extlinux.conf.in new file +4 -0
new file mode 100644
index 0000000000..ed6b881772
@@ -0,0 +1,4 @@
+label buildroot
+  kernel /boot/Image
+  devicetree /boot/freescale/imx8mp-debix-model-a.dtb
+  append root=PARTUUID=%PARTUUID% rootwait rw
board/polyhex/debix-model-a/genimage.cfg.in new file +17 -0
new file mode 100644
index 0000000000..10c52548cd
@@ -0,0 +1,17 @@
+image sdcard.img {
+	hdimage {
+		partition-table-type = "gpt"
+	}
+
+	partition imx-boot {
+		in-partition-table = "no"
+		image = "flash.bin"
+		offset = 32K
+	}
+
+	partition rootfs {
+		offset = 8M
+		image = "rootfs.ext4"
+		partition-uuid = %PARTUUID%
+	}
+}
board/polyhex/debix-model-a/patches/arm-trusted-firmware/arm-trusted-firmware.hash new file +2 -0
new file mode 100644
index 0000000000..b5898cba3f
@@ -0,0 +1,2 @@
+# Locally calculated
+sha256  06b35a3596b8417bf66f7bfdd7acd181bcb53fc36dc13216227b5cae154e0219  arm-trusted-firmware-v2.12-git4.tar.gz
board/polyhex/debix-model-a/patches/linux-headers/linux-headers.hash new file +1 -0
new file mode 120000
index 0000000000..5808d92afe
@@ -0,0 +1 @@
+../linux/linux.hash
\ No newline at end of file
board/polyhex/debix-model-a/patches/linux/linux.hash new file +2 -0
new file mode 100644
index 0000000000..47eab71641
@@ -0,0 +1,2 @@
+# From https://www.kernel.org/pub/linux/kernel/v6.x/sha256sums.asc
+sha256  9423f4bfb4d875417e39cb0b017b5499fea47da56119f0cd28a201735d898f14  linux-6.12.14.tar.xz
board/polyhex/debix-model-a/patches/uboot/uboot.hash new file +2 -0
new file mode 100644
index 0000000000..50674352d7
@@ -0,0 +1,2 @@
+# Locally calculated
+sha256  cdef7d507c93f1bbd9f015ea9bc21fa074268481405501945abc6f854d5b686f  u-boot-2025.01.tar.bz2
board/polyhex/debix-model-a/post-build.sh new file +7 -0
new file mode 100755
index 0000000000..604f387768
@@ -0,0 +1,7 @@
+#!/bin/sh
+BOARD_DIR="$(dirname "$0")"
+PARTUUID="$("$HOST_DIR"/bin/uuidgen)"
+
+install -d "$TARGET_DIR/boot/extlinux/"
+sed "s/%PARTUUID%/$PARTUUID/g" "$BOARD_DIR/extlinux.conf.in" > "$TARGET_DIR/boot/extlinux/extlinux.conf"
+sed "s/%PARTUUID%/$PARTUUID/g" "$BOARD_DIR/genimage.cfg.in" > "$BINARIES_DIR/genimage.cfg"
board/polyhex/debix-model-a/readme.txt new file +112 -0

112 lines not on this page · raw message

configs/polyhex_debix_model_a_defconfig new file +47 -0

47 lines not on this page · raw message

Signature · 6 lines
2.43.0

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw
Quoted 5 lines · Gilles Talis

This configuration builds an image for the Polyhex Debix Model A SBC

DEBIX Model A is an industrial grade single board computer powered by NXP i.MX 8M Plus applications processor

Quoted 7 lines

https://www.debix.io/hardware/model-a.html

- Linux Kernel: Upstream version 6.12.14
- U-boot: Upstream version 2025.01
- ATF: Upstream version 2.12

Applied to master, thanks.
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot