Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Apr 2021 19:53:07 +0300
From:      Priit Trees <trees@neti.ee>
To:        Adrian Chadd <adrian.chadd@gmail.com>
Cc:        "freebsd-mips@freebsd.org" <freebsd-mips@freebsd.org>
Subject:   Re: Ubiquiti EdgeRouter Lite ethernet setup crash
Message-ID:  <1A614C4D-22CA-4327-9C95-2BCD40894647@neti.ee>
In-Reply-To: <CAJ-Vmoka0mbfKnv5ntSVUV8ESqfKJiTwNFQU400Od0PHjOwTQw@mail.gmail.com>
References:  <8F1F132D-D409-40CA-92A3-781196A8EFE0@neti.ee> <CAJ-Vmoka0mbfKnv5ntSVUV8ESqfKJiTwNFQU400Od0PHjOwTQw@mail.gmail.com>

index | next in thread | previous in thread | raw e-mail

I found instruction from web http://rtfm.net/FreeBSD/ERL/ <http://rtfm.net/FreeBSD/ERL/>; . 
On the web page has a link “the mkerlimage script” http://rtfm.net/FreeBSD/ERL/mkerlimage <http://rtfm.net/FreeBSD/ERL/mkerlimage>;
You can boot it from usb dongle. You have to set to u-boot next commands:

setenv boot_freebsd 'fatload usb 0 $loadaddr kernel/kernel ; bootoctlinux $loadaddr coremask=0x3'
run boot_freebsd

I will share my image to you and i have got crash dump files. Unfortunately I cannot read they because devel/gdb is not ported for mips.

-trees

> On 19. Apr 2021, at 18:44, Adrian Chadd <adrian.chadd@gmail.com> wrote:
> 
> I hvae an ERL here I just need to build an image for.
> 
> Which instructions are you following for building the image?
> 
> 
> 
> -adrian
> 
> On Wed, 14 Apr 2021 at 08:39, Priit Trees <trees@neti.ee> wrote:
>> 
>> I use Ubiquiti ERLITE-3 EdgeRouter LITE router. I run on the router  FreeBSD 13.0-STABLE #0 stable/13-76af2649b:
>> If i set up ethernet interface the router is crashed.
>> 
>> root@erl-fbsd:~ # ifconfig octe0
>> octe0: flags=8a02<BROADCAST,ALLMULTI,SIMPLEX,MULTICAST> metric 0 mtu 1500
>>        options=b<RXCSUM,TXCSUM,VLAN_MTU>
>>        ether 18:e8:29:ba:cb:a3
>>        media: Ethernet autoselect (none)
>>        status: no carrier
>>        nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
>> root@erl-fbsd:~ # ifconfig octe0 192.168.1.51
>> 
>> mips_unaligned_load_store: unhandled opcode in address error: 0x38
>> cpu:1-Trap cause = 5 (address error (store) - kernel mode)
>> panic: trap
>> cpuid = 1
>> time = 1617304310
>> Uptime: 1m50s
>> Automatic reboot in 15 seconds - press a key on the console to abort
>> Rebooting…
>> 
>> Best regards
>> Trees
>> 
>> _______________________________________________
>> freebsd-mips@freebsd.org mailing list
>> https://lists.freebsd.org/mailman/listinfo/freebsd-mips
>> To unsubscribe, send any mail to "freebsd-mips-unsubscribe@freebsd.org"



home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1A614C4D-22CA-4327-9C95-2BCD40894647>