fix-touchscreen-driver-gta01-missing-includes.patch
[kernel.git] / remote_install_sdcard
1 #!/bin/sh
2
3 # automatic kernel updater and reboot - Andy Green <andy@openmoko.com>
4
5 GTA_DEVICE_IP=192.168.0.202
6 GTA_MOUNTPOINT=/mnt
7
8 # you should set up key-based auth on dropbear if you want
9 # to play this game.
10 #
11 # 1) mkdir /home/root/.ssh
12 # 2) chown root:root / /home /home/root
13 # 3) chmod 700 /home/root /home/root/.ssh
14 # 4) copy your id_*.pub into /home/root/.ssh/authorized_keys
15 # 5) chmod 600 /home/root/.ssh/*
16
17 ssh root@$GTA_DEVICE_IP "mount /dev/mmcblk0p1 $GTA_MOUNTPOINT"
18 scp uImage.bin root@$GTA_DEVICE_IP:$GTA_MOUNTPOINT
19 ssh root@$GTA_DEVICE_IP "umount $GTA_MOUNTPOINT ; mount /dev/mmcblk0p2 / -oremount,ro ; reboot -if &"
20