From 98c2f27358811e0b97cf1d677756ebd2a4c03ace Mon Sep 17 00:00:00 2001 From: Geoffrey Frogeye Date: Fri, 4 May 2018 18:40:05 +0200 Subject: [PATCH] =?UTF-8?q?=E2=86=91Buildroot?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Le dongle Wi-Fi TP-Link refonctionne en conséquence --- .../board/robotech/cdfprincipal/post-build.sh | 3 +++ .../rootfs_overlay/etc/extra.d/S40wifi | 3 +-- raspberrypi/buildroot | 2 +- raspberrypi/configs/cdfprincipal_defconfig | 18 +++++++++--------- 4 files changed, 14 insertions(+), 12 deletions(-) diff --git a/raspberrypi/board/robotech/cdfprincipal/post-build.sh b/raspberrypi/board/robotech/cdfprincipal/post-build.sh index 56d7236..08ad1d2 100755 --- a/raspberrypi/board/robotech/cdfprincipal/post-build.sh +++ b/raspberrypi/board/robotech/cdfprincipal/post-build.sh @@ -11,6 +11,9 @@ then # Network configuration echo -e " +auto lo +iface lo inet loopback + auto eth0 iface eth0 inet static address ${ETHADDRESS} diff --git a/raspberrypi/board/robotech/cdfprincipal/rootfs_overlay/etc/extra.d/S40wifi b/raspberrypi/board/robotech/cdfprincipal/rootfs_overlay/etc/extra.d/S40wifi index 5592c8f..1c37275 100755 --- a/raspberrypi/board/robotech/cdfprincipal/rootfs_overlay/etc/extra.d/S40wifi +++ b/raspberrypi/board/robotech/cdfprincipal/rootfs_overlay/etc/extra.d/S40wifi @@ -6,8 +6,7 @@ start() { printf "Starting Wi-Fi connection: " # modprobe brcmfmac - modprobe r8188eu - modprobe 8192cu + modprobe rtl8xxxu modprobe ar5523 ifup wlan0 echo "OK" diff --git a/raspberrypi/buildroot b/raspberrypi/buildroot index 8f03647..9565a37 160000 --- a/raspberrypi/buildroot +++ b/raspberrypi/buildroot @@ -1 +1 @@ -Subproject commit 8f03647169a17b10503594e5f3d95113a01171f9 +Subproject commit 9565a37e0d2aa3c5fb9a4148760c490f2e5226d4 diff --git a/raspberrypi/configs/cdfprincipal_defconfig b/raspberrypi/configs/cdfprincipal_defconfig index fcf9654..39bfc4c 100644 --- a/raspberrypi/configs/cdfprincipal_defconfig +++ b/raspberrypi/configs/cdfprincipal_defconfig @@ -1,29 +1,27 @@ # From configs/raspberrypi3_defconfig BR2_arm=y -BR2_cortex_a7=y -BR2_ARM_EABIHF=y +BR2_cortex_a53=y BR2_ARM_FPU_NEON_VFPV4=y BR2_TOOLCHAIN_BUILDROOT_CXX=y BR2_SYSTEM_DHCP="eth0" -# Linux headers same as kernel, a 4.4 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_4=y +# Linux headers same as kernel, a 4.9 series +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_9=y BR2_LINUX_KERNEL=y BR2_LINUX_KERNEL_CUSTOM_GIT=y BR2_LINUX_KERNEL_CUSTOM_REPO_URL="https://github.com/raspberrypi/linux.git" -BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="1ebe8d4a4c96cd6a90805c74233a468854960f67" +BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="33ee56d5927ceff630fbc87e3f5caa409b6ae114" BR2_LINUX_KERNEL_DEFCONFIG="bcm2709" # Build the DTB from the kernel sources BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="bcm2710-rpi-3-b" +BR2_LINUX_KERNEL_INTREE_DTS_NAME="bcm2710-rpi-3-b bcm2710-rpi-cm3" BR2_PACKAGE_RPI_FIRMWARE=y -BR2_PACKAGE_RPI_FIRMWARE_INSTALL_DTB_OVERLAYS=y # Required tools to create the SD image BR2_PACKAGE_HOST_DOSFSTOOLS=y @@ -60,13 +58,13 @@ BR2_PACKAGE_BUSYBOX_CONFIG_FRAGMENT_FILES="${BR2_EXTERNAL_CDF_PATH}/board/robote BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="${BR2_EXTERNAL_CDF_PATH}/board/robotech/cdfprincipal/linux-extra.conf" # TODO Doesn't work -# Ne pas activer la connexion ethernet par défaut +# On gère /etc/network/interfaces nous-même BR2_SYSTEM_DHCP="" # Pour le Wi-Fi BR2_PACKAGE_LINUX_FIRMWARE=y BR2_PACKAGE_LINUX_FIRMWARE_RTL_81XX=y # Clef Wi-Fi Geoffrey -#BR2_PACKAGE_LINUX_FIRMWARE_BRCM_BCM43XXX=y # RPi3 Natif (cassé physiquement sur notre carte) +BR2_PACKAGE_LINUX_FIRMWARE_BRCM_BCM43XXX=y # RPi3 Natif (cassé physiquement sur notre carte) BR2_PACKAGE_WPA_SUPPLICANT=y # Pour upgrader à chaud @@ -93,3 +91,5 @@ BR2_PACKAGE_MERCPCL=y BR2_PACKAGE_BUSYBOX_SHOW_OTHERS=y BR2_PACKAGE_I2C_TOOLS=y +# Augmentation de la capacité +BR2_TARGET_ROOTFS_EXT2_SIZE="128M"