Commit Graph

107 Commits

Author SHA1 Message Date
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 ff068cb477 gdb: update gdb version to 12.1 from upstream tag 2022.11.3
Signed-off-by: Andy Hu <andy.hu@starfivetech.com>
2023-05-19 11:08:02 +08:00
Andy Hu 80ccfb9339 linux-header: support above linux 5.15 or 6.0 from offical tag 2022.11.3
Signed-off-by: Andy Hu <andy.hu@starfivetech.com>
2023-05-19 10:49:10 +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
Andy Hu 3b6505746a package: glibc: Add optimization memory operations for RISCV
Port the memcpy & memset implementation from
Linux kerenl to glibc to improve performance of
memory operations in user space.

Signed-off-by: Mason Huo <mason.huo@starfivetech.com>
2023-05-19 00:03:37 +08:00
Andy Hu 953c6e2267 package/Makefile.in: use riscv new cppflags
building the whold sdk with:
TARGET_CPPFLAGS += -mabi=lp64d -march=rv64imafdc_zicsr_zifencei_zba_zbb \
  -mcpu=sifive-u74 -mtune=sifive-7-series -fomit-frame-pointer \
  --param l1-cache-size=32 --param l2-cache-size=2048

Signed-off-by: Andy Hu <andy.hu@starfivetech.com>
2023-05-19 00:02:30 +08:00
Andy Hu bcce1c86ec glmark2: fix building issue for gcc 12.2.0
Signed-off-by: Andy Hu <andy.hu@starfivetech.com>
2023-05-19 00:02:25 +08:00
Andy Hu 389dc57182 gcc: update to support gcc 11.3.0 and 12.2.0 from offical tag 2022.11.3
Signed-off-by: Andy Hu <andy.hu@starfivetech.com>
2023-05-19 00:02:09 +08:00
Andy Hu 650e638627 glibc: update to support 2.36 from offical tag 2022.11.3
Signed-off-by: Andy Hu <andy.hu@starfivetech.com>
2023-05-19 00:01:41 +08:00
Andy Hu 687ac0c040 binutils: update to support 2.38 and 2.39 from offical tag 2022.11.3
Signed-off-by: Andy Hu <andy.hu@starfivetech.com>
2023-05-18 23:44:40 +08:00
andy.hu c4695ba8d8 Merge branch 'CR_4951_memcpy_optimization_mason.huo' into 'jh7110-devel'
CR_4951 package: glibc: Add optimization memory copy with aligned version

See merge request sdk/buildroot!97
2023-04-26 09:52:46 +00:00
andy.hu 5ec8f6854a Merge branch 'CR_5160_Reduce_release_IP_time_samin.guo' into 'jh7110-devel'
CR_5160:ifplugd: Reduce the IP release time

See merge request sdk/buildroot!99
2023-04-26 09:52:06 +00:00
Samin Guo 910ecaeb5e ifplugd: Reduce the IP release time
IP release time reduced from 10 seconds to 1 second

Signed-off-by: Samin Guo <samin.guo@starfivetech.com>
2023-04-26 15:21:37 +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
Mason Huo 013b3a25e8 package: glibc: Add optimization memory copy with aligned version
Port the linux kernel memcpy function for optimizing
the 128 byte align case, this will improve the
performance of large block memcpy.

Here we combine the memcpy of glibc and kernel.

Signed-off-by: Mason Huo <mason.huo@starfivetech.com>
2023-04-17 14:55:09 +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
Mason Huo 8ac10aeb41 package: glibc: Add optimization memory operations for RISCV
Port the memcpy & memset implementation from
Linux kerenl to glibc to improve performance of
memory operations in user space.

Signed-off-by: Mason Huo <mason.huo@starfivetech.com>
2023-03-21 16:49:35 +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
minda.chen 5e82470c44 usb:add usb mass storage more config
In emmc/sdcard boot case, add more usb device
mass storage configs.

Signed-off-by: minda.chen <minda.chen@starfivetech.com>
2023-01-17 16:06:53 +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 4a361eadcd Merge branch 'CR_2767_ISP_SDK_Kevin.xie' into 'jh7110-devel'
CR 2767 ispsdk: Fix error sc2335 sensor config command on isp daemon.

See merge request sdk/buildroot!90
2022-12-09 04:51:51 +00: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
Samin Guo 9b17acc9aa package/ifplugd: add eth1 support.
Support the automatic IP acquisition/release of eth1.

Signed-off-by: Samin Guo <samin.guo@starfivetech.com>
2022-12-06 17:29:56 +08:00
Samin Guo 4af5f4a913 package/ifupdown-scripts: add hotplug support
When you plug the network cable, you can call ifplugd to automatically
release and obtain the IP

Signed-off-by: Samin Guo <samin.guo@starfivetech.com>
2022-12-06 16:09:08 +08:00
Jianlong Huang c30b506664 ifupdown: Add dual network dhcp
For visionfive2, there are two network interface
Add dual network dhcp for the 2nd interface

Signed-off-by: Jianlong Huang <jianlong.huang@starfivetech.com>
2022-12-06 15:46:34 +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 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
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
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
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