Add baremetal-riscv32nf config for RISC-V32 machines without
floating point instructions (e.g. Hi3861)
Signed-off-by: Bernhard Rosenkränzer <bernhard.rosenkraenzer.ext@huawei.com>
As we are in rapid dev phase, lets all use dev kernel
since older branches while work do not have all the latest
porting work
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This makes the main recipe PN same as the one in core, but gives it
starfive flavor in PV, this then becomes nice to include it via
PREFERRED_VERSION mechanism.
Additionally, this also means that it gets picked up in world builds for
beaglev and OE-Core recipe is not preferred, as of now, it tries to
build both, since they are seen as different packages by bitbake due to
different PN
Signed-off-by: Khem Raj <raj.khem@gmail.com>
do_deploy need to execute from sstate-cache when the build directory is
empty and system determines that there is no change to u-boot and it
can be reused from sstate, in this scenario deploydir needs to populate
properly, so we can not use WORKDIR in logic
Activate u-boot and opensbi only for beaglev-starlight-jh7100
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Fixes
NOTE: Multiple providers are available for virtual/bootloader (u-boot, u-boot-juno, u-boot-orangepi-i96, u-boot-poplar, u-boot-socfpga)
Consider defining a PREFERRED_PROVIDER entry to match virtual/bootloader
Signed-off-by: Khem Raj <raj.khem@gmail.com>
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>