Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Dec 2015 11:11:41 +0100
From:      Willem Jan Withagen <wjw@digiware.nl>
To:        Stanislav Galabov <sgalabov@gmail.com>, Adrian Chadd <adrian@freebsd.org>
Cc:        "freebsd-mips@freebsd.org" <freebsd-mips@freebsd.org>
Subject:   Booting a FreeBSD kernel on the WiTiboard. (Was: Re: Initial support for MT7620)
Message-ID:  <567921DD.9060802@digiware.nl>
In-Reply-To: <56716BD0.1080801@digiware.nl>
References:  <1479DFB0-6B63-4886-B9BA-8F95A44A8ED9@gmail.com> <CAJ-Vmo=ryMSC6AsQwayi1P-%2Bvw8S9ow8%2BSPi%2BsuLWgTX=v4wPw@mail.gmail.com> <17D0A04B-7164-48AE-9909-107EEBDF72E5@gmail.com> <56716BD0.1080801@digiware.nl>

next in thread | previous in thread | raw e-mail | index | archive | help
On 16-12-2015 14:49, Willem Jan Withagen wrote:
> On 15-12-2015 17:16, Stanislav Galabov wrote:
>> WiTi board looks nice, I’d go for it.
>>
>> 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’d actually like to continue after MT7620 and MT7621 and include
>> support for MT7628 and MT7688 as well :-)
>
> 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.....
>
> So now I'm off to finding a suitable system here to put tftp on
> and go from there.

'mmmm,

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.

Then the next issue starts:
	uboot runs at 57600 b/s

And as far as I can conclude runs the bootloader at 9600 b/s?
And once booted it switches to 115200 b/s?

I can not switch cu(1) fast enough to actually watch the boot, but once 
I'm at 115200 I get:

panic: mountroot: unable to (re-)mount root.
KDB: enter: panic
[ thread pid 1 tid 100001 ]
Stopped at      kdb_enter+0x4c: lui     at,0x8047
db>

Which matches the remark that there is need for a bootdisk.

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. )

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....

--WjW



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?567921DD.9060802>