Hi all, and particularly Anton,
Well I got my SL-C3000 and it ain't as scary as it looked with no information. I have learned a reasonable amount about the hardware and am doing some preliminary testing to see if I can get as much of the Qtopia environment from Cacko 1.22 as possible running on the 3K.
This I view as the first step, then sort out scripting etc. for the environment and then use try with a 'Special Kernel' for the 3K.
What I have done so far.
1. Reinstalled Cacko 1.22 lite on my 860 (soon to go), and from the most basic install have tarred off everything excluding /mnt,/tmp,/proc and /dev to a tar file - the intention is initially to flatten the install out and worry about reassembling it into RO sections later etc.
2. Created a 256Mb file containing an ext2 file system and restored the tar there.
3. Created mount points in the ext2 file for /dev,/tmp,/mnt,/proc
Now the interesting bit.
4. Boot up the SL-C3000 using key combination D+B (instead of D+M) and this boots into the flash only Linux distro.
5. Insert the SD card containing the file 256Mb ext2 file and...
mount /mnt/card/cackolite-ext2 /mnt/cf -o loop
mount -o bind /dev /mnt/cf/dev
mount -o bind /proc /mnt/cf/proc
mount -o bind /lib/modules /mnt/cf/home/root/modules
chroot /mnt/cf /bin/bash
This mounts the ext2 file system over the mount point for the CF (so I don't need to create another one) and uses the bind facilities of the kernel to mount the existing /proc,/dev and modules directories into the ext2 file system.
Finally the chroot repoints the root to the file system in the 256Mb file and launches bash. This all works admirably and I can run all the command line stuff.
I had already replaced /usr/QtPalmtop.rom/lib/libsl, libt and libqpe with the 3K versions and had replaced qpe/runqpe and qeserver in the /usr/QtPalmtop.rom/bin directory.
6. Run /sbin/launch
At present I get the Cacko welcome screen, then the build drops back to a terminal prompt but is completely frozen.
So, anyone know what holds the other hardware dependencies for the SL-Cxxx models?
I think I need to get rid of anything in the following categories..
* ATI W100
* Hi Res Battery monitoring (initially because no special Kernel to expose the counters)
* /proc/cccr_change stuff - obviosuly the current ROM is set with values specific to the SL-Cxxx range. This shouldn't be dangerous at the moment because the standard Kernel does not expose this stuff but DOES need removing before switching to something like the Special Kernel.
Final point that's interesting... Move the modified ext2 file back to the 860 and you CAN boot with the newer versions of libsl etc..., unfortunately it runs portrait only. But at least it proves the chroot environment does boot.
So, any pointers that will cut down on the number of reboot cycles that I need?
- Andy