torpor
hack hack hack, the little machines fight back
hiya .. something thats been bugging me in debugging my gp2x' botched 1.0.1 upgrade/firmware snafu is the lack of details about whats gone on with the machine once you do anything to it .. so i made a script to help out a little bit .. to use it, save this script as a file to your SD card, call it GetGP2XInfo.gpu, and it'll save a bunch of details about your GP2X to a folder called "gp2xinfo" on your SD card .. lets use these details to figure out what the heck is going on ..
and if you have any further tweaks to this script worth doing, let me know ..
note that there are two dmesg snarfs for a reason .. to catch dmesgs' logged, as well as those appearing since boot ..
here's the contents of mine, just for comparison:
bins_info.txt
dmesg.log.txt
dmesg.txt
gp2x_version.txt
gp2xusr_info.txt
libsinfo.txt
modsinfo.txt
proc_info.txt
uname.txt
(edit: removed recursive {-R} from lib snarf...)
and if you have any further tweaks to this script worth doing, let me know ..
Code:
#!/bin/sh
mkdir /mnt/sd/gp2xinfo
echo "this is a collection of details about your gp2x.." > /mnt/sd/gp2xinfo/README.txt
/bin/date > /mnt/sd/gp2xinfo/infodate.txt
/bin/uname -a > /mnt/sd/gp2xinfo/uname.txt
/bin/dmesg > /mnt/sd/gp2xinfo/dmesg.txt
cp /var/log/dmesg /mnt/sd/gp2xinfo/dmesg.log.txt
ls -alF /lib /usr/local/lib /usr/lib > /mnt/sd/gp2xinfo/libsinfo.txt
ls -alFR /lib/modules > /mnt/sd/gp2xinfo/modsinfo.txt
cat /proc/version > /mnt/sd/gp2xinfo/proc_info.txt
cat /proc/cpuinfo >> /mnt/sd/gp2xinfo/proc_info.txt
cat /proc/modules >> /mnt/sd/gp2xinfo/proc_info.txt
cat /proc/devices >> /mnt/sd/gp2xinfo/proc_info.txt
cat /proc/partitions >> /mnt/sd/gp2xinfo/proc_info.txt
cat /proc/meminfo >> /mnt/sd/gp2xinfo/proc_info.txt
ls -alF /usr/gp2x > /mnt/sd/gp2xinfo/gp2xusr_info.txt
ls -alF /bin /sbin /usr/bin /usr/sbin > /mnt/sd/gp2xinfo/bins_info.txt
cat /usr/gp2x/version > /mnt/sd/gp2xinfo/gp2x_version.txt
sync
sync
sync
#/usr/bin/find / > /mnt/filelist.txt
cd /usr/gp2x
./gp2xmenu
note that there are two dmesg snarfs for a reason .. to catch dmesgs' logged, as well as those appearing since boot ..
here's the contents of mine, just for comparison:
bins_info.txt
Code:
/bin:
drwxr-xr-x 2 root root 0 Sep 30 2005 ./
drwxr-xr-x 15 root root 0 Jan 1 00:00 ../
lrwxrwxrwx 1 root root 9 Oct 5 2005 addgroup -> tinylogin*
lrwxrwxrwx 1 root root 9 Oct 5 2005 adduser -> tinylogin*
-rwxr-xr-x 1 root root 563888 Sep 30 2005 bash*
-rwxr-xr-x 1 root root 220164 Sep 30 2005 busybox*
lrwxrwxrwx 1 root root 7 Oct 5 2005 cat -> busybox*
lrwxrwxrwx 1 root root 7 Oct 5 2005 chgrp -> busybox*
lrwxrwxrwx 1 root root 7 Oct 5 2005 chmod -> busybox*
lrwxrwxrwx 1 root root 7 Oct 5 2005 chown -> busybox*
lrwxrwxrwx 1 root root 7 Oct 5 2005 cp -> busybox*
lrwxrwxrwx 1 root root 7 Oct 5 2005 date -> busybox*
lrwxrwxrwx 1 root root 7 Oct 5 2005 dd -> busybox*
lrwxrwxrwx 1 root root 9 Oct 5 2005 delgroup -> tinylogin*
lrwxrwxrwx 1 root root 9 Oct 5 2005 deluser -> tinylogin*
-rwxr-xr-x 1 root root 51652 Sep 30 2005 devfsd*
lrwxrwxrwx 1 root root 7 Oct 5 2005 df -> busybox*
lrwxrwxrwx 1 root root 7 Oct 5 2005 dmesg -> busybox*
lrwxrwxrwx 1 root root 8 Oct 5 2005 dnsdomainname -> hostname*
-rwxr-xr-x 1 root root 2864 Sep 30 2005 doexec*
lrwxrwxrwx 1 root root 8 Oct 5 2005 domainname -> hostname*
lrwxrwxrwx 1 root root 7 Oct 5 2005 echo -> busybox*
lrwxrwxrwx 1 root root 4 Oct 5 2005 egrep -> grep*
-rwxr-xr-x 1 root root 22708 Sep 30 2005 factor*
lrwxrwxrwx 1 root root 7 Oct 5 2005 false -> busybox*
-rwxr-xr-x 1 root root 69392 Sep 30 2005 fdisk*
lrwxrwxrwx 1 root root 4 Oct 5 2005 fgrep -> grep*
-rwxr-xr-x 1 root root 60348 Sep 30 2005 ftp*
-rwxr-xr-x 1 root root 73008 Oct 1 2005 gpm*
-rwxr-xr-x 1 root root 100620 Sep 30 2005 grep*
-rwxr-xr-x 1 root root 1658 Sep 30 2005 groups*
lrwxrwxrwx 1 root root 7 Oct 5 2005 gunzip -> busybox*
lrwxrwxrwx 1 root root 7 Oct 5 2005 gzip -> busybox*
-rwxr-xr-x 1 root root 8888 Sep 30 2005 hostname*
-rwxr-xr-x 1 root root 6464 Sep 30 2005 ipcalc*
lrwxrwxrwx 1 root root 7 Oct 5 2005 kill -> busybox*
lrwxrwxrwx 1 root root 7 Oct 5 2005 ln -> busybox*
lrwxrwxrwx 1 root root 6 Oct 5 2005 logger -> syslog*
lrwxrwxrwx 1 root root 9 Oct 5 2005 login -> tinylogin*
lrwxrwxrwx 1 root root 7 Oct 5 2005 ls -> busybox*
lrwxrwxrwx 1 root root 7 Oct 5 2005 mkdir -> busybox*
lrwxrwxrwx 1 root root 7 Oct 5 2005 mknod -> busybox*
lrwxrwxrwx 1 root root 7 Oct 5 2005 more -> busybox*
lrwxrwxrwx 1 root root 7 Oct 5 2005 mount -> busybox*
lrwxrwxrwx 1 root root 7 Oct 5 2005 mv -> busybox*
-rwxr-xr-x 1 root root 60192 Sep 30 2005 netstat*
-rwxr-xr-x 1 root root 7240 Sep 30 2005 nice*
lrwxrwxrwx 1 root root 8 Oct 5 2005 nisdomainname -> hostname*
-rwxr-xr-x 1 root root 2470 Sep 30 2005 nohup*
-rwxr-xr-x 1 root root 8172 Sep 30 2005 pathchk*
lrwxrwxrwx 1 root root 7 Oct 5 2005 pidof -> busybox*
lrwxrwxrwx 1 root root 7 Oct 5 2005 ping -> busybox*
-rwxr-xr-x 1 root root 12432 Sep 30 2005 pinky*
-rwxr-xr-x 1 root root 5868 Sep 30 2005 printenv*
-rwxr-xr-x 1 root root 10868 Sep 30 2005 printf*
lrwxrwxrwx 1 root root 7 Oct 5 2005 ps -> busybox*
lrwxrwxrwx 1 root root 7 Oct 5 2005 pwd -> busybox*
lrwxrwxrwx 1 root root 7 Oct 5 2005 rm -> busybox*
lrwxrwxrwx 1 root root 7 Oct 5 2005 rmdir -> busybox*
lrwxrwxrwx 1 root root 7 Oct 5 2005 sed -> busybox*
-rwxr-xr-x 1 root root 9480 Sep 30 2005 seq*
-rwxr-xr-x 1 root root 46552 Sep 30 2005 sfdisk*
lrwxrwxrwx 1 root root 4 Oct 5 2005 sh -> bash*
lrwxrwxrwx 1 root root 7 Oct 5 2005 sleep -> busybox*
-rwxr-xr-x 1 root root 14104 Sep 30 2005 smtpclient*
lrwxrwxrwx 1 root root 7 Oct 5 2005 stty -> busybox*
lrwxrwxrwx 1 root root 9 Oct 5 2005 su -> tinylogin*
lrwxrwxrwx 1 root root 7 Oct 5 2005 sync -> busybox*
-rwxr-xr-x 1 root root 6052 Sep 30 2005 syslog*
lrwxrwxrwx 1 root root 7 Oct 5 2005 tar -> busybox*
-rwxr-xr-x 1 root root 36364 Sep 17 2005 tinylogin*
lrwxrwxrwx 1 root root 7 Oct 5 2005 touch -> busybox*
lrwxrwxrwx 1 root root 7 Oct 5 2005 true -> busybox*
lrwxrwxrwx 1 root root 7 Oct 5 2005 umount -> busybox*
lrwxrwxrwx 1 root root 7 Oct 5 2005 uname -> busybox*
-rwxr-xr-x 1 root root 7708 Sep 30 2005 users*
lrwxrwxrwx 1 root root 7 Oct 5 2005 usleep -> busybox*
lrwxrwxrwx 1 root root 7 Oct 5 2005 vi -> busybox*
-rwxr-xr-x 1 root root 11264 Sep 30 2005 who*
lrwxrwxrwx 1 root root 8 Oct 5 2005 ypdomainname -> hostname*
lrwxrwxrwx 1 root root 7 Oct 5 2005 zcat -> busybox*
/sbin:
drwxr-xr-x 2 root root 0 Sep 10 2005 ./
drwxr-xr-x 15 root root 0 Jan 1 00:00 ../
-rwxrwxrwx 1 501 501 14592 Jan 16 2001 agetty*
-rwxrwxrwx 1 501 501 23496 Sep 10 2005 arp*
-rwxrwxrwx 1 501 501 52 Jan 6 2001 autologin*
-rwxrwxrwx 1 501 501 11912 Jan 16 2001 cardctl*
-rwxrwxrwx 1 501 501 39244 Jan 16 2001 cardmgr*
-rwxrwxrwx 1 501 501 3232 Sep 17 2005 consoletype*
lrwxrwxrwx 1 501 501 16 Oct 5 2005 depmod -> /usr/sbin/depmod@
-rwxrwxrwx 1 501 501 19228 Jan 16 2001 dump_cis*
-rwxrwxrwx 1 501 501 507284 Sep 10 2005 e2fsck*
lrwxrwxrwx 1 501 501 7 Oct 5 2005 e2label -> tune2fs*
-rwxrwxrwx 1 501 501 4032 Sep 17 2005 expand*
lrwxrwxrwx 1 501 501 14 Oct 5 2005 freeramdisk -> ../bin/busybox*
-rwxrwxrwx 1 501 501 54956 Sep 10 2005 fsck*
lrwxrwxrwx 1 501 501 6 Oct 5 2005 fsck.ext2 -> e2fsck*
lrwxrwxrwx 1 501 501 6 Oct 5 2005 fsck.ext3 -> e2fsck*
-rwxrwxrwx 1 501 501 29668 Jan 16 2001 fsck.minix*
-rwxrwxrwx 1 501 501 5628 Jan 16 2001 ftl_check*
-rwxrwxrwx 1 501 501 7260 Jan 16 2001 ftl_format*
-rwxrwxrwx 1 501 501 3712 Sep 17 2005 getkey*
lrwxrwxrwx 1 501 501 16 Oct 5 2005 getty -> ../bin/tinylogin*
-rwxrwxrwx 1 501 501 9048 Sep 17 2005 halt*
-rwxrwxrwx 1 501 501 252332 Sep 10 2005 htpasswd*
-rwxrwxrwx 1 501 501 49988 Jan 15 2004 hwclock*
-rwxrwxrwx 1 501 501 4284 Jan 16 2001 ide_info*
-rwxrwxrwx 1 501 501 35088 Sep 10 2005 ifconfig*
-rwxrwxrwx 1 501 501 1775 Apr 4 2002 ifdown*
-rwxrwxrwx 1 501 501 3876 Jan 16 2001 ifport*
-rwxrwxrwx 1 501 501 1458 Apr 4 2002 ifup*
-rwxrwxrwx 1 501 501 4768 Jan 16 2001 ifuser*
-rwxrwxrwx 1 501 501 41708 Sep 17 2005 in.ftpd*
-rwxrwxrwx 1 501 501 41832 Sep 17 2005 in.telnetd*
-rwxrwxrwx 1 501 501 17456 Sep 17 2005 inetd*
-rwxrwxrwx 1 501 501 28616 Sep 17 2005 init*
-rwxrwxrwx 1 501 501 17896 Sep 17 2005 initlog*
lrwxrwxrwx 1 501 501 14 Oct 5 2005 insmod -> ../bin/busybox*
-rwxrwxrwx 1 501 501 8628 Sep 17 2005 killall5*
lrwxrwxrwx 1 501 501 14 Oct 5 2005 klogd -> ../bin/busybox*
lrwxrwxrwx 1 501 501 15 Oct 5 2005 ksyms -> /usr/sbin/ksyms@
-rwxrwxrwx 1 501 501 23340 Jan 16 2001 login*
lrwxrwxrwx 1 501 501 14 Oct 5 2005 losetup -> ../bin/busybox*
lrwxrwxrwx 1 501 501 14 Oct 5 2005 lsmod -> ../bin/busybox*
-rwxrwxrwx 1 501 501 15268 Sep 10 2005 makeweb*
-rwxrwxrwx 1 501 501 8396 Jan 16 2001 mingetty*
-rwxrwxrwx 1 501 501 6240 Sep 17 2005 minilogd*
-rwxrwxrwx 1 501 501 116888 Sep 10 2005 mke2fs*
-rwxrwxrwx 1 501 501 5068 Jan 16 2001 mkfs*
-rwxrwxrwx 1 501 501 6944 Jan 16 2001 mkfs.bfs*
lrwxrwxrwx 1 501 501 6 Oct 5 2005 mkfs.ext2 -> mke2fs*
lrwxrwxrwx 1 501 501 6 Oct 5 2005 mkfs.ext3 -> mke2fs*
-rwxrwxrwx 1 501 501 18704 Jan 16 2001 mkfs.minix*
-rwxrwxrwx 1 501 501 27472 Sep 10 2005 mklost+found*
lrwxrwxrwx 1 501 501 14 Oct 5 2005 mkswap -> ../bin/busybox*
-rwxrwxrwx 1 501 501 3532 Sep 17 2005 mkusers*
lrwxrwxrwx 1 501 501 17 Oct 5 2005 modinfo -> /usr/sbin/modinfo@
lrwxrwxrwx 1 501 501 14 Oct 5 2005 modprobe -> ../bin/busybox*
-rwxrwxrwx 1 501 501 7604 Sep 10 2005 nameif*
-rwxrwxrwx 1 501 501 3844 Sep 17 2005 netreport*
-rwxrwxrwx 1 501 501 30252 Jan 16 2001 pack_cis*
-rwxrwxrwx 1 501 501 15328 Jan 16 2001 passwd*
-rwxrwxrwx 1 501 501 4831 Jun 12 2000 pcinitrd*
-rwxrwxrwx 1 501 501 4352 Sep 10 2005 plipconfig*
-rwxrwxrwx 1 501 501 21488 Apr 3 2002 portmap*
lrwxrwxrwx 1 501 501 4 Oct 5 2005 poweroff -> halt*
-rwxrwxrwx 1 501 501 6372 Jan 16 2001 probe*
-rwxrwxrwx 1 501 501 9580 Sep 10 2005 rarp*
lrwxrwxrwx 1 501 501 4 Oct 5 2005 reboot -> halt*
lrwxrwxrwx 1 501 501 14 Oct 5 2005 rmmod -> ../bin/busybox*
-rwxrwxrwx 1 501 501 26444 Sep 10 2005 route*
-rwxrwxrwx 1 501 501 12268 Feb 18 2004 rungetty*
-rwxrwxrwx 1 501 501 2948 Apr 5 2002 runlevel*
-rwxrwxrwx 1 501 501 15468 Sep 17 2005 shutdown*
-rwxrwxrwx 1 501 501 14868 Sep 10 2005 slattach*
lrwxrwxrwx 1 501 501 16 Oct 5 2005 sulogin -> ../bin/tinylogin*
lrwxrwxrwx 1 501 501 14 Oct 5 2005 swapoff -> ../bin/busybox*
lrwxrwxrwx 1 501 501 14 Oct 5 2005 swapon -> ../bin/busybox*
lrwxrwxrwx 1 501 501 14 Oct 5 2005 syslogd -> ../bin/busybox*
-rwxrwxrwx 1 501 501 2816 Sep 10 2005 syslogtocern*
-rwxrwxrwx 1 501 501 14932 Sep 17 2005 tcpd*
lrwxrwxrwx 1 501 501 4 Oct 5 2005 telinit -> init*
-rwxrwxrwx 1 501 501 67000 Sep 10 2005 thttpd*
-rwxrwxrwx 1 501 501 106108 Sep 10 2005 tune2fs*
/usr/bin:
drwxr-xr-x 2 root root 0 Oct 5 2005 ./
drwxr-xr-x 7 root root 0 Jan 1 00:02 ../
lrwxrwxrwx 1 root root 17 Oct 5 2005 basename -> ../../bin/busybox*
-rwxr-xr-x 1 root root 6448 Sep 30 2005 cam2jpeg*
-rwxr-xr-x 1 root root 8544 Sep 30 2005 cam2mp4*
-rwxr-xr-x 1 root root 6644 Sep 30 2005 cam2video*
lrwxrwxrwx 1 root root 17 Oct 5 2005 chvt -> ../../bin/busybox*
lrwxrwxrwx 1 root root 17 Oct 5 2005 clear -> ../../bin/busybox*
lrwxrwxrwx 1 root root 17 Oct 5 2005 cut -> ../../bin/busybox*
lrwxrwxrwx 1 root root 17 Oct 5 2005 dirname -> ../../bin/busybox*
lrwxrwxrwx 1 root root 17 Oct 5 2005 du -> ../../bin/busybox*
lrwxrwxrwx 1 root root 17 Oct 5 2005 env -> ../../bin/busybox*
lrwxrwxrwx 1 root root 17 Oct 5 2005 expr -> ../../bin/busybox*
lrwxrwxrwx 1 root root 17 Oct 5 2005 find -> ../../bin/busybox*
lrwxrwxrwx 1 root root 17 Oct 5 2005 free -> ../../bin/busybox*
lrwxrwxrwx 1 root root 17 Oct 5 2005 head -> ../../bin/busybox*
lrwxrwxrwx 1 root root 17 Oct 5 2005 hostid -> ../../bin/busybox*
lrwxrwxrwx 1 root root 17 Oct 5 2005 id -> ../../bin/busybox*
-rwxr-xr-x 1 root root 13268 Sep 30 2005 jpegdec*
lrwxrwxrwx 1 root root 17 Oct 5 2005 killall -> ../../bin/busybox*
-rwxr-xr-x 1 root root 11096 Sep 30 2005 last*
lrwxrwxrwx 1 root root 4 Oct 5 2005 lastb -> last*
lrwxrwxrwx 1 root root 17 Oct 5 2005 logger -> ../../bin/busybox*
lrwxrwxrwx 1 root root 17 Oct 5 2005 logname -> ../../bin/busybox*
-rwxr-xr-x 1 root root 4344 Sep 30 2005 mesg*
lrwxrwxrwx 1 root root 17 Oct 5 2005 nslookup -> ../../bin/busybox*
lrwxrwxrwx 1 root root 19 Oct 5 2005 passwd -> ../../bin/tinylogin*
lrwxrwxrwx 1 root root 17 Oct 5 2005 printf -> ../../bin/busybox*
lrwxrwxrwx 1 root root 17 Oct 5 2005 reset -> ../../bin/busybox*
-rwxr-xr-x 1 root root 8280 Sep 30 2005 select-recording-source*
-rwxr-xr-x 1 root root 5076 Sep 30 2005 simple-audio-player*
-rwxr-xr-x 1 root root 5092 Sep 30 2005 simple-audio-recorder*
lrwxrwxrwx 1 root root 17 Oct 5 2005 sort -> ../../bin/busybox*
lrwxrwxrwx 1 root root 17 Oct 5 2005 tail -> ../../bin/busybox*
lrwxrwxrwx 1 root root 17 Oct 5 2005 tee -> ../../bin/busybox*
lrwxrwxrwx 1 root root 17 Oct 5 2005 time -> ../../bin/busybox*
lrwxrwxrwx 1 root root 17 Oct 5 2005 traceroute -> ../../bin/busybox*
lrwxrwxrwx 1 root root 17 Oct 5 2005 tty -> ../../bin/busybox*
-rwxr-xr-x 1 root root 5496 Sep 30 2005 tv2video*
lrwxrwxrwx 1 root root 17 Oct 5 2005 uniq -> ../../bin/busybox*
lrwxrwxrwx 1 root root 17 Oct 5 2005 uptime -> ../../bin/busybox*
-r-xr-xr-x 1 root root 7144 Sep 30 2005 utmpdump*
-r-xr-xr-x 1 root root 7436 Sep 30 2005 wall*
lrwxrwxrwx 1 root root 17 Oct 5 2005 wc -> ../../bin/busybox*
lrwxrwxrwx 1 root root 17 Oct 5 2005 which -> ../../bin/busybox*
lrwxrwxrwx 1 root root 17 Oct 5 2005 whoami -> ../../bin/busybox*
lrwxrwxrwx 1 root root 17 Oct 5 2005 xargs -> ../../bin/busybox*
lrwxrwxrwx 1 root root 17 Oct 5 2005 yes -> ../../bin/busybox*
/usr/sbin:
drwxr-xr-x 2 root root 0 Oct 5 2005 ./
drwxr-xr-x 7 root root 0 Jan 1 00:02 ../
lrwxrwxrwx 1 root root 17 Oct 5 2005 chroot -> ../../bin/busybox*
-rwsr-xr-x 1 root root 6484 Sep 30 2005 usernetctl*
dmesg.log.txt
Code:
Linux version 2.4.25 (root@localhost.localdomain) (gcc version 2.95.3 20010315 (release)) #2357 2005. 11. 11. (±›) 18:49:13 KST
CPU: Arm920Tid(wb) revision 0
Machine: MagicEye-MDK
Warning: bad configuration page, trying to continue
MP2520F FCLK: 199065600 Hz, M = 0x49 P = 1 S = 0
MP2520F UCLK: 95846400 Hz, M = 0x60 P = 0 S = 2
MP2520F ACLK: 147456000 Hz, M = 0x98 P = 0 S = 2
MP2520F PCLK: 49766400 Hz
On node 0 totalpages: 8192
zone(0): 8192 pages.
zone(1): 0 pages.
zone(2): 0 pages.
Kernel command line: root=/dev/mtdblock3 rw
Relocating machine vectors to 0xffff0000
Console: colour dummy device 80x30
Calibrating delay loop... 99.32 BogoMIPS
Memory: 32MB = 32MB total
Memory: 30208KB available (1088K code, 751K data, 280K init)
Dentry cache hash table entries: 4096 (order: 3, 32768 bytes)
Inode cache hash table entries: 2048 (order: 2, 16384 bytes)
Mount cache hash table entries: 512 (order: 0, 4096 bytes)
Buffer cache hash table entries: 1024 (order: 0, 4096 bytes)
Page-cache hash table entries: 8192 (order: 3, 32768 bytes)
CPU: Testing write buffer: pass
POSIX conformance testing by UNIFIX
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Starting kswapd
Journalled Block Device driver loaded
devfs: v1.12c (20020818) Richard Gooch (rgooch@atnf.csiro.au)
devfs: boot_options: 0x1
JFFS2 version 2.2. (NAND) (C) 2001-2003 Red Hat, Inc.
i2c-core.o: i2c core module version 2.6.1 (20010830)
i2c-dev.o: i2c /dev entries driver module version 2.6.1 (20010830)
I2C: MMSP2 algorithm module loaded.
<6>I2C: Adding MMSP2-I2C-Adapter.
i2c-dev.o: Registered 'MMSP2-I2C-Adapter' as minor 0
I2C: Successfully added bus
ttyS0 at MMIO 0xc0001200 (irq = 48) is a MMSP2
ttyS1 at MMIO 0xc0001220 (irq = 52) is a MMSP2
ttyS2 at MMIO 0xc0001240 (irq = 56) is a MMSP2
Console: switching to colour frame buffer device 40x30
MMSP2 mmsp2_RGB0 framebuffer driver start
MMSP2 mmsp2_RGB1 framebuffer driver start
pty: 256 Unix98 ptys configured
MMSP2 DualCPU Interface Driver
MMSP2 Video Post Processor Driver
register device MMSP2 GPIO KEY OK
MMSP2 battery check Driver
MMSP2 Real Time Clock driver
loop: loaded (max 8 devices)
ac97_codec: AC97 Audio codec, id: WML18 (Wolfson WM9711/9712)
mp2520f.c: Using NAND S/W ECC
NAND device: Manufacturer ID: 0xec, Chip ID: 0x76 (Samsung NAND 64MiB 3,3V 8-bit)
Creating 5 MTD partitions on "NAND 64MiB 3,3V 8-bit":
0x00000000-0x00080000 : "Bootloader"
0x00080000-0x000a0000 : "Param"
0x000a0000-0x001a0000 : "Kernel"
0x001a0000-0x019a0000 : "Filesystem"
0x019a0000-0x04000000 : "Extend"
usb.c: registered new driver hub
Linux video capture interface: v1.00
MMC/SD Slot initialized
NetWinder Floating Point Emulator V0.97 (double precision)
FAT: bogus logical sector size 65535
FAT: bogus logical sector size 65535
Inode #27 was a directory with children - removing those too...
VFS: Mounted root (jffs2 filesystem).
Mounted devfs on /dev
Freeing init memory: 280K
dmesg.txt
Code:
Linux version 2.4.25 (root@localhost.localdomain) (gcc version 2.95.3 20010315 (release)) #2357 2005. 11. 11. (±›) 18:49:13 KST
CPU: Arm920Tid(wb) revision 0
Machine: MagicEye-MDK
Warning: bad configuration page, trying to continue
MP2520F FCLK: 199065600 Hz, M = 0x49 P = 1 S = 0
MP2520F UCLK: 95846400 Hz, M = 0x60 P = 0 S = 2
MP2520F ACLK: 147456000 Hz, M = 0x98 P = 0 S = 2
MP2520F PCLK: 49766400 Hz
On node 0 totalpages: 8192
zone(0): 8192 pages.
zone(1): 0 pages.
zone(2): 0 pages.
Kernel command line: root=/dev/mtdblock3 rw
Relocating machine vectors to 0xffff0000
Console: colour dummy device 80x30
Calibrating delay loop... 99.32 BogoMIPS
Memory: 32MB = 32MB total
Memory: 30208KB available (1088K code, 751K data, 280K init)
Dentry cache hash table entries: 4096 (order: 3, 32768 bytes)
Inode cache hash table entries: 2048 (order: 2, 16384 bytes)
Mount cache hash table entries: 512 (order: 0, 4096 bytes)
Buffer cache hash table entries: 1024 (order: 0, 4096 bytes)
Page-cache hash table entries: 8192 (order: 3, 32768 bytes)
CPU: Testing write buffer: pass
POSIX conformance testing by UNIFIX
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Starting kswapd
Journalled Block Device driver loaded
devfs: v1.12c (20020818) Richard Gooch (rgooch@atnf.csiro.au)
devfs: boot_options: 0x1
JFFS2 version 2.2. (NAND) (C) 2001-2003 Red Hat, Inc.
i2c-core.o: i2c core module version 2.6.1 (20010830)
i2c-dev.o: i2c /dev entries driver module version 2.6.1 (20010830)
I2C: MMSP2 algorithm module loaded.
<6>I2C: Adding MMSP2-I2C-Adapter.
i2c-dev.o: Registered 'MMSP2-I2C-Adapter' as minor 0
I2C: Successfully added bus
ttyS0 at MMIO 0xc0001200 (irq = 48) is a MMSP2
ttyS1 at MMIO 0xc0001220 (irq = 52) is a MMSP2
ttyS2 at MMIO 0xc0001240 (irq = 56) is a MMSP2
Console: switching to colour frame buffer device 40x30
MMSP2 mmsp2_RGB0 framebuffer driver start
MMSP2 mmsp2_RGB1 framebuffer driver start
pty: 256 Unix98 ptys configured
MMSP2 DualCPU Interface Driver
MMSP2 Video Post Processor Driver
register device MMSP2 GPIO KEY OK
MMSP2 battery check Driver
MMSP2 Real Time Clock driver
loop: loaded (max 8 devices)
ac97_codec: AC97 Audio codec, id: WML18 (Wolfson WM9711/9712)
mp2520f.c: Using NAND S/W ECC
NAND device: Manufacturer ID: 0xec, Chip ID: 0x76 (Samsung NAND 64MiB 3,3V 8-bit)
Creating 5 MTD partitions on "NAND 64MiB 3,3V 8-bit":
0x00000000-0x00080000 : "Bootloader"
0x00080000-0x000a0000 : "Param"
0x000a0000-0x001a0000 : "Kernel"
0x001a0000-0x019a0000 : "Filesystem"
0x019a0000-0x04000000 : "Extend"
usb.c: registered new driver hub
Linux video capture interface: v1.00
MMC/SD Slot initialized
NetWinder Floating Point Emulator V0.97 (double precision)
FAT: bogus logical sector size 65535
FAT: bogus logical sector size 65535
Inode #27 was a directory with children - removing those too...
VFS: Mounted root (jffs2 filesystem).
Mounted devfs on /dev
Freeing init memory: 280K
<4>mtd->read(0x985 bytes from 0x4682b0) returned ECC error
MMC/SD Card Detected
Partition check:
mmcsda:CMD13 failed, R1
end_request: I/O error, dev 3c:00 (mmcsd), sector 0
CMD13 failed, R1
end_request: I/O error, dev 3c:00 (mmcsd), sector 2
CMD13 failed, R1
end_request: I/O error, dev 3c:00 (mmcsd), sector 4
CMD13 failed, R1
end_request: I/O error, dev 3c:00 (mmcsd), sector 6
CMD13 failed, R1
end_request: I/O error, dev 3c:00 (mmcsd), sector 0
CMD13 failed, R1
end_request: I/O error, dev 3c:00 (mmcsd), sector 2
CMD13 failed, R1
end_request: I/O error, dev 3c:00 (mmcsd), sector 4
CMD13 failed, R1
end_request: I/O error, dev 3c:00 (mmcsd), sector 6
unable to read partition table
Register SD: 488MB
MMC/SD card ejected
MMC/SD Card Detected
mmcsd/disc0/disc: p1
Register SD: 488MB
MSDOS FS: IO charset utf8
gp2x_version.txt
Code:
1.0
gp2xusr_info.txt
Code:
drwxr-xr-x 14 root root 0 Jan 1 00:10 ./
drwxr-xr-x 7 root root 0 Jan 1 00:02 ../
-rwxr-xr-x 1 root root 179964 Jan 1 00:08 EBookViewer*
-rwxr-xr-x 1 root root 1054108 Jan 1 00:08 MusicPlayer*
-rwxr-xr-x 1 root root 183388 Nov 9 2005 PhotoViewer*
-rw-r--r-- 1 root root 39 Jan 1 00:01 boomark.dat
-rwxr-xr-x 1 root root 263768 Nov 9 2005 gp2xmenu*
drwxr-xr-x 2 root root 0 Nov 11 2005 imgbattery/
drwxr-xr-x 2 root root 0 Nov 11 2005 imgcommon/
drwxr-xr-x 2 root root 0 Nov 11 2005 imgebook/
drwxr-xr-x 2 root root 0 Nov 11 2005 imgexplorer/
drwxr-xr-x 2 root root 0 Nov 11 2005 imggame/
drwxr-xr-x 2 root root 0 Nov 11 2005 imgimage/
drwxr-xr-x 2 root root 0 Nov 11 2005 imgmain/
drwxr-xr-x 2 root root 0 Nov 11 2005 imgmovie/
drwxr-xr-x 2 root root 0 Nov 11 2005 imgmusic/
drwxr-xr-x 2 root root 0 Nov 11 2005 imgsetting/
drwxr-xr-x 2 root root 0 Nov 11 2005 imgtestmode/
drwxr-xr-x 2 root root 0 Nov 11 2005 imgutil/
-rwxr-xr-x 1 root root 1337104 Jan 1 00:08 mplayer*
-rwxr-xr-x 1 root root 3 Jan 1 00:08 version*
libsinfo.txt
Code:
/lib:
drwxr-xr-x 4 root root 0 Jan 1 00:02 ./
drwxr-xr-x 15 root root 0 Jan 1 00:00 ../
drwxr-xr-x 2 root root 0 Jan 1 00:03 gconv/
-rwxr-xr-x 1 root root 92124 Oct 1 2005 ld-2.2.5.so*
lrwxrwxrwx 1 root root 11 Oct 5 2005 ld-linux.so.2 -> ld-2.2.5.so*
lrwxrwxrwx 1 root root 19 Oct 5 2005 libSDL-1.2.so.0 -> libSDL-1.2.so.0.7.0*
-rwxr-xr-x 1 root root 253136 Jan 1 00:00 libSDL-1.2.so.0.7.0*
lrwxrwxrwx 1 root root 19 Oct 5 2005 libSDL.so -> libSDL-1.2.so.0.7.0*
lrwxrwxrwx 1 root root 25 Oct 5 2005 libSDL_image-1.2.so.0 -> libSDL_image-1.2.so.0.1.3*
-rwxr-xr-x 1 root root 106388 Oct 1 2005 libSDL_image-1.2.so.0.1.3*
lrwxrwxrwx 1 root root 25 Oct 5 2005 libSDL_image.so -> libSDL_image-1.2.so.0.1.3*
-rwxr-xr-x 1 root root 1223336 Oct 1 2005 libc-2.2.5.so*
lrwxrwxrwx 1 root root 13 Oct 5 2005 libc.so.6 -> libc-2.2.5.so*
-rwxr-xr-x 1 root root 23044 Oct 1 2005 libcrypt-2.2.5.so*
lrwxrwxrwx 1 root root 13 Oct 5 2005 libcrypt.so -> libcrypt.so.1*
lrwxrwxrwx 1 root root 17 Oct 5 2005 libcrypt.so.1 -> libcrypt-2.2.5.so*
lrwxrwxrwx 1 root root 17 Oct 5 2005 libcurses.so -> libncurses.so.5.2*
-rwxr-xr-x 1 root root 10512 Oct 1 2005 libdl-2.2.5.so*
lrwxrwxrwx 1 root root 10 Oct 5 2005 libdl.so -> libdl.so.2*
lrwxrwxrwx 1 root root 14 Oct 5 2005 libdl.so.2 -> libdl-2.2.5.so*
lrwxrwxrwx 1 root root 12 Oct 5 2005 libform.so -> libform.so.5*
lrwxrwxrwx 1 root root 14 Oct 5 2005 libform.so.5 -> libform.so.5.2*
-rwxr-xr-x 1 root root 50568 Oct 1 2005 libform.so.5.2*
lrwxrwxrwx 1 root root 18 Oct 5 2005 libid3tag.so -> libid3tag.so.0.3.0*
lrwxrwxrwx 1 root root 18 Oct 5 2005 libid3tag.so.0 -> libid3tag.so.0.3.0*
-rwxr-xr-x 1 root root 67420 Oct 1 2005 libid3tag.so.0.3.0*
-rwxr-xr-x 1 root root 503304 Oct 1 2005 libm-2.2.5.so*
lrwxrwxrwx 1 root root 9 Oct 5 2005 libm.so -> libm.so.6*
lrwxrwxrwx 1 root root 13 Oct 5 2005 libm.so.6 -> libm-2.2.5.so*
lrwxrwxrwx 1 root root 15 Oct 5 2005 libmad.so -> libmad.so.0.2.1*
lrwxrwxrwx 1 root root 15 Oct 5 2005 libmad.so.0 -> libmad.so.0.2.1*
-rwxr-xr-x 1 root root 93380 Oct 1 2005 libmad.so.0.2.1*
lrwxrwxrwx 1 root root 12 Oct 5 2005 libmenu.so -> libmenu.so.5*
lrwxrwxrwx 1 root root 14 Oct 5 2005 libmenu.so.5 -> libmenu.so.5.2*
-rwxr-xr-x 1 root root 27572 Oct 1 2005 libmenu.so.5.2*
lrwxrwxrwx 1 root root 15 Oct 5 2005 libncurses.so -> libncurses.so.5*
lrwxrwxrwx 1 root root 17 Oct 5 2005 libncurses.so.5 -> libncurses.so.5.2*
-rwxr-xr-x 1 root root 284136 Oct 1 2005 libncurses.so.5.2*
-rwxr-xr-x 1 root root 75712 Oct 1 2005 libnsl-2.2.5.so*
lrwxrwxrwx 1 root root 11 Oct 5 2005 libnsl.so -> libnsl.so.1*
lrwxrwxrwx 1 root root 15 Oct 5 2005 libnsl.so.1 -> libnsl-2.2.5.so*
-rwxr-xr-x 1 root root 12988 Oct 1 2005 libnss_dns-2.2.5.so*
lrwxrwxrwx 1 root root 15 Oct 5 2005 libnss_dns.so -> libnss_dns.so.2*
lrwxrwxrwx 1 root root 19 Oct 5 2005 libnss_dns.so.2 -> libnss_dns-2.2.5.so*
-rwxr-xr-x 1 root root 41572 Oct 1 2005 libnss_files-2.2.5.so*
lrwxrwxrwx 1 root root 17 Oct 5 2005 libnss_files.so -> libnss_files.so.2*
lrwxrwxrwx 1 root root 21 Oct 5 2005 libnss_files.so.2 -> libnss_files-2.2.5.so*
lrwxrwxrwx 1 root root 15 Oct 5 2005 libogg.so -> libogg.so.0.5.2*
lrwxrwxrwx 1 root root 15 Oct 5 2005 libogg.so.0 -> libogg.so.0.5.2*
-rwxr-xr-x 1 root root 17240 Oct 1 2005 libogg.so.0.5.2*
lrwxrwxrwx 1 root root 13 Oct 5 2005 libpanel.so -> libpanel.so.5*
lrwxrwxrwx 1 root root 15 Oct 5 2005 libpanel.so.5 -> libpanel.so.5.2*
-rwxr-xr-x 1 root root 15560 Oct 1 2005 libpanel.so.5.2*
lrwxrwxrwx 1 root root 15 Oct 5 2005 libpng.so -> libpng.so.3.0.0*
lrwxrwxrwx 1 root root 15 Oct 5 2005 libpng.so.3 -> libpng.so.3.0.0*
-rwxr-xr-x 1 root root 140844 Oct 1 2005 libpng.so.3.0.0*
lrwxrwxrwx 1 root root 17 Oct 5 2005 libpng12.so -> libpng12.so.0.0.0*
lrwxrwxrwx 1 root root 17 Oct 5 2005 libpng12.so.0 -> libpng12.so.0.0.0*
-rwxr-xr-x 1 root root 140844 Oct 1 2005 libpng12.so.0.0.0*
lrwxrwxrwx 1 root root 16 Oct 5 2005 libpopt.so -> libpopt.so.0.0.0*
lrwxrwxrwx 1 root root 16 Oct 5 2005 libpopt.so.0 -> libpopt.so.0.0.0*
-rwxr-xr-x 1 root root 25468 Oct 1 2005 libpopt.so.0.0.0*
-rwxr-xr-x 1 root root 90592 Oct 1 2005 libpthread-0.9.so*
lrwxrwxrwx 1 root root 15 Oct 5 2005 libpthread.so -> libpthread.so.0*
lrwxrwxrwx 1 root root 17 Oct 5 2005 libpthread.so.0 -> libpthread-0.9.so*
-rwxr-xr-x 1 root root 61308 Oct 1 2005 libresolv-2.2.5.so*
lrwxrwxrwx 1 root root 14 Oct 5 2005 libresolv.so -> libresolv.so.2*
lrwxrwxrwx 1 root root 18 Oct 5 2005 libresolv.so.2 -> libresolv-2.2.5.so*
-rwxr-xr-x 1 root root 28900 Oct 1 2005 librt-2.2.5.so*
lrwxrwxrwx 1 root root 10 Oct 5 2005 librt.so -> librt.so.1*
lrwxrwxrwx 1 root root 14 Oct 5 2005 librt.so.1 -> librt-2.2.5.so*
lrwxrwxrwx 1 root root 19 Oct 5 2005 libtermcap.so.2 -> libtermcap.so.2.0.8*
-rwxr-xr-x 1 root root 12260 Oct 1 2005 libtermcap.so.2.0.8*
-rwxr-xr-x 1 root root 18388 Oct 1 2005 libthread_db-1.0.so*
lrwxrwxrwx 1 root root 17 Oct 5 2005 libthread_db.so -> libthread_db.so.1*
lrwxrwxrwx 1 root root 19 Oct 5 2005 libthread_db.so.1 -> libthread_db-1.0.so*
lrwxrwxrwx 1 root root 23 Oct 5 2005 libunicodefont.so -> libunicodefont.so.1.0.1*
lrwxrwxrwx 1 root root 23 Oct 5 2005 libunicodefont.so.1 -> libunicodefont.so.1.0.1*
-rwxr-xr-x 1 root root 1641408 Oct 1 2005 libunicodefont.so.1.0.1*
-rwxr-xr-x 1 root root 8268 Oct 1 2005 libutil-2.2.5.so*
lrwxrwxrwx 1 root root 12 Oct 5 2005 libutil.so -> libutil.so.1*
lrwxrwxrwx 1 root root 16 Oct 5 2005 libutil.so.1 -> libutil-2.2.5.so*
lrwxrwxrwx 1 root root 22 Oct 5 2005 libvorbisidec.so -> libvorbisidec.so.1.0.2*
lrwxrwxrwx 1 root root 22 Oct 5 2005 libvorbisidec.so.1 -> libvorbisidec.so.1.0.2*
-rwxr-xr-x 1 root root 108420 Oct 1 2005 libvorbisidec.so.1.0.2*
lrwxrwxrwx 1 root root 13 Oct 5 2005 libz.so -> libz.so.1.1.3*
lrwxrwxrwx 1 root root 13 Oct 5 2005 libz.so.1 -> libz.so.1.1.3*
-rwxr-xr-x 1 root root 64412 Oct 1 2005 libz.so.1.1.3*
drwxr-xr-x 3 root root 0 Nov 11 2005 modules/
/usr/lib:
drwxr-xr-x 2 root root 0 Jan 1 00:03 ./
drwxr-xr-x 7 root root 0 Jan 1 00:02 ../
lrwxrwxrwx 1 root root 25 Jan 1 00:03 libSDL_mixer-1.2.so.0 -> libSDL_mixer-1.2.so.0.2.4*
-rwxr-xr-x 1 root root 228752 Oct 17 2005 libSDL_mixer-1.2.so.0.2.4*
lrwxrwxrwx 1 root root 23 Jan 1 00:03 libSDL_ttf-2.0.so.0 -> libSDL_ttf-2.0.so.0.6.1*
-rwxr-xr-x 1 root root 25296 Oct 17 2005 libSDL_ttf-2.0.so.0.6.1*
lrwxrwxrwx 1 root root 20 Jan 1 00:03 libfreetype.so.6 -> libfreetype.so.6.3.8*
-rwxr-xr-x 1 root root 668736 Oct 17 2005 libfreetype.so.6.3.8*
-rwxr-xr-x 1 root root 29604 Oct 17 2005 libgcc_s.so.1*
lrwxrwxrwx 1 root root 18 Jan 1 00:03 libstdc++.so.6 -> libstdc++.so.6.0.3*
-rwxr-xr-x 1 root root 877716 Oct 17 2005 libstdc++.so.6.0.3*
modsinfo.txt
Code:
/lib/modules:
drwxr-xr-x 3 root root 0 Nov 11 2005 ./
drwxr-xr-x 4 root root 0 Jan 1 00:02 ../
drwxr-xr-x 3 root root 0 Nov 11 2005 2.4.25/
/lib/modules/2.4.25:
drwxr-xr-x 3 root root 0 Nov 11 2005 ./
drwxr-xr-x 3 root root 0 Nov 11 2005 ../
drwxr-xr-x 3 root root 0 Nov 11 2005 kernel/
-rwxr-xr-x 1 root root 0 Nov 9 2005 modules.dep*
/lib/modules/2.4.25/kernel:
drwxr-xr-x 3 root root 0 Nov 11 2005 ./
drwxr-xr-x 3 root root 0 Nov 11 2005 ../
drwxr-xr-x 3 root root 0 Nov 11 2005 drivers/
/lib/modules/2.4.25/kernel/drivers:
drwxr-xr-x 3 root root 0 Nov 11 2005 ./
drwxr-xr-x 3 root root 0 Nov 11 2005 ../
drwxr-xr-x 3 root root 0 Nov 11 2005 usb/
/lib/modules/2.4.25/kernel/drivers/usb:
drwxr-xr-x 3 root root 0 Nov 11 2005 ./
drwxr-xr-x 3 root root 0 Nov 11 2005 ../
drwxr-xr-x 2 root root 0 Nov 11 2005 gadget/
/lib/modules/2.4.25/kernel/drivers/usb/gadget:
drwxr-xr-x 2 root root 0 Nov 11 2005 ./
drwxr-xr-x 3 root root 0 Nov 11 2005 ../
-rwxr-xr-x 1 root root 39725 Nov 9 2005 g_file_storage.o*
-rwxr-xr-x 1 root root 17420 Nov 9 2005 g_zero.o*
-rwxr-xr-x 1 root root 24063 Nov 9 2005 gadgetfs.o*
-rwxr-xr-x 1 root root 35280 Nov 9 2005 net2272.o*
proc_info.txt
Code:
Linux version 2.4.25 (root@localhost.localdomain) (gcc version 2.95.3 20010315 (release)) #2357 2005. 11. 11. (±›) 18:49:13 KST
Processor : Arm920Tid(wb) rev 0 (v4l)
BogoMIPS : 99.32
Features : swp half thumb
Hardware : MagicEye-MDK
Revision : 0000
Serial : 0000000000000000
Character devices:
1 mem
2 pty/m%d
3 pty/s%d
4 vc/0
5 ptmx
7 vcs
10 misc
14 sound
29 fb
81 video_capture
89 i2c
90 mtd
128 ptm
136 pts/%d
162 raw
180 usb
204 ttyS%d
205 cua%d
253 MMSP2 GPIO KEY
Block devices:
7 loop
31 mtdblock
60 mmcsd
total: used: free: shared: buffers: cached:
Mem: 31219712 6754304 24465408 0 53248 3440640
Swap: 0 0 0
MemTotal: 30488 kB
MemFree: 23892 kB
MemShared: 0 kB
Buffers: 52 kB
Cached: 3360 kB
SwapCached: 0 kB
Active: 1400 kB
Inactive: 2472 kB
HighTotal: 0 kB
HighFree: 0 kB
LowTotal: 30488 kB
LowFree: 23892 kB
SwapTotal: 0 kB
SwapFree: 0 kB
uname.txt
Code:
Linux Linux 2.4.25 #2357 2005. 11. 11. (±›) 18:49:13 KST armv4l unknown
(edit: removed recursive {-R} from lib snarf...)