Re: [xenomai-images][PATCH v2] linux-xenomai_4.4: Add machine specific config for beagle bone black
On 05.08.21 16:41, Jan Kiszka via Xenomai wrote: > On 05.08.21 14:29, Q. Gylstorff wrote: >> From: Quirin Gylstorff >> >> The beagle bone black does most[1] of the time not boot ipipe 4.4 + xenomai >> 3.0.x if >> the following kernel configuration elements are active: >> - CONFIG_RAW_PRINTK >> - CONFIG_DEBUG_LL >> - CONFIG_IPIPE_DEBUG >> - CONFIG_XENO_OPT_DEBUG >> >> Last message in U-boot is: >> ``` >> Starting kernel ... >> ``` >> >> 4.19 and newer are not impacted. >> >> [1]: The CI build boots around 1 out 4. See >> https://source.denx.de/Xenomai/xenomai-images/-/jobs/303430 >> >> Signed-off-by: Quirin Gylstorff >> --- >> Changes V2: >> - replace defconfig with partial config >> - adapt commit message for sporatic CI boots >> >> recipes-kernel/linux/files/bbb_4.4.cfg| 4 >> recipes-kernel/linux/linux-xenomai_4.4.bb | 1 + >> 2 files changed, 5 insertions(+) >> create mode 100644 recipes-kernel/linux/files/bbb_4.4.cfg >> >> diff --git a/recipes-kernel/linux/files/bbb_4.4.cfg >> b/recipes-kernel/linux/files/bbb_4.4.cfg >> new file mode 100644 >> index 000..4628f44 >> --- /dev/null >> +++ b/recipes-kernel/linux/files/bbb_4.4.cfg >> @@ -0,0 +1,4 @@ >> +# CONFIG_RAW_PRINTK is not set >> +# CONFIG_DEBUG_LL is not set >> +# CONFIG_IPIPE_DEBUG is not set >> +# CONFIG_XENO_OPT_DEBUG is not set >> diff --git a/recipes-kernel/linux/linux-xenomai_4.4.bb >> b/recipes-kernel/linux/linux-xenomai_4.4.bb >> index 2a1137c..42c6d83 100644 >> --- a/recipes-kernel/linux/linux-xenomai_4.4.bb >> +++ b/recipes-kernel/linux/linux-xenomai_4.4.bb >> @@ -16,6 +16,7 @@ SRCREV_amd64 ?= "ipipe-core-4.4.268-cip57-x86-28" >> PV_amd64 = "4.4.268+" >> >> SRC_URI_append_armhf = " >> git://github.com/xenomai-ci/ipipe.git;protocol=https;nobranch=1" >> +SRC_URI_append_armhf = " ${@ 'file://bbb_4.4.cfg' if d.getVar('MACHINE') == >> 'beagle-bone-black' else '' }" >> SRCREV_armhf ?= "ipipe-core-4.4.268-cip57-arm-13" >> PV_armhf = "4.4.268+" >> >> > > Thanks, applied. > Bad news: https://source.denx.de/Xenomai/xenomai-images/-/jobs/304747 Possibly, non-debug only lowers the probability of a regression on armhf or bbb. Where you able to grab any early boot messages in the failing cases? Jan -- Siemens AG, T RDA IOT Corporate Competence Center Embedded Linux
Re: [xenomai-images][PATCH v2] linux-xenomai_4.4: Add machine specific config for beagle bone black
On 05.08.21 14:29, Q. Gylstorff wrote: > From: Quirin Gylstorff > > The beagle bone black does most[1] of the time not boot ipipe 4.4 + xenomai > 3.0.x if > the following kernel configuration elements are active: > - CONFIG_RAW_PRINTK > - CONFIG_DEBUG_LL > - CONFIG_IPIPE_DEBUG > - CONFIG_XENO_OPT_DEBUG > > Last message in U-boot is: > ``` > Starting kernel ... > ``` > > 4.19 and newer are not impacted. > > [1]: The CI build boots around 1 out 4. See > https://source.denx.de/Xenomai/xenomai-images/-/jobs/303430 > > Signed-off-by: Quirin Gylstorff > --- > Changes V2: > - replace defconfig with partial config > - adapt commit message for sporatic CI boots > > recipes-kernel/linux/files/bbb_4.4.cfg| 4 > recipes-kernel/linux/linux-xenomai_4.4.bb | 1 + > 2 files changed, 5 insertions(+) > create mode 100644 recipes-kernel/linux/files/bbb_4.4.cfg > > diff --git a/recipes-kernel/linux/files/bbb_4.4.cfg > b/recipes-kernel/linux/files/bbb_4.4.cfg > new file mode 100644 > index 000..4628f44 > --- /dev/null > +++ b/recipes-kernel/linux/files/bbb_4.4.cfg > @@ -0,0 +1,4 @@ > +# CONFIG_RAW_PRINTK is not set > +# CONFIG_DEBUG_LL is not set > +# CONFIG_IPIPE_DEBUG is not set > +# CONFIG_XENO_OPT_DEBUG is not set > diff --git a/recipes-kernel/linux/linux-xenomai_4.4.bb > b/recipes-kernel/linux/linux-xenomai_4.4.bb > index 2a1137c..42c6d83 100644 > --- a/recipes-kernel/linux/linux-xenomai_4.4.bb > +++ b/recipes-kernel/linux/linux-xenomai_4.4.bb > @@ -16,6 +16,7 @@ SRCREV_amd64 ?= "ipipe-core-4.4.268-cip57-x86-28" > PV_amd64 = "4.4.268+" > > SRC_URI_append_armhf = " > git://github.com/xenomai-ci/ipipe.git;protocol=https;nobranch=1" > +SRC_URI_append_armhf = " ${@ 'file://bbb_4.4.cfg' if d.getVar('MACHINE') == > 'beagle-bone-black' else '' }" > SRCREV_armhf ?= "ipipe-core-4.4.268-cip57-arm-13" > PV_armhf = "4.4.268+" > > Thanks, applied. Jan -- Siemens AG, T RDA IOT Corporate Competence Center Embedded Linux
[xenomai-images][PATCH v2] linux-xenomai_4.4: Add machine specific config for beagle bone black
From: Quirin Gylstorff The beagle bone black does most[1] of the time not boot ipipe 4.4 + xenomai 3.0.x if the following kernel configuration elements are active: - CONFIG_RAW_PRINTK - CONFIG_DEBUG_LL - CONFIG_IPIPE_DEBUG - CONFIG_XENO_OPT_DEBUG Last message in U-boot is: ``` Starting kernel ... ``` 4.19 and newer are not impacted. [1]: The CI build boots around 1 out 4. See https://source.denx.de/Xenomai/xenomai-images/-/jobs/303430 Signed-off-by: Quirin Gylstorff --- Changes V2: - replace defconfig with partial config - adapt commit message for sporatic CI boots recipes-kernel/linux/files/bbb_4.4.cfg| 4 recipes-kernel/linux/linux-xenomai_4.4.bb | 1 + 2 files changed, 5 insertions(+) create mode 100644 recipes-kernel/linux/files/bbb_4.4.cfg diff --git a/recipes-kernel/linux/files/bbb_4.4.cfg b/recipes-kernel/linux/files/bbb_4.4.cfg new file mode 100644 index 000..4628f44 --- /dev/null +++ b/recipes-kernel/linux/files/bbb_4.4.cfg @@ -0,0 +1,4 @@ +# CONFIG_RAW_PRINTK is not set +# CONFIG_DEBUG_LL is not set +# CONFIG_IPIPE_DEBUG is not set +# CONFIG_XENO_OPT_DEBUG is not set diff --git a/recipes-kernel/linux/linux-xenomai_4.4.bb b/recipes-kernel/linux/linux-xenomai_4.4.bb index 2a1137c..42c6d83 100644 --- a/recipes-kernel/linux/linux-xenomai_4.4.bb +++ b/recipes-kernel/linux/linux-xenomai_4.4.bb @@ -16,6 +16,7 @@ SRCREV_amd64 ?= "ipipe-core-4.4.268-cip57-x86-28" PV_amd64 = "4.4.268+" SRC_URI_append_armhf = " git://github.com/xenomai-ci/ipipe.git;protocol=https;nobranch=1" +SRC_URI_append_armhf = " ${@ 'file://bbb_4.4.cfg' if d.getVar('MACHINE') == 'beagle-bone-black' else '' }" SRCREV_armhf ?= "ipipe-core-4.4.268-cip57-arm-13" PV_armhf = "4.4.268+" -- 2.20.1