netboot error on RB433--wrong architecture(0800 !=0008)
陆欣慰
luxinweiandy at gmail.com
Sat May 10 03:27:53 UTC 2014
Great works done by Luiz!
2014-05-09 22:30 GMT+08:00 Luiz Otavio O Souza <lists.br at gmail.com>:
> With the changes committed up to r265775 (and with the attached kernel
> and hints), me and Andy were able to boot ours RB433[U]AH.
>
> Thanks Andy for the help with the tests.
>
> Luiz
>
> On 29 April 2014 01:54, 陆欣慰 <luxinweiandy at gmail.com> wrote:
> >
> > Sorry to trouble you again.
> > I have tried your kernel file and hint file and set the TARGET_ARCH to
> mips, but I failed again.
> > At first, I got this error:
> >
> > It told it's not a 64-bit elf image and I think maybe that is because my
> system on PC is 64-bit, so I install FreeBSD10.0-i386 on my PC and try
> again. This time I got a new error as follows:
> >
> > It told me again with the wrong architecture but in the bracket pair the
> information is different at first. It said 0300!=0008. I have been confused
> with these architecture.
> >
> > Could you offer some help again?
> >
> > Thanks!
> >
> > Andy Matos
> >
> >
> > 2014-04-23 21:59 GMT+08:00 Luiz Otavio O Souza <lists.br at gmail.com>:
> >
> >> On 22 April 2014 23:35, 陆欣慰 wrote:
> >>>
> >>> Ah, bad news[?]
> >>>
> >>> But where could I get the new instructions or just wait for the wiki to
> >>> update?
> >>> Could you give some detail steps to build a kernel for mips routerboard
> >>> like RB433?
> >>
> >>
> >> Sorry for the delay, $work calls :/
> >>
> >> You are building little endian code while ar71xx expects big endian
> code. Just replace the value of TARGET_ARCH to 'mips' (instead of 'mipsel')
> and you will get a working kernel.
> >>
> >> I'm attaching a RB433 kernel and hints, but the resulting kernel is
> actually to big to (fully) work and i could not yet spend the time to track
> down what can be stripped off.
> >>
> >> Cheers,
> >> Luiz
> >>
> >>
> >
> >
>
More information about the freebsd-mips
mailing list