Commit Graph

300 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
zejian.su d30fd3fa33 Modify the starfive_isp_algorithms.so.0.0.1 to starfive_isp_algorithms.so.0.0.2 in the meson.build
Signed-off-by: zejian.su <zejian.su@starfivetech.com>
2024-02-01 09:34:18 +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
andy.hu 38f4dd2752 Merge branch 'CR_8663_linux_upstream_zejian.su' into 'jh7110-master'
CR_8663: Adapt the simple ISP pipeline

See merge request sdk/buildroot!161
2024-01-26 10:34:12 +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
zejian.su 09c10e5983 libcamera: bump version to adapt the simple ISP pipeline
Signed-off-by: zejian.su <zejian.su@starfivetech.com>
2024-01-26 18:27:34 +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
Ziv Xu d66ffcc5dd package: bluez5_utils: add obexctl tool support
add obexctl tool support

Signed-off-by: Ziv Xu <ziv.xu@starfivetech.com>
2024-01-05 10:49:55 +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 bda973be30 Queue one more buffer to the isp pipeline.
If need n frames from the starfive isp pipeline, it need to queue n+1 buffer to it.
    So one more buffer should be fed to the pipeline.

    Signed-off-by: zejian.su <zejian.su@starfivetech.com>
2023-12-06 16:57:17 +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
zejian.su 8a5ad02fdb Add support for imx708.
1. Only allow the resolutions lower than 1920x1080.
2. Add configuratioin file and sensor helper for imx708

Signed-off-by: zejian.su <zejian.su@starfivetech.com>
2023-12-06 15:59:39 +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
Andy Hu 9bf1e4c9d2 package/bluez5_utils: add S40bluetooth
add S40bluetooth to run bluetoothd

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
skyler.zheng 873dedc345 Hostapd: enable ieee80211ax in hostapd
add CONFIG_IEEE80211AX in hostapd.mk to enable wifi6 ax protocol

Signed-off-by: Skyler Zheng <skyler.zheng@starfivetech.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
Andy Hu 2584ef7236 package: qt5base: fix the text input issue
Signed-off-by: Andy Hu <andy.hu@starfivetech.com>
2023-11-28 15:43:17 +08:00
Andy Hu 69a5fdf298 package: qtwebkit: support riscv
Signed-off-by: Andy Hu <andy.hu@starfivetech.com>
2023-11-28 15:43:17 +08:00
Andy Hu 2c1e4a5861 update libnspr to 4.34 2023-11-28 15:43:17 +08:00
Andy Hu a304ca521c qt5: update to support riscv arch
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
Andy Hu fa0c16659e package/bluez5_utils: fix compiler error for gcc 12.2.0
Keep the bluez5_utils-headers version and patches in sync with bluez5_utils

Signed-off-by: Andy Hu <andy.hu@starfivetech.com>
2023-11-28 15:43:17 +08:00
leo.lu 95bd0e86f0 Setting hdmi audio output as alsa default config 2023-11-28 15:43:17 +08:00
ziv.xu a345d7d9c6 bluez5_utils:replace bluez version
replace bluez version

Signed-off-by: ziv.xu <ziv.xu@starfive.com>
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
Andy Hu 50ab236c33 Merge tag 'JH7110_SDK_515_v5.9.3' into jh7110-mm-devel 2023-11-23 19:28:58 +08:00
zejian.su a35ad1b77c Modify the IPA' framework.
1. Move the files of 'ipa/starfive/helper' to 'ipa/starfive'.
    2. Add a folder named 'openAlgo' to supply the interface of 'algorithms',
            but it does nothing. It will generate the starfive_isp_algorithms.so.
    3. Let the ipa_starfive.so invoke the functions from starfive_isp_algorithms.so.
    4. Add the starfive_isp_algorithms.so.x.x.x to folder 'starfive_post_script'.
            It's the full IPA algorithms library. Use it to substitute starfive_isp_algorithms.so
            generated by the building to get the full functions of the IPA.
    5. Remove the ipa_starfive.so.x.x.x from folder 'starfive_post_script'.
    6. Modify the ls starfive_post_script/replace_and_sign_ipa_starfive_lib.sh to
            starfive_post_script/replace_algorithm_lib.sh for it just need to replace the so
            file. And the sign file is not need to create.

    Signed-off-by: zejian.su <zejian.su@starfivetech.com>
2023-11-23 17:03:22 +08:00
Andy Hu 2709692789 package/busybox: add wget to support https
Signed-off-by: Andy Hu <andy.hu@starfivetech.com>
2023-11-20 11:10:07 +08:00
Andy Hu 59bd9f64fe package/libcamera: update new version
Add color space configuration in the pipeline

Signed-off-by: zejian.su <zejian.su@starfivetech.com>
2023-11-16 16:48:21 +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
Andy Hu 5643edd94d package/libcamera: do fix-rpath before ipa library sign
add host-patchelf to dependencies

Signed-off-by: Andy Hu <andy.hu@starfivetech.com>
2023-11-04 15:50:43 +08:00
Andy Hu 0d676d1cac package/libcamera: sync with v0.0.5 libcamera in upstream libcamera
fix issue:
package/libcamera/Config.in:7:error: recursive dependency detected!

Signed-off-by: Andy Hu <andy.hu@starfivetech.com>
2023-11-02 17:08:19 +08:00
Andy Hu e83e130692 package/libcamera: update version from starfive github repo
Signed-off-by: Andy Hu <andy.hu@starfivetech.com>
2023-11-02 11:47:22 +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
zejian.su 53780ad297 1. Update the libcamera to tag: 0.0.5.
2. Add IPA to the libcamera.

Signed-off-by: zejian.su <zejian.su@starfivetech.com>
2023-11-01 17:57:13 +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 51cb20e8bf gstreamer: kms: Gets environment variables "SF_OMX_SLICE" to support special cases
Signed-off-by: Som Qin <som.qin@starfivetech.com>
2023-10-18 10:49:07 +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