8f1eabb7c9
The wl1251 driver in upstream linux kernels expects its firmware files to live at ti-connectivity/wl1251-fw.bin ti-connectivity/wl1251-nvs.bin and the linux-firmware package uses the same names for these files. However, our current (older) kernel still expects them to be named wl1251-fw.bin wl1251-nvs.bin and so firmware loading would fail. RescueOS v1.1 included these files under the older filenames, but we'd like to use the official (upstream) names. Patch our kernel to match. Also remove the unnecessary (and now erroneous) firmware check from setup-wpa-wifi.sh.
46 lines
1.6 KiB
Plaintext
46 lines
1.6 KiB
Plaintext
BR2_arm=y
|
|
BR2_cortex_a8=y
|
|
BR2_JLEVEL=2
|
|
BR2_EXTRA_GCC_CONFIG_OPTIONS="MAKEINFO=missing"
|
|
BR2_TOOLCHAIN_BUILDROOT_LARGEFILE=y
|
|
BR2_TOOLCHAIN_BUILDROOT_INET_IPV6=y
|
|
BR2_TOOLCHAIN_BUILDROOT_INET_RPC=y
|
|
BR2_TOOLCHAIN_BUILDROOT_WCHAR=y
|
|
BR2_TOOLCHAIN_BUILDROOT_CXX=y
|
|
BR2_TARGET_GENERIC_HOSTNAME="rescueos"
|
|
BR2_TARGET_GENERIC_ISSUE="Welcome to RescueOS"
|
|
BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_DEVTMPFS=y
|
|
# BR2_TARGET_GENERIC_REMOUNT_ROOTFS_RW is not set
|
|
BR2_ROOTFS_OVERLAY="../N900_RescueOS/fs-overlay"
|
|
BR2_ROOTFS_POST_BUILD_SCRIPT="../N900_RescueOS/post-build.sh"
|
|
BR2_PACKAGE_BUSYBOX_CONFIG="../N900_RescueOS/busyboxconfig"
|
|
BR2_PACKAGE_BUSYBOX_SHOW_OTHERS=y
|
|
BR2_PACKAGE_TAR=y
|
|
BR2_PACKAGE_CRAMFS=y
|
|
BR2_PACKAGE_DOSFSTOOLS=y
|
|
BR2_PACKAGE_DOSFSTOOLS_MKDOSFS=y
|
|
BR2_PACKAGE_DOSFSTOOLS_DOSFSCK=y
|
|
BR2_PACKAGE_DOSFSTOOLS_DOSFSLABEL=y
|
|
BR2_PACKAGE_E2FSPROGS=y
|
|
BR2_PACKAGE_LINUX_FIRMWARE=y
|
|
BR2_PACKAGE_LINUX_FIRMWARE_TI_WL1251=y
|
|
BR2_PACKAGE_I2C_TOOLS=y
|
|
BR2_PACKAGE_LIBARCHIVE=y
|
|
BR2_PACKAGE_LZO=y
|
|
BR2_PACKAGE_ZLIB=y
|
|
BR2_PACKAGE_IPTABLES=y
|
|
BR2_PACKAGE_WIRELESS_TOOLS=y
|
|
BR2_PACKAGE_WPA_SUPPLICANT=y
|
|
BR2_PACKAGE_WPA_SUPPLICANT_CLI=y
|
|
BR2_PACKAGE_WPA_SUPPLICANT_PASSPHRASE=y
|
|
BR2_PACKAGE_BASH=y
|
|
BR2_PACKAGE_NANO=y
|
|
BR2_TARGET_ROOTFS_CRAMFS=y
|
|
BR2_LINUX_KERNEL=y
|
|
BR2_LINUX_KERNEL_CUSTOM_TARBALL=y
|
|
BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="http://n900.quitesimple.org/rescueOS/sourcecode/kernel_source.tar.gz"
|
|
BR2_LINUX_KERNEL_PATCH="../N900_RescueOS/kernel-patches/0001-net-wireless-wl1251-update-firmware-path.patch"
|
|
BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y
|
|
BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="../N900_RescueOS/kernel_config"
|
|
BR2_LINUX_KERNEL_ZIMAGE=y
|