Commit Graph

177 Commits

Author SHA1 Message Date
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 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 507c0b24e7 Merge branch 'CR_5116_gstomx_som.qin' into 'jh7110-mm-devel'
CR 5116  gstomx:add hacks no-component-reconfigure of starfive codec

See merge request sdk/buildroot!101
2023-05-10 11:42:13 +00: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
leo.lu f08fde91a4 kmssink plugin bind vaild buffer when enable drm pipeline 2023-05-08 13:46:26 +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
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
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 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
Andy Hu c89211ea59 Merge tag 'JH7110_515_SDK_v4.6.0' into jh7110-mm-devel
version JH7110_515_SDK_v4.6.0 for JH7110 EVB board

1. #4174: buildroot: glibc add optimization memory operations, porting memcpy & memset implementation from kernel
2023-03-30 20:29:19 +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 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
leo.lu e85673a9d2 FIX alsasink resume failed when gst-play paused 2023-01-29 09:56:54 +08:00
Andy Hu 6c0f69dac9 Merge tag 'JH7110_515_SDK_v4.0.1' into jh7110-mm-devel
version JH7110_515_SDK_v4.0.1 for JH7110 EVB board
1. Fix hibernation issues: clk tree, gpio, gpu, tempsensor
2. Add gpio reset feature in opensbi
3. Fix usb device issue for debian
2023-01-18 10:43:18 +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
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
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
Andy Hu 25d240f1b6 Merge remote-tracking branch 'origin/jh7110-devel' into jh7110-mm-devel 2022-11-26 00:03:19 +08:00
arvin.zhu a0e4638787 FFmpeg:omxdec: set pts of avframe and fix some compilation warnings
set pts of avframe from video container and fix some compilation warnings

Signed-off-by: arvin.zhu <arvin.zhu@starfivetech.com>
2022-11-23 15:21: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 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 80f3b26491 Merge branch 'CR_2604_FFmpeg_omxdec_Arvin.Zhu' into 'jh7110-mm-devel'
CR 2604 modify the range of width and height of scale for omx decoder

See merge request sdk/buildroot!86
2022-11-17 09:52:47 +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
arvin.zhu 1071a44ee8 FFmpeg:omxdec: modify the range of width and height of scale
modify the range of width and height of scale for omx decoder

Signed-off-by: arvin.zhu <arvin.zhu@starfivetech.com>
2022-11-17 15:40:44 +08: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
andy.hu 5be55542fe Merge branch 'CR_2484_Add_default_param_for_kmssink_Leo.Lu' into 'jh7110-mm-devel'
CR_2484_Add_default_param_for_kmssink_Leo.Lu

See merge request sdk/buildroot!80
2022-11-02 10:08:17 +00:00
andy.hu acacc6c7a9 Merge branch 'CR_2438_FFmpeg_Arvin.Zhu' into 'jh7110-mm-devel'
CR 2438 FFmpeg:omxdec: fix scale option bug of mjpeg_omx

See merge request sdk/buildroot!82
2022-11-02 10:08:06 +00:00