summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2015-04-03 15:27:55 +0200
committerGuido Günther <agx@sigxcpu.org>2015-04-03 15:27:55 +0200
commit1c2c0257d8ee7944633ef8e7a356be6a72be09c2 (patch)
tree2f9f5634abf912032ef09df4676182235df765fc
parent025e2b648abcd117c3cdcfaacccdd30228b024a4 (diff)
Fix scp commands
-rw-r--r--hw/rpi6lowpan.mdwn11
1 files changed, 6 insertions, 5 deletions
diff --git a/hw/rpi6lowpan.mdwn b/hw/rpi6lowpan.mdwn
index 1faddbc..066bd51 100644
--- a/hw/rpi6lowpan.mdwn
+++ b/hw/rpi6lowpan.mdwn
@@ -91,18 +91,19 @@ Crossbuild U-Boot
$ make -j4 -s
#### On the RPi
-Configure the RPi to use the just built U-Boot
+Configure the RPi to use the just built U-Boot (${PI_IP} being the address of your Raspberry Pi):
$ PI_IP=192.168.1.2
$ echo "kernel=u-boot.bin" >> /boot/config.txt
- $ scp $PI_IP:u-boot/u-boot.bin /boot/u-boot.bin
+ $ scp u-boot/u-boot.bin root@${PI_IP}:/boot/u-boot.bin
$ reboot
#### On the tftp server
-Move the necessary files to the tftp server
+Move the necessary files to the tftp server (${TFT_IP} being the address of your tftp server):
- $ scp $PI_IP:bluetooth-next/arch/arm/boot/zImage rpi.img
- $ scp $PI_IP:bluetooth-next/arch/arm/boot/dts/bcm2835-rpi-b-plus.dtb .
+ $ TFTP_IP=192.168.1.1
+ $ scp bluetooth-next/arch/arm/boot/zImage ${TFTP_IP}:/tftpboot/rpi.img
+ $ scp bluetooth-next/arch/arm/boot/dts/bcm2835-rpi-b-plus.dtb ${TFTP_IP}:/tftpboot/
If you're using another PI model copy the corresponding device tree (dtb) file