Commit graph

490 commits

Author SHA1 Message Date
Cezary Sobczak
812ffc4068 nezha.wks: description of SD card image for Nezha D1 dev board
Signed-off-by: Cezary Sobczak <cezary.sobczak@3mdeb.com>
2022-03-30 18:54:52 -07:00
Cezary Sobczak
74162186df linux-nezha: add patch which fix build with binutils 2.28
Signed-off-by: Cezary Sobczak <cezary.sobczak@3mdeb.com>
2022-03-30 18:54:52 -07:00
Cezary Sobczak
8957d43a65 linux-nezha-dev: use custom version of kernel with paches for D1 chip
Signed-off-by: Cezary Sobczak <cezary.sobczak@3mdeb.com>
2022-03-30 18:54:52 -07:00
Cezary Sobczak
c3966f6d9c u-boot-nezha: add patch which fix build with binutils 2.28
Signed-off-by: Cezary Sobczak <cezary.sobczak@3mdeb.com>
2022-03-30 18:54:52 -07:00
Cezary Sobczak
3b2a050de6 u-boot-nezha: add patch which increase the CONFIF_SYS_BOOTM_LEN
If this value is not increased, the error occurs during loading uncompressed
kernel from fitImage:
"Error: inflate() returned -5
Image too large: increase CONFIG_SYS_BOOTM_LEN"

Signed-off-by: Cezary Sobczak <cezary.sobczak@3mdeb.com>
2022-03-30 18:54:52 -07:00
Cezary Sobczak
2e545ae6cc toc.cfg: add configuration file of TOC1 U-Boot image
Signed-off-by: Cezary Sobczak <cezary.sobczak@3mdeb.com>
2022-03-30 18:54:52 -07:00
Cezary Sobczak
863373eae4 uEnv-nezha.txt: U-Boot bootargs for Nezha board
Signed-off-by: Cezary Sobczak <cezary.sobczak@3mdeb.com>
2022-03-30 18:54:52 -07:00
Cezary Sobczak
4238405756 u-boot-nezha: add recipe with patches for Nezha board
Signed-off-by: Cezary Sobczak <cezary.sobczak@3mdeb.com>
2022-03-30 18:54:52 -07:00
Cezary Sobczak
03bcb870e7 opensbi: add patches for Nezha board
Signed-off-by: Cezary Sobczak <cezary.sobczak@3mdeb.com>
2022-03-30 18:54:52 -07:00
Cezary Sobczak
ff5e85cb6f opensbi: update mainline with patches to fit Nezha board
Signed-off-by: Cezary Sobczak <cezary.sobczak@3mdeb.com>
2022-03-30 18:54:52 -07:00
Cezary Sobczak
94a8a881a0 boot0: add patch which fix build with binutils 2.28
Signed-off-by: Cezary Sobczak <cezary.sobczak@3mdeb.com>
2022-03-30 18:54:52 -07:00
Cezary Sobczak
0d1c2fb125 boot0: add patch for Makefile to fit it with yocto build environment
Signed-off-by: Cezary Sobczak <cezary.sobczak@3mdeb.com>
2022-03-30 18:54:52 -07:00
Cezary Sobczak
6192951a50 boot0: add recipe of the Nezha SPL
Signed-off-by: Cezary Sobczak <cezary.sobczak@3mdeb.com>
2022-03-30 18:54:52 -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
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