Latest glibc wants kernel 5.4+ ABI and linux-yocto is still at 5.2, so
until that switches to 5.4 lets pin to dev kernel which is 5.5+
Fixes#199
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Now that we are using U-Boot 2019.10 let's remove the uneeded patches
that have been merged into mainline u-boot.
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Now that we are using QEMU 4.1 we can use QEMU's -bios option and
-kernel option and remove the device loader.
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Let's swap to using a fitImage by default. At the same time let's update
the u-boot boot commands to handle all the image types and support
loading a uEnv.txt file.
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Append causes IMAGE_FSTYPES to contaminate initramfs-based images, as
even when forcing it to be empty at the recipe level, it always shows up
after parsing.
Using += allows the recipe to set another value without being influenced
by the machine configuration.
Signed-off-by: Ricardo Salveti <ricardo@foundries.io>
Based on the default u-boot machine configuration, useful for fitImage
support (known address for loading the device-tree).
Signed-off-by: Ricardo Salveti <ricardo@foundries.io>
Update the u-boot boot script to try a TFTP load first and if that fails
fall back to an MMC load.
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
The Linux kernel 5.2 does not work with the device tree included in the
HiFive Unleashed firmware. To allow the kernel to boot let's build the
kernel's device tree into OpenSBI by default.
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
We are about to add commented out lines as well as comments, which can
be confusing to read. To clear it up a bit let's add doubl # lines for
real comments.
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Now that the qemuriscv64 machine is in OE-Core let's update the
meta-riscv layer to use that.
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Ensure that UBOOT_ENTRYPOINT is set correctly for the HiFive Unleased.
This patch also includes a small change that removes the incorrect and
unneeded arch option when using mkimage to create the boot script.
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Now that GDB 8.3 has been merged into the meta layer we no longer need a
custom GDB version.
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
This patch does the following:
- Update the current linux-mainline_5.1 recipe to AUTOREV from the
stable branch
- Use the linux-mainline_5.1 by default for the HiFive Unleashed
- Remove the older linux-riscv_5.0 recipe
- Rename the common include to linux-mainline-common.inc
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
This patch does two things:
- Patches u-boot to set the server ip by default
- When u-boot has SD/MMC support we should remove this patch and
instead set enviroment variables from uEnv.txt
- Adds a tftp-boot.txt file
- This file is built into a boot.src.uimg file which should then be
copied to the TFTP directory. This file should be used by those who
are intereted in u-boot autobooting from TFTP.
- In the future a seperate boot file can be added allowing autoboot
from the SD card
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Update the SD card generation to follow a more standard sdcard boot
flow. At the moment we don't use this new boot flow, but let's at least
have it ready for future use.
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Don't hardcode the Linux version to make it easier to overwrite the
Linux provider. There is only one linux-riscv version so it is not
required.
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Fix /etc/inittab issue seen when running "runqemu nographic serial":
INIT: Id "AMA0" respawning too fast: disabled for 5 minutes
Signed-off-by: Chin Huat Ang <chinhuat@gmail.com>
The baremetal machines can't be built as bitbake complains about
riscv32/riscv64 being included twice in the PACKAGE_ARCH variable. To
fix this rename the machines to be different from the architecture.
Also remove the QEMU overrides as these are no longer required.
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Now that u-boot 2018.11 is supported in Yocto we no longer need custom
options for RISC-V support.
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
In a multi-BSP env u-boot may be provided by other BSP layers as well so
we need to be explicit about u-boot we need
Signed-off-by: Khem Raj <raj.khem@gmail.com>
clang is not yet supported and when meta-clang is in
layermix things start to fail.
This patch patches by assuming the dependencies
and later adding them to bad recommendations so
they are dropped from runtime deps too
might not work with with dpkg backend
Signed-off-by: Khem Raj <raj.khem@gmail.com>