Fix the ethernet compatible sting name with the 5.3 kernel device tree.
This restores u-boots networking access when using the 5.3 kernel.
This patch is taken from the mainline master u-boot but rebased onto our
current 2019.07 + 21 patches u-boot. Once 2019.10 is released we can
drop all of these patches.
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Let's now use the defconfig for the HiFive Unleashed. We can still apply
any extra configs ontop with a config patch.
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
No one is testing the 4.19 kernel and it probably doesn't work with the
latest OpenSBI work so let's just remove it from meta-riscv.
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Now that we are using the newer glibc port and 5.2 kernel headers remove
the qemuricv32 compatible machine from the 5.0 kernel and add it to the
5.2 kernel.
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
OE-Core has upgraded to the 5.2 kernel headers. This means that all RV32
software now requires a 64-bit time_t. Update the glibc fork to an
implementation that works in a 64-bit time_t. At the same time we can
revert the linux kernel patch.
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
When building in a non CI env this all is not
needed as the user might accidentally end up losing all the build
artifacts that are not intendeed to. On CI systems its better to delete
it via extra step outside setup
Signed-off-by: Khem Raj <raj.khem@gmail.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>
Add the uEnx.txt file to meta-riscv to allow users to build OSTree
setups for the HiFive Unleashed. This is based on the original version
from Ricardo Salveti (@ricardosalveti).
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>
Wic file to be used with sota/ostree (meta-updater), as the source for
root needs to be provided by the otaimage plugin.
It can be maintained outside this layer, but having it maintained at the
official meta-riscv layer makes it a lot easier for users experimenting
with meta-updater.
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>
The changes done by this bbappend are all specific to freedom-u540, so
change every override to be machine specific.
Signed-off-by: Ricardo Salveti <ricardo@foundries.io>
meta-multimedia depends on meta-python. I'm not sure why it's
necessary to add all the dependent layers in order, but if I don't do
this I get a bunch of exceptions during setup.sh that result in no
meta-python in my bblayers.conf and thus a non-functional bitbake.
setup.sh was already explicitly adding meta-python, so this patch just
adds it before meta-multimedia. That fixes the errors on my side.
Signed-off-by: Palmer Dabbelt <palmer@sifive.com>
Minor fix.
Changed to be buildable according to input of each MACHINE.
Add buildable machine's information in script.
Signed-off-by: sungwon.pino <sungwon.pino@gmail.com>
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>
Update the bbappend to apply to 2019.07 and backport the new device tree
bindings and SPI/MMC support.
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>
Update to the 5.2 kernel release. This includes a large number of
upstream patches for the Unleashed. Due to the large defconfig changes
let's drop the 5.1 support when we upgrade.
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Change the partition order so that the /boot partition is the first
partition. This allows u-boots auto boot to work as expected. FSBL will
still load OpenSBI as it uses GPT UUIDs to match the boot partition.
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>
Instead of having a Travis CI system that constantly timesout let's do
two things:
1. Adjust the Travis CI setup to be as fast as possible. By removing as
many commands as we can, avoiding installing too many dependencies and
doing a shallow git clone we can save time.
2. Use timeout to test each major RISC-V machine for 55 minutes. If we
run until we hit the timeout we count the test as a pass. This should
allow use to rely on the tests passing before merging commits while
also testing all three boards.
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>
qemuriscv64 is already marked as compatible in OE-Core linux-yocto_5.0,
so let's remove the duplicate.
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>
we are now getting changes which are in master ( would be 2.8 ) release
so its important to let users know that they can no longer use master
with older releases
Signed-off-by: Khem Raj <raj.khem@gmail.com>