Marcin M. Jessa | 6 Apr 2010 23:53
Favicon

RB153 evbmips kernel won't load on RouterBoard 532

Hi guys.

I'm trying to boot evbarm kernel for RouterBoard 532 but the loader does
not accept either the ELF nor the srec kernels.
Any ideas what can be wrong?

Booting the ELF kernel:

RouterBOOT booter 1.5

RouterBoard 532

CPU frequency: 330 MHz
   Memory size:  32 MB

Press any key within 3 seconds to enter setup...
trying dhcp protocol........................ OK
resolved mac address 00:50:45:00:B1:D7
Gateway: 192.168.99.1
*********************transfer started ............*............*....
transfer ok, time=4.5s
setting up elf image... wrong architecture elf image
kernel loading failed

Booring SREC kernel:

trying dhcp protocol... OK
resolved mac address 00:50:45:00:B1:D7
Gateway: 192.168.99.1
transfer started .....................*....... transfer ok, time=1.6s
(Continue reading)

Simon Burge | 7 Apr 2010 01:59
Picon

Re: RB153 evbmips kernel won't load on RouterBoard 532

"Marcin M. Jessa" wrote:

> RouterBoard 532
> 
>  [ ... ]
>
> I am on CURRENT 5.99.26 and the kernel config is RB153 compiled with
> ./build.sh -m evbmips-eb -O /usr/mips/obj/ -T /usr/mips/tools/ kernel=RB153

I thought the RB532 little endian?  Does a kernel built with "-m evbmips-el"
work?

Cheers,
Simon.

Marcin M. Jessa | 7 Apr 2010 10:18
Favicon

Re: RB153 evbmips kernel won't load on RouterBoard 532

On 04/07/2010 01:59 AM, Simon Burge wrote:
> "Marcin M. Jessa" wrote:
>
>   
>> RouterBoard 532
>>
>>  [ ... ]
>>
>> I am on CURRENT 5.99.26 and the kernel config is RB153 compiled with
>> ./build.sh -m evbmips-eb -O /usr/mips/obj/ -T /usr/mips/tools/ kernel=RB153
>>     
>
> I thought the RB532 little endian?  Does a kernel built with "-m evbmips-el"
> work?

I tried the MALTA32 kernel but no love there either.
This is how I built it :
./build.sh -m evbmips-el -O /usr/evbmips-el/obj/ -T 
/usr/evbmips-el/tools/ tools kernel=MALTA32

The kernel seems to get loaded but I never get any output there.
I also tested different settings of serial console just to be sure.
My minicom and the RouterBOOT loader is set to the defaults of Yamon:
Bps/Par/Bits       : 115200 8N1

Gateway: 192.168.99.1
****************************************transfer started 
.......................*..... transfer ok, time=5.6s
setting up elf image... OK
jumping to kernel code
(Continue reading)

David Young | 7 Apr 2010 06:12
Picon
Favicon

Re: RB153 evbmips kernel won't load on RouterBoard 532

On Tue, Apr 06, 2010 at 11:53:06PM +0200, Marcin M. Jessa wrote:
> Hi guys.
> 
> I'm trying to boot evbarm kernel for RouterBoard 532 but the loader does
> not accept either the ELF nor the srec kernels.

The RouterBOARD 153 uses a MIPS SoC by Infineon.  The RouterBOARD 532
uses a MIPS SoC by IDT.  I think that even if the kernel for the 153
runs on the 532, it will be missing support for several important
integrated peripherals.

Dave

--

-- 
David Young             OJC Technologies
dyoung <at> ojctech.com      Urbana, IL * (217) 278-3933

Marcin M. Jessa | 7 Apr 2010 08:45
Favicon

Re: RB153 evbmips kernel won't load on RouterBoard 532

On 04/07/2010 06:12 AM, David Young wrote:
> On Tue, Apr 06, 2010 at 11:53:06PM +0200, Marcin M. Jessa wrote:
>   
>> Hi guys.
>>
>> I'm trying to boot evbarm kernel for RouterBoard 532 but the loader does
>> not accept either the ELF nor the srec kernels.
>>     
>
> The RouterBOARD 153 uses a MIPS SoC by Infineon.  The RouterBOARD 532
> uses a MIPS SoC by IDT.  I think that even if the kernel for the 153
> runs on the 532, it will be missing support for several important
> integrated peripherals.
>
> Dave
>
>   
Do we have support for the RB532 ? If so, what kernel config should I be 
using?
AFAIR FreeBSD supports that board but I never tested it before.

Cheers,
Marcin.

P.S I'm sorry for the double posting, the first email was sent from 
wrong address and I thought it was stopped.

David Young | 7 Apr 2010 17:43
Picon
Favicon

Re: RB153 evbmips kernel won't load on RouterBoard 532

On Wed, Apr 07, 2010 at 08:45:20AM +0200, Marcin M. Jessa wrote:
> On 04/07/2010 06:12 AM, David Young wrote:
> >On Tue, Apr 06, 2010 at 11:53:06PM +0200, Marcin M. Jessa wrote:
> >>Hi guys.
> >>
> >>I'm trying to boot evbarm kernel for RouterBoard 532 but the loader does
> >>not accept either the ELF nor the srec kernels.
> >
> >The RouterBOARD 153 uses a MIPS SoC by Infineon.  The RouterBOARD 532
> >uses a MIPS SoC by IDT.  I think that even if the kernel for the 153
> >runs on the 532, it will be missing support for several important
> >integrated peripherals.
> >
> >Dave
> >
> Do we have support for the RB532 ? If so, what kernel config should
> I be using?
> AFAIR FreeBSD supports that board but I never tested it before.

No, we don't support it.  I printed out the docs for the IDT SoC once,
but I never got around to 1) buying an RB532, let alone 2) hacking on
it.

Dave

--

-- 
David Young             OJC Technologies
dyoung <at> ojctech.com      Urbana, IL * (217) 278-3933

(Continue reading)


Gmane