Skip to contentSkip to conversation

linux-xenomai_4.4: Add machine specific config for beagle bone black

PATCH Applied Q. Gylstorff 2 participants 3 messages Aug 5, 2021 – Aug 6, 2021

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 linux-xenomai_4.4: Add machine specific config for beagle bone black

From: Quirin Gylstorff <[email protected]>

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

---
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
recipes-kernel/linux/files/bbb_4.4.cfg new file +4 -0
new file mode 100644
index 0000000..4628f44
@@ -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
recipes-kernel/linux/linux-xenomai_4.4.bb +1 -0
index 2a1137c..42c6d83 100644
@@ -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+"
 
Signature · 1 line
2.20.1
Applied
#1 lore raw
Quoted 45 lines · Q. Gylstorff

From: Quirin Gylstorff <[email protected]>

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

---
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
recipes-kernel/linux/files/bbb_4.4.cfg new file +4 -0
new file mode 100644
index 0000000..4628f44
@@ -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
recipes-kernel/linux/linux-xenomai_4.4.bb +0 -0
index 2a1137c..42c6d83 100644

recipes-kernel/linux/linux-xenomai_4.4.bb SRCREV_amd64 ?= "ipipe-core-4.4.268-cip57-x86-28" · line 22

Quoted 7 lines
recipes-kernel/linux/linux-xenomai_4.4.bb +1 -0
@@ -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

Signature · 2 lines
Siemens AG, T RDA IOT
Corporate Competence Center Embedded Linux
#2 lore raw
Quoted 47 lines · Jan Kiszka via Xenomai
Quoted 46 lines · Q. Gylstorff

From: Quirin Gylstorff <[email protected]>

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

---
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
recipes-kernel/linux/files/bbb_4.4.cfg new file +4 -0
new file mode 100644
index 0000000..4628f44
@@ -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
recipes-kernel/linux/linux-xenomai_4.4.bb +0 -0
index 2a1137c..42c6d83 100644
@@ -16,6 +16,7 @@ SRCREV_amd64 ?= "ipipe-core-4.4.268-cip57-x86-28"
 PV_amd64 = "4.4.268+"
 
Quoted 9 lines

recipes-kernel/linux/linux-xenomai_4.4.bb SRCREV_amd64 ?= "ipipe-core-4.4.268-cip57-x86-28" · line 22

Quoted 6 lines
recipes-kernel/linux/linux-xenomai_4.4.bb +1 -0
 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

Signature · 2 lines
Siemens AG, T RDA IOT
Corporate Competence Center Embedded Linux