Jump to content

[Armbian build PR] - build sсript: The error of applying Wi-Fi driver patches has been fixed.


Recommended Posts

Posted

Description

  • config-prepare: Initialize an empty KERNEL_DRIVERS_SKIP array unless it exists

    If the array exists in this location, initializing an empty array will destroy all the data that was stored in it. Do not initialize an empty KERNEL_DRIVERS_SKIP array if it exists.

    This allows us to create an array anywhere in the script, including the user configuration, in a secure way.

  • patch: misc: uwe5622: fix timer api changes for 6.15 (only sunxi)

How Has This Been Tested?

The sequence of patch application is defined here: lib/functions/compilation/patch/drivers-harness.sh I have created an array in the user configuration file.

declare -g  -a KERNEL_DRIVERS_SKIP=(
#               driver_generic_bring_back_ipx
#               driver_mt7921u_add_pids
#               driver_rtl8152_rtl8153
#               driver_rtl8189ES
#               driver_rtl8189FS
#               driver_rtl8192EU
#               driver_rtl8811_rtl8812_rtl8814_rtl8821
#               driver_xradio_xr819
#               driver_rtl8811CU_rtl8821C
#               driver_rtl8188EU_rtl8188ETV
#               driver_rtl88x2bu
#               driver_rtw88
#               driver_rtl8852bs
#               driver_rtl88x2cs
#               driver_rtl8822cs_bt
#               driver_rtl8723DS
#               driver_rtl8723DU
               driver_uwe5622
               driver_rtl8723cs
)

This allowed the build system to apply only those patches that go up to driver_uwe5622 and therefore allows me to make fixes by applying patches for driver_uwe5622 manually. As ./compile.sh test kernel-patch Here, the test is the name of my custom configuration.

  • [x] Test build kernel for sunxi64

this pull request must be combined before doing this 8270.

View the full article

×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines