Skip to contentSkip to conversation

Linux for RouterBoard532 - CPU MIPS32 4Kc - IDT 79RC32434.

DISCUSSION [email protected] 5 participants 7 messages Apr 16, 2005 – Apr 19, 2005 MIPS

lore
Share & tools
lore
#0 lore raw

Hi,

I´d just bought Routerboard532 (
http://www.routerboard.com/rb500.html ) and I want to port linux to this board. The vendor has just an linux image on the web site.

Anyone could help me we some info or "HOWTO" ?

Board Info:

- CPU MIPS32 4Kc - IDT 79RC32434;

- 32MB DDR onboard memory chip;

- 64MB onboard NAND memory chip;

- One IDT Korina 10/100 Mbit/s Fast Ethernet port supporting Auto-MDI/X
Two VIA VT6105 10/100 Mbit/s Fast Ethernet ports supporting Auto-MDI/X.

Best Regards,

Alessandro Cordova

#1 lore raw

On Sat, 2005-04-16 11:33:45 -0300, [email protected] <[email protected]> wrote in message <[email protected]>:

Quoted 4 lines

I´d just bought Routerboard532 (
http://www.routerboard.com/rb500.html ) and I want to port linux to this board. The vendor has just an linux image on the web site.

No need to "port" Linux to this board, since obviously the vendor already did this for you. Just ask him for all the sources needed for the bootloader and at least the kernel stuff. He needs to supply these to you, as forced by the GPLv2... In the above link, the vendor already states that a Debian reference image as well as sources are available. Just ask them for this!

MfG, JBG

Signature · 4 lines
Jan-Benedict Glaw       [email protected]    . +49-172-7608481             _ O _
"Eine Freie Meinung in  einem Freien Kopf    | Gegen Zensur | Gegen Krieg  _ _ O
 fuer einen Freien Staat voll Freier Bürger" | im Internet! |   im Irak!   O O O
ret = do_actions((curr | FREE_SPEECH) & ~(NEW_COPYRIGHT_LAW | DRM | TCPA));
#2 lore raw
Quoted 1 line

He needs to supply these to you, as forced by the GPLv2...

You don't even need to point that out. IDT is quite pleasant to work with as a company, I can say that even as a hobbyist. They don't make problems about Linux kernel source. I just wonder why don't they let us merge it.

Stanislaw

#3 lore raw
In reply to [email protected]
Quoted 5 lines · In message <[email protected]> you wrote:

I´d just bought Routerboard532 (
http://www.routerboard.com/rb500.html ) and I want to port linux to this board. The vendor has just an linux image on the web site.

This is not correct. If you just scroll down the page you listed
yoursself, then you should easily find the section titled
"RouterBOARD 500 GNU/Linux support files" which includes a link to "Patch for Linux 2.4.29 kernel".

Quoted 1 line

Anyone could help me we some info or "HOWTO" ?

Download the patch, download the corresponding kernel source tree, apply patch, copy "config.mipsel" to ".config" to get a default configuration, build the kernel, download it, run it.

So far I haven't been able to find out how to pass kernel arguments with their boot loader, so you may have to hack rc32434/rb500/prom.c

I used the mips_4KCle packages of the ELDK to build the kernel and to provide a root filesystem over NFS - this worked fine. There are some problems (like not being able to switch the CPU clock and NAND flash support not working at all), but it boots and runs.

Best regards,

Wolfgang Denk

Signature · 4 lines
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: [email protected]
The IQ of the group is the lowest IQ of a member of the group divided
by the number of people in the group.
#4 lore raw

I work for MikroTik and we make the RB500. We are trying to add more documentation to make it easy to do more things with Linux. At the moment, the CF image at least lets you quickly start on developing Linux applications. Allot of what you need can be figured out from the kernel patch on the specs page for the RB500 at www.routerboard.com , but that is not so much fun. We will add more documentation on the NAND device and such features. So, please check the site and I can also write to this list as we add more info.

John
www.mikrotik.com

Quoted 35 lines · Wolfgang Denk
Quoted 5 lines · In message <[email protected]> you wrote:

I´d just bought Routerboard532 (
http://www.routerboard.com/rb500.html ) and I want to port linux to this board. The vendor has just an linux image on the web site.

This is not correct. If you just scroll down the page you listed
yoursself, then you should easily find the section titled
"RouterBOARD 500 GNU/Linux support files" which includes a link to "Patch for Linux 2.4.29 kernel".

Quoted 1 line

Anyone could help me we some info or "HOWTO" ?

Download the patch, download the corresponding kernel source tree, apply patch, copy "config.mipsel" to ".config" to get a default configuration, build the kernel, download it, run it.

So far I haven't been able to find out how to pass kernel arguments with their boot loader, so you may have to hack rc32434/rb500/prom.c

I used the mips_4KCle packages of the ELDK to build the kernel and to provide a root filesystem over NFS - this worked fine. There are some problems (like not being able to switch the CPU clock and NAND flash support not working at all), but it boots and runs.

Best regards,

Wolfgang Denk

--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: [email protected] The IQ of the group is the lowest IQ of a member of the group divided by the number of people in the group.

#5 lore raw
Quoted 8 lines · In message <[email protected]> you wrote:

I work for MikroTik and we make the RB500. We are trying to add more documentation to make it easy to do more things with Linux. At the moment, the CF image at least lets you quickly start on developing Linux applications. Allot of what you need can be figured out from the kernel patch on the specs page for the RB500 at www.routerboard.com , but that is not so much fun. We will add more documentation on the NAND device and such features. So, please check the site and I can also write to this list as we add more info.

Thanks. Just two more questions now:

* Are you working on a 2.6.x version ?

* Is the NAND flash support supposed to be working? All I can get from it is only error messages.

Best regards,

Wolfgang Denk

Signature · 4 lines
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: [email protected]
Anyone can count the seeds in an apple.
No one can count the apples in a seed.
#6 lore raw
Quoted 9 lines · Wolfgang Denk
Quoted 2 lines · In message <[email protected]> you wrote:

I work for MikroTik and we make the RB500. We are trying to add more documentation to make it easy to do more things with Linux. At the

moment,

Quoted 5 lines

the CF image at least lets you quickly start on developing Linux applications. Allot of what you need can be figured out from the kernel patch on the specs page for the RB500 at www.routerboard.com , but that is not so much fun. We will add more documentation on the NAND device and such features. So, please check the site and I can also write to this

Quoted 6 lines

list

Quoted 1 line

as we add more info.

Thanks. Just two more questions now:

* Are you working on a 2.6.x version ?

No, maybe you would like to work on that.

Quoted 2 lines

* Is the NAND flash support supposed to be working? All I can get from it is only error messages.

Yes, it works. I will try to organize some more docs on this in a week or so.

John
www.mikrotik.com

Quoted 9 lines

Best regards,

Wolfgang Denk

--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: [email protected] Anyone can count the seeds in an apple.
No one can count the apples in a seed.