After reading a blog where a guy had hacked a Transcend Wi-Fi SD card (
http://haxit.blogspot.ch/2013/08/hackin ... cards.html), I ordered one to see what I could do with it. It turns out I can start an FTP server and transfer my kernel.img directly to the SD card. First, I downloaded the latest version of busybox for the processer in the card from
http://busybox.net/downloads/binaries/l ... box-armv5l and stored that in the root of the card. Then, I created a script named autorun.sh (also stored in the root) that contained:
Code: Select all
#!/bin/sh
cp /www/sd/busybox-armv5l /sbin/busybox
chmod a+x /sbin/busybox
/sbin/busybox telnetd -l /bin/bash &
/sbin/busybox tcpsvd -vE 0.0.0.0 21 ftpd -w /www/sd &
This starts the FTP server and also a telnet server that I use to explore the Linux system running the Wi-Fi. Just FTP kernel.img to the Wi-Fi address, cycle the power on the Pi, and your new kernel is running. One thing that is not so great is that the Wi-Fi takes around 50 seconds after power up to become available. My plan is to rig up a reset button connected to P6 on the Pi so that the power does not have to be cycled to run the new kernel.