Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 9 May 2014 11:30:44 -0300
From:      Luiz Otavio O Souza <lists.br@gmail.com>
To:        =?UTF-8?B?6ZmG5qyj5oWw?= <luxinweiandy@gmail.com>
Cc:        Andy <luxinweiandy@hotmail.com>, "freebsd-mips@freebsd.org" <freebsd-mips@freebsd.org>
Subject:   Re: netboot error on RB433--wrong architecture(0800 !=0008)
Message-ID:  <CAB=2f8xW6nPmyg44adH%2BKsn6KikbGgWtReF4gF40JPCuUi%2BVPg@mail.gmail.com>
In-Reply-To: <CAFR4v_v1KevcvAqg-L_gTAHUH1PphvV5Rv=eCXq3kwh2yJsyCQ@mail.gmail.com>
References:  <1398070819674-5905259.post@n5.nabble.com> <CAJ-VmonXiWLexzfajfJoSXyd4NpfNbvSR5ndgRCrbLFSmQUhQw@mail.gmail.com> <CAFR4v_tr97=o2-WtWVp-SGq5NM_uGQaMTTgSeCQF=LFy8ocL5g@mail.gmail.com> <CAB=2f8y_WdoKRcjracBdkOuyv3n8mG7d42z2rcFUP2snyBfL1w@mail.gmail.com> <CAFR4v_v1KevcvAqg-L_gTAHUH1PphvV5Rv=eCXq3kwh2yJsyCQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
--f46d0438917574bf0e04f8f871af
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

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, =E9=99=86=E6=AC=A3=E6=85=B0 <luxinweiandy@gmail.com=
> wrote:
>
> Sorry to trouble you again.
> I have tried your kernel file and hint file and set the TARGET_ARCH to mi=
ps, 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 agai=
n. 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!=3D0008. I have been confus=
ed 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@gmail.com>:
>
>> On 22 April 2014 23:35, =E9=99=86=E6=AC=A3=E6=85=B0 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 actu=
ally to big to (fully) work and i could not yet spend the time to track dow=
n what can be stripped off.
>>
>> Cheers,
>> Luiz
>>
>>
>
>

--f46d0438917574bf0e04f8f871af
Content-Type: application/octet-stream; name="RB433.hints"
Content-Disposition: attachment; filename="RB433.hints"
Content-Transfer-Encoding: base64
X-Attachment-Id: f_huzkrh5n0

IyAkRnJlZUJTRDogaGVhZC9zeXMvbWlwcy9jb25mL1JTUFJPLmhpbnRzIDIzNTY2MSAyMDEyLTA1
LTE5IDIwOjExOjE4WiBhZHJpYW4gJAoKIyBhcmdlMCBtZGlvIGJ1cwpoaW50LmFyZ2VtZGlvLjAu
YXQ9Im5leHVzMCIKaGludC5hcmdlbWRpby4wLm1hZGRyPTB4MTkwMDAwMDAKaGludC5hcmdlbWRp
by4wLm1zaXplPTB4MTAwMApoaW50LmFyZ2VtZGlvLjAub3JkZXI9MAoKIyBhcmdlMDogbmFpbCB0
byAxMDAvZnVsbCwgTUlJIC0gY29ubmVjdGVkIHRvIHRoZSBzd2l0Y2gKaGludC5hcmdlLjAubWVk
aWE9MTAwCQkjIE1hcCB0byAxMDAvZnVsbApoaW50LmFyZ2UuMC5mZHVwbGV4PTEJCSMKaGludC5h
cmdlLjAubWlpbW9kZT0yCQkjIE1JSQpoaW50LmFyZ2UuMC5waHltYXN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gYXJlIHRoZSBHUElPIExFRHMgYW5kIGJ1dHRvbnMgd2hpY2ggY2Fu
IGJlIHNvZnR3YXJlIGNvbnRyb2xsZWQuCmhpbnQuZ3Bpby4wLnBpbm1hc2s9MHgwMDAwMDBmZgoK
IyBHUElPIDA6CiMgR1BJTyAxOgojIEdQSU8gMjoKIyBHUElPIDM6CiMgR1BJTyA0OiBMZWQtMQoj
IEdQSU8gNTogTkFORCBidXN5IHBpbgojIEdQSU8gNjoKIyBHUElPIDc6IFJlc2V0IFN3aXRjaAoK
IyBHcmVlbiBsZWQgbmVhciB0aGUgcG93ZXIgbGVkLgpoaW50LmdwaW9sZWQuMC5hdD0iZ3Bpb2J1
czAiCmhpbnQuZ3Bpb2xlZC4wLm5hbWU9ImxlZDAiCiMgcGluIDQKaGludC5ncGlvbGVkLjAucGlu
cz0weDAwMTAKCiMgUm91dGVyQm9hcmQgQ1BMRCBsZWRzCmhpbnQuZ3Bpb2xlZC4xLmF0PSJncGlv
YnVzMSIKaGludC5ncGlvbGVkLjEubmFtZT0ibGVkMSIKaGludC5ncGlvbGVkLjEucGlucz0weDAw
MDEKaGludC5ncGlvbGVkLjIuYXQ9ImdwaW9idXMxIgpoaW50LmdwaW9sZWQuMi5uYW1lPSJsZWQy
IgpoaW50LmdwaW9sZWQuMi5waW5zPTB4MDAwMgpoaW50LmdwaW9sZWQuMy5hdD0iZ3Bpb2J1czEi
CmhpbnQuZ3Bpb2xlZC4zLm5hbWU9ImxlZDMiCmhpbnQuZ3Bpb2xlZC4zLnBpbnM9MHgwMDA0Cmhp
bnQuZ3Bpb2xlZC40LmF0PSJncGlvYnVzMSIKaGludC5ncGlvbGVkLjQubmFtZT0ibGVkNCIKaGlu
dC5ncGlvbGVkLjQucGlucz0weDAwMDgKCg==
--f46d0438917574bf0e04f8f871af
Content-Type: application/octet-stream; name=RB433U
Content-Disposition: attachment; filename=RB433U
Content-Transfer-Encoding: base64
X-Attachment-Id: f_huzkrh7q1

IwojIFJCNDMzW1V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Rpb25zIAlCT09UUF9DT01QQVQKI29wdGlvbnMgCVJPT1RERVZOQU1FPVwibmZzOjE5
Mi4xNjguMC4xMDovZGF0YS9yYi9yYjQ1MGcvbmZzcm9vdFwiCg==
--f46d0438917574bf0e04f8f871af--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAB=2f8xW6nPmyg44adH%2BKsn6KikbGgWtReF4gF40JPCuUi%2BVPg>