Commit Graph

12 Commits

Author SHA1 Message Date
Khem Raj
1b048984be u-boot-starfive: Fix builds from sstate cache
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>
2021-05-06 17:12:08 -07:00
Khem Raj
65407db940 opensbi-starfive,u-boot-starfive: Demand gcc for compiler
They dont yet build with clang

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-05-06 17:12:08 -07:00
Maciej Pijanowski
9d3df1e164 beaglev: rename BSP components from -beaglev to -stafive
Signed-off-by: Maciej Pijanowski <maciej.pijanowski@3mdeb.com>
2021-05-06 17:12:08 -07:00
Maciej Pijanowski
89d3bfd5d8 opensbi-beaglev: w/a for do_deploy failure
Signed-off-by: Maciej Pijanowski <maciej.pijanowski@3mdeb.com>
2021-05-06 17:12:08 -07:00
Maciej Pijanowski
9b31efa4ab preliminary beaglev support
Signed-off-by: Maciej Pijanowski <maciej.pijanowski@3mdeb.com>
2021-05-06 17:12:08 -07:00
Alistair Francis
d0bd2937b9 recipes-bsp/opensbi: Remove OpenSBI from meta-riscv
OpenSBI is now supported in OE-Core, remove it from meta-riscv.

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
2019-06-24 19:15:08 -07:00
Alistair Francis
bb370a5a30 opensbi: Fix the u-boot dependency
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
2019-04-22 15:37:08 -07:00
Khem Raj
550e98c1bd opensbi: Fix build with gcc9 tentatively
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-03-08 05:51:32 -08:00
Alistair Francis
577898d7ae opensbi: Bump to version 0.3
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
2019-02-27 10:22:02 -08:00
Alistair Francis
841a445b60 opensbi: Fix 32-bit cross compile
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>
2019-02-24 08:17:54 -08:00
Alistair Francis
b5f422571d opensbi: Bump to version 0.2
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
2019-02-24 08:17:54 -08:00
Alistair Francis
7f03647622 openSBI: Initial commit
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>
2019-02-01 10:41:36 -08:00