how to capture kernel panic on headless rpii4?

tech-lists <[email protected]>
Newsgroups gmane.os.freebsd.devel.arm
Message-ID <[email protected]>
Hi,

What's the best way to capture a drop to ddb before the kernel fully boots?
With some searching I've found a couple of ways, but most pages I've seen are
either for other OSes or they may be stale. So, what's the best way (by "best"
I mean most convenient/easy that gets the job done) with a -current as of
r365355? i.e. it has all the debugging bits you'd expect compiled in as per
-curren generic.

I have a FTDI console cable
https://www.amazon.co.uk/gp/product/B01N2K27P9/ref=ppx_yo_dt_b_search_asin_title?ie=UTF8&psc=1
but it looks like it can't be used with this.

I guess I need an FTDI to TTL 3-wire cable?

Or is there a way to make kernel output write to the usb interface before it
fully boots? Or of making it write to the sd card?

I fitted the rpi4 with an aluminium case that also acts as a passive cooler.
It's in contact with the cpu, however there's no access to the GPIO pins when
the case is on. If i can get output through one of the ports it'd be great.

thanks,
-- 
J.
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAABCAAdFiEE8n3tWhxW11Ccvv9/s8o7QhFzNAUFAl9U1rQACgkQs8o7QhFz
NAXSqQ/9FjslwzOdvoQCje5mRAAK1xfpC3nRw+mLLQVAPgmP9lpf/xYeG7S/mZ31
othrtuq/z3NfQMeae/lYQInAVX0ohEyHZ3+PCgImwShghT/+VrQePyAjj54FTMx5
z0D0pafu0Dp5UZv60WP3tSSPMu8sNK6ZLv6wmlC+tmqVJNX84w/9JdC01+rxI8PR
THg78TLLAdGTvQD1Dwp26lYRpQwA5MfNENeloeSHiBMGR+tzuqkm/YIMhXbMSwsr
9v0wh10t6sHJew4F7utXMHfT6x4ynBsgXlfwJ9SQ/MoYSnDivWhXRs3EYDg46QNv
kstE6htikfMOcLOZVaTBd5qXTJYUBrc4ugqmMeBYayX+LqB+qSFQSngdT4RenWWD
F5t1Hl0z7Wg5Z2CbXah/HvMujO7sQRpNoTommAb68HmGp3VtixViuthDQJJ+P6Xk
wQGBLniLn/+MENlB1CuNQ4Vzqic4M+7yDeJzsc1vbBKN9XPTlB3zAqFIJWrO/nv7
wtklQJl2lc3dQ3ik7czONQIf6gZv0mVOrnYn2usgZp4t+e3tGs2GMeAsVtETRnxe
qJ7dfBjH/WgooddAiDXJxkSxXmuooqHZgcKQ9dMqL28+d5qAStQg7fGv+4EVdc8l
ztMCYq9UnDU3hMvSSASG7vwG9KOHOOHHzVyqv7E1mSCcVqTesho=
=6I8P
-----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.