1
0
Fork 0
mirror of https://github.com/RobotechLille/cdf2018-principal synced 2024-11-24 09:06:03 +01:00

↑Buildroot

Le dongle Wi-Fi TP-Link refonctionne en conséquence
This commit is contained in:
Geoffrey Frogeye 2018-05-04 18:40:05 +02:00
parent 8f396be8cf
commit 98c2f27358
4 changed files with 14 additions and 12 deletions

View file

@ -11,6 +11,9 @@ then
# Network configuration
echo -e "
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet static
address ${ETHADDRESS}

View file

@ -6,8 +6,7 @@
start() {
printf "Starting Wi-Fi connection: "
# modprobe brcmfmac
modprobe r8188eu
modprobe 8192cu
modprobe rtl8xxxu
modprobe ar5523
ifup wlan0
echo "OK"

@ -1 +1 @@
Subproject commit 8f03647169a17b10503594e5f3d95113a01171f9
Subproject commit 9565a37e0d2aa3c5fb9a4148760c490f2e5226d4

View file

@ -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"