Helps to link in atomic functions on riscv64
Fixes
qtestcase.h:359: more undefined references to `__atomic_fetch_xor_1' follow
collect2: error: ld returned 1 exit status
Signed-off-by: Khem Raj <raj.khem@gmail.com>
mariadb update to version 10.3.13
so we don't need to have mariadb version 5.x
bbappned and patch anymore.
Signed-off-by: pino-kim <sungwon.pino@gmail.com>
This allows us to future proof changes in openSBI as we can just dd the
bootloader to the SD card.
Signed-off-by: Alistair Francis <alistair.francis@wdc.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>
The planned upstream release of 32-bit RISC-V glibc will support statx,
so this patch will not be required in the kernel.
Unfortunately the current 32-bit RISC-V glibc fork does not implement
statx. To allow newer kernels to boot into userspace let's apply this
patch that can be dropped when the glibc port is merged.
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>
Update the Freedom U540 defconfig to work with:
- AMD GPUs attached with PCIe MicroSemi Expansion board
- Including Wayland and X11 display via HDMI
- USB input attached with PCIe MicroSemi Expansion board
At the same time we are also swapping to use the config output of
savedefconfig instead of copying the entire .config file. This
simplifies the defconfig management.
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
This is needed when building gdb from git, in OE-core gdb is built from
tarballs where this issue is not seen, so keep this fix local here
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Add functionality to bbl to modify the device tree passed to Linux to
specify the MicroSemi PCIe device.
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
To avoid conflicts with the MicroSemi PCIe root complex (the one most
commonly used) remove the Xilinx config.
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Add the 4.20 kernel. This involves editing some of the required
Freedom-U540 patches as they conflict with the 4.20 tree, but we want to
keep them for the 4.19 tree.
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>