> There are numerous drivers disabled... The 64-bit Allwinner SoCs share a lot of devices with their 32-bit predecessors (or siblings), so we also share some config symbols, most prominently ARCH_SUNXI. However some of those supported devices are only in older SoCs (Sun4i generation, for instance), and will never be needed for an *arm64* kernel (take Sun4i sound drivers, for example). In the wake of avoiding to bloat the kernel (or the number of modules) needlessly, we can safely disable drivers for which there is no AArch64 capable SoC using those devices. I marked those as "not in 64-bit Allwinner SoCs" in the list above.
> The way we normally handle boot-critical modules ... I understand that, and can see the reasons why. It's just for my work (hacking and testing kernels, and not being on Ubuntu) it's very inconvenient to always build a matching initrd, and it's just those two symbols needed to boot into an SD card based rootfs without one. If this is of no concern for you, then it's fine to leave them as =m. Thanks! -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1701137 Title: enable ARCH_SUNXI (and friends) in arm64 kernel .config Status in linux package in Ubuntu: In Progress Status in linux source package in Artful: In Progress Bug description: The mainline support for the ARM64 Allwinner SoCs (featured on the Pine64 boards and the Pinebook notebook, for instance, as well as other development boards like the BananaPi-M64) has come a long way by now, since 4.11 we have MMC and USB support working. Now can we just enable the proper .config bits to make the official Ubuntu kernel support those boards? The latest mainline U-Boot can load an EFI grub from some UEFI ESP partition, so any standard EFI installer should work. Apart from some minor hiccup (a missing MBR bootable flag/MBR at all) this works already with the Debian-testing netinst installer. The config symbols needed for decent support are (all enabled by the latest Debian kernel and the official mainline defconfig): ARCH_SUNXI=y CONFIG_USB_MUSB_SUNXI=m CONFIG_MMC_SUNXI=m CONFIG_RTC_DRV_SUN6I=y CONFIG_PHY_SUN4I_USB=y Those enable MMC and USB (the mandatory clocks, pinctrl and UART are enabled by default) and make those boards quite usable already. The on-SoC Ethernet driver will probably be merged into 4.13-rc1. Optionally: CONFIG_I2C_MV64XXX=m CONFIG_SPI_SUN6I=m give us I2C and SPI support as well. So can we add those symbols to the Ubuntu kernel .config to give users an out-of-the-box experience? Cheers, Andre. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1701137/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp