-
Posts
275 -
Joined
-
Last visited
Content Type
Forums
Store
Crowdfunding
Applications
Events
Raffles
Community Map
Posts posted by dolphs
-
-
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!
-
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 )
-
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 "
-
same here ( idle most time ) but must admit I always use "conservative" even on the H5 boards.
BTW still did not have time to spin up a new build ( rc5 ) , come to that later ( weekend perhaps )
-
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
-
-
-
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.
-
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 # Compiling dev kernel [ 5.8.0-rc4 ] load .config-h6-default ( file attached in this topic ) # exit, start compiling kernel and building image
Errors on following items, thus when patch directory is present :
compilation.log :
- lots of warnings thrown but ignoring these ( for the moment )
- yet these are of interest that need to be fixed: panfrost and wifi ( realtek ) stuffdrivers/gpu/drm/panfrost/panfrost_devfreq.c:86:13: error: ‘struct panfrost_device’ has no member named ‘devfreq’; did you mean ‘pfdevfreq’? drivers/gpu/drm/panfrost/panfrost_devfreq.c:87:36: error: ‘struct panfrost_device’ has no member named ‘devfreq’; did you mean ‘pfdevfreq’? drivers/gpu/drm/panfrost/panfrost_devfreq.c:88:10: error: ‘struct panfrost_device’ has no member named ‘devfreq’; did you mean ‘pfdevfreq’? drivers/gpu/drm/panfrost/panfrost_devfreq.c:91:9: error: ‘ret’ undeclared (first use in this function); did you mean ‘net’? make[4]: *** [scripts/Makefile.build:280: drivers/gpu/drm/panfrost/panfrost_devfreq.o] Error 1 make[3]: *** [scripts/Makefile.build:497: drivers/gpu/drm/panfrost] Error 2 make[2]: *** [scripts/Makefile.build:497: drivers/gpu/drm] Error 2 make[1]: *** [scripts/Makefile.build:497: drivers/gpu] Error 2 drivers/net/wireless/realtek/rtl8723cs/include/rtw_security.h:241:8: error: redefinition of ‘struct sha256_state’ 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[1]: *** [scripts/Makefile.build:497: drivers/net] Error 2 make: *** [Makefile:1758: drivers] Error 2
patching.log :
- those fail ( @5kft the first one is yours I assume ):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/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 Processing file /home/armbian/patch/misc/general-packaging-5.6.y.patch # either to be removed or updated for kernel 5.8 ( as well 5.7 ) # more plausible ones but not of interest atm
- output.log :
<snip snip> Displaying message: * [\e[32ml\e[0m][\e[32mc\e[0m] xxx-orangepiprime-addregulator.patch info Displaying message: * [\e[32ml\e[0m][\e[32mc\e[0m] xxx-orangepizero-plus2-default-regulator.patch info Displaying message: * [\e[32ml\e[0m][\e[32mc\e[0m] xxx-sun50i-h6-enable-higher-clock.patch info Displaying message: Compressing sources for the linux-source package Displaying message: Compiling dev kernel 5.8.0-rc4 info Displaying message: Compiler version aarch64-linux-gnu-gcc 8.3.0 info Displaying message: Using kernel config file config/kernel/linux-sunxi64-dev.config info Displaying message: Exporting new kernel config /home/armbian/output/config/linux-sunxi64-dev.config info Displaying message: ERROR in function compile_kernel compilation.sh:407 err Displaying message: Kernel was not built @host err
- install.log : not present at this stage
Please find compilation and patching logs attached. -
Hi,
Regarding this message "long" time ago I decided to give it another go
On 6/24/2020 at 5:19 PM, Igor said:Both kernels builds without overlay support. Remaining problems:
https://github.com/armbian/build/tree/AR-329/patch/kernel/sunxi-dev/checkSo found myself some time to spin up a new build for rc4.
ensuring " sed -i -e 's/orange-pi-5.7/orange-pi-5.8/g' sunxi64_common.inc " and renamed patch dir to patch.bak, building with these parameters:
" ./compile.sh BRANCH=dev RELEASE=buster BUILD_MINIMAL=yes BUILD_DESKTOP=no KERNEL_ONLY=no KERNEL_CONFIGURE=yes EXTRAWIFI=no WIREGUARD=no BOARD=orangepioneplus "
I attached " .config-h6-default "-file and should save us from pile of questions for the moment ( see also attached kernel58rc4_01.txt )
The build resulted in " Armbian_20.08.0-trunk_Orangepioneplus_buster_dev__minimal.img " that is true, but did not boot of course due to patches that need to be present
However noticed following from the debug logs :- compilation.log shows no more errors, but quite some warnings I ignored
- install.log shows a WARNING " apt does not have a stable CLI interface. Use with caution in scripts." that I ignored
- patching.log/
- output.log :/home/armbian/patch/misc/general-packaging-5.6.y.patch: No such file or directory
/home/armbian/lib/compilation.sh: line 741: /home/armbian/patch/misc/general-packaging-5.6.y.patch: No such file or directory
[ warn ] * applying general-packaging-5.6.y.patch [ failed ]The patch dir got renamed to patch.bak so that is not the issue here,
but this should be updated/ fixed for kernel 5.7 and kernel 5.8 ( jira story ? )
Next steps would be:
- checking kernel settings more thoroughly,
- take a look at the (redundant) patches in 5.8 ( and 5.7 )
- a bump for u-boot perhaps, as v2020.07 seems to be stable now.
All Jira stories?
Last but not least found out these are merged in ( mainlining effort ) 5.8
<*> SPI multiplexer support ( was in 5.7 already merged )
<*> Allwinner sun6i/sun8i/sun9i/sun50i Message Box
[*] Allwinner H6 IOMMU Support
rgd DVFS I suppose that is a newer driver in CPU Power Management ( Allwinner nvmem based SUN50I CPUFreq driver ) if I am not mistaken
Not sure if @5kft 's contribution has been incorporated though? -
On 6/22/2020 at 2:10 PM, martinayotte said:
Did you added the "EXPORT_SYMBOL(of_chosen);" to driver/of/base.c ?
oof lost u there I'm afraid.
17 minutes ago, Igor said:We can make more together I did few fixing, but didn't pass problems ... will check it later.
trying to be of help in some way, thanks so far to the ones reading this topic - however will need to do a "sed" still for dev ...
-
hmm bummer still no luck with rc2, same status @megi this can be sorted ( also ) for kernel 5.8 please as @martinayotte requested for 5.7? TiA!
ERROR: modpost: "of_chosen" [drivers/gpu/drm/sun4i/sun8i-mixer.ko] undefined! ERROR: modpost: "of_chosen" [drivers/gpu/drm/sun4i/sun6i_mipi_dsi.ko] undefined! ERROR: modpost: "of_chosen" [drivers/gpu/drm/sun4i/sun4i-tcon.ko] undefined! ERROR: modpost: "of_chosen" [drivers/phy/allwinner/phy-sun6i-mipi-dphy.ko] undefined!
-
Ok that indeed explains that part, yihaa one hurdle, but more to overcome - cheers @martinayotte
@megi - If not already done, could this be fixed as well for 5.8 release please? Will do another attempt once rc2 has been released
-
On 6/18/2020 at 9:25 AM, dolphs said:
--- here is trouble ---
compilation.log:ERROR: modpost: "of_chosen" [drivers/gpu/drm/sun4i/sun8i-mixer.ko] undefined!
compilation.log:ERROR: modpost: "of_chosen" [drivers/gpu/drm/sun4i/sun6i_mipi_dsi.ko] undefined!
compilation.log:ERROR: modpost: "of_chosen" [drivers/gpu/drm/sun4i/sun4i-tcon.ko] undefined!
compilation.log:ERROR: modpost: "of_chosen" [drivers/phy/allwinner/phy-sun6i-mipi-dphy.ko] undefined!
--- /here is trouble ---
Looks like these are the new names in kernel 5.8, as well IOMMU is present
CONFIG_SUN50I_IOMMU=m
drivers/gpu/drm/sun4i/sun8i-mixer.ko
# replaced by CONFIG_DRM_SUN8I_MIXER=mdrivers/gpu/drm/sun4i/sun6i_mipi_dsi.ko
# replaced by CONFIG_DRM_SUN6I_DSI=mdrivers/gpu/drm/sun4i/sun4i-tcon.ko
# replaced by CONFIG_TOUCHSCREEN_SUN4I ?drivers/phy/allwinner/phy-sun6i-mipi-dphy.ko
# replaced by CONFIG_PHY_SUN6I_MIPI_DPHY=mGot some more interesting options but they are attached in kernel58rc1_01.txt
Yet will need to browse to all fresh meat available in this new kernel.
-
Suppose we need to dig in to kernel config , thus " KERNEL_CONFIGURE=YES "
and see what is going on there ... maybe later when I had some sleep ...
-
@Werner - OK I did a " mv patch patch.bak " and gave "compile.sh" another spin
From screen output
<snip snip> OBJCOPY arch/arm64/boot/Image MODPOST Module.symvers [ error ] ERROR in function compile_kernel [ compilation.sh:383 ] [ error ] Kernel was not built [ @host ] [ o.k. ] Process terminated
From logs I can see patching log more ore less clean ( duh ), except for these three which is apparently hard coded somewhere as "patch" directory is definitely not present :
Processing file /home/armbian/patch/misc/general-packaging-5.6.y.patch Processing file /home/armbian/patch/misc/kali-wifi-injection-1.patch Processing file /home/armbian/patch/misc/kali-wifi-injection-2.patch
so grepping for errors result in ::~/armbian/output/debug$ grep -i error *.log compilation.log:scripts/dtc/libfdt/fdt_strerror.c: In function ‘fdt_strerror’: compilation.log:scripts/dtc/libfdt/fdt_strerror.c:51:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare] --- here is trouble --- compilation.log:ERROR: modpost: "of_chosen" [drivers/gpu/drm/sun4i/sun8i-mixer.ko] undefined! compilation.log:ERROR: modpost: "of_chosen" [drivers/gpu/drm/sun4i/sun6i_mipi_dsi.ko] undefined! compilation.log:ERROR: modpost: "of_chosen" [drivers/gpu/drm/sun4i/sun4i-tcon.ko] undefined! compilation.log:ERROR: modpost: "of_chosen" [drivers/phy/allwinner/phy-sun6i-mipi-dphy.ko] undefined! --- /here is trouble --- compilation.log:make[1]: *** [scripts/Makefile.modpost:111: Module.symvers] Error 1 compilation.log:make: *** [Makefile:1370: modules] Error 2 output.log:Displaying message: ERROR in function compile_kernel compilation.sh:383 err
Also full compilation.log attached, but seems the four fellowes listed above seem to cause problems :
-
OK new patch list I came up with that does not fly in 5.8-rc1:,
- general-packaging-5.6.y.patch # processed though redundant/ to be revised for 5.8? - wifi-fix-staging-rtl8723cs-for-5.6.y.patch - 0004-sun4i-i2s-improvements.patch - 0008-arm64-dts-sun50i-a64-pine64-add-HDMI-audio-nodes.patch - 0010-general-h6-add-dma-i2c-ir-spi-uart.patch - 0101-arm64-dts-allwinner-a64-Enable-HDMI-output-on-A64-bo.patch - 0136-hdmi-audio-fixup.patch - 0534-arm64-dts-sun50i-h6-add-AC200-nodes.patch - add-BergMicro-SPI-flashes.patch - add-missing-sound-hdmi-H3+H5.patch - board-h6-orangepi-lite2-fix-missing-all.patch - board-h6-orangepioneplus-fix-missing-ethernet.patch - general-add-overlay-compilation-support.patch - xxx-add-bananapim2-zero-heartbeat-led.patch - xxx-orangepioneplus-enable-hdmi.patch - xxx-sun50i-h6-update-thermal-configuration.patch
patching log is attached which resulted in ERRORS.
The compilation log showed follow ERRORS rgd kernel:
== kernel == scripts/Makefile.lib:8: 'always' is deprecated. Please use 'always-y' instead arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi:1265.21-1276.5: ERROR (duplicate_node_names): /soc/i2s@1c22800: Duplicate node name ERROR: Input tree has errors, aborting (use -f to force output) make[2]: *** [scripts/Makefile.lib:316: arch/arm64/boot/dts/allwinner/sun50i-a64-bananapi-m64.dtb] Error 2 make[2]: *** Waiting for unfinished jobs.... arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi:1265.21-1276.5: ERROR (duplicate_node_names): /soc/i2s@1c22800: Duplicate node name ERROR: Input tree has errors, aborting (use -f to force output) make[2]: *** [scripts/Makefile.lib:316: arch/arm64/boot/dts/allwinner/sun50i-a64-oceanic-5205-5inmfd.dtb] Error 2 arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi:1265.21-1276.5: ERROR (duplicate_node_names): /soc/i2s@1c22800: Duplicate node name ERROR: Input tree has errors, aborting (use -f to force output) make[2]: *** [scripts/Makefile.lib:316: arch/arm64/boot/dts/allwinner/sun50i-a64-nanopi-a64.dtb] Error 2 arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi:1265.21-1276.5: ERROR (duplicate_node_names): /soc/i2s@1c22800: Duplicate node name ERROR: Input tree has errors, aborting (use -f to force output) make[2]: *** [scripts/Makefile.lib:316: arch/arm64/boot/dts/allwinner/sun50i-a64-amarula-relic.dtb] Error 2 make[1]: *** [scripts/Makefile.build:497: arch/arm64/boot/dts/allwinner] Error 2
So we have a starting point ( square one? ), also noticed:
Displaying message: ERROR in function compile_kernel compilation.sh:383 err
-
Yes sorry for me being clumsy there,
" ./compile.sh BRANCH=dev RELEASE=buster BUILD_MINIMAL=yes BUILD_DESKTOP=no KERNEL_ONLY=no KERNEL_CONFIGURE=no EXTRAWIFI=no WIREGUARD=no BOARD=orangepioneplus"
# asuming wireguard is built in to kernel so flag can be set to NO
was a no go obviously so will start looking at it , also when patch.bak is renamend back to patch, therefore compilation.log is bogus
Pfew seen many patches went havoc from the logs - so would be likely flying with you any time soon again
-
hah I'd love to , however I am a total n00b when it comes to python
this is what I basically concluded but I must have been missing some stuff somewhere along the road
sudo apt update && sudo apt install patchutils python3-pip cd ~/armbian/config/sources/families/include sed -i -e 's/orange-pi-5.6/orange-pi-5.8/g' sunxi64_common.inc cd ~/armbian mv patch patch.bak wget https://github.com/EvilOlaf/refactorpatches/blob/master/refactor.py ~/armbian$ python3.8 refactor.py File "refactor.py", line 6 <!DOCTYPE html> ^ SyntaxError: invalid syntax
Update : seen now checking out is not as simple as "wget ", yet better result:
ykoot@armbian:~/armbian$ python3.8 refactor.py Patch comparison Options: 1 = print a list of patches sorted by their first target file Example: mypatch.patch -> mycode.c, mycode.h, myothercode.c, ... 2 = split patches targeting multiple files into seperated patches and then print a list sorted by the target file. Optionally show target files only that are altered by multiple patches. Example: mypatch.patch -> mycode.c my2ndpatch.patch -> mycode.c my_other_patch_that_fixes_something_else.patch -> mycode.c 0 = Exit
-
Hi - Would it be possible to switch dev builds to 5.8 rc kernels?
It looks like megous is already prepared for it ( atm rc1 ).
Certainly I do realise the massive work filtering DT duplicates and applying fixes, etc ( the usual ) does come in here ...But rgd H6 this 5.8 kernel should hold important additions rgd: CPUFreq (DVFS), IOMMU, and MsgBox ( as well H3,H5 )
Therefore kindly requesting to skip 5.7 in dev and go straight for 5.8 which allows +/- two months of testing wich should be perfect for upcoming "Caple"-release in August.
-
-
On 4/6/2020 at 1:45 AM, bhat said:
NONE OF THEM HAVE WORKING STABLE GIGABIT ETHERNET
is that issue current with kernel 4.4.180 and RTL8211E ( though for 5.6 ) ?
Perhaps " ethtool -K eth0 tso off " disabling TCP Segmentation Offloading will solve this,
however not sure how that impacts performance also if you consider this board will be primarily used as a wireguard vpn/ pihole server.
Can one try to see if that helps/ is acceptable for speeds over 100Mbit?
-
-
was hoping 20.05.2 solved things but alas, we have to wait a little more:
# sysctl -p ovpn.conf
sysctl: setting key "net.ipv4.tcp_congestion_control": No such file or directory
net.ipv4.tcp_congestion_control = bbr# uname -a
Linux wgvpn01 5.4.43-sunxi64 #20.05.2 SMP Tue Jun 2 17:20:17 CEST 2020 aarch64 GNU/Linux
Switching SUNXI-DEV to 5.8.y (h3-h5-h6/megous)
in Advanced users - Development
Posted
Hmm, in reply to this topic @Werner: " sun50i-cpufreq-nvmem: probe of sun50i-cpufreq-nvmem failed with error -2 "
Looks like similar in 5.8 , cpufreq broken, while DVFS should have been added to kernel 5.8, to be honest did not do a "dmesg'
perhaps @5kft can help out both for 5.7 and 5.8 ? ( DVFS is planned for H5 in 5.9 )