List Info

Thread: Ericsson MC16 (HP 360LX) endianness




Ericsson MC16 (HP 360LX) endianness
user name
2006-07-26 15:36:00
26.07.06 christera-son.net wrote:

> Try the attached config, it works for me. Unfortunately
it only
> supports serial console, so you won't see much if your
serial port
> is broken.

I've opened my PC and suspect ADM560JRS (serial port
driver) to be broken. 
I'll try to replace it (it may be quite a challenge here in
Poland to get 
the new shiny working ADM560JRS, but I'll try).

> Do you have the correct cable? It is an ordinary
null-modem serial 
> cable but with a strange usb shaped connector.

Yes, pin 2 connects to pin 3 on the other end and
vice-versa, so I suspect 
it's a null-modem. I've measured voltage between 2-5 and
3-5 lines (RX-GND 
and TX-GND) and both voltages measured at 0V, so I think the
chip mentoined 
above is broken (I've "activated" the port
first by running a terminal, in 
case it needed that).

I'll try to get myself a new chip in a few days and will
let you know if 
anything had changed.

Thanks again 

-- 
[ 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-31 08:06:48
26.07.06 gophiarcabit.pl wrote:

> I'll try to get myself a new chip in a few days and
will let you know if 
> anything had changed.

Hi again,

I've managed to get my serial port working and tried to
boot the kernel. 
Machine keeps restarting, just like other people in the
archive said - a 
garbled screen for a while and restart into WinCE. But I
made a simple 
test.

1. Made a small, dummy, hang-me program.
[gophigofbsd ~]$ cat dummy.c
main() { for (;;); }

2. Compiled it and gzipped.
[gophigofbsd ~]$ shle--netbsdelf-gcc -c dummy.c
[gophigofbsd ~]$ shle--netbsdelf-ld -static -e main -S -o
dummy dummy.o
[gophigofbsd ~]$ gzip < dummy > dummy.gz

3. Booted dummy.gz with hpcboot200.

And the PC still restarts. There are two conclusions:

1. I've compiled the program the wrong way (quite possible,
unfortunately 
I have no experience in cross-compiling at all, that's the
reason I've 
pasted the compilation commands above).

2. There's a problem in hpcboot.

What do you think?

-- 
[ 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-31 08:53:53
On Mon, Jul 31, 2006 at 10:06:48AM +0200, Adam Wysocki via
ArcaBit wrote:
> I've managed to get my serial port working and tried
to boot the kernel. 
> Machine keeps restarting, just like other people in the
archive said - a 
> garbled screen for a while and restart into WinCE. But
I made a simple 
> test.
> 
> 1. Made a small, dummy, hang-me program.
> [gophigofbsd ~]$ cat dummy.c
> main() { for (;;); }
> 
> 2. Compiled it and gzipped.
> [gophigofbsd ~]$ shle--netbsdelf-gcc -c dummy.c
> [gophigofbsd ~]$ shle--netbsdelf-ld -static -e main -S -o
dummy dummy.o
> [gophigofbsd ~]$ gzip < dummy > dummy.gz
> 
> 3. Booted dummy.gz with hpcboot200.
> 
> And the PC still restarts. There are two conclusions:
> 
> 1. I've compiled the program the wrong way (quite
possible, unfortunately 
> I have no experience in cross-compiling at all, that's
the reason I've 
> pasted the compilation commands above).
> 
> 2. There's a problem in hpcboot.
> 
> What do you think?

I think you have compiled a program, not a system. A program
is
supposed to execute under a system (or OS such as NetBSD).
It needs
various support from the system. Your program above doesn't
need
much support once it is launched, but it does need support
to be
launched.

To get something running from the NetBSD sources, try the
config
I have already sent you, and make sure you have source code
with
the memory detection patches Uwe mentioned applied. You can
get
the patch from me if Uwe haven't found the time to apply
them.
Without the memory detection patches the kernel won't find
any
memory and reboot. Then build a system from that config. You
will
need a detached miniroot on your compact flash along with
your
kernel and hpcboot.exe.

Make sure you have the hpcboot for winCE 2.0 available in
CVS.

If you like, I can provide you with the hpcboot, kernel and
miniroot
I use.

-- 
Christer O. Andersson
Odensbacken
[1-3]

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