-
-
Save RichardWithnell/50a505b9104fb4c425d1 to your computer and use it in GitHub Desktop.
MPTCP Raspberry Pi
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git clone http://github.com/richardwithnell/mptcp-rpi | |
make mrproper | |
# 64 Bit | |
# export CCPREFIX=/home/richard/Software/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian-x64/bin/arm-linux-gnueabihf- | |
# 32 Bit | |
export CCPREFIX=/home/richard/Software/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian/bin/arm-linux-gnueabihf- | |
make ARCH=arm CROSS_COMPILE=$CCPREFIX bcmrpi_defconfig | |
make ARCH=arm CROSS_COMPILE=$CCPREFIX menuconfig | |
make -j3 ARCH=arm CROSS_COMPILE=$CCPREFIX | |
mkdir -p ../mnt/fat32 | |
mkdir -p ../mnt/ext4 | |
sudo mount /dev/sdb1 ../mnt/fat32 | |
sudo mount /dev/sdb2 ../mnt/ext4 | |
make ARCH=arm CROSS_COMPILE=$CCPREFIX INSTALL_MOD_PATH=../mnt/ext4 modules | |
sudo make ARCH=arm CROSS_COMPILE=$CCPREFIX INSTALL_MOD_PATH=../mnt/ext4 modules_install | |
sudo cp ../mnt/fat32/kernel.img ../mnt/fat32/kernel-backup.img | |
sudo cp arch/arm/boot/Image ../mnt/fat32/kernel.img | |
sudo umount ../mnt/fat32 | |
sudo umount ../mnt/ext4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git clone http://github.com/richardwithnell/mptcp-rpi | |
make mrproper | |
# 64 Bit | |
# export CCPREFIX=/home/richard/Software/raspberrypi/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian-x64/bin/arm-linux-gnueabihf- | |
# 32 Bit | |
export CCPREFIX=/home/richard/Software/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian/bin/arm-linux-gnueabihf- | |
make ARCH=arm CROSS_COMPILE=$CCPREFIX bcm2709_defconfig | |
make ARCH=arm CROSS_COMPILE=$CCPREFIX menuconfig | |
make -j3 ARCH=arm CROSS_COMPILE=$CCPREFIX | |
mkdir -p ../mnt/fat32 | |
mkdir -p ../mnt/ext4 | |
sudo mount /dev/sdb1 ../mnt/fat32 | |
sudo mount /dev/sdb2 ../mnt/ext4 | |
make ARCH=arm CROSS_COMPILE=$CCPREFIX INSTALL_MOD_PATH=../mnt/ext4 modules | |
sudo make ARCH=arm CROSS_COMPILE=$CCPREFIX INSTALL_MOD_PATH=../mnt/ext4 modules_install | |
sudo cp ../mnt/fat32/kernel7.img ../mnt/fat32/kernel7-backup.img | |
sudo cp arch/arm/boot/Image ../mnt/fat32/kernel7.img | |
sudo umount ../mnt/fat32 | |
sudo umount ../mnt/ext4 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Do you have any similar instructions for RPi3?