Commit Graph

463 Commits

Author SHA1 Message Date
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
Khem Raj
c0dffa7c60 wic/beaglev.wks: Use legacy msdos partition table
Ensures that dynamic resizing of the SD card works
since 96boards-tools package somehow breaks otherwise

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-05-18 12:40:18 -07:00
Khem Raj
7828a18b90 linux-firmware-beaglev-bcm43430: Add recipe
This packages bluetooth/Wifi firmware blobs into a package

Help lld linker
Use -mno-relax to compile the kernel with clang
when using lld for linker ( with LLVM=1 )

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-05-18 12:40:18 -07:00
Steve Arnold
c168aab9f1 linux-starfive: bump to latest version on non-dev branch
Signed-off-by: Steve Arnold <nerdboy@gentoo.org>
2021-05-14 08:49:04 -07:00
Khem Raj
35d1d58492 beaglev.wic: Do not mark gpt for partition table
partition resizing scripts fail e.g.

Error: Unable to satisfy all constraints on the partition.

This helps in ensuring that parition resizing works well using
IMAGE_INSTALL += "96boards-tools"

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-05-13 17:44:37 -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
3084768a1d linux-starfive: Enable stmmac.chain_mode and earlycon
stmmac.chain_mode=1 is needed for ethernet to work
earlycon for more verbose msgs on console

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-05-13 17:44:37 -07:00
Khem Raj
4d48df9c05 linux-starfive: Enable power reset via TPS65086
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-05-11 17:04:45 -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
84ebe7b9d1 wifi.cfg: Make bcmdhd as module
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-05-11 17:04:45 -07:00
Khem Raj
edb57675d2 extra.cfg: Disable marvell phy
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-05-11 17:04:45 -07:00
Khem Raj
b868afe69d linux-starfive_5.10.bb: Update to latest on fedora branch
Drop upstreamed patch

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-05-11 17:04:45 -07:00
Khem Raj
d21287ab69 linux-starfive: Enable BCMDHD wifi module
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-05-11 17:04:45 -07:00
Khem Raj
7e3f2fe06b linux-starfive: Enable micrel module
This is required for ethernet to work

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-05-11 17:04:45 -07:00