[iPAQ] oleeeee! xda-2 first linux boot!

From: Luke Kenneth Casson Leighton <lkcl_at_lkcl.net>
Date: Wed, 11 Feb 2004 13:31:09 +0000

thanks to w4xy, linux now boots on an xda-2 pocket pc!

http://wiki.xda-developers.org/wiki/HimalayaLinuxBooting.

this is with HaRET-0.3.2c.exe.

lots more to do, including enabling the GPIO in the himalaya.c
initialisation.

p.s. .... can someone kindly open a mailing list on handhelds.org,
e.g. xda_at_handhelds.org?

Testing 123
Physical kernel address: a0008000
Preloader physical/virtual address: a719d000
Physical initrd address: a0408000
Goodbye cruel world ...
Linux version 2.6.1-rmk0-hh0 (lkcl_at_highfield) (gcc version 3.3.2) #18 Wed Feb 11 10:26:33 GMT 2004
CPU: XScale-PXA255 [69052d06] revision 6 (ARMv5TE)
CPU: D undefined 5 cache
CPU: I cache: 32768 bytes, associativity 32, 32 byte lines, 32 sets
CPU: D cache: 32768 bytes, associativity 32, 32 byte lines, 32 sets
Machine: HTC Himalaya
Memory policy: ECC disabled, Data cache writeback
<6>Memory clock: 99.53MHz (*27)
<6>Run Mode clock: 398.13MHz (*4)
<6>Turbo Mode clock: 398.13MHz (*1.0, inactive)
On node 0 totalpages: 32768
  DMA zone: 32768 pages, LIFO batch:8
  Normal zone: 0 pages, LIFO batch:1
  HighMem zone: 0 pages, LIFO batch:1
Building zonelist for node : 0
Kernel command line: init=/linuxrc root=/dev/ram0 ramdisk_size=4096 keepinitrd rw console=ttyS1,115200n8
<7>Relocating machine vectors to 0xffff0000
PID hash table entries: 1024 (order 10: 8192 bytes)
Console: colour dummy device 80x30
Linux version 2.6.1-rmk0-hh0 (lkcl_at_highfield) (gcc version 3.3.2) #18 Wed Feb 11 10:26:33 GMT 2004
CPU: XScale-PXA255 [69052d06] revision 6 (ARMv5TE)
CPU: D undefined 5 cache
CPU: I cache: 32768 bytes, associativity 32, 32 byte lines, 32 sets
CPU: D cache: 32768 bytes, associativity 32, 32 byte lines, 32 sets
Machine: HTC Himalaya
Memory policy: ECC disabled, Data cache writeback
Memory clock: 99.53MHz (*27)
Run Mode clock: 398.13MHz (*4)
Turbo Mode clock: 398.13MHz (*1.0, inactive)
On node 0 totalpages: 32768
  DMA zone: 32768 pages, LIFO batch:8
  Normal zone: 0 pages, LIFO batch:1
  HighMem zone: 0 pages, LIFO batch:1
Building zonelist for node : 0
Kernel command line: init=/linuxrc root=/dev/ram0 ramdisk_size=4096 keepinitrd rw console=ttyS1,115200n8
PID hash table entries: 1024 (order 10: 8192 bytes)
Console: colour dummy device 80x30
<6>Memory:Memory: 128MB 128MB = 128MB total
 = 128MB total
<5>Memory: 126336KB available (1381K code, 352K data, 64K init)
Memory: 126336KB available (1381K code, 352K data, 64K init)
Calibrating delay loop... Calibrating delay loop... 397.31 BogoMIPS
397.31 BogoMIPS
<6>Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
<6>checking if image is initramfs...checking if image is initramfs...it isn't (no cpio magic); looks like an initrd
it isn't (no cpio magic); looks like an initrd
<6>CPU: Testing write buffer coherency: CPU: Testing write buffer coherency: ok
ok
POSIX conformance testing by UNIFIX
POSIX conformance testing by UNIFIX
<6>NET: Registered protocol family 16
NET: Registered protocol family 16
lcd_module_register: name=pxafb
lcd_module_register: name=pxafb
<4>NetWinder Floating Point Emulator V0.97 (double precision)
NetWinder Floating Point Emulator V0.97 (double precision)
<6>devfs: v1.22 (20021013) Richard Gooch (rgooch_at_atnf.csiro.au)
devfs: v1.22 (20021013) Richard Gooch (rgooch_at_atnf.csiro.au)
<6>devfs: devfs_debug: 0x0
devfs: devfs_debug: 0x0
<6>devfs: boot_options: 0x1
devfs: boot_options: 0x1
<6>JFFS2 version 2.2. (C) 2001-2003 Red Hat, Inc.
JFFS2 version 2.2. (C) 2001-2003 Red Hat, Inc.
<6>Initializing Cryptographic API
Initializing Cryptographic API
pty: 256 Unix98 ptys configured
pty: 256 Unix98 ptys configured
ttyS0ttyS0 at at MMIO 0x40100000MMIO 0x40100000 (irq = 15) is a FFUART
 (irq = 15) is a FFUART
ttyS1ttyS1 at at MMIO 0x40200000MMIO 0x40200000 (irq = 14) is a BTUART
 (irq = 14) is a BTUART
ttyS2ttyS2 at at MMIO 0x40700000MMIO 0x40700000 (irq = 13) is a STUART
 (irq = 13) is a STUART
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
Using anticipatory io scheduler
Using anticipatory io scheduler
<5>IPAQ flash: probing 32-bit flash bus, window=0
IPAQ flash: probing 32-bit flash bus, window=0
<5>Probe at base[0x00](0x00000000) past the end of the map(0xffffffff)
Probe at base[0x00](0x00000000) past the end of the map(0xffffffff)
<5>Probe at base[0x00](0x00000000) past the end of the map(0xffffffff)
Probe at base[0x00](0x00000000) past the end of the map(0xffffffff)
<4>CFI: Found no IPAQ flash bank 1 device at location zero
CFI: Found no IPAQ flash bank 1 device at location zero
<6>NET: Registered protocol family 2
NET: Registered protocol family 2
<6>IP: routing cache hash table of 1024 buckets, 8Kbytes
IP: routing cache hash table of 1024 buckets, 8Kbytes
<6>TCP: Hash tables configured (established 8192 bind 16384)
TCP: Hash tables configured (established 8192 bind 16384)
<6>NET: Registered protocol family 1
NET: Registered protocol family 1
<5>RAMDISK: Compressed image found at block 0
RAMDISK: Compressed image found at block 0
VFS: Mounted root (ext2 filesystem).
VFS: Mounted root (ext2 filesystem).
<6>Mounted devfs on /dev
Mounted devfs on /dev
<6>Freeing init memory: 64K
Freeing init memory: 64K
init started: BusyBox v0.60.5 (2003.08.15-15:41+0000) multi-call binary
Welcome to Xanadux!

Please press Enter to activate this console.

BusyBox v0.60.5 (2003.08.15-15:41+0000) Built-in shell (ash)
Enter 'help' for a list of built-in commands.

sh: can't access tty; job control turned off
# ls
bin home lost+found root usr
dev lib mnt sbin var
etc linuxrc proc tmp
# ls dev
console input mem port pty root tty vcc
fb kmem mtdblock ptmx random shm urandom zero
full kmsg null pts rd tts vc
# du
12 ./lost+found
151 ./lib/modules/2.6.1-rmk0-hh0/kernel/drivers/net/pcmcia
230 ./lib/modules/2.6.1-rmk0-hh0/kernel/drivers/net/wireless
50 ./lib/modules/2.6.1-rmk0-hh0/kernel/drivers/net/irda
532 ./lib/modules/2.6.1-rmk0-hh0/kernel/drivers/net
13 ./lib/modules/2.6.1-rmk0-hh0/kernel/drivers/input/keyboard
27 ./lib/modules/2.6.1-rmk0-hh0/kernel/drivers/input/mouse
15 ./lib/modules/2.6.1-rmk0-hh0/kernel/drivers/input/serio
103 ./lib/modules/2.6.1-rmk0-hh0/kernel/drivers/input
78 ./lib/modules/2.6.1-rmk0-hh0/kernel/drivers/bluetooth
34 ./lib/modules/2.6.1-rmk0-hh0/kernel/drivers/cdrom
41 ./lib/modules/2.6.1-rmk0-hh0/kernel/drivers/video/console
70 ./lib/modules/2.6.1-rmk0-hh0/kernel/drivers/video
108 ./lib/modules/2.6.1-rmk0-hh0/kernel/drivers/pcmcia
36 ./lib/modules/2.6.1-rmk0-hh0/kernel/drivers/usb/gadget
19 ./lib/modules/2.6.1-rmk0-hh0/kernel/drivers/usb/host
113 ./lib/modules/2.6.1-rmk0-hh0/kernel/drivers/usb/core
169 ./lib/modules/2.6.1-rmk0-hh0/kernel/drivers/usb
38 ./lib/modules/2.6.1-rmk0-hh0/kernel/drivers/i2c
9 ./lib/modules/2.6.1-rmk0-hh0/kernel/drivers/ide/legacy
293 ./lib/modules/2.6.1-rmk0-hh0/kernel/drivers/ide
35 ./lib/modules/2.6.1-rmk0-hh0/kernel/drivers/block
10 ./lib/modules/2.6.1-rmk0-hh0/kernel/drivers/mtd
52 ./lib/modules/2.6.1-rmk0-hh0/kernel/drivers/parport
162 ./lib/modules/2.6.1-rmk0-hh0/kernel/drivers/scsi
7 ./lib/modules/2.6.1-rmk0-hh0/kernel/drivers/base
6 ./lib/modules/2.6.1-rmk0-hh0/kernel/drivers/misc
1698 ./lib/modules/2.6.1-rmk0-hh0/kernel/drivers
40 ./lib/modules/2.6.1-rmk0-hh0/kernel/net/key
24 ./lib/modules/2.6.1-rmk0-hh0/kernel/net/packet
257 ./lib/modules/2.6.1-rmk0-hh0/kernel/net/ipv4/netfilter
313 ./lib/modules/2.6.1-rmk0-hh0/kernel/net/ipv4
58 ./lib/modules/2.6.1-rmk0-hh0/kernel/net/ipv6/netfilter
383 ./lib/modules/2.6.1-rmk0-hh0/kernel/net/ipv6
18 ./lib/modules/2.6.1-rmk0-hh0/kernel/net/bluetooth/bnep
47 ./lib/modules/2.6.1-rmk0-hh0/kernel/net/bluetooth/rfcomm
163 ./lib/modules/2.6.1-rmk0-hh0/kernel/net/bluetooth
43 ./lib/modules/2.6.1-rmk0-hh0/kernel/net/bridge
75 ./lib/modules/2.6.1-rmk0-hh0/kernel/net/irda/ircomm
1 ./lib/modules/2.6.1-rmk0-hh0/kernel/net/irda/irlan
258 ./lib/modules/2.6.1-rmk0-hh0/kernel/net/irda
1225 ./lib/modules/2.6.1-rmk0-hh0/kernel/net
2924 ./lib/modules/2.6.1-rmk0-hh0/kernel
2925 ./lib/modules/2.6.1-rmk0-hh0
2926 ./lib/modules
3285 ./lib
1 ./usr/bin
1 ./usr/sbin
3 ./usr
0 ./dev/input
0 ./dev/fb
0 ./dev/shm
0 ./dev/vc
0 ./dev/vcc
0 ./dev/pty
0 ./dev/pts
0 ./dev/tts
0 ./dev/rd
0 ./dev/mtdblock
0 ./dev
2 ./etc/init.d
5 ./etc
1 ./tmp
1 ./var
0 ./proc/cpu
0 ./proc/bus/input
0 ./proc/bus
0 ./proc/tty/driver
0 ./proc/tty/ldisc
0 ./proc/tty
0 ./proc/driver
0 ./proc/fs/nfsd
0 ./proc/fs
0 ./proc/sys/abi
0 ./proc/sys/dev
0 ./proc/sys/debug
0 ./proc/sys/fs
0 ./proc/sys/proc
0 ./proc/sys/net/unix
0 ./proc/sys/net/ipv4/conf/lo
0 ./proc/sys/net/ipv4/conf/default
0 ./proc/sys/net/ipv4/conf/all
0 ./proc/sys/net/ipv4/conf
0 ./proc/sys/net/ipv4/neigh/lo
0 ./proc/sys/net/ipv4/neigh/default
0 ./proc/sys/net/ipv4/neigh
0 ./proc/sys/net/ipv4/route
0 ./proc/sys/net/ipv4
0 ./proc/sys/net/ethernet
0 ./proc/sys/net/core
0 ./proc/sys/net
0 ./proc/sys/vm
0 ./proc/sys/kernel/random
0 ./proc/sys/kernel
0 ./proc/sys
0 ./proc/sysvipc
0 ./proc/net
0 ./proc/1/task/1/fd
0 ./proc/1/task/1
0 ./proc/1/task
0 ./proc/1/fd
0 ./proc/1
0 ./proc/2/task/2/fd
0 ./proc/2/task/2
0 ./proc/2/task
0 ./proc/2/fd
0 ./proc/2
0 ./proc/3/task/3/fd
0 ./proc/3/task/3
0 ./proc/3/task
0 ./proc/3/fd
0 ./proc/3
0 ./proc/4/task/4/fd
0 ./proc/4/task/4
0 ./proc/4/task
0 ./proc/4/fd
0 ./proc/4
0 ./proc/5/task/5/fd
0 ./proc/5/task/5
0 ./proc/5/task
0 ./proc/5/fd
0 ./proc/5
0 ./proc/6/task/6/fd
0 ./proc/6/task/6
0 ./proc/6/task
0 ./proc/6/fd
0 ./proc/6
0 ./proc/7/task/7/fd
0 ./proc/7/task/7
0 ./proc/7/task
0 ./proc/7/fd
0 ./proc/7
0 ./proc/8/task/8/fd
0 ./proc/8/task/8
0 ./proc/8/task
0 ./proc/8/fd
0 ./proc/8
0 ./proc/9/task/9/fd
0 ./proc/9/task/9
0 ./proc/9/task
0 ./proc/9/fd
0 ./proc/9
0 ./proc/15/task/15/fd
0 ./proc/15/task/15
0 ./proc/15/task
0 ./proc/15/fd
0 ./proc/15
0 ./proc/18/task/18/fd
0 ./proc/18/task/18
0 ./proc/18/task
0 ./proc/18/fd
0 ./proc/18
0 ./proc
1 ./mnt
1 ./home
1 ./root
265 ./bin
1 ./sbin
3577 .
# cd dev
# ls -altr
crw-rw-rw- 1 root 0 1, 5 Jan 1 1970 zero
drwxr-xr-x 1 root 0 0 Jan 1 1970 vcc
drwxr-xr-x 1 root 0 0 Jan 1 1970 vc
crw-r--r-- 1 root 0 1, 9 Jan 1 1970 urandom
crw-rw-rw- 1 root 0 5, 0 Jan 1 1970 tty
drwxr-xr-x 1 root 0 0 Jan 1 1970 tts
drwxr-xr-x 1 root 0 0 Jan 1 1970 shm
drwxr-xr-x 1 root 0 0 Jan 1 1970 rd
crw-r--r-- 1 root 0 1, 8 Jan 1 1970 random
drwxr-xr-x 1 root 0 0 Jan 1 1970 pty
drwxr-xr-x 1 root 0 0 Jan 1 1970 pts
crw-rw-rw- 1 root 0 5, 2 Jan 1 1970 ptmx
crw-r----- 1 root 0 1, 4 Jan 1 1970 port
crw-rw-rw- 1 root 0 1, 3 Jan 1 1970 null
drwxr-xr-x 1 root 0 0 Jan 1 1970 mtdblock
crw-r----- 1 root 0 1, 1 Jan 1 1970 mem
crw-r--r-- 1 root 0 1, 11 Jan 1 1970 kmsg
crw-r----- 1 root 0 1, 2 Jan 1 1970 kmem
drwxr-xr-x 1 root 0 0 Jan 1 1970 input
crw-rw-rw- 1 root 0 1, 7 Jan 1 1970 full
drwxr-xr-x 1 root 0 0 Jan 1 1970 fb
crw-rw-rw- 1 root 0 8, 1 Jan 1 1970 .stat
crw------- 1 root 0 8, 0 Jan 1 1970 .devfsd
drwxr-xr-x 1 root 0 0 Jan 1 1970 .
lr-xr-xr-x 1 root 0 4 Sep 1 12:04 root -> rd/0
crw------- 1 root 0 5, 1 Sep 1 12:04 console
drwxr-xr-x 15 root 0 1024 Feb 10 2004 ..
# cd fb
# ls
# ls
# cd ..
# cd input
# ls
# wha-heheeeeeeeeeeeeey!
wha-heheeeeeeeeeeeeey!: No such file or directory
#
Please press Enter to activate this console.

-- 
-- 
expecting email to be received and understood is a bit like
picking up the telephone and immediately dialing without
checking for a dial-tone; speaking immediately without listening
for either an answer or ring-tone; hanging up immediately and
then expecting someone to call you (and to be able to call you).
--
<a href="http://lkcl.net">      lkcl.net      </a> <br />
<a href="mailto:lkcl_at_lkcl.net"> lkcl_at_lkcl.net </a> <br />
Received on Wed Feb 11 2004 - 13:31:32 EST

This archive was generated by hypermail 2.2.0 : Mon Jul 25 2005 - 18:33:25 EDT