Commit graph

476 commits

Author SHA1 Message Date
Alistair Francis
3ab3c4024d recipes-kernel: linux: Set SRCPV and PV
Set SRCPV and PV, this avoids errors when using devtool with the
linux-mainline.

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
2022-03-30 09:36:41 -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
Alistair Francis
717c2ec609 linux-mainline: Bump to 5.17
Bump the linux-mainline to the 5.17 release. This means we are also
dropping the old SiFive U540 PCIe patches as they are no longer
maintained and the board is rarley used.

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
2022-03-23 22:31:26 -07:00
Khem Raj
37aa7ac6fb python3-pyruvate: Fix build on riscv32/musl
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-03-19 18:53:50 -07:00
Khem Raj
870f72e377 python3-cryptography: Fix build on rv32/musl
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-03-19 18:53:50 -07:00
Khem Raj
c028c49fda musl: fix inconsistent ucontext_t struct tag for rv32
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-03-16 15:22:40 -07:00
Khem Raj
36469c1189 librsvg: Forward port rv32 libc patch
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-03-16 15:22:40 -07:00
Khem Raj
e9735bc8f7 libstd-rs: Forward port rv32 patch to 1.59.0 rust release
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-03-16 09:12:42 -07:00
Khem Raj
b81bc2eb72 recipes: Use SPDX naming convention for LICENSE
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-03-06 21:52:53 -08: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
fe6fc0b271 linux-firmware-beaglev-bcm43430: Update SRC_URIs for brcm firmware
branches have moved. Adjust

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-02-28 23:56:02 -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
Khem Raj
33df8de5f7 libstd-rs: Forward port rv32 musl support to 1.58.x release
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-02-05 15:31:09 -08:00
Khem Raj
9fb725c935 busybox: Apply bbappend to 1.35
1.35 is now in Core

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-01-13 15:48:18 +10:00
Khem Raj
9561639c61 libseccomp: Substitute valid release number
This helps to ensure that a valid version is encoded for libseccomp
consumers, We dont need it generally since the release comes from a
release branch but rv32 port is on a staging branch of main where
release number is not coded yet and set to 0.0.0

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-12-12 22:03:40 -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
68cce2c873 libseccomp: Use fork for libseccomp on rv32
libseccomp support is not yet upstreamed.

see https://github.com/seccomp/libseccomp/pull/327

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-12-09 09:22:07 -08:00
Khem Raj
a0d27eca24 librsvg: Fix build on musl/rv32
Apply needed libc patch

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-11-16 08:45:02 -08:00
Khem Raj
4852643627 libstd-rs: Add support for musl/riscv32
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-11-16 08:45:02 -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
a6bff45243 busybox: Migrate bbappend to 1.34
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-08-29 16:25:51 -07:00
Khem Raj
2392e1f99d recipes: Convert to newer override syntax
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-08-04 23:14:25 -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
3d3801aff7 linux-firmware-beaglev-bcm43430: Update the binary links
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
2021-07-21 10:28:23 -07:00
Alistair Francis
e02afd1cc3 linux: freedom-u540: Remove the extra firmware requirements
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
2021-07-21 10:27:49 -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
e8e0eef916 linux-starfive-dev: Dev has now moved to 5.14 for version
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-07-14 17:58:23 -07:00
Khem Raj
a1828a51a6 linux-starfive-dev: Use renamed defconfig for beaglev
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-06-21 00:06:22 -07:00
Khem Raj
276941d993 linux-starfive_5.12.bb: Update to 5.12.10
Aligns with DT rename with -dev branch

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-06-13 18:21:31 -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
5c5c7964c7 linux-starfive-dev.bb: Switch to starfive-tech fork
This is new dev branch for beagleV 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
4b1cfe89fd wic/beaglev.wks: Remove workaround to force msdos partition table
The issue was in partition resizing script which has been found and
fixed for GPT see [1]

Therefore we can switch back to GPT parition layout now

[1] https://github.com/96boards/96boards-tools/pull/15

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
f93cce53b7 recipes-bsp/opensbi: Drop the BeagleV patch
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
2021-06-07 16:40:56 -07:00
Alistair Francis
9679cdd2c8 recipes-bsp/u-boot: Switch back to starfive u-boot
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
2021-06-07 16:40:56 -07: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
Alistair Francis
f2a2d890ee docs/BeagleV.md: Update the BeagleV documentation
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
2021-05-31 07:41:32 -07:00
Khem Raj
1f6605cb48 ghostscript: Drop setting objarch.h for rv32/rv64
latest version in oe-core does not need it

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-05-27 07:12:39 -07:00
Khem Raj
cb86766bf7 setup.sh: Drop image-mklibs
image-mklibs has been removed from OE core layer

Fixes #289

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-05-27 07:12:39 -07:00
Khem Raj
83fc7164d7 u-boot-starfive: Move to Fedora_VIC_7100_2021.04 branch
Fedora is rename to this new name
Update to tip of branch while here

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-05-26 16:10:06 -07:00
Khem Raj
244f5e7805 opensbi_starfive: Switch to StarFive_VIC_7100 branch name
Fedora branch seems to have disappeared ( perhaps renamed to
StarFive_VIC_7100) but StarFive_VIC_7100 is now default branch on github
so lets switch to that

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-05-26 16:10:06 -07:00