Kevin Bowling | 1 Jul 2010 14:53
Gravatar

GCC removing support for PPC 601

How will NetBSD handle premature removal of backends?  Is there any
plan to upgrade the current GCC compiler, or will NetBSD attempt to
move to PCC or LLVM for kernel compilation?

This will drop support for PPC601, RSC, POWER1 and POWER2 (the last 3
used by rs6000 port).

I set off a minor storm by accident here
http://gcc.gnu.org/ml/gcc/2010-06/msg00811.html.  Granted, I'm not the
most diplomatic of people.

Regards,
Kevin

Bob Lee | 7 Jul 2010 03:54
Favicon

Problems with NetBSD 5.0.x stable evbppc/ev64260

	We have a board that is based on the ev64260 evaluation board.  We have a working port for our board on
NetBSD4.  However, trying to move forward to NetBSD5, I ran into some problems that had no apparent
solution in the ev64260 sources.

	1) clock setup -- I had to directly initialize ticks_per_sec and ns_per_tick.
	2) IPL_SERIAL is now equal to IPL_HIGH, and as such when I attempted to add a serial console (on board
16550a), arch/powerpc/marvell/extinter.c would not establish the interrupt as it was equal to
IPL_HIGH (set in sys/intr.h -- so I wasn't comfortable just modifying that... so I modified extinter.c).
	3) I've hacked my way around these two issues, but now, init processes /.profile, and will print 1 fifo's
worth of output.  Can't break into ddb with a break, and the shell gets no input.
	So, I looked at current, and it has moved quite a bit (all good looking changes, but probably a bit much for us
to take at this point).  Is the board port working for NetBSD5?  And any ideas of what I've missed (including
proper answers to my hacks above).

Thanks,
- bob

Toru Nishimura | 7 Jul 2010 14:00

Re: Problems with NetBSD 5.0.x stable evbppc/ev64260

Bob Lee <glee%force10networks.com <at> localhost> asked;

> We have a board that is based on the ev64260 evaluation board.  We have 
> a working port for our board on NetBSD4.  However, trying to move forward to 
> NetBSD5, I ran into some problems that had no apparent solution in the ev64260 
> sources.
>
> ...
>
> 2) IPL_SERIAL is now equal to IPL_HIGH, and as such when I attempted to 
> add a serial console (on board 16550a), arch/powerpc/marvell/extinter.c would 
> not establish the interrupt as it was equal to IPL_HIGH (set in sys/intr.h -- 
> so I wasn't comfortable just modifying that... so I modified extinter.c).

NetBSD/powerpc had a major interrupt scheme rework around 2007 of post-NB4 era.
Commit log says;

---
date: 2007/10/17 19:56:40;  author: garbled;  state: Exp;  lines: +125 -0
branches:  1.2.2;  1.2.4;  1.2.6;  1.2.8;
Merge the ppcoea-renovation branch to HEAD.

This branch was a major cleanup and rototill of many of the various OEA
cpu based PPC ports that focused on sharing as much code as possible
between the various ports to eliminate near-identical copies of files in
every tree.  Additionally there is a new PIC system that unifies the
interface to interrupt code for all different OEA ppc arches.  The work
for this branch was done by a variety of people, too long to list here.

TODO:
(Continue reading)

Matt Thomas | 9 Jul 2010 23:34
Picon

Routerboard 800: initial boot

NetBSD booting on the Routerboard 800.  Somethings need to be fixed but it's enough to get the network working.

RouterBOOT booter 2.27

RouterBoard 800

CPU frequency: 800 MHz
  Memory size: 256 MB

Press any key within 4 seconds to enter setup....
trying bootp protocol... OK
Got IP address: 192.168.7.28
resolved mac address 00:30:48:65:CC:6D
transfer started ....................................*............. transfer ok, time=3.45s
setting up elf image... OK
jumping to kernel code
 initppc<enter> porpllsr=0x00c4000c sys_clk=66666667 comcnfreq=400000002 openpic-reset(ctpr=15)
cache(DC=32/32,IC=32/32) memprobe=256MB e500_tlbinit(0x63e000,256MB) hid0=0/0x80004000
hid1=0xc4001000 msgbuf=0xfffe000 exception_init=0x2409b8
uvm_page_physload(0x63e,0xfffd,0x63e,0xfffd,0) kern_segtab=0x63e000powerpc_fixup_stubs: 640
fixups done in 562960 cycles
 initppc done!
Loaded initial symtab at 0x294398, strtab at 0x2bb69c, # entries 9934
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
    2006, 2007, 2008, 2009, 2010
    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 5.99.29 (RB800) #166: Fri Jul  9 14:16:39 PDT 2010
(Continue reading)

Катя | 10 Jul 2010 11:27
Picon

pohudet s pomoschyu


http://n2b.gu.ma/

Frank Wille | 11 Jul 2010 11:01
Picon

Re: Routerboard 800: initial boot

Matt Thomas wrote:

> NetBSD booting on the Routerboard 800.  Somethings need to be fixed but
> it's enough to get the network working.
> [...]

That's great! Congratulations!

> cpu0: 800 MHz MPC8544 1.1 with an e500v2 2.2 core, ID 0 (Primary)

BTW, does that mean that we also support MPC8543 and 8533 based systems now?
I have some nice Synology NAS systems in mind. :)

--

-- 
Frank Wille

Matt Thomas | 11 Jul 2010 18:38

Re: Routerboard 800: initial boot


On Jul 11, 2010, at 2:01 AM, Frank Wille wrote:

> Matt Thomas wrote:
> 
>> NetBSD booting on the Routerboard 800.  Somethings need to be fixed but
>> it's enough to get the network working.
>> [...]
> 
> That's great! Congratulations!
> 
> 
>> cpu0: 800 MHz MPC8544 1.1 with an e500v2 2.2 core, ID 0 (Primary)
> 
> BTW, does that mean that we also support MPC8543 and 8533 based systems now?
> I have some nice Synology NAS systems in mind. :)

Yes.  When this stuff get committed, those should work.

Gmane