-nographic is not a graphics setting. Drop it from QB_GRAPHICS and let
users request headless mode via `runqemu nographic` when needed.
Signed-off-by: Charles Dias <charlesdias.cd@outlook.com>
Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Zephyr 4.2 removed Nios II support, so building Zephyr targets for nios2
no longer works.
Signed-off-by: Charles Dias <charlesdias.cd@outlook.com>
Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
do_bootconf_write() may update qemuboot.conf and the QEMU ELF symlink to a
new timestamped name while the ELF itself is reused from sstate and not
deployed, leaving a broken symlink and causing runqemu to fail with
"Can't find rootfs: ... .elf".
Fix by making zephyr-qemuboot use the stable link name
(${ZEPHYR_IMAGE_LINK_NAME}.elf / ${PN}-${MACHINE}.elf), which is
guaranteed to exist as a symlink created by zephyr-image.inc and always
points at the most recently deployed ELF.
Signed-off-by: Charles Dias <charlesdias.cd@outlook.com>
Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Add board extension support variables where user can specify the
BOARD_ROOT variable for out-of-tree custom boards.
Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com>
Convert recipes-kernel/zephyr-kernel/zephyr-sample.inc file to
classes-recipe/zephyr-sample.bbclass. Using this bbclass user can
inherit this bbclass from any layer to build custom or out-of-tree
zephyr applications.
Also update the recipes to inherit zephyr-sample bbclass.
Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com>
Use relative path for all the include files to avoid overlaying the
include files.
Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com>
Move classes to classes-recipe as appropriate to match bbclass
scope functionality.
zephyr.bbclass, zephyr-qemuboot.bbclass, zephyrtest.bbclass are
inherited by recipes hence move to classes-recipe.
Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com>
Remove PREFERRED_VERSION_zephyr-kernel from zephyr-kernel-src.inc
as this variable should be in global configuration file and override
from local.conf file.
Set default stable PREFERRED_VERSION for kernel and sdk in layer.conf
file.
Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com>
Add zephyr-sdk.inc file and move all the common sdk implementation
zephyr-sdk.inc file to support multiple version of sdk.
Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com>
Fix below runqemu errors for qemu-cortex-a9 machine.
runqemu - ERROR - Failed to run qemu: qemu-system-arm: -device virtio-rng-pci,rng=rng0: No 'PCI' bus found for device 'virtio-rng-pci'
Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com>
Update script to generate correct SRCREV and other info to match
poky variable updates.
Also use "version" instead of "short_version" for SRC_URI_PATCHES.
Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com>
In README instructions DISTRO variable assigment doesn't have
whitespace, due to this bitbake throws the warning messages as
shown below.
WARNING: /scratch/sandeep/yocto/yp-master/build-zep/conf/local.conf:291 has a lack of whitespace around the assignment: 'DISTRO="zephyr"'
Hence update instructions to fix warning messages.
Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com>
Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Zephyr upstream reconfigurations now require either the CMake variable
TOOLCHAIN_HAS_NEWLIB or Kconfig NEWLIB_LIBC_SUPPORTED in order to build
with FULL_LIBC_SUPPORTED and NEWLIB.
This cross-compile toolchain does indeed have full newlib support available
so we need to now specify that so it can be used.
Signed-off-by: Nicholas Lowell <Nicholas.Lowell@lexmark.com>
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Currently the work dir generated by the zephyr toolchain is incorrect
Setting it to correctly reflect the arch and zephyr stage
Signed-off-by: Ben Cownley <ben.cownley@arm.com>
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
meta-zephyr current passes an ARCH variable to the CMake build
It's widely believed this is no longer necessary as it is
inferred from the BOARD variable
Signed-off-by: Ben Cownley <ben.cownley@arm.com>
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
In the previous design, it only deployed zephyr.elf,
zephyr.bin and zephyr.efi.
If users want to deploy their customize images, they should update do_install task.
Add to check "ZEPHYR_MAKE_OUTPUT" to deploy users customize images and zephyr images.
Signed-off-by: Jamin Lin <jamin_lin@aspeedtech.com>
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Include fix for generating efi binary file for the up_squared board, which
was missed in v3.5 upgrade.
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>