Re: after trivial update, 15.0 ARM64 system no longer boots

Lexi Winter <[email protected]>
Newsgroups gmane.os.freebsd.devel.arm,gmane.os.freebsd.current
Message-ID <[email protected]>
Lexi Winter:
> i am not really an expert on either ARM64 in general or on the RPi
> hardware in particular.  could anyone suggest how i could debug this
> problem, e.g. to get more information about why the system won't finish
> booting?

i dug into this a bit more, and to answer my own question:

- the boot failure that prompted the question appears to be a bug
  related to mmc, i reported it as PR 277884 [0].

- part of the problem, that i realise i forgot to mention in my initial
  post, was that my USB keyboard wouldn't work, so i couldn't interrupt
  the loader to use boot -v / -s / etc. or to access kdb.  this turned
  out to be an issue with the keyboard itself - a different keyboard
  worked fine.  the keyboard *does* work fine in FreeBSD once it's
  booted, which is odd; it's some $5 Amazon special, so i assume it just
  implements USB badly.

- even with the working keyboard, ctrl+alt+esc doesn't seem to work to
  break into kdb when the problem occurs.  i'm not sure if i'm doing
  something wrong here or that key sequence doesn't work over USB, so i
  wanted to try it via a serial console instead, which led to...

- i played around with USB OTG a bit to see if i could get a serial
  console that way.  FreeBSD does support serial over the OTG port (via
  the USB-C 'power' connector) and it works as a terminal in /etc/ttys,
  but neither U-Boot nor FreeBSD seem to be able to use it as a system
  console, which is a bit disappointing.  it would be nice if there was
  a way to get this working, because a serial console over USB would be
  very handy for working with these devices.

- in the mean time, i ordered a DB-9 serial HAT that connects to the
  UART to debug this and future issues.  once that arrives i can
  hopefully get some more info on the original problem.

	regards, lexi.

[0] "RPi4: mmc broken with GENERIC-NODEBUG":
    https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=277884
signature.asc (application/pgp-signature, 659 B)
-----BEGIN PGP SIGNATURE-----

iQGzBAABCAAdFiEEuwt6MaPcv/+Mo+ftDHqbqZ41x5kFAmYBLQ8ACgkQDHqbqZ41
x5kZbQv/cKotFS2k/fmGQbsAExgyRjNEgQzTtJaBCI+9vCD+sUHWsAN3e/x97ocy
cY2xo3GRbQmczUgmGe3mezpzUx+nP8l3OVCaUbNqJG9oUmYugJw3zqbnKjxB3kB3
Rh3XTkZCiRq4z7rDDR8VHlT4X9Wj8BBkzbwaLDhLQL2e2imCTdCBZlAU+dO3Sqq5
C5efssUIJGoi9Olb6x+UYvOkEK7Nc+s/+OR8o6ck72lMwEp4EgpJJ448UbFszUyw
N8RXfluZHwgicnb4UUXokZ3CZh6g1i/ne5HCvH6TJS/cU1wzYxY4OC7iqvJHuUR2
jo75UHyCFNxKqfApQ+NWd1fIRjlIZK6Vhjt/1+8YuORVayypATysEJ+3fMG/qYUg
WDkK6q3UzE3TlDEYAlACSDoyzvRboF082/333UA9rEdDEc/3zbRMoEgcE7LZvP9l
y9slzB/Hztno7DjwFIJrIQcLjQQM97xOP4TGle6Fdosc/V7v5d++aIuXNcHnyNfR
hFk/x6Yf
=Avvt
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.