Commit graph

192 commits

Author SHA1 Message Date
7832236b10 Drop the initramfs, bump kernel and enable splash screen 2023-09-21 18:02:53 +08:00
7ad189c76f Fix up splash screen commandline and bump kernel with new v4l2-m2m wave5 driver 2023-09-09 00:49:45 +08:00
8ab08c866b
Ptv (#1)
* initial ptv config

* Latest Updates:

* Move Charger Driver over to TI BQ25890 driver from mainline (and backport from 6.5 release)
* Fix up BQ25890 to work with the SC89890H which is in the PtV
* Drop vendor es8316 patches and backport es8316 patches from 6.5
* Update DT file for
 - New Charger Driver, with battery and charger profiles derived from PT2
 - Fix rfkill for BT/Wifi (was using incorrect GPIO and radio-type
 - change hall sensors to emit SW_LID event
 - add simple-battery profile from PT2 (needs a audit of used params tho)
 - Fix Camera Flash Entry
 - Fix backlight off by setting PullDown Mode on Backlight GPIO
 - Start work on es8316 dt entry.
 - add speaker_amp entry to turn on/off speakers when not used
 - add audio routing and widgets based on PineBook Pro

* Update PtV kernel and new image layout specifically for PtV
2023-08-18 22:50:39 +08:00
c6719ea453 update to Starfive 3.0.4 release and bump Star64 Kernel to 5.15.115 2023-06-08 12:54:17 +08:00
3a5c25c806 Fix up opensbi for JH7110, use the PVR mesa branch for GLES2, update uboot to 3.0.4 release from Starfive 2023-06-06 00:49:10 +08:00
a4905cf43a Small Updates for Star64 2023-04-29 16:19:20 +08:00
3f010e9723 Fix fitImage name 2023-04-21 17:02:07 +08:00
650490e644 Fix VisionFive 2 boot and Add Star64 Board
Several issues with the current visionfive 2 support:
* JH7110 Support is only in OpenSBI Master branch, (upcoming 1.3 release).  So pin OpenSBI Revision to the commit that adds JH7110 Support otherwise reset etc does not work
* There are two variants of VisionFive2 and Star64 - 4Gb and 8Gb. StarFive's u-boot reads the eeprom on board to determine what variant you have, and modifies the loaded FDT it passes to the kernel with the correct Memory. Current U-boot scripts in meta-riscv do not do this, and thus all boards end up with the default 4Gb configuration. I've updated this for Star64, but needs testing on VF2

* Some of the addresses used in uboot for kernel/initramfs or fdt were different from upstream. Aligned the addresses with upstream StarFive.

As both Star64 and VisionFive2 are based on the same SOC, i've changed the machine configuration so we have a JH7110 SOC and VisionFive2 and Star64 inherit from this. Where appropriate in the recipies, I've changed to jh7110 instead of visionfive2

Finally, as the Star64 has different kernel/u-boot configs/dts files, i've pointed those at my repos for now, and will be upstreaming (assuming Starfive accept star64 related PRs). Once upstreamed, I'll submit a new PR here.

This also lays the groundwork for the new PineTab-V from pine64 which is due to be shipped in May.

Signed-Off-By: Justin Hammond <justin@dynam.ac>
2023-04-18 17:01:54 -07:00
Alexey Firago
7dc4ca0f05 visionfive2: Create a bootable SD card
* Use visionfive2.wks
* Install required files on the boot partition

Signed-off-by: Alexey Firago <alexey.firago@gmail.com>
2023-04-12 08:30:37 -07:00
Khem Raj
9947c1a18b glib-networking: Skip texrel QA check
This fails with latest glib-networking tests

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-03-27 16:20:14 -07:00
Khem Raj
9dd9c7319c procps: Ignore textrel for rv32/rv64
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-03-15 15:33:21 -07:00
Andreas Cord-Landwehr
4436027cb5 visionfive2.conf: remove obsolete opensbi 2023-03-06 10:19:34 -08:00
Andreas Cord-Landwehr
c80df081ea visionfive2.conf: recommend VPU kernel modules and use custom omx-il 2023-03-06 10:19:34 -08:00
Andreas Cord-Landwehr
285d532bc1 visionfive2.conf: configure mesa, egl and gles provider 2023-03-06 10:19:34 -08:00
Andreas Cord-Landwehr
13dbc9532e visionfive2: add machine config
Config is a fork of the original visionfive config, only adapted for new
DTB, Kernel etc.
2023-03-06 10:19:34 -08:00
Khem Raj
9ea5bafc89 plocate: Ignore textrel QA error
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-03-05 14:47:40 -08:00
Khem Raj
db2c685a62 systemd: Ignore textrel QA errors
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-03-05 14:47:40 -08:00
Khem Raj
fdb862d329 freedom-u540: Do not use u-boot.bin payload
Use Booting from MMC using U-Boot SPL method instead

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-03-05 14:47:40 -08:00
Pavel Zhukov
06e529beb2 mangopi-mq-pro: Sync DTS with kernel
At this point DTSes differ between d1/wip branch of the kernel
and corresponding branch of u-boot. Mangopi-MQ-Pro dts is missed in
u-boot part which leads to missing devices nodes (bluetooth in
particular). Sync dts and pin patch to mangopi only to not affect Nezha.

Signed-off-by: Pavel Zhukov <pavel@zhukoff.net>
2023-02-09 16:43:45 -08:00
Pavel Zhukov
0539e6e8fa u-boot: Rename nezha to allwinnerd1
Use SOC name (Allwinner D1) instead of board name for
generic recipes.
Move board specific configuration to corresponding machine conf

Signed-off-by: Pavel Zhukov <pavel@zhukoff.net>
2023-02-09 16:43:45 -08:00
Pavel Zhukov
3dd66f6ce2 linux-nezha: Rename nezha to allwinner D1
Move board specific configuration into machine conf

Signed-off-by: Pavel Zhukov <pavel@zhukoff.net>
2023-02-09 16:43:45 -08:00
Pavel Zhukov
078b646d4d mangopimqpro: Enable bluetooth and split recipe
Signed-off-by: Pavel Zhukov <pavel@zhukoff.net>
2023-02-09 16:43:45 -08:00
Pavel Zhukov
f4d336cb7e conf/machine: Add mangopi-mq-pro machine
Based on Nezha D1 machine config with addjusterd DTB configuration
and added wifi module driver.
Tested with core-image-(base|weston) on MangoPi MQ Pro rev 1.3:
- HDMI output/weston and wifi are working. USB-C ethernet detected but not
  tested due to lack of HW.

Signed-off-by: Pavel Zhukov <pavel@zhukoff.net>
2023-02-05 19:30:23 -08:00
Alistair Francis
d6e3efd54a freedom-u540: Drop OpenSBI from EXTRA_IMAGEDEPENDS
We don't need to specify OpenSBI in EXTRA_IMAGEDEPENDS to ensure it's
built and if we specify it we get circular dependencies with the u-boot
RSA signing code, so let's drop it.

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
2023-01-09 11:38:28 -08:00
Alistair Francis
69e9a40078 freedom-u540: Use the generic OpenSBI platform
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
2023-01-09 11:38:28 -08:00
Andreas Cord-Landwehr
05a629193a boot0: Remove obsolete boot0 package 2023-01-08 08:07:38 -08:00
Khem Raj
3b122e49f7 layer.conf: Update LAYERSERIES_COMPAT for mickledore
oe-core switched to mickedore [1]

[1] https://git.openembedded.org/openembedded-core/commit/?id=57239d66b933c4313cf331d35d13ec2d0661c38f

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-01-04 16:28:20 -08:00
Khem Raj
e991571ecb pcsc-lite: Ignore textrel on rv32
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-01-04 16:28:20 -08:00
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