I've deliberately been keeping quiet about the still-unresolved situation with the GP2X handheld's failure to release their modified source code for the Linux kernel. Call it a grace period.
In the meantime, I've been experimenting with coding for the machine. It's an interesting experience, using cross-compilers to generate programs and communicating with the GP2X over a serial interface. Well, actually, I'm tunneling a serial interface through the USB port, as described here at mindstab.net. The problem with this is that you can't have the USB mass storage interface, where you mount the GP2X as if it were a removable drive, running at the same time as the USB gadget interface that lets you log into the system. So, when developing, I either waste a great deal of time switching USB interfaces, or alternately waste a great deal of time sneakernetting my SD card from the GP2X to my desktop card reader.
The solution? Well, the real solution would be to recompile the kernel to get TCP/IP and PPP working over the serial connection, but I don't have the kernel source. (Oops, grace period, remember?) So, it's time to fall back to the days of the BBS and use good old Zmodem to transfer files while connected via my terminal emulator. To that end, I've ported lrzsz, a GPL fork of Zmodem, to the GP2X. Works very nicely for me.
If you're a GP2X developer in a similar situation, you can download the binary here. The tarball also includes a README on building from source yourself, and a tiny patch to make ./configure work.
No comments:
Post a Comment