[PATCH 4/4] zynq: switch to kernel 5.10
Adrian Schmutzler
mail at adrianschmutzler.de
Tue Oct 5 13:57:04 PDT 2021
Hi,
> -----Original Message-----
> From: openwrt-devel [mailto:openwrt-devel-bounces at lists.openwrt.org]
> On Behalf Of Luis Araneda
> Sent: Sonntag, 3. Oktober 2021 17:35
> To: openwrt-devel at lists.openwrt.org
> Cc: Luis Araneda <luaraneda at gmail.com>
> Subject: [PATCH 4/4] zynq: switch to kernel 5.10
>
> Use kernel 5.10 by default
>
> compile-tested: all devices from target
> run-tested: Digilent Zybo Z7-20
Won't build for me (with build bot settings and all packages installed):
make -C
"/data/openwrt/build_dir/target-arm_cortex-a9+neon_musl_eabi/linux-zynq/back
ports-5.10.68-1"
KCFLAGS="-ffile-prefix-map=/data/openwrt/build_dir/target-arm_cortex-a9+neon
_musl_eabi=target-arm_cortex-a9+neon_musl_eabi" HOSTCFLAGS="-O2
-I/data/openwrt/staging_dir/host/include
-I/data/openwrt/staging_dir/hostpkg/include
-I/data/openwrt/staging_dir/target-arm_cortex-a9+neon_musl_eabi/host/include
-Wall -Wmissing-prototypes -Wstrict-prototypes"
CROSS_COMPILE="arm-openwrt-linux-muslgnueabi-" ARCH="arm" KBUILD_HAVE_NLS=no
KBUILD_BUILD_USER="builder" KBUILD_BUILD_HOST="buildhost"
KBUILD_BUILD_TIMESTAMP="Tue Oct 5 18:56:02 2021" KBUILD_BUILD_VERSION="0"
HOST_LOADLIBES="-L/data/openwrt/staging_dir/host/lib"
KBUILD_HOSTLDLIBS="-L/data/openwrt/staging_dir/host/lib" CONFIG_SHELL="bash"
V='' cmd_syscalls=
KBUILD_EXTRA_SYMBOLS="/data/openwrt/build_dir/target-arm_cortex-a9+neon_musl
_eabi/linux-zynq/symvers/antfs.symvers
/data/openwrt/build_dir/target-arm_cortex-a9+neon_musl_eabi/linux-zynq/symve
rs/button-hotplug.symvers
/data/openwrt/build_dir/target-arm_cortex-a9+neon_musl_eabi/linux-zynq/symve
rs/cryptodev-linux.symvers
/data/openwrt/build_dir/target-arm_cortex-a9+neon_musl_eabi/linux-zynq/symve
rs/dahdi-linux.symvers
/data/openwrt/build_dir/target-arm_cortex-a9+neon_musl_eabi/linux-zynq/symve
rs/dmx_usb_module.symvers
/data/openwrt/build_dir/target-arm_cortex-a9+neon_musl_eabi/linux-zynq/symve
rs/gl-mifi-mcu.symvers
/data/openwrt/build_dir/target-arm_cortex-a9+neon_musl_eabi/linux-zynq/symve
rs/gpio-button-hotplug.symvers
/data/openwrt/build_dir/target-arm_cortex-a9+neon_musl_eabi/linux-zynq/symve
rs/ksmbd.symvers
/data/openwrt/build_dir/target-arm_cortex-a9+neon_musl_eabi/linux-zynq/symve
rs/mdio-netlink.symvers
/data/openwrt/build_dir/target-arm_cortex-a9+neon_musl_eabi/linux-zynq/symve
rs/mtd-rw.symvers
/data/openwrt/build_dir/target-arm_cortex-a9+neon_musl_eabi/linux-zynq/symve
rs/nat46.symvers
/data/openwrt/build_dir/target-arm_cortex-a9+neon_musl_eabi/linux-zynq/symve
rs/netatop.symvers
/data/openwrt/build_dir/target-arm_cortex-a9+neon_musl_eabi/linux-zynq/symve
rs/openvswitch.symvers
/data/openwrt/build_dir/target-arm_cortex-a9+neon_musl_eabi/linux-zynq/symve
rs/rtpengine.symvers
/data/openwrt/build_dir/target-arm_cortex-a9+neon_musl_eabi/linux-zynq/symve
rs/siit.symvers
/data/openwrt/build_dir/target-arm_cortex-a9+neon_musl_eabi/linux-zynq/symve
rs/trelay.symvers
/data/openwrt/build_dir/target-arm_cortex-a9+neon_musl_eabi/linux-zynq/symve
rs/usb-serial-xr_usb_serial_common.symvers
/data/openwrt/build_dir/target-arm_cortex-a9+neon_musl_eabi/linux-zynq/symve
rs/xtables-addons.symvers" KERNELRELEASE=5.10.70
EXTRA_CFLAGS="-I/data/openwrt/build_dir/target-arm_cortex-a9+neon_musl_eabi/
linux-zynq/backports-5.10.68-1/include
-ffile-prefix-map=/data/openwrt/build_dir/target-arm_cortex-a9+neon_musl_eab
i/linux-zynq/backports-5.10.68-1=backports-5.10.68-1"
KLIB_BUILD="/data/openwrt/build_dir/target-arm_cortex-a9+neon_musl_eabi/linu
x-zynq/linux-5.10.70" MODPROBE=true KLIB=/lib/modules/5.10.70
KERNEL_SUBLEVEL=10 KBUILD_LDFLAGS_MODULE_PREREQ= modules
make[4]: Entering directory
'/data/openwrt/build_dir/target-arm_cortex-a9+neon_musl_eabi/linux-zynq/back
ports-5.10.68-1'
make[5]: 'Kconfig.versions' is up to date.
make[7]: 'Kconfig.versions' is up to date.
make[8]: 'conf' is up to date.
boolean symbol CRYPTO_LIB_ARC4 tested for 'm'? test forced to 'n'
#
# configuration written to .config
#
Building backport-include/backport/autoconf.h ... done.
MODPOST
/data/openwrt/build_dir/target-arm_cortex-a9+neon_musl_eabi/linux-zynq/backp
orts-5.10.68-1/Module.symvers
ERROR: modpost: "wireless_send_event"
[/data/openwrt/build_dir/target-arm_cortex-a9+neon_musl_eabi/linux-zynq/back
ports-5.10.68-1/net/wireless/lib80211_crypt_tkip.ko] undefined!
make[8]: *** [scripts/Makefile.modpost:124:
/data/openwrt/build_dir/target-arm_cortex-a9+neon_musl_eabi/linux-zynq/backp
orts-5.10.68-1/Module.symvers] Error 1
make[8]: *** Deleting file
'/data/openwrt/build_dir/target-arm_cortex-a9+neon_musl_eabi/linux-zynq/back
ports-5.10.68-1/Module.symvers'
make[7]: *** [Makefile:1726: modules] Error 2
make[6]: *** [Makefile.build:13: modules] Error 2
make[5]: *** [Makefile.real:93: modules] Error 2
make[4]: *** [Makefile:121: modules] Error 2
make[4]: Leaving directory
'/data/openwrt/build_dir/target-arm_cortex-a9+neon_musl_eabi/linux-zynq/back
ports-5.10.68-1'
make[3]: *** [Makefile:568:
/data/openwrt/build_dir/target-arm_cortex-a9+neon_musl_eabi/linux-zynq/backp
orts-5.10.68-1/.built] Error 2
make[3]: Leaving directory '/data/openwrt/package/kernel/mac80211'
time: package/kernel/mac80211/compile#6.14#1.71#13.27
ERROR: package/kernel/mac80211 failed to build.
make[2]: *** [package/Makefile:116: package/kernel/mac80211/compile] Error 1
make[2]: Leaving directory '/data/openwrt'
make[1]: *** [package/Makefile:110:
/data/openwrt/staging_dir/target-arm_cortex-a9+neon_musl_eabi/stamp/.package
_compile] Error 2
make[1]: Leaving directory '/data/openwrt'
make: *** [/data/openwrt/include/toplevel.mk:230: world] Error 2
Best
Adrian
>
> Signed-off-by: Luis Araneda <luaraneda at gmail.com>
> ---
> target/linux/zynq/Makefile | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/target/linux/zynq/Makefile b/target/linux/zynq/Makefile index
> b5988c9e05..83807913e4 100644
> --- a/target/linux/zynq/Makefile
> +++ b/target/linux/zynq/Makefile
> @@ -17,7 +17,7 @@ define Target/Description
> Build firmware image for Zynq 7000 SoC devices.
> endef
>
> -KERNEL_PATCHVER:=5.4
> +KERNEL_PATCHVER:=5.10
>
> include $(INCLUDE_DIR)/target.mk
>
> --
> 2.33.0
>
>
> _______________________________________________
> openwrt-devel mailing list
> openwrt-devel at lists.openwrt.org
> https://lists.openwrt.org/mailman/listinfo/openwrt-devel
More information about the openwrt-devel
mailing list