Re: [poky] [PATCH v4] Add genericarm64 MACHINE
Tom Rini <[email protected]>
| Newsgroups | org.yoctoproject.lists.poky |
|---|---|
| Message-ID | <20240301193812.GG3040305@bill-the-cat> |
On Thu, Feb 29, 2024 at 01:43:10PM -0600, Mark Hatle wrote: > On 2/29/24 10:24 AM, Ross Burton wrote: > > From: Ross Burton <[email protected]> > > > > This is a new 64-bit "generic" Arm machine, that expects the hardware to > > be SystemReady compatible. > > > > Signed-off-by: Ross Burton <[email protected]> > > --- > > .../conf/templates/default/local.conf.sample | 1 + > > meta-yocto-bsp/README.hardware.md | 18 ++++++++++- > > meta-yocto-bsp/conf/machine/genericarm64.conf | 31 +++++++++++++++++++ > > .../linux/linux-yocto_6.6.bbappend | 5 +++ > > meta-yocto-bsp/wic/genericarm64.wks.in | 11 +++++++ > > 5 files changed, 65 insertions(+), 1 deletion(-) > > create mode 100644 meta-yocto-bsp/conf/machine/genericarm64.conf > > create mode 100644 meta-yocto-bsp/wic/genericarm64.wks.in > > ... > > > +SystemReady Arm Platforms > > +========================= > > + > > +The genericarm64 MACHINE is designed to work on standard SystemReady IR/SR > > +compliant boards with preinstalled firmware. > > + > > +The genericarm64 MACHINE is currently tested on the following platforms: > > + > > + * Texas Instruments BeaglePlay (IR) > > + > > +The images built are EFI bootable disk images and can be written directly to a > > +SD card for booting, for example. > > + > > + > > Texas Instruments Beaglebone (beaglebone-yocto) > > =============================================== > > diff --git a/meta-yocto-bsp/conf/machine/genericarm64.conf b/meta-yocto-bsp/conf/machine/genericarm64.conf > > new file mode 100644 > > index 00000000000..33ffa3fc019 > > --- /dev/null > > +++ b/meta-yocto-bsp/conf/machine/genericarm64.conf > > @@ -0,0 +1,31 @@ > > +#@TYPE: Machine > > +#@NAME: genericarm64 > > +#@DESCRIPTION: Generic Arm64 machine for typical SystemReady IR/ES platforms, which > > +#have working firmware and boot via EFI. > > + > > +require conf/machine/include/arm/arch-armv8a.inc > > + > > +# Arm Base System Architecture says v8.0+ is allowed, but FEAT_CRC32 is required > > +DEFAULTTUNE = "armv8a-crc" > > + > > +MACHINE_FEATURES = "acpi alsa bluetooth efi keyboard pci qemu-usermode rtc screen usbhost vfat wifi" > > SystemReady IR supports u-boot booting, as far as I'm aware, but this looks > like it now requires (vs allows) EFI. Is this the case, or am I reading it > wrong? IR supports U-Boot because U-Boot does (a subset of) UEFI. As a tangent, ES is a harder ask for us but not out of the question. -- Tom