All of lore.kernel.org
 help / color / mirror / Atom feed
* [xenomai-images][PATCH v2] linux-xenomai_4.4: Add machine specific config for beagle bone black
@ 2021-08-05 12:29 Q. Gylstorff
  2021-08-05 14:41 ` Jan Kiszka
  0 siblings, 1 reply; 3+ messages in thread
From: Q. Gylstorff @ 2021-08-05 12:29 UTC (permalink / raw)
  To: jan.kiszka, xenomai

From: Quirin Gylstorff <quirin.gylstorff@siemens.com>

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 <quirin.gylstorff@siemens.com>
---
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 0000000..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



^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [xenomai-images][PATCH v2] linux-xenomai_4.4: Add machine specific config for beagle bone black
  2021-08-05 12:29 [xenomai-images][PATCH v2] linux-xenomai_4.4: Add machine specific config for beagle bone black Q. Gylstorff
@ 2021-08-05 14:41 ` Jan Kiszka
  2021-08-06  9:21   ` Jan Kiszka
  0 siblings, 1 reply; 3+ messages in thread
From: Jan Kiszka @ 2021-08-05 14:41 UTC (permalink / raw)
  To: Q. Gylstorff, xenomai

On 05.08.21 14:29, Q. Gylstorff wrote:
> From: Quirin Gylstorff <quirin.gylstorff@siemens.com>
> 
> 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 <quirin.gylstorff@siemens.com>
> ---
> 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 0000000..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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [xenomai-images][PATCH v2] linux-xenomai_4.4: Add machine specific config for beagle bone black
  2021-08-05 14:41 ` Jan Kiszka
@ 2021-08-06  9:21   ` Jan Kiszka
  0 siblings, 0 replies; 3+ messages in thread
From: Jan Kiszka @ 2021-08-06  9:21 UTC (permalink / raw)
  To: Q. Gylstorff, xenomai

On 05.08.21 16:41, Jan Kiszka via Xenomai wrote:
> On 05.08.21 14:29, Q. Gylstorff wrote:
>> From: Quirin Gylstorff <quirin.gylstorff@siemens.com>
>>
>> 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 <quirin.gylstorff@siemens.com>
>> ---
>> 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 0000000..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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-08-06  9:21 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-05 12:29 [xenomai-images][PATCH v2] linux-xenomai_4.4: Add machine specific config for beagle bone black Q. Gylstorff
2021-08-05 14:41 ` Jan Kiszka
2021-08-06  9:21   ` Jan Kiszka

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.