List Info

Thread: Ericsson MC16 (HP 360LX) endianness




Ericsson MC16 (HP 360LX) endianness
user name
2006-07-25 19:53:27
25.07.06 uweptc.spbu.ru wrote:

> [Redirected to port-hpcsh]

Okay.

> All WinCE machines use little-endian sh3.

Thanks.

> 360LX is reported to work.

Nice to hear 
Unfortunately hpcboot complains about low memory
("cannot 
allocate memory"). I've got only 8 MB of RAM, all
(except 144k) allocated 
in WinCE as "program memory". I'm reading
chapter 27 (Crosscompiling NetBSD 
with build.sh) from NetBSD documentation and will try to
build my own kernel 
and miniroot, maybe this will help...

> 1) integrate memory detection patches from Christer.

Well, if it's not critical... 

> 2) arrange for a new hpcboot.exe for wince 2.0 to get
built (I don't 
>    have WinCE 2.0 tools myself).

By the way, hpcboot-sh3.exe from
/pub/NetBSD/NetBSD-3.0/hpcsh/installation/ 
crashed for me. "Application hpcboot-sh3.exe has
performed an illegal 
operation (...) Exception: 0xc0000005, Address:
00000000". I had to 
grab hpcboot200.exe.uue from CVS.

Thanks for the feedback.

Greetings.

-- 
[ Adam Wysocki :: www.chmurka.net :: +48 514 710 213 ]
[ Software Development Department, ArcaBit Sp. z o.o ]
[ Ul. Fortuny 9 :: 01-339 Warszawa :: www.arcabit.pl ]
Ericsson MC16 (HP 360LX) endianness
user name
2006-07-26 02:44:44
25.07.06 gophiarcabit.pl wrote:

Hello again,

> I'm reading chapter 27 (Crosscompiling NetBSD with
build.sh) from 
> NetBSD documentation and will try to build my own
kernel and miniroot, 
> maybe this will help...

Okay, hpcboot no longer complains about memory issues and
boots the 
kernel (at least that's what bootlog says), but:

- when booting with the original miniroot.fs.gz, the device
freezes up 
right after hpcboot has done it's work and displays the
Ericsson logo, 
[10] (sometimes [40], seems to be a bitwise-ORed sum of some
flags) on 
the bottom-left corner and a C letter on the bottom-right.

- putting cpu_reset() in front of machine_startup() in
arch/hpcsh/hpcsh/machdep.c
didn't change anything - the device still hangs up
(unfortunately my 
serial port in this handheld seems to be broken, so I can't
test it 
with a serial console).

- when booting with the sd root device, it leads to the same
screen, but 
the value displayed is [E0] and, instead of C, the letter W
is shown. 
Sometimes it then launches WinCE and sometimes not.

- putting an infinite loop in front of machine_startup()
didn't change 
anything - the device still reboots to WinCE.

My config file (minimalistic, just to check if it boots,
diff against 
GENERIC): http://www.chmu
rka.net/r/ERICSSON.txt

Any ideas?

P.S. Sorry for maybe naive questions, but I'm quite new to
NetBSD and 
embedded devices.

Greetings.

-- 
[ Adam Wysocki :: www.chmurka.net :: +48 514 710 213 ]
[ Software Development Department, ArcaBit Sp. z o.o ]
[ Ul. Fortuny 9 :: 01-339 Warszawa :: www.arcabit.pl ]
[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )