From owner-freebsd-mips@FreeBSD.ORG Wed Apr 23 20:20:51 2014 Return-Path: Delivered-To: freebsd-mips@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id EE501ED6 for ; Wed, 23 Apr 2014 20:20:51 +0000 (UTC) Received: from mail-qa0-x231.google.com (mail-qa0-x231.google.com [IPv6:2607:f8b0:400d:c00::231]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id AAB6912ED for ; Wed, 23 Apr 2014 20:20:51 +0000 (UTC) Received: by mail-qa0-f49.google.com with SMTP id j7so1337530qaq.22 for ; Wed, 23 Apr 2014 13:20:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type:content-transfer-encoding; bh=hBlPcrVnSNEETwqBZxKsF2dD5/GSaLwj9S/4cnkE/zo=; b=Q0RP/7vAnyPxXUAYs8Mjqaqu13Aa7cgKX6OabSKGkOvqXqboHbO70lhWE9o4M3Zhvw I5QvsHzlTzb+0MajJ8Bb79TS1A+E8dstnB4cPc7QGHb40mYoknMcui0H96IncitoBQpR SmJTtGYDHvPBhNVT2LY+dR+zZjvLnbn+NoUe112yjUtBBgBzIccpdpz87973X+EpsWuO Z6ODc7HvcPEGNLe0pkDKIr0vTvxWBnIMEk3NLxHLuBY5r/gGWHInxpcddEAnipVwgc7r Uj0F/lA3b5iOzvy1S9qf1CuVCHmI/owSzhLfWw0/pmrrI2M3/S/ovQhOej8RpfxkjtL5 6xaA== MIME-Version: 1.0 X-Received: by 10.224.47.130 with SMTP id n2mr62131714qaf.26.1398284449782; Wed, 23 Apr 2014 13:20:49 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.224.191.201 with HTTP; Wed, 23 Apr 2014 13:20:49 -0700 (PDT) In-Reply-To: References: <1398070819674-5905259.post@n5.nabble.com> Date: Wed, 23 Apr 2014 13:20:49 -0700 X-Google-Sender-Auth: pmsTJRSfMSfP-or4gDr24s8qySE Message-ID: Subject: Re: netboot error on RB433--wrong architecture(0800 !=0008) From: Adrian Chadd To: Luiz Otavio O Souza Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: Andy , "freebsd-mips@freebsd.org" X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Apr 2014 20:20:52 -0000 Hi! Would you mind updating the wiki with updated info? -a On 23 April 2014 06:59, Luiz Otavio O Souza wrote: > 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 actua= lly > to big to (fully) work and i could not yet spend the time to track down w= hat > can be stripped off. > > Cheers, > Luiz > >