ChanServ changed the topic of #sm8250-mainline to: Mainline Linux for Qualcomm Snapdragon 865/865+/870 (SM8250) | Bridged to #sm8250-mainline on matrix.org
<rofikkernel[m]>
<ellyqw> "you can boot however you want" <- it needed custom bootloader like uboot or lk2nd like that?
<coloneyescolon[m]>
can someone ban that guy
<ellyqw>
rofikkernel[m]: no, but u-boot > xbl
<rofikkernel[m]>
<ellyqw> "rofikkernel: no, but u-boot..." <- so mean stock bootloader can boot mainline? if device tree correct?
<katzenmann[m]>
Yeah. You just need to build a boot.img with the mainline kernel and flash it to the BOOT partition
<katzenmann[m]>
It needs to be in the correct format of course. Different bootloaders support different formats. You can analyze a boot.img from android with the unpack_bootimg command to get the correct format
<ellyqw>
with u-boot you can do efiboot though, so you can load grub/systemd-boot and have immutable distro if you want, just gives you a lot more flexibility and removes all android-specific crap from xbl
<ellyqw>
and of course you can just store the kernel on internal storage, so in my opinion it's easier to develop (flash your os image onto mSD card, stick it into the device, efiboot from that and test)
<ellyqw>
i actually wonder if I can re-partition the entire LUN while running mainline to have /boot/efi, /, /home and swap
<ellyqw>
especially since i can extract calibration data from persist and store it in /lib/firmware, or create another (smaller) partition and drop all firmwares + calibration onto that partition and add it to fstab (like /dev/sda5 /lib/firmware/qcom/sdm710 ext4)
<ellyqw>
sorry, i forgot to take my ADHD meds and got (publicly) lost in the train of thoughts, my apologies