From owner-freebsd-mips@freebsd.org Fri Dec 25 22:44:39 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 EE648A5093A for ; Fri, 25 Dec 2015 22:44:38 +0000 (UTC) (envelope-from wjw@digiware.nl) Received: from smtp.digiware.nl (unknown [IPv6:2001:4cb8:90:ffff::3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id B91331FD1; Fri, 25 Dec 2015 22:44:38 +0000 (UTC) (envelope-from wjw@digiware.nl) Received: from rack1.digiware.nl (unknown [127.0.0.1]) by smtp.digiware.nl (Postfix) with ESMTP id 260CF1534C7; Fri, 25 Dec 2015 23:44:35 +0100 (CET) X-Virus-Scanned: amavisd-new at digiware.nl Received: from smtp.digiware.nl ([127.0.0.1]) by rack1.digiware.nl (rack1.digiware.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id oiUEG1Hu_GFX; Fri, 25 Dec 2015 23:44:24 +0100 (CET) Received: from [192.168.10.10] (asus [192.168.10.10]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.digiware.nl (Postfix) with ESMTPSA id 951EE153413; Fri, 25 Dec 2015 23:12:55 +0100 (CET) Subject: Re: mt7620 works! To: Stanislav Galabov References: <567BF4AB.9020904@digiware.nl> <567BFEE3.6030306@digiware.nl> <73FD8DD1-83DC-4E88-8594-5AEC13159C86@gmail.com> <567D5593.4060302@digiware.nl> Cc: Adrian Chadd , "freebsd-mips@freebsd.org" From: Willem Jan Withagen Message-ID: <567DBF69.6080803@digiware.nl> Date: Fri, 25 Dec 2015 23:12:57 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.4.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit 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 22:44:39 -0000 On 25-12-2015 19:40, Stanislav Galabov wrote: > >> On 25.12.2015 г., at 16:41, Willem Jan Withagen wrote: >> >>> On 24-12-2015 15:45, Stanislav Galabov wrote: >>> >>>> Hi Stanislave, >>>> >>>> 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,7602 >>>> >>>> --WjW >>> >>> I had seen these, but thanks for sharing with the list :-) >> >> Hi, >> >> syslog: freetest tftpd[12135]: 10.10.10.123: read request for //test.bin: success >> >> ################################################################# >> ################################################################# >> ################################################# >> done >> Bytes transferred = 5575489 (551341 hex) >> NetBootFileXferSize= 00551341 >> Automatic boot of image at addr 0x80A00000 ... >> ## Booting image at 80a00000 ... >> Bad Magic Number,7F454C46 >> >> >> >> 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?? >> >> So how do I get something I can boot from uboot? >> >> --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 RT5350 (basic support) and MT7620. The MT7620 is substantially different than the MT7621, so it's not a straightforward thing to make it work (UART is different for one). > > I'll continue working on Mediatek/Ralink support in the new year, so hopefully things are going to get easier then. Sort of informative, but the page refers to 'oldlzma'. Which I suspect is needed otherwise Uboot starts complaining about during decompressing and aborts. We're the bits for MT7620 in the patch you pasted? --WjW