Commit graph

324 commits

Author SHA1 Message Date
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
762911ea2e boost: Fix build on rv32
Define __NR_futex in terms for __NR_futex_time64 for rv32

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-04-29 16:27:09 -07:00
Khem Raj
f59218799a ghostscript: Add rv32 specific objarch.h
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-04-29 16:27:09 -07:00
Khem Raj
a834a2b0a4 ghostscript: rv64 is LE by default
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-04-29 16:27:09 -07:00
Khem Raj
8bd3402c76 perf: Remove libunwind dependency
libunwind is not yet ported to rv32

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-04-24 21:15:49 -07:00
Khem Raj
67679a99a7 packagegroup-core-tools-testapps: Remove kexec and gst-example for rv32
Not buildable yet

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-04-24 21:15:49 -07:00
Khem Raj
e94845a250 packagegroup-core-tools-profile: Disable systemtap and valgrind in packagegroups
They still need porting to rv32

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-04-24 21:15:49 -07:00
Khem Raj
626d1645a7 openocd_riscv: Ensure the PV is still riscv
It is defined to 0.10+XXX in main recipe
Fixes
NOTE: preferred version riscv of openocd not available (for item openocd)
NOTE: versions of openocd available: 0.10+gitrAUTOINC+ded6799025 0.10+gitrAUTOINC+f93ede5401

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-04-24 21:15:49 -07:00
Khem Raj
4aa593b23b go-dep: Update sys module to latest
This brings in needed riscv64 support

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-04-23 17:14:14 -07:00
Khem Raj
98504386a5 libunwind: Disable build on riscv
Fixes
../include/libunwind.h:29:3: error: #error "Unsupported arch"

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-04-23 17:14:14 -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
6942fbd552 packagegroup-go-sdk-target: Enable go for rv64 but disable for rv32
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
5092957c7a openssl: Make bbappend regexp relaxed for all openssl 1.1.1 versions
The rv32 patch is needed across all openssl 1.1.1 versions

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-04-01 09:47:28 -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
Khem Raj
1a49b6345b openssl: Match bbappend version to core
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-03-24 14:57:55 -07:00
Khem Raj
9d43c55a1e mesa: Rename bbappend to match oe-core
it still is needed with mesa 20

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-03-08 22:39:33 -07:00
Khem Raj
2fb467c8f8 go: Adjust for 1.14 changes in oe-core
We still use 1.13 for risv64, so cheat a little so we can re-use recipes
from oe-core to pretend to be 1.14

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-02-29 11:25:53 -08: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
Khem Raj
590357c49b busybox: All these patches are in oe-core now
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-02-15 12:47:21 -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
8b73b069b0 mesa,libxshmfence: Define __NR_futex for rv32
Helps these nosy apps build
Fixes #201

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-01-31 18:37:17 -08:00
Khem Raj
687750d761 go-riscv: Delete 0009-ld-replace-glibc-dynamic-linker-with-musl.patch duplication
Core applies this patch via a bbappend too, so no need to apply here

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-01-28 16:03:35 -08:00
Khem Raj
89ca330e78 packagegroup-go-sdk-target: Enable on riscv64
OE-Core disables it on riscv64 since go support is now in this layer it
makes sense to enable it in meta-riscv

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-01-26 11:34:21 -08:00
Khem Raj
301946f338 go: Add recipes to support go on riscv64
Alter the SRC_URIs to fetch 1.13 from the right fork.
Rename refreshed 0002-cmd-go-make-content-based-hash-generation-less-pedan.patch
so it does not conflict with oe-core go recipes

Fixes #114

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-01-26 11:34:21 -08:00
Khem Raj
f0724d0ba3 packagegroup-core-tools-debug: Remove strace for rv32
It does not support rv32 yet

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-01-24 17:14:32 -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
fefdfec22a glibc: Update the RV32 glibc port
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
2020-01-23 15:56:03 -08:00
Alistair Francis
73c4369c76 linux-mainline: freedom-u540: Enable communicating with serial devices
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
2019-12-03 19:36:57 -08:00
Alistair Francis
cacdf0a2d4 linux-mainline: Upgrade to the 5.4 kernel
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
2019-12-03 12:17:56 -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
Robert Henry
0d5a7c956f Fix typo in setup.sh
s/unleased/unleashed/
2019-10-18 06:37:39 +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
Vijai Kumar K
98708e9065 Fix some minor typos in documentation
Fix minor typos in README.md and docs/Plasma-Mobile-on-Unleashed.md.

Signed-off-by: Vijai Kumar K <vijaikumar.kanagarajan@gmail.com>
2019-10-01 07:23:56 -07:00
Alistair Francis
55a188ec70 openssl: Update the RV32 append to 1.1.1d
While we are updating OpenSSL let's also update the patch based on the
latest submission.

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
2019-09-16 15:36:40 -07:00
Alistair Francis
270c8cb7c1 linux-mainline: Move some configs into the include file
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
2019-09-16 10:40:26 -07:00
Alistair Francis
90b51bb980 u-boot: Fix the mabc probing with 5.3 device tree
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>
2019-09-16 10:40:26 -07:00
Alistair Francis
fd7b332336 linux: Use the defconfig for freedom-u540
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>
2019-09-16 10:40:26 -07:00
Alistair Francis
df313e796d recipes-kernel: Update to the 5.3 kernel
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
2019-09-16 10:40:26 -07:00
Alistair Francis
1b726bf8bb ltp: Remove RISC-V Patches
These no longer appear to be required, so let's remove them.

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
2019-09-10 07:13:23 -07:00
Alistair Francis
11504e23cf libffi: Remove from meta-riscv
OE-Core is using libffi 3.3-rc0 so remove the duplication from
meta-riscv.

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
2019-09-07 15:06:16 -07:00
Alistair Francis
9fd71929aa linux-yocto_4.19: Remove qemuriscv64 compatibile
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>
2019-09-02 12:59:55 -07:00
Alistair Francis
296eb2c68b linux-yocto: Update the compatibility
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>
2019-09-02 12:59:55 -07:00