From nobody Sun Feb 02 09:56:22 2025 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 4Ym4lY6vNRz5mCF4 for ; Sun, 02 Feb 2025 09:56:25 +0000 (UTC) (envelope-from SRS0=mzUg=UZ=klop.ws=ronald-lists@realworks.nl) Received: from smtp-relay-int.realworks.nl (smtp-relay-int.realworks.nl [194.109.157.24]) (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 did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4Ym4lY0JLqz3N7c for ; Sun, 02 Feb 2025 09:56:24 +0000 (UTC) (envelope-from SRS0=mzUg=UZ=klop.ws=ronald-lists@realworks.nl) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=klop.ws header.s=rw2 header.b=DvoXbgCH; spf=pass (mx1.freebsd.org: domain of "SRS0=mzUg=UZ=klop.ws=ronald-lists@realworks.nl" designates 194.109.157.24 as permitted sender) smtp.mailfrom="SRS0=mzUg=UZ=klop.ws=ronald-lists@realworks.nl"; dmarc=pass (policy=quarantine) header.from=klop.ws Date: Sun, 2 Feb 2025 10:56:22 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=klop.ws; s=rw2; t=1738490182; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type; bh=wnQPkWRLPGKifEX9q5kZcPKnaSN1jksWwUVO8kWzTx8=; b=DvoXbgCHF3bXHCDB5C+p/+OlfoHtL3W9FuPzEPkUTsvWn4H9dWBWOXtz7ryvbZZc3BKZUW zh/9k/AIcmbGGtkSrhq4/p1HtDX5uZjYG+TX9JO+IhB7S3XjHbpHz8aG65fSZu49LIhpMn aT1vUz8nCFPzRJ0jecWiuNSWmK1m/X5vZBb+K33r6N9fwvyWpsN2khTgbR02UGXf4vinwO 1cUXSHqZugAgHco/DG7oDCRakI+ri1n5/NDm6znI/ip16aszG3RrZ5gtcB2FMDLp7LfR0r EcE9VJltNYps/2FX/9LQ+/YTjOutszyxlMrhgNmrRDD/w6f8v1AqfnVkiOBsJg== From: Ronald Klop To: freebsd-arm@freebsd.org Message-ID: <1209610970.15723.1738490182716@localhost> Subject: RPI5 16GB panic on boot 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 Content-Type: multipart/alternative; boundary="----=_Part_15722_1804235169.1738490182684" X-Mailer: Realworks (736.122) Importance: Normal X-Priority: 3 (Normal) X-Spamd-Result: default: False [-4.09 / 15.00]; RBL_SENDERSCORE_REPUT_9(-1.00)[194.109.157.24:from]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-0.999]; NEURAL_HAM_SHORT(-0.99)[-0.986]; DMARC_POLICY_ALLOW(-0.50)[klop.ws,quarantine]; MID_RHS_NOT_FQDN(0.50)[]; FORGED_SENDER(0.30)[ronald-lists@klop.ws,SRS0=mzUg=UZ=klop.ws=ronald-lists@realworks.nl]; R_SPF_ALLOW(-0.20)[+ip4:194.109.157.0/24]; R_DKIM_ALLOW(-0.20)[klop.ws:s=rw2]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; ONCE_RECEIVED(0.10)[]; RCPT_COUNT_ONE(0.00)[1]; MIME_TRACE(0.00)[0:+,1:+,2:~]; ASN(0.00)[asn:3265, ipnet:194.109.0.0/16, country:NL]; ARC_NA(0.00)[]; MLMMJ_DEST(0.00)[freebsd-arm@freebsd.org]; RCVD_IN_DNSWL_NONE(0.00)[194.109.157.24:from]; FROM_NEQ_ENVFROM(0.00)[ronald-lists@klop.ws,SRS0=mzUg=UZ=klop.ws=ronald-lists@realworks.nl]; FROM_HAS_DN(0.00)[]; RCVD_COUNT_ZERO(0.00)[0]; HAS_X_PRIO_THREE(0.00)[3]; TO_MATCH_ENVRCPT_ALL(0.00)[]; TO_DN_NONE(0.00)[]; DKIM_TRACE(0.00)[klop.ws:+] X-Spamd-Bar: ---- X-Rspamd-Queue-Id: 4Ym4lY0JLqz3N7c ------=_Part_15722_1804235169.1738490182684 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Hi, All my goodies are in and connected so I could capture the logs via serial easily. The RPI5 16GB starts booting the kernel and then panics very early in the process. The full serial output can be found here: https://wiki.freebsd.org/RonaldKlop/Raspberry%20Pi%205%2016GB. The TL;DR is: Hit [Enter] to boot immediately, or any other key for command prompt. Booting [/boot/kernel/kernel]... Loading splash ok No valid device tree blob found! WARNING! Trying to fire up the kernel, but no device tree blob found! EFI framebuffer information: addr, size 0x3f600000, 0x5eec00 dimensions 1440 x 1080 stride 1440 masks 0x00ff0000, 0x0000ff00, 0x000000ff, 0xff000000 x0: 0xffff000000fcae40 x1: 0x0000000000000001 x2: 0x0000000000000019 x3: 0x0000000000000064 x4: 0x0000000000000076 x5: 0x0000000000000000 x6: 0x1700000000000000 x7: 0x0000000000000017 x8: 0xffff000000defb20 x9: 0xffff000001044000 x10: 0xffff00000103f000 x11: 0x0101010101010101 x12: 0x000000000000003b x13: 0x0000000000000001 x14: 0x1700000000000000 x15: 0x0000000000000010 x16: 0x00000000000000b4 x17: 0x0000000000000000 x18: 0xffff000000def880 x19: 0xffff000000fcae40 x20: 0xffff000000dec000 x21: 0xffff00000114b800 x22: 0x0000000000000000 x23: 0x0000000038070018 x24: 0xffff000001152000 x25: 0xffffa00000000000 x26: 0xffffa0003b5d0018 x27: 0x000000003095b000 x28: 0xffff00000114b000 x29: 0xffff000000defaa0 sp: 0xffff000000def880 lr: 0xffff0000008687a8 elr: 0xffff0000008687bc spsr: 0x00000000804002c9 far: 0xe1f35e376ecbf7f7 esr: 0x00000000be000011 panic: Unhandled System Error cpuid = 0 time = 1 KDB: stack backtrace: #0 0xffff000000505fc0 at ??+0 #1 0xffff0000004b6cec at ??+0 #2 0xffff0000004b6b48 at ??+0 #3 0xffff000000885d00 at ??+0 #4 0xffff00000085b158 at ??+0 Uptime: 1s Rebooting... cpu_reset failed Any thoughts about what I could try to fix this? Regards, Ronald. ------=_Part_15722_1804235169.1738490182684 Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit Hi,

All my goodies are in and connected so I could capture the logs via serial easily.

The RPI5 16GB starts booting the kernel and then panics very early in the process.

The full serial output can be found here: https://wiki.freebsd.org/RonaldKlop/Raspberry%20Pi%205%2016GB.

The TL;DR is:
Hit [Enter] to boot immediately, or any other key for command prompt.
Booting [/boot/kernel/kernel]...               
Loading splash ok
No valid device tree blob found!
WARNING! Trying to fire up the kernel, but no device tree blob found!
EFI framebuffer information:
addr, size     0x3f600000, 0x5eec00
dimensions     1440 x 1080
stride         1440
masks          0x00ff0000, 0x0000ff00, 0x000000ff, 0xff000000
  x0: 0xffff000000fcae40
  x1: 0x0000000000000001
  x2: 0x0000000000000019
  x3: 0x0000000000000064
  x4: 0x0000000000000076
  x5: 0x0000000000000000
  x6: 0x1700000000000000
  x7: 0x0000000000000017
  x8: 0xffff000000defb20
  x9: 0xffff000001044000
 x10: 0xffff00000103f000
 x11: 0x0101010101010101
 x12: 0x000000000000003b
 x13: 0x0000000000000001
 x14: 0x1700000000000000
 x15: 0x0000000000000010
 x16: 0x00000000000000b4
 x17: 0x0000000000000000
 x18: 0xffff000000def880
 x19: 0xffff000000fcae40
 x20: 0xffff000000dec000
 x21: 0xffff00000114b800
 x22: 0x0000000000000000
 x23: 0x0000000038070018
 x24: 0xffff000001152000
 x25: 0xffffa00000000000
 x26: 0xffffa0003b5d0018
 x27: 0x000000003095b000
 x28: 0xffff00000114b000
 x29: 0xffff000000defaa0
  sp: 0xffff000000def880
  lr: 0xffff0000008687a8
 elr: 0xffff0000008687bc
spsr: 0x00000000804002c9
 far: 0xe1f35e376ecbf7f7
 esr: 0x00000000be000011
panic: Unhandled System Error
cpuid = 0
time = 1
KDB: stack backtrace:
#0 0xffff000000505fc0 at ??+0
#1 0xffff0000004b6cec at ??+0
#2 0xffff0000004b6b48 at ??+0
#3 0xffff000000885d00 at ??+0
#4 0xffff00000085b158 at ??+0
Uptime: 1s
Rebooting...
cpu_reset failed
Any thoughts about what I could try to fix this?

Regards,
Ronald.
------=_Part_15722_1804235169.1738490182684--