Commit Graph

130 Commits

Author SHA1 Message Date
zejian.su 4ba3fc2ca7 1. Add SDL preview to render the image with the GPU (issue #8516).
2. Fix the bug of reading parameter fail (issue #9209).

Signed-off-by: zejian.su <zejian.su@starfivetech.com>
2024-02-27 13:53:03 +08:00
andy.hu 1a0fcafb5f Merge branch 'CR_8895_tuning_server_zejian.su' into 'jh7110-master'
CR_8895: Add tuning server for the ISP tuning tool

See merge request sdk/buildroot!162
2024-01-26 10:34:27 +00:00
zejian.su 83d718cb8c libcamera-apps: bump version to add tuning server for the ISP tuning tool
Signed-off-by: zejian.su <zejian.su@starfivetech.com>
2024-01-26 18:29:39 +08:00
Som Qin 8c06ed2f3e Wave511: add firmware wave511_dec_fw.bin for wave5 v4l2 driver
Signed-off-by: Som Qin <som.qin@starfivetech.com>
2024-01-23 17:52:28 +08:00
zejian.su 7cf47a58e4 Fix the qt window size and simplify the qt ping-pang buffer.
Signed-off-by: zejian.su <zejian.su@starfivetech.com>
2023-12-21 21:52:21 +08:00
zejian.su 1769165661 Fix the sync issue between the Preview.Show() and the QWidget.update()
1. Add a mutex between the Preview.Show() and the QWidget.update().
2. Speed up the Preview.Show() -- change the floating point to integer,
            merge some plus and multiplying operation and remove some data copy.

Signed-off-by: zejian.su <zejian.su@starfivetech.com>
2023-12-06 16:07:03 +08:00
zejian.su 9e675a54e3 In DRM preview, zoom the input image to fit the screen.
1. Use the atomic drm mode.
2. Find a mode in the connector with most closed area with the input image.
3. Set the plane property to scale the input image.

Signed-off-by: zejian.su <zejian.su@starfivetech.com>
2023-12-06 16:04:11 +08:00
Andy Hu 1bf8e81b1e ap6256-bluetooth: rename S90bluetooth to S36ap6256-bluetooth
keep the feature that loading ap6256 firmware and reset bluetooth
And run the bluetoothd through S40bluetooth in bluez5_utils package

Signed-off-by: Andy Hu <andy.hu@starfivetech.com>
2023-11-28 15:43:17 +08:00
ziv.xu b86e7ff86c package:starfive-firmware:ap6256-bluetooth: modify bt baudrate
modify bt baudrate to support bt audio

Signed-off-by: ziv.xu <ziv.xu@starfive.com>
2023-11-28 15:43:17 +08:00
Andy Hu a5e81bba2d starfive-firmware: Add aic8800 and aic8800DC usb wifi firmware
aic8800 and aic8800DC support to run on visionfive2 board
install firmware for aic8800 both 2.4G and 5G

Signed-off-by: Andy Hu <andy.hu@starfivetech.com>
Signed-off-by: Skyler Zheng <skyler.zheng@starfivetech.com>
2023-11-28 15:43:17 +08:00
Andy Hu 52229a33bc starfive-firmware: Add ECR6600U usb wifi firmware
ECR6600U usb wifi support to run on visionfive2 board

Signed-off-by: Andy Hu <andy.hu@starfivetech.com>
2023-11-28 15:43:17 +08:00
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