View Single Post
Old 05-05-2009, 05:02 AM   #2
ali_sade
Enthusiast
ali_sade began at the beginning.
 
Posts: 26
Karma: 10
Join Date: Apr 2009
Device: Sony PRS-700BC, Hanlin V3
This is as far as I have learnt until now, WARNING::total_newbie()

1. Unpack the bundle of firmware
download http://git.openinkpot.org/contrib/mk...ack.sh;hb=HEAD
then do this
./firmware_unpack.sh V3update.bin ./hanlin

2. The result is a number of files
~/hanlin > ls -latr
total 54588
-rw-r--r-- 1 build build 1048576 May 5 08:48 zImage
-rw-r--r-- 1 build build 46137344 May 5 08:48 root.fs
-rw-r--r-- 1 build build 6291456 May 5 08:48 ro.fs
drwxr-xr-x 10 build build 4096 May 5 08:48 ..
-rw-r--r-- 1 build build 240000 May 5 08:48 logo
-rw-r--r-- 1 build build 2097152 May 5 08:48 jffs2.fs
drwxr-xr-x 2 build build 4096 May 5 08:48 .

3- You should mount these ISO images like this:
sudo mount -t cramfs -o loop root.fs /media1

then you can see the contents.
assuming that you change something you can recreate the ISO again like this
mkfs.cramfs /media2 root.fs

4- Again recreate the V3Update.bin file using mkv3update --help
you can download that from http://git.openinkpot.org/contrib/mkv3update.git

Reading Openinkpot documents helps:
http://www.openinkpot.org
ali_sade is offline   Reply With Quote