|
|||||||
|
You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community today, you will have fewer ads, access to post topics, communicate privately with other members, respond to polls, upload content and access many other special features. If you have any problems with the registration process or your account login, please contact us. Hint: Don't have time to visit us daily? Subscribe to our main RSS feed to receive our frontpage posts at your convenience. |
| Reader PRS-500 Dev Corner Linux, hacking and development of software and hardware (specific to the PRS-500) |
![]() |
|
|
Thread Tools | Search this Thread | Display Modes |
|
|
#1 |
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
Posts: 3,111
Karma: 17432
Join Date: Sep 2006
Location: Belgium
Device: PRS-500/505/700, Kindle, Cybook Gen3, Words Gear
|
lbhook.sh support patch
igorsk 1 - cramfs 0
Read the provided readme.txt for instructions. Here's a sample script: Code:
#! /bin/bash PATH="/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games:/usr/local/sony/bin:/usr/sbin" LD_LIBRARY_PATH="/opt/sony/ebook/application:/lib:/usr/lib:/usr/local/sony/lib:/opt/sony/ebook/lib" export PATH LD_LIBRARY_PATH pstree -a -c -l >/tmp/pstree.log & Code:
init)
|-getty) console
|-(jffs2_gcd_mtd15)
|-(jffs2_gcd_mtd16)
|-(keventd)
|-lbhook.sh) /tmp/lbhook.sh
| `-pstree) -a -c -l
|-(msbdrv_thread)
|-(mtdblockd)
|-(sdbdrv_thread)
`-tinyhttp.sh) /opt/sony/ebook/bin/tinyhttp.sh
`-tinyhttp)
|
|
|
|
|
|
#2 | ||
|
Enthusiast
![]()
Posts: 27
Karma: 10
Join Date: Oct 2006
Device: Sony Reader
|
Quote:
Quote:
What is the difference between cramfs from Reader and Librie? I mean - after mounting the cramfs-es.
__________________
GS |
||
|
|
|
|
|
#3 | |||
|
Guru
![]() ![]()
Posts: 607
Karma: 197
Join Date: Oct 2005
Device: NCR3125, Nokia 770,...
|
Quote:
Quote:
Quote:
a) try for console access via USB. b) try to show a picture in the display using command line utilities. c) try my command line utilities for DJVU files. d) review how to compile Andrew's "simple reader", of if it works straighforward. e) if not console access, create a "SMS-phone" way to enter text to show it in the console. Note that the netpbm utilities, a lot of them, are included in the djvu package, and this includes some text display utility, I believe to remember. |
|||
|
|
|
|
|
#4 | ||
|
Addict
![]() ![]()
Posts: 263
Karma: 129
Join Date: Sep 2006
Device: PRS-500 · DR1KS
|
Quote:
![]() Quote:
|
||
|
|
|
|
|
#5 | |
|
Enthusiast
![]()
Posts: 27
Karma: 10
Join Date: Oct 2006
Device: Sony Reader
|
Quote:
__________________
GS |
|
|
|
|
|
|
#6 |
|
Addict
![]() ![]()
Posts: 263
Karma: 129
Join Date: Sep 2006
Device: PRS-500 · DR1KS
|
Igor,
I wonder if it's possible to create softlinks for directories under /opt tree to updatable filesystem like /Data? It will make updating fonts and graphics much easier. |
|
|
|
|
|
#7 |
|
Gizmologist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
Posts: 11,484
Karma: 31590
Join Date: Jan 2006
Location: Republic of Texas Embassy at Jackson, TN
Device: PRS600
|
igorsk, You Da Man! You Da Man!
|
|
|
|
|
|
#8 | |||
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
Posts: 3,111
Karma: 17432
Join Date: Sep 2006
Location: Belgium
Device: PRS-500/505/700, Kindle, Cybook Gen3, Words Gear
|
Quote:
Quote:
From what I've seen, they're almost the same - Reader has an extra SD driver but that's about it. The main difference is the reading application.Quote:
|
|||
|
|
|
|
|
#9 |
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
Posts: 3,111
Karma: 17432
Join Date: Sep 2006
Location: Belgium
Device: PRS-500/505/700, Kindle, Cybook Gen3, Words Gear
|
For the brave, here's modified cramfs tools from Cygwin which I used to extract and reassemble the cramfs image. To make sure you get the same permissions in your new filesystem, use a devtable file (-d in cramfsk and -D in mkcramfs).
A few things to know to minimize a chance to brick your device: 1) Linux0 and Rootfs2 are kernel and root fs used in the recovery (update) mode. It's best not to touch them. 2) USB control is handled by switcher.so (loaded by tinyhttp) in normal mode, and by /opt0/UsbUpdater in recovery mode. So, disabling any of them will leave you without a way to control the unit via USB. 3) Using USB interface, in normal mode you cannot write flash partitions and in recovery mode you cannot read and write files. |
|
|
|
|
|
#10 | |
|
Guru
![]() ![]()
Posts: 607
Karma: 197
Join Date: Oct 2005
Device: NCR3125, Nokia 770,...
|
Quote:
|
|
|
|
|
|
|
#11 | |
|
Uebermensch
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
Posts: 2,476
Karma: 8172
Join Date: Jul 2003
Location: Italy
Device: Kindle
|
Quote:
You rock, igor!
|
|
|
|
|
|
|
#12 |
|
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
Posts: 251
Karma: 1226
Join Date: Sep 2006
Location: South Jersey, US
Device: REB1100, Sony Reader, nook
|
Igor,
Just wondering, why are you dumping 0x863000 bytes of Rootfs while the actual size of the filesystem is supposed to be 0x980000? Did you try dumping the whole 0x980000 bytes? |
|
|
|
|
|
#13 |
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
Posts: 3,111
Karma: 17432
Join Date: Sep 2006
Location: Belgium
Device: PRS-500/505/700, Kindle, Cybook Gen3, Words Gear
|
The partition size is 0x980000. However, the actual size used by the cramfs image is 0x863000. You can check it yourself, it's specified in the second dword of the image.
|
|
|
|
|
|
#14 |
|
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
Posts: 251
Karma: 1226
Join Date: Sep 2006
Location: South Jersey, US
Device: REB1100, Sony Reader, nook
|
Thank you, igorsk!
|
|
|
|
|
|
#15 |
|
Gizmologist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
Posts: 11,484
Karma: 31590
Join Date: Jan 2006
Location: Republic of Texas Embassy at Jackson, TN
Device: PRS600
|
Y'all did it! Excellent!
|
|
|
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| TCPMP/Betaplayer sets standards with AVC support | Alexander Turcic | Handhelds and Smartphones | 2 | 08-28-2007 11:32 PM |
| NetFront V3.3 Technical Preview with VGA support | Colin Dunstan | Handhelds and Smartphones | 4 | 08-31-2005 08:41 AM |
| eReader 2.61 for Palm OS released | Colin Dunstan | Reading and Management | 4 | 04-13-2005 08:05 PM |
| NetFront 3.2 for PPC with WM2003SE support released | Alexander Turcic | Handhelds and Smartphones | 4 | 04-04-2005 02:04 PM |
| BetaPlayer 0.095 with aac and mp4 support | Alexander Turcic | Handhelds and Smartphones | 2 | 12-22-2004 11:29 AM |