Commit Graph

119 Commits

Author SHA1 Message Date
carter.li 4e5d8dddcf hifi4: init hifi4 sof firmware package
init hifi4 sof firmware package

Signed-off-by: carter.li <carter.li@starfivetech.com>
2023-11-28 15:43:17 +08:00
Andy Hu 74bd59a052 qt_test: add qt test example package
Signed-off-by: Andy Hu <andy.hu@starfivetech.com>
2023-11-28 15:43:17 +08:00
ziv.xu d2bdf6ee04 starfive: starfive-firmware: replace ap6256 wifi firmware
replace ap6256 wifi firmware

Signed-off-by: ziv.xu <ziv.xu@starfive.com>
2023-11-28 15:43:17 +08:00
ziv.xu f87ba1839f starfive: starfive-firmware: modify ap6256 bt startup script
modify ap6256 bt startup script

Signed-off-by: ziv.xu <ziv.xu@starfive.com>
2023-11-28 15:43:17 +08:00
Mason Huo 6de31c3258 package: starfive: Add rtl8852bu usb bt firmware
Remove the upstream rtl8852bu usb bt firmware
since it's not working on the module.
Add the firmware in starfive-firmware package.

Signed-off-by: Mason Huo <mason.huo@starfivetech.com>
(cherry picked from commit 81c746485c38c4ea971b32d1e22040e295efe178)
2023-11-28 15:43:17 +08:00
ziv.xu 832e2a768a starfive-firmware: improve BT startup script
improve BT startup script

Signed-off-by: ziv.xu <ziv.xu@starfive.com>
(cherry picked from commit 0ae7b4023e2e1cb5186964f0f2af82db506f771e)
2023-11-28 15:43:17 +08:00
ziv.xu 1824bba224 starfive:add autoload bluetooth firmware function
add autoload bluetooth firmware function

Signed-off-by: ziv.xu <ziv.xu@starfive.com>
2023-11-28 15:43:17 +08:00
Andy Hu 88f9b66444 starfive: add starfive-firmware package
add below firmware:
BR2_PACKAGE_STARFIVE_FIRMWARE_AP6256_BLUETOOTH
BR2_PACKAGE_STARFIVE_FIRMWARE_AP6256_SDIO_WIFI

add ap6256 bluetooth and sdio wifi firmware
files to /lib/firmware/.

for addtional firmware file, we can also add it
like this way.

Signed-off-by: Andy Hu <andy.hu@starfivetech.com>
2023-11-28 15:43:17 +08:00
zejian.su 79a633c38a Fix the libcamera-still bug at low resolution (redmine #8306).
Set the raw stream's resolution too.

Signed-off-by: zejian.su <zejian.su@starfivetech.com>
2023-11-16 10:15:29 +08:00
zejian.su 4c4ac467c9 Make the qt preview work in SDK/VF2/DEVDIT.
1. Fill the NV12 data into the QT buffer.
2. For the low performance of QWidget, reduce the FPS to 15.
3. Remove the EGL preview option because its code can't work well.

The qt supported patch has been verified on the VF2 with qt5 (linuxfb plugin).

Signed-off-by: zejian.su <zejian.su@starfivetech.com>
2023-11-16 10:11:47 +08:00
zejian.su f671a1a5e9 Let-the-option-width-height-work-again
Signed-off-by: zejian.su <zejian.su@starfivetech.com>
2023-11-09 12:55:42 +08:00
zejian.su 5b3def098d Fix the bug in libcamera-vid.
It prompt: failed to open v4l2 H264 encoder.
The reason is loss if encoder options and definement.

Sign-off-by: zejian.su <zejian.su@starfivetech.com>
2023-11-09 12:54:42 +08:00
zejian.su e50c6c1b2b Make 5 libcamera-apps work. They are libcamera-hello, libcamera-jpeg, libcamera-still, libcamera-raw, libcamera-vid
Signed-off-by: zejian.su <zejian.su@starfivetech.com>
2023-11-01 17:58:58 +08:00
Andy Hu 149bf80967 Merge tag 'JH7110_515_SDK_v5.8.1' into jh7110-mm-devel 2023-10-18 19:32:00 +08:00
Som Qin 5ac204f16b gst-omx: Set a env "SF_OMX_SLICE" when nSliceHeight > nFrameHeight.
Env variables are set to bypass the negotiation mechanism to direct display
with drm(kmssink).

Signed-off-by: Som Qin <som.qin@starfivetech.com>
2023-10-18 10:46:58 +08:00
shanlong.li 4d710a485c gpu📦 update gpu package hash
update gpu package hash

Signed-off-by: shanlong.li <shanlong.li@starfivetech.com>
2023-10-16 20:05:17 -07:00
Andy Hu 44968ea608 Merge tag 'JH7110_515_SDK_v5.8.0' into jh7110-mm-devel 2023-10-11 18:20:18 +08:00
Andy Hu 298d72c54f v4l2test: add option to specify the frame number
Signed-off-by: Andy Hu <andy.hu@starfivetech.com>
2023-10-10 19:45:32 +08:00
Andy Hu 5da7bbe6a4 Merge tag 'JH7110_515_SDK_v5.5.0' into jh7110-mm-devel 2023-08-07 16:22:18 +08:00
Som Qin a8e5dbd9bf v4l2_dec_test: Fix build warning
Signed-off-by: Som Qin <som.qin@starfivetech.com>
2023-08-07 15:33:04 +08:00
Som Qin 05175cad82 v4l2_dec_test: add docode speed test
Signed-off-by: Som Qin <som.qin@starfivetech.com>
2023-08-07 14:27:15 +08:00
Som Qin 82d661fa4b v4l2_dec_test: distinguish video frame from stream
Signed-off-by: Som Qin <som.qin@starfivetech.com>
2023-08-07 14:27:09 +08:00
Som Qin 1fedb481ca v4l2_dec_test: add v4l2_dec_test for wave511 v4l2 decoder
Signed-off-by: Som Qin <som.qin@starfivetech.com>
2023-08-07 14:26:59 +08:00
Andy Hu 2a87341226 Merge tag 'JH7110_515_SDK_v5.4.2' into jh7110-mm-devel 2023-07-26 21:06:13 +08:00
joyce.ooi 5934bb92f4 img-gpu-powervr: update binary package after fixing Vulkan CTS hang
issue

Signed-off-by: joyce.ooi <joyce.ooi@starfivetech.com>
2023-07-24 11:20:33 +08:00
leo.lu 2f074528e2 gstomx: modify omxmjpegdec rank and default framerate 2023-07-12 17:51:53 +08:00
Andy Hu bb3adba005 Merge remote-tracking branch 'origin/jh7110-devel' into jh7110-mm-devel 2023-07-06 14:41:47 +08:00
joyce.ooi e56ef6c011 package/img-gpu-powervr: update binary hash after Khronos CTS fixes
Signed-off-by: joyce.ooi <joyce.ooi@starfivetech.com>
2023-07-06 11:37:04 +08:00
Andy Hu ad59bc58f1 Merge tag 'JH7110_515_SDK_v5.3.1' into jh7110-mm-devel 2023-07-06 10:40:27 +08:00
andy.hu fd0d0846a3 Merge branch 'CR_2280_5523_GPU_joyce.ooi' into 'jh7110-devel'
CR_2280_5523: package/img-gpu-powervr: update binary hash after Khronos CTS fixes

See merge request sdk/buildroot!117
2023-07-06 02:25:05 +00:00
Changhuang Liang 434bff4603 package: starfive: v4l2_test: Add ayuv to nv12
Add ayuv to nv12.

Signed-off-by: Changhuang Liang <changhuang.liang@starfivetech.com>
2023-07-05 16:56:51 +08:00
joyce.ooi b04b81bdde package/img-gpu-powervr: update binary hash after Khronos CTS fixes
Signed-off-by: joyce.ooi <joyce.ooi@starfivetech.com>
2023-07-05 14:23:06 +08:00
leo.lu 850a9f7e0c make gst play video more sync 2023-06-20 17:16:18 +08:00
Andy Hu 7b77de6849 Merge tag 'JH7110_515_SDK_v5.1.5_IMG1.19' into jh7110-mm-devel-img1.19 2023-06-11 14:52:01 +08:00
Andy Hu 7796d5d83d package/img-gpu-powervr: update new bin package hash for turn off pvr assert
Signed-off-by: Andy Hu <andy.hu@starfivetech.com>
2023-06-11 14:40:40 +08:00
Andy Hu ae604fb194 package/img-gpu-powervr: update for the new IMG DDK 1.19 package
Note that the new IMG DDK support gallium driver
and no longer support dri driver

Signed-off-by: Andy Hu <andy.hu@starfivetech.com>
2023-06-01 22:52:06 +08:00
Andy Hu bd558055ce Merge tag 'JH7110_515_SDK_v5.1.0' into jh7110-mm-devel
This tag mainly upgrade the IMG DDK to 1.19, include user space and kernel space
2023-05-22 11:24:29 +08:00
Andy Hu 29ee3f6529 package/starfive/img-gpu-powervr: upgrade IMG DDK library to 1.19
Upgrade Imagination DDK source to 1.19

Signed-off-by: Andy Hu <andy.hu@starfivetech.com>
2023-05-20 02:05:33 +08:00
Andy Hu 2494cfd0ed Merge tag 'JH7110_515_SDK_v5.0.0' into jh7110-mm-devel
update toolchain to gcc 12.2.0
2023-05-19 14:04:52 +08:00
Andy Hu 4412284d75 img-gpu-powervr: update the new binary library built with the gcc 12.2.0
Signed-off-by: Andy Hu <andy.hu@starfivetech.com>
2023-05-19 00:05:13 +08:00
Som Qin 03c90c4643 gstomx:add hacks no-component-reconfigure of starfive codec
component needs to be re-created if the caps change.

Signed-off-by: Som Qin <som.qin@starfivetech.com>
2023-05-10 11:36:28 +08:00
Andy Hu ed636e23a0 Merge tag 'JH7110_515_SDK_v4.8.2' into jh7110-mm-devel
version JH7110_515_SDK_v4.8.2 for JH7110 EVB board
2023-04-26 23:23:22 +08:00
Mason Huo 8b0d868279 package: starfive: Optimize the swapoff partition
Check if the swap partition ("hibernation") exist or not
before swapoff command.

Signed-off-by: Mason Huo <mason.huo@starfivetech.com>
2023-04-24 11:38:45 +08:00
Andy Hu d672e1510f Merge tag 'JH7110_515_SDK_v4.8.1' into jh7110-mm-devel
version JH7110_515_SDK_v4.8.1 for JH7110 EVB board

1. buildroot:
    Merge branch 'CR_4754_swapon_optimize_mason.huo' into 'jh7110-devel'
2023-04-19 20:20:27 +08:00
Mason Huo 8d66d14452 package: starfive: Optimize the swapon partition
Check if the swap partition ("hibernation") exist or not
before swapon command.
Since the partlabel appears late, change the script
excution sequence to 99.

Signed-off-by: Mason Huo <mason.huo@starfivetech.com>
2023-04-17 14:50:32 +08:00
Andy Hu 75c5ab1b7c Merge tag 'JH7110_515_SDK_v4.5.2' into jh7110-mm-devel
version JH7110_515_SDK_v4.5.2 for JH7110 EVB board

1. #4142: soft_3rdpart: linu: IMG GPU disable pdump in kernel space and user space
2023-03-21 01:32:52 +08:00
Andy Hu 42b8427cca package/starfive/img-gpu-powervr: update sha256 value for new tar ball
disable pdump for v1.17

PDUMP was enabled by default. This causes some performance
issues on GPU. Hence, we would need to disable PDUMP in
kernel space and userspace.

Signed-off-by: Andy Hu <andy.hu@starfivetech.com>
2023-03-21 00:41:35 +08:00
Andy Hu 2f00fa0f59 Merge tag 'JH7110_515_SDK_v4.0.0-rc1' into jh7110-mm-devel
version JH7110_515_SDK_v4.0.0-rc1 for JH7110 EVB board
1. #2828 support linux perf tool
2. #3049 merge hibernation branch to SDK
3. #2708 uboot support vout clk driver
4. #3006 uboot handle OTP return value
5. #2969, #3039 venc jpu fix futex issue
2023-01-06 19:21:39 +08:00
mason.huo 62a97a3582 package: starfive: Add hibernation script to pm package
Signed-off-by: mason.huo <mason.huo@starfivetech.com>
2023-01-05 13:14:34 +08:00
Andy Hu a361ebc826 Merge remote-tracking branch 'origin/jh7110-devel' into jh7110-mm-devel 2022-12-09 19:06:05 +08:00