I couldn't get the binaries to work:
Code:
# ls -l | grep flash
-rwxr-xr-x 1 root root 84380 Feb 4 2012 flash_erase
-rwxr-xr-x 1 root root 150 Feb 4 2012 flash_eraseall
-rwxr-xr-x 1 root root 11808 Feb 4 2012 flash_lock
-rwxr-xr-x 1 root root 10416 Feb 4 2012 flash_otp_dump
-rwxr-xr-x 1 root root 10753 Feb 4 2012 flash_otp_info
-rwxr-xr-x 1 root root 11818 Feb 4 2012 flash_unlock
-rwxr-xr-x 1 root root 25226 Feb 4 2012 flashcp
# ./flash_erase
/bin/sh: ./flash_erase: not found
But maybe they need to be "installed" along with their dependencies?
Back on ubuntu, I used file/ldd to look at the binaries on the sd card I've been booting from:
Code:
root@tony-Vostro-2520:/mnt/sd/mtdutils-1.4.9/sbin# file flash_erase
flash_erase: ELF 32-bit LSB executable, ARM, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.16, not stripped
root@tony-Vostro-2520:/mnt/sd/mtdutils-1.4.9/sbin# ldd flash_erase
not a dynamic executable
flash_erase: ELF 32-bit LSB executable, ARM, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.32, BuildID[sha1]=0x897310145779d26409542e12fc151822d3ef395d, not stripped
root@tony-Vostro-2520:/mnt/sd/mtdutils-1.5.0/sbin# ldd flash_erase
not a dynamic executable
The "file" information looks similar to the busybox binary for the kobo
Code:
root@tony-Vostro-2520:/mnt/sd# file bin/busybox
bin/busybox: ELF 32-bit LSB executable, ARM, version 1, dynamically linked (uses shared libs), for GNU/Linux 2.4.3, stripped
Here's some more information about the kobo environment
Code:
Linux-version 2.6.18.2-ntx600-v0.82
Uboot-version CPU: ARM920T [41129200] revision 0 (ARMv4T), cr=c0007177
# uname -a
Linux (none) 2.6.18.2-ntx600-v0.82 #6 Thu Jun 10 15:26:02 EDT 2010 armv4tl GNU/Linux
Am I barking up the wrong tree?