From 1c2c0257d8ee7944633ef8e7a356be6a72be09c2 Mon Sep 17 00:00:00 2001 From: Guido Günther Date: Fri, 3 Apr 2015 15:27:55 +0200 Subject: Fix scp commands --- hw/rpi6lowpan.mdwn | 11 ++++++----- 1 file 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 -- cgit v1.2.3