From fe64a756144b81b300549007872735e061ae234e Mon Sep 17 00:00:00 2001 From: mpredfearn Date: Wed, 17 Jun 2015 15:32:00 +0100 Subject: [PATCH 1/3] Mount devtmpfs automatically for buildroot rootfs --- arch/mips/configs/ci20_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/mips/configs/ci20_defconfig b/arch/mips/configs/ci20_defconfig index c6d7c394faaebf..6dcbcca1846195 100644 --- a/arch/mips/configs/ci20_defconfig +++ b/arch/mips/configs/ci20_defconfig @@ -57,6 +57,7 @@ CONFIG_RFKILL_REGULATOR=y CONFIG_RFKILL_GPIO=y CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug" CONFIG_DEVTMPFS=y +CONFIG_DEVTMPFS_MOUNT=y CONFIG_EXTRA_FIRMWARE="brcm/brcmfmac4330-sdio.bin brcm/brcmfmac4330-sdio.txt" CONFIG_EXTRA_FIRMWARE_DIR="firmware" CONFIG_DMA_CMA=y From 2051b518c99fa2d9e808dc52186e43472219b74d Mon Sep 17 00:00:00 2001 From: mpredfearn Date: Wed, 17 Jun 2015 16:16:40 +0100 Subject: [PATCH 2/3] MIPS: ENable SMP --- arch/mips/configs/ci20_defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/mips/configs/ci20_defconfig b/arch/mips/configs/ci20_defconfig index 6dcbcca1846195..d7e1494efa3bd5 100644 --- a/arch/mips/configs/ci20_defconfig +++ b/arch/mips/configs/ci20_defconfig @@ -2,6 +2,8 @@ CONFIG_MACH_JZ4780=y CONFIG_HIGHMEM=y # CONFIG_COMPACTION is not set CONFIG_CMA=y +CONFIG_SMP=y +CONFIG_NR_CPUS=2 CONFIG_HZ_100=y CONFIG_PREEMPT=y # CONFIG_SECCOMP is not set From 5a7cc1630aee98259fe7805a545351864a84cc22 Mon Sep 17 00:00:00 2001 From: mpredfearn Date: Thu, 18 Jun 2015 13:38:52 +0100 Subject: [PATCH 3/3] mips: MAke wlan driver a module so that it is loaded after rootfs is mounted and therefore will be able to access the firmware --- arch/mips/configs/ci20_defconfig | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/mips/configs/ci20_defconfig b/arch/mips/configs/ci20_defconfig index d7e1494efa3bd5..aed6b1265250a4 100644 --- a/arch/mips/configs/ci20_defconfig +++ b/arch/mips/configs/ci20_defconfig @@ -32,8 +32,9 @@ CONFIG_EMBEDDED=y # CONFIG_VM_EVENT_COUNTERS is not set # CONFIG_COMPAT_BRK is not set CONFIG_SLAB=y +CONFIG_MODULES=y +CONFIG_MODULE_UNLOAD=y # CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS is not set -# CONFIG_SUSPEND is not set CONFIG_NET=y CONFIG_PACKET=y CONFIG_UNIX=y @@ -60,8 +61,7 @@ CONFIG_RFKILL_GPIO=y CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug" CONFIG_DEVTMPFS=y CONFIG_DEVTMPFS_MOUNT=y -CONFIG_EXTRA_FIRMWARE="brcm/brcmfmac4330-sdio.bin brcm/brcmfmac4330-sdio.txt" -CONFIG_EXTRA_FIRMWARE_DIR="firmware" +# CONFIG_FIRMWARE_IN_KERNEL is not set CONFIG_DMA_CMA=y CONFIG_CMA_SIZE_MBYTES=64 CONFIG_MTD=y @@ -85,7 +85,7 @@ CONFIG_DM9000=y # CONFIG_NET_VENDOR_STMICRO is not set # CONFIG_NET_VENDOR_VIA is not set # CONFIG_NET_VENDOR_WIZNET is not set -CONFIG_BRCMFMAC=y +CONFIG_BRCMFMAC=m # CONFIG_INPUT_MOUSEDEV is not set CONFIG_INPUT_EVDEV=y # CONFIG_INPUT_KEYBOARD is not set