Commit Graph

151 Commits

Author SHA1 Message Date
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
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