I tried installing it on SL-C3200 ... however, no luck - kernel panic. It could not initialize console or sth like this (don't have it in front of me).
As I saw, it tries to do some things in /media directory ... I mean, it does not reflash anything (like for C3000), but instead, creates new init script. Which tries to mount some stuff and work with /media ... do I need to have some specific distro _before_ trying pdaxii13 on c3200 ? I don't have /media directory there (there was plain b3 before this)
p.p. I tried to fix it by changing some names, but it was failing with lot of other errors ...
[div align=\"right\"][a href=\"index.php?act=findpost&pid=148057\"][{POST_SNAPBACK}][/a][/div]
basically, what you need to do on C3100/C3200 is:
1. repartition your MicroDrive, the first partition, hdd1 has to be ext3 and at least 512MB but bigger than 1GB is better. you can use the options in the pdaXii13 installer to do it for you or use fdisk to manually repartition you microdrive which you can also do from the installer.
2. copy pivot_root (binary file) and init (shell script) into /sbin (I assume you have pdaXrom beta3 installed already). below is a minimal init script. I recommend you create a sys subdirectory under sbin and move the original init into there. the pdaXii13 installer should be doing this, but haven't had much time to test it yet. you can do this manually from the pdaXii13 installer, select option 5 to go to the console. then do the following:
mkdir -p /mnt/flash
mount /dev/mtdblock2 /mnt/flash
cd /mnt/flash/sbin
mkdir sys
mv init sys/
cp /tmp1/tools/bin/init .
chmod 755 init
cp /tmp1/tools/bin/pivot_root .
chmod 755 pivot_root
cd /
umount /mnt/flash
exit
3. reformat and extract hddimage file onto microdrive. this can also be done by the pdaXii13 intaller.
if the init script does not work, you can try debugging it. use the pdaXii13 installer to boot up your system and then use the console option to get to the file system (the steps above) and modify the init script until it works
i put extra comments in with ###
#!/bin/sh
echo "pivot boot script 0.4a for pdaXii13"
echo "intercepting: $0 $1"
if [ "$1" != "" ]; then
/sbin/sys/init $1
exit 0
fi
mount -t proc proc /proc
mount -o remount,rw /
echo "Loading driver for MicroDrive"
/sbin/cardmgr -o
if [ "`dmesg | tail -3 |grep hda1`" != "" ]; then
IDE1=/dev/hda1
else
IDE1=/dev/hdc1
fi
echo "Internal harddrive is $IDE1"
### the code should execute until here without problems
umount /proc
### if you have problems, try commenting out the umount /proc
echo Mounting $IDE1.
if [ ! -f /media/hdd ]; then
mkdir -p /media/hdd
fi
mount -t ext3 $IDE1 /media/hdd
### if you get up to here, then you should be ok
if [ "$?" != "0" ]; then
echo Dropping to a shell due to error in mounting root disk.
exec /bin/sh
fi
if [ -e /media/hdd/sbin/init -o -L /media/hdd/sbin/init ]; then
echo "Found /sbin/init on HD; pivoting."
if [ ! -f /media/hdd/media/realroot ]; then
mkdir -p /media/hdd/media/realroot 2>/dev/null
fi
cd /media/hdd
pivot_root . media/realroot
cd /
exec /sbin/init
fi
echo Dropping to a shell due to problems.
exec /bin/sh