xen, rpi4: Fix syntax in linux-yocto bbappend
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
@@ -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
@@ -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
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
@@ -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
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 discoveryThe 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.
Signed-off-by Luca Fancellu <[email protected]>
Quoted 37 lines
---
.../xen-rpi-u-boot-scr/files/boot.cmd.xen.in | 11 +++++++----1 file changed, 7 insertions(+), 4 deletions(-)(quoted diff) +0
-0scr/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 0x1000echo 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 debugroot=/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,0echo 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 debugroot=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.
Re: [PATCH 2/2] xen, rpi4: Use PARTUUID for rootfs discovery
In reply to luca fancelluHi 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.
Signed-off-by Luca Fancellu <[email protected]>
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@@ -13,10 +13,6 @@ fdt resize 0x1000echo 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,0echo Delay to allow the MMC card to be ready
sleep 1dynamic-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.
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
Signed-off-by Luca Fancellu <[email protected]>Reviewed-by Diego Sueiro <[email protected]>Reviewed-by Bertrand Marquis <[email protected]>
Christopher
Quoted 60 lines
Cheers
BertrandQuoted 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 0x1000echo Add boot arguments for Xen
fdt set /chosen xen,xen-bootargs "console=dtuartdtuart=/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 debugroot=/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,0echo Delay to allow the MMC card to be ready
sleep 1dynamic-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 debugroot=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.1IMPORTANT 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.
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.
Signed-off-by Luca Fancellu <[email protected]>
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
-0dev.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 ofcmdline.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
-0yocto_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 +++ bappenddynamic-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
Hi Luca,
Quoted 7 lines · Luca Fancellu
Syntax conversion for bbappend linux-yocto_5.10
and linux-yocto-dev inside the raspberrypi
dynamic layer.Signed-off-by Luca Fancellu <[email protected]>
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@@ -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@@ -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.
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.Signed-off-by Luca Fancellu <[email protected]>
Quoted 6 lines
Reviewed-by Diego Sueiro <[email protected]>Reviewed-by Bertrand Marquis <[email protected]>
Quoted 3 lines
Thanks a lot for that :-)
Agreed! Thanks, Luca!
Christopher
Quoted 61 lines
Cheers
BertrandQuoted 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 ofcmdline.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 --gita/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.1IMPORTANT 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.
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.Signed-off-by Luca Fancellu <[email protected]>--- .../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@@ -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.incdynamic-layers/raspberrypi/recipes-kernel/linux/linux-yocto_5.10.bbappend +3
-4@@ -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