From d64fb0a5114ac13398a6703f2301d8599715c978 Mon Sep 17 00:00:00 2001 From: geens Date: Thu, 31 Jul 2025 19:29:34 +0200 Subject: [PATCH] Created new fcb-looper-image.bb --- .../images/fcb-looper-image-old.bb | 47 ++++++++++++++++++ .../recipes-core/images/fcb-looper-image.bb | 48 +++---------------- .../ssh-keys/files/authorized_keys | 0 .../ssh-keys/ssh-keys_1.0.bb | 0 4 files changed, 54 insertions(+), 41 deletions(-) create mode 100644 image/meta-layers/meta-fcb-looper/recipes-core/images/fcb-looper-image-old.bb rename image/meta-layers/meta-fcb-looper/{recipes-core => recipes-support}/ssh-keys/files/authorized_keys (100%) rename image/meta-layers/meta-fcb-looper/{recipes-core => recipes-support}/ssh-keys/ssh-keys_1.0.bb (100%) diff --git a/image/meta-layers/meta-fcb-looper/recipes-core/images/fcb-looper-image-old.bb b/image/meta-layers/meta-fcb-looper/recipes-core/images/fcb-looper-image-old.bb new file mode 100644 index 0000000..a53a6e5 --- /dev/null +++ b/image/meta-layers/meta-fcb-looper/recipes-core/images/fcb-looper-image-old.bb @@ -0,0 +1,47 @@ +SUMMARY = "FCB1010 Looper System Image" +DESCRIPTION = "Minimal embedded Linux system with GUI for audio looper" + +require recipes-core/images/core-image-minimal.bb + +# Distro features now configured in fcb-looper distribution + +# gui-app + +IMAGE_INSTALL += "\ + packagegroup-core-boot \ + weston \ + weston-init \ + liberation-fonts \ + systemd \ + openssh \ + ssh-keys \ + wifi-config \ + wpa-supplicant \ + iw \ + linux-firmware \ + packagegroup-base-wifi \ + pciutils \ + usbutils \ + linux-firmware-iwlwifi-6000g2b-6 \ + kbd \ + file \ + util-linux \ + keyboard-config \ + ${CORE_IMAGE_EXTRA_INSTALL} \ +" + +# WiFi kernel features - ensure iwlwifi is built +KERNEL_FEATURES:append = " cfg/80211.scc features/iwlwifi/iwlwifi.scc" + +# Image features for development and access - removed read-only for debugging +IMAGE_FEATURES += "ssh-server-openssh empty-root-password allow-empty-password debug-tweaks" + +# Size optimization +IMAGE_ROOTFS_SIZE ?= "1048576" +IMAGE_OVERHEAD_FACTOR = "1.1" + +# Image formats +IMAGE_FSTYPES += "ext4 tar.bz2 wic" + +# Custom WIC file without swap +WKS_FILE = "fcb-looper-noswap.wks" \ No newline at end of file diff --git a/image/meta-layers/meta-fcb-looper/recipes-core/images/fcb-looper-image.bb b/image/meta-layers/meta-fcb-looper/recipes-core/images/fcb-looper-image.bb index a53a6e5..ee6fc3d 100644 --- a/image/meta-layers/meta-fcb-looper/recipes-core/images/fcb-looper-image.bb +++ b/image/meta-layers/meta-fcb-looper/recipes-core/images/fcb-looper-image.bb @@ -1,47 +1,13 @@ SUMMARY = "FCB1010 Looper System Image" -DESCRIPTION = "Minimal embedded Linux system with GUI for audio looper" +DESCRIPTION = "Embedded Linux system for FCB1010 looper" -require recipes-core/images/core-image-minimal.bb +require recipes-rt/images/core-image-rt.bb -# Distro features now configured in fcb-looper distribution - -# gui-app - -IMAGE_INSTALL += "\ - packagegroup-core-boot \ - weston \ - weston-init \ - liberation-fonts \ - systemd \ - openssh \ - ssh-keys \ - wifi-config \ - wpa-supplicant \ - iw \ - linux-firmware \ - packagegroup-base-wifi \ - pciutils \ - usbutils \ - linux-firmware-iwlwifi-6000g2b-6 \ - kbd \ - file \ - util-linux \ - keyboard-config \ - ${CORE_IMAGE_EXTRA_INSTALL} \ -" - -# WiFi kernel features - ensure iwlwifi is built -KERNEL_FEATURES:append = " cfg/80211.scc features/iwlwifi/iwlwifi.scc" - -# Image features for development and access - removed read-only for debugging -IMAGE_FEATURES += "ssh-server-openssh empty-root-password allow-empty-password debug-tweaks" - -# Size optimization -IMAGE_ROOTFS_SIZE ?= "1048576" -IMAGE_OVERHEAD_FACTOR = "1.1" +# Kernel selection +PREFERRED_PROVIDER_virtual/kernel = "linux-intel-rt" # Image formats -IMAGE_FSTYPES += "ext4 tar.bz2 wic" +IMAGE_FSTYPES += "wic.vdi" -# Custom WIC file without swap -WKS_FILE = "fcb-looper-noswap.wks" \ No newline at end of file +# Image features for development and access +IMAGE_FEATURES += "ssh-server-openssh empty-root-password allow-empty-password debug-tweaks" \ No newline at end of file diff --git a/image/meta-layers/meta-fcb-looper/recipes-core/ssh-keys/files/authorized_keys b/image/meta-layers/meta-fcb-looper/recipes-support/ssh-keys/files/authorized_keys similarity index 100% rename from image/meta-layers/meta-fcb-looper/recipes-core/ssh-keys/files/authorized_keys rename to image/meta-layers/meta-fcb-looper/recipes-support/ssh-keys/files/authorized_keys diff --git a/image/meta-layers/meta-fcb-looper/recipes-core/ssh-keys/ssh-keys_1.0.bb b/image/meta-layers/meta-fcb-looper/recipes-support/ssh-keys/ssh-keys_1.0.bb similarity index 100% rename from image/meta-layers/meta-fcb-looper/recipes-core/ssh-keys/ssh-keys_1.0.bb rename to image/meta-layers/meta-fcb-looper/recipes-support/ssh-keys/ssh-keys_1.0.bb