haplo posted on Dec 4 2005 at 12:52 AM said:
We seem to need a new firmware install method seeing as a large amount of people can't currently upgrade and I don't think saying "keep spending money on SD cards until on works" is a good plan.
I've been using some scripts I picked up on this forum somewhere (modifed) and got a whole filesystem listing. However I can't find the kernel. And fstab on the gp2x doesn't mention a /boot drive.
So I don't even know where to begin.
If anyone is interested in the gp2x file system layout I put my output at
haplo.mindstab.net/filesystem.txt.
Because we're working with an embedded system, it will look different than a standard linux installation.
System uses U-Boot, which uses MTD compressed images, expandable as required.
mtd0 = U-Boot (highly modified from standard U-Boot installation)
mtd1 = Param ???
mtd2= Kernel (what we want to upgrade)
mtd3= Filesystem (JFFS2, also why we have a 20 second boot time, btw)
mtd4= Extend ???
mtd5= where root file system is (GP2X = NAND 64MiB 3,3V 8-bit)
the procedure to upgrade firmware will be as follows
eraseall /dev/mtd{mtd block #}
dd if=/mnt/sd/{image filename} of=/dev/mtd{mtd block #} bs=128k conv=sync
However, the eraseall command is not present in accessible filesystem. it needs to be run from U-Boot space.
There is a procedure U-Boot uses to determine if firmware images are present at select locations (network, storage etc), that has some conditions that aren't being met in our case.
As far as I can tell, it's a problem with whether the SD is set up for charset UTF8 or iso8859-1.
The mechanism that deletes *.img files from root of SD is located in /etc/profile, and has nothing to do with whether they were used for upgrade or not.
Above information was culled from
here
@ED: I'd like to assist whoever is working on this, I'm only using sterm at the moment, but would like to make a serial cable (or purchase if available.
Let me know if you would like some help with this.