Commit Graph

149 Commits

Author SHA1 Message Date
Dan McGregor
caea04becc genericx86*: allow higher tunes
Similar to changes in oe-core for the qemux86* machines, allow users
to set higher tuning levels for the genericx86 targets without changing
the default.

(From meta-yocto rev: 1b29b8168584420a858e2897ba2b0c332dae51bf)

Signed-off-by: Dan McGregor <dan.mcgregor@usask.ca>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-22 23:38:49 +01:00
Mikko Rapeli
5b45f60969 genericarm64.conf: increase INITRAMFS_MAXSIZE
Since pmem kernel drivers were enabled as modules, the initrd
size limit is hit. On genericarm64 all kernel modules and some
firmware files get installed to initrd by default which make
the thing large. I'm working on patches to reduce the kernel drivers
installed to initrd and to make the kernel in general more modular
(btrfs 5 Mb etc built into kernel by default). For now just increase
the size limit to unblock genericarm64 builds and testing.

Fixes: https://bugzilla.yoctoproject.org/show_bug.cgi?id=15833

(From meta-yocto rev: 09bef6a491c087f0f0371874e759aae08a720c4e)

Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-25 08:17:39 +01:00
Ross Burton
b7fcba6e51 genericarm64: add ttyPS1 for KV260
The AMD KV260 has a serial console on ttyPS1, so until we can dynamically
detect the console under sysvinit we can add it to SERIAL_CONSOLES so
this platform has a working console when not running systemd.

(From meta-yocto rev: c1824bbee5d7febe4154d683e895470c08b681a9)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-23 19:52:01 +01:00
Mikko Rapeli
eced0341cc genericarm64.conf: allow overriding u-boot and qemuboot variables
Assignment in machine config can not be overwritten in local.conf
because former is evaluated later than latter. Use ?= conditional
assignment for u-boot and qemuboot variables so that they can be
overwritten in local.conf if a different test setup is wanted
for kernel, initrd and rootfs built for genericarm64 machine
config.

(From meta-yocto rev: fbb2b2a2dcfd4dd990071d4d73b149d4099a36ab)

Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-11 11:44:19 +00:00
Kevin Hao
297e007375 yocto-bsp: Bump the default kernel to v6.12 for x86 machines
(From meta-yocto rev: 7a65cd769151a817a771cce6ee70b5437fca60e5)

Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-12-15 11:09:42 +00:00
Kevin Hao
3cd4cacb58 yocto-bsp: Bump the default kernel to v6.12 for beaglebone
There have been no specific patches on beaglebone branche for many years,
so I have decided to switch to using the base branch for this machine.
This approach eliminates the need to adjust the corresponding
SRCREV_machine and LINUX_VERSION with each stable kernel version bump.

(From meta-yocto rev: 1570badbf93511f370614c21ccd967af28549b2c)

Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-12-15 11:09:42 +00:00
Ross Burton
da5998039b genericarm64: add more serial consoles
Some boards - such as the BeaglePlay - have the serial console on ttyS2.

Add a few ttyS? consoles to SERIAL_CONSOLES to cater for these boards.

(From meta-yocto rev: 6732332ef6ff640189e51ef6839598be693fd9e1)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-10-08 13:31:58 +01:00
Ross Burton
25d561e17c genericarm64: don't pin to linux 6.6
The 6.10 build has been tested on both a BeaglePlay and qemu, so we can
remove the pinning now.

(From meta-yocto rev: d19d6046e96b1c94ee50a6140b1338a50a2cef20)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-09-20 14:02:25 +01:00
Bruce Ashfield
1e9f886d76 yocto-bsp: set temporary preferred version for genericarm64
We want to introduce the 6.10 linux-yocto recipe, but genericarm64
hasn't been valided for it yet. As such, let's temporarily set the
preferred version to 6.6 so the builds don't break.

(From meta-yocto rev: 6ba3b6f15bf2460432da3a3aee782976e778381c)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-07 15:48:27 +01:00
Ross Burton
98471a91e8 genericarm64: depend on u-boot in testimage
genericarm64 supports runqemu, so testimage should work. However, out of
the box it does not:

runqemu - ERROR - BIOS .../tmp/deploy/images/genericarm64/u-boot.bin not found

That is because we make the user explicitly build the qemu-targetting u-boot
to avoid the confusing situation where they have real hardware but the
deploy directory contains a u-boot for qemu.

In automated testing situations, however, we can be a bit more helpful
and make testimage depend on u-boot. This will lead to u-boot binaries
being in deploy, but at this point the user is already running the images
inside a qemu.

Reported-by: James McGregor <James.McGregor2@arm.com>
(From meta-yocto rev: 90b45c62d34396a20078b55d7d36f66b4e2177f7)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-21 12:09:05 +01:00
Jon Mason
1fb353995c yocto-bsp/genericarm64: add virtio-gpu
testimage on core-image-sato fails in parselogs and xorg tests.  We can
add the virtio gpu to address these issues (like what is being done in
qemuarm, qemuarm64, and qemuarmv5).

(From meta-yocto rev: ddf075e2abfba6479efc2bc5fe1c41ba6079e355)

Signed-off-by: Jon Mason <jdmason@kudzu.us>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-08 23:33:53 +01:00
Ross Burton
21c9a9f814 genericarm64: add qemuboot configuration
A basic SystemReady IR system can be provided by qemu-system-aarch64
and u-boot, so tell u-boot to build the qemu_arm64 machine and configure
qemuboot to start that u-boot and search the virtio-attached wic image
for the EFI boot partition.

Currently this machine support emulated (Cortex-A76) and virtualised (KVM)
execution, and virtio storage/network/console.  Display support will be
added shortly.

Note that this machine still doesn't build U-Boot by default, as a u-boot
binary for qemu in deploy would potentially confuse users who want to
boot on real hardware and think this u-boot is needed.  If you wish to
use genericarm64 with runqemu, you'll need to manually bitbake u-boot.

(From meta-yocto rev: cd40f405844c1ccfabcbe64ad6be5d98d0221f72)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-03-23 10:19:00 +00:00
Ross Burton
4b42a93edf genericarm64: clean up kernel modules and firmware
Don't install _all_ of the firmware, as that's huge (almost 1GB). Instead
install a few pieces of firmware for common hardware.

Also use the same list of packages to populate the initramfs, so there's
no need to manually sync the package lists (as initramfs doesn't install
the MACHINE_EXTRA_RRECOMMENDS automatically).

(From meta-yocto rev: a5aa914990f36cc5175577983dd1ad1aa0bb81f2)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-03-08 08:05:44 +00:00
Ross Burton
2f4f72fff2 Add genericarm64 MACHINE
This is a new 64-bit "generic" Arm machine, that expects the hardware to
be SystemReady IR compatible.

(From meta-yocto rev: 68de209f58917d8e7108caacfefc55bbe0e0c5a2)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-03-05 12:26:21 +00:00
Kevin Hao
640927625e yocto-bsp: Bump the default kernel to v6.6
Create the bbappend for v6.6 and bump the default kernel to v6.6 for
all the machines.

In the v6.6 kernel the dtb files for beaglebone have been moved to a
vendor specific directory, so we also need to adjust the corresponding
variables for its DTB generation.

(From meta-yocto rev: 58ac51b7a44fbb165311c7226ae8b15cd004114d)

Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-01-22 13:45:33 +00:00
Kevin Hao
5d7a4304d9 beaglebone-yocto: Remove the obsolete variables for uImage
Now we only support the zImage kernel type for this machine, so remove
the obsolete variables for uImage kernel type.

[YOCTO #15232]

Reported-by: Robert Berger <pokylinux@reliableembeddedsystems.com>
(From meta-yocto rev: a8a5abe05ec4e96287acc994883f4b977290cde1)

Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-01-02 22:50:10 +00:00
Kevin Hao
97306ebc00 beaglebone-yocto: Remove the redundant kernel-devicetree
The kernel-devicetree is set in both MACHINE_ESSENTIAL_EXTRA_RDEPENDS
and MACHINE_EXTRA_RRECOMMENDS. Since it is an essential package for
boot, drop the one in MACHINE_EXTRA_RRECOMMENDS.

[YOCTO #15229]

(From meta-yocto rev: 5935d4fd751153f0f1c930924a5e2771f6dd5e72)

Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-01-02 22:50:10 +00:00
Ross Burton
7d06e4e30b genericx86: remove redundant assignments
GLIBC_ADDONS was removed from the glibc recipe in 2018 (oe-core 9dc9983).

matchbox-panel-2 uses the ACPI battery by default if the machine has the
'acpi' feature, which genericx86 has.

(From meta-yocto rev: 0e50dbf558fda7595f5cb13667cbe0a01481a9f5)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-12-06 22:56:03 +00:00
Lee Chee Yang
6cc017460d machine: drop obsolete SERIAL_CONSOLES_CHECK
(From meta-yocto rev: 5746c1b425859f5b8ba3a434c92b1d8798bedd71)

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-11-02 11:20:19 +00:00
Ross Burton
c35c771a69 beaglebone-yocto: remove redundant XSERVER assignment
The default XSERVER value is good enough for this BSP, so we don't need
to set it explicitly.

(From meta-yocto rev: a0077d9132d1e86f97fa3d4a4607b008622aa17e)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-12 07:46:10 +01:00
Richard Purdie
8ed7880e1e genericx86: Drop gma500-gfx-check
Drop the gma500-gfx-check script. This hardware is ancient and times have moved
on, stop carrying around this old compatibility script.

(From meta-yocto rev: fa57b62988010a398b0defa89c9e831d75618d14)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-06-20 23:24:58 +01:00
Paul Gortmaker
0c64d0e431 yocto-bsp: drop MIPS Edgerouter support
As per ongoing discussions, there is a general desire to try and update
our hardware reference platforms when an appropriate (newer) substitute
is available.  However, in the case of MIPS, there isn't an obvious one
to choose.  But continuing to maintain support for an old board that
hasn't been available for purchase for years doesn't make sense either.

So we are dropping support for the Edgerouter for future releases.  The
MIPS architecture will still get coverage via QEMU build/boot testing.

(From meta-yocto rev: 5ea231c6c6387804a85adf15d3f03bdae9b2be25)

Signed-off-by: Paul Gortmaker <paulg@kernel.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-11 09:15:19 +01:00
Kevin Hao
2e33c422a4 meta-yocto-bsp: Update the default kernel to 6.1
Create the corresponding 6.1 bbappend and also update the default
kernel to 6.1 for all the boards.

(From meta-yocto rev: 7494f08fa1c85611a1dce3444a2737ef06fc8fdf)

Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-13 17:34:08 +00:00
Vivien Didelot
9f8e746687 beaglebone-yocto: move kernel and dtb to packagegroup-core-boot
Appending IMAGE_INSTALL with the kernel and device tree is a bad idea
because it will bring these packages to every images, like a container
image or sysroot image to pivot to, where the kernel artifacts are
not wanted.

Instead use the MACHINE_ESSENTIAL_EXTRA_RDEPENDS which results
in having the kernel artifacts where they should be, part of
packagegroup-core-boot.

(From meta-yocto rev: d4cbe0e43393ec70e98caf006372b5311597d377)

Signed-off-by: Vivien Didelot <vdidelot@pbsc.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-21 14:44:27 +00:00
Vivien Didelot
66a76e7cc7 beaglebone-yocto: prefer u-boot
If BBLAYERS contains a layer providing a package for
virtual/bootloader, building for the beaglebone-yocto machine will
fail. Setting u-boot as the preferred provider for virtual/bootloader
ensures u-boot is choosen and the build succeeds.

(From meta-yocto rev: 2ffbaf54f4d88ba251d282c90755ea964d224ba6)

Signed-off-by: Vivien Didelot <vdidelot@pbsc.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-21 14:44:27 +00:00
Bruce Ashfield
2fb27b873f yocto-bsp: change default to 5.15
5.14 has been removed from core, so we change our default version
to the 5.15 LTS kernel.

(From meta-yocto rev: a0241305e3785930f806529fd1b1d1a3831203d0)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-12 21:09:02 +00:00
Kevin Hao
06dcace68b meta-yocto-bsp: Update the default kernel to v5.14
Introduce the bbappend for v5.14 and also set the default kernel to
v5.14 for all the boards.

(From meta-yocto rev: bed70a64b5b772fd71a7ff88a9f3719082e9398c)

Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-24 10:15:29 +01:00
Kevin Hao
49c706ebde meta-yocto-bsp: Set the default kernel to v5.13
Build and boot test for all the boards.

(From meta-yocto rev: b296bf6b0cadcff7c9000a3f4a3ca162785b9a33)

Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-22 22:21:59 +01:00
Jon Mason
476f558b75 yocto-bsp: update machine confs with new tune locations
(From meta-yocto rev: c909922cc70bbf1420a51e035625d06537334b47)

Signed-off-by: Jon Mason <jdmason@kudzu.us>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-18 17:01:26 +01:00
Richard Purdie
9826f87cb4 meta-poky/meta-yocto-bsp: Convert to new override syntax
This converts the two layers to the new override syntax. This was done using

<oe-core>/scripts/contrib/convert-overrides.py <this-layer>

with no manual fixes.

(From meta-yocto rev: 387eab70f343966267c2a68746aea1bbb8525191)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-29 23:38:21 +01:00
Vivien Didelot
842f67608e beaglebone-yocto: allow other virtual/bootloader
The beaglebone-yocto machine currently hardcodes "u-boot" as a
dependency for the image and the wic format, and this prevents one
from choosing a different bootloader via:

    PREFERRED_PROVIDER_virtual/bootloader = "non-u-boot-bootloader"

Depending on "virtual/bootloader" instead of "u-boot" fixes this.

Cc: Denys Dmytriyenko <denis@denix.org>
(From meta-yocto rev: 4c4c8327645457a5d68762ff64b64d4b5845cd20)

Signed-off-by: Vivien Didelot <vdidelot@pbsc.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-11 14:06:46 +00:00
Kevin Hao
09c7fc6e53 meta-yocto-bsp: Bump the kernel to v5.10
Build and boot for all these machines and also explicitly set the
preferred kernel version for the x86 machines so that we can override
the default setting in oe-core.

(From meta-yocto rev: a93344439e01e8aba4ba15d3123ce31b4500add1)

Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-13 23:14:06 +00:00
Vivien Didelot
fb2fcf239e meta-yocto-bsp: use provided variables
We already have the following variables defined above IMAGE_BOOT_FILES:

SPL_BINARY = MLO
KERNEL_IMAGETYPE = zImage
KERNEL_DEVICETREE = am335x-bone.dtb am335x-boneblack.dtb am335x-bonegreen.dtb

So use them instead of repeating their values.

(From meta-yocto rev: be07cc4f4e729905065ac6fbf1d46ebfdd79cf8f)

Signed-off-by: Vivien Didelot <vdidelot@pbsc.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-05 13:48:41 +00:00
Kevin Hao
7ecdf7ac63 meta-yocto-bsp: Bump to the v5.8 kernel
Boot test for all the supported boards. There is a kernel config
check warning for beaglebone-yocto, the fix [1] has been sent to
kernel-meta for merging.

[1] https://lists.yoctoproject.org/g/linux-yocto/message/8992

(From meta-yocto rev: ccc825335f257ca2259440c561eea02538edd762)

Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-26 14:33:05 +01:00
Kevin Hao
46e0391f61 meta-yocto-bsp: Bump to the v5.4 kernel for the non-x86 boards
Build and boot test for the beaglebone and edgerouter.

(From meta-yocto rev: db4247b8c95ec997fa90226a49df36d7366c469f)

Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-02-14 13:08:37 +00:00
Richard Purdie
e363c40076 conf/machine: Remove mpc8315e-rdb machine
This hardware is old/obsolete and unobtainable. Its proving hard to support
with nobody fixing bugs or helping keep the platform running/up to date.

Whilst there is value in real hardware testing, this platform ist just too
old and obsolete to support. This does leave a gap for the power architecture
but at this point there is nobody willing to step up to cover it.

The TSC did discuss and agree support for this platform should be removed.

It calls into question the support/testing of the architecture by Yocto
Project which is being discussed by the TSC and governing board.

(From meta-yocto rev: aa691d49ceb6700eb1881b789fe34f8369bcb0ef)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-02-02 10:38:55 +00:00
Chee Yang Lee
3925515d98 genericx86: wic wks do not hardcode loader
replace .wks with .wks.in and refer loader to EFI_PROVIDER
to enable different bootloader.
soft assign default EFI_PROVIDER "grub-efi" for genericx86.

(From meta-yocto rev: 11ecd2febed95e923c8cc68e2c438cd846a88d02)

Signed-off-by: Chee Yang Lee <chee.yang.lee@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-12-15 09:08:43 +00:00
Kevin Hao
49f24df065 meta-yocto-bsp: Bump to the v5.2 kernel
Boot test for all the supported boards. Also drop the v5.0 bbappend
since we no plan to support it anymore. There are some
kernel_configcheck warning when building some boards, the patches [1]
for them have been sent to kernel-meta for merging.

[1] https://lists.yoctoproject.org/pipermail/linux-yocto/2019-August/007908.html

(From meta-yocto rev: c6e974e12c1d7fe0d155b6cf1bc0c1f4a6ee69d0)

Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-09-06 08:25:29 +01:00
Alexander Kanavin
f7298d88ea beaglebone: use the default of 256M rather than 512M
This is done for the sake of using the same default
everywhere; see here for details:
http://lists.openembedded.org/pipermail/openembedded-core/2019-August/285900.html

(From meta-yocto rev: f4ba98ed3c866ec3db90404f894d5aeaa5d79dfd)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-08-29 14:05:12 +01:00
Changqing Li
841a1029c3 genericx86-64.conf/genericx86.conf: add QB_SYSTEM_NAME
QB_SYSTEM_NAME set in qemuboot-x86.inc will be removed,
so set QB_SYSTEM_NAME in these two configuration files.

(From meta-yocto rev: 6748c925817da0e7ae2a84d1214e3595515962b5)

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-08-07 16:08:56 +01:00
Adrian Freihofer
2d8e21eaac yocto-bsp: runqemu runs beaglebone-yocto
Append the necessary QB_ flags to the MACHINE configuration of
beaglebone-yocto. Using Qemu with "-machine virt" simplifies things
greatly because for this machine the dtb is compiled into qemu. Since
the beaglebone-yocto kernel config also supports this cpu architecture,
it just works. However, u-boot is not involved and the virt machine is
not 100% equal to a am335x SoC.

A MACHINE configuration suitable for Qemu as well as for the real
hardware allows to provide just one eSDK where both runqemu and devtool
build-image work. Otherwise a qemuarm and a beaglebord-yocto MACHINE
eSDK would be required to support development in Qemu as well as on real
hardware.

(From meta-yocto rev: 48bf40749cc63e8e951c76abbe65b1b9620b2481)

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-19 16:21:16 +01:00
Richard Purdie
914c33e8ff beaglebone-yocto: Add missing wic image u-boot deploy dependency
The wic image built for beaglebone-yocto needs the u-boot deployed artefacts but
there is no direct dependency. Usually this happens to work but if the u-boot
build fails, the image built with -k exposes this race.

Add the missing dependnecy.

[YOCTO #13280]

(From meta-yocto rev: d0abe4a39ad261bcd4993ebd3340c2160870959a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-01 11:27:42 +01:00
Alistair Francis
eaded08b6e beaglebone-yocto: Update u-boot config to match u-boot 19.04
[YOCTO #13145]

This was announced at 2019.01:
https://www.mail-archive.com/u-boot@lists.denx.de/msg305424.html

Basically, am335x_boneblack is just a special subset of am335x_evm config,
created and owned by BeagleBoard.org community. Since it was not migrated to
use CONFIG_BLK in time for 2019.04 release.

(From meta-yocto rev: 26f38a6de56a2d3bb1ef9b06d6b49537192f9447)

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Acked-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-12 14:05:38 +01:00
Jon Mason
23492fb43f meta-yocto-bsp: clean up machine config files
Beautify the machine config files by making the names and descriptions
more uniform and verbose

(From meta-yocto rev: 159a8c9080af125c657558b4789f4aa8410e4fa2)

Signed-off-by: Jon Mason <jdmason@kudzu.us>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-01 14:58:45 +01:00
Kevin Hao
361b637aab meta-yocto-bsp: Update the default kernel to v5.0 for the non-x86 BSPs
(From meta-yocto rev: b3af711f18429f02998122f6872b7eb67217047c)

Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-03-12 11:57:41 -07:00
Heiko Schocher
81e48b24dd meta-yocto-bsp: beaglebone-yocto.conf: support 8250 serial driver
it is possible to use the beagleboneblack with the 8250 serial
driver or with the deprecated omap serial driver.

Unfortunately serial console get different names (ttyS0 with
8250 driver and ttyO0 with omap driver)

So set SERIAL_CONSOLES to
SERIAL_CONSOLES ?= "115200;ttyS0 115200;ttyO0"

(intentionally with "?=" so it is overwriteable)
and activate

SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}"

with that on the first boot the correct value is picked up
automatically.

(From meta-yocto rev: ffd224382af6fe1f5eeae32d7b28cc975acdde05)

Signed-off-by: Heiko Schocher <hs@denx.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-11-14 11:18:18 +00:00
Alexander Kanavin
cd0dcb1aef genericx86-common.inc: remove eee-acpi-scripts
Asus EEEpc hardware hasn't been produced for a long time;
upstream repo is now gone.

(From meta-yocto rev: 76cd3a475ebce4ae26fc3aae0f2b43628926f7b0)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-09-10 12:13:38 +01:00
Kevin Hao
fd1da1ac6e meta-yocto-bsp: Bump the kernel to v4.18
Bump the kernel to v4.18 for all the boards in meta-yocto-bsp layer.

(From meta-yocto rev: 1e672581cc3fc695570f1ae9f951efbe4b05733a)

Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-08-28 10:31:13 +01:00
Maciej Pijanowski
38125456ff machine configs: replace deprecated "SERIAL_CONSOLE"
SERIAL_CONSOLE was already deprecated in 2013, yet still some
machine configuration files were using it. This patch replaces
it with SERIAL_CONSOLES, which is the successor.

The default value in systemd-serialgetty.bb can also be safely
transitioned from SERIAL_CONSOLE to SERIAL_CONSOLES, as this
recipe already uses SERIAL_CONSOLES within do_install().

The documentation seems to be already up do date.
beaglebone-yocto.conf in the bsp-guide already uses
SERIAL_CONSOLES. The ref-manual redirects from SERIAL_CONSOLE
to SERIAL_CONSOLES.

[YOCTO #12653]

(From meta-yocto rev: a0c5332aefe75cf314e78284f578b17c51b8ab27)

Signed-off-by: Maciej Pijanowski <maciej.pijanowski@3mdeb.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-08-15 21:45:58 +01:00
Kevin Hao
21a2aec457 meta-yocto-bsp: beaglebone: Add the u-boot boot config file for the wic image
(From meta-yocto rev: 800fc3ea87add6a7205ecfa3b088701ed635082f)

Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-08-15 21:45:58 +01:00