Commit graph

365 commits

Author SHA1 Message Date
Khem Raj
b022614bc4 musl: Add bits/reg.h for riscv32
Applications include sys/reg.h to get wordsize for architecture and such
applications would fail to build on rv32/musl if this header is not
provided

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-01-12 21:46:39 -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
7ca3cc6df1 README.md: Document Yoe distro as supporting risc-v architecture
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-11-18 11:26:40 -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
8d1b5e1cb9 packagegroup-self-hosted,packagegroup-core-eclipse-debug: Adjust for riscv32
strace tcf-agent are not yet buildable on riscv32 so remove them from
depchain

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
38cbe72085 perf: Fix build on rv32
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-11-18 11:26:40 -08:00
Khem Raj
11df9a2bc3 ltp: Make 64bit time_t futex patch generic
This fixed build on glibc/rv32 as well

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
1a8261c677 musl: Refresh patch on top of latest musl
Wire new syscalls upto 5.8 kernel for rv32

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-10-31 23:06:42 -07:00
Khem Raj
9a75ffbb21 mesa: Remove bbappend
This issue is fixed differently and patched in oe-core

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-10-20 20:57:03 -07:00
Khem Raj
ca97886a1e boost: Drop bbappend
This issue is fixed differently and patched in oe-core

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-10-20 20:57:03 -07: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
21abe9ccf7 musl: add rv32 support
Patches are under discussion in musl ml, this provides a way to test it
further on Yocto

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Stefan O'Rear <sorear@fastmail.com>
2020-09-12 13:50:07 -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
Stefan O'Rear
bcb2888ddc Use https URLs to fetch repositories
Signed-off-by: Stefan O'Rear <sorear@fastmail.com>
2020-09-01 15:07:08 -07:00
sungwon.pino
176afa5fad mesa : Fix patch-fuzz waring message when build qemuriscv32
Signed-off-by: sungwon.pino <sungwon.pino@gmail.com>
2020-08-31 08:54:42 -07:00
Alistair Francis
6ca7222f59 glibc: Update to use upstream
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
2020-08-28 17:40:44 -07:00
sungwon.pino
e7c5476aed linux-yocto : Support kernel 5.8 for riscv32
Kernel 5.8 already on stable state in linux-yocto
To support both kernel 5.8 and 5.4 for riscv32
renamed bbappend file

Signed-off-by: sungwon.pino <sungwon.pino@gmail.com>
2020-08-26 15:22:04 -07:00
Alistair Francis
961eff25ca glibc: Update to the latest upstream submission
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
2020-08-25 23:13:24 -07:00
sungwon.pino
fc26818495 README.md : Remove LSB related content that is deprecated
No longer support Linux Standard Base (LSB) since version 3.0
core-image-lsb-sdk recipes are removed
So remove the related content

https://www.yoctoproject.org/docs/3.0/ref-manual/ref-manual.html#migration-3.0-lsb-support-removed

Signed-off-by: sungwon.pino <sungwon.pino@gmail.com>
2020-08-25 13:52:53 -07:00
Khem Raj
c1441320fa openocd: Fix build with gcc10/-fno-common
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-08-15 19:04:53 -07:00
Alistair Francis
4b8e715aec glibc: Update to a later patch version
Update the glibc RV32 to a more recent patch version. Remove some
backported patches that don't apply as we already have them merged.

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
2020-07-28 22:39:57 -07:00
sungwon.pino
4354bf2888 README.md: Minor fix to using wayland image for HiFive Unleashed board
Signed-off-by: sungwon.pino <sungwon.pino@gmail.com>
2020-07-24 08:43:06 -07:00
Alistair Francis
6472e4ca84 Add a CONTRIBUTORS file
The list of people was generated with:

git log | grep Signed | sort | uniq

Also update the LICENSE file to point to the new file.

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
2020-07-20 20:32:07 -07:00
Alistair Francis
d4fb366167 init-ifupdown: Remove the qemuriscv64 specific ifupdown script
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
2020-07-17 11:00:35 -07:00
Khem Raj
d067333e5b go-dep: Remove bbappend
Patch has been moved to oe-core

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-07-13 08:42:50 -07:00
Khem Raj
d185d0ae87 go: Remove the recipes
OE-Core now has 1.14 since dunfell release which supports riscv64 out of
box

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-07-13 08:42:50 -07:00
Khem Raj
d2de1c5ea8 openocd: Update to the latest SHA
Fixes build failure on rv64

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-06-20 11:27:58 -07:00
Alistair Francis
da23f115b4 openocd: Use the fork when building for x86 host machines
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
2020-05-20 13:04:29 -07:00
Alistair Francis
a2b88b2959 openocd: Update to the latest SHA
Update the RISC-V fork of OpenOCD to the SHA.

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
2020-05-20 13:04:29 -07:00
Alistair Francis
5c38329a8a .travis.yml: Update the Ubuntu distro
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
2020-05-19 20:24:17 -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
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