Commit graph

120 commits

Author SHA1 Message Date
Khem Raj
69f38710a0 capnproto: Disable on rv32/musl
Needs context functions

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-03-30 08:57:33 -07:00
Khem Raj
ea75275414 qtwebkit: Disable on rv32
Not ported yet

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-03-30 08:57:33 -07:00
Khem Raj
bb4c722ae4 rust-hello-world: skip textrel checks for glibc/rv64 too
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-03-30 08:57:33 -07:00
Khem Raj
e34ede8564 layer.conf: Drop gatesgarth from LAYERSERIES_COMPAT
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-03-18 11:51:59 -07:00
Alistair Francis
9e88baad29 qemuriscv32: Remove the 32-bit RISC-V machine
OE-Core now has support for the 32-bit RISC-V QEMU machine, so let's
remove it from here.

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
2021-03-11 10:08:41 -08:00
Khem Raj
c3eb6ff657 layer.conf: Ignore textrels for rust hello world on musl
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-02-17 09:40:47 -08:00
Khem Raj
25e7762b88 riscv32: Disable textrels check for rust-hello-world
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-02-12 10:31:27 -08:00
Khem Raj
130f6dc2ed u-boot: Fix build for rv32
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-02-12 10:31:27 -08:00
Khem Raj
dc6d123050 recipes: Remove textrel skipping for some recipes
These recipes have gotten fixed overtime

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-02-12 10:31:27 -08:00
Khem Raj
6bed43c37f tcf-agent: Enable builds on riscv32
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-02-12 10:31:27 -08:00
Khem Raj
9d10fd4f37 python3-matplotlib,smem: Enable builds for rv32
python3-matplotlib is now fixed to build for rv32 on meta-python

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-11-30 11:35:14 -08:00
Khem Raj
ad99b75029 packagegroup-meta-multimedia: Ignore from world builds
It builds openh264 which does not yet work for riscv32

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-11-18 11:26:40 -08:00
Khem Raj
a2a2532f09 meta-gnome: Disable gnome-control-center
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-11-18 11:26:40 -08:00
Khem Raj
487f265884 layer.conf: Additional set of packages to disable on rv32
These packages are listed right below the main package they depend on,
once that package is fixed for rv32, they should be rebuilt and tested
again.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-11-18 11:26:40 -08:00
Khem Raj
7d9553a0f7 riscv32: Enable recipes which are now buildable with latest OE
Most of them were failing due to g-i errors which are now fixed in oe-core

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-11-18 11:26:40 -08:00
Khem Raj
142e77959d layer.conf: Add 3.3 release series to LAYERSERIES_COMPAT
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-11-09 09:51:17 -08:00
Khem Raj
f4107d92c3 layer.conf: Drop older releases from supported LAYERSERIES_COMPAT
gatesgarth is current release (3.2)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-11-09 09:51:17 -08:00
Khem Raj
e9e1990f35 qtbase: Ignore textrels for rv32
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-11-09 09:51:17 -08:00
Khem Raj
4d06338812 poppler: Ignore textrel QA errors for rv64/rv32
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-10-20 20:57:03 -07:00
Khem Raj
d5723e6979 layer.conf: Add gatesgarth to LAYERSERIES_COMPAT
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-10-15 13:42:01 -07:00
Khem Raj
d9b1569703 cmocka: Ignore textrels
There are texrels in tests
ERROR: QA Issue: cmocka-ptest: ELF binary /usr/lib/cmocka/ptest/tests/test_strmatch has relocations in .text
cmocka-ptest: ELF binary /usr/lib/cmocka/ptest/tests/test_strmatch has relocations in .text [textrel]

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-10-05 10:22:10 -07:00
Khem Raj
ec2c3d1104 ltp: Enable buids on rv32/musl
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-10-05 10:22:10 -07:00
Khem Raj
ff16e38107 layer.conf: Exclude failing recipes from builds on rv32
These need to be fixed in due couese, for now ignore them in world
builds for rv32 machines

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-09-12 13:50:07 -07:00
Khem Raj
e655c2f7f2 doxygen: Ignore textrel for now
This will be better with next binutils but until then we live with this

Fixes
doxygen-1.8.20: doxygen: ELF binary /usr/bin/doxygen has relocations in .text
doxygen: ELF binary /usr/bin/doxygen has relocations in .text [textrel]

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-09-12 13:50:07 -07:00
Alistair Francis
1faef0e153 qt5-layer: Remove Qt5 overides
meta-qt5 now has the same overides upstream, let's remove them for
meta-riscv.

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
2020-09-02 19:18:44 -07:00
Khem Raj
6f495435ed freedom-u540.conf: Define virtual/bootloader to be u-boot
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>
2020-05-02 08:37:49 -07:00
Khem Raj
5cc6fe3632 ltp: Fix build on rv32
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-04-29 16:27:09 -07:00
Khem Raj
1950ff1ca4 layer.conf: Ignore textrel for few more recipes
The real issue is in binutils/ld inserting R_RISCV_NONE which is then
caught by textrel checker, there are binutils bugs to address this
[1] [2]

[1] https://sourceware.org/bugzilla/show_bug.cgi?id=24676
[2] https://sourceware.org/bugzilla/show_bug.cgi?id=24673

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-04-21 19:35:56 -07:00
Khem Raj
ad387e4b63 conf/layer.conf: Disable textrel for qtbase
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-04-17 22:56:58 -07:00
Khem Raj
0fd7aabf75 conf/layer.conf: Add gdb/perf to exception list for textrel
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-04-17 22:56:58 -07:00
Khem Raj
32545e3bae layer.conf: Skip textrel for eudev on rv64
Build QA complains
ERROR: eudev-3.2.9-r0 do_package_qa: QA Issue: eudev: ELF binary /usr/bin/udevadm has relocations in .text
eudev: ELF binary /usr/libexec/udevadm has relocations in .text [textrel]

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-04-13 17:08:56 -07:00
Khem Raj
5bd3c383e1 layer.conf: Mark layer 3.1 compatible
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-03-24 14:57:55 -07:00
Jeremy Puhlman
0cc3fb1439 openocd: Move to dynamic-layer for meta-oe
currently meta-riscv does not parse unless meta-oe is present.
It does not appear that anything explictly depends on openocd
in the layer.

Signed-off-by: Jeremy Puhlman <jpuhlman@mvista.com>
2020-02-21 18:11:01 -08:00
Alistair Francis
f71a0efe94 machine: qemuriscv32: Add the Xvisor platform
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
2020-02-12 12:24:01 -08:00
Alistair Francis
30fb686058 dynamic-layers: Add a xvisor hypervisor bbappend
Add a Xvisor bbappend that builds the initrd used by Xvisor.

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
2020-02-12 12:24:01 -08:00
Alistair Francis
b4ec1d4780 linux: Update bbappends for qemuriscv32
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
2020-02-03 19:51:05 -08:00
Khem Raj
c95f5d9d17 qemuriscv32: Use linux-yocto-dev for now
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>
2020-01-24 17:14:32 -08:00
Alistair Francis
7cbf8f7121 machine/baremetal: Cleanup the baremetal code
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
2019-12-03 12:09:11 -08:00
Alistair Francis
a501ae452a openocd: Use the RISC-V fork
We currently need the RISC-V fork of OpenOCD.

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
2019-11-12 19:17:37 -08:00
Alistair Francis
0ba537b927 u-boot: Update to 2019.10 and remove uneeded patches
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>
2019-10-21 01:24:44 +05:30
Alistair Francis
91f6a2afbc layer.conf: Mark as compatible with zeus
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
2019-10-08 15:42:42 -07:00
Alistair Francis
99cdf8d0cf machine/qemuriscv32: Remove device loader
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>
2019-08-23 07:33:03 -07:00
Khem Raj
04e6b2c12e riscv: Enable SECURITY_CFLAGS and GLIBC PIE for rv32/rv64
GCC PIE works fine

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-08-16 18:01:10 -07:00
Khem Raj
4c57b60dbe Do not disable GCCPIE
It seems to work fine with gcc9 and clang 9

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-08-15 15:48:09 -07:00
Alistair Francis
cb0857efe5 freedom-u540: Use fitImage
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>
2019-07-25 15:19:43 -07:00
Ricardo Salveti
213de15b97 freedom-u540: prefer += instead of append for IMAGE_FSTYPES
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>
2019-07-25 00:55:51 -07:00
Ricardo Salveti
311ab1a78f freedom-u540: set UBOOT_DTB_LOADADDRESS
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>
2019-07-24 11:50:56 -07:00
Alistair Francis
7f90dea34e u-boot: Update the boot script to fall back to MMC load
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>
2019-07-10 09:43:38 -07:00
Alistair Francis
76f72ba89d freedom-u540.conf: Set the RISCV_SBI_FDT based on the kernel DTB
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>
2019-07-10 09:37:34 -07:00
Alistair Francis
bdde094e02 freedom-u540.conf: Include OpenSBI on boot partition
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
2019-07-09 14:22:59 -07:00