From nobody Tue Jul 06 22:10:16 2021 X-Original-To: freebsd-mips@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 37A5111D43C5 for ; Tue, 6 Jul 2021 22:10:27 +0000 (UTC) (envelope-from denis@ovsienko.info) Received: from aibo.runbox.com (aibo.runbox.com [91.220.196.211]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4GKGvk2pD9z3Lvm for ; Tue, 6 Jul 2021 22:10:22 +0000 (UTC) (envelope-from denis@ovsienko.info) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=ovsienko.info; s=selector2; h=Content-Type:MIME-Version:Message-ID:Subject: To:From:Date; bh=tX0kspKgPXF4sUer/yJcHdgA+IVxjal2nB1PraBdciY=; b=swf0CMzXAKY3 5D2q0Mh1PPRfyRlD/GwLCR0sBGUwQLOSX69c6XeQDxjIhIcSG+sPl499A4BZpP1F9Jt1++frr78OG PsqlZyxbahIOPjeI+SBMGJgsW/S4ltI8fT5qQLEzUXQEQ9k3sxFcV53y3XB1NAQo3jJ/EbEacu+py EzeN1yGgnY9yD1wxBP6M3w0grJt1VIK4MpXP4qxLxRxzFfrXLvGrFiR7Ie2HU2aOZcgBpcqkQdX7B jQ1hOQj/2OMwyIb4xdv2v+y1sidE1kDDOWOSFYY7JKj7Mn+4NzGwRKyz4DpFmDv6KmLbhK12w+yaT niiH1laorWdOLZx1d99JhA==; Received: from [10.9.9.73] (helo=submission02.runbox) by mailtransmit03.runbox with esmtp (Exim 4.86_2) (envelope-from ) id 1m0tGm-0008PC-QU for freebsd-mips@FreeBSD.org; Wed, 07 Jul 2021 00:10:20 +0200 Received: by submission02.runbox with esmtpsa [Authenticated ID (984599)] (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) id 1m0tGk-0006XT-Os for freebsd-mips@FreeBSD.org; Wed, 07 Jul 2021 00:10:18 +0200 Date: Tue, 6 Jul 2021 23:10:16 +0100 From: Denis Ovsienko To: freebsd-mips@FreeBSD.org Subject: EdgeRouter 4 does not boot Message-ID: <20210706231016.08f9e6ed@basepc> List-Id: Porting FreeBSD to MIPS List-Archive: https://lists.freebsd.org/archives/freebsd-mips List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-mips@freebsd.org MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="MP_/+ol=+MgBHILEnL+XHU8RJHq" X-Rspamd-Queue-Id: 4GKGvk2pD9z3Lvm X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=ovsienko.info header.s=selector2 header.b=swf0CMzX; dmarc=none; spf=pass (mx1.freebsd.org: domain of denis@ovsienko.info designates 91.220.196.211 as permitted sender) smtp.mailfrom=denis@ovsienko.info X-Spamd-Result: default: False [-2.10 / 15.00]; RWL_MAILSPIKE_GOOD(0.00)[91.220.196.211:from]; R_SPF_ALLOW(-0.20)[+ip4:91.220.196.211]; HAS_ATTACHMENT(0.00)[]; TO_DN_NONE(0.00)[]; DKIM_TRACE(0.00)[ovsienko.info:+]; CTYPE_MIXED_BOGUS(1.00)[]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[91.220.196.211:from]; ASN(0.00)[asn:50304, ipnet:91.220.196.0/24, country:NO]; MIME_TRACE(0.00)[0:+,1:+,2:+]; RCVD_IN_DNSWL_LOW(-0.10)[91.220.196.211:from]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[ovsienko.info:s=selector2]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[multipart/mixed,text/plain]; DMARC_NA(0.00)[ovsienko.info]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[91.220.196.211:from:127.0.2.255]; MID_RHS_NOT_FQDN(0.50)[]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-mips] X-ThisMailContainsUnwantedMimeParts: N --MP_/+ol=+MgBHILEnL+XHU8RJHq Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Disposition: inline Hello list. Besides confirming an existing ERLite-3 (E100) bug report in the previous message, let me also post some results from ER-4 (E300), which runs on CN7130 CPU. I had tried the same 13.0-p3 image, and the kernel refused the hardware in the first place (the boot log is attached). I thought it could be just a matter of changing the build config from OCTEON_CN50XX_PASS1 to the value that corresponds to CN7130, but it turns out the source code is not aware of the CN7000 series at all. It only has a notion of CNF71XX, which is a different hardware (Fusion). For clarity, I had tried this mostly out of curiosity, so I did not even open a feature request. That said, ER-4 is a nice hardware as far as MIPS machines go, so in case anyone wants to run a test build of FreeBSD on it, let me know and it can be arranged. Cheers. -- Denis Ovsienko --MP_/+ol=+MgBHILEnL+XHU8RJHq Content-Type: text/plain Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=UBNT_E300_FreeBSD-13.0-RELEASE-p3.txt Octeon ubnt_e300(ram)# bootoctlinux $(loadaddr) numcores=$(numcores) endbootargs Allocating memory for ELF segment: addr: 0xffffffff801000f0 (adjusted to: 0x1000f0), size 0xbceb50 ## Loading big-endian Linux kernel with entry point: 0xffffffff801000f0 ... Bootloader: Done loading app on coremask: 0xf Starting cores: 0xf Compiled for CPU model: (0x000d0600 | 0x08000000) CPU Model: CNXXXXpX.X-3150-XXX CPU clock: 1000MHz Core Mask: 0xf ERROR: Software not configured for this chip Expecting ID=0x000d0600, Chip is 0x000d9602 panic: platform_start: kernel not compatible with this processor. cpuid = 0 time = 1 Uptime: 1s --MP_/+ol=+MgBHILEnL+XHU8RJHq--