Commit graph

641 commits

Author SHA1 Message Date
7832236b10 Drop the initramfs, bump kernel and enable splash screen 2023-09-21 18:02:53 +08:00
d05ad6fddd Bump git kernel revision hash 2023-09-19 14:05:32 +08:00
d1a6ed16c7 Bump Kernel 2023-09-19 13:40:14 +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
ea2bc5eb8f Kernel 5.15.128 2023-08-28 23:28:38 +08:00
55a02449b3 Bump Kernel 2023-08-28 22:24:10 +08:00
49e36737e2 bump Kernel Version 2023-08-21 17:15:42 +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
2a27909f0d Bump Kernel Revision 2023-06-10 18:05:11 +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
bb723a11b1 Bump Kernel Version for Star64 2023-05-16 02:03:21 +08:00
479ac1523b Fix up BusyBox appendfile 2023-04-30 00:14:31 +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
95bcec122e fix do_deploy for VisionFive2 2023-04-21 14:11:06 +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
Leonard Anderweit
bdd0297be6 wic: visionfive2: Fix root partition name
Rename the root partition from 'boot' to 'root'.

Signed-off-by: Leonard Anderweit <leonard.anderweit@gmail.com>
2023-04-17 15:30:42 -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
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