Richard Earnshaw | 4 Feb 02:41 2005
Picon
Picon

Re: IQ31244 SATA non-functional

On Sat, 22 Jan 2005 08:52:58 PST, Jason Thorpe wrote:
> On Jan 22, 2005, at 1:20 AM, Richard Earnshaw wrote:
> 
> > Yep, I think I've identified the problem.  The chips are in DPA mode.  
> > The
> > manual talks about moving jumpers J11-14 to their alternate position, 
> > but
> > I can't find those anywhere.
> >
> > And looking at the schematics it appears that on the Rev E boards, at
> > least, the DPA config pin is hard-wired :-( :-( :-(
> 
> Grr, that's lame.
> 
> DPA mode isn't especially difficult to support, if you ignore the SATA 
> NCQ aspects... mainly just a different register layout.  You should be 
> able to download the manual for the chip from the Intel web site.  I'm 
> pretty sure the Linux "Vitesse SATA" driver (which works with the 
> GD31244) also has support for DPA mode.
> 

Wheeee!

Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005        
    The NetBSD Foundation, Inc.  All rights reserved.                           
Copyright (c) 1982, 1986, 1989, 1991, 1993                                      
    The Regents of the University of California.  All rights reserved.          

NetBSD 2.99.14 (IQ31244) #19: Fri Feb  4 01:14:31 GMT 2005                      

(Continue reading)

Sami Kantoluoto | 5 Feb 14:48 2005
Picon

arm, net and '__attribute__ ((__packed__))'

Hi,

We're using the network stack and wi driver ported from NetBSD to our
embedded operating system and I'm wondering if there's something wrong with
missing '__attribute__ ((__packed__))'s or something. So, I noticed that
'sizeof(struct llc)' returned 10 (arm-elf-gcc 3.4.2). Then I removed the
comments (and 'XXX' and '???') from 'llc_un'. Which means:

struct llc {
	u_int8_t llc_dsap;
	u_int8_t llc_ssap;
	union {
		.
		.
		.
	} llc_un __attribute__((__packed__));
} __attribute__((__packed__));

This had no effect. Then I swapped 'llc_un' and
'__attribute__((__packed__))' and it worked (sizeof(struct llc) == 8). So:

struct llc {
	u_int8_t llc_dsap;
	u_int8_t llc_ssap;
	union {
		.
		.
		.
	} __attribute__((__packed__)) llc_un;
} __attribute__((__packed__));
(Continue reading)

Richard Earnshaw | 5 Feb 15:04 2005
Picon
Picon

Re: arm, net and '__attribute__ ((__packed__))'

On Sat, 05 Feb 2005 15:48:39 +0200, Sami Kantoluoto wrote:
> Hi,
> 
> We're using the network stack and wi driver ported from NetBSD to our
> embedded operating system and I'm wondering if there's something wrong with
> missing '__attribute__ ((__packed__))'s or something. So, I noticed that
> 'sizeof(struct llc)' returned 10 (arm-elf-gcc 3.4.2). Then I removed the
> comments (and 'XXX' and '???') from 'llc_un'. Which means:
> 
> struct llc {
> 	u_int8_t llc_dsap;
> 	u_int8_t llc_ssap;
> 	union {
> 		.
> 		.
> 		.
> 	} llc_un __attribute__((__packed__));
> } __attribute__((__packed__));
> 
> This had no effect. Then I swapped 'llc_un' and
> '__attribute__((__packed__))' and it worked (sizeof(struct llc) == 8). So:
> 
> struct llc {
> 	u_int8_t llc_dsap;
> 	u_int8_t llc_ssap;
> 	union {
> 		.
> 		.
> 		.
> 	} __attribute__((__packed__)) llc_un;
(Continue reading)

Sami Kantoluoto | 5 Feb 15:41 2005
Picon

Re: arm, net and '__attribute__ ((__packed__))'

On Sat, Feb 05, 2005 at 02:04:14PM +0000, Richard Earnshaw wrote:
> On Sat, 05 Feb 2005 15:48:39 +0200, Sami Kantoluoto wrote:

[ snip ]

> > 	} __attribute__((__packed__)) llc_un;
> > } __attribute__((__packed__));
> > 
> > 
> > I can't believe that NetBSD has any problems with these so maybe I'm missing
> > some compiler options or has NetBSD's gcc been patched or something else?
> >
>
> NetBSD uses gcc configured with structure-size-boundary set to 8, rather 
> than 32 (the default for a standard arm-elf compiler).  Which is why you 
> are seeing this problem.  Try building *all* your code with 
> -mstructure-size-boundary=8.

Yes, that helped. Thanks.

> But yes, this is probably a bug in the header file.  Could you file a PR?

Sure.

     -sk

Alex Masoch | 11 Feb 07:50 2005
Picon

BSD on ARM

Hello ARM experts!

IS there a reasonable chance of getting BDS running on a Viewsonic 
Viewpad 100? It is reasonably rare beast but a very capable one still.
It's basic stats:

Processor  	  	206MHz Intel® StrongARM® SA-1110
Operating System 	  	Microsoft Windows CE 3.0™
Memory 	Flash 	32MB
SDRAM 	128MB

Uses CF media for flash (32MB).
I think the early version I have runs an older CE (but who cares).
Has USB/LAN/IR/PCMCIA and lots of other goodies.

http://www.viewsonic.com/support/mobilewireless/superpda/viewpad100/

Give me a hint if its worth my while?
Alex

Jongwoo Han | 11 Feb 08:23 2005
Picon

Re: BSD on ARM


> Hello ARM experts!
>
> IS there a reasonable chance of getting BDS running on a Viewsonic Viewpad 
> 100? It is reasonably rare beast but a very capable one still.
> It's basic stats:
>
> Processor    206MHz Intel® StrongARM® SA-1110
> Operating System   Microsoft Windows CE 3.0™
> Memory Flash 32MB
> SDRAM 128MB
>
> Uses CF media for flash (32MB).
> I think the early version I have runs an older CE (but who cares).
> Has USB/LAN/IR/PCMCIA and lots of other goodies.
>
>
> http://www.viewsonic.com/support/mobilewireless/superpda/viewpad100/
>
> Give me a hint if its worth my while?
> Alex
>

There is ARM ports of NetBSD, and what is close to your machine looks like 
hpcarm port(Handhelp PC port). Yet it is known to be working on only HP 
Jornada 710 or 540. I think you need to write framebuffer drivers and other 
device drivers, since the Viewsonic HPC is proprietary device.

-----
jongwooh 
(Continue reading)

Robert Swindells | 11 Feb 11:09 2005
Picon
Picon

Re: BSD on ARM


Jongwoo Han wrote:
>> Hello ARM experts!
>>
>> IS there a reasonable chance of getting BDS running on a Viewsonic View
>>pad
>> 100? It is reasonably rare beast but a very capable one still.
>> It's basic stats:
>>
>> Processor    206MHz Intel=AE StrongARM=AE SA-1110
>> Operating System   Microsoft Windows CE 3.0=99
>> Memory Flash 32MB
>> SDRAM 128MB
>>
>> Uses CF media for flash (32MB).
>> I think the early version I have runs an older CE (but who cares).
>> Has USB/LAN/IR/PCMCIA and lots of other goodies.
>>
>>
>> http://www.viewsonic.com/support/mobilewireless/superpda/viewpad100/
>>
>> Give me a hint if its worth my while?
>> Alex

>There is ARM ports of NetBSD, and what is close to your machine looks
>lik e hpcarm port(Handhelp PC port). Yet it is known to be working on
>only HP Jornada 710 or 540. I think you need to write framebuffer
>drivers and oth er device drivers, since the Viewsonic HPC is
>proprietary device.

(Continue reading)

ASAP | 13 Feb 13:55 2005
Picon

Nokia 3650

Will netbsd work on subj?

Rudi Ludwig | 13 Feb 15:44 2005
Picon
Picon

Connecting Psion to NetBSD, help needed


Hello,

recently I bougt a used Psion Revo and wanted to connect it
to my NetBSD box.

 I figured p3nfs <http://www.koeniglich.de/p3nfs.html>
<http://www.koeniglich.de/packages/p3nfs-5.16.tar.gz>
was the way to go. And happily found in the changlog that it
once ran on NetBSD, unfortunatly as of today it doesn't.

OS:     NetBSD i386 1.6
GCC:  gcc -v
	Using builtin specs.
	gcc version 2.95.3 20010315 (release) (NetBSD nb3)

It gets stuck at:

gcc -O2 -Wall -DDONT_UPDATE_MTAB -I.  -c mp_mount.c
mp_mount.c: In function `doexit':
mp_mount.c:226: warning: implicit declaration of function `close'
mp_mount.c:158: warning: unused variable `statb'
mp_mount.c: In function `dosystem':
mp_mount.c:239: warning: implicit declaration of function `vfork'
mp_mount.c:240: warning: implicit declaration of function `setgid'
mp_mount.c:241: warning: implicit declaration of function `setuid'
mp_mount.c:242: warning: implicit declaration of function `execl'
mp_mount.c: In function `mount_and_run':
mp_mount.c:269: storage size of `nfs_args' isn't known
mp_mount.c:278: warning: implicit declaration of function `bzero'
(Continue reading)

Ben Collver | 13 Feb 16:54 2005

Re: Connecting Psion to NetBSD, help needed

Hello,

Could you try the following patch?  It works for me in NetBSD 2.0.

http://backyard.homeunix.net/~ben/docs/comp/unix/netbsd/pkgsrc/nfsd-mp_mount.c.diff

Also, see pkgsrc/comms/plptools which may already do what you want.

Cheers,

Ben

On Sun, Feb 13, 2005 at 03:44:06PM +0100, Rudi Ludwig wrote:
> recently I bougt a used Psion Revo and wanted to connect it
> to my NetBSD box.
> 
>  I figured p3nfs <http://www.koeniglich.de/p3nfs.html>
> <http://www.koeniglich.de/packages/p3nfs-5.16.tar.gz>
> was the way to go. And happily found in the changlog that it
> once ran on NetBSD, unfortunatly as of today it doesn't.
> 
> OS:     NetBSD i386 1.6
> GCC:  gcc -v
> 	Using builtin specs.
> 	gcc version 2.95.3 20010315 (release) (NetBSD nb3)
> 
> It gets stuck at:
> 
> gcc -O2 -Wall -DDONT_UPDATE_MTAB -I.  -c mp_mount.c
> ...
(Continue reading)


Gmane