arm-autonomy: Add support for building/installing an alternate kernel
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest8 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/8 | arm-autonomy/linux-linaro-arm-rt: add linux-RT patch for xen dynamic eventsmeta-arm-autonomy/ meta-arm-autonomy/ | +85 | 0 replies | |
| 2/8 | arm-autonomy/linux-linaro-arm-rt: Add preempt-rt-extras.scc KERNEL_FEATUREmeta-arm-autonomy/ meta-arm-autonomy/ meta-arm-autonomy/ | +12 | 0 replies | |
| 3/8 | arm-autonomy/classes: Introduce alternate-kernel.bbclassmeta-arm-autonomy/ | +26 | 0 replies | |
| 4/8 | arm-autonomy/arm-autonomy-host-image-minimal: Build/Install alternate kernelmeta-arm-autonomy/ | +4 | 0 replies | |
| 5/8 | arm-autonomy/n1sdp: Add support for building/installing alternate kernelmeta-arm-autonomy/ | +22 | 0 replies | |
| 6/8 | arm-autonomy/n1sdp: Add GRUB config when including alternate kernelmeta-arm-autonomy/ meta-arm-autonomy/ | +49 | 0 replies | |
| 7/8 | arm-autonomy/init: Change execution order between modutils.sh and checkroot.shmeta-arm-autonomy/ meta-arm-autonomy/ | +7 | 0 replies | |
| 8/8 | arm-autonomy/modutils-initscripts: Fix modules.dep updatemeta-arm-autonomy/ meta-arm-autonomy/ | +37 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/8] arm-autonomy: Add support for building/installing an alternate kernel
This patch series introduces the support for building and installing an alternate kernel image and modules in an image. The alternate kernel inclusion is controlled via the 'alternate-kernel' DISTRO_FEATURE.
The alternate-kernel.bbclass is to be inherited by image recipes and requires the PREFERRED_PROVIDER_alternate/kernel and KERNEL_PACKAGE_NAME_pn-atlkernel-recipe to be set. The class will also install the kernel-modules package for both virtual/kernel and alternate/kernel.
Also, a patch is introduced in linux-linaro-arm-rt recipe to fix xen behavior in kernels with PREEMPT_RT. The preempt-rt-extras.scc KERNEL_FEATURE was added to linux-linaro-arm-rt in order to accomodate extra kernel configs for arm-autonomy based projects.
For N1SDP machine, all the required settings are done to include the alternate-kernel as well as the GRUB config file to boot it.
The last two patches are fixing an erroneous behavior of the modutils.sh initscript where the depmod command fails to run when the '/' is firstly mounted as ro. A proper investigation will be done with oe-core only, and if it is reproduced with a qemu machine, the fix will be sent to the upstream project.
Diego Sueiro (8):
arm-autonomy/linux-linaro-arm-rt: add linux-RT patch for xen dynamic
events
arm-autonomy/linux-linaro-arm-rt: Add preempt-rt-extras.scc
KERNEL_FEATURE
arm-autonomy/classes: Introduce alternate-kernel.bbclass arm-autonomy/arm-autonomy-host-image-minimal: Build/Install alternate
kernel
arm-autonomy/n1sdp: Add support for building/installing alternate
kernel
arm-autonomy/n1sdp: Add GRUB config when including alternate kernel arm-autonomy/init: Change execution order between modutils.sh and
checkroot.sh
arm-autonomy/modutils-initscripts: Fix modules.dep update
.../classes/alternate-kernel.bbclass | 26 ++++++ .../conf/machine/n1sdp-extra-settings.inc | 44 +++++++++- .../arm-autonomy/preempt-rt-extras.cfg | 7 ++ .../arm-autonomy/preempt-rt-extras.scc | 3 + ...asteoi_irq-to-handle-xen-dynamic-eve.patch | 80 +++++++++++++++++++ .../linux/linux-linaro-arm-rt_5.4.bbappend | 7 ++ .../wic/arm-autonomy-n1sdp-rt-grub.cfg | 28 +++++++ .../images/arm-autonomy-host-image-minimal.bb | 4 + .../initscripts/initscripts_1.0.bbappend | 5 ++ .../modutils-initscripts.bbappend | 6 ++ .../fix-modules-dep-creation.patch | 33 ++++++++ 11 files changed, 242 insertions(+), 1 deletion(-) create mode 100644 meta-arm-autonomy/classes/alternate-kernel.bbclass create mode 100644 meta-arm-autonomy/dynamic-layers/meta-arm-bsp/recipes-kernel/linux/arm-autonomy-kmeta-extra/features/arm-autonomy/preempt-rt-extras.cfg create mode 100644 meta-arm-autonomy/dynamic-layers/meta-arm-bsp/recipes-kernel/linux/arm-autonomy-kmeta-extra/features/arm-autonomy/preempt-rt-extras.scc create mode 100644 meta-arm-autonomy/dynamic-layers/meta-arm-bsp/recipes-kernel/linux/linux-linaro-arm-rt-5.4/0001-xen-use-handle_fasteoi_irq-to-handle-xen-dynamic-eve.patch create mode 100644 meta-arm-autonomy/dynamic-layers/meta-arm-bsp/recipes-kernel/linux/linux-linaro-arm-rt_5.4.bbappend create mode 100644 meta-arm-autonomy/dynamic-layers/meta-arm-bsp/wic/arm-autonomy-n1sdp-rt-grub.cfg create mode 100644 meta-arm-autonomy/recipes-core/initscripts/initscripts_1.0.bbappend create mode 100644 meta-arm-autonomy/recipes-kernel/modutils-initscripts/modutils-initscripts.bbappend create mode 100644 meta-arm-autonomy/recipes-kernel/modutils-initscripts/modutils-initscripts/fix-modules-dep-creation.patch
Signature · 1 line
2.17.1