From nobody Mon Jul 04 23:57:08 2022 X-Original-To: freebsd-arm@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 BC32C1D09698 for ; Mon, 4 Jul 2022 23:57:21 +0000 (UTC) (envelope-from freebsd-rj@cyclaero.com) Received: from mo4-p00-ob.smtp.rzone.de (mo4-p00-ob.smtp.rzone.de [81.169.146.221]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "*.smtp.rzone.de", Issuer "TeleSec ServerPass Class 2 CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4LcN5X4w5Vz4T1L for ; Mon, 4 Jul 2022 23:57:20 +0000 (UTC) (envelope-from freebsd-rj@cyclaero.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1656979032; s=strato-dkim-0002; d=cyclaero.com; h=To:Date:Message-Id:Subject:From:Cc:Date:From:Subject:Sender; bh=aEdrj56s/DhHa2faix18ISBdQQbYgkiLTvayRMoqfH0=; b=A2GZXImgzB2O3BlCGtWceu0xrclxC1WxOe3K1ZZNGG6eTOtZHuA9CIAPMmsdUOZNrh j1L7jw9jb9LEGJVuZspFxuOoU5U9w9EoRdzMYBRRAoXTMRIMtlHCd7w6lVjXvmK4r+ia xkmPs5AG2ahIGiRl04awP85cJwxL368S1fz1NKkNxv5QcXw0NwbrhyDFvEN17stM1KmO bD0B6DJLd/gNOAWO7lzomnbB0khhBMsvEML3QgKYttMDdRmThznH5JwL5sWx3BS38u9I p5anrlOvjANFbT0YcdmVO4r3+g57LdwfGqcHxhK2L341AENp9vgjsy+2CfN3Dt8SghcT 8ujA== X-RZG-AUTH: ":O2kGeEG7b/pS1F2rRHW2isrKl4DV03XBEi+I6ZuztdvN9wS3wFGySS4Lw+ldTBio08NTPnK5bNCibgxfnBg=" X-RZG-CLASS-ID: mo00 Received: from mail.obsigna.com by smtp.strato.de (RZmta 47.46.1 AUTH) with ESMTPSA id kcd9d5y64NvCHQI (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits)) (Client did not present a certificate) for ; Tue, 5 Jul 2022 01:57:12 +0200 (CEST) Received: from rolf-mini.obsigna.com (200-207-179-239.dial-up.telesp.net.br [200.207.179.239]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.obsigna.com (Postfix) with ESMTPSA id 7D1DF638CD for ; Tue, 5 Jul 2022 01:57:11 +0200 (CEST) From: "Dr. Rolf Jansen" Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable List-Id: Porting FreeBSD to ARM processors List-Archive: https://lists.freebsd.org/archives/freebsd-arm List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-arm@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.15\)) Subject: Failed to execute custom kernels which where build on a RPi 4 operated by 13.1-RELEASE Message-Id: Date: Mon, 4 Jul 2022 20:57:08 -0300 To: freebsd-arm@freebsd.org X-Mailer: Apple Mail (2.3445.104.15) X-Rspamd-Queue-Id: 4LcN5X4w5Vz4T1L X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=cyclaero.com header.s=strato-dkim-0002 header.b=A2GZXImg; dmarc=none; spf=pass (mx1.freebsd.org: domain of freebsd-rj@cyclaero.com designates 81.169.146.221 as permitted sender) smtp.mailfrom=freebsd-rj@cyclaero.com X-Spamd-Result: default: False [-1.99 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+ip4:81.169.146.128/25]; TO_DN_NONE(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[cyclaero.com:+]; NEURAL_HAM_SHORT(-0.99)[-0.989]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:6724, ipnet:81.169.144.0/22, country:DE]; MID_RHS_MATCH_FROM(0.00)[]; RECEIVED_SPAMHAUS_PBL(0.00)[200.207.179.239:received]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[cyclaero.com:s=strato-dkim-0002]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; DMARC_NA(0.00)[cyclaero.com]; RCPT_COUNT_ONE(0.00)[1]; RCVD_IN_DNSWL_NONE(0.00)[81.169.146.221:from]; FROM_NAME_HAS_TITLE(1.00)[dr]; MLMMJ_DEST(0.00)[freebsd-arm]; RCVD_TLS_ALL(0.00)[] X-ThisMailContainsUnwantedMimeParts: N Hello! On my brand new RPi 4 B (0xb03115), operated by 13.1-RELEASE, I built 2 = custom kernels, with kernel configs from different sources. Building and = installing went through without issues. cd / fetch = https://download.freebsd.org/releases/arm64/aarch64/13.1-RELEASE/src.txz tar -xzf src.txz cd /usr/src Here is the last kernel config which I used: cat /usr/src/sys/arm64/conf/GENERIC-RPi4 include GENERIC ident GENERIC-RPi4 nooptions SOC_NVIDIA_TEGRA210 make -j4 buildkernel KERNCONF=3DGENERIC-RPi4 make installkernel KERNCONF=3DGENERIC-RPi4 When restarting with any of the new kernels, booting stalls after these = messages in the serial console: ... sdhci_bcm0-slot0: AC12 err: 0x00000000 | Host ctl2:0x00000000 sdhci_bcm0-slot0: Caps: 0x00000000 | Caps2: 0x00000000 sdhci_bcm0-slot0: Max curr: 0x00000001 | ADMA err: 0x00000000 sdhci_bcm0-slot0: ADMA addr:0x00000000 | Slot int: 0x00000000 sdhci_bcm0-slot0: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= uhub0: 5 ports with 4 removable, self powered mmc0: No compatible cards found on bus The last line is not indicative for the error, since I see this as well = with the original GENERIC kernel, only then it does not even think once = and continues without pause in the boot sequence. Is anyone able to build !!!working!!! custom kernels with the = 13.1-RELEASE sources on the very RPi 4? Best regards Rolf Jansen=