Subject: Re: help: routerboard 532 with NetBSD
To: Marcin Jessa <lists@yazzy.org>
From: Garrett D'Amore <garrett_damore@tadpole.com>
List: tech-embed
Date: 11/22/2005 11:26:52
Marcin Jessa wrote:
>On Fri, 28 Oct 2005 12:43:24 -0700
>"Garrett D'Amore" <garrett_damore@tadpole.com> wrote:
>
>
>
>>I don't know for sure, but I'd first guess that you want to check the
>>endianness.
>>
>>
>
>According to http://www.cosam.org/computers/hardware/rb500.html
>it's little-endian MIPS architecture.
>
>
So make sure that you build a mipsel image. This can just be part of
our standard kernel config, actually.
>The routerboard.com website says it's a "MIPS 32 4Kc based 266MHz (BIOS
>adjustable from 200 to 333 MHz; 400MHz processsor factory option)
>embedded processor"
>
>
>
>>The pb1000 image is almost certainly wrong -- start with the Malta
>>image, I'd think.
>>
>>It also doesn't look like you have yamon, so I'm doubtful that
>>evbmips is the right port for you. (Unless "RouterBOOT" is somehow
>>yamon based, or at least provides the same vector entry points for
>>console io and environment variable format.)
>>
>>
>
>What is yamon? Reading at www.routerboard.com could you determine what
>port would be the propriate one for this board?
>
>Marcin
>
>
yamon is MIPS' boot load/prom monitor that MIPS sublicenses to other
companies.
It looks like these have their own boot monitor, and without detailed
technical specs I can't tell which port would be the best baseline.
evbmips isn't a bad first choice, I think. You could probably also
look at algor.
Unfortunately, evbmips (and Alchemy in particular) is really the only
NetBSD port I have experience with, and I'm still pretty new to NetBSD
itself.
-- Garrett
>
>
>>Tomas D wrote:
>>
>>
>>
>>>Hi, I've just bought Routerboard 532
>>>( http://www.routerboard.com/images/rb532_s.jpg ) for those who
>>>don't know it's MIPS 32 4Kc based board with IDT's
>>>( http://www.idt.com/ ) mips processor. Board itself has 32mb of ram
>>>and 266mhz cpu.
>>>
>>>I'm trying to netboot this board and here are the results...
>>>
>>>Trying to load kernel from:
>>>ftp.netbsd.org/pub/NetBSD-daily/netbsd-3/200510200000Z/evbmips-mipseb/binary/kernel
>>>
>>>RouterBOOT booter 1.5
>>>
>>>RouterBoard 532
>>>
>>>CPU frequency: 264 MHz
>>> Memory size: 32 MB
>>>
>>>Press any key within 5 seconds to enter setup.....
>>>trying dhcp protocol... OK
>>>resolved mac address 00:50:8D:48:0D:90
>>>transfer started .................. transfer ok, time=0.7s
>>>setting up elf image... wrong architecture elf image
>>>kernel loading failed
>>>gave up loading other kernels because obviously it's wrong arch.
>>>
>>>so I had a go on:
>>>ftp.netbsd.org/pub/NetBSD-daily/netbsd-3/200510200000Z/evbmips-mipsel/binary/kernel
>>>
>>>booting netbsd malta, pb1000 and aumac kernels I've got following:
>>>RouterBOOT booter 1.5
>>>
>>>RouterBoard 532
>>>
>>>CPU frequency: 264 MHz
>>> Memory size: 32 MB
>>>
>>>Press any key within 5 seconds to enter setup.....
>>>trying dhcp protocol... OK
>>>resolved mac address 00:50:8D:48:0D:90
>>>transfer started .................. transfer ok, time=0.7s
>>>setting up elf image... OK
>>>jumping to kernel code
>>>and here it just stops and does nothing... (pressing space and all
>>>other buttons did not make any affect on it)
>>>
>>>
>>>booting netbsd.srec* kernels I've got following:
>>>RouterBOOT booter 1.5
>>>
>>>RouterBoard 532
>>>
>>>CPU frequency: 264 MHz
>>> Memory size: 32 MB
>>>
>>>Press any key within 5 seconds to enter setup.....
>>>trying dhcp protocol.... OK
>>>resolved mac address 00:50:8D:48:0D:90
>>>transfer
>>>started .....................................................
>>>transfer ok, time=2.0s setting up elf image... not an elf header
>>>kernel loading failed
>>>
>>>I was trying to boot other MIPS netbsd ports, I think 2 or so gave
>>>last line as: jumping to kernel code
>>>others, would complain:
>>>setting up elf image... wrong architecture elf image
>>>
>>>
>>>if anyone would have any idea where to go from here to get netbsd
>>>working on this board I'd much appreciate it, I'm sure there are
>>>plenty of people who just hang there and wait for somebody to get
>>>netbsd running on this little beast and then they'll get one for
>>>themselves. Debian is runnin on it so I guess there's no reason why
>>>NetBSD shouldn't.
>>>
>>>p.s. openbsd runs on it too.
>>>
>>>
>>>
>>>__________________________________
>>>Start your day with Yahoo! - Make it your home page!
>>>http://www.yahoo.com/r/hs
>>>
>>>
>>>
>>>
--
Garrett D'Amore http://www.tadpolecomputer.com/
Sr. Staff Engineer Extending the Power of 64-bit UNIX Computing
Tadpole Computer, Inc. Phone: (951) 325-2134