Commit Graph

622 Commits

Author SHA1 Message Date
Alexey Firago
534eaf9336 u-boot-starfive: vf2: Update uEnv.txt
Align uEnv.txt with the Starfive SDK to boot from SD card.
uEnv sets required variables to read the fitImage from the
partition 3 on the SD card and rootfs is expected on the
partition 4.

Signed-off-by: Alexey Firago <alexey.firago@gmail.com>
2023-04-12 08:30:37 -07:00
Alexey Firago
a73da9374f u-boot-starfive: vf2: Rename uEnv.txt on deploy
Deploy uEnv.txt as vf2_uEnv.txt. This file is expected by the
Starfive U-Boot.

Signed-off-by: Alexey Firago <alexey.firago@gmail.com>
2023-04-12 08:30:37 -07:00
Alexey Firago
2294b6ced3 wic: visionfive2: Add wks for Visionfive2
Add wks with the layout similar to the Starfive SDK from here:
https://github.com/starfive-tech/VisionFive2/blob/JH7110_VisionFive2_devel/conf/genimage-vf2.cfg

Signed-off-by: Alexey Firago <alexey.firago@gmail.com>
2023-04-12 08:30:37 -07:00
Alexey Firago
9d5b57ae99 u-boot-starfive: Build u-boot-spl.bin.normal.out
Build and deploy u-boot-spl.bin.normal.out. It is used to boot from
SD Card.

Signed-off-by: Alexey Firago <alexey.firago@gmail.com>
2023-04-12 08:30:37 -07:00
Alexey Firago
88cd6525d6 jh7110-spl-tool: Add recipe
Add recipe for a jh7110 signature tool, which is used to generate
SPL header information and generate u-boot-spl.bin.normal.out.

Signed-off-by: Alexey Firago <alexey.firago@gmail.com>
2023-04-12 08:30:37 -07:00
Alexey Firago
971466319a u-boot: visionfive2: Add u-boot-starfive_v2021.10
Add u-boot-starfive_v2021.10.bb recipe to build U-Boot v2021.10
from https://github.com/starfive-tech/u-boot

Signed-off-by: Alexey Firago <alexey.firago@gmail.com>
2023-04-12 08:30:37 -07:00
Khem Raj
ed0e5ea92b python3-pyruvate: Port bbappend to work with 1.2.1 release
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-04-09 23:39:40 -07:00
Andreas Cord-Landwehr
38bda00f29 linux-starfive-dev: update starfive kernel for release 2.11.5 2023-04-09 07:36:11 -07:00
Andreas Cord-Landwehr
a739220862 visionfive2-firmware.inc: update to release 2.11.5 2023-04-09 07:36:11 -07:00
Andreas Cord-Landwehr
0fcaee9c79 mesa-pvr: refresh patches to remove fuzz 2023-04-09 07:36:11 -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
d1c7a8e0a6 gstreamer1.0-omx: Turn omx plugin into a bbappend
1.22 is in OE-core as well and make it like other machines e.g. rpi
where it gets a bbappend to do machine specifics

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-03-15 15:33:21 -07:00
Khem Raj
e4fd8d9714 sf-gst-omx: Upgrade to 1.22.0 to match core
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-03-15 15:33:21 -07:00
Khem Raj
b62643970c sf-gst-omx: Refresh patches to fix patch fuzz
Applying patch 0005-rank-257-for-sf-codecs.patch
patching file config/stf/gstomx.conf
Hunk #2 succeeded at 13 with fuzz 2.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-03-15 15:33:21 -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
Khem Raj
bcb10a0866 common/visionfive2-firmware: Upgrade to VF2_v2.10.4
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-03-15 15:33:21 -07:00
Khem Raj
0662549cc9 linux-firmware-visionfive2-imggpu: Use nonarch_base_libdir instead of hardcoded /lib
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-03-15 15:33:21 -07:00
Andreas Cord-Landwehr
880aa9b7e3 gstreamer1.0-plugins-bad: enable kms plugin for visionfive2
KMS plugin was successfully tested with:

gst-launch-1.0 --gst-debug=3 \
    filesrc location=testfile.mp4 ! \
    decodebin ! \
    kmssink driver-name=starfive
2023-03-06 10:19:34 -08:00
Andreas Cord-Landwehr
4436027cb5 visionfive2.conf: remove obsolete opensbi 2023-03-06 10:19:34 -08:00
Andreas Cord-Landwehr
70dd23e30d libsf-omxil: introduce CMake for better building 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
9ec49eb517 sf-gst-omx: introduce gst-omx fork
This GStreamer OpenMAX plugin fork applies the StarFive patchset needed
for VisionFive2.
2023-03-06 10:19:34 -08:00
Andreas Cord-Landwehr
f976eb10d9 libsf-omx: Package SF's libomx variant for OpenMAX 2023-03-06 10:19:34 -08:00
Andreas Cord-Landwehr
6824cc8154 libsf-codaj12: Package SF's JPEG coding library
Make upstream library build with horribly patched symlink and Makefile
fork combination. Need to be refactored to a decent build system.
2023-03-06 10:19:34 -08:00
Andreas Cord-Landwehr
f77d7fae36 libsf-wave420: Package WAVE420l Encoding library
Make upstream library build with horribly patched symlink and Makefile
fork combination. Need to be refactored to a decent build system.
2023-03-06 10:19:34 -08:00
Andreas Cord-Landwehr
e0036cf0a9 libsf-wave511: package WAVE511 decoder library
Make upstream library build with horribly patched symlink and Makefile
fork combination. Need to be refactored to a decent build system.
2023-03-06 10:19:34 -08:00
Andreas Cord-Landwehr
33a768b7fe linux-starfive-dev: update kernel to VisionFive2 tag 2.8.0 2023-03-06 10:19:34 -08:00
Andreas Cord-Landwehr
9f518257bb jpu-module: package JPU / CODAJ12 kernel module 2023-03-06 10:19:34 -08:00
Andreas Cord-Landwehr
dc7307c9d8 venc-module: add WAVE420l video encoder kernel module 2023-03-06 10:19:34 -08:00
Andreas Cord-Landwehr
078e82f929 linux-firmware-visionfive2-wave420l: package WAVE420L firmware blob 2023-03-06 10:19:34 -08:00
Andreas Cord-Landwehr
5af6643917 linux-firmware-visionfive2-imggpu: split IMG_GPU firmware blob
The firmware blob is architecture independent, move it to separate
package like all other firmware blobs to make rootfs creation simpler.
2023-03-06 10:19:34 -08:00
Andreas Cord-Landwehr
144f8b4270 linux-firmware-vision2-wave511: package WAVE511 firmware blob 2023-03-06 10:19:34 -08:00
Andreas Cord-Landwehr
aa3db726c5 vdec-module: add WAVE511 / vdec kernel module for video decoding 2023-03-06 10:19:34 -08:00
Andreas Cord-Landwehr
7e5e6ba709 visionfive2-firmware: introduce shared config for binary blob versions 2023-03-06 10:19:34 -08:00
Andreas Cord-Landwehr
6472a479dc linux-starfive-dev: set CMA memory for visionfive2 to 256MB
Running anything with decent UI like a KDE Plasma shell requires much
more than the default 8MB. Visible effect of too small buffer is heavy
flickering of UI, accompained by allocation errors in syslog.
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
49b8d8f36c xorg-xserver: configure X11 for usage on visionfive2 2023-03-06 10:19:34 -08:00
Andreas Cord-Landwehr
151ad83188 visionfive2-pvr-graphics: provide closed source PVR driver 2023-03-06 10:19:34 -08:00
Andreas Cord-Landwehr
e499180b5a mesa-pvr: Force VisionFive2 specific config for mesa-pvr fork
For changes, diff agains the initial inclusion of the mesa-pvr.inc file.
This patch now introduces simplifications or forced options that might
be problematic in general, but required for VisionFive2.
2023-03-06 10:19:34 -08:00
Andreas Cord-Landwehr
235a2c600a mesa-pvr: add patches from visionfive2 buildroot
This is a simply copy/paste of all existing patches from the VisionFive2
buildroot configuration.
2023-03-06 10:19:34 -08:00
Andreas Cord-Landwehr
0c9bf7388f mesa-pvr: initial fork of mesa.inc with patches 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
Andreas Cord-Landwehr
a7f82e4ab7 visionfive2: add initial kernel support 2023-03-06 10:19:34 -08:00
Andreas Cord-Landwehr
9710130a4e visionfive2: add initial u-boot support
Regarding uEnv, note that this is simply a fork of the version from the
Debian based SDK image, only appended by setting the bootargs.
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
2b4462e0d7 openocd: Upgrade to latest
Switch to gitsm fetcher

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
Khem Raj
a37e69820b u-boot: Always depend on openSBI do_deploy
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-03-05 14:47:40 -08:00
Khem Raj
b1a37d95e8 linux-mainline: Remove KERNEL_DEVICETREE
This is already set in machine conf correctly

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-03-05 14:47:40 -08:00