- KickPi K2B not booting up: DRAM setup not supported
-
KickPi K2B not booting up: DRAM setup not supported
Hi everyone, I wanted to share issues and fixes I encountered while building an image for kickpik2b-v2 using debian-image-builder. 1. Build failure on default 6.12.y (AIC8800) In lib/boards/kickpik2b-v2, FORCE_LINUX_VERSION is set to "6.12.y". During the build, kernel 6.12.103 is selected, but it fails on sources/aic8800/debian/patches/fix-linux-6.13-build.patch. The patch currently guards the netdev structure changes for kernel 6.13+: +#if LINUX_VERSION_CODE >= KERNEL_VERSION (6, 13, 0) + struct net_device *, +#endif However, recent point releases in the 6.12 LTS branch (like 6.12.103) also require this change due to backported kernel API updates. 2. Malformed patch on 6.18.y (UWE5622) When testing FORCE_LINUX_VERSION="6.18.y", the build fails while applying patches/wireless/unisoc/6.18/001-Introduce-uwe5622-driver-for-kernel-6.18.patch: Objective: Integrates the uwe5622 Wi-Fi driver into the kernel 6.18 build tree by appending obj-$(CONFIG_UWE5622) += uwe5622/ to drivers/net/wireless/Makefile and sourcing its new Kconfig from drivers/net/wireless/Kconfig. Issue: Build failed during patch application with a malformed patch error on the new Kconfig chunk. Root Cause: Invalid unified diff chunk header (@@ -0,0,13 @@) missing the required + symbol for inserted lines. Fix: Correcting the chunk header to @@ -0,0 +1,13 @@ solves the issue: Bash sed -i 's/@@ -0,0,13 @@/@@ -0,0 +1,13 @@/g' patches/wireless/unisoc/6.18/001-Introduce-uwe5622-driver-for-kernel-6.18.patch Result: The patch applies cleanly (Patches: Applying, done.), properly linking the uwe5622 sub-directory into drivers/net/wireless/ and building the driver module (CC [M]) on kernel 6.18.44. 3. Build failure on vs6621s wireless driver (Kernel 6.18) Later in the build process on kernel 6.18, the compilation halted on the vs6621s Seekwave driver due to unused variable warnings/errors on newer kernel APIs: Issue: Failed building drivers/net/wireless/vs6621s/seekwaveplatform_lite/sdio/skw_sdio_main.c with error: unused variable ‘host’ [-Wunused-variable]. Root Cause: Incompatibility in the third-party vs6621s driver with Kernel 6.18 MMC/SDIO interface updates. Fix: Since the kickpik2b-v2 hardware does not use the Seekwave chip (it uses AIC8800 or UWE5622), disabling this driver in drivers/net/wireless/Makefile resolves the issue completely. Patch: Created a new patch 002-disable-vs6621s.patch in patches/wireless/unisoc/6.18/: --- a/drivers/net/wireless/Makefile +++ b/drivers/net/wireless/Makefile @@ -23,3 +23,3 @@ obj-$(CONFIG_WLAN_VENDOR_ST) += st/ obj-$(CONFIG_WLAN_VENDOR_TI) += ti/ -obj-$(CONFIG_WLAN_VENDOR_SWT6621S) += vs6621s/ +#obj-$(CONFIG_WLAN_VENDOR_SWT6621S) += vs6621s/ obj-$(CONFIG_WLAN_VENDOR_ZYDAS) += zydas/ Result: Kernel, DTB, and all required Wi-Fi/BT modules (aic8800_fdrv.ko, uwe5622_bsp_sdio.ko) compiled 100% successfully. sun50i-h618-kickpi-k2b-debian-trixie-6.18.44-arm64-ext4-2026-08-13-1242.img is booting but no etgernet or wifi.
Hubert
Members
-
Joined
-
Last visited