Running gllin and restoring from mtdblock backups
Mike Montour
mail at mmontour.net
Tue Sep 11 18:57:30 CEST 2007
On Sep 11, 2007, at 5:58 AM, La Monte Henry Piggy Yarroll wrote:
> I find that I can not run the GPS daemon gllin with newer kernels,
> such as
> http://buildhost.openmoko.org/OM2007.2/tmp/deploy/glibc/images/fic-
> gta01/uImage-2.6.22.5-moko11-r2-fic-gta01.bin downloaded on 29 August
> 2007.
>
> root at fic-gta01:~/DM2$ ./gllin
> -sh: ./gllin: not found
According to http://wiki.openmoko.org/wiki/Binary_compatibility there
was an ABI change between the 2007.1 and 2007.2 images (and gllin uses
the old ABI).
I also found a page on running gllin in a chroot environment:
http://wiki.openmoko.org/wiki/Gllin
> tsqali >> file gllin
> gllin: ELF 32-bit LSB executable, ARM, version 1 (ARM), for GNU/Linux
> 2.4.0, dynamically linked (uses shared libs), for GNU/Linux 2.4.0,
> stripped
Another useful command is "readelf -l <filename> | grep interpreter"
(from the binutils package), which shows the dynamic loader that a
program is looking for:
[Requesting program interpreter: /lib/ld-linux.so.3]
> [...]
> So my two questions:
>
> 1) Any other suggestions on running gllin?
>
> 2) What is the right way to restore the device from mtdblock backups?
>
I'm not sure about the mtdblock issue, but either a chroot or a 2007.1
image should work for running gllin (e.g. the Aug 31 image from
http://buildhost.openmoko.org/OM2007.1/tmp/deploy/images/).
More information about the device-owners
mailing list