Commit Graph

164 Commits

Author SHA1 Message Date
Khem Raj
1747c90f6d pcsc-lite: Disable textrel QA check
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-12-29 11:11:03 -08:00
Khem Raj
dc77d097a8 layers: Add langdale to LAYERSERIES_COMPAT
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-09-29 20:31:50 -04:00
Khem Raj
809ed4e642 vulkan-cts: Skip textrel QA check
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-09-09 08:25:12 -07:00
Khem Raj
0ac97b8223 libnl: Ignore textrel on rv64/rv32
Fixes build QA
ERROR: libnl-1_3.7.0-r0 do_package_qa: QA Issue: libnl-ptest: ELF binary /usr/lib/libnl/ptest/check-all has relocations in .text [textrel]
ERROR: libnl-1_3.7.0-r0 do_package_qa: Fatal QA errors were found, failing task.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-08-22 09:52:06 +10:00
Yu Chien Peter Lin
361b62de5a ae350-ax45mp.conf: add machine configuration for Andes AE350 ax45mp
Signed-off-by: Yu Chien Peter Lin <peterlin@andestech.com>
2022-08-15 08:56:10 -07:00
Khem Raj
7ed34745e2 minio: Skip textrel QA error
Fixes
ERROR: QA Issue: minio: ELF binary /usr/sbin/mc has relocations in .text [textrel]

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-07-13 08:41:40 -04:00
Richard Purdie
d16bc5a3f2 visionfive: Add initial support for Starfive Visionfive board
This is largely based on the beaglev code nbut tweaked to work with current
starfive kernel repositories and tweak to the board.

The kernel and rootfs boot with working network and graphics. The u-boot
binary builds but is as yet untested.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-07-05 07:09:47 -04:00
Khem Raj
eac1fdeda3 tgt: Skip textrel check
fixes
ERROR: tgt-1.0.79+gitAUTOINC+b43dbc6711-r0 do_package_qa: QA Issue: tgt: ELF binary /usr/sbin/tgtd has relocations in .text [textrel]

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-05-04 06:11:24 -07:00
Thomas Perrot
257dc53ee9 python3-pyruvate: Move to dynamic-layer for meta-python
Currently meta-riscv does not parse unless meta-python is present.

Moreover, it does not appear that anything explicitly depends on
python3-pyruvate in the layer.

Signed-off-by: Thomas Perrot <thomas.perrot@bootlin.com>
2022-04-14 08:07:52 -07:00
Khem Raj
eb51109611 libcereal: Skip textrel QA check on rv32/rv64
Fixes
QA Issue: libcereal-ptest: ELF binary /usr/lib/libcereal/ptest/tests/test_unordered_multimap has relocations in .text

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-04-11 17:22:07 -07:00
Cezary Sobczak
42a5479dbc nezha-allwinner-d1.conf: add machine configuration for Nezha board
Signed-off-by: Cezary Sobczak <cezary.sobczak@3mdeb.com>
2022-03-30 18:54:52 -07:00
Khem Raj
bd88940ab6 apache2,go: Ignore textrels on rv64/rv32
Fixes
ERROR: apache2-2.4.53-r0 do_package_qa: QA Issue: apache2: ELF binary /usr/sbin/httpd has relocations in .text [textrel]
ERROR: apache2-2.4.53-r0 do_package_qa: Fatal QA errors were found, failing task.

ERROR: go-1.18-r0 do_package_qa: QA Issue: go: ELF binary /usr/lib/go/pkg/tool/linux_riscv64/trace has relocations in .text
go: ELF binary /usr/lib/go/pkg/tool/linux_riscv64/pprof has relocations in .text
go: ELF binary /usr/lib/go/bin/go has relocations in .text [textrel]

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-03-28 08:56:23 +10:00
Khem Raj
778ea8390a conf: Drop using image-prelink
image-prelink has been removed in latest yocto ( kirkstone + )
Fixes Issue #325

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-03-24 23:27:55 -07:00
Khem Raj
7deee0ded5 jemalloc: Ignore textrels on rv32 as well
ptests end up with textrels

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-03-06 08:31:13 -08:00
Daiane Angolini
576cfff181 baremetal-riscv32nf: Fix typo in syntax override 2022-03-03 11:02:52 -08:00
Khem Raj
b3550462b3 layers: Bump to use kirkstone
its not going to be backward ABI compatible with honister due to variable renaming.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-02-22 08:51:48 -08:00
Khem Raj
18227c1de0 layer.conf: Ignore textrels for jemalloc
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-02-05 15:31:09 -08:00
Bernhard Rosenkränzer
d827208a38 conf/machine: Add baremetal-riscv32nf config
Add baremetal-riscv32nf config for RISC-V32 machines without
floating point instructions (e.g. Hi3861)

Signed-off-by: Bernhard Rosenkränzer <bernhard.rosenkraenzer.ext@huawei.com>
2021-12-09 16:26:54 -08:00
Khem Raj
ce23c3abea qemu: Do not remove it from riscv32
This change is now in oe-core

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-11-16 08:45:02 -08:00
Khem Raj
c7bf2d42de apitrace: Skip textrel QA error
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-11-03 23:32:59 -07:00
Khem Raj
47faa00832 gn: Ignore textrel build QA errors
Fixes
ERROR: QA Issue: gn: ELF binary /usr/bin/gn has relocations in .text [textrel]

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-10-11 14:24:06 -07:00
Khem Raj
108530d4da lttng-tools: Skip textrel on rv64
Latest version is causing QA errors e.g.

ERROR: lttng-tools-2.13.0-r0 do_package_qa: QA Issue: lttng-tools: ELF binary /usr/lib/lttng/libexec/lttng-consumerd has relocations in .text
lttng-tools: ELF binary /usr/bin/lttng has relocations in .text
lttng-tools: ELF binary /usr/bin/lttng-crash has relocations in .text
lttng-tools: ELF binary /usr/bin/lttng-relayd has relocations in .text
lttng-tools: ELF binary /usr/bin/lttng-sessiond has relocations in .text [textrel]

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-09-13 15:27:26 -07:00
Khem Raj
ad95ffb93a layer.conf: Drop compatibility with older than hardknott releases
New override syntax requires it

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-08-04 23:14:25 -07:00
Khem Raj
5a3ff76ae5 meta-riscv: Convert to new override syntax
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-08-04 23:14:25 -07:00
Alistair Francis
409e612587 freedom-u540: Update the u-boot defconfig
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
2021-07-21 10:27:49 -07:00
Khem Raj
f00613c067 beaglev: Use linux-starfive-dev as default kernel
As we are in rapid dev phase, lets all use dev kernel
since older branches while work do not have all the latest
porting work

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-06-08 10:50:39 +10:00
Khem Raj
98742ca775 beaglev: Adjust machine conf for renamed device tree file
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-06-08 10:50:39 +10:00
Khem Raj
0978ff3e19 fish: Skip textrels on rv32/rv64
Ignore Build QA errors for now

fish-3.2.2: fish: ELF binary /usr/bin/fish_key_reader has relocations in .text
fish: ELF binary /usr/bin/fish_key_reader has relocations in .text
fish: ELF binary /usr/bin/fish_indent has relocations in .text
fish: ELF binary /usr/bin/fish_indent has relocations in .text
fish: ELF binary /usr/bin/fish has relocations in .text
fish: ELF binary /usr/bin/fish has relocations in .text [textrel]

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-06-08 10:50:39 +10:00
Alistair Francis
7d7705abc9 beaglev-starlight-jh7100: Use the u-boot DTB for OpenSBI
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
2021-06-07 16:40:56 -07:00
Alistair Francis
acc633ec4b beaglev: opensbi: Use mainilne OpenSBI
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
2021-06-01 19:46:28 -07:00
Khem Raj
8b821bd50c linux-starfive-dev: Add recipe
This is Emil's upstream tree for beagleV

Also Enable wifi

This ensures that right firmware is installed into image
and we can now have wlan0

oot@beaglev-starlight-jh7100:~# ifconfig -a
eth0      Link encap:Ethernet  HWaddr 2C:F7:F1:1B:E3:33
          inet addr:10.0.0.31  Bcast:10.0.0.127  Mask:255.255.255.128
          inet6 addr: fe80::2ef7:f1ff:fe1b:e333/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:21 errors:0 dropped:0 overruns:0 frame:0
          TX packets:25 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:4317 (4.2 KiB)  TX bytes:4436 (4.3 KiB)
          Interrupt:20

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:10 errors:0 dropped:0 overruns:0 frame:0
          TX packets:10 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:1746 (1.7 KiB)  TX bytes:1746 (1.7 KiB)

wlan0     Link encap:Ethernet  HWaddr D4:9C:DD:4A:C2:DD
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-05-13 17:44:37 -07:00
Khem Raj
a680163804 linux-starfive: support TPS65086 restart
apply patches from
https://github.com/starfive-tech/linux/issues/8

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-05-11 17:04:45 -07:00
Khem Raj
e4697fa5d0 opensbi-starfive: Rename to opensbi_starfive-0.8.0.bb
This makes the main recipe PN same as the one in core, but gives it
starfive flavor in PV, this then becomes nice to include it via
PREFERRED_VERSION mechanism.

Additionally, this also means that it gets picked up in world builds for
beaglev and OE-Core recipe is not preferred, as of now, it tries to
build both, since they are seen as different packages by bitbake due to
different PN

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-05-09 16:54:57 -07:00
Khem Raj
b2dc925caa freedom-u540.conf: Remove clang runtime from ASSUME_PROVIDED
this is no longer needed

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-05-09 16:54:57 -07:00
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
Alistair Francis
c881a6ede3 machine/beaglev-starlight-jh7100: Use fitImage
Update the boot process to follow the HiFive1.

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
2021-05-06 17:12:08 -07:00
Alistair Francis
48bc14dcd8 machine/beaglev-starlight-jh7100: Fix serial console
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
2021-05-06 17:12:08 -07:00
Maciej Pijanowski
d31a8ed0ae beaglev: add 1st on-hardware test results
Signed-off-by: Maciej Pijanowski <maciej.pijanowski@3mdeb.com>
2021-05-06 17:12:08 -07:00
Maciej Pijanowski
631ea77d4a beaglev-starlight-jh7100.conf: add wic.bmap IMAGE_FSTYPE
Signed-off-by: Maciej Pijanowski <maciej.pijanowski@3mdeb.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
0e5a6d0cc7 beaglev-starlight-jh7100.conf: remove comment about SBI_PAYLOAD
Signed-off-by: Maciej Pijanowski <maciej.pijanowski@3mdeb.com>
2021-05-06 17:12:08 -07:00
Maciej Pijanowski
4c4c29aeeb beaglev-starlight-jh7100.conf: remove leftovers from freedom-u540.conf
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
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