Booting a FreeBSD kernel on the WiTiboard. (Was: Re: Initial support for MT7620)

Stanislav Galabov sgalabov at gmail.com
Tue Dec 22 11:54:20 UTC 2015


> On Dec 22, 2015, at 12:11, Willem Jan Withagen <wjw at digiware.nl> wrote:
> 
> 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

Hi Willem,

Can you try with this kernel please:
https://www.dropbox.com/s/t1wevprzlsfegr0/kernel.uboot?dl=0

Best wishes,
Stanislav


More information about the freebsd-mips mailing list