mbox series

[OpenWrt-Devel,0/4,v2] archs38: kernel 5.4 suuport

Message ID 20200328111237.18763-1-Evgeniy.Didin@synopsys.com
Headers show
Series archs38: kernel 5.4 suuport | expand

Message

Evgeniy Didin March 28, 2020, 11:12 a.m. UTC
This patch switches kernel version to 5.4 for archs38.

Changes since v1:
1) Remove disabling of ath9k-htc package usage.
   On initial port in config-5.4 file the option
   "CONFIG_USB_SUPPORT" was missing what caused 
   build failure.
2) Instead of switching to GCC9 introduce Linux kernel
  patch which adds compiler option to workaround ICE


Evgeniy Didin (4):
  archs38: add kernel 5.4 config
  archs38: Add patch for gcc8 compilance
  archs38: switch to kernel 5.4 by default
  kernel: update arc-specific patch

 target/linux/archs38/Makefile                 |   2 +-
 target/linux/archs38/config-5.4               | 309 ++++++++++++++++++
 ...h-arc-Add-compiler-option-for-gcc8.4.patch |  26 ++
 .../332-arc-add-OWRTDTB-section.patch         |  31 +-
 4 files changed, 356 insertions(+), 12 deletions(-)
 create mode 100644 target/linux/archs38/config-5.4
 create mode 100644 target/linux/archs38/patches-5.4/0001-arch-arc-Add-compiler-option-for-gcc8.4.patch

Comments

Hauke Mehrtens March 29, 2020, 2:29 p.m. UTC | #1
On 3/28/20 12:12 PM, Evgeniy Didin wrote:
> This patch switches kernel version to 5.4 for archs38.
> 
> Changes since v1:
> 1) Remove disabling of ath9k-htc package usage.
>    On initial port in config-5.4 file the option
>    "CONFIG_USB_SUPPORT" was missing what caused 
>    build failure.
> 2) Instead of switching to GCC9 introduce Linux kernel
>   patch which adds compiler option to workaround ICE
> 
> 
> Evgeniy Didin (4):
>   archs38: add kernel 5.4 config
>   archs38: Add patch for gcc8 compilance
>   archs38: switch to kernel 5.4 by default
>   kernel: update arc-specific patch
> 
>  target/linux/archs38/Makefile                 |   2 +-
>  target/linux/archs38/config-5.4               | 309 ++++++++++++++++++
>  ...h-arc-Add-compiler-option-for-gcc8.4.patch |  26 ++
>  .../332-arc-add-OWRTDTB-section.patch         |  31 +-
>  4 files changed, 356 insertions(+), 12 deletions(-)
>  create mode 100644 target/linux/archs38/config-5.4
>  create mode 100644 target/linux/archs38/patches-5.4/0001-arch-arc-Add-compiler-option-for-gcc8.4.patch
> 

Hi Evgeniy,

I applied your patches with some minor changes to the config patch:
https://git.openwrt.org/?p=openwrt/openwrt.git;a=commitdiff;h=e3bcb837209af464e862813f514f76f3b6315124
Please check if it is really working.

Will you also provide an update to kernel 5.4 for the arc770 target?

Are you trying to get a fix or workaround for the problem with GCC 8.4.0
into the mainline kernel or GCC 8.X?

Hauke