this post was submitted on 04 Sep 2024
1 points (100.0% liked)

Thinkpad

1 readers
1 users here now

For IBM/Lenovo ThinkPad laptop enthusiasts.

founded 1 year ago
MODERATORS
 

What have we here? First boot attempt with FreeBSD 14.1 aarch64 on a Thinkpad T14s gen6, running a Qualcomm Snapdragon X Elite processor.

A few next steps, update the BIOS and other firmware blobs, mess around with some dtb files, poke and prod, iterate as usual.

#FreeBSD #Thinkpad #Snapdragon #arm64 #kernel

Boot process screen with a kernel panic, showing sequence and debug details from FreeBSD 14.1 on an arm64 laptop, Thinkpad T14s Gen6

top 9 comments
sorted by: hot top controversial new old
[โ€“] [email protected] 1 points 2 months ago (1 children)

@[email protected]

Did you know that you can customize the boot image in some Lenovo Laptop. I did it for my X280.

I wrote a little tutorial about https://adminblog.foucry.net/posts/info/lenovo_hack/it (sorry it's in French) :

[โ€“] [email protected] 1 points 2 months ago (1 children)

@[email protected] yep, that's a fun mod! ooh the X280 was a great laptop, and is still a great laptop! somewhere around here is a X260 waiting for a panel upgrade, will give your tutorial a shot before disassembly occurs. ๐Ÿ‘๐Ÿป

[โ€“] [email protected] 1 points 2 months ago

@[email protected]

Happy to give you this info.

To be honest, I think I prefer my X220 than my X280. ๐Ÿ˜ƒ

[โ€“] [email protected] 1 points 2 months ago (1 children)
[โ€“] [email protected] 1 points 2 months ago (1 children)

@[email protected] @[email protected] good question! still looking for a PCB schematic, though getting to a full boot command line would offer a step towards running hardware topo system calls necessary for enumeration.

for better or worse, the text screams by until the panic stops, so I'll be connecting its HDMI out to a PiKVM, which will facilitate streaming log capture; improving access to all that debugging data. typically my workflow for arm64 + freebsd involves either using a SoL terminal and/or RS232 / TTL output capture, but those are not available for a laptop... hmmm hmm.

[โ€“] [email protected] 1 points 2 months ago

@[email protected] @[email protected] the dtbs here mention a debug uart: https://lore.kernel.org/lkml/[email protected]/T/

But other folks are doubting its existence later in the thread. Just weird when the patch comes from Qualcomm themselves...

Does FreeBSD have netconsole like Linux? I suppose the network isn't even up by the time it panics?

Going to be fun to follow either way!

[โ€“] [email protected] 1 points 2 months ago (1 children)

@[email protected] that screen looks amazing like that black seems so nice, not like usual LCDs

[โ€“] [email protected] 1 points 2 months ago (1 children)

@[email protected] thanks, it's the higher spec OLED option

[โ€“] [email protected] 1 points 2 months ago

@[email protected] ohhhh I thought it was just a really cool LCD or something, but that was just the lighting ๐Ÿ˜†