der Mouse | 5 Mar 2007 06:17
Picon

3.1 can't selfhost??

I have a WorkPad z50, which I have booting 3.1 (diskless, for the time
being).  As usual, the first thing I did when I got it working from the
release binaries was to try to rebuild from source.

In this case, that meant first building a kernel and rebooting from it,
which went fine.  Then I created ~/DESTDIR and ~/OBJDIR and running

===> build.sh command: ./build.sh -D /home/mouse/DESTDIR -O /home/mouse/OBJDIR -U build

This ticked along nicely for about a day and a half, then fell over:

do-lib-libc ===> .
dependall ===> lib/libc
#      yacc  libc/nsparser.c
...many lines snipped...
#     build  libc/libc.so.12.128.2
rm -f libc.so.12.128.2
/home/mouse/OBJDIR/tooldir.NetBSD-3.1-mipsel/bin/mipsel--netbsd-gcc [...]
ln -sf libc.so.12.128.2 libc.so.12.tmp
mv -f libc.so.12.tmp libc.so.12
ln -sf libc.so.12.128.2 libc.so.tmp
mv -f libc.so.tmp libc.so
#   compile  libc/llib-lc.ln
rm -f llib-lc.ln
CC=/home/mouse/OBJDIR/tooldir.NetBSD-3.1-mipsel/bin/mipsel--netbsd-gcc
/home/mouse/OBJDIR/tooldir.NetBSD-3.1-mipsel/bin/mipsel--netbsd-lint -Cc Lint_bswap16.ln
Lint_bswap32.ln Lint_swapcontext.ln Lint_htonl.ln Lint_htons.ln Lint_ntohl.ln Lint_ntohs.ln
Lint_Ovfork.ln [...many more...]
Lint pass2:
mipsel--netbsd-lint2: input file error: sysconf.ln
(Continue reading)

Andy Ruhl | 5 Mar 2007 14:59
Picon

Re: 3.1 can't selfhost??

On 3/4/07, der Mouse <mouse <at> rodents.montreal.qc.ca> wrote:
> Is 3.1 hpcmips known to self-host, in which case I should be digging
> locally to find out why it isn't working for me?  Or is this a real
> bug?
>
> I'm going to empty out DESTDIR and OBJDIR and try again, but I expect
> it to take another day and a half before I have any results.

There was another guy on the list doing pkgsrc builds (the whole
thing) on an NEC Mobilepro 780. I know it's not comparing apples to
apples, but it's proof that hpcmips can handle some compile load on
some machine.

I can give it a shot on my 880. What branch of source are you trying
to build? What commands are you using (did you build tools first,
etc)?

FYI, I built the entire current tree a few weeks ago on my Cobalt
Qube2. It's also mipsel. Might be some kind of machine problem
particular to your machine.

Andy

der Mouse | 14 Mar 2007 01:32
Picon

NFS crasher bug?

This is under 3.1, a rebuilt kernel but built from absolutely stock
source and the stock GENERIC config file.

On my WorkPad, running diskless, I did a bulid of the world.  (This
took about a week....)  Today, to put it on a CF card, I first created
a file (on the NFS server) containing a dd image of the CF card.  Then
I did "vnconfig vnd0 /wd0.image" and did a newfs of vnd0a, then mounted
it on /mnt.  Semeed to work.  So I started to do an install of the
build, into /mnt (env USETOOLS=yes TOOLDIR=... ./build.sh -D ... -O ...
-U install=/mnt).

This started, but after no more than a few minutes the machine crashed:

trap: TLB miss (load or instr. fetch) in kernel mode
status=0xf803, cause=0x8, epc=0x800af274, vaddr=0x0
pid=882 cmd=vnd0 usp=0x0 ksp=0xc54a1d40
Stopped in pid 882.1 (vnd0) at  netbsd:nfs_asynco:0x5cc:       lw      v0,28(v0)
db> 

This happened once before; that time, I had the ffs mounted -o async,
so I tried this time without that.  The first time, when I told ddb to
"reboot", it failed; a second "reboot" reset the machine and I had to
come back in through wince.  This time, "reboot" worked; kloader
managed to load /netbsd OK and it rebooted nicely.

What's wrong here?  Does layering vnd atop nfs just not work, or is
there something more to it?  The whole file exists (it doesn't have any
holes), though that shouldn't matter over NFS AIUI.  Clearly NFS per se
is not respnosible, or it wouldn't've stayed up for a week doing the
build of the world and then crashed within minutes of my doing this;
(Continue reading)

giacomomariani | 21 Mar 2007 17:47
Picon
Favicon
Gravatar

ROM upgrade from nec Mobilepro 780 to 790

Hi every one,
this is my first mail and I know that my English is bad so excuse me.
I have a NEC Mobilepro 780 with netBSD 3.1 on a 1 GB CF, wonderful:
I can connect via ep0, mount a nfs partition and use seamonkey thank to 
ssh -X.
Now I have bought a ROM  (the one of the Mobilepro 790) which has a
newer window$ version (not very intresting) and (I read) 16MB of unusable
(on the Mobilepro 780) flash memory.
My answer is: anyone know how to access to that memory?
Thank you very much Giacomo
Chiacchiera con i tuoi amici in tempo reale! 
 http://it.yahoo.com/mail_it/foot/*http://it.messenger.yahoo.com 

Mirco Piccin | 22 Mar 2007 16:01
Picon

Re: ROM upgrade from nec Mobilepro 780 to 790

Hi Giacomo.

On 3/21/07, giacomomariani <giacomomariani <at> yahoo.it> wrote:
I have a NEC Mobilepro 780 with netBSD 3.1 on a 1 GB CF


You probably need to look at

http://www.netbsd.org/Ports/hpcmips/

that is the netbsd port for PDA, or better at

http://www.handhelds.org

[at url http://www.handhelds.org/moin/moin.cgi/SupportedHandheldSummary you can find device and status], that is the best start point if you aim to work with linux on PDA.
Hope it helps you!

Bye



 

 


Mirco Piccin | 22 Mar 2007 18:44
Picon

Re: ROM upgrade from nec Mobilepro 780 to 790

Excuse all me, i was silly and don't see from which mailing list was originated the message of Giacomo.
Delete my emails , pls :-)

Next time i'll be more interesting, i promise!
M

On 3/22/07, Mirco Piccin <pictux <at> gmail.com> wrote:
Hi Giacomo.

On 3/21/07, giacomomariani < giacomomariani <at> yahoo.it> wrote:
I have a NEC Mobilepro 780 with netBSD 3.1 on a 1 GB CF


You probably need to look at

http://www.netbsd.org/Ports/hpcmips/

that is the netbsd port for PDA, or better at

http://www.handhelds.org

[at url http://www.handhelds.org/moin/moin.cgi/SupportedHandheldSummary you can find device and status], that is the best start point if you aim to work with linux on PDA.
Hope it helps you!

Bye



 

 



giacomomariani | 22 Mar 2007 18:49
Picon
Favicon
Gravatar

Re: ROM upgrade from nec Mobilepro 780 to 790

Mirco Piccin wrote:
> Hi Giacomo.
>
> On 3/21/07, *giacomomariani* <giacomomariani <at> yahoo.it 
> <mailto:giacomomariani <at> yahoo.it>> wrote:
>
>     I have a NEC Mobilepro 780 with netBSD 3.1 on a 1 GB CF
>
>
>
> You probably need to look at
>
> http://www.netbsd.org/Ports/hpcmips/
>
> that is the netbsd port for PDA, or better at
>
> http://www.handhelds.org
>
> [at url 
> http://www.handhelds.org/moin/moin.cgi/SupportedHandheldSummary 
> <http://www.handhelds.org/moin/moin.cgi/SupportedHandheldSummary> you 
> can find device and status], that is the best start point if you aim 
> to work with linux on PDA.
> Hope it helps you!
>
> Bye
>
Thank you for your quick answer.
I just know that sites and my Mobilepro is just running netbsd 3.1.
What I don't know is how to access the 16MB of flash memory that must by 
on my new RAM (the one of a Mobilepro 790)
that are nor seen by win or bsd.
Thank you very much and again  I hope you excuse my english.
Giacomo

Forest Bond | 23 Mar 2007 13:42
Gravatar

Re: ROM upgrade from nec Mobilepro 780 to 790

Hi Giacomo,

On Thu, Mar 22, 2007 at 06:49:44PM +0100, giacomomariani wrote:
> What I don't know is how to access the 16MB of flash memory that must by 
> on my new RAM (the one of a Mobilepro 790)
> that are nor seen by win or bsd.

I don't believe this is flash memory, but actually factory-programmed ROM.  You
can't change its contents, AFAIK.  (Unless your MP790 is different from my
MP780).

-Forest
Rory O"C | 23 Mar 2007 16:16
Picon

Re: ROM upgrade from nec Mobilepro 780 to 790

Forest Bond wrote:

>Hi Giacomo,
>
>On Thu, Mar 22, 2007 at 06:49:44PM +0100, giacomomariani wrote:
>  
>
>>What I don't know is how to access the 16MB of flash memory that must by 
>>on my new RAM (the one of a Mobilepro 790)
>>that are nor seen by win or bsd.
>>    
>>
>
>I don't believe this is flash memory, but actually factory-programmed ROM.  You
>can't change its contents, AFAIK.  (Unless your MP790 is different from my
>MP780).
>
>-Forest
>  
>
A bit of both (mostly flash, though) per this review at
http://hpcnec.com/cgi-bin/simpleforum.cgi?fid=10&topic_id=1148583160

"New to the MobilePro 790 is 16 Mb of non-volatile Flash ROM. 14 Mb can 
be used for backup, additional storage, or software applications. 2 Mb 
is reserved for Windows CE application and operating system patches. 
Thanks to this permanent storage feature, I didn't have to worry about 
my battery running out of juice during my airport delays—I kept saving 
this review into the predefined folder named "Internal Flash ROM." As 
with other Handheld and Pocket PCs, an additional 32 Mb of RAM is used 
both for storage and for system memory. That means that, in most cases, 
at least 16 Mb of internal RAM is available for storage. "

One other fact I can tell you: if you put the 790 ROM chip in a 880 to 
make it a "890" (for WinCE HPC 2000 "upgrade"), it seems to disable the 
USB port for NetBSD 3.1, which I found out the hard way. When I put the 
880 ROM back in, the USB started working again.

Rory

giacomomariani | 23 Mar 2007 16:26
Picon
Favicon
Gravatar

Re: ROM upgrade from nec Mobilepro 780 to 790

Forest Bond wrote:
> Hi Giacomo,
>
> On Thu, Mar 22, 2007 at 06:49:44PM +0100, giacomomariani wrote:
>   
>> What I don't know is how to access the 16MB of flash memory that must by 
>> on my new RAM (the one of a Mobilepro 790)
>> that are nor seen by win or bsd.
>>     
>
> I don't believe this is flash memory, but actually factory-programmed ROM.  You
> can't change its contents, AFAIK.  (Unless your MP790 is different from my
> MP780).
>
> -Forest
>   
I'm sorry for "RAM", I intended flashROM...
To better explain my hope may be these two links are good:

http://www.pdastreet.com/forums/archive/index.php/t-35156.html

http://www.hpcnec.com/cgi-bin/simpleforum.cgi?fid=08&topic_id=1149598244

In my opinion the flashROM must exist  on the chip and, if the rest of 
the hardware is really the same
between 780 and 790, I think that there must be some jumper.
What 's your opinion?
Thank you very much Giacomo

Chiacchiera con i tuoi amici in tempo reale! 
 http://it.yahoo.com/mail_it/foot/*http://it.messenger.yahoo.com 


Gmane