From owner-freebsd-mips@freebsd.org Fri Dec 25 18:40:35 2015 Return-Path: Delivered-To: freebsd-mips@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9BD5BA4F18B for ; Fri, 25 Dec 2015 18:40:35 +0000 (UTC) (envelope-from sgalabov@gmail.com) Received: from mail-wm0-x22e.google.com (mail-wm0-x22e.google.com [IPv6:2a00:1450:400c:c09::22e]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 35EB6106D; Fri, 25 Dec 2015 18:40:35 +0000 (UTC) (envelope-from sgalabov@gmail.com) Received: by mail-wm0-x22e.google.com with SMTP id l126so212508430wml.1; Fri, 25 Dec 2015 10:40:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=references:mime-version:in-reply-to:content-type :content-transfer-encoding:message-id:cc:from:subject:date:to; bh=5QFfpOAw/lfQm5o93U3+gUtQkyDcZ4kqfk1HPExMit4=; b=qw+WMhUYoFfDmmrQloUUfhHR8Py1Sn3asetwpoOGrYs/F8LByMfc6izcEdXKUXS4fk m56ubgskgLJj0kEv/wh4eNLEgeqdoo9hp06aLpkvOlcuk6E9Z4IZhOTM1/6DvUiJWneP yxlLcoLwT9DStAyoufDeY3NqLGvwGWS6OedRI6upoj8S8TS+Tr41FJQ3Rl9OIWZQLPaD upEAiShOFpj54378xFsZr697s8+Nrmo7n0Zb0UlMIj/0ldUpy3XWe3+OxgBdlPO4SSk6 2r4WXRw4ELMVs1pOXGjaK6o0pRG7kBIA+s5cum2lii9ib3IZVqGI/mJMHZhByH1/immN TvMA== X-Received: by 10.194.24.97 with SMTP id t1mr45662820wjf.127.1451068833450; Fri, 25 Dec 2015 10:40:33 -0800 (PST) Received: from [10.0.50.3] ([94.155.70.123]) by smtp.gmail.com with ESMTPSA id 193sm38166405wmp.16.2015.12.25.10.40.32 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 25 Dec 2015 10:40:32 -0800 (PST) References: <567BF4AB.9020904@digiware.nl> <567BFEE3.6030306@digiware.nl> <73FD8DD1-83DC-4E88-8594-5AEC13159C86@gmail.com> <567D5593.4060302@digiware.nl> Mime-Version: 1.0 (1.0) In-Reply-To: <567D5593.4060302@digiware.nl> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Message-Id: Cc: Adrian Chadd , "freebsd-mips@freebsd.org" X-Mailer: iPad Mail (12A405) From: Stanislav Galabov Subject: Re: mt7620 works! Date: Fri, 25 Dec 2015 20:40:28 +0200 To: Willem Jan Withagen X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Dec 2015 18:40:35 -0000 > On 25.12.2015 =D0=B3., at 16:41, Willem Jan Withagen wro= te: >=20 >> On 24-12-2015 15:45, Stanislav Galabov wrote: >>=20 >>> Hi Stanislave, >>>=20 >>> Most likely you have them already, but ... >>> If of any use, the documentation of the WiTiBoard is in: >>> http://ftp.mqmaker.com/WiTi/ >>> Which also includes the hardware and software docs of the MT7621, 7612,7= 602 >>>=20 >>> --WjW >>=20 >> I had seen these, but thanks for sharing with the list :-) >=20 > Hi, >=20 > syslog: freetest tftpd[12135]: 10.10.10.123: read request for //test.bin: s= uccess >=20 > ################################################################# > ################################################################# > ################################################# > done > Bytes transferred =3D 5575489 (551341 hex) > NetBootFileXferSize=3D 00551341 > Automatic boot of image at addr 0x80A00000 ... > ## Booting image at 80a00000 ... > Bad Magic Number,7F454C46 >=20 >=20 >=20 > Just build a new kernel, but that is obvious not enough for booting... > I used your uboot.kernel which I expect it to be different from just > /boot/kernel/kernel?? >=20 > So how do I get something I can boot from uboot? >=20 > --WjW Hi Willem, A good explanation on how to build u-boot suitable kernel image can be found= here: https://wiki.freebsd.org/FreeBSD/mips/RT3052F But if you're trying to build a kernel for the WiTi board (MT7621) you won't= be able to as the MT7621 bits are still not in -head. The last commits by Adrian only support RT305x and introduce support for RT5= 350 (basic support) and MT7620. The MT7620 is substantially different than t= he MT7621, so it's not a straightforward thing to make it work (UART is diff= erent for one). I'll continue working on Mediatek/Ralink support in the new year, so hopeful= ly things are going to get easier then. Best wishes, Stanislav=