OESF Portables Forum
Everything Else => Model Specific Forums => Distros, Development, and Model Specific Forums => Archived Forums => SIMpad forum => Topic started by: Berend on November 15, 2005, 09:52:44 am
-
Hi all!
I'm looking for a bootloader to get linux working on my new Swisscom ScreenPad (a CL4 simpad/16MB flash). The version I'm using now is the
blupdater.img provided with opensimpad-0.9.0rc1 (forumpost:
http://opensimpad.org/opensimpad-forum/vie...1f2f538fa#3613 (http://opensimpad.org/opensimpad-forum/viewtopic.php?p=3613&sid=7771abcf617bf3098d961661f2f538fa#3613)).
It works for the most part, however, when I try to load a rootfs.jffs2 image it fails when erasing flash at 0100000 (=16), see serial output below.
The problem is similar to a report (Januari 2005) at the old fora. Chris was looking into this at the time but I can't find out if he found a solution.
The old post: http://opensimpad.org/opensimpad-forum/vie...61f2f538fa#3632 (http://opensimpad.org/opensimpad-forum/viewtopic.php?p=3632&sid=7771abcf617bf3098d961661f2f538fa#3632)
So I'm completly stuck, does anyone have a working CL4 bootloader / could anyone tell me how or where to get one? Perhaps I could use some older files and then upgrade? I hope anyone with a CL4 can enlighten me.
Thanks, Berend
Serial output:
*MTST
00000001
00000002
00000004
[...]
20000000
40000000
80000000
MBK2
00000001
0000E59F
00000002
[...]
4000E59F
80000000
8000E59F
ENDM
STKP
C19F3FF0
setting flashword=50000000
Flash style = 1x16
verify flash size...
btflash_init: mfrid=00000089
devid=00000018
mfrid=00000089
deviceid=00000018
walking flash descriptors (1x16)
btflash_init: found flash 28F128J3A_1x16
flashDescriptor=00031894
flashSectors=00031474
nsectors=00000100
flash_size=02000000
flash_address_mask=03FFFFFF
Read back MQ200 ID is 0x4BE00C02
Correct Device ID should be 0x02004D51. - retrying
Rebooting...U3
@00000348
F02000000
*MTST
00000001
00000002
00000004
[...]
20000000
40000000
80000000
MBK2
00000001
0000E59F
00000002
[...]
4000E59F
80000000
8000E59F
ENDM
STKP
C19F3FF0
setting flashword=50000000
Flash style = 1x16
verify flash size...
btflash_init: mfrid=00000089
devid=00000018
mfrid=00000089
deviceid=00000018
walking flash descriptors (1x16)
btflash_init: found flash 28F128J3A_1x16
flashDescriptor=00031894
flashSectors=00031474
nsectors=00000100
flash_size=02000000
flash_address_mask=03FFFFFF
MQ200 - Revision ID=0x00000002
Machine type--> SIMpad
mach_type ->00000057
reset_partitions: partition_table = 0x00000000
reset_partitions: flashDescriptor = 0x00031894
define_partition: base 0x00000000
define_partition: partition_table 0x00000000
allocated partition_table
defining partition: bootldr
define_partition: base 0x00040000
define_partition: partition_table 0xC1A00014
defining partition: root
define_partition: base 0x01800000
define_partition: partition_table 0xC1A00014
defining partition: home
initialize_by_mach_type done
probing ram
Probing bank0 memory size...
bank0 memory size=02000000
MDCNFG=0000F357
dram_size_ptr=00032888
Probing memory size bank=00000000
dram[0]=02000000
mem_size=[i]04000000
mem_saves[i]=08000000
mem_size=[i]02000000
mem_saves[i]=04000000
mem_size=[i]01000000
mem_saves[i]=01000000
maybe mem_size=02000000
found=
02000000
mem_size[i]=08000000
mem_saves[i]=30303030
mem_size[i]=04000000
mem_saves[i]=08000000
mem_size[i]=02000000
mem_saves[i]=04000000
mem_size[i]=01000000
mem_saves[i]=01000000
memory size=02000000
dram_size_ptr=0003289C
Probing memory size bank=00000001
dram[0]=C8000C02
seems to be no dram in bank=00000001
n_banks=00000001
dram_sizes[0]=02000000
dram_sizes[1]=00000000
SDRAM size: 0x02000000
in megs: 32M
>> Compaq OHH BootLoader, Rev 2-21-13 [BIG_KERNEL] [MD5] [MONO]
>> 04-11-20_15:58
>> Last link date: Sat Nov 20 15:58:14 GMT 2004
>> Contact: bootldr@handhelds.org
Cpu company: INTEL
Cpu Architecture: StrongArm
Cpu Part: SA1110
processor ID: 6901B118
>> (c) 2000-2001 Compaq Computer Corporation, provided with NO
WARRANTY under the terms of the GNU General Public License.
>> See http://www.handhelds.org/bootldr/ for full license and
sourcesPress Return to start the OS now, any other key for monitor
menu
params_eval: prefix_in =bootldr:
params_eval: just_show =00000000
define_partition: base 0x00040000
define_partition: partition_table 0xC1A00014
defining partition: throwaway_bootldr_partition
params_eval_file: tmpPart->base =00040000
params_eval_file: tmpPart->size =017C0000
Scanning all of flash for your JFFS2 convenience. Est Time: 6-12 seconds!
build_list: max = 017BFFBC
......................
dir entries = 00000002
frag entries = 00000002
+4 increments = 00034F61
+file_offset increments = 00000005
pef: loaded a file of size 000000A8
+ set linuxargs="noinitrd root=/dev/mtdblock1 init=/linuxrc console=ttySA0"
setting param to value init=/linuxrc console=ttySA0>
+ pcmcia insert 0
pcmcia_init_module
cis[0] =00000002
end
pcmcia_insert: funcid = 00000000
cis[0] =00000002
end
pcmcia_insert: funcid = 00000000
+ vfat mount /
cmd vfat mount: partid=00000000
vfat mount: reading bpb_info
cmd vfat mount: listing the root directory
+ pcmcia insert 0
cis[0] =000000FF
end
pcmcia_insert: funcid = 00000000
cis[0] =000000FF
end
pcmcia_insert: funcid = 00000000
+ vfat mount /
cmd vfat mount: partid=00000000
vfat mount: reading bpb_info
cmd vfat mount: listing the root directory
+ copy hda1:/simpad-rootfs.jffs2 root
vfat_find_file_entry: fname='/simpad-rootfs.jffs2'
dirname=''
basename='SIMPAD-ROOTFS.JFFS2'
Could not find file.vfat_file_open: file not found errno=00000016
Could not open source hda1:/simpad-rootfs.jffs2
partition deleted
boot> load root
partition root is a jffs2 partition:
expecting .jffs2 or wince_image.gz.
After receiving file, will automatically uncompress .gz images
loading flash region root
using ymodem
ready for YMODEM transfer...
B3B468A9BCEA449F762DE2566F5297FD simpad-rootfs.jffs2.gz
005692DF bytes loaded to C0000400
img_size is not a multiple of 4 -- are we sure that's OK?
Looks like a gzipped image, let's verify it...
Looks like a gzipped image, let's verify it...
Verifying gzipped image
................................................................................
............................................................................veri
yGZipImage:
calculated CRC = 0xF3A9FAC0
verifyGZipImage: read CRC = 0xF3A9FAC0
programming flash...erasing ...
Erasing sector 00040000
Erasing sector 00060000
Erasing sector 00080000
[...]
Erasing sector 00FC0000
Erasing sector 00FE0000
Erasing sector 01000000
eraseSector error
sectorAddress=01000000
flashContents=00000000
status=00000000
timeout=00000000
erase error!
boot>
-
well, i have an sl4...
but if i remember right, the new bootloader, (hh.org, the one u installed with the image blupdater.img), only works on 32mb flash devices, u should find something about it, if u read all the way through the old forum.
i also think, most jffs2 images are bigger than 16mb, so how could they possibly fit?
maybe if u use
http://devernay.free.fr/hacks/opensimpad/2...21.rootfs.jffs2 (http://devernay.free.fr/hacks/opensimpad/20051112-kernel24/images/opie-image-light-simpad-20051111154721.rootfs.jffs2)
if i am right, and only 32mb models work properly with the hh.org bootloader, then u have to go back to the old Siemens-BL, see the wiki on opensimpad.org for that.
the best image for me so far (mainly used as webpad) was the 0.8.1-1 anyways, but i did not test the newest ones on devernay...
thomas
-
I read about the 16MB issues on the mailinglist and it seems this was just never resolved, but I didn't get the impression it was impossible. And the booloader is the main issue, after that there are some images that'll fit.
I could go back to original Siemens and WinCE, i did for a while, but the PDF reader has some issues and I couldn't even find a calculator, so I'd really like to try linux.
thanks, Berend.
-
Me too...
I had WinCe 4.1 on my Simpad but was not able to get a reliable wireless connection with a netgear ma401. Tried all the drivers that were available but...
Next thing is, I would like to have an email client capable of imap so I can work with my home server from all workstations. I want the simpad mainly as surfpad and email client so that the 16MB should be sufficient.
Happily looking forward to things to come and eventually ready to do some things myself.
Greetings
Richard