Date: Sat, 10 May 2014 11:27:51 +0800 From: =?UTF-8?B?6ZmG5qyj5oWw?= <luxinweiandy@gmail.com> To: Luiz Otavio O Souza <lists.br@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: <CAFR4v_vTktrrL3Y=O9J6eD7UBhfjfZM2AZYVrqmm8tWE%2BAMWZA@mail.gmail.com> In-Reply-To: <CAB=2f8xW6nPmyg44adH%2BKsn6KikbGgWtReF4gF40JPCuUi%2BVPg@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> <CAB=2f8xW6nPmyg44adH%2BKsn6KikbGgWtReF4gF40JPCuUi%2BVPg@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Great works done by Luiz! 2014-05-09 22:30 GMT+08:00 Luiz Otavio O Souza <lists.br@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, =E9=99=86=E6=AC=A3=E6=85=B0 <luxinweiandy@gmail.c= om> 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 m= y > 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 th= e > information is different at first. It said 0300!=3D0008. I have been conf= used > 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 routerboa= rd > >>> 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 tra= ck > down what can be stripped off. > >> > >> Cheers, > >> Luiz > >> > >> > > > > >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAFR4v_vTktrrL3Y=O9J6eD7UBhfjfZM2AZYVrqmm8tWE%2BAMWZA>