Skip to contentSkip to conversation

xen, rpi4: Fix syntax in linux-yocto bbappend

PATCH In review luca fancellu 5 participants 9 messages Sep 30, 2021 – Oct 5, 2021 Broadcom BCM2711/BCM2835 Arm architecture

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 xen, rpi4: Fix syntax in linux-yocto bbappend

Syntax conversion for bbappend linux-yocto_5.10
and linux-yocto-dev inside the raspberrypi
dynamic layer.

---
 .../recipes-kernel/linux/linux-yocto-dev.bbappend           | 6 +++---
 .../recipes-kernel/linux/linux-yocto_5.10.bbappend          | 6 +++---
 2 files changed, 6 insertions(+), 6 deletions(-)
dynamic-layers/raspberrypi/recipes-kernel/linux/linux-yocto-dev.bbappend +3 -3
index 8381e44..5f43052 100644
@@ -1,8 +1,8 @@
 # For a Xen-enabled distro on the Raspberry Pi, override the contents of cmdline.txt
 # with Xen-on-ARM-specific command line options
 
-KBRANCH_raspberrypi4-64 ?= "standard/bcm-2xxx-rpi"
-KMACHINE_raspberrypi4-64 ?= "bcm-2xxx-rpi4"
-COMPATIBLE_MACHINE_raspberrypi4-64 = "(raspberrypi4-64)"
+KBRANCH:raspberrypi4-64 ?= "standard/bcm-2xxx-rpi"
+KMACHINE:raspberrypi4-64 ?= "bcm-2xxx-rpi4"
+COMPATIBLE_MACHINE:raspberrypi4-64 = "(raspberrypi4-64)"
 
 require linux-yocto_xen-rpi.inc
dynamic-layers/raspberrypi/recipes-kernel/linux/linux-yocto_5.10.bbappend +3 -3
index af92493..f279ef7 100644
@@ -1,6 +1,6 @@
 # Enable use of the linux-yocto 5.10 kernel for the Raspberry Pi 4
-KBRANCH_raspberrypi4-64 ?= "v5.10/standard/bcm-2xxx-rpi"
-KMACHINE_raspberrypi4-64 ?= "bcm-2xxx-rpi4"
-COMPATIBLE_MACHINE_raspberrypi4-64 = "(raspberrypi4-64)"
+KBRANCH:raspberrypi4-64 ?= "v5.10/standard/bcm-2xxx-rpi"
+KMACHINE:raspberrypi4-64 ?= "bcm-2xxx-rpi4"
+COMPATIBLE_MACHINE:raspberrypi4-64 = "(raspberrypi4-64)"
 
 require linux-yocto_xen-rpi.inc
Signature · 1 line
2.17.1
#1 lore raw

PATCH 2/2 xen, rpi4: Use PARTUUID for rootfs discovery

The mmc probing order has become unpredictable due to recent linux kernel changes, therefore devices like the raspberry pi that have two mmc interface most of the time can't boot from the hard-coded root path.

Modify the u-boot script to fetch the PARTUUID of the second partition of the sd card and use it to put root=PARTUUID=<xxx> in the command line passed to the dom0 kernel.

---
 .../xen-rpi-u-boot-scr/files/boot.cmd.xen.in          | 11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)
dynamic-layers/raspberrypi/recipes-bsp/xen-rpi-u-boot-scr/files/boot.cmd.xen.in +7 -4
index 0367e36..9874220 100644
@@ -13,10 +13,6 @@ fdt resize 0x1000
 echo Add boot arguments for Xen
 fdt set /chosen xen,xen-bootargs "console=dtuart dtuart=/soc/serial@7e215040 dom0_mem='@@RPI_DOM0_MEM@@' @@RPI_DEBUG_XEN_ARGS@@"
 
-echo Add boot arguments for dom0
-setenv dom0_bootargs "console=hvc0 earlycon=xenboot debug root=/dev/mmcblk0p2 rootwait"
-fdt set /chosen xen,dom0-bootargs \"${dom0_bootargs}\"
-
 echo Add a dom0 node to chosen to put Linux boot information in
 fdt mknode /chosen dom0
 
@@ -32,6 +28,13 @@ fdt rm /scb/pcie@7d500000/pci@1,0/usb@1,0
 echo Delay to allow the MMC card to be ready
 sleep 1
 
+# Retrieve PARTUUID for the rootfs partition of the sdcard
+part uuid mmc 1:2 rootfs_partuuid
+
+echo Add boot arguments for dom0
+setenv dom0_bootargs "console=hvc0 earlycon=xenboot debug root=PARTUUID=${rootfs_partuuid} rootwait"
+fdt set /chosen xen,dom0-bootargs \"${dom0_bootargs}\"
+
 echo Load Xen into memory
 fatload mmc 1:1 ${xen_loadaddr} xen
 echo Xen loaded, size: 0x$filesize
Signature · 1 line
2.17.1
Reviewed-by on v1 2/2
#2 lore raw

Re: [meta-virtualization] [PATCH 2/2] xen, rpi4: Use PARTUUID for rootfs discovery

Quoted 14 lines

-----Original Message-----
From: [email protected] <meta- [email protected]> On Behalf Of luca fancellu via lists.yoctoproject.org
Sent: 30 September 2021 15:54
To: [email protected]
Cc: Bertrand Marquis <[email protected]>
Subject: [meta-virtualization] [PATCH 2/2] xen, rpi4: Use PARTUUID for rootfs discovery

The mmc probing order has become unpredictable due to recent linux kernel changes, therefore devices like the raspberry pi that have two mmc interface most of the time can't boot from the hard-coded root path.

Quoted 5 lines

Modify the u-boot script to fetch the PARTUUID of the second partition of the sd card and use it to put root=PARTUUID=<xxx> in the command line passed to the dom0 kernel.

Quoted 37 lines

---
.../xen-rpi-u-boot-scr/files/boot.cmd.xen.in | 11 +++++++----

1 file changed, 7 insertions(+), 4 deletions(-)
(quoted diff) +0 -0

scr/files/boot.cmd.xen.in b/dynamic-layers/raspberrypi/recipes-bsp/xen-rpi- u-boot-scr/files/boot.cmd.xen.in
index 0367e36..9874220 100644
--- a/dynamic-layers/raspberrypi/recipes-bsp/xen-rpi-u-boot- scr/files/boot.cmd.xen.in
+++ b/dynamic-layers/raspberrypi/recipes-bsp/xen-rpi-u-boot-scr/files/bo +++ ot.cmd.xen.in

(quoted diff) +0 -0
@@ -13,10 +13,6 @@ fdt resize 0x1000

echo Add boot arguments for Xen
fdt set /chosen xen,xen-bootargs "console=dtuart dtuart=/soc/serial@7e215040 dom0_mem='@@RPI_DOM0_MEM@@' @@RPI_DEBUG_XEN_ARGS@@"

(quoted diff) +0 -2
-echo Add boot arguments for dom0
-setenv dom0_bootargs "console=hvc0 earlycon=xenboot debug

root=/dev/mmcblk0p2 rootwait"

dynamic-layers/raspberrypi/recipes-bsp/xen-rpi-u-boot-scr/files/boot.cmd.xen.in +0 -2
-fdt set /chosen xen,dom0-bootargs \"${dom0_bootargs}\"
-

echo Add a dom0 node to chosen to put Linux boot information in fdt mknode /chosen dom0

(quoted diff) +0 -0
@@ -32,6 +28,13 @@ fdt rm /scb/pcie@7d500000/pci@1,0/usb@1,0

echo Delay to allow the MMC card to be ready sleep 1

(quoted diff) +5 -0
+# Retrieve PARTUUID for the rootfs partition of the sdcard part uuid
+mmc 1:2 rootfs_partuuid
+
+echo Add boot arguments for dom0
+setenv dom0_bootargs "console=hvc0 earlycon=xenboot debug

root=PARTUUID=${rootfs_partuuid} rootwait"

dynamic-layers/raspberrypi/recipes-bsp/xen-rpi-u-boot-scr/files/boot.cmd.xen.in +2 -0
+fdt set /chosen xen,dom0-bootargs \"${dom0_bootargs}\"
+
Quoted 5 lines

echo Load Xen into memory
fatload mmc 1:1 ${xen_loadaddr} xen
echo Xen loaded, size: 0x$filesize
--
2.17.1

IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.

Reviewed-by on v1 2/2
#3 lore raw

Re: [PATCH 2/2] xen, rpi4: Use PARTUUID for rootfs discovery

In reply to luca fancellu

Hi Luca,

Quoted 7 lines · Luca Fancellu

The mmc probing order has become unpredictable due to recent linux kernel changes, therefore devices like the raspberry pi that have two mmc interface most of the time can't boot from the hard-coded root path.

Quoted 6 lines

Modify the u-boot script to fetch the PARTUUID of the second partition of the sd card and use it to put root=PARTUUID=<xxx> in the command line passed to the dom0 kernel.

Cheers
Bertrand

Quoted 30 lines

---
.../xen-rpi-u-boot-scr/files/boot.cmd.xen.in | 11 +++++++----

1 file changed, 7 insertions(+), 4 deletions(-)
dynamic-layers/raspberrypi/recipes-bsp/xen-rpi-u-boot-scr/files/boot.cmd.xen.in +0 -0
index 0367e36..9874220 100644
@@ -13,10 +13,6 @@ fdt resize 0x1000

echo Add boot arguments for Xen
fdt set /chosen xen,xen-bootargs "console=dtuart dtuart=/soc/serial@7e215040 dom0_mem='@@RPI_DOM0_MEM@@' @@RPI_DEBUG_XEN_ARGS@@"

dynamic-layers/raspberrypi/recipes-bsp/xen-rpi-u-boot-scr/files/boot.cmd.xen.in +0 -4
-echo Add boot arguments for dom0
-setenv dom0_bootargs "console=hvc0 earlycon=xenboot debug root=/dev/mmcblk0p2 rootwait"
-fdt set /chosen xen,dom0-bootargs \"${dom0_bootargs}\"
-

echo Add a dom0 node to chosen to put Linux boot information in fdt mknode /chosen dom0

dynamic-layers/raspberrypi/recipes-bsp/xen-rpi-u-boot-scr/files/boot.cmd.xen.in +0 -0
@@ -32,6 +28,13 @@ fdt rm /scb/pcie@7d500000/pci@1,0/usb@1,0

echo Delay to allow the MMC card to be ready
sleep 1

dynamic-layers/raspberrypi/recipes-bsp/xen-rpi-u-boot-scr/files/boot.cmd.xen.in +7 -0
+# Retrieve PARTUUID for the rootfs partition of the sdcard
+part uuid mmc 1:2 rootfs_partuuid
+
+echo Add boot arguments for dom0
+setenv dom0_bootargs "console=hvc0 earlycon=xenboot debug root=PARTUUID=${rootfs_partuuid} rootwait"
+fdt set /chosen xen,dom0-bootargs \"${dom0_bootargs}\"
+
Quoted 6 lines

echo Load Xen into memory
fatload mmc 1:1 ${xen_loadaddr} xen
echo Xen loaded, size: 0x$filesize
--
2.17.1

IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.

Reviewed-by Tested-by
#4 lore raw

Re: [meta-virtualization] [PATCH 2/2] xen, rpi4: Use PARTUUID for rootfs discovery

Quoted 14 lines · Bertrand Marquis

Hi Luca,

Quoted 11 lines · Luca Fancellu

The mmc probing order has become unpredictable due to recent linux kernel changes, therefore devices like the raspberry pi that have two mmc interface most of the time can't boot from the hard-coded root path.

Modify the u-boot script to fetch the PARTUUID of the second partition of the sd card and use it to put root=PARTUUID=<xxx> in the command line passed to the dom0 kernel.

Thanks for posting a way of handling this. I've encountered the same unpredictable device enumeration and had been looking into whether switching the sdhci_iproc driver to PROBE_FORCE_SYNCHRONOUS instead of PROBE_PREFER_ASYNCHRONOUS would resolve it but I can't report that it does. I would prefer to have a way to get stable enumeration but without it, this is an improvement.

Quoted 7 lines
Quoted 2 lines

Christopher

Quoted 60 lines

Cheers
Bertrand

Quoted 5 lines

---
.../xen-rpi-u-boot-scr/files/boot.cmd.xen.in | 11 +++++++----

1 file changed, 7 insertions(+), 4 deletions(-)

diff --git

a/dynamic-layers/raspberrypi/recipes-bsp/xen-rpi-u-boot-scr/files/ boot.cmd.xen.in b/dynamic-layers/raspberrypi/recipes-bsp/xen-rpi-u-boot-scr/files/ boot.cmd.xen.in

Quoted 2 lines

index 0367e36..9874220 100644
--- a/dynamic-layers/raspberrypi/recipes-bsp/xen-rpi-u-boot-scr/files/

boot.cmd.xen.in

Quoted 1 line

+++ b/dynamic-layers/raspberrypi/recipes-bsp/xen-rpi-u-boot-scr/files/

boot.cmd.xen.in

Quoted 3 lines
(quoted diff) +0 -0
@@ -13,10 +13,6 @@ fdt resize 0x1000

echo Add boot arguments for Xen
fdt set /chosen xen,xen-bootargs "console=dtuart

dtuart=/soc/serial@7e215040 dom0_mem='@@RPI_DOM0_MEM@@' @@RPI_DEBUG_XEN_ARGS@@"

Review

Quoted 3 lines
(quoted diff) +0 -2
-echo Add boot arguments for dom0
-setenv dom0_bootargs "console=hvc0 earlycon=xenboot debug

root=/dev/mmcblk0p2 rootwait"

Quoted 9 lines
dynamic-layers/raspberrypi/recipes-bsp/xen-rpi-u-boot-scr/files/boot.cmd.xen.in +0 -2
-fdt set /chosen xen,dom0-bootargs \"${dom0_bootargs}\"
-

echo Add a dom0 node to chosen to put Linux boot information in fdt mknode /chosen dom0

(quoted diff) +0 -0
@@ -32,6 +28,13 @@ fdt rm /scb/pcie@7d500000/pci@1,0/usb@1,0

echo Delay to allow the MMC card to be ready
sleep 1

dynamic-layers/raspberrypi/recipes-bsp/xen-rpi-u-boot-scr/files/boot.cmd.xen.in fdt rm /scb/pcie@7d500000/pci@1,0/usb@1,0

Quoted 5 lines
dynamic-layers/raspberrypi/recipes-bsp/xen-rpi-u-boot-scr/files/boot.cmd.xen.in +5 -0
+# Retrieve PARTUUID for the rootfs partition of the sdcard
+part uuid mmc 1:2 rootfs_partuuid
+
+echo Add boot arguments for dom0
+setenv dom0_bootargs "console=hvc0 earlycon=xenboot debug

root=PARTUUID=${rootfs_partuuid} rootwait"

Quoted 8 lines
dynamic-layers/raspberrypi/recipes-bsp/xen-rpi-u-boot-scr/files/boot.cmd.xen.in +2 -0
+fdt set /chosen xen,dom0-bootargs \"${dom0_bootargs}\"
+

echo Load Xen into memory
fatload mmc 1:1 ${xen_loadaddr} xen
echo Xen loaded, size: 0x$filesize
--
2.17.1

IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.

Reviewed-by on v1 1/2
#5 lore raw
In reply to luca fancellu
Quoted 10 lines

-----Original Message-----
From: [email protected] <meta- [email protected]> On Behalf Of luca fancellu via lists.yoctoproject.org
Sent: 30 September 2021 15:54
To: [email protected]
Cc: Bertrand Marquis <[email protected]>
Subject: [meta-virtualization] [PATCH 1/2] xen, rpi4: Fix syntax in linux-yocto bbappend

Quoted 4 lines

Syntax conversion for bbappend linux-yocto_5.10 and linux-yocto-dev inside the raspberrypi dynamic layer.

Quoted 45 lines

---
.../recipes-kernel/linux/linux-yocto-dev.bbappend | 6 +++---
.../recipes-kernel/linux/linux-yocto_5.10.bbappend | 6 +++---

2 files changed, 6 insertions(+), 6 deletions(-)
(quoted diff) +0 -0

dev.bbappend b/dynamic-layers/raspberrypi/recipes-kernel/linux/linux- yocto-dev.bbappend
index 8381e44..5f43052 100644
--- a/dynamic-layers/raspberrypi/recipes-kernel/linux/linux-yocto- dev.bbappend
+++ b/dynamic-layers/raspberrypi/recipes-kernel/linux/linux-yocto-dev.bb +++ append

(quoted diff) +0 -0
@@ -1,8 +1,8 @@
 # For a Xen-enabled distro on the Raspberry Pi, override the contents of

cmdline.txt # with Xen-on-ARM-specific command line options

dynamic-layers/raspberrypi/recipes-kernel/linux/linux-yocto-dev.bbappend +3 -3
-KBRANCH_raspberrypi4-64 ?= "standard/bcm-2xxx-rpi"
-KMACHINE_raspberrypi4-64 ?= "bcm-2xxx-rpi4"
-COMPATIBLE_MACHINE_raspberrypi4-64 = "(raspberrypi4-64)"
+KBRANCH:raspberrypi4-64 ?= "standard/bcm-2xxx-rpi"
+KMACHINE:raspberrypi4-64 ?= "bcm-2xxx-rpi4"
+COMPATIBLE_MACHINE:raspberrypi4-64 = "(raspberrypi4-64)"

require linux-yocto_xen-rpi.inc

(quoted diff) +0 -0

yocto_5.10.bbappend b/dynamic-layers/raspberrypi/recipes- kernel/linux/linux-yocto_5.10.bbappend
index af92493..f279ef7 100644
--- a/dynamic-layers/raspberrypi/recipes-kernel/linux/linux- yocto_5.10.bbappend
+++ b/dynamic-layers/raspberrypi/recipes-kernel/linux/linux-yocto_5.10.b +++ bappend

dynamic-layers/raspberrypi/recipes-kernel/linux/linux-yocto_5.10.bbappend +3 -3
@@ -1,6 +1,6 @@
 # Enable use of the linux-yocto 5.10 kernel for the Raspberry Pi 4
-KBRANCH_raspberrypi4-64 ?= "v5.10/standard/bcm-2xxx-rpi"
-KMACHINE_raspberrypi4-64 ?= "bcm-2xxx-rpi4"
-COMPATIBLE_MACHINE_raspberrypi4-64 = "(raspberrypi4-64)"
+KBRANCH:raspberrypi4-64 ?= "v5.10/standard/bcm-2xxx-rpi"
+KMACHINE:raspberrypi4-64 ?= "bcm-2xxx-rpi4"
+COMPATIBLE_MACHINE:raspberrypi4-64 = "(raspberrypi4-64)"
 

require linux-yocto_xen-rpi.inc
--
2.17.1

Reviewed-by on v1 1/2
#6 lore raw
In reply to luca fancellu

Hi Luca,

Quoted 7 lines · Luca Fancellu

Syntax conversion for bbappend linux-yocto_5.10
and linux-yocto-dev inside the raspberrypi
dynamic layer.

Thanks a lot for that :-)

Cheers
Bertrand

Quoted 34 lines

---
.../recipes-kernel/linux/linux-yocto-dev.bbappend | 6 +++---
.../recipes-kernel/linux/linux-yocto_5.10.bbappend | 6 +++---

2 files changed, 6 insertions(+), 6 deletions(-)
dynamic-layers/raspberrypi/recipes-kernel/linux/linux-yocto-dev.bbappend +3 -3
index 8381e44..5f43052 100644
@@ -1,8 +1,8 @@
 # For a Xen-enabled distro on the Raspberry Pi, override the contents of cmdline.txt
 # with Xen-on-ARM-specific command line options
 
-KBRANCH_raspberrypi4-64 ?= "standard/bcm-2xxx-rpi"
-KMACHINE_raspberrypi4-64 ?= "bcm-2xxx-rpi4"
-COMPATIBLE_MACHINE_raspberrypi4-64 = "(raspberrypi4-64)"
+KBRANCH:raspberrypi4-64 ?= "standard/bcm-2xxx-rpi"
+KMACHINE:raspberrypi4-64 ?= "bcm-2xxx-rpi4"
+COMPATIBLE_MACHINE:raspberrypi4-64 = "(raspberrypi4-64)"
 

require linux-yocto_xen-rpi.inc

dynamic-layers/raspberrypi/recipes-kernel/linux/linux-yocto_5.10.bbappend +3 -3
index af92493..f279ef7 100644
@@ -1,6 +1,6 @@
 # Enable use of the linux-yocto 5.10 kernel for the Raspberry Pi 4
-KBRANCH_raspberrypi4-64 ?= "v5.10/standard/bcm-2xxx-rpi"
-KMACHINE_raspberrypi4-64 ?= "bcm-2xxx-rpi4"
-COMPATIBLE_MACHINE_raspberrypi4-64 = "(raspberrypi4-64)"
+KBRANCH:raspberrypi4-64 ?= "v5.10/standard/bcm-2xxx-rpi"
+KMACHINE:raspberrypi4-64 ?= "bcm-2xxx-rpi4"
+COMPATIBLE_MACHINE:raspberrypi4-64 = "(raspberrypi4-64)"
 
Quoted 4 lines

require linux-yocto_xen-rpi.inc
--
2.17.1

IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.

Reviewed-by Tested-by
#7 lore raw
Quoted 12 lines · Bertrand Marquis

Hi Luca,

Quoted 7 lines · Luca Fancellu

Syntax conversion for bbappend linux-yocto_5.10
and linux-yocto-dev inside the raspberrypi
dynamic layer.

Quoted 6 lines
Quoted 3 lines

Thanks a lot for that :-)

Agreed! Thanks, Luca!

Christopher

Quoted 61 lines

Cheers
Bertrand

Quoted 6 lines

---
.../recipes-kernel/linux/linux-yocto-dev.bbappend | 6 +++---
.../recipes-kernel/linux/linux-yocto_5.10.bbappend | 6 +++---

2 files changed, 6 insertions(+), 6 deletions(-)

diff --git

a/dynamic-layers/raspberrypi/recipes-kernel/linux/linux-yocto-dev.bbappend b/dynamic-layers/raspberrypi/recipes-kernel/linux/linux-yocto-dev.bbappend

Quoted 2 lines

index 8381e44..5f43052 100644
---

a/dynamic-layers/raspberrypi/recipes-kernel/linux/linux-yocto-dev.bbappend

Quoted 1 line

+++

b/dynamic-layers/raspberrypi/recipes-kernel/linux/linux-yocto-dev.bbappend

Review line 1

Quoted 2 lines
(quoted diff) +0 -0
@@ -1,8 +1,8 @@
 # For a Xen-enabled distro on the Raspberry Pi, override the contents of

cmdline.txt

Quoted 11 lines
dynamic-layers/raspberrypi/recipes-kernel/linux/linux-yocto-dev.bbappend +3 -3
 # with Xen-on-ARM-specific command line options
 
-KBRANCH_raspberrypi4-64 ?= "standard/bcm-2xxx-rpi"
-KMACHINE_raspberrypi4-64 ?= "bcm-2xxx-rpi4"
-COMPATIBLE_MACHINE_raspberrypi4-64 = "(raspberrypi4-64)"
+KBRANCH:raspberrypi4-64 ?= "standard/bcm-2xxx-rpi"
+KMACHINE:raspberrypi4-64 ?= "bcm-2xxx-rpi4"
+COMPATIBLE_MACHINE:raspberrypi4-64 = "(raspberrypi4-64)"
 

require linux-yocto_xen-rpi.inc
diff --git

a/dynamic-layers/raspberrypi/recipes-kernel/linux/linux-yocto_5.10.bbappend b/dynamic-layers/raspberrypi/recipes-kernel/linux/linux-yocto_5.10.bbappend

Quoted 2 lines

index af92493..f279ef7 100644
---

a/dynamic-layers/raspberrypi/recipes-kernel/linux/linux-yocto_5.10.bbappend

Quoted 1 line

+++

b/dynamic-layers/raspberrypi/recipes-kernel/linux/linux-yocto_5.10.bbappend

Quoted 9 lines
dynamic-layers/raspberrypi/recipes-kernel/linux/linux-yocto_5.10.bbappend +3 -3
@@ -1,6 +1,6 @@
 # Enable use of the linux-yocto 5.10 kernel for the Raspberry Pi 4
-KBRANCH_raspberrypi4-64 ?= "v5.10/standard/bcm-2xxx-rpi"
-KMACHINE_raspberrypi4-64 ?= "bcm-2xxx-rpi4"
-COMPATIBLE_MACHINE_raspberrypi4-64 = "(raspberrypi4-64)"
+KBRANCH:raspberrypi4-64 ?= "v5.10/standard/bcm-2xxx-rpi"
+KMACHINE:raspberrypi4-64 ?= "bcm-2xxx-rpi4"
+COMPATIBLE_MACHINE:raspberrypi4-64 = "(raspberrypi4-64)"
 
Quoted 4 lines

require linux-yocto_xen-rpi.inc
--
2.17.1

IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.

#8 lore raw
In reply to luca fancellu

FYI: Christopher is having a look at these updates.

I just wanted to let everyone know that they haven't been missed.

Bruce

Quoted 47 lines · luca fancellu

Syntax conversion for bbappend linux-yocto_5.10
and linux-yocto-dev inside the raspberrypi
dynamic layer.

---
 .../recipes-kernel/linux/linux-yocto-dev.bbappend           | 6 +++---
 .../recipes-kernel/linux/linux-yocto_5.10.bbappend          | 6 +++---
 2 files changed, 6 insertions(+), 6 deletions(-)
dynamic-layers/raspberrypi/recipes-kernel/linux/linux-yocto-dev.bbappend +3 -3
index 8381e44..5f43052 100644
@@ -1,8 +1,8 @@
 # For a Xen-enabled distro on the Raspberry Pi, override the contents of cmdline.txt
 # with Xen-on-ARM-specific command line options
 
-KBRANCH_raspberrypi4-64 ?= "standard/bcm-2xxx-rpi"
-KMACHINE_raspberrypi4-64 ?= "bcm-2xxx-rpi4"
-COMPATIBLE_MACHINE_raspberrypi4-64 = "(raspberrypi4-64)"
+KBRANCH:raspberrypi4-64 ?= "standard/bcm-2xxx-rpi"
+KMACHINE:raspberrypi4-64 ?= "bcm-2xxx-rpi4"
+COMPATIBLE_MACHINE:raspberrypi4-64 = "(raspberrypi4-64)"
 
 require linux-yocto_xen-rpi.inc
dynamic-layers/raspberrypi/recipes-kernel/linux/linux-yocto_5.10.bbappend +3 -4
index af92493..f279ef7 100644
@@ -1,6 +1,6 @@
 # Enable use of the linux-yocto 5.10 kernel for the Raspberry Pi 4
-KBRANCH_raspberrypi4-64 ?= "v5.10/standard/bcm-2xxx-rpi"
-KMACHINE_raspberrypi4-64 ?= "bcm-2xxx-rpi4"
-COMPATIBLE_MACHINE_raspberrypi4-64 = "(raspberrypi4-64)"
+KBRANCH:raspberrypi4-64 ?= "v5.10/standard/bcm-2xxx-rpi"
+KMACHINE:raspberrypi4-64 ?= "bcm-2xxx-rpi4"
+COMPATIBLE_MACHINE:raspberrypi4-64 = "(raspberrypi4-64)"
 
 require linux-yocto_xen-rpi.inc
--

2.17.1

Signature · 3 lines
- Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end
- "Use the force Harry" - Gandalf, Star Trek II