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
@[email protected] @[email protected] what’s tegra doing in there??
@[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] @[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] that’s exciting! How difficult was it? I’ve been eyeing these snapdragon PCs but not about to use windows as my daily driver so I’ve held off
@billy yep, anything involving windows is a detriment. I did have some amount of foresight to swap the stock nvme (ships with win11) for a clean one, which turned out to be important as there are some Qualcomm firmware upgrades which (presently, hopefully not for forever) require exe … so the stock drive will be reinstalled temporarily.
@[email protected] ah good thinking! I’ll keep an eye on your progress! I thought I read somewhere that Qualcomm was working to mainline drivers in Linux, or at the very least @[email protected] are working on a Linux laptop using Qualcomm’s chips1. Maybe there will be some work there you can reference for BSD as well!
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] 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. 👍🏻
Happy to give you this info.
To be honest, I think I prefer my X220 than my X280. 😃
@[email protected] that screen looks amazing like that black seems so nice, not like usual LCDs
@[email protected] thanks, it’s the higher spec OLED option
@[email protected] ohhhh I thought it was just a really cool LCD or something, but that was just the lighting 😆