diff options
Diffstat (limited to 'meta-yocto-bsp')
14 files changed, 177 insertions, 47 deletions
diff --git a/meta-yocto-bsp/README.hardware.md b/meta-yocto-bsp/README.hardware.md index 6045c3d867..d2cc05f909 100644 --- a/meta-yocto-bsp/README.hardware.md +++ b/meta-yocto-bsp/README.hardware.md | |||
@@ -136,6 +136,7 @@ compliant boards with preinstalled firmware. | |||
136 | The genericarm64 MACHINE is currently tested on the following platforms: | 136 | The genericarm64 MACHINE is currently tested on the following platforms: |
137 | 137 | ||
138 | * Texas Instruments BeaglePlay | 138 | * Texas Instruments BeaglePlay |
139 | * AMD Kria KV260 | ||
139 | 140 | ||
140 | The images built are EFI bootable disk images and can be written directly to a | 141 | The images built are EFI bootable disk images and can be written directly to a |
141 | SD card for booting, for example. | 142 | SD card for booting, for example. |
@@ -145,6 +146,9 @@ building the image also build the `u-boot` recipe to build the required | |||
145 | firmware (note that this firmware will _not_ boot on real hardware), then use | 146 | firmware (note that this firmware will _not_ boot on real hardware), then use |
146 | `runqemu` as usual. | 147 | `runqemu` as usual. |
147 | 148 | ||
149 | Maintainers: | ||
150 | * Ross Burton <Ross.Burton@arm.com> | ||
151 | * Mikko Rapeli <mikko.rapeli@linaro.org> | ||
148 | 152 | ||
149 | Texas Instruments Beaglebone (beaglebone-yocto) | 153 | Texas Instruments Beaglebone (beaglebone-yocto) |
150 | ----------------------------------------------- | 154 | ----------------------------------------------- |
diff --git a/meta-yocto-bsp/conf/layer.conf b/meta-yocto-bsp/conf/layer.conf index 60902b4de9..cb36037aa2 100644 --- a/meta-yocto-bsp/conf/layer.conf +++ b/meta-yocto-bsp/conf/layer.conf | |||
@@ -9,4 +9,4 @@ BBFILE_COLLECTIONS += "yoctobsp" | |||
9 | BBFILE_PATTERN_yoctobsp = "^${LAYERDIR}/" | 9 | BBFILE_PATTERN_yoctobsp = "^${LAYERDIR}/" |
10 | BBFILE_PRIORITY_yoctobsp = "5" | 10 | BBFILE_PRIORITY_yoctobsp = "5" |
11 | LAYERVERSION_yoctobsp = "4" | 11 | LAYERVERSION_yoctobsp = "4" |
12 | LAYERSERIES_COMPAT_yoctobsp = "scarthgap" | 12 | LAYERSERIES_COMPAT_yoctobsp = "whinlatter" |
diff --git a/meta-yocto-bsp/conf/machine/beaglebone-yocto.conf b/meta-yocto-bsp/conf/machine/beaglebone-yocto.conf index 459c83f5c2..db9cfec497 100644 --- a/meta-yocto-bsp/conf/machine/beaglebone-yocto.conf +++ b/meta-yocto-bsp/conf/machine/beaglebone-yocto.conf | |||
@@ -20,7 +20,7 @@ do_image_wic[depends] += "mtools-native:do_populate_sysroot dosfstools-native:do | |||
20 | SERIAL_CONSOLES ?= "115200;ttyS0 115200;ttyO0 115200;ttyAMA0" | 20 | SERIAL_CONSOLES ?= "115200;ttyS0 115200;ttyO0 115200;ttyAMA0" |
21 | 21 | ||
22 | PREFERRED_PROVIDER_virtual/kernel ?= "linux-yocto" | 22 | PREFERRED_PROVIDER_virtual/kernel ?= "linux-yocto" |
23 | PREFERRED_VERSION_linux-yocto ?= "6.6%" | 23 | PREFERRED_VERSION_linux-yocto ?= "6.12%" |
24 | 24 | ||
25 | KERNEL_IMAGETYPE = "zImage" | 25 | KERNEL_IMAGETYPE = "zImage" |
26 | DTB_FILES = "am335x-bone.dtb am335x-boneblack.dtb am335x-bonegreen.dtb" | 26 | DTB_FILES = "am335x-bone.dtb am335x-boneblack.dtb am335x-bonegreen.dtb" |
diff --git a/meta-yocto-bsp/conf/machine/genericarm64.conf b/meta-yocto-bsp/conf/machine/genericarm64.conf index 4fa9395b31..722bc7d4a6 100644 --- a/meta-yocto-bsp/conf/machine/genericarm64.conf +++ b/meta-yocto-bsp/conf/machine/genericarm64.conf | |||
@@ -17,6 +17,8 @@ PREFERRED_PROVIDER_virtual/kernel ?= "linux-yocto" | |||
17 | MACHINE_EXTRA_RRECOMMENDS += "kernel-modules" | 17 | MACHINE_EXTRA_RRECOMMENDS += "kernel-modules" |
18 | # Install selected pieces of firmware | 18 | # Install selected pieces of firmware |
19 | MACHINE_EXTRA_RRECOMMENDS += "linux-firmware-wl12xx linux-firmware-wl18xx linux-firmware-rtl-nic" | 19 | MACHINE_EXTRA_RRECOMMENDS += "linux-firmware-wl12xx linux-firmware-wl18xx linux-firmware-rtl-nic" |
20 | # increase default size since we install a lot of kernel drivers and firmware by default | ||
21 | INITRAMFS_MAXSIZE = "200000" | ||
20 | 22 | ||
21 | # Use an initramfs and populate it with the kernel modules and key firmware | 23 | # Use an initramfs and populate it with the kernel modules and key firmware |
22 | INITRAMFS_IMAGE ?= "core-image-initramfs-boot" | 24 | INITRAMFS_IMAGE ?= "core-image-initramfs-boot" |
@@ -27,34 +29,37 @@ WKS_FILE ?= "genericarm64.wks.in" | |||
27 | 29 | ||
28 | EFI_PROVIDER ?= "${@bb.utils.contains("DISTRO_FEATURES", "systemd", "systemd-boot", "grub-efi", d)}" | 30 | EFI_PROVIDER ?= "${@bb.utils.contains("DISTRO_FEATURES", "systemd", "systemd-boot", "grub-efi", d)}" |
29 | 31 | ||
30 | # Try to bring up one physical serial console, or a virtualized serial console | 32 | # Try to bring up a selection of physical or virtual serial consoles |
31 | SERIAL_CONSOLES ?= "115200;ttyAMA0 115200;hvc0" | 33 | SERIAL_CONSOLES ?= "115200;ttyAMA0 115200;hvc0 115200;ttyS0 115200;ttyS1 115200;ttyS2 115200;ttyPS1" |
32 | 34 | ||
33 | # Allow u-boot to be built for use with qemu-system-aarch64. | 35 | # Allow u-boot to be built for use with qemu-system-aarch64. |
34 | # This u-boot is _not_ suitable for use with real hardware, and the expectation | 36 | # This u-boot is _not_ suitable for use with real hardware, and the expectation |
35 | # of this machine is that real hardware comes with the firmware pre-loaded. | 37 | # of this machine is that real hardware comes with the firmware pre-loaded. |
36 | UBOOT_MACHINE = "qemu_arm64_defconfig" | 38 | UBOOT_MACHINE ?= "qemu_arm64_defconfig" |
37 | 39 | ||
38 | # runqemu configuration to run a genericarm64 image inside a qemu-system-aarch64. You will need | 40 | # runqemu configuration to run a genericarm64 image inside a qemu-system-aarch64. You will need |
39 | # to build u-boot explicitly. | 41 | # to build u-boot explicitly. |
40 | IMAGE_CLASSES += "qemuboot" | 42 | IMAGE_CLASSES += "qemuboot" |
41 | QB_SYSTEM_NAME = "qemu-system-aarch64" | 43 | QB_SYSTEM_NAME ?= "qemu-system-aarch64" |
42 | # Boot the virtual machine with either an emulated Cortex-A76, or the host if using KVM | 44 | # Boot the virtual machine with either an emulated Cortex-A76, or the host if using KVM |
43 | QB_MACHINE = "-machine virt" | 45 | QB_MACHINE ?= "-machine virt" |
44 | QB_CPU = "-cpu cortex-a76" | 46 | QB_CPU ?= "-cpu cortex-a76" |
45 | QB_CPU_KVM = "-cpu host -machine gic-version=3" | 47 | QB_CPU_KVM ?= "-cpu host -machine gic-version=3" |
46 | QB_SMP = "-smp 4" | 48 | QB_SMP ?= "-smp 4" |
47 | # Boot into U-Boot and let that scan the disk for the next step, don't pass any kernel or filesystem hints | 49 | # Boot into U-Boot and let that scan the disk for the next step, don't pass any kernel or filesystem hints |
48 | QB_DEFAULT_BIOS = "u-boot.bin" | 50 | QB_DEFAULT_BIOS ?= "u-boot.bin" |
49 | QB_DEFAULT_KERNEL = "none" | 51 | QB_DEFAULT_KERNEL ?= "none" |
50 | QB_DEFAULT_FSTYPE = "wic" | 52 | QB_DEFAULT_FSTYPE ?= "wic" |
51 | QB_FSINFO = "wic:no-kernel-in-fs" | 53 | QB_FSINFO ?= "wic:no-kernel-in-fs" |
52 | # Mount the wic rootfs as a virtio block device | 54 | # Mount the wic rootfs as a virtio block device |
53 | QB_ROOTFS_OPT = "-drive id=root,file=@ROOTFS@,if=none,format=raw -device virtio-blk-pci,drive=root" | 55 | QB_ROOTFS_OPT ?= "-drive id=root,file=@ROOTFS@,if=none,format=raw -device virtio-blk-pci,drive=root" |
54 | # Virtio graphics | 56 | # Virtio graphics |
55 | QB_GRAPHICS = "-device virtio-gpu-pci" | 57 | QB_GRAPHICS ?= "-device virtio-gpu-pci" |
56 | # Virtio serial consoles | 58 | # Virtio serial consoles |
57 | QB_SERIAL_OPT = "-device virtio-serial-pci -chardev null,id=virtcon -device virtconsole,chardev=virtcon" | 59 | QB_SERIAL_OPT ?= "-device virtio-serial-pci -chardev null,id=virtcon -device virtconsole,chardev=virtcon" |
58 | QB_TCPSERIAL_OPT = "-device virtio-serial-pci -chardev socket,id=virtcon,port=@PORT@,host=127.0.0.1,nodelay=on -device virtconsole,chardev=virtcon" | 60 | QB_TCPSERIAL_OPT ?= "-device virtio-serial-pci -chardev socket,id=virtcon,port=@PORT@,host=127.0.0.1,nodelay=on -device virtconsole,chardev=virtcon" |
59 | # Virtio networking | 61 | # Virtio networking |
60 | QB_TAP_OPT = "-netdev tap,id=net0,ifname=@TAP@,script=no,downscript=no" | 62 | QB_TAP_OPT ?= "-netdev tap,id=net0,ifname=@TAP@,script=no,downscript=no" |
63 | |||
64 | # If we're running testimage then we're in a qemu, so ensure u-boot is build | ||
65 | TESTIMAGEDEPENDS:append = " u-boot:do_deploy" | ||
diff --git a/meta-yocto-bsp/conf/machine/genericx86-64.conf b/meta-yocto-bsp/conf/machine/genericx86-64.conf index f19a1c1527..16e7fefc47 100644 --- a/meta-yocto-bsp/conf/machine/genericx86-64.conf +++ b/meta-yocto-bsp/conf/machine/genericx86-64.conf | |||
@@ -3,7 +3,7 @@ | |||
3 | #@DESCRIPTION: Machine configuration for generic x86_64 (64-bit) PCs and servers. Supports a moderately wide range of drivers that should boot and be usable on "typical" hardware. | 3 | #@DESCRIPTION: Machine configuration for generic x86_64 (64-bit) PCs and servers. Supports a moderately wide range of drivers that should boot and be usable on "typical" hardware. |
4 | 4 | ||
5 | DEFAULTTUNE ?= "core2-64" | 5 | DEFAULTTUNE ?= "core2-64" |
6 | require conf/machine/include/x86/tune-core2.inc | 6 | require conf/machine/include/x86/tune-x86-64-v3.inc |
7 | require conf/machine/include/genericx86-common.inc | 7 | require conf/machine/include/genericx86-common.inc |
8 | 8 | ||
9 | #For runqemu | 9 | #For runqemu |
diff --git a/meta-yocto-bsp/conf/machine/genericx86.conf b/meta-yocto-bsp/conf/machine/genericx86.conf index 34e1448a8c..4d378cc7f0 100644 --- a/meta-yocto-bsp/conf/machine/genericx86.conf +++ b/meta-yocto-bsp/conf/machine/genericx86.conf | |||
@@ -3,7 +3,7 @@ | |||
3 | #@DESCRIPTION: Machine configuration for generic x86 (32-bit) PCs. Supports a moderately wide range of drivers that should boot and be usable on "typical" hardware. | 3 | #@DESCRIPTION: Machine configuration for generic x86 (32-bit) PCs. Supports a moderately wide range of drivers that should boot and be usable on "typical" hardware. |
4 | 4 | ||
5 | DEFAULTTUNE ?= "core2-32" | 5 | DEFAULTTUNE ?= "core2-32" |
6 | require conf/machine/include/x86/tune-core2.inc | 6 | require conf/machine/include/x86/tune-corei7.inc |
7 | require conf/machine/include/genericx86-common.inc | 7 | require conf/machine/include/genericx86-common.inc |
8 | 8 | ||
9 | #For runqemu | 9 | #For runqemu |
diff --git a/meta-yocto-bsp/conf/machine/include/genericx86-common.inc b/meta-yocto-bsp/conf/machine/include/genericx86-common.inc index 50a233dd8f..943604c01c 100644 --- a/meta-yocto-bsp/conf/machine/include/genericx86-common.inc +++ b/meta-yocto-bsp/conf/machine/include/genericx86-common.inc | |||
@@ -2,7 +2,7 @@ include conf/machine/include/x86/x86-base.inc | |||
2 | require conf/machine/include/x86/qemuboot-x86.inc | 2 | require conf/machine/include/x86/qemuboot-x86.inc |
3 | MACHINE_FEATURES += "wifi efi pcbios" | 3 | MACHINE_FEATURES += "wifi efi pcbios" |
4 | 4 | ||
5 | PREFERRED_VERSION_linux-yocto ?= "6.6%" | 5 | PREFERRED_VERSION_linux-yocto ?= "6.12%" |
6 | PREFERRED_PROVIDER_virtual/kernel ?= "linux-yocto" | 6 | PREFERRED_PROVIDER_virtual/kernel ?= "linux-yocto" |
7 | PREFERRED_PROVIDER_virtual/xserver ?= "xserver-xorg" | 7 | PREFERRED_PROVIDER_virtual/xserver ?= "xserver-xorg" |
8 | XSERVER ?= "${XSERVER_X86_BASE} \ | 8 | XSERVER ?= "${XSERVER_X86_BASE} \ |
diff --git a/meta-yocto-bsp/lib/oeqa/selftest/cases/systemd_boot.py b/meta-yocto-bsp/lib/oeqa/selftest/cases/systemd_boot.py index 6ce9a3b3f8..6fc6925f69 100644 --- a/meta-yocto-bsp/lib/oeqa/selftest/cases/systemd_boot.py +++ b/meta-yocto-bsp/lib/oeqa/selftest/cases/systemd_boot.py | |||
@@ -18,7 +18,8 @@ class Systemdboot(OESelftestTestCase): | |||
18 | 18 | ||
19 | # Set EFI_PROVIDER = "systemdboot" and MACHINE = "genericx86-64" in conf/local.conf | 19 | # Set EFI_PROVIDER = "systemdboot" and MACHINE = "genericx86-64" in conf/local.conf |
20 | features = 'EFI_PROVIDER = "systemd-boot"\n' | 20 | features = 'EFI_PROVIDER = "systemd-boot"\n' |
21 | features += 'MACHINE = "genericx86-64"' | 21 | features += 'MACHINE = "genericx86-64"\n' |
22 | features += 'COMPATIBLE_MACHINE:pn-ssh-pregen-hostkeys:genericx86-64 = "genericx86-64"\n' | ||
22 | self.append_config(features) | 23 | self.append_config(features) |
23 | 24 | ||
24 | image = 'core-image-minimal' | 25 | image = 'core-image-minimal' |
diff --git a/meta-yocto-bsp/recipes-kernel/linux/files/0001-Revert-serial-8250_omap-Drop-pm_runtime_irq_safe.patch b/meta-yocto-bsp/recipes-kernel/linux/files/0001-Revert-serial-8250_omap-Drop-pm_runtime_irq_safe.patch new file mode 100644 index 0000000000..8837dd2346 --- /dev/null +++ b/meta-yocto-bsp/recipes-kernel/linux/files/0001-Revert-serial-8250_omap-Drop-pm_runtime_irq_safe.patch | |||
@@ -0,0 +1,130 @@ | |||
1 | From cc255f5132cf39e9154340cf58780f8c763c6481 Mon Sep 17 00:00:00 2001 | ||
2 | From: Ross Burton <ross.burton@arm.com> | ||
3 | Date: Thu, 23 Jan 2025 17:06:08 +0000 | ||
4 | Subject: [PATCH] Revert "serial: 8250_omap: Drop pm_runtime_irq_safe()" | ||
5 | |||
6 | This reverts commit 8700a7ea5519fb0b3bad2362adfeac358c2119ce. | ||
7 | |||
8 | Upstream-Status: Inappropriate | ||
9 | Signed-off-by: Ross Burton <ross.burton@arm.com> | ||
10 | --- | ||
11 | drivers/tty/serial/8250/8250_omap.c | 29 ++++++++--------------------- | ||
12 | 1 file changed, 8 insertions(+), 21 deletions(-) | ||
13 | |||
14 | diff --git a/drivers/tty/serial/8250/8250_omap.c b/drivers/tty/serial/8250/8250_omap.c | ||
15 | index 0dd68bdbfbcf7..db24d7d1dcb67 100644 | ||
16 | --- a/drivers/tty/serial/8250/8250_omap.c | ||
17 | +++ b/drivers/tty/serial/8250/8250_omap.c | ||
18 | @@ -8,7 +8,6 @@ | ||
19 | * | ||
20 | */ | ||
21 | |||
22 | -#include <linux/atomic.h> | ||
23 | #include <linux/clk.h> | ||
24 | #include <linux/device.h> | ||
25 | #include <linux/io.h> | ||
26 | @@ -134,7 +133,6 @@ struct omap8250_priv { | ||
27 | |||
28 | u8 tx_trigger; | ||
29 | u8 rx_trigger; | ||
30 | - atomic_t active; | ||
31 | bool is_suspending; | ||
32 | int wakeirq; | ||
33 | u32 latency; | ||
34 | @@ -636,23 +634,14 @@ static irqreturn_t omap8250_irq(int irq, void *dev_id) | ||
35 | unsigned int iir, lsr; | ||
36 | int ret; | ||
37 | |||
38 | - pm_runtime_get_noresume(port->dev); | ||
39 | - | ||
40 | - /* Shallow idle state wake-up to an IO interrupt? */ | ||
41 | - if (atomic_add_unless(&priv->active, 1, 1)) { | ||
42 | - priv->latency = priv->calc_latency; | ||
43 | - schedule_work(&priv->qos_work); | ||
44 | - } | ||
45 | - | ||
46 | #ifdef CONFIG_SERIAL_8250_DMA | ||
47 | if (up->dma) { | ||
48 | ret = omap_8250_dma_handle_irq(port); | ||
49 | - pm_runtime_mark_last_busy(port->dev); | ||
50 | - pm_runtime_put(port->dev); | ||
51 | return IRQ_RETVAL(ret); | ||
52 | } | ||
53 | #endif | ||
54 | |||
55 | + serial8250_rpm_get(up); | ||
56 | lsr = serial_port_in(port, UART_LSR); | ||
57 | iir = serial_port_in(port, UART_IIR); | ||
58 | ret = serial8250_handle_irq(port, iir); | ||
59 | @@ -701,8 +690,7 @@ static irqreturn_t omap8250_irq(int irq, void *dev_id) | ||
60 | schedule_delayed_work(&up->overrun_backoff, delay); | ||
61 | } | ||
62 | |||
63 | - pm_runtime_mark_last_busy(port->dev); | ||
64 | - pm_runtime_put(port->dev); | ||
65 | + serial8250_rpm_put(up); | ||
66 | |||
67 | return IRQ_RETVAL(ret); | ||
68 | } | ||
69 | @@ -1314,8 +1302,11 @@ static int omap_8250_dma_handle_irq(struct uart_port *port) | ||
70 | u16 status; | ||
71 | u8 iir; | ||
72 | |||
73 | + serial8250_rpm_get(up); | ||
74 | + | ||
75 | iir = serial_port_in(port, UART_IIR); | ||
76 | if (iir & UART_IIR_NO_INT) { | ||
77 | + serial8250_rpm_put(up); | ||
78 | return IRQ_HANDLED; | ||
79 | } | ||
80 | |||
81 | @@ -1348,6 +1339,7 @@ static int omap_8250_dma_handle_irq(struct uart_port *port) | ||
82 | |||
83 | uart_unlock_and_check_sysrq(port); | ||
84 | |||
85 | + serial8250_rpm_put(up); | ||
86 | return 1; | ||
87 | } | ||
88 | |||
89 | @@ -1539,6 +1531,8 @@ static int omap8250_probe(struct platform_device *pdev) | ||
90 | if (!of_get_available_child_count(pdev->dev.of_node)) | ||
91 | pm_runtime_set_autosuspend_delay(&pdev->dev, -1); | ||
92 | |||
93 | + pm_runtime_irq_safe(&pdev->dev); | ||
94 | + | ||
95 | pm_runtime_get_sync(&pdev->dev); | ||
96 | |||
97 | omap_serial_fill_features_erratas(&up, priv); | ||
98 | @@ -1776,7 +1770,6 @@ static int omap8250_runtime_suspend(struct device *dev) | ||
99 | |||
100 | priv->latency = PM_QOS_CPU_LATENCY_DEFAULT_VALUE; | ||
101 | schedule_work(&priv->qos_work); | ||
102 | - atomic_set(&priv->active, 0); | ||
103 | |||
104 | return 0; | ||
105 | } | ||
106 | @@ -1786,10 +1779,6 @@ static int omap8250_runtime_resume(struct device *dev) | ||
107 | struct omap8250_priv *priv = dev_get_drvdata(dev); | ||
108 | struct uart_8250_port *up = NULL; | ||
109 | |||
110 | - /* Did the hardware wake to a device IO interrupt before a wakeirq? */ | ||
111 | - if (atomic_read(&priv->active)) | ||
112 | - return 0; | ||
113 | - | ||
114 | if (priv->line >= 0) | ||
115 | up = serial8250_get_port(priv->line); | ||
116 | |||
117 | @@ -1805,10 +1794,8 @@ static int omap8250_runtime_resume(struct device *dev) | ||
118 | uart_port_unlock_irq(&up->port); | ||
119 | } | ||
120 | |||
121 | - atomic_set(&priv->active, 1); | ||
122 | priv->latency = priv->calc_latency; | ||
123 | schedule_work(&priv->qos_work); | ||
124 | - | ||
125 | return 0; | ||
126 | } | ||
127 | |||
128 | -- | ||
129 | 2.43.0 | ||
130 | |||
diff --git a/meta-yocto-bsp/recipes-kernel/linux/linux-yocto_6.12.bbappend b/meta-yocto-bsp/recipes-kernel/linux/linux-yocto_6.12.bbappend new file mode 100644 index 0000000000..831cb556be --- /dev/null +++ b/meta-yocto-bsp/recipes-kernel/linux/linux-yocto_6.12.bbappend | |||
@@ -0,0 +1,11 @@ | |||
1 | COMPATIBLE_MACHINE:genericarm64 = "genericarm64" | ||
2 | COMPATIBLE_MACHINE:beaglebone-yocto = "beaglebone-yocto" | ||
3 | COMPATIBLE_MACHINE:genericx86 = "genericx86" | ||
4 | COMPATIBLE_MACHINE:genericx86-64 = "genericx86-64" | ||
5 | |||
6 | KMACHINE:beaglebone-yocto ?= "beaglebone" | ||
7 | KMACHINE:genericx86 ?= "common-pc" | ||
8 | KMACHINE:genericx86-64 ?= "common-pc-64" | ||
9 | |||
10 | FILESEXTRAPATHS:prepend:genericarm64 := "${THISDIR}/files:" | ||
11 | SRC_URI:append:genericarm64 = " file://0001-Revert-serial-8250_omap-Drop-pm_runtime_irq_safe.patch" | ||
diff --git a/meta-yocto-bsp/recipes-kernel/linux/linux-yocto_6.6.bbappend b/meta-yocto-bsp/recipes-kernel/linux/linux-yocto_6.6.bbappend deleted file mode 100644 index 3f33ec991d..0000000000 --- a/meta-yocto-bsp/recipes-kernel/linux/linux-yocto_6.6.bbappend +++ /dev/null | |||
@@ -1,21 +0,0 @@ | |||
1 | COMPATIBLE_MACHINE:genericarm64 = "genericarm64" | ||
2 | COMPATIBLE_MACHINE:genericx86 = "genericx86" | ||
3 | COMPATIBLE_MACHINE:genericx86-64 = "genericx86-64" | ||
4 | COMPATIBLE_MACHINE:beaglebone-yocto = "beaglebone-yocto" | ||
5 | |||
6 | KBRANCH:genericx86 = "v6.6/standard/base" | ||
7 | KBRANCH:genericx86-64 = "v6.6/standard/base" | ||
8 | KBRANCH:beaglebone-yocto = "v6.6/standard/beaglebone" | ||
9 | |||
10 | KMACHINE:genericarm64 ?= "genericarm64" | ||
11 | KMACHINE:genericx86 ?= "common-pc" | ||
12 | KMACHINE:genericx86-64 ?= "common-pc-64" | ||
13 | KMACHINE:beaglebone-yocto ?= "beaglebone" | ||
14 | |||
15 | SRCREV_machine:genericx86 ?= "06644f0d7193d7ec39d7fe41939a21953e7a0c65" | ||
16 | SRCREV_machine:genericx86-64 ?= "06644f0d7193d7ec39d7fe41939a21953e7a0c65" | ||
17 | SRCREV_machine:beaglebone-yocto ?= "06644f0d7193d7ec39d7fe41939a21953e7a0c65" | ||
18 | |||
19 | LINUX_VERSION:genericx86 = "6.6.21" | ||
20 | LINUX_VERSION:genericx86-64 = "6.6.21" | ||
21 | LINUX_VERSION:beaglebone-yocto = "6.6.21" | ||
diff --git a/meta-yocto-bsp/wic/beaglebone-yocto.wks b/meta-yocto-bsp/wic/beaglebone-yocto.wks index 7a28fb23dc..335e2b9bd5 100644 --- a/meta-yocto-bsp/wic/beaglebone-yocto.wks +++ b/meta-yocto-bsp/wic/beaglebone-yocto.wks | |||
@@ -2,6 +2,6 @@ | |||
2 | # long-description: Creates a partitioned SD card image for Beaglebone. | 2 | # long-description: Creates a partitioned SD card image for Beaglebone. |
3 | # Boot files are located in the first vfat partition. | 3 | # Boot files are located in the first vfat partition. |
4 | 4 | ||
5 | part /boot --source bootimg-partition --ondisk mmcblk0 --fstype=vfat --label boot --active --align 4 --fixed-size 32 --sourceparams="loader=u-boot" --use-uuid | 5 | part /boot --source bootimg_partition --ondisk mmcblk0 --fstype=vfat --label boot --active --align 4 --fixed-size 32 --sourceparams="loader=u-boot" --use-uuid |
6 | part / --source rootfs --ondisk mmcblk0 --fstype=ext4 --label root --align 4 --use-uuid | 6 | part / --source rootfs --ondisk mmcblk0 --fstype=ext4 --label root --align 4 --use-uuid |
7 | bootloader --append="console=ttyS0,115200" | 7 | bootloader --append="console=ttyS0,115200" |
diff --git a/meta-yocto-bsp/wic/genericarm64.wks.in b/meta-yocto-bsp/wic/genericarm64.wks.in index ee7da87ded..52ee8147fa 100644 --- a/meta-yocto-bsp/wic/genericarm64.wks.in +++ b/meta-yocto-bsp/wic/genericarm64.wks.in | |||
@@ -2,7 +2,7 @@ | |||
2 | # long-description: Creates a partitioned EFI disk image that the user | 2 | # long-description: Creates a partitioned EFI disk image that the user |
3 | # can directly dd to boot media. | 3 | # can directly dd to boot media. |
4 | 4 | ||
5 | part /boot --source bootimg-efi --sourceparams="loader=${EFI_PROVIDER},initrd=${INITRAMFS_IMAGE}-${MACHINE}.${INITRAMFS_FSTYPES}" --label boot --active --align 1024 --use-uuid | 5 | part /boot --source bootimg_efi --sourceparams="loader=${EFI_PROVIDER},initrd=${INITRAMFS_IMAGE}-${MACHINE}.${INITRAMFS_FSTYPES}" --label boot --active --align 1024 --use-uuid |
6 | 6 | ||
7 | part swap --size 44 --label swap --fstype=swap --use-uuid | 7 | part swap --size 44 --label swap --fstype=swap --use-uuid |
8 | 8 | ||
diff --git a/meta-yocto-bsp/wic/genericx86.wks.in b/meta-yocto-bsp/wic/genericx86.wks.in index 7c09ad00a1..f75ae9adac 100644 --- a/meta-yocto-bsp/wic/genericx86.wks.in +++ b/meta-yocto-bsp/wic/genericx86.wks.in | |||
@@ -1,6 +1,6 @@ | |||
1 | # short-description: Create an EFI disk image for genericx86* | 1 | # short-description: Create an EFI disk image for genericx86* |
2 | # long-description: Creates a partitioned EFI disk image for genericx86* machines | 2 | # long-description: Creates a partitioned EFI disk image for genericx86* machines |
3 | part /boot --source bootimg-efi --sourceparams="loader=${EFI_PROVIDER}" --ondisk sda --label msdos --active --align 1024 | 3 | part /boot --source bootimg_efi --sourceparams="loader=${EFI_PROVIDER}" --ondisk sda --label msdos --active --align 1024 |
4 | part / --source rootfs --ondisk sda --fstype=ext4 --label platform --align 1024 --use-uuid | 4 | part / --source rootfs --ondisk sda --fstype=ext4 --label platform --align 1024 --use-uuid |
5 | part swap --ondisk sda --size 44 --label swap1 --fstype=swap | 5 | part swap --ondisk sda --size 44 --label swap1 --fstype=swap |
6 | 6 | ||