netboot error on RB433--wrong architecture(0800 !=0008)
Luiz Otavio O Souza
lists.br at gmail.com
Fri May 9 14:30:49 UTC 2014
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
>>
>>
>
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: RB433.hints
Type: application/octet-stream
Size: 1849 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-mips/attachments/20140509/d9d87094/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: RB433U
Type: application/octet-stream
Size: 892 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-mips/attachments/20140509/d9d87094/attachment-0001.obj>
More information about the freebsd-mips
mailing list