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>
There appears to be some strange behaviour with OE's 32-bit toolchain
which causes soft float and hard flot linker errors. The same issue is
seen when building u-boot. For now we can fix the problem by not
specifying the mabi or march when building openSBI.
We also need to backport a patch that has been submitted to ensure the
32-bit build works.
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
This adds openSBI support. openSBI aims to be the reference
implementation for the M mode firmware. We are going to use it to remove
BBL from the boot flow.
The eventual aim is to have openSBI merged into the meta layer to
support qemuriscv* machines.
Unfortunately openSBI requires a 5.0 kernel, so at the moment we aren't
going to use it.
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>