I've installed u-boot and pdaxrom beta4, noticed a few things (appart from what other people have reported) and I have a few questions:
The suspend works correctly on the emergency image but not in the beta4 normal boot where instead I get a black screen with a blinkung cursor (full reset to recover from that and the system reboots automatically after that).
I've done further tracking on this issue. I started with the emerg image, mounted the jffs2 root image on /mnt/cf (mount -t jffs2 /dev/mtdblock2 /mnt/cf) and did a chroot on the freshly mounted filesystem, ran /etc/rc.d/rc.sysinit, started X (got an ugly twm and killed it CTRL ALT BACKSPACE straight away) now the suspend is not working too. So it appears that the problem is not kernel but something done in the init scripts or in X initialization.
The console in bothe emerg and non has I guess a buffer issue because when you edit any commands in history, if and only if the line has spaces, when you add new chars the other chars to the left of what you add get all messed up on video (but command is ok and if you recall it from history it appears ok untill you edit).
When you forget the sd in with the beta4 install stuff it's useless to allways go ahead with the autoboot.sh script so I added a few lines near the top:
#Ask befor installing
echo "Proceed with pdaxrom installation or boot to emergency system ?"
read ans
[ "$ans" != "y" ] && exit
This can prevent from uslessy reinstalling the images when you want to boot to emerg and you forgot the removable media containing the install stuff in.
The emergency image has a wierd 3 consecutive backlight off, backlight on every minute or so when the battery level falls below 33%. As the battery further discharges the anomaly becomes more persistent. Once you fall below 28% even more odd stuff occours (like nacklight dimming for a while and then going bright again all on it's own).
Now that I have a more flexible boot loader how can I use it to boot something from CF or SD (not just the emergency image) I mean potentially a test kernel and a test initrd on CF or SD ?
Is it possible to make u-boot load the 2.4.18 kernel on pdaxrom 1.1 beta1 ?
Do I need to prepare the kernel image for u-boot as described in the u-boot README ?
if so how can I overwrite just the root fs and homes (mtdblock2 and 3) so as to get the old non broken version on cxx0 hardware ?
Can I change parameters passed to kernel by u-boot so as to repartition the nand flash ?
I have downloaded the latest avalible sdk and u-boot (with also the patches), I've built the u-boot and ended up with a u-boot.bin 130592 while original is 130568. Is this because the src avalible differs from the last user by Sashz or is it a cross compile environment issue ?
I've been unable to mount via loop device ither the emergenc.img or the rootfs.img.
I've tried bothe on the Z and on a PC. The emerg image is in the u-boot format (or at least has a kernel at the start in that format) so it would be intresting to know how big it is to try extracting just the initrd. Whlat is really puzzeling me is the rootfs.img that is a standard jffs2 little endian ... I should be able to mount that even on my PC but this is what kernel says:
loop: loaded (max 8 devices)
JFFS2 version 2.2. (NAND) © 2001-2003 Red Hat, Inc.
Attempt to mount non-MTD device "/dev/loop0" as JFFS2
How can I mount that ?
Regards
David