Hi,
I've been experimenting with bootldr-2.18.43 and 2.18.44 on an iPAQ 3660.
I have a single and a double PCMCIA sleeve as well as a 64MB CF card.
I've put the appropriate files on a dos and ext3 partition on the CF card,
and have succesfully booted into linux.
2.18.44 didn't work because it appeared to be reading the wrong sectors
for my 'boot' directory. It was reading 8 sectors beyond where it should
have been. Going back to 2.18.43 fixed this. I note from the diffs that
there was an explicit patch to change some sector offsets -- is it
possible that it's only correct for particular fat filesystems?
Having had success with the single sleeve, I tried the dual sleeve. It
recognised the sleeve and card but started failing when trying to execute
'vfat mount'. A typical result is included below.
I then went back to the single sleeve, but it no longer seems to work.
The sleeve is identified but the disk info seems to be fairly random.
Sometimes it gets as far as starting to boot, but the kernel hasn't been
loaded properly so I get 'invalid compressed format'.
Can anyone advise as to what could be the issues? Any suggestions as to
other things to try?
PS: Having written the above, I've managed to get it to boot again, this
time using a different dual sleeve. Could there be some issue with battery
levels in the sleeve? The iPAQ is in the serial cradle with power all the
time I'm doing this.
Thanks.
==== dual sleeve ====
boot> vfat mount
cmd vfat mount: partid=00000002
vfat mount: reading bpb_info
start_cylinder=00000000
start_head=00000000
start_sector=00000000
sector_count=00000001
ide read: status reg=00000058
ide read: error reg=00000000
oemname=..¼
start_cylinder=000001AA
start_head=00000000
start_sector=00000033
sector_count=00000028
ide read: status reg=00000058
ide read: error reg=00000000
start_cylinder=000001AA
start_head=00000000
start_sector=0000005B
sector_count=00000028
ide read: status reg=00000058
ide read: error reg=00000000
start_cylinder=000001AA
start_head=00000000
start_sector=00000083
sector_count=00000028
ide read: status reg=00000058
ide read: error reg=00000000
******** malloc out of storage ********
size=33E029A0
start_cylinder=0000278A
start_head=00000000
start_sector=000000AD
sector_count=00000028
ide read: status reg=00000051
ide read: error reg=00000010
ide command failed with status=00000051
error reg=00000010
cyl high reg=00000027
cyl low reg=0000008A
vfat_mount failed with rc=FFFFFFFB
==== single sleeve failing ====
[what're those funny '.P.P.P' bits a few lines down?]
boot> boot vfat
h3600_sleeve_insert: no spi read, defaulting sleeve vendor
h3600_sleeve_insert: no spi read, defaulting sleeve deviceid
sleeve vendorid=00001125
sleeve deviceid=0000D7C3
.P.P.P.P.P.P.P.P.P.P.P.P.P.P.P00000000
pcmcia_register_ops: ops=00031048
h3600_sleeve_insert: matched driver .P
cis mapping=28000000
cis[0] =00000001
01 04 DF 72 01 FF
1C 04 03 D9 01 FF
18 02 DF 01
20 04 45 00 01 04
manfid[0]=00000045
manfid[1]=00000000
15 1C 04 01 4B 4F 44 41 4B 20 50 69 63 74 75 72 65 20 43 61 72 64 00 4B
4F 44
41 4B 00 FF
21 02 04 01
funcid=00000004
fixed disk
22 02 01 01
22 03 02 0C 0F
1A 05 01 07 00 02 0F
1B 0B C0 C0 A1 27 55 4D 5D 75 08 00 21
1B 06 00 01 21 B5 1E 4D
1B 0D C1 41 99 27 55 4D 5D 75 64 F0 FF FF 21
1B 06 01 01 21 B5 1E 4D
1B 12 C2 41 99 27 55 4D 5D 75 EA 61 F0 01 07 F6 03 01 EE 21
1B 06 02 01 21 B5 1E 4D
1B 12 C3 41 99 27 55 4D 5D 75 EA 61 70 01 07 76 03 01 EE 21
1B 06 03 01 21 B5 1E 4D
1B 04 07 00 28 D3
end
serial_number: 1 3000015245
firmware_revision: dV g.181
model_number: OKAD KS D
n_sectors_user_addressable=00000000
bytes_per_sector=00000240
major_version=00000000
minor_version=00000000
flags=0000848A
ACTUAL bytes_per_sector=00000200
cis mapping=38000000
cis[0] =00000002
00 FF 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00
00 00 00 00 00 00 00 00 00 00 00 00 FF 00 00 00 00 00 00 00 00 00 00 00 00
00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 0
0 00 00 00 00 00 00 00 00 00 00 00 E1 00 00 00 00 00 00 00 00 00 00 00 00
00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 FF 00 00 00 00 00 00 00
E1 00 0
0 00 00 00 00 00 00 00 FF 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00
00 00 00 00 00 00 00 00 00 00 FF 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 0
0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
ptable signature=0000AA55
cmd vfat mount: partid=00000000
vfat mount: reading bpb_info
oemname=mkdosfs
Reading params from file: /boot/params
vfat_find_file_entry: fname='boot/params'
dirname='boot'
basename='PARAMS'
vfat_find_dir_entry: fname='boot'
dirname=''
basename='boot'
searching root_dir_entries
vfat_read_clusters_offset: reached VFAT_EOC at bytes_read=00000800
+ set kernel_filename boot/zimage
setting param <kernel_filename> to value <boot/zimage>
+ set linuxargs=initrd root=/dev/ram0 init=/linuxrc console=ttySA0
setting param <linuxargs> to value <initrd root=/dev/ram0 init=/linuxrc
consol
e=ttySA0>
Reading kernel from file: boot/zimage
vfat_find_file_entry: fname='boot/zimage'
dirname='boot'
basename='ZIMAGE'
vfat_find_dir_entry: fname='boot'
dirname=''
basename='boot'
searching root_dir_entries
vfat_read_clusters_offset: reached VFAT_EOC at bytes_read=00000800
Reading initrd from file: boot/initrd
vfat_find_file_entry: fname='boot/initrd'
dirname='boot'
basename='INITRD'
vfat_find_dir_entry: fname='boot'
dirname=''
basename='boot'
searching root_dir_entries
vfat_read_clusters_offset: reached VFAT_EOC at bytes_read=00000800
Could not find file.Booting vfat...
kernel partition base C0008000
kernel_magic=E1A00000
kernel_region_words[9]=016F2818
Linux ELF flash_imgstart=C0008000 size=00000000 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=ide
Grabbed linuxargs, argc = 00000000
Using mach_type 00000016
setting boot parameters to
initrd root=/dev/ram0 init=/linuxrc console=ttySA0
Makeing core tag at C0000100
Makeing cmdline tag at C0000114
Makeing mem32 tag at C0000190
Makeing ptable tag at C00001A0
Makeing initrd tag at C0000368
initrd.start=C0800000
initrd.size=00000000
dram_size=04000000
command line is:
mtdpart=bootldr@0x00000000:0x00040000,root@0x00040000:0x00FC000
0 initrd root=/dev/ram0 init=/linuxrc console=ttySA0
Disabling LCD controller
linuxEntryPoint=C0008000
Booting Linux image
Uncompressing Linux..........
invalid compressed format (err=2)
-- System halted
Received on Fri May 10 14:00:57 2002
This archive was generated by hypermail 2.1.8 : Tue May 04 2004 - 09:44:47 EDT