Jump to content

Recommended Posts

Posted

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.

Posted

Feel free to start working on and for example look for patches that are now duplicates since stuff got pushed to upstream.

Maybe you can give my tool a try to make things a bit easier:

 

Posted

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

 

Posted

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 ;)  

compilation.log

Posted

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

build01-rc1

Posted

Those duplicates are probably a result of "false-positive" patches I'd say. So they could be applied even though they were not meant to be applied. This needs to be sorted out by hand.

Try to compile the sources without any patches applied and see what happens. If it throws errors there might be an issue upstream.

Posted

@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 : 

 

compilation01-rc1.log

Posted
14 hours ago, 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 ---


I've the same issue trying to build 5.7.y branch ...

Posted

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 ...

Posted

I think usually the script does a make oldconfig anyways to remove broken dependencies but that you can also do is to compare upstream kernel config for arm with the current one.

Also maybe megi knows something about whats happening there.

Posted
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=m

 

drivers/gpu/drm/sun4i/sun6i_mipi_dsi.ko
# replaced by CONFIG_DRM_SUN6I_DSI=m

 

drivers/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=m

 

 

Got 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.


 

kernel58rc1_01.txt

Posted
On 6/18/2020 at 3: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 ---

 

I think I've found the problem :

 

Those "of_chosen" symbol dependencies came in the @megi commit https://github.com/megous/linux/commit/4ea85aef763727ab40791ae3c0c8dd1bb87ef577

But the "of_chosen" symbol export is not provided in driver/of/base.c like suggested by a guy 4 years ago :

https://lore.kernel.org/patchwork/patch/710174/

 

I'm now compiling new 5.7.y build and will let you know if it is succeeded ...

Posted

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

Posted

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!

 

Posted
On 6/16/2020 at 3:56 PM, dolphs said:

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.


Properly operational DVFS on H6 is already in Armbian 5.4.y ...

 

But yes, we should bump things up. Not sure if this is the right moment to go for 5.8. ... but - is it safe to move 5.7.y to current?

Posted
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 ...

 

Posted
Just now, guidol said:

Will we move directly to 5.7?


32bit already builds, 64bit still some problems ... will commit later on.

Posted

drivers/video/backlight/pwm_bl.c: In function ‘pwm_backlight_probe’:
drivers/video/backlight/pwm_bl.c:639:3: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
   u64 level = (u64)state.duty_cycle * pb->scale;
   ^~~
drivers/gpu/drm/sun4i/sun8i_ui_layer.c: In function ‘sun8i_ui_layer_enable’:
drivers/gpu/drm/sun4i/sun8i_ui_layer.c:105:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  unsigned  tmp;
  ^~~~~~~~
drivers/gpu/drm/sun4i/sun8i_ui_layer.c: In function ‘sun8i_ui_layer_update_formats’:
drivers/gpu/drm/sun4i/sun8i_ui_layer.c:224:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  unsigned tmp;
  ^~~~~~~~
drivers/gpu/drm/sun4i/sun8i_vi_layer.c: In function ‘sun8i_vi_layer_enable’:
drivers/gpu/drm/sun4i/sun8i_vi_layer.c:98:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  unsigned  tmp;
  ^~~~~~~~
drivers/gpu/drm/sun4i/sun8i_vi_layer.c: In function ‘sun8i_vi_layer_update_formats’:
drivers/gpu/drm/sun4i/sun8i_vi_layer.c:264:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  unsigned  tmp;
  ^~~~~~~~
drivers/mtd/nand/raw/nand_base.c: In function ‘nand_block_isbad’:
drivers/mtd/nand/raw/nand_base.c:4292:6: warning: unused variable ‘ret’ [-Wunused-variable]
  int ret;
      ^~~
drivers/mtd/nand/raw/nand_base.c:4291:6: warning: unused variable ‘chipnr’ [-Wunused-variable]
  int chipnr = (int)(offs >> chip->chip_shift);
      ^~~~~~
drivers/net/ethernet/stmicro/stmmac/dwmac-sun8i.c: In function ‘sun8i_dwmac_shutdown’:
drivers/net/ethernet/stmicro/stmmac/dwmac-sun8i.c:1277:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  struct stmmac_priv *priv = netdev_priv(ndev);
  ^~~~~~
drivers/firmware/arm_scpi.c:815:12: warning: ‘scpi_init_versions’ defined but not used [-Wunused-function]
 static int scpi_init_versions(struct scpi_drvinfo *info)
            ^~~~~~~~~~~~~~~~~~
drivers/gnss/ubx.c: In function ‘ubx_set_standby’:
drivers/gnss/ubx.c:49:24: warning: unused variable ‘serdev’ [-Wunused-variable]
  struct serdev_device *serdev = gserial->serdev;
                        ^~~~~~
ERROR: modpost: "of_chosen" [drivers/gpu/drm/sun4i/sun6i_mipi_dsi.ko] undefined!
ERROR: modpost: "of_chosen" [drivers/phy/allwinner/phy-sun6i-mipi-dphy.ko] undefined!
make[1]: *** [__modpost] Error 1
make: *** [modules] Error 2

Well, that is unfortunate but my own problem since I customized the config by throwing out tons of unneeded stuff. Default config builds fine.

 

 

  

On 6/19/2020 at 8:31 PM, martinayotte said:

 

I think I've found the problem :

 

Those "of_chosen" symbol dependencies came in the @megi commit https://github.com/megous/linux/commit/4ea85aef763727ab40791ae3c0c8dd1bb87ef577

But the "of_chosen" symbol export is not provided in driver/of/base.c like suggested by a guy 4 years ago :

https://lore.kernel.org/patchwork/patch/710174/

 

I'm now compiling new 5.7.y build and will let you know if it is succeeded ...

 

Thanks for the hint. This actually fixes this. For everybody else to try:

 

diff --git a/drivers/of/base.c b/drivers/of/base.c
index ae03b1218..9d42a28bd 100644
--- a/drivers/of/base.c
+++ b/drivers/of/base.c
@@ -36,6 +36,7 @@ LIST_HEAD(aliases_lookup);
 struct device_node *of_root;
 EXPORT_SYMBOL(of_root);
 struct device_node *of_chosen;
+EXPORT_SYMBOL(of_chosen);
 struct device_node *of_aliases;
 struct device_node *of_stdout;
 static const char *of_stdout_options;

 

 

Posted

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/check

 

 

So 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?

 

 

kernel58rc4_01.txt .config-h6-default

Posted
3 hours ago, dolphs said:

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?

 

Hi @dolphs, thanks for all of your work on this area!  Question: would you have your work available somewhere - I could try taking a quick look to see what the situation might be...

Posted

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 ) stuff

drivers/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. 

logs.zip

Posted
6 hours ago, 5kft said:

 

I can't build 5.8 (obviously) nor actually test this (I don't have an H6-based board), but I've confirmed that this patches the current megous orange-pi-5.8 head cleanly...

Feel free to drop an image for the OPi1+ somewhere and I'll test it. I'm just out of time until monday.

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

Important Information

Terms of Use - Privacy Policy - Guidelines