Commit graph

12 commits

Author SHA1 Message Date
c6719ea453 update to Starfive 3.0.4 release and bump Star64 Kernel to 5.15.115 2023-06-08 12:54:17 +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
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
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
70dd23e30d libsf-omxil: introduce CMake for better building 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