Subject: Re: Running NetBSD on Netgear appliances
To: None <tech-ports@NetBSD.org>
From: Matthias Scheler <tron@zhadum.de>
List: tech-ports
Date: 01/04/2005 19:13:01
In article <7FB17951357F434FA9C14522522BA59B554269@dcl-ex.dcml.docomolabs-usa.com>,
	"Jun Sun" <jsun@docomolabs-usa.com> writes:
> "Rockhopper" was once used by NEC for their development board,
> supporting (MIPS) Vr5432, Vr5500 and Vr7700.  Those CPUs do support MMU.

Great. But does NetBSD support them?

>> The DG834G apparently has a MIPS CPU because the Linux kernel sources
>> (they are in a directory called "linux-2.4.17_mvl21") only contain
>> "arch/mips".
> 
> The distro is mvista linux v2.1.  Check .config file under the top of
> the tree and you will find out which board and which CPU is configured
> here.

Let's see:

CONFIG_MIPS=y
CONFIG_EXPERIMENTAL=y
CONFIG_MIPS_MALTA=y
[...]
CONFIG_GENERIC_ISA_DMA=y
CONFIG_I8259=y
CONFIG_PCI=y
CONFIG_HAVE_STD_PC_SERIAL_PORT=y
CONFIG_NEW_IRQ=y
CONFIG_NONCOHERENT_IO=y
CONFIG_SWAP_IO_SPACE=y
CONFIG_MODULES=y
CONFIG_KMOD=y
CONFIG_CPU_MIPS32=y
CONFIG_CPU_HAS_LLSC=y
CONFIG_CPU_LITTLE_ENDIAN=y
[...]
CONFIG_NET_PCI=y
CONFIG_PCNET32=y
[...]


>> Porting NetBSD especially to the DG834G would be cool.
> Drivers might be an issue ...

Looks like sources for the 802.11g NIC (which I don't care about) and the
DSL modem (which I need) are missing.

> ... but other stuff (timer, irq, CPU, etc) should be easy.

Yes, looks like a PC interrupt controler, com(4) serial ports and
pcn(4) ethernet to me.

	Kind regards

-- 
Matthias Scheler                                  http://scheler.de/~matthias/