Hi Robert,
Yes that would be great, since I cannot think of any configs that have messed up. So, let me explain what I did. Firstly, I downloaded buildroot-2024.08-rc3
. Secondly, form within the buildroot directory, I copied the board/beagleboard/beaglebone/
directory and renamed it to board/beagleboard-rt/beaglebone-rt
, noticing the -rt at the end. Thirdly, I adjusted the configs in this file linux-sgx.fragment
and I updated the hash from the trial and error I mentioned earlier in this file board/beagleboard-rt/beaglebone-rt/patches/linux/linux.hash
. Finally, I copied the configs/beaglebone_defconfig
and renamed it to beaglebone_rt_defconfig
and adjusted it’s URL to point to the kernel you mentioned earlier.
Here are the diffsf
BSP_DIFF
diff -r board/beagleboard/beaglebone/linux-sgx.fragment board/beagleboard-rt/beaglebone-rt/linux-sgx.fragment
1a2
CONFIG_PREEMPT_RT_FULL=y
2a4
CONFIG_HIGH_RES_TIMERS=y
diff -r board/beagleboard/beaglebone/patches/linux/linux.hash board/beagleboard-rt/beaglebone-rt/patches/linux/linux.hash
2c2
< sha256 f1ae7325c6c146e0f852866a3bfd3f90ae1b5f46e414bc99a38384ed677e3721 linux-6.6.32-ti-arm32-r7.tar.gz
sha256 84003bc656c6b012e8ea32945559d1ee265a1227037178360d52a667122ffea5 linux-6.6.32-ti-rt-arm32-r7.tar.gz
diff -r board/beagleboard/beaglebone/patches/linux-headers/linux-headers.hash board/beagleboard-rt/beaglebone-rt/patches/linux-headers/linux-headers.hash
2c2
< sha256 f1ae7325c6c146e0f852866a3bfd3f90ae1b5f46e414bc99a38384ed677e3721 linux-6.6.32-ti-arm32-r7.tar.gz
sha256 84003bc656c6b012e8ea32945559d1ee265a1227037178360d52a667122ffea5 linux-6.6.32-ti-rt-arm32-r7.tar.gz
diff -r board/beagleboard/beaglebone/rootfs_overlay/etc/qt5/eglfs_kms_cfg.json board/beagleboard-rt/beaglebone-rt/rootfs_overlay/etc/qt5/eglfs_kms_cfg.json
12c12
< “mode”: “1024x768”
"mode": "off"
DEFCONFIG_DIFF
1d0
< # Architecture
5,6d3
<
< # Linux headers same as kernel, a 6.6 series
8,10c5
<
< # System
< BR2_GLOBAL_PATCH_DIR=“board/beagleboard/beaglebone/patches”
BR2_GLOBAL_PATCH_DIR=“board/beagleboard-rt/beaglebone-rt/patches”
11a7,8
< # Image
< BR2_ROOTFS_POST_BUILD_SCRIPT=“board/beagleboard/beaglebone/post-build.sh”
BR2_ROOTFS_POST_BUILD_SCRIPT=“board/beagleboard-rt/beaglebone-rt/post-build.sh”
17,19c12
< BR2_ROOTFS_POST_SCRIPT_ARGS=“-c board/beagleboard/beaglebone/genimage.cfg”
<
< # Kernel
BR2_ROOTFS_POST_SCRIPT_ARGS=“-c board/beagleboard-rt/beaglebone-rt/genimage.cfg”
22c15
< BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION=“$(call github,beagleboard,linux,6.6.32-ti-arm32-r7)/linux-6.6.32-ti-arm32-r7.tar.gz”
BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION=“$(call github,beagleboard,linux,6.6.32-ti-rt-arm32-r7)/linux-6.6.32-ti-rt-arm32-r7.tar.gz”
25a19
BR2_LINUX_KERNEL_INTREE_DTS_OVERLAY_NAMES=“ti/omap/BB-UART1-00A0 ti/omap/BB-UART2-00A0 ti/omap/BB-UART4-00A0”
27,28c21,24
<
< # Filesystem
BR2_PACKAGE_BUSYBOX_SHOW_OTHERS=y
BR2_PACKAGE_XZ=y
BR2_PACKAGE_KMOD=y
BR2_PACKAGE_KMOD_TOOLS=y
31,32d26
<
< # Bootloader
44,45d37
<
< # Required tools to create the SD image
48,54d39
< BR2_PACKAGE_HOST_MTOOLS=y
<
< # Enable compressed kernel module support
< BR2_PACKAGE_BUSYBOX_SHOW_OTHERS=y
< BR2_PACKAGE_KMOD_TOOLS=y
< BR2_PACKAGE_XZ=y
< BR2_PACKAGE_KMOD=y
55a41
BR2_PACKAGE_HOST_MTOOLS=y
I also attached the files for your convenience.
BSP_diff.txt (1.1 KB)
defconfig_diff.txt (1.4 KB)
Kind regards,
Dawid J. Blom