Commit Graph

177 Commits

Author SHA1 Message Date
joyce.ooi b04b81bdde package/img-gpu-powervr: update binary hash after Khronos CTS fixes
Signed-off-by: joyce.ooi <joyce.ooi@starfivetech.com>
2023-07-05 14:23:06 +08:00
andy.hu 76df1f2c41 Merge branch 'CR_6321_upgrade_strace_package_Andy.hu' into 'jh7110-devel'
CR_6321: package/strace: bump to version 5.18

See merge request sdk/buildroot!113
2023-06-30 03:32:24 +00:00
andy.hu 4e6c0bc9d0 Merge branch 'CR_6344_Fix_libv4l_compile_issue_Andy.Hu' into 'jh7110-devel'
CR_6344: package/libv4l: fix the libv4l v1.24.1 compile issue

See merge request sdk/buildroot!114
2023-06-29 08:13:34 +00:00
Andy Hu 96a52e0e6b package/libv4l: fix the libv4l v1.24.1 compile issue
Follow the latest buildroot configuration
disable new v4l2-tracer option when json-c enable

For details see [1].
[1] https://git.linuxtv.org/v4l-utils.git/tree/ChangeLog?h=stable-1.24

if enable the v4l2-tracer, see the patch:
https://patchwork.kernel.org/project/linux-media/patch/20230330150606.20483-1-ps.report@gmx.net/

Signed-off-by: Andy Hu <andy.hu@starfivetech.com>
2023-06-29 15:58:05 +08:00
Andy Hu aa39ff9f2a package/strace: bump to version 5.18
update version to fix the compiler issue like below for the kernel 6.1:

xlat/fcntlcmds.h:53:7: error: ‘F_GETLK64’ undeclared here (not in a function); did you mean ‘F_GETLK’?
   53 |  XLAT(F_GETLK64),
      |       ^~~~~~~~~
xlat.h:64:54: note: in definition of macro ‘XLAT’
   64 | # define XLAT(val)                      { (unsigned)(val), #val }
      |                                                      ^~~

Signed-off-by: Andy Hu <andy.hu@starfivetech.com>
2023-06-28 16:01:35 +08:00
andy.hu 3236c8efce Merge branch 'CR_6166_libv4l_changhuang.liang' into 'jh7110-devel'
CR_6166_libv4l_changhuang.liang pckage: libv4l: Update the libv4l to lastest version

See merge request sdk/buildroot!112
2023-06-21 15:09:03 +00:00
Changhuang Liang 00ff052d0c pckage: libv4l: Update the libv4l to lastest version
Update the libv4l to lastest version to test v4l2 framework.

Signed-off-by: Changhuang Liang <changhuang.liang@starfivetech.com>
2023-06-21 14:20:30 +08:00
andy.hu 6a76bf8eb8 Merge branch 'CR_5771_weston_support_mirror_mode_Leo.Lu' into 'jh7110-devel'
CR_5771_weston_support_mirror_mode_Leo.Lu

See merge request sdk/buildroot!108
2023-06-20 09:34:52 +00:00
andy.hu 94b79f5561 Merge branch 'CR_5742_weston_set_primary_display_Leo.Lu' into 'jh7110-devel'
CR_5742_weston_set_primary_display_Leo.Lu

See merge request sdk/buildroot!105
2023-06-20 09:32:47 +00:00
andy.hu 8f17cc8180 Merge branch 'CR_6135_Linux_Firmware_Kevin.xie' into 'jh7110-devel'
CR 6135 package: linux-firmware: Update the latest linux-firmware package & AX210 firmware configurations.

See merge request sdk/buildroot!110
2023-06-20 09:31:58 +00:00
leo.lu f157bdfda9 weston support mirror mode 2023-06-19 18:23:13 +08:00
leo.lu ed57ccfc17 weston set primary display 2023-06-19 18:18:14 +08:00
Kevin.xie 512dbc9b46 linux-firmware: Update AX210 firmware when kernel in 6.x version
Signed-off-by: Kevin.xie <kevin.xie@starfivetech.com>
2023-06-19 16:24:58 +08:00
Mason Huo 3afc426f38 package: linux-firmware: Update the latest linux-firmware package
To support the RTL8852B bluetooth module, needs to update
the linux-firmware to the latest one.

Signed-off-by: Mason Huo <mason.huo@starfivetech.com>
2023-06-19 16:24:58 +08:00
andy.hu 76cf4d45f4 Merge branch 'CR_5613_update_img_ddk1.19_package_Andy.Hu2' into 'jh7110-devel-img1.19'
CR_5613: package/{mesa3d, mesa3d-headers}: bump version to 22.1.3

See merge request sdk/buildroot!106
2023-06-11 06:44:55 +00: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 5e4957e3ef package/weston: enable wl_shell interface in weston 10 for VK-GL-CTS
For weston 10, support for the deprecated wl_shell interface is now disabled by default
It will be removed in a future release, re-enable it with the Meson option
      -Ddeprecated-wl-shell=true
link: https://www.mail-archive.com/wayland-devel@lists.freedesktop.org/msg41415.html
Enable it for the VK-GL-CTS still use the wl_shell API

Signed-off-by: Tien Hock Loh <tienhock.loh@starfivetech.com>
2023-06-01 22:44:46 +08:00
Andy Hu e1839688b8 package/weston: bump to version 10.0.1
upgrade the weston to 10.0.1 for IMG DDK 1.19
and copy patches from IMG DDK 1.19

fix the patch and building issue

Signed-off-by: Andy Hu <andy.hu@starfivetech.com>
2023-06-01 22:43:28 +08:00
Andy Hu eb6c3c5a84 package/wayland-utils: bump to version 1.1.0
keep version same with the offical buildroot tag 2022.08

Signed-off-by: Andy Hu <andy.hu@starfivetech.com>
2023-06-01 22:17:39 +08:00
Andy Hu 93720a7770 package/wayland-protocols: bump to version 1.27
upgrade it for mesa3d v22.1.3 need version great than 1.23

Signed-off-by: Andy Hu <andy.hu@starfivetech.com>
2023-06-01 22:15:34 +08:00
Andy Hu 917f3af2c6 package/wayland: bump to version 1.21.0
upgrade wayland to 1.21.0 for IMG DDK 1.19
and copy patches from IMG DDK 1.19

Signed-off-by: Andy Hu <andy.hu@starfivetech.com>
2023-06-01 22:12:50 +08:00
Andy Hu 7eec1be1af package/libdrm: bump version to 2.4.110
upgrade the libdrm to 2.4.110 for IMG DDK 1.19
keep patches files

Signed-off-by: Andy Hu <andy.hu@starfivetech.com>
2023-06-01 22:10:23 +08:00
Andy Hu 7566503cc1 package/{mesa3d, mesa3d-headers}: bump version to 22.1.3
upgrade the mesa3d and mesa3d-headers to v22.1.3
and copy patch from IMG DDK 1.19

keep the 0002-Force-Mesa-to-use-the-PVR-driver-for-platform-device.patch
to force the pvr driver

Note that the new version mesa3d support gallium driver
and no longer support dri driver

Signed-off-by: Andy Hu <andy.hu@starfivetech.com>
Signed-off-by: Windsome Zeng <Windsome.Zeng@starfivetech.com>
2023-06-01 22:08:04 +08:00
andy.hu 969f7d13f2 Merge branch 'CR_5501_GPU_upgrade_ddk1.19' into 'jh7110-devel'
CR_5501: package/starfive/img-gpu-powervr: upgrade IMG DDK library to 1.19

See merge request sdk/buildroot!103
2023-05-22 03:09:32 +00: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 5237540a8b Merge branch 'CR_3508_update_toolchain_2' into 'jh7110-devel'
CR_3508: update gcc toolchain to gcc 12

See merge request sdk/buildroot!102
2023-05-19 03:36:37 +00: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 d02c4a78f0 arch: add _zicsr_zifencei_zba_zbb as default march for gcc toolchain
Signed-off-by: Andy Hu <andy.hu@starfivetech.com>
2023-05-19 00:02:18 +08:00
Andy Hu cce9841ee9 toolchain: update toolchain setting from offical tag 2022.11.3
Signed-off-by: Andy Hu <andy.hu@starfivetech.com>
2023-05-19 00:02:14 +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
Romain Naour 134149d57f arch/Config.in.riscv: enable Zicsr and Zifencei standalone extensions with gcc >= 12
Since gcc 12, the default RISC-V ISA spec version was bump to 20191213 [1].

This bump introduces a major compatibility issue: support for the csr read/write
(csrr*/csrw*) instructions and fence.i instruction has been separated
from the "I" extension, becoming two standalone extensions: Zicsr and
Zifencei. gcc now has specific -march suffixes to enable those
extensions (_zicsr and _zifencei). If they are not used and code that
uses these instructions is built, one would get errors such as
unrecognized opcode "csrr" (or "fence.i").

For example, without Zifencei we can't build the opensbi
bootloader[2]:

opensbi-1.0/lib/sbi/sbi_tlb.c: Assembler messages:
opensbi-1.0/lib/sbi/sbi_tlb.c:190: Error: unrecognized opcode `fence.i', extension `zifencei' required

As a workaround, the opensbi build system has been patched [3] to use
-march=rv64imafdc_zicsr_zifencei when needed.  This workaround doesn't
work in Buildroot due to the local patch
0001-Makefile-Don-t-specify-mabi-or-march.patch which removes -march
from CFLAGS.

In the context of Buildroot, we have decided for now to assume that
all RISC-V cores that are Linux capable will implement the Zicsr and
Zifencei extensions: it is in fact the case today ase these extensions
were part of the I extension, that all cores support. OpenSBI and
Linux are making the same assumption (see [5]).

Therefore, when gcc >= 12, the -march value gets appended with
_zicsr_zifencei.

[1] https://gcc.gnu.org/gcc-12/changes.html
[2] https://github.com/riscv-software-src/opensbi/blob/v0.9/lib/sbi/sbi_tlb.c#L173
[3] https://github.com/riscv-software-src/opensbi/commit/5d53b55aa77ffeefd4012445dfa6ad3535e1ff2c
[4] https://groups.google.com/a/groups.riscv.org/g/sw-dev/c/aE1ZeHHCYf4
[5] http://lists.busybox.net/pipermail/buildroot/2022-July/646698.html

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Cc: Mark Corbin <mark@dibsco.co.uk>
[Thomas: add comment in .mk file, rework commit log]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2023-05-18 23:24:35 +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
andy.hu ec3a6dc4dd Merge branch 'CR_5049_Optimize_swapoff_mason.huo' into 'jh7110-devel'
CR_5049 package: starfive: Optimize the swapoff partition

See merge request sdk/buildroot!98
2023-04-26 09:47:38 +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 6d540bf363 Merge branch 'CR_4754_swapon_optimize_mason.huo' into 'jh7110-devel'
CR_4754 package: starfive: Optimize the swapon partition

See merge request sdk/buildroot!96
2023-04-19 11:39:18 +00: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 868e6d3437 Merge branch 'CR_4174_glibc_optimize_mason.huo' into 'jh7110-devel'
CR_4174 package: glibc: Add optimization memory operations for RISCV

See merge request sdk/buildroot!95
2023-03-30 11:25:43 +00: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 6e5ff2929a Merge branch 'CR_4142_IMG_GPU_Disable_pdump_Andy.hu' into 'jh7110-devel'
CR_4142: package/starfive/img-gpu-powervr: update sha256 value for new tar ball

See merge request sdk/buildroot!94
2023-03-20 16:47:18 +00:00