fix kernel config -> switch mt7530 works now (without any further patch) (from kernel version >= 5.15.11) + update README
This commit is contained in:
parent
883bedc3d4
commit
de73d9ab68
5 changed files with 10425 additions and 3 deletions
|
@ -87,7 +87,7 @@ rmdir boot.setup root.setup
|
|||
If you did no mistake so far (...) this should be the easiest part:
|
||||
There are two possibilities:
|
||||
* Use the provided image [name], dd it to your root partition, boot into this root and update and customaize the system (you have to re-upload the kernel modules, see previous section)
|
||||
* dd the image to a temporary partition, boot into it, and setup the root partition using pacstrap (you dont need the linux or linux-firmware package, you already cared about these parts in the previous section); alternatively use the `setup.sh` script
|
||||
* dd the image to a temporary partition, boot into it, and setup the root partition using pacstrap (you dont need the linux or linux-header package, you already cared about these parts in the previous section); alternatively use the `setup.sh` script
|
||||
|
||||
... !!!
|
||||
|
||||
|
@ -95,7 +95,7 @@ There are two possibilities:
|
|||
|
||||
TODO: adapt pacman sources such that the pkgs `linux` and `linux-headers` are installed from the local sources in `linux-pkgs`.
|
||||
|
||||
In order to install the linux headers needed to build modules from other packages you need to compile the kernel directly on the arm cpu. Boot into the system and clone the [main line kernel repository](https://github.com/torvalds/linux.git). Checkout the latest release tag. Create a link to the linux repository and run makepkg:
|
||||
In order to install the linux headers needed to build modules from other packages you need to compile the kernel directly on the arm cpu. Boot into the system and clone the [main line kernel repository (from Torvalds himself)](https://github.com/torvalds/linux.git). Add [an additional stable remote source](git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git) (call it `stable-linux` for instance) in order to obtain fixes for a given kernel version. Checkout the release tag you want. Create a link to the linux repository and run makepkg:
|
||||
|
||||
```bash
|
||||
cd kernel-pkgs
|
||||
|
@ -113,7 +113,7 @@ sudo pacman -U linux-armv7-${version}-armv7h.pkg.tar.xz
|
|||
sudo pacman -U linux-armv7-headers-${version}-armv7h.pkg.tar.xz
|
||||
```
|
||||
|
||||
Advise pacman to ignore these two packages. Otherwise it will update them from the official mirrors, which will probably not work:
|
||||
Advise pacman to ignore these two packages. Otherwise it will update them from the official archlinuxarm mirrors, which will probably not work:
|
||||
|
||||
```bash
|
||||
# /etc/pacman.conf
|
||||
|
|
1
kernel/config-5.15.11
Symbolic link
1
kernel/config-5.15.11
Symbolic link
|
@ -0,0 +1 @@
|
|||
linux-fb6ad5cb3b6745e7bffc5fe19b130f3594375634.config
|
732
kernel/frank-w-BPI-R2-4.14-5.15-main.config
Normal file
732
kernel/frank-w-BPI-R2-4.14-5.15-main.config
Normal file
|
@ -0,0 +1,732 @@
|
|||
CONFIG_LOCALVERSION="-bpi-r2"
|
||||
CONFIG_LOCALVERSION_AUTO=n
|
||||
|
||||
CONFIG_EARLY_PRINTK=y
|
||||
|
||||
#spectre/meltdown
|
||||
CONFIG_PAGE_TABLE_ISOLATION=y
|
||||
|
||||
CONFIG_SYSVIPC=y
|
||||
CONFIG_IRQ_DOMAIN_DEBUG=y
|
||||
CONFIG_NO_HZ=y
|
||||
CONFIG_HIGH_RES_TIMERS=y
|
||||
CONFIG_CGROUPS=y
|
||||
CONFIG_NAMESPACES=y
|
||||
|
||||
#for lxc
|
||||
CONFIG_USER_NS=y
|
||||
CONFIG_MEMCG=y
|
||||
CONFIG_CGROUP_CPUACCT=y
|
||||
CONFIG_CGROUP_DEVICE=y
|
||||
CONFIG_CGROUP_SCHED=y
|
||||
CONFIG_CPUSETS=y
|
||||
#some options for docker
|
||||
CONFIG_CGROUP_FREEZER=y
|
||||
CONFIG_OVERLAY_FS=y
|
||||
CONFIG_MEMCG_SWAP=y
|
||||
CONFIG_MEMCG_SWAP_ENABLED=y
|
||||
CONFIG_BLK_CGROUP=y
|
||||
CONFIG_CFS_BANDWIDTH=y
|
||||
CONFIG_RT_GROUP_SCHED=y
|
||||
CONFIG_CGROUP_PIDS=y
|
||||
CONFIG_CGROUP_PERF=y
|
||||
CONFIG_CGROUP_NET_CLASSID=y
|
||||
CONFIG_CGROUP_NET_PRIO=y
|
||||
CONFIG_CFQ_GROUP_IOSCHED=y
|
||||
|
||||
CONFIG_BLK_DEV_INITRD=y
|
||||
CONFIG_KALLSYMS_ALL=y
|
||||
CONFIG_EMBEDDED=y
|
||||
CONFIG_PERF_EVENTS=y
|
||||
CONFIG_MODULES=y
|
||||
CONFIG_MODULE_FORCE_LOAD=y
|
||||
CONFIG_MODULE_UNLOAD=y
|
||||
CONFIG_PARTITION_ADVANCED=y
|
||||
CONFIG_CMDLINE_PARTITION=y
|
||||
CONFIG_ARCH_MEDIATEK=y
|
||||
CONFIG_ARM_THUMB=y
|
||||
CONFIG_ARM_THUMBEE=y
|
||||
CONFIG_ARM_ERRATA_720789=y
|
||||
CONFIG_ARM_ERRATA_754322=y
|
||||
CONFIG_ARM_ERRATA_754327=y
|
||||
CONFIG_ARM_ERRATA_764369=y
|
||||
CONFIG_ARM_ERRATA_775420=y
|
||||
CONFIG_ARM_ERRATA_798181=y
|
||||
|
||||
CONFIG_PL310_ERRATA_588369=y
|
||||
CONFIG_PL310_ERRATA_727915=y
|
||||
CONFIG_PL310_ERRATA_753970=y
|
||||
CONFIG_PL310_ERRATA_769419=y
|
||||
|
||||
CONFIG_PCI=y
|
||||
CONFIG_PCI_MSI=y
|
||||
CONFIG_SMP=y
|
||||
CONFIG_HAVE_ARM_ARCH_TIMER=y
|
||||
CONFIG_NR_CPUS=16
|
||||
CONFIG_AEABI=y
|
||||
CONFIG_HIGHMEM=y
|
||||
CONFIG_CMA=y
|
||||
CONFIG_FORCE_MAX_ZONEORDER=12
|
||||
CONFIG_ARM_APPENDED_DTB=y
|
||||
CONFIG_ARM_ATAG_DTB_COMPAT=y
|
||||
CONFIG_CMDLINE="earlyprintk console=ttyS0,115200 vmalloc=496M debug=7 no_console_suspend"
|
||||
#CONFIG_CMDLINE_FORCE=y
|
||||
|
||||
CONFIG_IKCONFIG=y
|
||||
CONFIG_IKCONFIG_PROC=y
|
||||
|
||||
CONFIG_KEXEC=y
|
||||
|
||||
CONFIG_CPU_FREQ=y
|
||||
CONFIG_CPU_FREQ_STAT=y
|
||||
CONFIG_CPU_FREQ_DEFAULT_GOV_USERSPACE=y
|
||||
CONFIG_CPU_FREQ_GOV_PERFORMANCE=y
|
||||
CONFIG_CPU_FREQ_GOV_POWERSAVE=y
|
||||
CONFIG_CPU_FREQ_GOV_ONDEMAND=y
|
||||
CONFIG_CPU_FREQ_GOV_CONSERVATIVE=y
|
||||
CONFIG_CPU_FREQ_GOV_SCHEDUTIL=y
|
||||
CONFIG_ARM_MEDIATEK_CPUFREQ=y
|
||||
|
||||
CONFIG_VFP=y
|
||||
CONFIG_NEON=y
|
||||
CONFIG_KERNEL_MODE_NEON=y
|
||||
CONFIG_PM_AUTOSLEEP=y
|
||||
CONFIG_PM_DEBUG=y
|
||||
CONFIG_PM_ADVANCED_DEBUG=y
|
||||
CONFIG_APM_EMULATION=y
|
||||
|
||||
CONFIG_NET=y
|
||||
CONFIG_DUMMY=m
|
||||
CONFIG_PACKET=y
|
||||
CONFIG_UNIX=y
|
||||
CONFIG_INET=y
|
||||
CONFIG_IP_ADVANCED_ROUTER=y
|
||||
CONFIG_IP_MULTIPLE_TABLES=y
|
||||
CONFIG_IP_PNP=y
|
||||
CONFIG_IP_PNP_DHCP=y
|
||||
CONFIG_IP_PNP_BOOTP=y
|
||||
CONFIG_IP_PNP_RARP=y
|
||||
CONFIG_IPV6_ROUTER_PREF=y
|
||||
CONFIG_IPV6_OPTIMISTIC_DAD=y
|
||||
CONFIG_INET6_AH=m
|
||||
CONFIG_INET6_ESP=m
|
||||
CONFIG_INET6_IPCOMP=m
|
||||
CONFIG_IPV6_MIP6=m
|
||||
CONFIG_IPV6_TUNNEL=m
|
||||
CONFIG_IPV6_MULTIPLE_TABLES=y
|
||||
CONFIG_BRIDGE=y
|
||||
CONFIG_NET_DSA=y
|
||||
CONFIG_VLAN_8021Q=y
|
||||
CONFIG_NETLINK_DIAG=y
|
||||
CONFIG_INET_UDP_DIAG=m
|
||||
CONFIG_NET_IPIP=m
|
||||
CONFIG_IP_MULTICAST=y
|
||||
CONFIG_IP_MROUTE=y
|
||||
CONFIG_IP_PIMSM_V1=y
|
||||
CONFIG_IP_PIMSM_V2=y
|
||||
|
||||
#added for lxc
|
||||
CONFIG_UNIX_DIAG=m
|
||||
CONFIG_PACKET_DIAG=m
|
||||
|
||||
#added for docker
|
||||
CONFIG_POSIX_MQUEUE=y
|
||||
CONFIG_POSIX_MQUEUE_SYSCTL=y
|
||||
CONFIG_HAVE_ARCH_SECCOMP_FILTER=y
|
||||
CONFIG_SECCOMP_FILTER=y
|
||||
CONFIG_SECCOMP=y
|
||||
|
||||
CONFIG_IPV6=y
|
||||
CONFIG_NETFILTER=y
|
||||
CONFIG_NF_CONNTRACK=m
|
||||
CONFIG_NF_CONNTRACK_IPV4=m
|
||||
CONFIG_NF_CONNTRACK_IPV6=m
|
||||
CONFIG_NETFILTER_NETLINK=m
|
||||
CONFIG_NF_CT_NETLINK=m
|
||||
CONFIG_IP_NF_IPTABLES=m
|
||||
CONFIG_NF_LOG_IPV4=m
|
||||
CONFIG_NF_REJECT_IPV4=m
|
||||
CONFIG_IP6_NF_IPTABLES=m
|
||||
CONFIG_NF_LOG_IPV6=m
|
||||
CONFIG_NF_REJECT_IPV6=m
|
||||
CONFIG_IP_NF_NAT=m
|
||||
CONFIG_IP6_NF_NAT=m
|
||||
CONFIG_NF_NAT_MASQUERADE_IPV4=y
|
||||
CONFIG_NF_NAT_MASQUERADE_IPV6=y
|
||||
CONFIG_IP_NF_FILTER=m
|
||||
CONFIG_IP6_NF_FILTER=m
|
||||
CONFIG_IP_NF_TARGET_MASQUERADE=m
|
||||
CONFIG_IP6_NF_TARGET_MASQUERADE=m
|
||||
CONFIG_IP_NF_MANGLE=m
|
||||
CONFIG_IP6_NF_MANGLE=m
|
||||
CONFIG_IP_NF_TARGET_REJECT=m
|
||||
CONFIG_IP6_NF_TARGET_REJECT=m
|
||||
CONFIG_IP6_NF_MATCH_RT=m
|
||||
|
||||
CONFIG_NETFILTER_SYNPROXY=m
|
||||
CONFIG_IP_NF_TARGET_SYNPROXY=m
|
||||
CONFIG_IP6_NF_TARGET_SYNPROXY=m
|
||||
|
||||
CONFIG_NETFILTER_XT_TARGET_CHECKSUM=m
|
||||
CONFIG_NETFILTER_XT_MATCH_LIMIT=m
|
||||
CONFIG_NETFILTER_XT_MATCH_STATE=m
|
||||
CONFIG_NETFILTER_XT_TARGET_LOG=m
|
||||
CONFIG_NETFILTER_XT_TARGET_TCPOPTSTRIP=m
|
||||
CONFIG_NETFILTER_XT_MATCH_CONNTRACK=m
|
||||
CONFIG_NETFILTER_XT_MATCH_MAC=m
|
||||
CONFIG_NETFILTER_XT_MATCH_RECENT=m
|
||||
CONFIG_NETFILTER_XT_MATCH_IPRANGE=m
|
||||
CONFIG_NETFILTER_XT_MARK=m
|
||||
CONFIG_NETFILTER_XT_CONNMARK=m
|
||||
CONFIG_NETFILTER_XT_MATCH_ADDRTYPE=m
|
||||
CONFIG_IP_VS=m
|
||||
CONFIG_NETFILTER_XT_MATCH_IPVS=m
|
||||
CONFIG_NETFILTER_XT_MATCH_CONNLIMIT=m
|
||||
|
||||
CONFIG_NF_TABLES=m
|
||||
CONFIG_NF_TABLES_IPV4=y
|
||||
CONFIG_NF_TABLES_IPV6=y
|
||||
CONFIG_NF_TABLES_SET=m
|
||||
CONFIG_NF_TABLES_INET=y
|
||||
CONFIG_NF_TABLES_NETDEV=y
|
||||
CONFIG_NF_TPROXY_IPV4=m
|
||||
CONFIG_NF_TABLES_ARP=y
|
||||
CONFIG_NF_TPROXY_IPV6=m
|
||||
CONFIG_NF_TABLES_BRIDGE=m
|
||||
CONFIG_NFT_NUMGEN=m
|
||||
CONFIG_NFT_CT=m
|
||||
CONFIG_NFT_COUNTER=m
|
||||
CONFIG_NFT_CONNLIMIT=m
|
||||
CONFIG_NFT_LOG=m
|
||||
CONFIG_NFT_LIMIT=m
|
||||
CONFIG_NFT_MASQ=m
|
||||
CONFIG_NFT_NAT=m
|
||||
CONFIG_NFT_REDIR=m
|
||||
CONFIG_NFT_TUNNEL=m
|
||||
CONFIG_NFT_OBJREF=m
|
||||
CONFIG_NFT_QUOTA=m
|
||||
CONFIG_NFT_REJECT=m
|
||||
CONFIG_NFT_COMPAT=m
|
||||
CONFIG_NFT_HASH=m
|
||||
CONFIG_NFT_XFRM=m
|
||||
CONFIG_NFT_SOCKET=m
|
||||
CONFIG_NFT_OSF=m
|
||||
CONFIG_NFT_TPROXY=m
|
||||
CONFIG_NFT_SYNPROXY=m
|
||||
CONFIG_NFTL=m
|
||||
CONFIG_NFTL_RW=y
|
||||
|
||||
CONFIG_NF_FLOW_TABLE=m
|
||||
CONFIG_NF_FLOW_TABLE_INET=m
|
||||
CONFIG_NF_FLOW_TABLE_IPV4=m
|
||||
CONFIG_NF_FLOW_TABLE_IPV6=m
|
||||
CONFIG_NFT_FLOW_OFFLOAD=m
|
||||
|
||||
CONFIG_NET_MEDIATEK_HNAT=m
|
||||
CONFIG_DEBUG_SECTION_MISMATCH=y
|
||||
|
||||
#active ftp-support
|
||||
CONFIG_NF_CONNTRACK_FTP=m
|
||||
CONFIG_NF_NAT_FTP=m
|
||||
|
||||
|
||||
CONFIG_SYN_COOKIES=y
|
||||
|
||||
CONFIG_PPP=m
|
||||
CONFIG_PPPOE=m
|
||||
CONFIG_PPP_FILTER=y
|
||||
CONFIG_PPP_DEFLATE=m
|
||||
CONFIG_PPP_MPPE=m
|
||||
|
||||
#veth for lxc
|
||||
CONFIG_VETH=m
|
||||
|
||||
#for systemd
|
||||
CONFIG_AF_KCM=y
|
||||
CONFIG_CGROUP_BPF=y
|
||||
|
||||
CONFIG_DEVTMPFS=y
|
||||
CONFIG_DEVTMPFS_MOUNT=y
|
||||
CONFIG_DMA_CMA=y
|
||||
CONFIG_CMA_SIZE_MBYTES=64
|
||||
CONFIG_ARM_CCI400_PMU=y
|
||||
CONFIG_MTD=y
|
||||
CONFIG_OF_OVERLAY=y
|
||||
CONFIG_CONFIGFS_FS=m
|
||||
CONFIG_BLK_DEV_LOOP=y
|
||||
CONFIG_SRAM=y
|
||||
CONFIG_EEPROM_93CX6=y
|
||||
CONFIG_IDE=y
|
||||
CONFIG_BLK_DEV_SD=y
|
||||
CONFIG_ATA=y
|
||||
CONFIG_SATA_AHCI=y
|
||||
CONFIG_AHCI_MTK=m
|
||||
|
||||
CONFIG_NETDEVICES=y
|
||||
CONFIG_NET_DSA_MT7530=y
|
||||
CONFIG_NET_VENDOR_MEDIATEK=y
|
||||
CONFIG_NET_MEDIATEK_SOC=y
|
||||
|
||||
CONFIG_ICPLUS_PHY=y
|
||||
CONFIG_INPUT_EVDEV=y
|
||||
#CONFIG_INPUT_EVBUG=m
|
||||
CONFIG_KEYBOARD_MATRIX=y
|
||||
CONFIG_KEYBOARD_SAMSUNG=y
|
||||
CONFIG_KEYBOARD_MTK_PMIC=m
|
||||
CONFIG_MOUSE_PS2_ELANTECH=y
|
||||
CONFIG_MOUSE_PS2_SENTELIC=y
|
||||
CONFIG_INPUT_MOUSEDEV=y
|
||||
CONFIG_INPUT_MOUSEDEV_PSAUX=y
|
||||
CONFIG_INPUT_MOUSEDEV_SCREEN_X=1024
|
||||
CONFIG_INPUT_MOUSEDEV_SCREEN_Y=768
|
||||
CONFIG_INPUT_TOUCHSCREEN=y
|
||||
# CONFIG_SERIO_SERPORT is not set
|
||||
CONFIG_VT_HW_CONSOLE_BINDING=y
|
||||
CONFIG_SERIAL_8250=y
|
||||
CONFIG_SERIAL_8250_CONSOLE=y
|
||||
CONFIG_SERIAL_8250_NR_UARTS=4
|
||||
CONFIG_SERIAL_8250_RUNTIME_UARTS=4
|
||||
CONFIG_SERIAL_8250_MT6577=y
|
||||
CONFIG_SERIAL_8250_BTIF=y
|
||||
CONFIG_HW_RANDOM=y
|
||||
CONFIG_I2C=y
|
||||
CONFIG_I2C_MT65XX=y
|
||||
CONFIG_PINCTRL_MT2701=y
|
||||
# CONFIG_PINCTRL_MT6397 is not set
|
||||
CONFIG_WATCHDOG=y
|
||||
CONFIG_MEDIATEK_WATCHDOG=y
|
||||
CONFIG_MFD_MT6397=y
|
||||
CONFIG_REGULATOR=y
|
||||
CONFIG_REGULATOR_MT6323=y
|
||||
CONFIG_REGULATOR_FIXED_VOLTAGE=y
|
||||
CONFIG_MEDIA_SUPPORT=y
|
||||
CONFIG_MEDIA_RC_SUPPORT=y
|
||||
CONFIG_RC_CORE=y
|
||||
CONFIG_RC_DEVICES=y
|
||||
CONFIG_LIRC=y
|
||||
CONFIG_IR_MTK=y
|
||||
CONFIG_RC_DECODERS=y
|
||||
CONFIG_IR_NEC_DECODER=m
|
||||
CONFIG_IR_RC5_DECODER=m
|
||||
CONFIG_IR_RC6_DECODER=m
|
||||
CONFIG_IR_JVC_DECODER=m
|
||||
CONFIG_IR_SONY_DECODER=m
|
||||
CONFIG_IR_SHARP_DECODER=m
|
||||
CONFIG_IR_SANYO_DECODER=m
|
||||
CONFIG_IR_RCMM_DECODER=m
|
||||
CONFIG_IR_XMP_DECODER=m
|
||||
CONFIG_MMC=y
|
||||
CONFIG_MMC_MTK=y
|
||||
CONFIG_NEW_LEDS=y
|
||||
CONFIG_LEDS_CLASS=y
|
||||
CONFIG_LEDS_MT6323=y
|
||||
CONFIG_LEDS_GPIO=y
|
||||
CONFIG_LEDS_PCA963X=y
|
||||
CONFIG_LEDS_TRIGGERS=y
|
||||
CONFIG_LEDS_TRIGGER_TIMER=y
|
||||
CONFIG_LEDS_TRIGGER_ONESHOT=y
|
||||
CONFIG_LEDS_TRIGGER_HEARTBEAT=y
|
||||
CONFIG_LEDS_TRIGGER_DEFAULT_ON=y
|
||||
CONFIG_DMADEVICES=y
|
||||
CONFIG_DMATEST=m
|
||||
CONFIG_COMMON_CLK_MT2701_HIFSYS=y
|
||||
CONFIG_COMMON_CLK_MT2701_ETHSYS=y
|
||||
CONFIG_ARM_TIMER_SP804=y
|
||||
CONFIG_MTK_IOMMU_V1=y
|
||||
CONFIG_MTK_PMIC_WRAP=y
|
||||
CONFIG_IIO=y
|
||||
CONFIG_RESET_CONTROLLER=y
|
||||
CONFIG_PHY_MT65XX_USB3=y
|
||||
CONFIG_PSTORE=y
|
||||
CONFIG_PSTORE_CONSOLE=y
|
||||
CONFIG_PSTORE_PMSG=y
|
||||
CONFIG_PSTORE_FTRACE=y
|
||||
CONFIG_PSTORE_RAM=y
|
||||
CONFIG_PRINTK_TIME=y
|
||||
CONFIG_DYNAMIC_DEBUG=y
|
||||
CONFIG_DEBUG_INFO=y
|
||||
CONFIG_MAGIC_SYSRQ=y
|
||||
CONFIG_DETECT_HUNG_TASK=y
|
||||
CONFIG_DEBUG_LIST=y
|
||||
CONFIG_FUNCTION_TRACER=y
|
||||
CONFIG_FTRACE_SYSCALLS=y
|
||||
CONFIG_FUNCTION_PROFILER=y
|
||||
CONFIG_DEBUG_LL=y
|
||||
CONFIG_DEBUG_UART_PHYS=0x11002000
|
||||
CONFIG_DEBUG_UART_VIRT=0xf1002000
|
||||
CONFIG_KEYS=y
|
||||
CONFIG_CRYPTO_RSA=y
|
||||
CONFIG_CRYPTO_CCM=m
|
||||
CONFIG_CRYPTO_GCM=m
|
||||
CONFIG_CRYPTO_ECB=m
|
||||
CONFIG_CRYPTO_CMAC=m
|
||||
CONFIG_CRYPTO_ARC4=m
|
||||
CONFIG_CRYPTO_DEFLATE=y
|
||||
CONFIG_CRYPTO_LZO=y
|
||||
CONFIG_CRC_CCITT=m
|
||||
CONFIG_CRC_ITU_T=m
|
||||
CONFIG_CRYPTO_DEV_MEDIATEK=y
|
||||
|
||||
#ARM Accelerated Cryptographic Algorithms
|
||||
CONFIG_ARM_CRYPTO=y
|
||||
CONFIG_CRYPTO_SHA1_ARM=m
|
||||
CONFIG_CRYPTO_SHA1_ARM_NEON=m
|
||||
CONFIG_CRYPTO_SHA1_ARM_CE=m
|
||||
CONFIG_CRYPTO_SHA2_ARM_CE=m
|
||||
CONFIG_CRYPTO_SHA512_ARM=m
|
||||
CONFIG_CRYPTO_AES_ARM=m
|
||||
CONFIG_CRYPTO_AES_ARM_BS=m
|
||||
CONFIG_CRYPTO_AES_ARM_CE=m
|
||||
CONFIG_CRYPTO_GHASH_ARM_CE=m
|
||||
CONFIG_CRYPTO_CRC32_ARM_CE=m
|
||||
CONFIG_CRYPTO_CHACHA20_NEON=m
|
||||
|
||||
#LVM
|
||||
CONFIG_MD=y
|
||||
CONFIG_BLK_DEV_DM=y
|
||||
CONFIG_DM_BUFIO=y
|
||||
CONFIG_DM_CRYPT=y
|
||||
CONFIG_DM_SNAPSHOT=y
|
||||
CONFIG_DM_MIRROR=y
|
||||
CONFIG_DM_MULTIPATH=y
|
||||
CONFIG_DM_MULTIPATH_QL=y
|
||||
CONFIG_DM_MULTIPATH_ST=y
|
||||
CONFIG_DM_THIN_PROVISIONING=m
|
||||
CONFIG_DAX=y
|
||||
CONFIG_CRYPTO_CBC=y
|
||||
|
||||
#RAID
|
||||
CONFIG_DM_RAID=y
|
||||
CONFIG_MD_RAID0=y
|
||||
CONFIG_MD_RAID1=y
|
||||
CONFIG_MD_RAID10=y
|
||||
CONFIG_MD_RAID456=y
|
||||
|
||||
#RamFS
|
||||
#CONFIG_INITRAMFS_SOURCE="../rootfs_ttys0_rng.cpio.gz"
|
||||
#CONFIG_INITRAMFS_SOURCE="../initramfs.cpio"
|
||||
#CONFIG_INITRAMFS_FORCE=y
|
||||
|
||||
#Filesystem
|
||||
CONFIG_EXT4_FS=y
|
||||
CONFIG_EXT4_FS_POSIX_ACL=y
|
||||
CONFIG_EXT4_FS_SECURITY=y
|
||||
CONFIG_AUTOFS4_FS=y
|
||||
CONFIG_FUSE_FS=m
|
||||
CONFIG_MSDOS_FS=m
|
||||
CONFIG_VFAT_FS=y
|
||||
CONFIG_NTFS_FS=m
|
||||
CONFIG_TMPFS=y
|
||||
CONFIG_TMPFS_POSIX_ACL=y
|
||||
CONFIG_NLS_CODEPAGE_437=y
|
||||
CONFIG_NLS_ISO8859_1=y
|
||||
CONFIG_NLS_UTF8=y
|
||||
CONFIG_CIFS=m
|
||||
CONFIG_F2FS_FS=m
|
||||
CONFIG_BTRFS_FS=m
|
||||
CONFIG_SQUASHFS=m
|
||||
|
||||
#GPIO
|
||||
CONFIG_DEBUG_FS=y
|
||||
CONFIG_DEBUG_GPIO=y
|
||||
CONFIG_GPIO_SYSFS=y
|
||||
|
||||
#wlan
|
||||
CONFIG_MAC80211=y
|
||||
CONFIG_MAC80211_MESH=y
|
||||
CONFIG_CFG80211=m
|
||||
|
||||
#internal wlan (not working yet)
|
||||
# CONFIG_MTK_CONN_LTE_IDC_SUPPORT is not set
|
||||
CONFIG_MTK_COMBO=y
|
||||
CONFIG_MTK_COMBO_CHIP_CONSYS_7623=y
|
||||
#used in 4.4, but should be set in Kconfig by selecting mt7623 COMBO
|
||||
#CONFIG_MTK_PLATFORM="mt7623"
|
||||
|
||||
CONFIG_MTK_COMBO_COMM=y
|
||||
CONFIG_MTK_COMBO_WIFI=y
|
||||
CONFIG_NL80211_TESTMODE=y
|
||||
|
||||
#internal Bluetooth (also not working yet)
|
||||
CONFIG_BT=y
|
||||
CONFIG_MTK_COMBO_BT=m
|
||||
CONFIG_MTK_COMBO_BT_HCI=y
|
||||
#needed for BT?
|
||||
#Bluetooth Classic (BR/EDR) features
|
||||
CONFIG_BT_BREDR=y
|
||||
#Bluetooth High Speed (HS) features
|
||||
CONFIG_BT_HS=y
|
||||
#Bluetooth Low Energy (LE) features
|
||||
CONFIG_BT_LE=y
|
||||
#Export Bluetooth internals in debugfs
|
||||
CONFIG_BT_DEBUGFS=y
|
||||
CONFIG_BT_RFCOMM=m
|
||||
CONFIG_BT_RFCOMM_TTY=y
|
||||
CONFIG_BT_HIDP=m
|
||||
CONFIG_BT_BNEP=m
|
||||
|
||||
#to run bluetoothd rfkill needed
|
||||
CONFIG_RFKILL=y
|
||||
CONFIG_RFKILL_LEDS=y
|
||||
CONFIG_RFKILL_INPUT=y
|
||||
CONFIG_RFKILL_GPIO=y
|
||||
|
||||
#if you use a mt76x2 or mt76x3 pcie-card
|
||||
CONFIG_MT76x2E=m
|
||||
CONFIG_MT7615E=m
|
||||
CONFIG_MT7915E=m
|
||||
|
||||
#pcie
|
||||
CONFIG_PCIEPORTBUS=y
|
||||
CONFIG_PCIE_MEDIATEK=y
|
||||
CONFIG_PHY_MTK_TPHY=y
|
||||
|
||||
CONFIG_I2C_CHARDEV=m
|
||||
CONFIG_RTC_CLASS=y
|
||||
CONFIG_RTC_DRV_DS1307=m
|
||||
CONFIG_RTC_DRV_DS1307_CENTURY=y
|
||||
CONFIG_RTC_DRV_MT6397=y
|
||||
|
||||
CONFIG_SPI=y
|
||||
CONFIG_SPI_MASTER=y
|
||||
CONFIG_SPI_SPIDEV=m
|
||||
CONFIG_SPI_MT65XX=m
|
||||
|
||||
CONFIG_PWM=y
|
||||
CONFIG_PWM_MEDIATEK=m
|
||||
|
||||
#Temperature sensor driver for mediatek SoCs
|
||||
CONFIG_MEDIATEK_MT6577_AUXADC=y
|
||||
CONFIG_THERMAL=y
|
||||
CONFIG_MTK_THERMAL=y
|
||||
CONFIG_MTK_EFUSE=y
|
||||
CONFIG_HWMON=y
|
||||
CONFIG_THERMAL_HWMON=y
|
||||
CONFIG_CPU_THERMAL=y
|
||||
|
||||
#HDMI
|
||||
CONFIG_DRM=y
|
||||
CONFIG_DRM_ARM=y
|
||||
CONFIG_DRM_MALI_DISPLAY=y
|
||||
CONFIG_DRM_MEDIATEK=y
|
||||
CONFIG_DRM_MEDIATEK_HDMI=y
|
||||
CONFIG_COMMON_CLK_MT2701_MMSYS=y
|
||||
CONFIG_COMMON_CLK_MT2701_IMGSYS=y
|
||||
CONFIG_COMMON_CLK_MT2701_VDECSYS=y
|
||||
CONFIG_FB=y
|
||||
CONFIG_FRAMEBUFFER_CONSOLE=y
|
||||
CONFIG_DRM_FBDEV_EMULATION=y
|
||||
|
||||
#mali
|
||||
CONFIG_MEDIA_CAMERA_SUPPORT=y
|
||||
CONFIG_VIDEO_DEV=y
|
||||
CONFIG_VIDEO_V4L2=y
|
||||
CONFIG_V4L_MEM2MEM_DRIVERS=y
|
||||
CONFIG_VIDEO_MEDIATEK_JPEG=y
|
||||
CONFIG_DRM_LIMA=m
|
||||
CONFIG_COMMON_CLK_MT2701_G3DSYS=y
|
||||
|
||||
#Sound
|
||||
CONFIG_SOUND=y
|
||||
CONFIG_SND=y #alsa core
|
||||
CONFIG_SND_SOC=y
|
||||
|
||||
#CONFIG_SOUND_OSS_CORE=y
|
||||
#CONFIG_SOUND_OSS_CORE_PRECLAIM=y
|
||||
#CONFIG_SND_OSSEMUL=y
|
||||
#CONFIG_SND_MIXER_OSS=m
|
||||
#CONFIG_SND_PCM_OSS=m #alsa The PCM OSS emulation module.
|
||||
|
||||
#USB/HID
|
||||
CONFIG_USB=y
|
||||
CONFIG_USB_XHCI_HCD=y
|
||||
CONFIG_USB_XHCI_MTK=y
|
||||
CONFIG_USB_STORAGE=y
|
||||
CONFIG_USB_SERIAL=y
|
||||
#CONFIG_NOP_USB_XCEIV=y
|
||||
#CONFIG_USB_GPIO_VBUS=y
|
||||
#CONFIG_USB_GADGET=y
|
||||
#CONFIG_USB_CONFIGFS=y
|
||||
CONFIG_USB_CONFIGFS_SERIAL=y
|
||||
#CONFIG_USB_CONFIGFS_ACM=y
|
||||
#CONFIG_USB_CONFIGFS_OBEX=y
|
||||
#CONFIG_USB_CONFIGFS_NCM=y
|
||||
#CONFIG_USB_CONFIGFS_ECM=y
|
||||
#CONFIG_USB_CONFIGFS_ECM_SUBSET=y
|
||||
#CONFIG_USB_CONFIGFS_RNDIS=y
|
||||
#CONFIG_USB_CONFIGFS_EEM=y
|
||||
CONFIG_USB_CONFIGFS_MASS_STORAGE=y
|
||||
|
||||
CONFIG_HID=y
|
||||
CONFIG_HIDRAW=y
|
||||
#CONFIG_UHID=m
|
||||
CONFIG_HID_GENERIC=y
|
||||
|
||||
CONFIG_USB_HID=y
|
||||
#CONFIG_HID_PID=y
|
||||
CONFIG_USB_HIDDEV=y
|
||||
|
||||
# CONFIG_USB_OHCI_LITTLE_ENDIAN=y ?
|
||||
CONFIG_USB_SUPPORT=y
|
||||
CONFIG_USB_COMMON=y
|
||||
# CONFIG_USB_ARCH_HAS_HCD=y ?
|
||||
|
||||
#additional NET (e.g. tunneling incl. openvpn,vlan-base-support)
|
||||
CONFIG_TUN=m
|
||||
#vlan
|
||||
CONFIG_BRIDGE_VLAN_FILTERING=y
|
||||
CONFIG_VLAN_8021Q_GVRP=y
|
||||
CONFIG_VLAN_8021Q_MVRP=y
|
||||
CONFIG_NET_L3_MASTER_DEV=y
|
||||
CONFIG_IPVLAN=m
|
||||
CONFIG_MACVLAN=m
|
||||
CONFIG_NET_ACT_VLAN=m
|
||||
CONFIG_NET_CLS_ACT=y
|
||||
|
||||
# QoS and/or fair queueing
|
||||
CONFIG_NET_SCHED=y
|
||||
CONFIG_NET_SCH_CBQ=m
|
||||
CONFIG_NET_SCH_HTB=m
|
||||
CONFIG_NET_SCH_CSZ=m
|
||||
CONFIG_NET_SCH_PRIO=m
|
||||
CONFIG_NET_SCH_RED=m
|
||||
CONFIG_NET_SCH_SFQ=m
|
||||
CONFIG_NET_SCH_TEQL=m
|
||||
CONFIG_NET_SCH_TBF=m
|
||||
CONFIG_NET_SCH_GRED=m
|
||||
CONFIG_NET_SCH_DSMARK=m
|
||||
CONFIG_NET_SCH_INGRESS=m
|
||||
#CONFIG_NET_SCH_NETEM=m
|
||||
CONFIG_NET_QOS=y
|
||||
CONFIG_NET_ESTIMATOR=y
|
||||
CONFIG_NET_CLS=y
|
||||
CONFIG_NET_CLS_TCINDEX=m
|
||||
CONFIG_NET_CLS_ROUTE4=m
|
||||
CONFIG_NET_CLS_ROUTE=y
|
||||
CONFIG_NET_CLS_FW=m
|
||||
CONFIG_NET_CLS_U32=m
|
||||
CONFIG_NET_CLS_RSVP=m
|
||||
CONFIG_NET_CLS_RSVP6=m
|
||||
CONFIG_NET_CLS_POLICE=y
|
||||
|
||||
#unused drivers which are set by default
|
||||
CONFIG_WLAN_VENDOR_ADMTEK=n
|
||||
CONFIG_WLAN_VENDOR_ATH=y
|
||||
CONFIG_ATH9K=m
|
||||
CONFIG_ATH10K=m
|
||||
CONFIG_ATH10K_PCI=m
|
||||
CONFIG_ATH10K_USB=m
|
||||
CONFIG_WLAN_VENDOR_ATMEL=n
|
||||
CONFIG_WLAN_VENDOR_BROADCOM=n
|
||||
CONFIG_WLAN_VENDOR_CISCO=n
|
||||
CONFIG_WLAN_VENDOR_INTEL=n
|
||||
CONFIG_WLAN_VENDOR_INTERSIL=n
|
||||
CONFIG_WLAN_VENDOR_MARVELL=n
|
||||
CONFIG_WLAN_VENDOR_REALTEK=n
|
||||
CONFIG_WLAN_VENDOR_RALINK=n
|
||||
CONFIG_WLAN_VENDOR_RSI=n
|
||||
CONFIG_WLAN_VENDOR_ST=n
|
||||
CONFIG_WLAN_VENDOR_TI=n
|
||||
CONFIG_WLAN_VENDOR_ZYDAS=n
|
||||
CONFIG_WLAN_VENDOR_QUANTENNA=n
|
||||
# CONFIG_ADAPTEC_STARFIRE is not set
|
||||
# CONFIG_NET_VENDOR_ADAPTEC is not set
|
||||
# CONFIG_NET_VENDOR_AGERE is not set
|
||||
# CONFIG_NET_VENDOR_ALACRITECH is not set
|
||||
# CONFIG_NET_VENDOR_ALTEON is not set
|
||||
# CONFIG_NET_VENDOR_AMAZON is not set
|
||||
# CONFIG_NET_VENDOR_AMD is not set
|
||||
# CONFIG_NET_VENDOR_AQUANTIA is not set
|
||||
# CONFIG_NET_VENDOR_ARC is not set
|
||||
# CONFIG_NET_VENDOR_ATHEROS is not set
|
||||
# CONFIG_NET_VENDOR_AURORA is not set
|
||||
# CONFIG_NET_CADENCE is not set
|
||||
# CONFIG_NET_VENDOR_BROADCOM is not set
|
||||
# CONFIG_NET_VENDOR_BROCADE is not set
|
||||
# CONFIG_NET_VENDOR_CAVIUM is not set
|
||||
# CONFIG_NET_VENDOR_CHELSIO is not set
|
||||
# CONFIG_NET_VENDOR_CIRRUS is not set
|
||||
# CONFIG_NET_VENDOR_CISCO is not set
|
||||
# CONFIG_NET_VENDOR_MELLANOX is not set
|
||||
# CONFIG_NET_VENDOR_MICREL is not set
|
||||
# CONFIG_NET_VENDOR_MICROCHIP is not set
|
||||
# CONFIG_NET_VENDOR_MYRI is not set
|
||||
# CONFIG_NET_VENDOR_NATSEMI is not set
|
||||
# CONFIG_NET_VENDOR_NETRONOME is not set
|
||||
# CONFIG_NET_VENDOR_NVIDIA is not set
|
||||
# CONFIG_NET_VENDOR_OKI is not set
|
||||
# CONFIG_NET_PACKET_ENGINE is not set
|
||||
# CONFIG_NET_VENDOR_QLOGIC is not set
|
||||
# CONFIG_NET_VENDOR_QUALCOMM is not set
|
||||
# CONFIG_NET_VENDOR_REALTEK is not set
|
||||
# CONFIG_NET_VENDOR_RENESAS is not set
|
||||
# CONFIG_NET_VENDOR_RDC is not set
|
||||
# CONFIG_NET_VENDOR_ROCKER is not set
|
||||
# CONFIG_NET_VENDOR_SAMSUNG is not set
|
||||
# CONFIG_NET_VENDOR_SEEQ is not set
|
||||
# CONFIG_NET_VENDOR_SILAN is not set
|
||||
# CONFIG_NET_VENDOR_SIS is not set
|
||||
# CONFIG_NET_VENDOR_SOLARFLARE is not set
|
||||
# CONFIG_NET_VENDOR_SMSC is not set
|
||||
# CONFIG_NET_VENDOR_STMICRO is not set
|
||||
# CONFIG_NET_VENDOR_SUN is not set
|
||||
# CONFIG_NET_VENDOR_TEHUTI is not set
|
||||
# CONFIG_NET_VENDOR_TI is not set
|
||||
# CONFIG_NET_VENDOR_VIA is not set
|
||||
# CONFIG_NET_VENDOR_WIZNET is not set
|
||||
# CONFIG_NET_VENDOR_SYNOPSYS is not set
|
||||
# CONFIG_NET_VENDOR_DEC is not set
|
||||
# CONFIG_NET_VENDOR_DLINK is not set
|
||||
# CONFIG_NET_VENDOR_EMULEX is not set
|
||||
# CONFIG_NET_VENDOR_EZCHIP is not set
|
||||
# CONFIG_NET_VENDOR_EXAR is not set
|
||||
# CONFIG_NET_VENDOR_FARADAY is not set
|
||||
# CONFIG_NET_VENDOR_HISILICON is not set
|
||||
# CONFIG_NET_VENDOR_HP is not set
|
||||
# CONFIG_NET_VENDOR_HUAWEI is not set
|
||||
# CONFIG_NET_VENDOR_INTEL is not set
|
||||
# CONFIG_NET_VENDOR_MARVELL is not set
|
||||
# CONFIG_NET_VENDOR_3COM is not set
|
||||
|
||||
#NFS Client
|
||||
CONFIG_NFS_FS=y
|
||||
CONFIG_NFS_V2=y
|
||||
CONFIG_NFS_V3=y
|
||||
CONFIG_NFS_V3_ACL=y
|
||||
CONFIG_NFS_V4=y
|
||||
CONFIG_NFS_SWAP=y
|
||||
CONFIG_NFS_V4_1=y
|
||||
CONFIG_NFS_V4_2=y
|
||||
CONFIG_PNFS_FILE_LAYOUT=m
|
||||
CONFIG_PNFS_BLOCK=m
|
||||
CONFIG_PNFS_FLEXFILE_LAYOUT=m
|
||||
CONFIG_NFS_V4_1_IMPLEMENTATION_ID_DOMAIN="kernel.org"
|
||||
CONFIG_NFS_V4_1_MIGRATION=y
|
||||
CONFIG_NFS_USE_LEGACY_DNS=y
|
||||
|
||||
#NFS Server
|
||||
CONFIG_NFSD=m
|
||||
CONFIG_NFSD_V2_ACL=y
|
||||
CONFIG_NFSD_V3=y
|
||||
CONFIG_NFSD_V3_ACL=y
|
||||
CONFIG_NFSD_V4=y
|
||||
CONFIG_NFSD_PNFS=y
|
||||
CONFIG_NFSD_BLOCKLAYOUT=y
|
||||
CONFIG_NFSD_SCSILAYOUT=y
|
||||
CONFIG_NFSD_FLEXFILELAYOUT=y
|
||||
CONFIG_NFSD_FAULT_INJECTION=y
|
||||
CONFIG_NFS_ACL_SUPPORT=m
|
||||
CONFIG_NFS_COMMON=y
|
||||
|
||||
CONFIG_ROOT_NFS=y
|
||||
|
||||
#xfs
|
||||
CONFIG_XFS_FS=m
|
||||
|
||||
#RTC/POWER
|
||||
CONFIG_POWER_RESET=y
|
||||
CONFIG_POWER_RESET_MT6323=y
|
||||
CONFIG_POWER_RESET_MT6397_RTC=y
|
||||
|
||||
#CONFIG_NET_MEDIATEK_HW_QOS=m
|
||||
|
9623
kernel/linux-fb6ad5cb3b6745e7bffc5fe19b130f3594375634.config
Normal file
9623
kernel/linux-fb6ad5cb3b6745e7bffc5fe19b130f3594375634.config
Normal file
File diff suppressed because it is too large
Load diff
66
kernel/patches/patch-5.15.11
Normal file
66
kernel/patches/patch-5.15.11
Normal file
|
@ -0,0 +1,66 @@
|
|||
diff --git a/arch/arm/boot/dts/mt7623.dtsi b/arch/arm/boot/dts/mt7623.dtsi
|
||||
index a7d62dbad602..5a3f1f07566c 100644
|
||||
--- a/arch/arm/boot/dts/mt7623.dtsi
|
||||
+++ b/arch/arm/boot/dts/mt7623.dtsi
|
||||
@@ -1057,7 +1057,13 @@ led_pins_a: leds-alt {
|
||||
pins-leds {
|
||||
pinmux = <MT7623_PIN_239_EXT_SDIO0_FUNC_GPIO239>,
|
||||
<MT7623_PIN_240_EXT_XCS_FUNC_GPIO240>,
|
||||
- <MT7623_PIN_241_EXT_SCK_FUNC_GPIO241>;
|
||||
+ <MT7623_PIN_241_EXT_SCK_FUNC_GPIO241>,
|
||||
+ <MT7623_PIN_18_PCM_CLK_FUNC_GPIO18>,
|
||||
+ <MT7623_PIN_19_PCM_SYNC_FUNC_GPIO19>,
|
||||
+ <MT7623_PIN_21_PCM_TX_FUNC_GPIO21>,
|
||||
+ <MT7623_PIN_22_EINT0_FUNC_GPIO22>,
|
||||
+ <MT7623_PIN_24_EINT2_FUNC_GPIO24>,
|
||||
+ <MT7623_PIN_25_EINT3_FUNC_GPIO25>;
|
||||
};
|
||||
};
|
||||
|
||||
diff --git a/arch/arm/boot/dts/mt7623n-bananapi-bpi-r2.dts b/arch/arm/boot/dts/mt7623n-bananapi-bpi-r2.dts
|
||||
index e96aa0ed1ebd..9767c41b70fa 100644
|
||||
--- a/arch/arm/boot/dts/mt7623n-bananapi-bpi-r2.dts
|
||||
+++ b/arch/arm/boot/dts/mt7623n-bananapi-bpi-r2.dts
|
||||
@@ -126,6 +126,42 @@ red {
|
||||
gpios = <&pio 239 GPIO_ACTIVE_LOW>;
|
||||
default-state = "off";
|
||||
};
|
||||
+
|
||||
+ cust-0 {
|
||||
+ label = "bpi-r2:pio:cust0";
|
||||
+ gpios = <&pio 18 GPIO_ACTIVE_HIGH>;
|
||||
+ default-state = "off";
|
||||
+ };
|
||||
+
|
||||
+ cust-1 {
|
||||
+ label = "bpi-r2:pio:cust1";
|
||||
+ gpios = <&pio 19 GPIO_ACTIVE_HIGH>;
|
||||
+ default-state = "off";
|
||||
+ };
|
||||
+
|
||||
+ cust-2 {
|
||||
+ label = "bpi-r2:pio:cust2";
|
||||
+ gpios = <&pio 21 GPIO_ACTIVE_HIGH>;
|
||||
+ default-state = "off";
|
||||
+ };
|
||||
+
|
||||
+ cust-3 {
|
||||
+ label = "bpi-r2:pio:cust3";
|
||||
+ gpios = <&pio 22 GPIO_ACTIVE_HIGH>;
|
||||
+ default-state = "off";
|
||||
+ };
|
||||
+
|
||||
+ cust-4 {
|
||||
+ label = "bpi-r2:pio:cust4";
|
||||
+ gpios = <&pio 24 GPIO_ACTIVE_HIGH>;
|
||||
+ default-state = "off";
|
||||
+ };
|
||||
+
|
||||
+ cust-5 {
|
||||
+ label = "bpi-r2:pio:cust5";
|
||||
+ gpios = <&pio 25 GPIO_ACTIVE_HIGH>;
|
||||
+ default-state = "off";
|
||||
+ };
|
||||
};
|
||||
|
||||
memory@80000000 {
|
Loading…
Reference in a new issue