OESF | ELSI | pdaXrom | OpenZaurus | Zaurus Themes | Community Links | Ibiblio

IPB

Welcome Guest ( Log In | Register )

2 Pages V  < 1 2  
Reply to this topicStart new topic
> Openzaurus For C1000 And C3000, First Open Source ROM for CXK released
iamasmith
post May 4 2005, 02:11 AM
Post #16





Group: Members
Posts: 1,248
Joined: 6-July 04
Member No.: 3,928



QUOTE(Mickeyl @ May 4 2005, 09:38 AM)
Since there are only two kernels on a Zaurus, I suspect the emergency kernel is zImage2 - the same as used when you are updating the device. When you zero the device there's probably no kernel running at all, since this seems to be completely implemented in diagnostics code.

Speaking about that... I'd really like to have that code released smile.gif
*


Zeroing is handled on Sharp ROMs by the /root/etc/rc.d/rc.rofilesys

It picks up some parameters which seem to be added to the boot process by using option 3,1 on the Japanese menu.. it does actually boot into the live Linux when you do this. If you wanted to implement this for OZ then you really need to look at that file..

Look around this area.....
CODE
....
#ZAURUS_RESET=HARD
if [ "$ZAURUS_RESET" = "HARD" ]; then

STRING=$"Starting filesystem: "
msg -n $STRING

# mount /home
/sbin/eraseall $RW_MTD 2> /dev/null > /dev/null
mount -t jffs2 -o rw,noatime $RW_MTDBLK /home
cd /
tar xf /root/.home_default.tar
....


Hope this helps the efforts,

Andy
Go to the top of the page
 
+Quote Post
Mickeyl
post May 4 2005, 06:04 AM
Post #17





Group: Members
Posts: 1,497
Joined: 12-November 03
From: Germany
Member No.: 907



I don't see why we should use this in OZ. We have /home on the harddisk, not on a mtdblock.
Go to the top of the page
 
+Quote Post
iamasmith
post May 4 2005, 06:10 AM
Post #18





Group: Members
Posts: 1,248
Joined: 6-July 04
Member No.: 3,928



Wasn't particularly hinting at the mtdblock.. if you take a look at the whole script you will see the HDD handling in there too for zeroing the device.

Attached for your perusal.
Attached File(s)
Attached File  rc.rofilesys.txt ( 6.42K ) Number of downloads: 10
 
Go to the top of the page
 
+Quote Post
offroadgeek
post May 4 2005, 10:40 AM
Post #19





Group: Admin
Posts: 1,418
Joined: 18-May 03
From: St. Paul, MN
Member No.: 4



QUOTE(madeddie @ May 4 2005, 12:43 AM)
what you seem to miss is that there's a fallback linux install somewhere else that doesn't seem to be affected by OZ (and it shouldn't as far as I can tell).
*

QUOTE(madeddie @ May 4 2005, 12:43 AM)
It's quite a normal question IMHO, I'm not afraid to flash the NAND, i've done it before, I'm just wondering about how the proces works.
*

We might not have missed that had you actually asked this in the first place. Your original question:

QUOTE
Is there an easy way to get back to the original Sharp Rom?
Go to the top of the page
 
+Quote Post

2 Pages V  < 1 2
Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 31st October 2014 - 02:11 PM