Back from holidays, so here is the list of options for the arm64 kernel .config.
I copied your list from above and changed the options accordingly, adding
comments with explanations. Let me know if you need more information.
CONFIG_ARCH_SUNXI=y
# CONFIG_AHCI_SUNXI is not set ## no SATA in 64-bit Allwinner SoCs
CONFIG_DMA_SUN6I=m
# CONFIG_DWMAC_SUNXI is not set ## no GMAC in 64-bit Allwinner SoCs
CONFIG_IR_SUNXI=m
# CONFIG_KEYBOARD_SUN4I_LRADC is not set ## not in 64-bit Allwinner SoCs
# CONFIG_MDIO_SUN4I is not set ## not in 64-bit Allwinner SoCs
# CONFIG_MFD_AC100 is not set ## not used on boards with 64-bit
Allwinner SoCs
CONFIG_MFD_AXP20X_RSB=m
CONFIG_MFD_SUN4I_GPADC=m
CONFIG_MFD_SUN6I_PRCM=y
CONFIG_MMC_SUNXI=m
# CONFIG_MTD_NAND_SUNXI is not set ## not used on boards with 64-bit
Allwinner SoCs
CONFIG_NET_VENDOR_ALLWINNER=y
CONFIG_NVMEM_SUNXI_SID=m
CONFIG_PHY_SUN4I_USB=m
# CONFIG_PHY_SUN9I_USB is not set ## not in 64-bit Allwinner SoCs
# CONFIG_PINCTRL_SUN4I_A10 is not set
CONFIG_PINCTRL_SUN50I_A64=y
CONFIG_PINCTRL_SUN50I_A64_R=y
CONFIG_PINCTRL_SUN50I_H5=y
# CONFIG_PINCTRL_SUN5I is not set
# CONFIG_PINCTRL_SUN6I_A31 is not set
# CONFIG_PINCTRL_SUN6I_A31_R is not set
# CONFIG_PINCTRL_SUN7I_A20 is not set
# CONFIG_PINCTRL_SUN8I_A23 is not set
# CONFIG_PINCTRL_SUN8I_A23_R is not set
# CONFIG_PINCTRL_SUN8I_A33 is not set
# CONFIG_PINCTRL_SUN8I_A83T is not set
# CONFIG_PINCTRL_SUN8I_H3 is not set
CONFIG_PINCTRL_SUN8I_H3_R=y
# CONFIG_PINCTRL_SUN8I_V3S is not set
# CONFIG_PINCTRL_SUN9I_A80 is not set
# CONFIG_PINCTRL_SUN9I_A80_R is not set
CONFIG_PINCTRL_SUNXI=y
CONFIG_PWM_SUN4I=m
CONFIG_RESET_SUNXI=y
# CONFIG_RTC_DRV_AC100 is not set ## not used on boards with 64-bit
Allwinner SoCs
CONFIG_RTC_DRV_SUN6I=y
# CONFIG_SERIO_SUN4I_PS2 is not set ## not in 64-bit Allwinner SoCs
# CONFIG_SND_SUN4I_CODEC is not set ## not in 64-bit Allwinner SoCs
# CONFIG_SND_SUN4I_I2S is not set ## not in 64-bit Allwinner SoCs
# CONFIG_SND_SUN4I_SPDIF is not set ## not in 64-bit Allwinner SoCs
CONFIG_SND_SUN8I_CODEC_ANALOG=m
# CONFIG_SPI_SUN4I is not set ## not in 64-bit Allwinner SoCs
CONFIG_SPI_SUN6I=m
# CONFIG_SUN4I_EMAC is not set ## not in 64-bit Allwinner SoCs
# CONFIG_SUN4I_GPADC is not set ## not (yet?) supported
CONFIG_SUN50I_A64_CCU=y
CONFIG_SUN8I_H3_CCU=y ## drives the H5 as well
CONFIG_SUN8I_R_CCU=y
CONFIG_SUNXI_CCU=y
CONFIG_SUNXI_CCU_DIV=y
CONFIG_SUNXI_CCU_FRAC=y
CONFIG_SUNXI_CCU_GATE=y
CONFIG_SUNXI_CCU_MP=y
CONFIG_SUNXI_CCU_MUX=y
CONFIG_SUNXI_CCU_NK=y
CONFIG_SUNXI_CCU_NKM=y
CONFIG_SUNXI_CCU_NKMP=y
CONFIG_SUNXI_CCU_NM=y
CONFIG_SUNXI_CCU_PHASE=y
CONFIG_SUNXI_RSB=m ## supported in upcoming kernels
CONFIG_SUNXI_SRAM=y
CONFIG_SUNXI_WATCHDOG=m
# CONFIG_TOUCHSCREEN_SUN4I is not set ## not (yet?) supported
CONFIG_USB_MUSB_SUNXI=m
Not covered by the default config when enabling ARCH_SUNXI, but please add:
CONFIG_I2C_MV64XXX=m ## the I2C controller used in both A64
and H5
--
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:
Incomplete
Status in linux source package in Artful:
Incomplete
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 : [email protected]
Unsubscribe : https://launchpad.net/~kernel-packages
More help : https://help.launchpad.net/ListHelp