<soupborsh[m]> Hello, I tried booting in fastboot https://github.com/sm7150-mainline/u-boot/releases/download/2025-03-09/u-boot-sm7150-xiaomi-surya-huaxing.img, I did not try to boot Linux but it works wonderfully! The main thing I am exited for is USB mass storage mode, it very useful for me. Thanks to everyone who contributed to this!
<funderscore> UMS is one of u-boot's many killer features :D
<funderscore> the other killer feature u-boot has is DFU mode, you can load a FIT kernel directly from USB along with initramfs etc
<funderscore> among other stuff :D
<funderscore> well, a FIT image, not a FIT kernel :p
<Adrian[m]> I guess I should also link this here: https://postmarketos.org/edge/2025/03/09/sm7150-generic-migration/
<funderscore> woohoo! 🎉🎉🎉
<Adrian[m]> The generic device doesn't actually have prebuilts yet, I'll take care of getting bpo updated in an hour or so
<funderscore> adrian: still a nice achievement :D It's reeaaaally nice to see U-Boot booting on those devices :)
<funderscore> Opens so many new possibilities
<Adrian[m]> yep, U-Boot is awesome, it makes the boot process so much more sane
<Adrian[m]> + lets us do real netboot
<funderscore> Depends which U-Boot we're talking about of course :) but yeah :D
<Adrian[m]> yeah some of the vendor U-Boot images are uh... wild
<funderscore> yep, very wild lol
<funderscore> I had formatted my Mi TV Stick's eMMC and accidentally left the boot0/1 partitions intact
<Adrian[m]> I have one of them on my Cisco MIPS board
<funderscore> when vendor u-boot booted from them it ...wasn't very happy with the new postmarketOS install I had on the eMMC
<funderscore> and in fact decided to crash entirely when I was trying to have it load a simple u-boot script
<funderscore> Mainline U-Boot For The Win!
<Adrian[m]> I'll open a MR for qcom-sc7280 and qcom-sdm845 today
<Adrian[m]> well, two MRs
<Adrian[m]> they can both be fully switched now too
<funderscore> I also really like, for example, ums mode. Has saved me countless times
<Adrian[m]> U-Boot still has a bunch of weird limits
<funderscore> yeah it's not to say it's perfect
<Adrian[m]> e.g. its fastboot flash impl only supports emmc atm
<Adrian[m]> I wanted to look into adding ufs support
<funderscore> oh I have found that the fastboot support in u-boot was meh
<funderscore> At least compared to DFU support
<funderscore> `fastboot boot` also only (obviously) allows android boot.img
<funderscore> while DFU allows anything
<funderscore> including fit images
<funderscore> and as far as I know it can also write to internal storage, though I haven't tried myself
<Adrian[m]> no the fastboot boot doesn't work with android boot img
<Adrian[m]> :D
<Adrian[m]> it only supports FIT as far as I recall
<funderscore> Oh really? Because when I tried FIT it didn't like it
<funderscore> and docs say boot.img or vmlinuz
<Adrian[m]> ah yeah forget what I said, I meant vmlinuz
<funderscore> Anyway it was limited for my purposes