Commit Graph

87 Commits

Author SHA1 Message Date
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
Kevin.xie 540861f360 ispsdk: Fix error sc2335 sensor config command on isp daemon.
Signed-off-by: Kevin.xie <kevin.xie@starfivetech.com>
2022-12-07 15:48:43 +08:00
Andy Hu 25d240f1b6 Merge remote-tracking branch 'origin/jh7110-devel' into jh7110-mm-devel 2022-11-26 00:03:19 +08:00
Kevin.xie 279154692a ispsdk: Fix conflicting installation of ispsdk daemon script and output files.
Signed-off-by: Kevin.xie <kevin.xie@starfivetech.com>
2022-11-22 16:23:05 +08:00
Andy Hu d8e65c2d43 Merge remote-tracking branch 'origin/jh7110-devel' into jh7110-mm-devel 2022-11-17 21:47:25 +08:00
andy.hu f146fb9672 Merge branch 'CR_2530_ISP_SDK_Kevin.xie' into 'jh7110-devel'
CR_2530_ISP_SDK : Start a daemon for stf_isp_ctrl during bootup

See merge request sdk/buildroot!83
2022-11-17 13:33:36 +00:00
andy.hu 9761e36931 Merge branch 'CR_2176_Add_Interlaced_judgment_Leo.Lu' into 'jh7110-mm-devel'
CR_2176_Add_Interlaced_judgment_Leo.Lu

See merge request sdk/buildroot!84
2022-11-17 09:52:38 +00:00
Andy Hu bef9acef54 Merge remote-tracking branch 'origin/jh7110-devel' into jh7110-mm-devel 2022-11-09 23:55:47 +08:00
mason.huo f6e892bda3 package: starfive: Add power management package
The package is for power management.
Currently adjust the cpufreq paramenters.

Signed-off-by: mason.huo <mason.huo@starfivetech.com>
2022-11-09 18:15:20 +08:00
leo.lu 111d163b36 Add interlaced mode judgment for gstomxvideodec 2022-11-03 17:30:12 +08:00
Kevin.xie 5ec4da22b2 ispsdk: Start a daemon for stf_isp_ctrl during bootup
Signed-off-by: Kevin.xie <kevin.xie@starfivetech.com>
2022-11-02 18:40:04 +08:00
Som Qin bf940640f9 gstomx:modify omx dec components' name for using zero copy mode
Signed-off-by: Som Qin <som.qin@starfivetech.com>
2022-10-28 22:14:43 +08:00
leo.lu afb700c0cc support mirror rotation scale cut property for gstomxmjpegdec 2022-10-28 22:14:43 +08:00
leo.lu 5634544707 support mirror rotation scale for gstomxmjpegdec 2022-10-28 22:14:43 +08:00
leo.lu 47624c1a01 Modify gstomxmjpegdec format 2022-10-28 22:14:43 +08:00
andy.hu a2907c268c Merge branch 'CR_1982_fix_show_previous_last_frame_Windsome.Zeng' into 'jh7110-mm-devel'
CR_1982_fix_show_previous_last_frame_Windsome.Zeng

See merge request sdk/buildroot!60
2022-10-28 22:14:43 +08:00
Windsome Zeng 0b276f308f [GST] [OMX] [DRM] Clear all framebuffer content. Set staging flag for gdb remote debug. 2022-10-28 22:14:42 +08:00
Andy Hu 1279cf3f36 libcamera-apps: change download url to https
Signed-off-by: Andy Hu <andy.hu@starfivetech.com>
2022-10-28 22:14:42 +08:00
leo.lu b40d37b2fb Add NV21 for gstomxvideoenc class 2022-10-28 22:14:42 +08:00
leo.lu b24086356d Add nv21 for omxh254_5dec patch 2022-10-28 22:14:42 +08:00
Kevin.xie 4a16076c7f libcamera & apps: Open drm device by module name 'starfive'
Signed-off-by: Kevin.xie <kevin.xie@starfivetech.com>
2022-10-28 22:14:42 +08:00
Som Qin 8969fdd3a3 Modify sf component name to adapt omx
Signed-off-by: Som Qin <som.qin@starfivetech.com>
2022-10-28 22:14:42 +08:00
Windsome Zeng 3576db96f1 Combine SPS/PPS header to IDR frame.
(cherry picked from http://192.168.110.45/jh7100/buildroot/-/commit/ed8e94ec351c61073a1408df54fb01b5c1deff2c)
2022-10-28 22:14:42 +08:00
sw.multimedia 13bb8c3e34 gst-omx: hanle some extra profile about avc.
Signed-off-by: sw.multimedia <sw.multimedia@starfivetech.com>

(cherry picked from http://192.168.110.45/jh7100/buildroot/-/commit/39f08c81f5a05ad0b06a95c4a3599602641c07af)
2022-10-28 22:14:42 +08:00
sw.multimedia c53870e83b omxmjpegdec: add property 'framerate' for omxmjpegdec.
Signed-off-by: sw.multimedia <sw.multimedia@starfivetech.com>

(cherry picked from http://192.168.110.45/jh7100/buildroot/-/commit/fe368e0af9c3bd485245b1fb37b2496300b91e67)
2022-10-28 22:14:42 +08:00
sw.multimedia 05ff20c2cb gst/libcamera-app: fix build warning
Signed-off-by: sw.multimedia <sw.multimedia@starfivetech.com>

(cherry picked from http://192.168.110.45/jh7100/buildroot/-/commit/c7ff2afdc55ffdc98491bc15c617db871805906b)
2022-10-28 22:14:42 +08:00
sw.multimedia ce49ebc0ad omxmjpegdec: fix corresponding relations between gst-format
and omx-format for-NV21

Signed-off-by: sw.multimedia <sw.multimedia@starfivetech.com>

(cherry picked from http://192.168.110.45/jh7100/buildroot/-/commit/8dd812d3d6873cab52e558e95d85499309378759)
2022-10-28 22:14:42 +08:00
sw.multimedia ee9db89b3c sf-gst-omx: add omxmjpegdec to support decoding mjpeg.
Signed-off-by: sw.multimedia <sw.multimedia@starfivetech.com>

(cherry picked from http://192.168.110.45/jh7100/buildroot/-/commit/66e086938c0dee776b46c6ce6fee22316041a67c)
2022-10-28 22:14:42 +08:00
Andy Hu e8ea49860c gstreamer: fix build warning
Signed-off-by: sw.multimedia <sw.multimedia@starfivetech.com>

(cherry picked from http://192.168.110.45/jh7100/buildroot/-/commit/9d20c03dc2f5d4f108d05d4d8d1e37c59356efe0)
2022-10-28 22:14:42 +08:00
Andy Hu 20fdec1b0e sf-gst-omx: update to fix issue for gst-play
1. recorrect the queue index for patches name
2. USE_BUFFER is only available for dma buffer.
   If not dma buffer, don't come into it.

sw.multimedia <sw.multimedia@starfivetech.com>

(cherry picked from http://192.168.110.45/jh7100/buildroot/-/commit/5249d14e587639c534b8084a541ec84bc1e953f0)
2022-10-28 22:14:42 +08:00
andy.hu a2efe48b31 sf-gst-omx: add support for wave521 encode
1. Modify package config name to BR2_PACKAGE_SF_GST_OMX
2. Support wave521 264/265 encode in gst-omx

Signed-off-by: sw.multimedia <sw.multimedia@starfivetech.com>
Signed-off-by: andy.hu <andy.hu@starfivetech.com>
2022-10-28 22:14:42 +08:00
sw.multimedia 4cf0377617 Add Multimedia Feature:
1. add starfive private packages: v4l2_test, pp_test, sf-gst-omx, sf-omx-il, stfisp_setfile, wave511, wave521
  v4l2_test: used to test v4l2 device
  pp_test: used to switch format and resolution for framebuffer framework
  sf-gst-omx: from gst-omx and compatible with the omx-il library
  sf-omx-il: starfive openmax il library for VPU hardware decode
  stfisp_setfile: this is the host build package, used to generate the isp registrer setting bin for v4l2 framework
  wave511: this is chip&media decode hardware wave511 vendor code building
  wave521: this is chip&media encode hardware wave521 vendor code building

2. Add the following gstreamer patch:
  add patch to support gstreamer plugin fbdevsink NV12 format
  add patch to support gst-play take priority to decoding h264/h265 with gst-omx plugin

Signed-off-by: sw.multimedia <sw.multimedia@starfivetech.com>
Signed-off-by: andy.hu <andy.hu@starfivetech.com>
Signed-off-by: michael.yan <michael.yan@starfivetech.com>
Signed-off-by: david.li <david.li@starfivetech.com>
Signed-off-by: Curry Zhang <curry.zhang@starfivetech.com>
Signed-off-by: keithzhao <keith.zhao@starfivetech.com>

(cherry picked from http://192.168.110.45/jh7100/buildroot/-/commit/fce6b25d98f81388fa4372739631c49222bf8eea)
2022-10-28 22:14:41 +08:00
mason.huo c0584b271e packge: stafive: Add libcamera-apps package
Sync the latest libcamera-apps from JH7100.

Signed-off-by: mason.huo <mason.huo@starfivetech.com>
2022-10-28 22:14:41 +08:00