From owner-freebsd-mips@freebsd.org Tue Dec 22 11:54:20 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 1A0FBA4E8B9 for ; Tue, 22 Dec 2015 11:54:20 +0000 (UTC) (envelope-from sgalabov@gmail.com) Received: from mail-wm0-x230.google.com (mail-wm0-x230.google.com [IPv6:2a00:1450:400c:c09::230]) (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 AB56F1166; Tue, 22 Dec 2015 11:54:19 +0000 (UTC) (envelope-from sgalabov@gmail.com) Received: by mail-wm0-x230.google.com with SMTP id l126so107085380wml.0; Tue, 22 Dec 2015 03:54:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=hg4N0ALqfXFtJP250z96/l+soSrjEBFsVn6tD+H7pmI=; b=dJPGQXJ03dr2P84OnC4PKadcTCbWOJHkyRv3VE3MutuNOUOYO9i33krZ/VvFFPjO1I o8PSu3B8orYYrQdYhtyuuYlPIaiMJL3W3nN5OvEfh77qBVRMp6IQWhinnCJMKea5kEW5 evHOTPnliNuKGME7FcnUlV/m6xqqXcp1d4X07Wj3zX8U/aZV3YJGoyy9AvJfNylQOsb9 et7dVPAx3BNC3EtHAX14oxKuIt+0dNSAV4IgSz4t2Of7ddrIU6MWtJlxvddVzlZFy+Tf G+tAOKgkQ7ZnXOe7OS35/uEM6vcMHw+rALkssRyh/sjApVLcGZkIeTKhLxzy/Kz12NQ5 XiWw== X-Received: by 10.28.133.8 with SMTP id h8mr27335327wmd.71.1450785258166; Tue, 22 Dec 2015 03:54:18 -0800 (PST) Received: from ?IPv6:2001:67c:2154:ffff:99f8:806d:1931:bcfc? ([2001:67c:2154:ffff:99f8:806d:1931:bcfc]) by smtp.gmail.com with ESMTPSA id w124sm24548840wmg.17.2015.12.22.03.54.17 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 22 Dec 2015 03:54:17 -0800 (PST) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 9.0 \(3094\)) Subject: Re: Booting a FreeBSD kernel on the WiTiboard. (Was: Re: Initial support for MT7620) From: Stanislav Galabov In-Reply-To: <567921DD.9060802@digiware.nl> Date: Tue, 22 Dec 2015 13:54:16 +0200 Cc: Stanislav Galabov , Adrian Chadd , "freebsd-mips@freebsd.org" Content-Transfer-Encoding: quoted-printable Message-Id: <1F9B0CCD-1C67-45CF-9E1D-390F603A862F@gmail.com> References: <1479DFB0-6B63-4886-B9BA-8F95A44A8ED9@gmail.com> <17D0A04B-7164-48AE-9909-107EEBDF72E5@gmail.com> <56716BD0.1080801@digiware.nl> <567921DD.9060802@digiware.nl> To: Willem Jan Withagen X-Mailer: Apple Mail (2.3094) 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: Tue, 22 Dec 2015 11:54:20 -0000 > On Dec 22, 2015, at 12:11, Willem Jan Withagen = wrote: >=20 > On 16-12-2015 14:49, Willem Jan Withagen wrote: >> On 15-12-2015 17:16, Stanislav Galabov wrote: >>> WiTi board looks nice, I=E2=80=99d go for it. >>>=20 >>> I have by no means given up on MT7621 support and rolling it in >>> together with RT305x would probably be best if we manage to do it. >>> I=E2=80=99d actually like to continue after MT7620 and MT7621 and = include >>> support for MT7628 and MT7688 as well :-) >>=20 >> Finally got the time to dig out the board and the serial connector. >> This is what my WitiBoard spews at me while booting in Uboot..... >>=20 >> So now I'm off to finding a suitable system here to put tftp on >> and go from there. >=20 > 'mmmm, >=20 > After a real serious battle with tftp :( it boots. > One thing to note on the WiTi board is that the uboot ethernet = interface > is the second single keystone/connector, NOT the one next to the power = jack. >=20 > Then the next issue starts: > uboot runs at 57600 b/s >=20 > And as far as I can conclude runs the bootloader at 9600 b/s? > And once booted it switches to 115200 b/s? >=20 > I can not switch cu(1) fast enough to actually watch the boot, but = once I'm at 115200 I get: >=20 > panic: mountroot: unable to (re-)mount root. > KDB: enter: panic > [ thread pid 1 tid 100001 ] > Stopped at kdb_enter+0x4c: lui at,0x8047 > db> >=20 > Which matches the remark that there is need for a bootdisk. >=20 > doesn't look like it is possible to write uboot commands to flash to > actually make it do something different from the stdboot. > (The device we once build would allow for a uboot-script, but I've got > to refersh my uboot memory. ) >=20 > So I'll try and set uboot to 9600 b/s and reconnect, ten load the = kernel > to see what comes of it. But is it possible to actually make the = console > of just the downloaded kernel image run at 57600 ?? No loader.conf = etc. > makes life a bit harder.... >=20 > --WjW Hi Willem, Can you try with this kernel please: https://www.dropbox.com/s/t1wevprzlsfegr0/kernel.uboot?dl=3D0 Best wishes, Stanislav=