Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > More E-Book Readers > iRex > iRex Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 07-26-2006, 02:39 AM   #16
DHer
Addict
DHer doesn't litterDHer doesn't litter
 
Posts: 261
Karma: 156
Join Date: Jul 2006
Device: iliad
ok, there seems to be a script to flash the file system, check out /oldroot/linuxrc

now there's 2 questions: how to get the os.gz in the folder where it should be (/mnt/protected/images, fstab tells me its /dev/tffsa5 - in the flash?) and how to get it in this flash mode
DHer is offline   Reply With Quote
Old 07-26-2006, 03:37 AM   #17
arivero
Guru
arivero knows what time it isarivero knows what time it isarivero knows what time it isarivero knows what time it isarivero knows what time it isarivero knows what time it isarivero knows what time it isarivero knows what time it isarivero knows what time it isarivero knows what time it isarivero knows what time it is
 
arivero's Avatar
 
Posts: 607
Karma: 2157
Join Date: Oct 2005
Device: NCR3125, Nokia 770,...
Quote:
Originally Posted by DHer
ok, there seems to be a script to flash the file system, check out /oldroot/linuxrc
Yes, if you check bin of oldroot you will see that bin/init is simply a link to linuxrc

Now the launching process (2.4) is not trivial. dmesg tels that
Kernel command line: root=/dev/tffsa1 rw console=ttyS2,115200 mem=64M

while oldroot is ttfsa2

Actually the partition of ttfs is

tffs: TrueFFS driver 632.70
tffs: Socket 0: type 7 0x9876 chips 4 floors 4 size 256M in addr 0xc8000 ebs 0x10000
tffs: Device 0x0: size 0xea00000 HW sector 0x200 (recommended 0x800)
tffs: Registered module at major 100
Partition check:
tffsa: tffsa1 tffsa2 tffsa3 < tffsa5 tffsa6 tffsa7 >
tffs: partition 0x1 size 0x305800 start offset 0x6800
tffs: partition 0x2 size 0x4884000 start offset 0x30c000
tffs: partition 0x3 size 0x400 start offset 0x4b90000
tffs: partition 0x5 size 0x1d39800 start offset 0x4b96800
tffs: partition 0x6 size 0x803f800 start offset 0x68d6800
tffs: partition 0x7 size 0xe3800 start offset 0xe91c800




According mount,
partition 2 is mounted as / (and /old-root, but this is somehow wrong),
partition 5 is mounted as /mnt/protected (it contains the images, when updating)
partition 6 as /mnt/free (and it is a vfat, to store content)
partition 7 as /mnt/settings

but the content of /old-root when I look at it seems to be equal to partition 1. I think that mount is a bit confused by the pivot_root procedures.
arivero is offline   Reply With Quote
Advert
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to root the Alex eReader Bluebrain Spring Design Alex 22 08-10-2013 06:43 PM
Classic Soft Root for 1003 SN? bruenorz Nook Developer's Corner 7 09-07-2010 02:16 PM
Classic Few questions regarding root shrktank Nook Developer's Corner 4 02-15-2010 12:50 PM
Getting a root shell guylhem Sony Reader Dev Corner 4 02-27-2009 05:24 AM
iLiad dropbear ssh: how to change root password? daudi iRex Developer's Corner 2 01-10-2008 04:49 PM


All times are GMT -4. The time now is 02:18 PM.


MobileRead.com is a privately owned, operated and funded community.