Author Topic: Openzaurus For C1000 And C3000  (Read 9810 times)

iamasmith

  • Hero Member
  • *****
  • Posts: 1248
    • View Profile
Openzaurus For C1000 And C3000
« Reply #15 on: May 04, 2005, 06:11:38 am »
Quote
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
[div align=\"right\"][a href=\"index.php?act=findpost&pid=78164\"][{POST_SNAPBACK}][/a][/div]

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: [Select]
....
#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
OpenBSD 4.2 -current on full 4Gb of SL-C3000
Microdrive replaced with 4Gb SanDisk Extreme III card

Mickeyl

  • Hero Member
  • *****
  • Posts: 1495
    • View Profile
    • http://www.Vanille.de
Openzaurus For C1000 And C3000
« Reply #16 on: May 04, 2005, 10:04:37 am »
I don't see why we should use this in OZ. We have /home on the harddisk, not on a mtdblock.
Cheers,

Michael 'Mickey' Lauer | Embedded Linux Freelancer | www.Vanille-Media.de
Consider donating, if you like the software I contribute to.

iamasmith

  • Hero Member
  • *****
  • Posts: 1248
    • View Profile
Openzaurus For C1000 And C3000
« Reply #17 on: May 04, 2005, 10:10:28 am »
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.
« Last Edit: May 04, 2005, 10:13:45 am by iamasmith »
OpenBSD 4.2 -current on full 4Gb of SL-C3000
Microdrive replaced with 4Gb SanDisk Extreme III card

offroadgeek

  • Administrator
  • Hero Member
  • *****
  • Posts: 1419
    • View Profile
    • https://www.oesf.org
Openzaurus For C1000 And C3000
« Reply #18 on: May 04, 2005, 02:40:25 pm »
Quote
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).
[div align=\"right\"][a href=\"index.php?act=findpost&pid=78156\"][{POST_SNAPBACK}][/a][/div]
Quote
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.[div align=\"right\"][a href=\"index.php?act=findpost&pid=78156\"][{POST_SNAPBACK}][/a][/div]
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?
« Last Edit: May 04, 2005, 02:40:55 pm by offroadgeek »
Search the OESF Wiki
C1000 w/Cacko 1.23 beta (from Streamline) / 760 pdaxrom rc9 / 6000L (thanks Santa's elf!) / 5500 - OZ 3.3.5 / SIMpad SL4
1GB, 256mb SanDisk CF / 2x 1GB, 512mb, 256mb, 128mb SanDisk SD
Ambicom WL100C-CF wifi / Socket 56k CF modem / AmbiCom BT2000-CF (x2)
Pocketop keyboard, Piel Frama case (1000 & 5500), PDAir case (760 & 1000)
sip:536093@fwd.pulver.com
| OESF | ELSI | Zaurus User Group | ZaurusThemes |