diff options
author | Carsten Schoenert <c.schoenert@t-online.de> | 2015-03-29 10:11:15 +0200 |
---|---|---|
committer | Guido Günther <agx@sigxcpu.org> | 2015-03-29 19:16:08 +0200 |
commit | 82b223cb93b89babc68ca6a5dd7242c728a8912d (patch) | |
tree | 228eb23f7cb52b17ebf7e372429d0efbd8b93178 | |
parent | 2572d3f7c8fb4f714baab2f6a98d475b73f6441b (diff) |
rpi6lowpan.mdwn: fixing up some typos
Signed-off-by: Guido Günther <agx@sigxcpu.org>
-rw-r--r-- | hw/rpi6lowpan.mdwn | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/hw/rpi6lowpan.mdwn b/hw/rpi6lowpan.mdwn index bd65d14..0eb8b9e 100644 --- a/hw/rpi6lowpan.mdwn +++ b/hw/rpi6lowpan.mdwn @@ -1,7 +1,7 @@ -# 6LoWPAN on a RaspberryPi +# 6LoWPAN on a Raspberry Pi -The aim is to get [6LoWPAN][1] running on a Rasberry Pi using a -[Raspberry Pi 802.15.4 radio from openlabs][2] (based on the +The aim is to get [6LoWPAN][1] running on a Raspberry Pi using a +[Raspberry Pi 802.15.4 radio from openlabs][2] (based on the Atmel at86rf233) so we can later use it as a e.g. border router. The default Raspberry Pi kernel lacks support for recent @@ -22,10 +22,10 @@ The source code of this page is available here: Send fixes. ## Setup the build environment and the RPi -Since the kernel build would take a long time on the Rasberry Pi we're using a +Since the kernel build would take a long time on the Raspberry Pi we're using a Debian System to crossbuild the kernel. -### Prepare cross toolhchain for Debian Jessie + Sid +### Prepare cross toolchain for Debian Jessie + Sid If you're running a RPi 2 you should be able to use the armhf toolchain provided by Debian already. @@ -67,19 +67,19 @@ Lots of the examples are using the 32bit one so lets use this too: gcc version 4.8.3 20140106 (prerelease) (crosstool-NG linaro-1.13.1-4.8-2014.01 - Linaro GCC 2013.11) ### Crossbuild an upstream kernel for the RPi -For 6LowPAN the bluethoth-next true is a good starting point: +For 6LoWPAN the bluetooth-next true is a good starting point: $ git clone --depth=1 git://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth-next.git $ export PATH=~/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian/bin:$PATH $ make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- bcm2835_defconfig $ ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- chrt -i 0 make -j 4 -### UBoot -We want to boot the kernel using UBoot so we can conveniently swap out kernels using TFTP +### U-Boot +We want to boot the kernel using U-Boot so we can conveniently swap out kernels using TFTP. This is mostly copied from http://elinux.org/RPi_U-Boot . #### On the build host -Crossbuild uboot +Crossbuild U-Boot $ git clone --deth=1 git://git.denx.de/u-boot.git $ export PATH=~/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian/bin:$PATH @@ -88,8 +88,8 @@ Crossbuild uboot $ make rpi_defconfig $ make -j4 -s -#### On the RPI -Configure the RPi to use the just built uboot +#### On the RPi +Configure the RPi to use the just built U-Boot $ PI_IP=192.168.1.2 $ echo "kernel=u-boot.bin" >> /boot/config.txt @@ -106,7 +106,7 @@ If you're using another PI model copy the corresponding device tree (dtb) file #### First Boot (Again mostly from http://elinux.org/RPi_U-Boot). Attach to the serial -console, once uboot starts do a +console, once U-Boot starts do a $ setenv fdtfile bcm2835-rpi-b-plus.dtb $ setenv bootargs earlyprintk console=ttyAMA0 console=tty1 root=/dev/mmcblk0p2 rootwait @@ -135,7 +135,7 @@ so it gets properly detected. This is readily done in this git repo: $ git fetch rpi-6lowpan $ git co -b rpi-6lowpan -b agx/rpi-6lowpan -Now lets reubuild DTS and kernel +Now lets rebuild DTS and kernel $ make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- bcm2835_defconfig $ ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- chrt -i 0 make -j 4 |