$ find rootfs/etc/ -not -type l -not -type d
rootfs/etc/rc.d/rc
rootfs/etc/rc.d/rc.sysinit
rootfs/etc/rc.d/init.d/avr
rootfs/etc/rc.d/init.d/halt
rootfs/etc/rc.d/init.d/http
rootfs/etc/rc.d/init.d/wlan
rootfs/etc/rc.d/init.d/wlan_ident
rootfs/etc/rc.d/init.d/resolve
rootfs/etc/rc.d/init.d/finding
rootfs/etc/rc.d/init.d/start_ifplugd
rootfs/etc/rc.d/init.d/rawdevices
rootfs/etc/rc.d/init.d/torrent
rootfs/etc/rc.d/init.d/watching
rootfs/etc/rc.d/init.d/show_logo
rootfs/etc/rc.d/init.d/croninit
rootfs/etc/rc.d/init.d/wlan_RT73
rootfs/etc/rc.d/init.d/killall
rootfs/etc/rc.d/init.d/mainapp
rootfs/etc/rc.d/init.d/wlan_88W8618
rootfs/etc/rc.d/init.d/functions
rootfs/etc/rc.d/init.d/random
rootfs/etc/rc.d/init.d/single
rootfs/etc/rc.d/init.d/telnet
rootfs/etc/rc.d/init.d/syslog
rootfs/etc/rc.d/init.d/networking
rootfs/etc/remote_default.hex
rootfs/etc/fstab
rootfs/etc/group
rootfs/etc/pm.sh
rootfs/etc/remote_none.hex
rootfs/etc/version
rootfs/etc/services
rootfs/etc/dpm_script
rootfs/etc/inittab
rootfs/etc/templates/hosts
rootfs/etc/templates/master.conf
rootfs/etc/templates/settings.xml
rootfs/etc/nsswitch.conf
rootfs/etc/remote_nomac.hex
rootfs/etc/gettsk
rootfs/etc/httpd.conf
rootfs/etc/settsk
rootfs/etc/host.conf
rootfs/etc/protocols
rootfs/etc/mp_v1_public.pem
Showing posts with label musicpal. Show all posts
Showing posts with label musicpal. Show all posts
Friday, February 25, 2011
Freecom MusicPal #5
$ find rootfs/sbin/ -not -type l -not -type d
rootfs/sbin/flashcp
rootfs/sbin/hotplug
rootfs/sbin/mtd_debug
rootfs/sbin/chkconfig
rootfs/sbin/flash_eraseall
$ find rootfs/usr/sbin/ -not -type l -not -type d
$ find rootfs/lib/ -not -type l -not -type d
rootfs/lib/libgpl.so
rootfs/lib/librt-2.3.1.so
rootfs/lib/libm-2.3.1.so
rootfs/lib/ld-2.3.1.so
rootfs/lib/libiconv.so.2.4.0
rootfs/lib/libcommon.so
rootfs/lib/libnss_dns-2.3.1.so
rootfs/lib/libstdc++.so.5.0.5
rootfs/lib/libdl-2.3.1.so
rootfs/lib/libresolv-2.3.1.so
rootfs/lib/libnsl-2.3.1.so
rootfs/lib/libcrypt-2.3.1.so
rootfs/lib/libpthread-0.10.so
rootfs/lib/libnss_files-2.3.1.so
rootfs/lib/libssl.so.0.9.8
rootfs/lib/libthread_db-1.0.so
rootfs/lib/libcrypto.so.0.9.8
rootfs/lib/modules/wlandrv.ko
rootfs/lib/libutil-2.3.1.so
rootfs/lib/libpopt.so.0.0.0
rootfs/lib/libz.so.1.1.4
rootfs/lib/libc-2.3.1.so
rootfs/lib/libiw.so
rootfs/sbin/flashcp
rootfs/sbin/hotplug
rootfs/sbin/mtd_debug
rootfs/sbin/chkconfig
rootfs/sbin/flash_eraseall
$ find rootfs/usr/sbin/ -not -type l -not -type d
$ find rootfs/lib/ -not -type l -not -type d
rootfs/lib/libgpl.so
rootfs/lib/librt-2.3.1.so
rootfs/lib/libm-2.3.1.so
rootfs/lib/ld-2.3.1.so
rootfs/lib/libiconv.so.2.4.0
rootfs/lib/libcommon.so
rootfs/lib/libnss_dns-2.3.1.so
rootfs/lib/libstdc++.so.5.0.5
rootfs/lib/libdl-2.3.1.so
rootfs/lib/libresolv-2.3.1.so
rootfs/lib/libnsl-2.3.1.so
rootfs/lib/libcrypt-2.3.1.so
rootfs/lib/libpthread-0.10.so
rootfs/lib/libnss_files-2.3.1.so
rootfs/lib/libssl.so.0.9.8
rootfs/lib/libthread_db-1.0.so
rootfs/lib/libcrypto.so.0.9.8
rootfs/lib/modules/wlandrv.ko
rootfs/lib/libutil-2.3.1.so
rootfs/lib/libpopt.so.0.0.0
rootfs/lib/libz.so.1.1.4
rootfs/lib/libc-2.3.1.so
rootfs/lib/libiw.so
Freecom MusicPal #4
$ mkdir rootfs
$ sudo mount.jffs2 rootfs.jffs2 rootfs/
Sanity check passed...
Image rootfs.jffs2 sucessfully mounted on rootfs/
$ find rootfs/bin/ -not -type l -not -type d
rootfs/bin/cron
rootfs/bin/knox
rootfs/bin/logo
rootfs/bin/ipc_send
rootfs/bin/wlanconfig
rootfs/bin/brctl
rootfs/bin/oinfo
rootfs/bin/wlan_auth.sh
rootfs/bin/avr_prog
rootfs/bin/nashville_notify.sh
rootfs/bin/quickboot.img
rootfs/bin/ifplugd
rootfs/bin/nashville
rootfs/bin/ntpupdate
rootfs/bin/iwconfig
rootfs/bin/ipcalc
rootfs/bin/mvtools
rootfs/bin/ntpdate
rootfs/bin/openssl
rootfs/bin/wpa_supplicant
rootfs/bin/watch_nashville
rootfs/bin/busybox
$ strings rootfs/bin/busybox | grep -E "BusyBox v[0-9]\.[0-9]{1,2}(\.[0-9])?"
BusyBox v1.1.2 (2007.12.12-12:10+0000)
BusyBox v1.1.2 (2007.12.12-12:10+0000) multi-call binary
syslogd started: BusyBox v1.1.2
BusyBox 1.1.2
http://www.busybox.net/downloads/busybox-1.1.2.tar.bz2
$ find rootfs/usr/bin/ -not -type l -not -type d
Freecom MusicPal #3
$ hd -n 64 mpimage.bin
00000000 61 64 6d 61 31 2e 30 31 23 fd 68 e2 43 01 00 00 |adma1.01#ýhâC...|
00000010 4d 75 73 69 63 50 61 6c 20 56 65 72 73 69 6f 6e |MusicPal Version|
00000020 20 31 2e 36 37 00 00 00 00 00 00 00 00 00 00 00 | 1.67...........|
00000030 01 00 00 00 10 c0 67 00 85 19 01 e0 2b 00 00 00 |.....Àg....à+...|
00000040
$ LENGTH=$((0x0067c010))
$ SKIP=$((0x38))
$ SKIP=$((0x38))
$ dd if=mpimage.bin ibs=1 skip=$SKIP count=16 2> /dev/null | file -
/dev/stdin: Linux jffs2 filesystem data little endian
$ dd if=mpimage.bin of=rootfs.jffs2 ibs=1 skip=$SKIP count=$LENGTH
6799376+0 records in
13280+1 records out
6799376 bytes (6.8 MB) copied, 2.99535 s, 2.3 MB/s
$ echo $LENGTH
6799376
$ SKIP=$(($SKIP + $LENGTH))
$ dd if=mpimage.bin ibs=1 skip=$SKIP 2> /dev/null | hd -n 64
00000000 06 00 00 00 1c 09 00 00 85 19 01 e0 2b 00 00 00 |...........à+...|
00000010 e6 6e 26 7d 01 00 00 00 00 00 00 00 02 00 00 00 |æn&}............|
00000020 87 f9 29 4b 03 04 00 00 84 6c 78 3b db 85 f4 d1 |.ù)K.....lx;Û.ôÑ|
00000030 65 74 63 ff 85 19 02 e0 44 00 00 00 1d fb f7 98 |etcÿ...àD....û÷.|
00000040
$ LENGTH=$((0x0000091c))
$ SKIP=$(($SKIP + 8))
$ SKIP=$(($SKIP + 8))
$ dd if=mpimage.bin ibs=1 skip=$SKIP count=16 2> /dev/null | file -
/dev/stdin: Linux jffs2 filesystem data little endian
$ dd if=mpimage.bin of=part2.jffs2 ibs=1 skip=$SKIP count=$((LENGTH))
2332+0 records in
4+1 records out
2332 bytes (2.3 kB) copied, 0.00115809 s, 2.0 MB/s
$ echo $LENGTH
2332
$ echo $(($SKIP + $LENGTH))
6801772
$ echo $SIZE
6801772
Freecom MusicPal #2
Since the link to the mpimage tool referred to by the wiki page Freecom's MusicPal Firmware in the Firmware Tools section is broken, and I haven't been able to find it on the net, I've decided to code my own.
I've just pushed the initial version which displays the firmware header in a github repository named mp-utils.
Example:
I've just pushed the initial version which displays the firmware header in a github repository named mp-utils.
Example:
$ mpimg mpimage.bin
Firmware file size : 6801772 bytes
FIELD VALUE
-------------------------------------
MAGIC adma1.01
CRC32 0xE268FD23
VERSION 1.67
NAME MusicPal Version 1.67
-------------------------------------
Freecom MusicPal #1
http://www.musicpal.info
On page "Legal Notice":
On page "Legal Notice":
The Freecom MusicPal contains code that is covered by the GNU General Public License (GPL).
In accordance with the GPL, Freecom makes the relevant code available for download. The GPL Code is distributed without any warranty and is subject to the copyrights of one or more authors.
This code is unnecessary for almost all Freecom users.
Download Tool Chain
Download Firmware
Subscribe to:
Posts (Atom)