Changes
Created page with "* Je suis passé du noyau 2.4.4-34V7 au noyau 2.7.10 pour pouvoir utiliser la carte et gérer convenablement le 802.15.4 sur un RPi3. <nowiki> sudo apt-get install git libcu..."
* Je suis passé du noyau 2.4.4-34V7 au noyau 2.7.10 pour pouvoir utiliser la carte et gérer convenablement le 802.15.4 sur un RPi3.
<nowiki>
sudo apt-get install git libcurses5-dev bc
sudo apt-get update
sudo apt-get upgrade
sudo apt-get reboot
</nowiki>
Une fois cela fait, nous avons un système à jour avec le dernier kernel installé.
<nowiki>
uname -a
Linux raspberrypi 4.4.34-v7+ #930 SMP Wed Nov 23 15:20:41 GMT 2016 armv7l GNU/Linux
</nowiki>
Allons chercher de quoi construire un nouveau kernel.
<nowiki>
sudo mkdir /opt/src/rpi_wpan
sudo chown -R /opt/src
cd /opt/src/rpi_wpan
git clone --depth 1 https://github.com/raspberrypi/linux.git \
--branch rpi-4.7.y --single-branch linux-rpi3
git clone --depth 1 https://github.com/raspberrypi/firmware.git \
--branch next --single-branch firmware
cd linux-rpi3
make bcm2709_defconfig
make menuconfig
make kernelversion
4.7.10
menuconfig
Device Drivers
--> Network device support
--> IEEE 802.15.4 drivers
Networking support
--> Networking Options
--> IEEE Std 802.15.4 Low-Rate Wireless Personal Area
Networks support
make zImage modules dtbs -j4
</nowiki>
Quelques 2 heures après....
<nowiki>
sudo make modules_install dtbs_install
</nowiki>
Après un reboot...
<nowiki>
uname -a
Linux raspberrypi 4.7.10-v7+ #1 SMP Mon Dec 12 15:21:31 CET 2016 armv7l GNU/Linux
</nowiki>
Maintenant que nous avons un nouveau noyau évitons qu'il soit écrasé par une mise à jour.
<nowiki>
sudo apt-mark hold raspberrypi-kernel
sudo apt-mark hold raspberrypi-bootloader
</nowiki>
<nowiki>
sudo apt-get install git libcurses5-dev bc
sudo apt-get update
sudo apt-get upgrade
sudo apt-get reboot
</nowiki>
Une fois cela fait, nous avons un système à jour avec le dernier kernel installé.
<nowiki>
uname -a
Linux raspberrypi 4.4.34-v7+ #930 SMP Wed Nov 23 15:20:41 GMT 2016 armv7l GNU/Linux
</nowiki>
Allons chercher de quoi construire un nouveau kernel.
<nowiki>
sudo mkdir /opt/src/rpi_wpan
sudo chown -R /opt/src
cd /opt/src/rpi_wpan
git clone --depth 1 https://github.com/raspberrypi/linux.git \
--branch rpi-4.7.y --single-branch linux-rpi3
git clone --depth 1 https://github.com/raspberrypi/firmware.git \
--branch next --single-branch firmware
cd linux-rpi3
make bcm2709_defconfig
make menuconfig
make kernelversion
4.7.10
menuconfig
Device Drivers
--> Network device support
--> IEEE 802.15.4 drivers
Networking support
--> Networking Options
--> IEEE Std 802.15.4 Low-Rate Wireless Personal Area
Networks support
make zImage modules dtbs -j4
</nowiki>
Quelques 2 heures après....
<nowiki>
sudo make modules_install dtbs_install
</nowiki>
Après un reboot...
<nowiki>
uname -a
Linux raspberrypi 4.7.10-v7+ #1 SMP Mon Dec 12 15:21:31 CET 2016 armv7l GNU/Linux
</nowiki>
Maintenant que nous avons un nouveau noyau évitons qu'il soit écrasé par une mise à jour.
<nowiki>
sudo apt-mark hold raspberrypi-kernel
sudo apt-mark hold raspberrypi-bootloader
</nowiki>