Commit Graph

87 Commits

Author SHA1 Message Date
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
Andy Hu a8cc9f9c28 gstreamer: fix patch and building warning for gst-plugins-bad
Signed-off-by: Andy Hu <andy.hu@starfivetech.com>
(cherry picked from commit f475d9a3bceeefd19bebf3d3471cedf12a46b8fa)
2022-10-28 22:14:41 +08:00
sw.multimedia 13dfa29851 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>
2022-10-28 22:14:41 +08:00
Andy Hu cf570d429b gstreamer: fix build warning
Signed-off-by: sw.multimedia <sw.multimedia@starfivetech.com>
2022-10-28 22:14:41 +08:00
andy.hu df80db155f gst1-rtsp-server: enable example code build for rtsp server feature
Signed-off-by: andy.hu <andy.hu@starfivetech.com>
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
mason.huo e37c3bbf8f package: Sync libcamera from JH7100
Signed-off-by: mason.huo <mason.huo@starfivetech.com>
2022-10-28 22:14:41 +08:00
mason.huo 37d7b064ea package: Move v4l2test to starfive package
1.Create starfive package, and move v4l2test into it.
2.Sync the latest v4l2test package from JH7100.

Signed-off-by: mason.huo <mason.huo@starfivetech.com>
2022-10-28 22:14:41 +08:00
Andy Hu a1c0a0708e vpu/jpu: support automatic building and loading VPU/JPU ko driver
install the vdec.ko, venc.ko, jpu.ko to /lib/modules/5.15.0/extra/
and remove the loading script, support insmod,modprobe,rmmod

Signed-off-by: Andy Hu <andy.hu@starfivetech.com>
2022-10-25 10:19:38 +08:00
Windsome Zeng 931da277a0 [pipewire] Add pipewire support. 2022-10-14 11:27:19 +08:00
minda.chen 02abf56dde usb:buildroot: change VID and PID to an opensource group id
changed VID to InterBiometrics opensource group, PID is a
test PID

Signed-off-by: minda.chen <minda.chen@starfivetech.com>
2022-09-19 18:06:12 +08:00
andy.hu e1adcb3c9a Merge branch 'CR_1969_v4lutils_Arvin.Zhu' into 'jh7110-devel'
CR 1969 v4lutils: remove v4lutils

See merge request sdk/buildroot!63
2022-08-31 08:10:47 +00:00
andy.hu 5a3b190155 Merge branch 'CR_1919_modprobe_load_ko_Arvin.Zhu' into 'jh7110-devel'
CR 1919 modprobe:add blacklist.conf

See merge request sdk/buildroot!62
2022-08-31 06:49:40 +00:00
arvin.zhu 7612ab56f5 busybox: add modprobe blacklist.conf
add modprobe blacklist.conf

Signed-off-by: arvin.zhu <arvin.zhu@starfivetech.com>
2022-08-31 14:41:06 +08:00
Andy Hu 5ca8180f8b ispsdk: add ispsdk v2.0.0 package to buildroot
the ispsdk apps will install to /root/ISP/

Signed-off-by: Andy Hu <andy.hu@starfivetech.com>
2022-08-30 10:07:05 +08:00
andy.hu 8ebb316468 Merge branch 'CR_1835_usb_device_script_minda' into 'jh7110-devel'
CR_1835 usb: device: add usb device configfs script

See merge request sdk/buildroot!57
2022-08-26 07:20:40 +00:00
andy.hu 960b8da68d Merge branch 'CR_1932_v4l2test_jianlong' into 'jh7110-devel'
CR_1932 package: starfive: v4l2test: Fix stuck without -C

See merge request sdk/buildroot!56
2022-08-26 02:29:30 +00:00
andy.hu fcc51bb16e Merge branch 'CR_1853_buildroot_drm_test_shengyang.chen' into 'jh7110-devel'
CR_1853_riscv:buildroot:drm-test

See merge request sdk/buildroot!54
2022-08-26 02:09:54 +00:00
arvin.zhu d460e7b742 v4lutils: remove v4lutils
remove v4lutils

Signed-off-by: arvin.zhu <arvin.zhu@starfivetech.com>
2022-08-26 09:58:33 +08:00
minda.chen 7d2bd84b94 usb: device: add usb device configfs script
including start/stop, mass storage disk img create and
delete script.

Signed-off-by: minda.chen <minda.chen@starfivetech.com>
2022-08-25 17:17:20 +08:00
Jianlong Huang d0565a1a48 package: starfive: v4l2test: Fix stuck without -C
Signed-off-by: Jianlong Huang <jianlong.huang@starfivetech.com>
2022-08-23 13:36:59 +08:00
shengyang.chen 40ab08a0e8 riscv:buildroot:drm-test
fix modeset-single-buffer noise

Signed-off-by: shengyang.chen<shengyang.chen@starfivetech.com>
2022-08-19 17:40:13 +08:00
andy.hu 01663815ca Merge branch 'CR_1839_fix_mount_adb_issue_minda' into 'jh7110-devel'
usb: adbd: fix remount the adb device err issue.

See merge request sdk/buildroot!53
2022-08-19 08:13:02 +00:00
andy.hu e3b074fd1b Merge branch 'CR_1867_V4L2_mason.huo' into 'jh7110-devel'
CR_1867 package: v4l2_test: Add ss0 & ss1 in pipeline script

See merge request sdk/buildroot!48
2022-08-19 07:43:24 +00:00
andy.hu f1e797a077 Merge branch 'CR_1799_v4l2test_Kevin.xie' into 'jh7110-devel'
CR_1799 v4l2test: Solve blurred screen problem in 45 or 60 fps.

See merge request sdk/buildroot!44
2022-08-19 07:07:58 +00:00
andy.hu 7b57253399 Merge branch 'CR_1603_V4L2v4l2test_jianlong' into 'jh7110-devel'
CR_1603 starfive: v4l2test: Support select connector to display for drm

See merge request sdk/buildroot!45
2022-08-19 07:03:06 +00:00
minda.chen bbbbd1a333 usb: adbd: fix remount the adb device err issue.
while reattach the usb device, adbd wakeup in usb_ffs_kick,
later will close ep0 and reopen it again will cause this issue.
As the fix method in new adbd, just close and reopen ep1 & ep2
, keep ep0 still be openned can fix this issue.

Signed-off-by: minda.chen <minda.chen@starfivetech.com>
2022-08-19 13:58:51 +08:00
andy.hu 5e1ac148a7 Merge branch 'CR_1837_adbd_adbd_ss_fix_minda' into 'jh7110-devel'
CR_1837 buildroot: adb: add adb ss ffs descriptor

See merge request sdk/buildroot!47
2022-08-18 12:40:56 +00:00
minda.chen 6604c1d037 buildroot: adb: add adb ss ffs descriptor
fix adbd functionfs descriptor not support super speed issue
(redmine 1837)

Signed-off-by: minda.chen <minda.chen@starfivetech.com>
2022-08-18 15:25:19 +08:00
Windsome Zeng 4d78fbf8e8 [GPU] Update OpenGL ES library which is compiled in Linux 5.10 2022-08-17 20:42:49 +08:00
Windsome Zeng b3059a93d5 [GPU] Upgrade OpenGL ES library to DDK 1.17. 2022-08-17 14:10:04 +08:00
Windsome Zeng fe38db9384 [mesa3d] Sync all patch files with DDK 1.17. 2022-08-16 17:38:05 +08:00
Windsome Zeng 6bfcc5fdc6 [mesa3d] Delete or rename patch files according to DDK 1.17. 2022-08-16 17:31:56 +08:00
Windsome Zeng ffcad53d15 [libdrm] Sync patch files with DDK 1.17 2022-08-16 16:59:34 +08:00
Windsome Zeng 9433dcaf8c [libdrm] Delete and rename path file with DDK 1.17 2022-08-16 16:56:49 +08:00
mason.huo 02e6028d21 package: v4l2_test: Add ss0 & ss1 in pipeline script
Signed-off-by: mason.huo <mason.huo@starfivetech.com>
2022-08-16 15:22:05 +08:00
Jianlong Huang 8d7bb3e204 starfive: v4l2test: Support select connector to display for drm
Add -C param to select connector
0---inno hdmi
1---rgb hdmi or mipi dsi

Signed-off-by: Jianlong Huang <jianlong.huang@starfivetech.com>
2022-08-15 10:30:21 +08:00
andy.hu 8975760f59 Merge branch 'CR_1286_linux5.10.y_integrate_wayland_with_gpu_support_Windsome.Zeng' into 'jh7110-devel'
Replace mdev with udev, add some script to make udev works correctly.

See merge request sdk/buildroot!43
2022-08-12 03:27:35 +00:00
Windsome Zeng d146aede27 Change udev detect method to fix fail on running glmark2-es2-drm. 2022-08-11 17:06:24 +08:00
Kevin.xie a2d183cea1 v4l2test: Solve blurred screen problem in 45 or 60 fps.
1. Fix the error buffer count for v4l2 when using pingpong buffer.
2. Add readable flag for pingpong buffers exchange to avoid overproduction.

Signed-off-by: Kevin.xie <kevin.xie@starfivetech.com>
2022-08-11 16:49:02 +08:00
Windsome Zeng d481977e4a Replace mdev with udev in init script and don't mount /proc twice. 2022-08-11 11:32:13 +08:00
arvin.zhu 4691306abf drm_test: Add drm_test package
Add drm_test

Signed-off-by: arvin.zhu <arvin.zhu@starfivetech.com>
2022-08-11 10:36:51 +08:00
Windsome Zeng 683fd1f360 Delete kmod related tools provided by busybox. 2022-08-10 10:23:04 +08:00
Windsome Zeng c941f34c05 Use install hooks to avoid rebuild problem. 2022-08-09 17:55:26 +08:00
Windsome Zeng 0083c10916 Delete mdev macro and revert to original file. 2022-08-09 15:21:17 +08:00
Windsome Zeng 2c2c443c80 Add script and config file to run weston simply. 2022-08-09 15:08:13 +08:00
Windsome Zeng 478ae394ee Replace mdev with udev, add some script to make udev works correctly. 2022-08-09 15:08:13 +08:00
Jason Zhou 6b8cb8042a Merge branch 'CR_1286_linux5.10.y_integrate_wayland_with_gpu_support_Windsome.Zeng' into 'jh7110-devel'
CR_1286_1793: GPU binaries integrated to SDK

See merge request sdk/buildroot!42
2022-08-05 10:08:19 +00:00
Andy Hu 59f08cf179 img-gpu-powervr: update to install img-gpu-powervr-bin.tar.gz
update starfive package img-gpu-powervr to install the binary to
buildroot filesystem

Signed-off-by: Andy Hu <andy.hu@starfivetech.com>
2022-08-05 11:36:51 +08:00