diff options
author | Guido Günther <agx@sigxcpu.org> | 2016-03-12 21:23:53 +0100 |
---|---|---|
committer | Guido Günther <agx@sigxcpu.org> | 2016-03-12 21:55:11 +0100 |
commit | c708e7f915937b335b99486fc34254fa0ec141f8 (patch) | |
tree | 6fe1669d6df16406ac8c3b32b4f4311fff7fb970 | |
parent | 646808dcd012effa67b0387431adc7d62b2d35e1 (diff) |
Fix typos and elaborate a bit
-rw-r--r-- | hw/rpi6lowpan.mdwn | 24 |
1 files changed, 13 insertions, 11 deletions
diff --git a/hw/rpi6lowpan.mdwn b/hw/rpi6lowpan.mdwn index c69f425..144727c 100644 --- a/hw/rpi6lowpan.mdwn +++ b/hw/rpi6lowpan.mdwn @@ -94,9 +94,9 @@ This is mostly copied from http://elinux.org/RPi_U-Boot . #### On the build host Crossbuild U-Boot - $ git clone --deth=1 git://git.denx.de/u-boot.git + $ git clone --depth=1 git://git.denx.de/u-boot.git $ export PATH=~/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian/bin:$PATH - $ export CROSS_COMPILE=/home/agx/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian/bin/arm-linux-gnueabihf- + $ export CROSS_COMPILE=~/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian/bin/arm-linux-gnueabihf- $ export USE_PRIVATE_LIBGCC=yes $ cd u-boot $ make rpi_defconfig @@ -116,16 +116,17 @@ and on the Raspberry Pi boot it by default: #### First Boot (Again mostly from http://elinux.org/RPi_U-Boot). Attach to the serial -console +console of your rpi: - $ screen /dev/ttyUSB<N> 115200 + $ screen /dev/ttyUSB0 115200 -then power on the RPi and once U-Boot starts do a +This assumes you're using a USB-serial adapter that shows up as +*/dev/ttyUSB0*. Then power on the RPi and once U-Boot starts do a $ setenv fdtfile bcm2835-rpi-b-plus.dtb $ setenv bootargs earlyprintk console=ttyAMA0 console=tty1 root=/dev/mmcblk0p2 rootwait $ usb start - $ dhcp ${kernel_addr_r} zImage + $ dhcp ${kernel_addr_r} rpi.img $ tftp ${fdt_addr_r} ${fdtfile} $ bootz ${kernel_addr_r} - ${fdt_addr_r} @@ -142,14 +143,15 @@ happen automatically. Now that we can quickly change and build kernels lets move to the 6LoWPAN part. ### Configuring the kernel and patching the DTS -In order to enable support for the at86rf233 and 802.15.14 radio we need to change -some kernel configuration. Since the board is connected vie SPI we change the DTS -so it gets properly detected. This is readily done in this git repo: +In order to enable support for the at86rf233 and 802.15.14 radio we +need to change some kernel configuration. Since the board is connected +vie SPI we change the DTS so it gets properly detected. This is +readily done in my wpan-next (based on Alexanders repo) git repo which +you can add to the *bluetooth-next* repo you alread cloned above: - $ cd linux-wpan-next $ git remote add agx git://github.com/agx/linux-wpan-next.git $ git fetch rpi-6lowpan - $ git co -b rpi-6lowpan -b agx/rpi-6lowpan + $ git checkout -b rpi-6lowpan -b agx/rpi-6lowpan Now lets rebuild DTS and kernel |