From owner-freebsd-mips@freebsd.org Mon Apr 19 16:53:49 2021 Return-Path: Delivered-To: freebsd-mips@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 965A75F87EB for ; Mon, 19 Apr 2021 16:53:49 +0000 (UTC) (envelope-from trees@neti.ee) Received: from smtp-out.neti.ee (smtp-out.neti.ee [194.126.106.83]) (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 4FPCZN4B4Cz4ccp for ; Mon, 19 Apr 2021 16:53:48 +0000 (UTC) (envelope-from trees@neti.ee) Received: from localhost (localhost [127.0.0.1]) by vm-relay1.estpak.ee (Postfix) with ESMTP id 81BC865; Mon, 19 Apr 2021 19:53:45 +0300 (EEST) X-Virus-Scanned: Debian amavisd-new at vm-relay1.estpak.ee Received: from smtp-out.neti.ee ([127.0.0.1]) by localhost (vm-relay1.estpak.ee [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 3YsSRQpdJNY0; Mon, 19 Apr 2021 19:53:33 +0300 (EEST) Received: from mail.neti.ee (neti-relayhost1.estpak.ee [88.196.174.251]) by vm-relay1.estpak.ee (Postfix) with ESMTP id 86F6368; Mon, 19 Apr 2021 19:53:33 +0300 (EEST) Received: from 7201667-l.et.ee (unknown [10.65.98.148]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: norama0) by neti-relayhost1.estpak.ee (Postfix) with ESMTPSA id 20E1E1FB36; Mon, 19 Apr 2021 19:53:26 +0300 (EEST) From: Priit Trees Message-Id: <1A614C4D-22CA-4327-9C95-2BCD40894647@neti.ee> Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.60.0.2.21\)) Subject: Re: Ubiquiti EdgeRouter Lite ethernet setup crash Date: Mon, 19 Apr 2021 19:53:07 +0300 In-Reply-To: Cc: "freebsd-mips@freebsd.org" To: Adrian Chadd References: <8F1F132D-D409-40CA-92A3-781196A8EFE0@neti.ee> X-Mailer: Apple Mail (2.3654.60.0.2.21) X-Rspamd-Queue-Id: 4FPCZN4B4Cz4ccp X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of trees@neti.ee designates 194.126.106.83 as permitted sender) smtp.mailfrom=trees@neti.ee X-Spamd-Result: default: False [-0.80 / 15.00]; TO_DN_EQ_ADDR_SOME(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RBL_SENDERSCORE_FAIL(0.00)[194.126.106.83:server fail]; TO_DN_SOME(0.00)[]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+ip4:194.126.106.64/27]; RCPT_COUNT_TWO(0.00)[2]; FREEMAIL_TO(0.00)[gmail.com]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; R_DKIM_NA(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[194.126.106.83:from]; MID_RHS_MATCH_FROM(0.00)[]; ASN(0.00)[asn:3249, ipnet:194.126.96.0/19, country:EE]; MIME_TRACE(0.00)[0:+,1:+,2:~]; ARC_NA(0.00)[]; RCVD_COUNT_FIVE(0.00)[5]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; NEURAL_SPAM_SHORT(1.00)[1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; TAGGED_RCPT(0.00)[]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; DMARC_NA(0.00)[neti.ee]; SPAMHAUS_ZRD(0.00)[194.126.106.83:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[194.126.106.83:from]; MAILMAN_DEST(0.00)[freebsd-mips] Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.34 X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Apr 2021 16:53:49 -0000 I found instruction from web http://rtfm.net/FreeBSD/ERL/ = .=20 On the web page has a link =E2=80=9Cthe mkerlimage script=E2=80=9D = 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=3D0x3' 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 = wrote: >=20 > I hvae an ERL here I just need to build an image for. >=20 > Which instructions are you following for building the image? >=20 >=20 >=20 > -adrian >=20 > On Wed, 14 Apr 2021 at 08:39, Priit Trees wrote: >>=20 >> 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. >>=20 >> root@erl-fbsd:~ # ifconfig octe0 >> octe0: flags=3D8a02 metric 0 = mtu 1500 >> options=3Db >> ether 18:e8:29:ba:cb:a3 >> media: Ethernet autoselect (none) >> status: no carrier >> nd6 options=3D29 >> root@erl-fbsd:~ # ifconfig octe0 192.168.1.51 >>=20 >> mips_unaligned_load_store: unhandled opcode in address error: 0x38 >> cpu:1-Trap cause =3D 5 (address error (store) - kernel mode) >> panic: trap >> cpuid =3D 1 >> time =3D 1617304310 >> Uptime: 1m50s >> Automatic reboot in 15 seconds - press a key on the console to abort >> Rebooting=E2=80=A6 >>=20 >> Best regards >> Trees >>=20 >> _______________________________________________ >> 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"