Jump to content

Recommended Posts

Posted
On 7/10/2020 at 12:20 AM, 5kft said:

 

Hi @dolphs, I've checked in an updated patch for this here (in a test branch)

 

cheers for that,

 

since I am still learning this means a new checkout ( git clone --depth 1 https://github.com/armbian/build ) 

or just copy over your patch for time being " board-h6-improve-thermals.patch " , as these fail currently ( last time I built ):

1 out of 2 hunks FAILED -- saving rejects to file arch/arm64/boot/dts/allwinner/sun50i-h6-cpu-opp.dtsi.rej
1 out of 1 hunk FAILED -- saving rejects to file arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi.rej
 

meaning eg " rm board-h6-improve-thermals.patch && wget https://raw.githubusercontent.com/5kft/build/86ad3c26c9f4835cd97e223223c72f0464173848/patch/kernel/sunxi-dev/board-h6-improve-thermals.patch "

 

I did a fresh checkout , spun up a new compile job and verified the thermal patch does not throw any errors as was expected. 

 

 

Yet panfrost related patches to go, not sure about the "Unable to make Panfrost work on H6"-status since after May things are silent, perhaps @NicoD or @Werner have a good view  of what is going on, on this one?

Anyway in next attempt will exclude these to see what else is coming up.

 

thanks @5kft

[OK!]
Processing file /home/armbian/patch/kernel/sunxi-dev/board-h6-improve-thermals.patch

[NOK]
Processing file /home/armbian/patch/kernel/sunxi-dev/board-h6-orangepi-lite2-fix-missing-all.patch
1 out of 1 hunk FAILED -- saving rejects to file arch/arm64/boot/dts/allwinner/sun50i-h6-orangepi-lite2.dts.rej

Processing file /home/armbian/patch/kernel/sunxi-dev/sun50i-h6-drm_panfrost-1-missing-remove-opp-table-in-case-of-failure.patch
2 out of 3 hunks FAILED -- saving rejects to file drivers/gpu/drm/panfrost/panfrost_devfreq.c.rej

Processing file /home/armbian/patch/kernel/sunxi-dev/sun50i-h6-drm_panfrost-2-add-devfreq-regulator-support.patch
2 out of 3 hunks FAILED -- saving rejects to file drivers/gpu/drm/panfrost/panfrost_devfreq.c.rej
1 out of 1 hunk FAILED -- saving rejects to file drivers/gpu/drm/panfrost/panfrost_device.h.rej

 

So removed these three patches but alas still stuck ...

make[5]: *** [scripts/Makefile.build:280: drivers/net/wireless/realtek/rtl8723cs/core/rtw_br_ext.o] Error 1
make[4]: *** [scripts/Makefile.build:497: drivers/net/wireless/realtek/rtl8723cs] Error 2
make[3]: *** [scripts/Makefile.build:497: drivers/net/wireless/realtek] Error 2
make[2]: *** [scripts/Makefile.build:497: drivers/net/wireless] Error 2
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [scripts/Makefile.build:497: drivers/net] Error 2
make[1]: *** Waiting for unfinished jobs....
make: *** [Makefile:1758: drivers] Error 2

 

Not entirely sure if this is related to @martinayotte work done in 5.6 kernel cleanup/ fixes...

Therefore added compilation.log, this is the one that FAILs.

 

compilation.log

Posted

cheers @lanefu but this is how I spin up my builds usually, therefore alas no go ( summary from first page below )

I will give it another shot Tuesday earliest I guess ( hoping also for rc5 ) 

  

On 7/9/2020 at 8:41 AM, dolphs said:

quick summary how to repeat things:


sed -i -e 's/orange-pi-5.7/orange-pi-5.8/g' sunxi64_common.inc 

./compile.sh BRANCH=dev RELEASE=buster BUILD_MINIMAL=yes BUILD_DESKTOP=no KERNEL_ONLY=no KERNEL_CONFIGURE=yes EXTRAWIFI=no WIREGUARD=no BOARD=orangepioneplus

 

 

Posted

OK new attempt but still these compilation errors

 

In file included from drivers/net/wireless/realtek/rtl8723cs/include/drv_types.h:82,
                 from drivers/net/wireless/realtek/rtl8723cs/core/rtw_br_ext.c:32:
drivers/net/wireless/realtek/rtl8723cs/include/rtw_security.h:241:8: error: redefinition of ‘struct sha256_state’
 struct sha256_state {
        ^~~~~~~~~~~~
In file included from ./include/linux/filter.h:23,
                 from ./include/net/sock.h:59,
                 from ./include/net/inet_sock.h:22,
                 from ./include/net/ip.h:27,
                 from drivers/net/wireless/realtek/rtl8723cs/core/rtw_br_ext.c:24:
./include/crypto/sha.h:84:8: note: originally defined here
 struct sha256_state {
        ^~~~~~~~~~~~
make[5]: *** [scripts/Makefile.build:281: drivers/net/wireless/realtek/rtl8723cs/core/rtw_br_ext.o] Error 1
make[4]: *** [scripts/Makefile.build:497: drivers/net/wireless/realtek/rtl8723cs] Error 2
make[4]: *** Waiting for unfinished jobs....
make[3]: *** [scripts/Makefile.build:497: drivers/net/wireless/realtek] Error 2
make[3]: *** Waiting for unfinished jobs....
make[2]: *** [scripts/Makefile.build:497: drivers/net/wireless] Error 2
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [scripts/Makefile.build:497: drivers/net] Error 2
make[1]: *** Waiting for unfinished jobs....
drivers/usb/typec/anx7688.c: In function ‘anx7688_connect’:
drivers/usb/typec/anx7688.c:489:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  const u8 dp_snk_identity[16] = {
  ^~~~~
drivers/usb/typec/anx7688.c:502:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  const u8 svid[4] = {
  ^~~~~
make: *** [Makefile:1758: drivers] Error 2

 

Can be repeated this way:

- fresh checkout


- manual intervention
cd ~/armbian/config/sources/families/include
sed -i -e 's/orange-pi-5.7/orange-pi-5.8/g' sunxi64_common.inc

cd ~/armbian/patch/kernel/sunxi-dev

rm -v board-h6-improve-thermals.patch
wget https://raw.githubusercontent.com/5kft/build/86ad3c26c9f4835cd97e223223c72f0464173848/patch/kernel/sunxi-dev/board-h6-improve-thermals.patch
rm -v board-h6-orangepi-lite2-fix-missing-all.patch
rm -v sun50i-h6-drm_panfrost-1-missing-remove-opp-table-in-case-of-failure.patch
rm -v sun50i-h6-drm_panfrost-2-add-devfreq-regulator-support.patch


- compile rc5
cd ~/armbian

./compile.sh BRANCH=dev RELEASE=buster BUILD_MINIMAL=yes BUILD_DESKTOP=no KERNEL_ONLY=no KERNEL_CONFIGURE=yes EXTRAWIFI=no WIREGUARD=no BOARD=orangepioneplus
load saved " .config-h6-default "

 

Posted

OK I took a closer look in the patch directory ( which I should have done earlier ) .

Yet I found these patches ( below ), but till now I was convinced flag " EXTRAWIFI=no " would bypass these.

Anyway after removing these two I succeeded to build my first 5.8 image ( with most patches )

 

-wifi-4001-add-realtek-8723cs-kconfig-makefile.patch
-wifi-4002-add-realtek-8723cs.patch
 

:~/armbian/output/images$ ls -l
total 674496
-rw-rw-r-- 1 root root 792723456 Jul 17 08:53 Armbian_20.08.0-trunk_Orangepioneplus_buster_dev_5.8.0-rc5_minimal.img
-rw-rw-r-- 1 root sudo       137 Jul 17 08:53 Armbian_20.08.0-trunk_Orangepioneplus_buster_dev_5.8.0-rc5_minimal.img.sha
-rw-rw-r-- 1 root sudo     19667 Jul 17 08:53 Armbian_20.08.0-trunk_Orangepioneplus_buster_dev_5.8.0-rc5_minimal.img.txt

 

 

  ___  ____  _    ___
 / _ \|  _ \(_)  / _ \ _ __   ___   _
| | | | |_) | | | | | | '_ \ / _ \_| |_
| |_| |  __/| | | |_| | | | |  __/_   _|
 \___/|_|   |_|  \___/|_| |_|\___| |_|

Welcome to Armbian buster with Linux 5.8.0-rc5-sunxi64

No end-user support: built from trunk

System load:   0.00 0.00 0.00   Up time:        1:50
Memory usage:  9 % of 986MB     IP:            192.168.10.122
CPU temp:      51°C
Usage of /:    18% of 3.5G

 

 

:~# cpufreq-info
cpufrequtils 008: cpufreq-info (C) Dominik Brodowski 2004-2009
Report errors and bugs to cpufreq@vger.kernel.org, please.
analyzing CPU 0:
  no or unknown cpufreq driver is active on this CPU
  maximum transition latency: 4294.55 ms.
analyzing CPU 1:
  no or unknown cpufreq driver is active on this CPU
  maximum transition latency: 4294.55 ms.
analyzing CPU 2:
  no or unknown cpufreq driver is active on this CPU
  maximum transition latency: 4294.55 ms.
analyzing CPU 3:
  no or unknown cpufreq driver is active on this CPU
  maximum transition latency: 4294.55 ms.

 

root@orangepioneplus:~# lsmod
Module                  Size  Used by
rfkill                 32768  1
snd_soc_hdmi_codec     20480  0
snd_soc_core          180224  1 snd_soc_hdmi_codec
snd_pcm_dmaengine      20480  1 snd_soc_core
snd_pcm               114688  3 snd_soc_hdmi_codec,snd_soc_core,snd_pcm_dmaengine
snd_timer              45056  1 snd_pcm
snd                    81920  4 snd_soc_hdmi_codec,snd_timer,snd_soc_core,snd_pcm
soundcore              16384  1 snd
zstd                   16384  4
sunxi_cir              20480  0
sunxi_cedrus           36864  0
rc_core                53248  2 sunxi_cir
videobuf2_dma_contig    24576  1 sunxi_cedrus
v4l2_mem2mem           32768  1 sunxi_cedrus
videobuf2_memops       20480  1 videobuf2_dma_contig
videobuf2_v4l2         28672  2 sunxi_cedrus,v4l2_mem2mem
dw_hdmi_cec            16384  0
dw_hdmi_i2s_audio      16384  0
videobuf2_common       53248  3 sunxi_cedrus,videobuf2_v4l2,v4l2_mem2mem
videodev              249856  4 sunxi_cedrus,videobuf2_v4l2,videobuf2_common,v4l2_mem2mem
mc                     53248  5 sunxi_cedrus,videodev,videobuf2_v4l2,videobuf2_common,v4l2_mem2mem
panfrost               65536  0
sun8i_ce               28672  0
gpu_sched              32768  1 panfrost
display_connector      20480  0
crypto_engine          20480  1 sun8i_ce
zram                   36864  3
realtek                24576  1
i2c_mv64xxx            24576  0
dwmac_sun8i            28672  0
mdio_mux               16384  1 dwmac_sun8i

 

This means now things drill down to go thru the patches which need to be either removed or updated for kernel 5.8 ( and u-boot )

Posted
On 7/23/2020 at 12:40 PM, dolphs said:

Hi - Was about to spin up a new build (rc6), but it seems MakeFile has not been updated yet?

 

@megous @megi will you wait for rc7 which will be released coming Sunday (Monday) most likely, or could orange-pi-5.8 branch be updated please? 

TiA!

I'll probably only udpate on final v5.8 release.

Posted
2 minutes ago, dolphs said:

Looks like similar in 5.8 , cpufreq broken,

 

Was broken in 5.7 too but has been fixed. Was due to missing dts entries. If it is broken in 5.8 again it is most likely for the same reason.

 

Posted

Hi,

 

thanks @megi , for bumping dev to 5.8 !

@all - Therefore please let's update dev branch to 5.8 as 5.7 will be phased out somewhere in August.

 

 

First glance showed :

 

1/ duplicate labels ( sun50i-h6.dtsi ):
to be found in: " ./cache/sources/u-boot/v2020.04/arch/arm/dts "

-sun50i-h6-beelink-gs1.dtb
-sun50i-h6-orangepi-one-plus.dtb
-sun50i-h6-orangepi-3.dtb
-sun50i-h6-orangepi-lite2.dtb
-sun50i-h6-pine-h64-model-b.dtb
-sun50i-h6-pine-h64.dtb
-sun50i-h6-tanix-tx6.dtb


Which reminds me u-boot can be updated to 2020.07.
Wasn't there a JIRA story for this already ( rgd 20.08 Caple release ? ) 

 

 

 

2/ patches in 5.8 that need attention

 

This one can be used still for 5.7. and 5.8 ?

- general-packaging-5.6.y.patch 

 

 

Further took out these that FAILED, see full logs attached of three attempts till image got built :

cd ~/armbian/patch/kernel/sunxi-dev

rm board-h6-improve-thermals.patch
wget https://raw.githubusercontent.com/5kft/build/86ad3c26c9f4835cd97e223223c72f0464173848/patch/kernel/sunxi-dev/board-h6-improve-thermals.patch



rm 0001-Revert-leds-axp20x-Support-charger-LED-on-AXP20x-lik.patch
rm 0002-Add-leds-axp20-x-charger.patch
rm add-missing-H6-gpu-opp-in-5.7.y.patch
rm olimex_0020-arm-sun7i-a20-Add-support-for-A20-OLinuXino-LIME-eMM.patch
rm olimex_0023-drm-sun4i-hdmi-Add-support-for-sun4i-HDMI-encoder-au.patch
rm olimex_0038-dts-fix-lime-emmc-compatible-string.patch
rm board-h6-orangepi-lite2-fix-missing-all.patch
rm sun50i-h6-drm_panfrost-1-missing-remove-opp-table-in-case-of-failure.patch
rm sun50i-h6-drm_panfrost-2-add-devfreq-regulator-support.patch
rm wifi-4001-add-realtek-8723cs-kconfig-makefile.patch
rm wifi-4002-add-realtek-8723cs.patch


This results in an image, but did not flash it yet as these above need attention and should be fixed first varying from just deleting to updates imho :

@armbian:~/armbian$ ls -l /home/armbian/output/images/
total 620180
-rw-rw-r-- 1 root root 725614592 Aug  3 08:06 Armbian_20.08.0-trunk_Orangepioneplus_buster_dev_5.8.0_minimal.img
-rw-rw-r-- 1 root sudo       133 Aug  3 08:06 Armbian_20.08.0-trunk_Orangepioneplus_buster_dev_5.8.0_minimal.img.sha
-rw-rw-r-- 1 root sudo     19639 Aug  3 08:06 Armbian_20.08.0-trunk_Orangepioneplus_buster_dev_5.8.0_minimal.img.txt

 

compilation.zip output.zip patching.zip

Posted

@Werner as well @Igor hope I could contribute to initial stage identifying which patches need to be reviewed,

so 5.8 can be build for h6 ( and h3/ h5 ) clean and properly  

Posted
On 8/3/2020 at 1:18 PM, dolphs said:

hope I could contribute to initial stage identifying which patches need to be reviewed,

so 5.8 can be build for h6 ( and h3/ h5 ) clean and properly  


If you have time, DEV branch is safe for bumping to 5.8.y with a pull request (we merge after release). regardless of the release ... just keep it build-able and make sure to include all the patches that are in and yet to come to 5.7.y if they are needed.


Edit: probably we need to adjust all / many wireless drivers for 5.8.y Some already are.

Posted
1 hour ago, Igor said:

DEV branch is safe for bumping to 5.8.y

I've started the task ... But not all my Allwinner garden is tested ...

 

1 hour ago, Igor said:

probably we need to adjust all / many wireless drivers for 5.8.y Some already are.

Yes ! I've done a patch to tweak sha256_state structure clashes for tons of Realtek drivers as well as API changes to cfg80211.

 

BTW, I've done some tests with BullEyes desktop on my OPi3, and Panfrost is freezing easily while it was working fine under 5.7.y.

Posted
11 hours ago, martinayotte said:

BTW, I've done some tests with BullEyes desktop on my OPi3, and Panfrost is freezing easily while it was working fine under 5.7.y.

Did you apply the GPU clock fix?

Posted
8 hours ago, Werner said:

Did you apply the GPU clock fix?

If you mean this patch/kernel/sunxi-dev/add-missing-H6-gpu-opp-in-5.7.y.patch, Yes it is still applied, although I had to remove CPU OPP since it became a duplicate.

But it most probably related to those ones since I had to disabled them completely (I could not easily fix them) :

 

patch/kernel/sunxi-dev/sun50i-h6-drm_panfrost-1-missing-remove-opp-table-in-case-of-failure.patch
patch/kernel/sunxi-dev/sun50i-h6-drm_panfrost-2-add-devfreq-regulator-support.patch

 

Posted
16 minutes ago, Werner said:

I meant the devfreq hack

Oh ! I've completely forgot about the hack, I've forgot to add it in /etc/rc.local of the 5.8.y build ... I will check now ...

 

EDIT: Thanks for the reminder : it is not freezing any more, at least until now ! ;)

Posted
52 minutes ago, martinayotte said:

The DEV branch is now 5.8.y, commmitted this morning ...

 

Very nice work!  Since I've been messing with the overclock overlays of late, I just dropped them in and everything works great (initial testing on a NEO2), including thermal management.  dmesg seems clean as well!  Seems super solid with cursory testing so far :thumbup:

Posted

I've almost forgot one during my Allwinner garden tour : Pinebook-A64 !

 

Unfortunately, it seems that 5.8.y is broken somehow, the screen doesn't work after "starting kernel" ...

It is not a DT issue, since I've tried to exchange DTB with my previous 5.7.6, so it must be in kernel binary.

 

If someone else have time to test, I will be glad to get help to figure what is broken.

 

Posted

hurah 5.8.2 came in at last ...

 

so running a new compile job ( without kernel being modified / KERNEL_CONFIGURE=no ) learnt:

- YES! it builds, however

- are patches still needed for 5.8, eg can these be removed or do they need to be optimised for 5.8?

- lots of WIFI misery around, even with EXTRAWIFI=no flag

- Uboot on v2020.04

 

Things are improving but still lots of improvement needed, nevertheless thanks chaps that spend time on fixing things!

 

Processing file /home/armbian/patch/misc/general-packaging-5.6.y.patch
#still in and needed for 5.8 ?

Processing file /home/armbian/patch/kernel/sunxi-dev/add-missing-H6-cpu-opp-in-5.7.y.patch
#as is or to be optimised for 5.8 ?

Processing file /home/armbian/patch/kernel/sunxi-dev/add-missing-H6-gpu-opp-in-5.7.y.patch
2 out of 2 hunks FAILED -- saving rejects to file arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi.rej

WIFI and realtek misery all over see below ( even with extrawifi=no )


Processing file /home/armbian/patch/kernel/sunxi-dev/0001-Revert-leds-axp20x-Support-charger-LED-on-AXP20x-lik.patch
Reversed (or previously applied) patch detected!  Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file drivers/leds/leds-axp20x.c.rej

Processing file /home/armbian/patch/kernel/sunxi-dev/board-h6-improve-thermals.patch
1 out of 2 hunks FAILED -- saving rejects to file arch/arm64/boot/dts/allwinner/sun50i-h6-cpu-opp.dtsi.rej
1 out of 1 hunk FAILED -- saving rejects to file arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi.rej

Processing file /home/armbian/patch/kernel/sunxi-dev/board-h6-orangepi-lite2-fix-missing-all.patch
1 out of 1 hunk FAILED -- saving rejects to file arch/arm64/boot/dts/allwinner/sun50i-h6-orangepi-lite2.dts.rej

Processing file /home/armbian/patch/kernel/sunxi-dev/disable-debug-rtl8723ds.patch
The text leading up to this was:
--------------------------
|diff --git a/drivers/net/wireless/rtl8723ds/include/autoconf.h b/drivers/net/wireless/rtl8723ds/include/autoconf.h
|index 9dd1a3e..ed1d27e 100644
|--- a/drivers/net/wireless/rtl8723ds/include/autoconf.h
|+++ b/drivers/net/wireless/rtl8723ds/include/autoconf.h
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored

Processing file /home/armbian/patch/kernel/sunxi-dev/olimex_0020-arm-sun7i-a20-Add-support-for-A20-OLinuXino-LIME-eMM.patch
Reversed (or previously applied) patch detected!  Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file arch/arm/boot/dts/Makefile.rej

Processing file /home/armbian/patch/kernel/sunxi-dev/olimex_0023-drm-sun4i-hdmi-Add-support-for-sun4i-HDMI-encoder-au.patch
Reversed (or previously applied) patch detected!  Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file drivers/gpu/drm/sun4i/Kconfig.rej
Reversed (or previously applied) patch detected!  Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file drivers/gpu/drm/sun4i/Makefile.rej
Reversed (or previously applied) patch detected!  Skipping patch.
4 out of 4 hunks ignored -- saving rejects to file drivers/gpu/drm/sun4i/sun4i_hdmi.h.rej
2 out of 4 hunks FAILED -- saving rejects to file drivers/gpu/drm/sun4i/sun4i_hdmi_enc.c.rej

Processing file /home/armbian/patch/kernel/sunxi-dev/wifi-4003-fix-sha256_state-clashes.patch
The text leading up to this was:
--------------------------
|diff --git a/drivers/net/wireless/rtl8189es/include/rtw_security.h b/drivers/net/wireless/rtl8189es/include/rtw_security.h
|index 5820a55..3e8e428 100644
|--- a/drivers/net/wireless/rtl8189es/include/rtw_security.h
|+++ b/drivers/net/wireless/rtl8189es/include/rtw_security.h
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
The text leading up to this was:
--------------------------
|diff --git a/drivers/net/wireless/rtl8189es/core/rtw_security.c b/drivers/net/wireless/rtl8189es/core/rtw_security.c
|index 8dac771..9b3a1f9 100644
|--- a/drivers/net/wireless/rtl8189es/core/rtw_security.c
|+++ b/drivers/net/wireless/rtl8189es/core/rtw_security.c
--------------------------
No file to patch.  Skipping patch.
5 out of 5 hunks ignored
The text leading up to this was:
--------------------------
|diff --git a/drivers/net/wireless/rtl8189fs/include/rtw_security.h b/drivers/net/wireless/rtl8189fs/include/rtw_security.h
|index 5820a55..3e8e428 100644
|--- a/drivers/net/wireless/rtl8189fs/include/rtw_security.h
|+++ b/drivers/net/wireless/rtl8189fs/include/rtw_security.h
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
The text leading up to this was:
--------------------------
|diff --git a/drivers/net/wireless/rtl8189fs/core/rtw_security.c b/drivers/net/wireless/rtl8189fs/core/rtw_security.c
|index 8dac771..9b3a1f9 100644
|--- a/drivers/net/wireless/rtl8189fs/core/rtw_security.c
|+++ b/drivers/net/wireless/rtl8189fs/core/rtw_security.c
--------------------------
No file to patch.  Skipping patch.
5 out of 5 hunks ignored
The text leading up to this was:
--------------------------
|diff --git a/drivers/net/wireless/rtl8811cu/include/rtw_security.h b/drivers/net/wireless/rtl8811cu/include/rtw_security.h
|index ac8432e..5f74fb7 100755
|--- a/drivers/net/wireless/rtl8811cu/include/rtw_security.h
|+++ b/drivers/net/wireless/rtl8811cu/include/rtw_security.h
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
The text leading up to this was:
--------------------------
|diff --git a/drivers/net/wireless/rtl8811cu/core/rtw_security.c b/drivers/net/wireless/rtl8811cu/core/rtw_security.c
|index b537a26..f8c42f4 100755
|--- a/drivers/net/wireless/rtl8811cu/core/rtw_security.c
|+++ b/drivers/net/wireless/rtl8811cu/core/rtw_security.c
--------------------------
No file to patch.  Skipping patch.
5 out of 5 hunks ignored
The text leading up to this was:
--------------------------
|diff --git a/drivers/net/wireless/rtl8188eu/include/rtw_security.h b/drivers/net/wireless/rtl8188eu/include/rtw_security.h
|index 0adc700..2a9cf9d 100644
|--- a/drivers/net/wireless/rtl8188eu/include/rtw_security.h
|+++ b/drivers/net/wireless/rtl8188eu/include/rtw_security.h
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
The text leading up to this was:
--------------------------
|diff --git a/drivers/net/wireless/rtl8188eu/core/rtw_security.c b/drivers/net/wireless/rtl8188eu/core/rtw_security.c
|index 5807521..0b3eed2 100644
|--- a/drivers/net/wireless/rtl8188eu/core/rtw_security.c
|+++ b/drivers/net/wireless/rtl8188eu/core/rtw_security.c
--------------------------
No file to patch.  Skipping patch.
5 out of 5 hunks ignored
The text leading up to this was:
--------------------------
|diff --git a/drivers/net/wireless/rtl88x2bu/include/rtw_security.h b/drivers/net/wireless/rtl88x2bu/include/rtw_security.h
|index ac8432e..5f74fb7 100644
|--- a/drivers/net/wireless/rtl88x2bu/include/rtw_security.h
|+++ b/drivers/net/wireless/rtl88x2bu/include/rtw_security.h
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
The text leading up to this was:
--------------------------
|diff --git a/drivers/net/wireless/rtl88x2bu/core/rtw_security.c b/drivers/net/wireless/rtl88x2bu/core/rtw_security.c
|index b537a26..f8c42f4 100644
|--- a/drivers/net/wireless/rtl88x2bu/core/rtw_security.c
|+++ b/drivers/net/wireless/rtl88x2bu/core/rtw_security.c
--------------------------
No file to patch.  Skipping patch.
5 out of 5 hunks ignored
The text leading up to this was:
--------------------------
|diff --git a/drivers/net/wireless/rtl8723ds/include/rtw_security.h b/drivers/net/wireless/rtl8723ds/include/rtw_security.h
|index 83c06a5..bcea21a 100644
|--- a/drivers/net/wireless/rtl8723ds/include/rtw_security.h
|+++ b/drivers/net/wireless/rtl8723ds/include/rtw_security.h
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
The text leading up to this was:
--------------------------
|diff --git a/drivers/net/wireless/rtl8723ds/core/rtw_security.c b/drivers/net/wireless/rtl8723ds/core/rtw_security.c
|index 88033df..11aa9a4 100644
|--- a/drivers/net/wireless/rtl8723ds/core/rtw_security.c
|+++ b/drivers/net/wireless/rtl8723ds/core/rtw_security.c
--------------------------
No file to patch.  Skipping patch.
5 out of 5 hunks ignored

Processing file /home/armbian/patch/kernel/sunxi-dev/wifi-4004-fix-cfg80211-for-5.8.patch
The text leading up to this was:
--------------------------
|diff --git a/drivers/net/wireless/rtl8189es/os_dep/linux/ioctl_cfg80211.c b/drivers/net/wireless/rtl8189es/os_dep/linux/ioctl_cfg80211.c
|index d77cc17..32cc240 100644
|--- a/drivers/net/wireless/rtl8189es/os_dep/linux/ioctl_cfg80211.c
|+++ b/drivers/net/wireless/rtl8189es/os_dep/linux/ioctl_cfg80211.c
--------------------------
No file to patch.  Skipping patch.
3 out of 3 hunks ignored
The text leading up to this was:
--------------------------
|diff --git a/drivers/net/wireless/rtl8189fs/os_dep/linux/ioctl_cfg80211.c b/drivers/net/wireless/rtl8189fs/os_dep/linux/ioctl_cfg80211.c
|index e894e97..e594cdf 100644
|--- a/drivers/net/wireless/rtl8189fs/os_dep/linux/ioctl_cfg80211.c
|+++ b/drivers/net/wireless/rtl8189fs/os_dep/linux/ioctl_cfg80211.c
--------------------------
No file to patch.  Skipping patch.
3 out of 3 hunks ignored
The text leading up to this was:
--------------------------
|diff --git a/drivers/net/wireless/rtl8811cu/os_dep/linux/ioctl_cfg80211.c b/drivers/net/wireless/rtl8811cu/os_dep/linux/ioctl_cfg80211.c
|index c0df148..9bff924 100755
|--- a/drivers/net/wireless/rtl8811cu/os_dep/linux/ioctl_cfg80211.c
No file to patch.  Skipping patch.
3 out of 3 hunks ignored
The text leading up to this was:
--------------------------
|diff --git a/drivers/net/wireless/rtl8188eu/os_dep/linux/ioctl_cfg80211.c b/drivers/net/wireless/rtl8188eu/os_dep/linux/ioctl_cfg80211.c
|index 721723e..62fd530 100644
|--- a/drivers/net/wireless/rtl8188eu/os_dep/linux/ioctl_cfg80211.c
|+++ b/drivers/net/wireless/rtl8188eu/os_dep/linux/ioctl_cfg80211.c
--------------------------
No file to patch.  Skipping patch.
3 out of 3 hunks ignored
The text leading up to this was:
--------------------------
|diff --git a/drivers/net/wireless/rtl88x2bu/os_dep/linux/ioctl_cfg80211.c b/drivers/net/wireless/rtl88x2bu/os_dep/linux/ioctl_cfg80211.c
|index 2fd4e28..b463e55 100755
|--- a/drivers/net/wireless/rtl88x2bu/os_dep/linux/ioctl_cfg80211.c
|+++ b/drivers/net/wireless/rtl88x2bu/os_dep/linux/ioctl_cfg80211.c
--------------------------
No file to patch.  Skipping patch.
3 out of 3 hunks ignored
The text leading up to this was:
--------------------------
|diff --git a/drivers/net/wireless/rtl8723ds/os_dep/linux/ioctl_cfg80211.c b/drivers/net/wireless/rtl8723ds/os_dep/linux/ioctl_cfg80211.c
|index 564c2c5..921a452 100644
|--- a/drivers/net/wireless/rtl8723ds/os_dep/linux/ioctl_cfg80211.c
|+++ b/drivers/net/wireless/rtl8723ds/os_dep/linux/ioctl_cfg80211.c
--------------------------
No file to patch.  Skipping patch.
3 out of 3 hunks ignored

 

Posted
2 hours ago, dolphs said:

- lots of WIFI misery around, even with EXTRAWIFI=no flag

When I've switched sunxi-dev to 5.8, I've provided the following patches which solves those WiFi glitches, did you have done a "git pull" to get them ?
 

patch/kernel/sunxi-dev/wifi-4003-fix-sha256_state-clashes.patch
patch/kernel/sunxi-dev/wifi-4004-fix-cfg80211-for-5.8.patch

EDIT: what about leaving EXTRAWIFI=yes ?

Posted

@martinayotte I actually did a fresh check out ( sudo rm -rf armbian && git clone --depth 1 https://github.com/armbian/build armbian )  before actually compiling with these parameters

./compile.sh BRANCH=dev RELEASE=buster BUILD_MINIMAL=yes BUILD_DESKTOP=no KERNEL_ONLY=no KERNEL_CONFIGURE=no EXTRAWIFI=no WIREGUARD=no BOARD=orangepioneplus

Sure I could leave out the wireguard ( obsolete now ) and extrawifi parameters ... 

Will spin up a new one ( thus clean checkout ) and compile with EXTRAWIFI=yes

#though no need for it in my situation and will report back shortly

 

EDIT:

Indeed that shows less misery :-)

Processing file /home/armbian/patch/kernel/sunxi-dev/0001-Revert-leds-axp20x-Support-charger-LED-on-AXP20x-lik.patch
Reversed (or previously applied) patch detected!  Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file drivers/leds/leds-axp20x.c.rej

Processing file /home/armbian/patch/kernel/sunxi-dev/add-missing-H6-gpu-opp-in-5.7.y.patch
2 out of 2 hunks FAILED -- saving rejects to file arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi.rej

Processing file /home/armbian/patch/kernel/sunxi-dev/board-h6-improve-thermals.patch
1 out of 2 hunks FAILED -- saving rejects to file arch/arm64/boot/dts/allwinner/sun50i-h6-cpu-opp.dtsi.rej
1 out of 1 hunk FAILED -- saving rejects to file arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi.rej

Processing file /home/armbian/patch/kernel/sunxi-dev/board-h6-orangepi-lite2-fix-missing-all.patch
1 out of 1 hunk FAILED -- saving rejects to file arch/arm64/boot/dts/allwinner/sun50i-h6-orangepi-lite2.dts.rej

Processing file /home/armbian/patch/kernel/sunxi-dev/olimex_0020-arm-sun7i-a20-Add-support-for-A20-OLinuXino-LIME-eMM.patch
Reversed (or previously applied) patch detected!  Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file arch/arm/boot/dts/Makefile.rej

Processing file /home/armbian/patch/kernel/sunxi-dev/olimex_0023-drm-sun4i-hdmi-Add-support-for-sun4i-HDMI-encoder-au.patch
Reversed (or previously applied) patch detected!  Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file drivers/gpu/drm/sun4i/Kconfig.rej
Reversed (or previously applied) patch detected!  Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file drivers/gpu/drm/sun4i/Makefile.rej
Reversed (or previously applied) patch detected!  Skipping patch.
4 out of 4 hunks ignored -- saving rejects to file drivers/gpu/drm/sun4i/sun4i_hdmi.h.rej
2 out of 4 hunks FAILED -- saving rejects to file drivers/gpu/drm/sun4i/sun4i_hdmi_enc.c.rej

 

Earlier wrote about the improve thermals.patch already ( @5kft provided fix for 5.8 ) so that could be committed imho .

Anyway a "fork" if " extrawifi=no " is being used would be nice. 

 

Building own kernel is guess only option for a "KERNEL_MINIMAL=yes " ( and a "KERNEL_HEADLESS )

meaning no WiFi, no BLutooth, no amateur radio, no multimedia, etc etc: meant for headless server purposes

 

thanks!

Posted
3 hours ago, dolphs said:

Indeed that shows less misery :-)

Even less misery since all the one seen as "Reversed patch detected! Skipping patch." means the patch already present in Megous branch, so I will do the clean up by removing them.

So, I will check how to fix the only remining ones ...

Posted

So 5.7 has gone EOL...should we consider switching -current to 5.8 and -dev to 5.9-rc?  How much work is left to be done for 5.8?  I've been running 5.8 for a few weeks now on all of my boards and it works great.  However I don't have an H6, and I think there are still some patch issues with the H6...?

Posted

Since 5.9 is ahead I'd suggest to focus on that since this will become next LTS kernel.

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines