Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Shaka

Pages: [1] 2
1
For Sale / Wanted / Fs: Zaurus Sl-c3100 W/accessories *price Drop*
« on: May 28, 2008, 03:03:53 pm »
Alright, one last price drop, then I think I'm gonna try something else.

$375CAD or USD, 250Euro

Come on people, its in mint condition, no scratches, and the case is a wonderful extra

2
For Sale / Wanted / Fs: Zaurus Sl-c3100 W/accessories *price Drop*
« on: April 26, 2008, 12:19:29 am »
Price drop!!!

So, I think I may have priced myself out of the market...

How does $450 CAD sound?  It works out to basically the same in USD and about 280Euros.

3
For Sale / Wanted / Fs: Zaurus Sl-c3100 W/accessories *price Drop*
« on: March 20, 2008, 04:01:42 pm »
Mint condition SL-C3100, kept it inside the case the whole time I've had it, no scratches or cracks.
1GB SD card
Ambicom CF WiFi card
Piel Frama leather case: http://www.pielframa.com/sharp_zaurus_slc3000.htm
USB Host cable
Universal Power adapter(only has plugs for north america, but will accept 100-240v, 50hz/60hz
Remote control(CE-RH2)

The only thing I'm missing is the stylus, but that's easy to replace.

I've had many different ROMs installed, and its currently got Android running on it

My price is $550CAD, which works out to about 350Euro, will get shipping quote for the lucky buyer, with any shipping company you prefer

4
Sharp ROMs / Some Questions About Memory Management
« on: November 15, 2005, 07:28:46 pm »
Well first of all, the C3100 does not have 128MB RAM.  It has 128MB of ROM, 4GB hard drive, and 64MB of RAM.

The RAM is the memory used when running programs and is not used to store any data.  The Cacko ROM is installed to the ROM and is known as the "program area" when installing IPKs, this is the 100MB of "/home" that you have, as well as the 19MB where cacko actually runs from.

I hope this helps clear some things up.

5
OpenBSD / May Have Bricked 3100
« on: September 16, 2005, 07:01:08 am »
Well, I've take care of the problem.  After countless hours of searching on these forums, I managed to find this post: https://www.oesf.org/forums/index.php?showtopic=14351 regarding how to restore the hard drive so that Qtopia would boot.  I did have to flash the NAND again in order to do this properly, I'm assuming because we altered the rc.rofilesys.  But thankfully everything went smoothly.

Now I get to start all over again, this time I'll remember *not* to remove the bootloader.

Will update once OpenBSD has been finalised

6
OpenBSD / May Have Bricked 3100
« on: September 14, 2005, 06:57:13 am »
Here is a copy of the rc.rofileysys as it is on my zaurus, and then copied to a CF so that I can copy/paste it to here:

#!/bin/bash

#export PATH=$PATH:/usr/sbin.rom:/usr/bin.rom

LINUXFMT=ext2
#LINUXFMT=ext3
MKE2FSOPT=
if [ "$LINUXFMT" = "ext3" ]; then
   MKE2FSOPT=-j
fi

#
# get device pcmcia_slot
#     format: get_dev_pcmcia_slot [slot number]
#                 slot number: 0, 1
#     output: device name (hda or hdc)
#
get_dev_pcmcia()
{
while read SOCKET CLASS DRIVER INSTANCE DEVS MAJOR MINOR;
do
    echo $DEVS
done
}
get_dev_pcmcia_slot()
{
    grep "^$1" /var/lib/pcmcia/stab | get_dev_pcmcia
}

RW_MTD_LINE=`cat /proc/mtd | grep "home" | tail -n 1`
if [ "$RW_MTD_LINE" = "" ]; then
    RW_MTD_LINE=`cat /proc/mtd | grep "\<NAND\>.*\<2\>" | tail -n 1`
fi
RW_MTD_NO=`echo $RW_MTD_LINE | cut -d: -f1 | cut -dd -f2`
RW_MTD_SIZE_HEX=`echo $RW_MTD_LINE | cut -d" " -f2`
RW_MTD=/dev/mtd$RW_MTD_NO
RW_MTDBLK=/dev/mtdblock$RW_MTD_NO
RW_MTD_SIZE=`dc 0x$RW_MTD_SIZE_HEX 1024 /`
initlog -s $"found $RW_MTD ${RW_MTD_SIZE}\"Kbyte\""

#echo "ZAURUS_RESET=$ZAURUS_RESET RW_MTD_NO=$RW_MTD_NO RW_MTD_SIZE_HEX=$RW_MTD_SIZE_HEX"
#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

# mount /dev
dd if=/dev/zero of=/dev/ram1 bs=1024 count=64 2> /dev/null > /dev/null
mkfs.minix -i 512 /dev/ram1 64 2> /dev/null > /dev/null
mount -t minix /dev/ram1 /dev
(cd /home ; tar cf - dev | (cd / ; tar xf -))

# mount /tmp
mount -t tmpfs -o size=1m none /dev/shm
mkdir /dev/shm/tmp
chmod 4777 /dev/shm/tmp
mkdir /dev/shm/run
touch /dev/shm/run/utmp
mkdir /dev/shm/run/usb

/etc/ledmode reset

# mount HDD
/etc/rc.d/init.d/pcmcia start
while [ "$IDE1" = "" ]; do
   IDE1=`get_dev_pcmcia_slot 1`
done

if [ "$HDDCLEAR" = "YES" ]; then
   dd if=/dev/zero of=/dev/${IDE1}2 > /dev/null 2> /dev/null
fi
mke2fs $MKE2FSOPT /dev/${IDE1}2 2> /dev/null > /dev/null
e2fsck -p /dev/${IDE1}2 > /dev/null
if [ "$HDDCLEAR" = "YES" ]; then
   dd if=/dev/zero of=/dev/${IDE1}3 > /dev/null 2> /dev/null
fi
##mkfs.vfat -F 32 /dev/${IDE1}3 2> /dev/null > /dev/null
mount -t $LINUXFMT -o ro,noatime /dev/${IDE1}1 /hdd1
rc=$?
if [ "$rc" != "0" ]; then
   echo -n "HDD1 Error!! "
   /bin/ledctl ledmode 0
   /bin/ledctl alarm 1
   while [ "$DUMMY" = "" ]; do
      sleep 1
   done
fi
mount -t $LINUXFMT -o noatime /dev/${IDE1}2 /hdd2
rc=$?
if [ "$rc" != "0" ]; then
   echo -n "HDD2 Error!! "
   /bin/ledctl ledmode 0
   /bin/ledctl alarm 1
   while [ "$DUMMY" = "" ]; do
      sleep 1
   done
fi
##mount -t vfat -o noatime,quiet,umask=000,iocharset=utf8 /dev/${IDE1}3 /hdd3
rc=$?
if [ "$rc" != "0" ]; then
   echo -n "HDD3 Error!! "
   /bin/ledctl ledmode 0
   /bin/ledctl alarm 1
   while [ "$DUMMY" = "" ]; do
      sleep 1
   done
fi
if [ ! -f /hdd1/.sys/hdimage2.tgz ]; then
    echo "Error!! HDD is not initialized!"
fi
cd /
gzip -dc /hdd1/.sys/hdimage2.tgz | tar xf -

sltime -clear

rc=$?
if [ "$rc" = "0" ]; then
   success "$STRING"
else
   failure "$STRING"
fi
msg

else
### SW Reset !

#STRING=$"Checking filesystem: "

# mount /home
mount -t jffs2 -o rw,noatime $RW_MTDBLK /home

# mount /dev
dd if=/dev/zero of=/dev/ram1 bs=1024 count=64 2> /dev/null > /dev/null
mkfs.minix -i 512 /dev/ram1 64 2> /dev/null > /dev/null
mount -t minix /dev/ram1 /dev
(cd /home ; tar cf - dev | (cd / ; tar xf -))


if [ -f /home/etc/restorepc ]; then
   RESTORE_CONNECTION=`cat /home/etc/restorepc`
else
   RESTORE_CONNECTION=""
fi
if [ "$RESTORE_CONNECTION" != "" ]; then

   cp /home/etc/restoreip /dev/restoreip 2> /dev/null > /dev/null
   cp /home/zaurus/Settings/Security.conf /dev/Security.conf 2> /dev/null > /dev/null
   umount $RW_MTDBLK
   /sbin/eraseall $RW_MTD 2> /dev/null > /dev/null
   mount -t jffs2 -o rw,noatime $RW_MTDBLK /home
   mount -t tmpfs -o size=1m none /dev/shm
   mkdir /dev/shm/tmp
   chmod 4777 /dev/shm/tmp
   mkdir /dev/shm/run
   touch /dev/shm/run/utmp
   mkdir /dev/shm/run/usb
   cd /
   tar xf /root/.home_default.tar
   rm -rf /home/zaurus/Applications/Contents/

   /etc/ledmode reset

   # mount HDD
   /etc/rc.d/init.d/pcmcia start
   while [ "$IDE1" = "" ]; do
      IDE1=`get_dev_pcmcia_slot 1`
   done

   mount -t $LINUXFMT -o ro,noatime /dev/${IDE1}1 /hdd1
   rc=$?
   if [ "$rc" != "0" ]; then
      echo -n "HDD1 Error!! "
      /bin/ledctl ledmode 0
      /bin/ledctl alarm 1
      while [ "$DUMMY" = "" ]; do
         sleep 1
      done
   fi
   
   mke2fs $MKE2FSOPT /dev/${IDE1}2 2> /dev/null > /dev/null
   e2fsck -p /dev/${IDE1}2 > /dev/null
   mount -t $LINUXFMT -o noatime /dev/${IDE1}2 /hdd2
   rc=$?
   if [ "$rc" != "0" ]; then
      echo -n "HDD2 Error!! "
      /bin/ledctl ledmode 0
      /bin/ledctl alarm 1
      while [ "$DUMMY" = "" ]; do
         sleep 1
      done
   fi
   cd /
   # Documents files are discarded...
   gzip -dc /hdd1/.sys/hdimage2.tgz | tar xf -

##   mount -t vfat -o noatime,quiet,umask=000,iocharset=utf8 /dev/${IDE1}3 /hdd3
   rc=$?
   if [ "$rc" != "0" ]; then
      echo -n "HDD3 Error!! "
      /bin/ledctl ledmode 0
      /bin/ledctl alarm 1
      while [ "$DUMMY" = "" ]; do
         sleep 1
      done
   fi
   if [ ! -f /hdd1/.sys/hdimage2.tgz ]; then
      echo -n "Error!! HDD is not initialized!"
      /bin/ledctl ledmode 0
      /bin/ledctl alarm 1
      while [ "$DUMMY" = "" ]; do
         sleep 1
      done
   fi

   rm /home/zaurus/Settings/route.conf 2>/dev/null >/dev/null
   echo -n $RESTORE_CONNECTION > /home/zaurus/Settings/route.conf
   touch /home/etc/restorepc
   mv /dev/restoreip /etc/hotplug/usbdnet.conf 2> /dev/null > /dev/null
   mv /dev/Security.conf /home/zaurus/Settings/Security.conf 2> /dev/null > /dev/null

else
   # mount /tmp
   mount -t tmpfs -o size=1m none /dev/shm
   mkdir /dev/shm/tmp
   chmod 4777 /dev/shm/tmp
   mkdir /dev/shm/run
   touch /dev/shm/run/utmp
   mkdir /dev/shm/run/usb

   /etc/ledmode reset

   # mount HDD
   /etc/rc.d/init.d/pcmcia start
   while [ "$IDE1" = "" ]; do
      IDE1=`get_dev_pcmcia_slot 1`
   done

   mount -t $LINUXFMT -o ro,noatime /dev/${IDE1}1 /hdd1
   rc=$?
   if [ "$rc" != "0" ]; then
      echo -n "HDD1 Error!! "
      /bin/ledctl ledmode 0
      /bin/ledctl alarm 1
      while [ "$DUMMY" = "" ]; do
         sleep 1
      done
   fi
   mount -t $LINUXFMT -o noatime /dev/${IDE1}2 /hdd2
   rc=$?
   if [ "$rc" != "0" ]; then
      echo -n "HDD2 Error!! "
      /bin/ledctl ledmode 0
      /bin/ledctl alarm 1
      while [ "$DUMMY" = "" ]; do
         sleep 1
      done
   fi
##   mount -t vfat -o noatime,quiet,umask=000,iocharset=utf8 /dev/${IDE1}3 /hdd3
   rc=$?
   if [ "$rc" != "0" ]; then
      echo -n "HDD3 Error!! "
      /bin/ledctl ledmode 0
      /bin/ledctl alarm 1
      while [ "$DUMMY" = "" ]; do
         sleep 1
      done
   fi
   if [ ! -f /hdd1/.sys/hdimage2.tgz ]; then
      echo -n "Error!! HDD is not initialized!"
      /bin/ledctl ledmode 0
      /bin/ledctl alarm 1
      while [ "$DUMMY" = "" ]; do
         sleep 1
      done
   fi

fi
fi
echo $LAUNCH > /home/sharp/etc/launch.default

7
OpenBSD / May Have Bricked 3100
« on: September 13, 2005, 09:04:31 am »
After trying both of the procedures, I still get the same error message on boot up: "HDD1 Error!!"

8
OpenBSD / May Have Bricked 3100
« on: September 12, 2005, 05:22:03 am »
Hmmm... After reading through this again, I suppose I should be more clear.  The only solution that I can see is to grab a NAND backup from someone that has a C3100 and OpenBSD currently installed.  As my Z won't even attempt to boot anything except the single user mode in the flash rom.

9
OpenBSD / Installing From Cf... (strange Issue I Had)
« on: September 11, 2005, 08:01:01 am »
One suggestion, not sure if it will help, possibly try mounting it first, and then when the installer asks you if it is already mounted, just point it to the path.  The other option is closer to what I did, you should already have a formatted hard drive, copy the files over to the local drive, and try from there.

- Renzo

10
OpenBSD / May Have Bricked 3100
« on: September 11, 2005, 07:58:32 am »
Well, after flashing the NAND with the Tri Soft image, I can longer get to the "boot>" prompt.

I have already done #3:
 the b+d boot trick
# insmod zbsdmod.o
# cp bsd /proc/zboot
and have completely installed OpenBSD to the hard drive.

My problem now is that I can't seem to figure out a way to actually load the installed OpenBSD because the single user linux doesn't seem to recognise the OpenBSD partition in a way that will let me mount and boot manually.  I'm thinking my problem is as I stated before, that I should not have NAND flashed the rom.  Although, I'm hoping there's a quicker/easier solution.

- Renzo

11
Zaurus - pdaXrom / 3100 Beta Testers Needed!
« on: September 10, 2005, 05:31:18 am »
Well, I would like some instructions as to how to actually install the RC11.

However, at the moment I am only able to boot the Z into single user mode.  I wiped the drive during a partial install of OpenBSD, and then I panicked when it wouldn't load properly, so I re-flashed the NAND with the one from the Tri Soft website, which means I lost the boot loader that OpenBSD was using.  Will I be able to test this without actually being in the original Qtopia first?  Or can the installation be done in either single user mode, or is there a NAND image available?  I suppose a further question would be, does pdaXrom rely on being able to access the hard drive as it came from the factory such as the Sharp rom does?

12
Zaurus - pdaXrom / 3100 Beta Testers Needed!
« on: September 10, 2005, 03:26:14 am »
I'm willing to help test for you, I've sent you an email with my details.

- Renzo Koornhof

13
OpenBSD / Installing From Cf... (strange Issue I Had)
« on: September 08, 2005, 04:02:45 pm »
Something interesting also happened to me when installing sets from a 1GB CF card.  My other system is a windows laptop, so the CF was formatted as Fat32.  However, every time I told it where to find the sets, it told me nothing was there.  I dropped to shell, verified the files, and tried again, nothing.  Then it hit me, windows saved the files as upper case instead of lower case.  I had to copy the sets to already formatted hard drive, then go through and manually rename all the sets to lower case before it worked smoothly.

Stupid windows not using a proper filesystem.

14
OpenBSD / May Have Bricked 3100
« on: September 08, 2005, 06:46:28 am »
Here is my DMESG output:

OpenBSD 3.8 (RAMDISK) #87: Fri Sep  2 15:06:54 MDT 2005
deraadt@zaurus.openbsd.org:/usr/src/sys/arch/zaurus/compile/RAMDISK
real mem  = 67108864 (65536K)
avail mem = 52101120 (50880K)
using 844 buffers containing 3457024 bytes (3376K) of memory
mainbus0 (root)
cpu0 at mainbus0: PXA27x rev 4 (XScale core)
cpu0: DC enabled IC enabled WB enabled LABT branch prediction enabled
cpu0: 32KB(32b/l,32way) I-cache, 32KB(32b/l,32way) wr-back-lock D-cache
pxaip0 at mainbus0: CPU clock = 415.997 MHz
pxaintc0 at pxaip0 addr 0x40d00000: Interrupt Controller
pxagpio0 at pxaip0 addr 0x40e00000: GPIO Controller
saost0 at pxaip0 addr 0x40a00000
saost0: SA-11x0 OS Timer
com0 at pxaip0 addr 0x40100000 intr 22: pxa2x0, 32 byte fifo
com1 at pxaip0 addr 0x40200000 intr 21: pxa2x0, 32 byte fifo
com2 at pxaip0 addr 0x40700000 intr 20: pxa2x0, 32 byte fifo (SIR)
pxaudc0 at pxaip0: USB Device Controller
ohci0 at pxaip0, version 1.0
usb0 at ohci0: USB revision 1.0
uhub0 at usb0
uhub0: PXA27x OHCI root hub, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
lcd_pxaip0 at pxaip0
wsdisplay0 at lcd_pxaip0 mux 1: console (std, vt100 emulation)
zkbd0 at pxaip0
wskbd0 at zkbd0: console keyboard, using wsdisplay0
scoop0 at pxaip0: PCMCIA/GPIO controller
scoop1 at pxaip0: PCMCIA/GPIO controller
pxapcic0 at pxaip0: 2 slots
pcmcia0 at pxapcic0
pcmcia1 at pxapcic0
zssp0 at pxaip0
apm0 at pxaip0
zts0 at pxaip0
wsmouse0 at zts0 mux 0
clock: hz=100 stathz=64
rd0: fixed, 5120 blocks
wdc0 at pcmcia0 function 0 "HITACHI, microdrive" port 0x0/16: irq 138
wd0 at wdc0 channel 0 drive 0: <HMS360604D5CF00>
wd0: 32-sector PIO, LBA, 3906MB, 7999488 sectors
wd0(wdc0:0:0): using BIOS timings
wdc1 at pcmcia1 function 0 "SanDisk, SDP, 5/3 0.6" port 0x0/16: irq 137
wd1 at wdc1 channel 0 drive 0: <SanDisk SDCFB-1024>
wd1: 4-sector PIO, LBA, 977MB, 2001888 sectors
wd1(wdc1:0:0): using BIOS timings
boot_file: '(null)'
rootdev=0x1200 rrootdev=0x1200 rawdev=0x1202
WARNING: using filesystem date -- CHECK AND RESET THE DATE!
wd1: no disk label

Here is my disklabel output:

# /dev/rwd0c:
type: ESDI

disk: ESDI/IDE disk
label: HMS360604D5CF00
flags:
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 16
sectors/cylinder: 1008
cylinders: 7936
total sectors: 7999488
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0      # microseconds
track-to-track seek: 0   # microseconds
drivedata: 0

16 partitions:
#             size        offset  fstype [fsize bsize  cpg]
a:        102753            63  4.2BSD   2048 16384  102 # Cyl     0*-   101
b:        196560        102816    swap                   # Cyl   102 -   296
c:       7999488             0  unused      0     0      # Cyl     0 -  7935
d:        788256        299376  4.2BSD   2048 16384  328 # Cyl   297 -  1078
e:       2097648       1087632  4.2BSD   2048 16384  328 # Cyl  1079 -  3159
f:        512064       3185280  4.2BSD   2048 16384  328 # Cyl  3160 -  3667
g:       4302144       3697344  4.2BSD   2048 16384  328 # Cyl  3668 -  7935

And finally, here is the output from my fdisk:

Disk: wd0   geometry: 7936/16/63 [7999488 Sectors]
Offset: 0   Signature: 0xAA55
         Starting       Ending       LBA Info:
 #: id    C   H  S -    C   H  S [       start:      size   ]
------------------------------------------------------------------------
 0: 00    0   0  0 -    0   0  0 [           0:           0 ] unused      
 1: 00    0   0  0 -    0   0  0 [           0:           0 ] unused      
 2: 00    0   0  0 -    0   0  0 [           0:           0 ] unused      
*3: A6    0   1  1 - 7935  15 63 [          63:     7999425 ] OpenBSD

15
OpenBSD / May Have Bricked 3100
« on: September 08, 2005, 06:21:33 am »
Oh, wait... I could probably just use > to output the info from those three to the CF card, then move the CF card to another computer.  I'll do that right away and post the info messages.

Pages: [1] 2