Add bbclass for xen launch config variables
Hi Bruce, Chris,
Any more comments on patches?
Thanks,
Sandeep
Quoted 56 lines · Sandeep Gundlupet Raju via lists.yoctoproject.org
Changes in v5:
- Merge below 2 patches into single patch.
- xen-boot-env: Move xen variables to inc file
- u-boot-xlnx-scr: Include xen-boot-env if BOOTMODE is xenChanges in v4:
- Fix xen-boot-env.inc by inheriting xen-lauch-config bbclassChanges in v3:
- Rename xen-u-boot-scr-configuration.bbclass to xen-launch-config.bbclass as suggested by Christopher Clark as this is not u-boot specific.Changes in V2:
- Rename xen-u-boot-scr.bbclass to xen-u-boot-scr-configuration.bbclass
- Add comment in u-boot-xlnx-scr.bbappend to specify where BOOTMODE variable is defined.1. Add xen-lauch-config.bbclass for generic xen launch config variables use by any soc devices.
2. Inherit xen-launch-config.bbclass in xen-rpi-u-boot-scr.
3. Move xen variables to xen-boot-env.inc file in xilinx dynamic layers.
4. Include xen-boot-env if BOOTMODE = "xen" switch is enabled.
5. Add load address to boot.cmd.xen script echo messages.
6. Inherit xen-launch-config bbclass in xen-boot-env.inc.
7. If user brings in their own boot.cmd.xxx file they can just inherit xen-launch-config bbclass and use the generic xen boot script variables.Sandeep Gundlupet Raju (5):
xen-launch-config: Add bbclass for xen launch config variables
xen-rpi-u-boot-scr: Inherit xen-launch-config bbclass
u-boot-xlnx-scr: Include xen-boot-env if BOOTMODE is xen boot.cmd.xen: Add load address to echo messages xen-boot-env.inc: Inherit xen-launch-config bbclassclasses-recipe/xen-launch-config.bbclass | 43 +++++++++++++++++++ .../xen-rpi-u-boot-scr/files/boot.cmd.xen.in | 10 ++--- .../xen-rpi-u-boot-scr/xen-rpi-u-boot-scr.bb | 13 +++--- .../u-boot/u-boot-xlnx-scr.bbappend | 13 +++++- .../u-boot/u-boot-xlnx-scr/boot.cmd.xen | 8 ++-- .../recipes-bsp/u-boot/xen-boot-cmd.inc | 35 --------------- .../recipes-bsp/u-boot/xen-boot-env.inc | 31 +++++++++++++ 7 files changed, 103 insertions(+), 50 deletions(-)create mode 100644 classes-recipe/xen-launch-config.bbclass create mode 100644 dynamic-layers/xilinx/recipes-bsp/u-boot/xen-boot-env.inc
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#9044): https://lists.yoctoproject.org/g/meta-virtualization/message/9044
Mute This Topic: https://lists.yoctoproject.org/mt/110006797/3619217
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-virtualization/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
Quoted 3 lines · Sandeep Gundlupet Raju via lists.yoctoproject.org
Hi Bruce, Chris,
Any more comments on patches?
Sorry I haven’t had chance to look at this series again yet - am aiming to get to it before New Year. Thanks for iterating on the last feedback.
Christopher
Quoted 71 lines
Thanks,
SandeepQuoted 10 lines · Sandeep Gundlupet Raju via lists.yoctoproject.org
Changes in v5:
- Merge below 2 patches into single patch.
- xen-boot-env: Move xen variables to inc file
- u-boot-xlnx-scr: Include xen-boot-env if BOOTMODE is xenChanges in v4:
- Fix xen-boot-env.inc by inheriting xen-lauch-config bbclassChanges in v3:
- Rename xen-u-boot-scr-configuration.bbclass toxen-launch-config.bbclass
Quoted 4 lines
as suggested by Christopher Clark as this is not u-boot specific.
Changes in V2:
- Rename xen-u-boot-scr.bbclass toxen-u-boot-scr-configuration.bbclass
Quoted 30 lines
- Add comment in u-boot-xlnx-scr.bbappend to specify where BOOTMODE variable is defined.
1. Add xen-lauch-config.bbclass for generic xen launch config variables use by any soc devices.
2. Inherit xen-launch-config.bbclass in xen-rpi-u-boot-scr.
3. Move xen variables to xen-boot-env.inc file in xilinx dynamic layers.
4. Include xen-boot-env if BOOTMODE = "xen" switch is enabled.
5. Add load address to boot.cmd.xen script echo messages.
6. Inherit xen-launch-config bbclass in xen-boot-env.inc.
7. If user brings in their own boot.cmd.xxx file they can just inherit xen-launch-config bbclass and use the generic xen boot script variables.Sandeep Gundlupet Raju (5):
xen-launch-config: Add bbclass for xen launch config variables
xen-rpi-u-boot-scr: Inherit xen-launch-config bbclass
u-boot-xlnx-scr: Include xen-boot-env if BOOTMODE is xen boot.cmd.xen: Add load address to echo messages xen-boot-env.inc: Inherit xen-launch-config bbclassclasses-recipe/xen-launch-config.bbclass | 43 +++++++++++++++++++ .../xen-rpi-u-boot-scr/files/boot.cmd.xen.in | 10 ++--- .../xen-rpi-u-boot-scr/xen-rpi-u-boot-scr.bb | 13 +++--- .../u-boot/u-boot-xlnx-scr.bbappend | 13 +++++- .../u-boot/u-boot-xlnx-scr/boot.cmd.xen | 8 ++-- .../recipes-bsp/u-boot/xen-boot-cmd.inc | 35 --------------- .../recipes-bsp/u-boot/xen-boot-env.inc | 31 +++++++++++++ 7 files changed, 103 insertions(+), 50 deletions(-)Quoted 2 lines
create mode 100644 classes-recipe/xen-launch-config.bbclass create mode 100644
dynamic-layers/xilinx/recipes-bsp/u-boot/xen-boot-env.inc
Quoted 4 lines
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group. View/Reply Online (#9059):
https://lists.yoctoproject.org/g/meta-virtualization/message/9059
Mute This Topic: https://lists.yoctoproject.org/mt/110006797/3619037
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-virtualization/unsub [ [email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
Quoted 10 lines · Christopher Clark via lists.yoctoproject.org
On Tue, Dec 17, 2024 at 5:53 PM Sandeep Gundlupet Raju via lists.yoctoproject.org <http://lists.yoctoproject.org> <[email protected]> wrote:
Hi Bruce, Chris,
Any more comments on patches?
Sorry I haven’t had chance to look at this series again yet - am aiming to get to it before New Year. Thanks for iterating on the last feedback.
Sounds good.
Quoted 81 lines
Christopher
Thanks,
SandeepOn 12/9/2024 7:54 AM, Sandeep Gundlupet Raju via lists.yoctoproject.org <http://lists.yoctoproject.org>
wrote:
> Changes in v5:
> - Merge below 2 patches into single patch.
> - xen-boot-env: Move xen variables to inc file
> - u-boot-xlnx-scr: Include xen-boot-env if BOOTMODE is xen >
> Changes in v4:
> - Fix xen-boot-env.inc by inheriting xen-lauch-config bbclass >
> Changes in v3:
> - Rename xen-u-boot-scr-configuration.bbclass to xen-launch-config.bbclass
> as suggested by Christopher Clark as this is not u-boot specific.
>
> Changes in V2:
> - Rename xen-u-boot-scr.bbclass to xen-u-boot-scr-configuration.bbclass
> - Add comment in u-boot-xlnx-scr.bbappend to specify where BOOTMODE
> variable is defined.
>
> 1. Add xen-lauch-config.bbclass for generic xen launch config > variables use by any soc devices.
> 2. Inherit xen-launch-config.bbclass in xen-rpi-u-boot-scr. > 3. Move xen variables to xen-boot-env.inc file in xilinx > dynamic layers.
> 4. Include xen-boot-env if BOOTMODE = "xen" switch is enabled. > 5. Add load address to boot.cmd.xen script echo messages. > 6. Inherit xen-launch-config bbclass in xen-boot-env.inc. > 7. If user brings in their own boot.cmd.xxx file they can just > inherit xen-launch-config bbclass and use the generic > xen boot script variables.
>
> Sandeep Gundlupet Raju (5):
> xen-launch-config: Add bbclass for xen launch config variables > xen-rpi-u-boot-scr: Inherit xen-launch-config bbclass > u-boot-xlnx-scr: Include xen-boot-env if BOOTMODE is xen > boot.cmd.xen: Add load address to echo messages
> xen-boot-env.inc: Inherit xen-launch-config bbclass
>
> classes-recipe/xen-launch-config.bbclass | 43
+++++++++++++++++++
> .../xen-rpi-u-boot-scr/files/boot.cmd.xen.in
<http://boot.cmd.xen.in> | 10 ++---
> .../xen-rpi-u-boot-scr/xen-rpi-u-boot-scr.bb
<http://xen-rpi-u-boot-scr.bb> | 13 +++---
> .../u-boot/u-boot-xlnx-scr.bbappend | 13 +++++- > .../u-boot/u-boot-xlnx-scr/boot.cmd.xen | 8 ++-- > .../recipes-bsp/u-boot/xen-boot-cmd.inc | 35 --------------- > .../recipes-bsp/u-boot/xen-boot-env.inc | 31 +++++++++++++ > 7 files changed, 103 insertions(+), 50 deletions(-)
> create mode 100644 classes-recipe/xen-launch-config.bbclass > create mode 100644 dynamic-layers/xilinx/recipes-bsp/u-boot/xen-boot-env.inc >
>
>
>-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#9060):https://lists.yoctoproject.org/g/meta-virtualization/message/9060 Mute This Topic:https://lists.yoctoproject.org/mt/110006797/3619217
Group Owner:[email protected] Unsubscribe:https://lists.yoctoproject.org/g/meta-virtualization/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-