Valeriy E. Ushakov | 11 Jun 2004 03:15
Picon

Re: CVS commit: src/sys/arch/hpc/stand/binary

On Fri, Jun 11, 2004 at 03:58:07 +0900, UCHIYAMA Yasushi wrote:

>  | > load_elf.cpp bug is fatal..
>  | 
>  | Do we already hit the limit of 16?  I've just compiled a new kernel
>  | (for the first time since late April) and my 680 fails to boot.
> 
> my target is 2.0F,
>  hpcarm  : 16
>  hpcmips : 18
>  hpcsh   : 14
> hpcmips kernel hits.
> I've also failed to boot 690. I can't find out what is the problem yet.
> So I used ftp.netbsd.org 20040304 hpcsh snapshot to test new hpcboot(SH3).

I added this code to the very beginning of "start" in locore.S

	mov.l	_L.pkdr, r0
	mov	#0, r1
	mov.b	r1,  <at> r0
	mov.l	_L.delay, r2
1:	dt	r2
	bf	1b
[...]
	.align 2
_L.pkdr:	.long	0xa4000132
_L.delay:	.long	0x10000000

It turns the LED on the front of the Jornada (near the mic and front
panel buttons) green.
(Continue reading)

Valeriy E. Ushakov | 12 Jun 2004 01:18
Picon

Re: CVS commit: src/sys/arch/hpc/stand/binary

On Fri, Jun 11, 2004 at 05:15:22 +0400, Valeriy E. Ushakov wrote:

> On Fri, Jun 11, 2004 at 03:58:07 +0900, UCHIYAMA Yasushi wrote:
> 
> [...]
> > I've also failed to boot 690. I can't find out what is the problem yet.
> > So I used ftp.netbsd.org 20040304 hpcsh snapshot to test new hpcboot(SH3).
> 
> current kernel doesn't turn the LED on at all.  So the problem is with
> the 2nd loader code (unlikely) or page tags we pass to it.

That turned out to be a simple bug: p_memsz of new kernels was not a
multiple of 4, so the destination address of the elf header of the
symbol block was misaligned.  As 2nd stage loader uses word-by-word
copy, the page tag with elf header causes alignment fault.

I've just fixed this in kloader.c (1.12).  Please, can you apply the
fix to hpcboot/load_elf.cpp and recompile hpcboot?  I'd do that
myself, but the resulting binaries will have the Japanese names for
"Storage Card" not marked properly.

SY, Uwe
--

-- 
uwe <at> ptc.spbu.ru                         |       Zu Grunde kommen
http://www.ptc.spbu.ru/~uwe/            |       Ist zu Grunde gehen

UCHIYAMA Yasushi | 12 Jun 2004 14:11
Favicon

Re: CVS commit: src/sys/arch/hpc/stand/binary

 | I've just fixed this in kloader.c (1.12).  Please, can you apply the
 | fix to hpcboot/load_elf.cpp and recompile hpcboot?  I'd do that

thank you. done.
---
UCHIYAMA Yasushi
uch <at> vnop.net

Jeremiah Holt | 22 Jun 2004 18:21
Picon
Favicon

Bounty For Jornada 540-Series

I know this is most likely a lost cause but I am offering a 100 Dollar
bounty for a port of NetBSD to the Sh3 based Jornada 540, 545, 547, 548,
collectively known as the 540 Series the port should boot into multi-user
and have a the development tools avaible to begin porting 3rd-apps over to
it. thanks

Valeriy E. Ushakov | 22 Jun 2004 20:59
Picon

Re: Bounty For Jornada 540-Series

On Tue, Jun 22, 2004 at 11:21:57 -0500, Jeremiah Holt wrote:

> I know this is most likely a lost cause but I am offering a 100 Dollar
> bounty for a port of NetBSD to the Sh3 based Jornada 540, 545, 547, 548,
> collectively known as the 540 Series the port should boot into multi-user
> and have a the development tools avaible to begin porting 3rd-apps over to
> it. thanks

Sell you 54x, add those $100 you offer as a bounty, and buy a 680 or
690.  For the same amount of $$s you'll end up with a better machine
already supported by NetBSD.  I've put a smiley here first, but
deleted it as I really do mean it in all seriousness.

Machines from 540 series only have one CF slot which greatly limits
their usefulness with NetBSD, as their ROM is not reflashable and so
either you will have a very tiny system that will still consume
precious RAM, or you run the system off the CF card and then have no
expansion slots left (e.g. for WiFi).

It might be a useful project if all you plan to do it to use this
machine as a sh3 development box (serial console, CF network card,
root/swap on NFS).  However, if the companion chip is something
proprietary, the efforts to support it will not pay off.

PS: I tried to find out what is the companion chip in 54x, but I
can't.  "F1796" that hpcsh port page lists doesn't tell anything.
There is a teardown report for 548 with all the photos at
www.teardown.com, but it costs money to access.

SY, Uwe
(Continue reading)

Ross Vumbaca | 23 Jun 2004 04:28
Picon

Re: Bounty For Jornada 540-Series

Hi,

Valeriy E. Ushakov wrote:

> It might be a useful project if all you plan to do it to use this
> machine as a sh3 development box (serial console, CF network card,
> root/swap on NFS).  However, if the companion chip is something
> proprietary, the efforts to support it will not pay off.
> 
> PS: I tried to find out what is the companion chip in 54x, but I
> can't.  "F1796" that hpcsh port page lists doesn't tell anything.
> There is a teardown report for 548 with all the photos at
> www.teardown.com, but it costs money to access.

What is the companion chip used for? Display etc?

I was able to boot a NetBSD hpcsh kernel on my 545 in the past, with a 
small ramdisk image, and log in via the serial terminal, but the display 
does not work of course.

Regards,

Ross..

Ross Vumbaca | 23 Jun 2004 08:05
Picon

Re: Bounty For Jornada 540-Series

Hi,

Valeriy E. Ushakov wrote:

> PS: I tried to find out what is the companion chip in 54x, but I
> can't.  "F1796" that hpcsh port page lists doesn't tell anything.
> There is a teardown report for 548 with all the photos at
> www.teardown.com, but it costs money to access.

If this web page can be believed: 
http://www.jonpeddie.com/dispatches/PalmShow/PalmDispatches.shtml

The 54x uses an Epson S1D13505 companion chip.

Regards,

Ross..

Jeremiah Holt | 23 Jun 2004 13:23
Picon
Favicon

Jornada 540 Series

I was given the register information for the Jornada 928 which uses the
same F1769 companion chip as the 540 series. It seems like the best place to
start I'd begin working on this myself but my system right now is a Win2k3
box since its modem is a softmodem and go's 14.4K with the linmodem drivers
Attachment (jornada928-regs.h): application/octet-stream, 6484 bytes
Jeremiah Holt | 23 Jun 2004 13:28
Picon
Favicon

RE: Jornada 540 Series

Also the author stated that the F1796 IC sits at 0x8000000, in the header
file everything is offset by
0xe0000000 to give a correct virtual address.
-----Original Message-----
From: linuxsh-dev-admin <at> lists.sourceforge.net
[mailto:linuxsh-dev-admin <at> lists.sourceforge.net]On Behalf Of Jeremiah
Holt
Sent: Wednesday, June 23, 2004 6:24 AM
To: linuxsh-dev <at> lists.sourceforge.net; port-hpcsh <at> netbsd.org
Subject: [linuxsh-dev] Jornada 540 Series

I was given the register information for the Jornada 928 which uses the
same F1769 companion chip as the 540 series. It seems like the best place to
start I'd begin working on this myself but my system right now is a Win2k3
box since its modem is a softmodem and go's 14.4K with the linmodem drivers

-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
Jeremiah Holt | 23 Jun 2004 18:30
Picon
Favicon

Re: Bounty For Jornada 540 Series

I've taken the advise of those who reponded and purshased a supported device
the Hitachi HPW-200CE. Which I was told was supported since its the US
version of the 230JC
http://www.pocketpccity.com/hardware/Hitachi-HPW-200EC-2000-10-12-ce-hpc-spe
c.html


Gmane