Linux auf dem iPAQ

Hardware des iPAQ

Technische Daten:

  • Compaq iPAQ H3800 (3870) (Farbdisplay)
  • CPU - Intel StrongARM SA1110 processor (up to 206MHz)
  • 64 MB of SDRAM and 32MB Flash
  • 320×240 4096 color display, ambient light sensor, touchscreen, buttons
  • Built-in microphone, stereo audio out, mono speaker
  • Bluetooth Modul BC-01
  • SD Cardreader
  • Serial and slave USB via cradle
  • 115Kbps and 4Mbps IrDA
  • Expansion packs (2XPCMCIA)

Serial Port

Serial Port Baudrate and Flow Control
Both the bootldr and the handhelds.org Linux distributions are set up to use the serial port at 115200 baud.

Reset Button

Another change from the H3600 to the H3800 series is that the reset button under the sliding door on the bottom edge of the device is no longer there. If you need to hard reset your iPAQ just press the task and calendar buttons on the front of the IPAQ and then press the soft reset button.

Installation

Wie so oft funktioniert auch bei mir die „grafische installation“ nicht. naja, wir haben ja Linux und da gibt es immer eine Console. So auch hier, sehr einfach und bequem cradle einstecken, Serelle anschliessen, minicom auf, und ich bin drauf.

boot> help
Trying to load help...                                                          
partition -- displays the partitions                                            
partition show -- displays the partitions                                       
partition save -- same as params save                                           
partition delete <partition_name> -- deletes a partition                        
partition reset -- resets all partitions to the default                         
partition define <name> <base> <size> <flags>                                   
-- flags: 16 for JFFS2, 2 for bootldr, 8 for rest-of-flash                      
probe_ram -- probe for ram size and banks                                       
flash_type [type] -- print available flash types or set the flash type          
flash_width [16|32] -- print available flash width or set the flash width       
md5sum <address|partition> <len>                                                
md5sum file <filename> [partition_name]                                         
display display -- dumps the SA1100 registers                                   
load flash <flash_addr> -- ymodem/xmodem receive to flash (see override param)  
load ram <ramaddr>                                                              
load flashregion -- upload an image to the flash. dangerous                     
load [partition] -- ymodem/xmodem receive to flash partition                    
load params -- ymodem/xmodem receive to flash partition                         
program <flashpartname> <srcramaddr> <len>                                      
save <partition_name>                                                           
save all -- upload all of flash via xmodem                                      
save flash <flashaddr> <size> -- upload flash region via xmodem                 
save ram <ramaddr> <size> -- upload dram region via xmodem                      
peek ram <addr> -- reads 32 bits                                                
peek byte <addr> -- reads 8 bits                                                
peek short <addr> -- reads 16 bits                                              
peek int <addr> -- reads 32 bits                                                
peek flash <offset>                                                             
peek gpio <offset>                                                              
poke ram <addr> <dword> -- reads 32 bits                                        
poke byte <addr> <byte> -- reads 8 bits                                         
poke short <addr> <short> -- reads 16 bits                                      
poke int <addr> <dword> -- reads 32 bits                                        
poke flash <offset> <value>                                                     
poke gpio <offset> <value>                                                      
breakpoint [delayed] <pc> -- TODO                                               
qflash id | security | <addr>                                                   
qflash id | security | <addr>                                                   
eflash <partition> | <addr> [<len>] | chip                                      
pflash <addr> <len> 0|1 -- (1 -> protect, 0 -> unprotect all)                   
call <addr> [a0] [a1] [a2] [a3]                                                 
jump <addr> [a0] [a1] [a2] [a3]                                                 
physaddr <vaddr> -- returns physical address                                    
cmdex [0|1] -- use extended commands                                            
aux_sar -- aux serial dump                                                      
ledblink [on time] [off time] [off = 0] -- blink the LED                        
ttmode [1,0] -- go into ttmode                                                  
ser_con -- start a serial console session                                       
irda_con irda_con -- start a irda console session                               
memcpy <dst> <src> <num> [size]                                                 
hex_dump <addr> [size]                                                          
reset -- software reset                                                         
halt -- power down                                                              
memcmp <addr1> <addr2> <num> [size]                                             
ver -- display version info                                                     
mem -- show info about memory                                                   
memtest2 <addr1> <addr2> -- another memory tester                               
memtest <addr1> <addr2> -- test mem between addrs                               
testjffs2 testjffs2 <filename> <dst> -- TODO                                    
infojffs2 [partition_name]                                                      
timeflashread [partition_name]                                                  
ls <dir> [partition]                                                            
load file [partition] [filename] [dest] -- jffs2 read file                      
clearmem [num] [dst]                                                            
cmpkernels <partname> [dst] [src] [len]                                         
enable_caches [dcache] [icache]                                                 
pef [just_show]                                                                 
lli -- low level coprocessor info                                               
cat <file> [partname] -- show file from partition                               
jffs2 read <dstaddr> <file> [partname] -- reads jffs2 file into dram at dstaddr 
discover -- guess what machine I am; see mach_type for result                   
tdz -- test decompress routines (best with ASCII) preflashing                   
copy src dst [len] -- copy from src to dst                                      
boot [partition] -- boots off the specified/default partition (see boot_type pa)
boot flash [partition]                                                          
boot wince -- boots WinCE                                                       
boot qnx -- boot QNX/Neutrino                                                   
boot addr <address> <size> -- boots a kernel loaded in DRAM                     
boot ide [ide_num] [ram_num] -- read kernel from ide partition 0, ramdisk from 1
boot vfat  [filename] [args...] -- boots off VFAT partition 0 (on PCMCIA if pos)
boot boot -- boots the bootloader, again                                        
boot jffs2 [boot_file] -- read kernel from jffs2 file (see boot_file param)     
help [command] -- Displays help text                                            
apropos <keyword> -- searches for text in help descriptions                     
params eval [-n] -- shows the parameters                                        
params -- displays the parameters                                               
params reset -- sets the parameters to default values                           
set <param>=<value>                                                             
show                                                                            
params show -- show parameters                                                  
params save [-n] -- write params to partition, if exists                        
reflash invoke reflash utility                                                  
lcdon -- turn lcd on                                                            
lcdoff -- turn lcd off                                                          
lcdlight [level=0] -- adjust lcd backlight                                      
lcdbar <color> [percent] -- fill lcd bar                                        
lcdinvertregion <start_row> <start_col> <end_row> <end_col>                     
lcdzimg <len> -- display gzipped image                                          
lcdzfile [filename] [partition] -- displays a gzipped PNM                       
splash -- display the splash screen (also see lcdzfile)                         
hal init -- initialize hardware abstraction layer                               
hal detect -- detects hardware abstraction layer                                
sleeve detect -- detects h3600 sleeve                                           
sleeve insert -- detects and enables h3600 sleeve                               
sleeve eject -- disables h3600 sleeve                                           
sleeve on -- enables OPT_ON, does not attach driver                             
sleeve reset -- asserts OPT_RESET for 200ms                                     
sleeve fpga <srcaddr> <nbytes> -- load fpga from dram                           
pcmcia detect           -- detect presence of pcmcia/cf cards                   
pcmcia cis [slotno]  -- show card information services (CIS) data               
pcmcia insert [slotno]  -- enable and bind driver to card(s)                    
pcmcia eject [slotno]  -- disable card(s)                                       
ide identify -- reads and prints disk identification/configuration information  
ide attach <ioaddr> -- attaches ide drive at ioaddr -- not needed normally      
ide ptable -- reads and prints the dos partition table                          
ide read <dstaddr> <startbyte> <nbytes> -- reads from disk to dram              
ide read_sector <dstaddr> <sectorno>    -- reads one sector to dram             
ide read_partition <dstaddr> <partno> [nbytes] -- reads from partition to dram..
ide write <srcaddr> <startbyte> <nbytes> -- writes to disk from dram            
ide write_sector <srcaddr> <sectorno>    -- writes one sector from dram         
ide write_partition <srcaddr> <partno> [nbytes] -- writes to partition from dra.
ide debug -- toggle ide debug (very verbose) mode                               
ide verbose -- toggle ide verbose mode                                          
ide 8bit -- read/write sector buffer one byte at a time                         
ide 16bit -- read/write sector buffer two bytes at a time                       
vfat mount [partition] -- fat partition on IDE partition                        
vfat ls [dir] -- lists directory contents on mounted vfat system                
vfat next_cluster [clusterno] -- computes next clusterno from vfat              
vfat read_cluster <dstaddr> <clusterno> <nbytes>                                
vfat debug  [level] -- toggle/set debug verbosity                               
vfat read <dstaddr> <filename> [bytes]                                          
vfat write <srcaddr> <filename> [bytes]                                         
vfat set_filesize <file> <bytes> -- resets file size                            
boot> vfat ls                                                                   
h3600_sleeve_init_module                                                        
h3600_generic_pcmcia_init_module: registering sleeve drivers                    
registering sleeve driver 0003ACF4                                              
registering sleeve driver 0003AD44                                              
registering sleeve driver 0003ACA4                                              
h3600_sleeve_insert: no spi read, defaulting sleeve vendor                      
h3600_sleeve_insert: no spi read, defaulting sleeve deviceid                    
 sleeve vendorid=00001125                                                       
 sleeve deviceid=0000D7C3                                                       
pcmcia_probe_sleeve                                                             
  probing for dual pcmcia sleeve                                                
  dual_pcmcia_linkup[0]->prc=000019B0                                           
dual_pcmcia_probe_sleeve                                                        
h3600_sleeve_insert: matched driver Compaq PC Card Sleeve                       
pcmcia_init_module                                                              
cis[0] =00000001                                                                
  01 03 D9 01 FF                                                                
  18 02 DF 01                                                                   
  20 04 98 00 00 00                                                             
  manfid[0]=00000098                                                            
  manfid[1]=00000000                                                            
  15 20 04 01 54 4F 53 48 49 42 41 20 54 48 4E 43 46 31 32 38 4D 43 41 20 00 00F
  21 02 04 01                                                                   
  funcid=00000004                                                               
    fixed disk                                                                  
  22 02 01 01                                                                   
  22 03 02 0C 0F                                                                
  1A 05 01 03 00 02 0F                                                          
  1B 08 C0 C0 A1 01 55 08 00 20                                                 
  1B 06 00 01 21 B5 1E 4D                                                       
  1B 0A C1 41 99 01 55 64 F0 FF FF 20                                           
  1B 06 01 01 21 B5 1E 4D                                                       
  1B 0F C2 41 99 01 55 EA 61 F0 01 07 F6 03 01 EE 20                            
  1B 06 02 01 21 B5 1E 4D                                                       
  1B 0F C3 41 99 01 55 EA 61 70 01 07 76 03 01 EE 20                            
  1B 06 03 01 21 B5 1E 4D                                                       
end                                                                             
pcmcia_insert: funcid = 00000004                                                
  serial_number: STCB21M84005B44354C6                                           
  firmware_revision: 3.00                                                       
  model_number: TOSHIBA THNCF128MCA                                             
  n_sectors_user_addressable=00000000                                           
  bytes_per_sector=00000210                                                     
  major_version=00000000                                                        
  minor_version=00000000                                                        
  flags=0000848A                                                                
  ACTUAL bytes_per_sector=00000200                                              
cis[0] =00000002                                                                
end                                                                             
pcmcia_insert: funcid = 00000000                                                
cmd vfat mount: partid=00000000                                                 
ptable signature=0000AA55                                                       
vfat mount: reading bpb_info                                                    
  oemname=mkdosfs                                                               
 BootBlaster_1.19.exe                                                           
   attr=00000020                                                                
   first_cluster=00000002                                                       
   n_bytes=0001D000                                                             
 bootgpe-v0.8.4-h3600.jffs2                                                     
   attr=00000020                                                                
   first_cluster=0000003C                                                       
   n_bytes=00D00000                                                             
 bootldr-sa-2.21.12.bin                                                         
   attr=00000020                                                                
   first_cluster=00001A3C                                                       
   n_bytes=0003D200                                                             
 bootldr-sa-2.21.12.bin.gz                                                      
   attr=00000020                                                                
   first_cluster=00001AB7                                                       
   n_bytes=0001CBFB                                                             
 bootldr-sa-2.21.12.bin.md5sum                                                  
   attr=00000020                                                                
   first_cluster=00001AF1                                                       
   n_bytes=00000039                                                             
 md5sums                                                                        
   attr=00000020                                                                
   first_cluster=00001AF2                                                       
   n_bytes=00000129                                                             
 reflash.ctl                                                                    
   attr=00000020                                                                
   first_cluster=00001AF3                                                       
   n_bytes=00000030                                                             
boot> copy hda1:bootgpe-v0.8.4-h3600.jffs2 root                                 
vfat_find_file_entry: fname='bootgpe-v0.8.4-h3600.jffs2'                        
                    dirname=''                                                  
                   basename='BOOTGPE-V0.8.4-H3600.JFFS2'                        
find_file_in_dir:  BOOTBLASTER_1.19.EXE                                         
   attr=00000020                                                                
   first_cluster=00000002                                                       
   n_bytes=0001D000                                                             
find_file_in_dir:  BOOTBLASTER_1.19.EXE                                         
   attr=00000020                                                                
   first_cluster=00000002                                                       
   n_bytes=0001D000                                                             
find_file_in_dir:  BOOTGPE-V0.8.4-H3600.JFFS2                                   
   attr=00000020                                                                
   first_cluster=0000003C                                                       
   n_bytes=00D00000                                                             
srclen=00D00000                                                                 
dstlen=01F80000                                                                 
nbytes=00D00000                                                                 
Erasing sector 00040000                                                         
Erasing sector 00080000                                                         
Erasing sector 000C0000                                                         
Erasing sector 00100000                                                         
Erasing sector 00140000                                                         
Erasing sector 00180000                                                         
Erasing sector 001C0000                                                         
Erasing sector 00200000                                                         
Erasing sector 00240000                                                         
Erasing sector 00280000                                                         
Erasing sector 002C0000                                                         
Erasing sector 00300000                                                         
Erasing sector 00340000                                                         
Erasing sector 00380000                                                         
Erasing sector 003C0000                                                         
Erasing sector 00400000                                                         
Erasing sector 00440000                                                         
Erasing sector 00480000                                                         
Erasing sector 004C0000                                                         
Erasing sector 00500000                                                         
Erasing sector 00540000                                                         
Erasing sector 00580000                                                         
Erasing sector 005C0000                                                         
Erasing sector 00600000                                                         
Erasing sector 00640000                                                         
Erasing sector 00680000                                                         
Erasing sector 006C0000                                                         
Erasing sector 00700000                                                         
Erasing sector 00740000                                                         
Erasing sector 00740000                                                         
Erasing sector 00780000                                                         
Erasing sector 007C0000                                                         
Erasing sector 00800000                                                         
Erasing sector 00840000                                                         
Erasing sector 00880000                                                         
Erasing sector 008C0000                                                         
Erasing sector 00900000                                                         
Erasing sector 00940000                                                         
Erasing sector 00980000                                                         
Erasing sector 009C0000                                                         
Erasing sector 00A00000                                                         
Erasing sector 00A40000                                                         
Erasing sector 00A80000                                                         
Erasing sector 00AC0000                                                         
Erasing sector 00B00000                                                         
Erasing sector 00B40000                                                         
Erasing sector 00B80000                                                         
Erasing sector 00BC0000                                                         
Erasing sector 00C00000                                                         
Erasing sector 00C40000                                                         
Erasing sector 00C80000                                                         
Erasing sector 00CC0000                                                         
Erasing sector 00D00000                                                         
Erasing sector 00D40000                                                         
Erasing sector 00D80000                                                         
Erasing sector 00DC0000                                                         
Erasing sector 00E00000                                                         
Erasing sector 00E40000                                                         
Erasing sector 00E80000                                                         
Erasing sector 00EC0000                                                         
Erasing sector 00F00000                                                         
Erasing sector 00F40000                                                         
Erasing sector 00F80000                                                         
Erasing sector 00FC0000                                                         
Erasing sector 01000000                                                         
Erasing sector 01040000                                                         
Erasing sector 01080000                                                         
Erasing sector 010C0000                                                         
Erasing sector 01100000                                                         
Erasing sector 01140000                                                         
Erasing sector 01180000                                                         
Erasing sector 011C0000                                                         
Erasing sector 01200000                                                         
Erasing sector 01240000                                                         
Erasing sector 01280000                                                         
Erasing sector 012C0000                                                         
Erasing sector 01300000                                                         
Erasing sector 01340000                                                         
Erasing sector 01380000                                                         
Erasing sector 013C0000                                                         
Erasing sector 01400000                                                         
Erasing sector 01440000                                                         
Erasing sector 01480000                                                         
Erasing sector 014C0000                                                         
Erasing sector 01500000                                                         
Erasing sector 01540000                                                         
Erasing sector 01580000                                                         
Erasing sector 015C0000                                                         
Erasing sector 01600000                                                         
Erasing sector 01640000                                                         
Erasing sector 01680000                                                         
Erasing sector 016C0000                                                         
Erasing sector 01700000                                                         
Erasing sector 01740000                                                         
Erasing sector 01780000                                                         
Erasing sector 017C0000                                                         
Erasing sector 01800000                                                         
Erasing sector 01840000                                                         
Erasing sector 01880000                                                         
Erasing sector 018C0000                                                         
Erasing sector 01900000                                                         
Erasing sector 01940000                                                         
Erasing sector 01980000                                                         
Erasing sector 019C0000                                                         
Erasing sector 01A00000                                                         
Erasing sector 01A40000                                                         
Erasing sector 01A80000                                                         
Erasing sector 01AC0000                                                         
Erasing sector 01B00000                                                         
Erasing sector 01B40000                                                         
Erasing sector 01B80000                                                         
Erasing sector 01BC0000                                                         
Erasing sector 01C00000                                                         
Erasing sector 01C40000                                                         
Erasing sector 01C80000                                                         
Erasing sector 01CC0000                                                         
Erasing sector 01D00000                                                         
Erasing sector 01D40000                                                         
Erasing sector 01D80000                                                         
Erasing sector 01DC0000                                                         
Erasing sector 01E00000                                                         
Erasing sector 01E40000                                                         
Erasing sector 01E80000                                                         
Erasing sector 01EC0000                                                         
Erasing sector 01F00000                                                         
Erasing sector 01F40000                                                         
Erasing sector 01F80000                                                         
                                                                                
addr: 00000000 data: 20031985                                                   
addr: 00010000 data: 9E28E6EA                                                   
addr: 00020000 data: 85BCF22E                                                   
addr: 00030000 data: F62FCAB4                                                   
addr: 00040000 data: 20031985                                                   
addr: 00050000 data: 12AA533A                                                   
addr: 00060000 data: 1BA4283B                                                   
addr: 00070000 data: CD0408C5                                                   
addr: 00080000 data: 20031985                                                   
addr: 00090000 data: 10D66B3B                                                   
addr: 000A0000 data: 51AFF32E                                                   
addr: 000B0000 data: 49D241E3                                                   
addr: 000C0000 data: 20031985                                                   
addr: 000D0000 data: 0D8B0ADE                                                   
addr: 000E0000 data: F4D5DFA4                                                   
addr: 000F0000 data: D6B37616                                                   

addr: 00370000 data: 138470B7
addr: 00380000 data: 20031985
addr: 00390000 data: EF825CE4
addr: 003A0000 data: 8FEA2DEF
addr: 003B0000 data: CC3BEB60
addr: 003C0000 data: 20031985
addr: 003D0000 data: B3682714
addr: 003E0000 data: 57CC70BE
addr: 003F0000 data: 8E949611
addr: 00400000 data: 20031985
addr: 00410000 data: FB0FF67E
addr: 00420000 data: 7CDC0273
addr: 00430000 data: 1E18ACFD
addr: 00440000 data: 20031985
addr: 00450000 data: C7FF77F9
addr: 00460000 data: 68D0B753
addr: 00470000 data: 0BBB06BF
addr: 00480000 data: 20031985
. . . ..
boot>

First Boot

Und nach einer bangen sekunde tippe ich dann langsam voller hoffnung. . . boot. . .und drücke mit zittrigen Händen [Enter]. . . und es geht LOS. . .

boot> boot
booting jffs2...
booting boot/zImage from partition >root<
Scanning all of flash for your JFFS2 convenience. Est Time: 6-12 seconds!
build_list: max = 01F7FFBC
..
dir entries = 00000AF5
frag entries = 00002099
+4 increments = 00000000
+file_offset increments = 00002BC2
loaded file of size = 0x0009C1C4 at location 0xC0008000
kernel partition base C0008000
kernel_magic=E1A00000
kernel_region_words[9]=016F2818
Linux ELF flash_imgstart=50040000 size=01F80000 dest=C0000000 offset=00008000
MMU Control=C19F4071
MMU PIDVAM=00000000
Skipping kernel copy by request.
C0008000: E1A00000
C0008004: E1A00000
C0008008: E1A00000
C000800C: E1A00000
C0008010: E1A00000
C0008014: E1A00000
C0008018: E1A00000
C000801C: E1A00000
C0008020: EA000002
C0008024: 016F2818
root_filesystem_name=ramdisk
Grabbed linuxargs, argc = 00000001
Using mach_type 00000089
setting boot parameters to
 noinitrd root=/dev/mtdblock1 init=/linuxrc console=ttySA0
mdcnfg=0000F367
Making core tag at C0000100
Making cmdline tag at C0000114
Making mem32 tag at C00001D4
command line is: mtdparts=ipaq:0x00040000@0x00000000(bootldr)ro,0x01F80000@0x00040000(root),0 
Disabling LCD controller
linuxEntryPoint=C0008000
Booting Linux image
Uncompressing Linux........................................... done, booting the kernel.
Linux version 2.4.19-rmk6-pxa1-hh37 (rw@sugarcube.dyndns.org) () #1 Mon Aug 14 15:51:09 CEST 6
CPU: StrongARM-1110 revision 9
Machine: HP iPAQ H3800
On node 0 totalpages: 16384
zone(0): 16384 pages.
zone(1): 0 pages.
zone(2): 0 pages.
Kernel command line: mtdparts=ipaq:0x00040000@0x00000000(bootldr)ro,0x01F80000@0x00040000(roo 
Console: colour dummy device 80x30
Calibrating delay loop... 137.21 BogoMIPS
Memory: 64MB = 64MB total
Memory: 63312KB available (1099K code, 304K data, 68K init)
Dentry cache hash table entries: 8192 (order: 4, 65536 bytes)
Inode cache hash table entries: 4096 (order: 3, 32768 bytes)
Mount-cache hash table entries: 1024 (order: 1, 8192 bytes)
Buffer-cache hash table entries: 4096 (order: 2, 16384 bytes)
Page-cache hash table entries: 16384 (order: 4, 65536 bytes)
POSIX conformance testing by UNIFIX
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
CPU clock: 206.400 MHz (59.000-287.000 MHz)
sa1110_clk_init: h3xxx_membank_size[0]=67108864 
sa1110_clk_init: 100 MHz Samsung 8Mx16bitx4banks SDRAM
SDRAM: tck: 10 trcd: 20 trp: 30 twr: 30 refresh: 64000 cas_latency: 3
MDCNFG: 33013365 MDREFR: 00300197 MDCAS0: aaaaaa9f MDCAS1: aaaaaaaa MDCAS2: aaaaaaaa
new dri value = 6
Starting kswapd
devfs: v1.12a (20020514) Richard Gooch (rgooch@atnf.csiro.au)
devfs: boot_options: 0x1
JFFS2 version 2.2. (C) 2001-2003 Red Hat, Inc.
ttySA%d0 at MEM 0x80050000 (irq = 17) is a SA1100
Console: switching to colour frame buffer device 40x30
iPAQ H3600 keyboard driver v1.0.1
pty: 256 Unix98 ptys configured
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
iPAQ flash: probing 32-bit flash bus, window=c48c0000 with CFI.
cfi_cmdset_0001: Erase suspend on write enabled
Using buffer write method
iPAQ flash: found 33554432 bytes
iPAQ flash: probing 32-bit flash bus, window=c88d0000 with CFI.
CFI: Found no IPAQ flash bank 2 device at location zero
iPAQ flash: probing 32-bit flash bus, window=c88d0000 with JEDEC.
kmod: failed to exec /sbin/modprobe -s -k jedec_probe, errno = 2
iPAQ flash: failed to find flash.
3 cmdlinepart partitions found on MTD device ipaq
Using dynamic partition definition
Creating 3 MTD partitions on "ipaq":
0x00000000-0x00040000 : "bootldr"
mtd: Giving out device 0 to bootldr
0x00040000-0x01fc0000 : "root"
mtd: Giving out device 1 to root
0x01fc0000-0x02000000 : "asset"
mtd: Giving out device 2 to asset
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 4096 bind 4096)
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
NetWinder Floating Point Emulator V0.95 (c) 1998-1999 Rebel.com
mtdblock_open
ok
VFS: Mounted root (jffs2 filesystem).
Mounted devfs on /dev
Freeing init memory: 68K
INIT: version 2.86 booting
Setting up device links for devfs: done
Using /lib/modules/2.4.19-rmk6-pxa1-hh37/kernel/drivers/mmc/mmc_base.o
Using /lib/modules/2.4.19-rmk6-pxa1-hh37/kernel/arch/arm/mach-ipaq/ipaq-mtd-asset.o
Using /lib/modules/2.4.19-rmk6-pxa1-hh37/kernel/drivers/serial/serial_h3800.o
Using /lib/modules/2.4.19-rmk6-pxa1-hh37/kernel/arch/arm/mach-sa1100/h3600_asic.o
Setting up IP spoofing protection: rp_filter.
Configuring network interfaces... done.
Checking for built-in Bluetooth: yes
Configuring alsa-driver-2.4.19-rmk6-pxa1-hh37
 Adding system startup for /etc/init.d/alsa-driver ...
  /etc/rcS.d/S29alsa-driver -> ../init.d/alsa-driver
  /etc/rc0.d/K29alsa-driver -> ../init.d/alsa-driver
  /etc/rc6.d/K29alsa-driver -> ../init.d/alsa-driver
  /etc/rc1.d/K29alsa-driver -> ../init.d/alsa-driver
Configuring atmelwlandriver-2.4.19-rmk6-pxa1-hh37
Configuring dbus-1
 Adding system startup for /etc/init.d/dbus-1 ...
  /etc/rc2.d/S20dbus-1 -> ../init.d/dbus-1
  /etc/rc3.d/S20dbus-1 -> ../init.d/dbus-1
  /etc/rc4.d/S20dbus-1 -> ../init.d/dbus-1
  /etc/rc5.d/S20dbus-1 -> ../init.d/dbus-1
  /etc/rc0.d/K20dbus-1 -> ../init.d/dbus-1
  /etc/rc1.d/K20dbus-1 -> ../init.d/dbus-1
  /etc/rc6.d/K20dbus-1 -> ../init.d/dbus-1
Configuring gdk-pixbuf-loader-jpeg
Configuring gdk-pixbuf-loader-png
Configuring gdk-pixbuf-loader-xpm
Configuring hostap-modules-2.4.19-rmk6-pxa1-hh37
Configuring hostap-modules-cs-2.4.19-rmk6-pxa1-hh37
Configuring orinoco-modules-2.4.19-rmk6-pxa1-hh37
Configuring orinoco-modules-cs-2.4.19-rmk6-pxa1-hh37
Configuring pango-module-basic-fc
Configuring pango-module-basic-x
Configuring ppp-dialin
Configuring update-modules
INIT: Entering runlevel: 5
Starting Dropbear SSH server in background: dropbear.
Starting advanced power management daemon: Will output 1024 bit rsa secret key to '/etc/dropbear/dropbear_rsa_host_key'
Generating key, this may take a while...
apmd.
apmd[1416]: apmd 3.2.1 interfacing with apm driver 1.13 and APM BIOS 1.2
Starting system message bus: dbus-1.
Starting IrDA: .
Starting PCMCIA services: Using /lib/modules/2.4.19-rmk6-pxa1-hh37/kernel/drivers/pcmcia/pcmcia_core.o
Using /lib/modules/2.4.19-rmk6-pxa1-hh37/kernel/drivers/pcmcia/ds.o
Using /lib/modules/2.4.19-rmk6-pxa1-hh37/kernel/drivers/char/serial.o
Using /lib/modules/2.4.19-rmk6-pxa1-hh37/kernel/drivers/pcmcia/h3600_generic_sleeve.o
cardmgr[1549]: watching 2 sockets
done.
Starting syslogd/klogd: done
Starting Bluetooth subsystem: hcid sdpdCan't open HIDP control socket: Invalid argument
 hidd hid2hci rfcomm.
Starting at daemon: atd.
Starting GPE display manager: gpe-dm

Familiar Linux v0.8.4 h3600 ttySA0

h3600 login: Public key portion is:
ssh-rsa AAAAB91RwZMXY0sUdtrnAYXlbQ1NvxZke22pQgWHTBWsMdh9nz5HLUARnVZU5VXZLy203bpdsnSGeYD5uwnc9b9t2lbarE42/GBjKECaY4mJOmQFNBj/M3oSh4z5rkouNC3Ti+54Wp
Fingerprint: md5 f4:98:fd:absdfgsdfgdfg

Familiar Linux v0.8.4 h3600 ttySA0

h3600 login: 

Der Bildschirm Zeit tolle Bilder und die Grüne LED beginnt zu blinken! toll, Linux Läuft!

Bernd 2007/01/31 00:17

USB Netzwerk einrichten

auf dem host PC:

didju:/home/bernd # insmod usbnet
didju:/home/bernd #
didju:/home/bernd # echo 1 > /proc/sys/net/ipv4/ip_forward
didju:/home/bernd #
didju:/home/bernd # /sbin/ifconfig usb0 192.168.0.200
didju:/home/bernd #
didju:/home/bernd # ping 192.168.0.202
PING 192.168.0.202 (192.168.0.202) 56(84) bytes of data.
64 bytes from 192.168.0.202: icmp_seq=1 ttl=64 time=3.30 ms
64 bytes from 192.168.0.202: icmp_seq=2 ttl=64 time=0.752 ms
--- 192.168.0.202 ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1000ms
rtt min/avg/max/mdev = 0.752/2.027/3.302/1.275 ms
didju:/home/bernd #
didju:/home/bernd #   iptables -t nat -A POSTROUTING -o eth0 -j SNAT --to-source 192.168.10.21
didju:/home/bernd # 

auf dem iPAQ (DNS server des eigenen Netzes bekannt machen

echo "nameserver 192.168.0.1" > /etc/resolv.conf

und schon geht es

Pakete aktuellisieren und Installieren

# ntpdate -b time.handhelds.org
# ipkg update
# ipkg upgrade

und schon kann man einige Pakete installieren. . . wie zB gaim, bitchX fehlende kernel Module und und und.

Bernd 2007/01/31 01:49

Internet über Bluetooth

Master PC

Am einfachsten (unter Debian)

# Bluetooth device
allow-hotplug bnep0
 iface bnep0  inet static
        address 192.168.11.222
        netmask 255.255.255.0
        network 192.168.11.0
        broadcast 192.168.11.255
        post-up ip route add 192.168.11.74 dev bnep0 ;  iptables -t nat -A POSTROUTING -s 192.168.11.74 -o eth0 -j MASQUERADE ; echo "1" > /proc/sys/net/ipv4/ip_forward ;
in die /etc/network/interfaces eintragen, dann geht alles automatisch mit nur einem Befehl:

pand -s -r NAP -M
 # pand als Master Starten

iPAQ

In den Netzwerkeinstellungen von gpe unter bnep0 eine ip aus dem 192.168.11.0/24er Netz einstellen, DNS denjenigen den man auch am Master hat und Gateway auf die 192.168.11er Adresse des Masters.

        address 192.168.11.70
        netmask 255.255.255.0
        network 192.168.11.0
        broadcast 192.168.11.255
        gateway 192.168.11.222
Anschliessend:
pand -c  <BAdresse>
# pand mit der Bluetotth MAC des Masters Starten (fragt anschliessend pin ab und führt peering aus)
echo "nameserver 192.168.x.x" > /etc/resolv.conf
# Nameserver noch einrichten, bei mir geht der irgendwie immer flöten.

Bernd 2007/03/16 01:34

Das wichtigste über Linux und Bluetooth ist unter bluetooth zu lesen.

iPAQ und sein Akku

Hier habe ich mal wieder nur Links gesammelt. Ich hab nen china nachbau Akku mit (angeblich) mehr kapazität drin 2600mAh glaube ich, von ebay. Geht ganz gut.

Links

pc/ipaq.txt · Zuletzt geändert: 2012/09/10 23:13 (Externe Bearbeitung)
 
Falls nicht anders bezeichnet, ist der Inhalt dieses Wikis unter der folgenden Lizenz veröffentlicht: CC Attribution-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki