Sunday, 2025-10-26

rinigus@b100dian: thanks for updating dtb/dtbo for pdx224. I have just added sync-sources script to main which allowed to simplify hadk.14:00
rinigusI suggest that we keep our flashing procedure as a it is right now - a manual one. otherwise we would have to start hacking flash scripts (update-script?) to be able to flash boot, vendor_boot, and later dtbo14:01
T42_<b100dian> rinigus: as long as the chance to have a bad vendor_boot is close to zero, works for me ;D15:21
rinigusexactly!15:21
rinigus@b100dian: I have updated also lineage build instructions (in wiki) and added flashing instructions. Hopefully, haven't forgot anything. if something is missing, please add.15:57
rinigusI'll look into kernel updates next15:57
T42_<adampigg> rinigus: in what way would you have to hack update scripts to flash boot/vendor_boot and dtbo? DHD includes %post steps to flash all of them so long as appropriate scripts are supplied ... over the last few days, I can even do that with my own non-dhd kernel builds17:47
rinigus@adampigg: let me check - never looked into %post17:48
T42_<adampigg> rinigus: you basically just need to provide scripts in platform-update/ folder to flash partitions17:49
T42_<adampigg> in my halium kernel buillds, i only have %post calling a single script, but that is fine also, it just has to flash all partitions in the same script17:50
riniguswhere is that %post that you mentioned? I do have scripts in platform-update though.17:50
riniguswould be great to get some example17:51
T42_<adampigg> https://github.com/mer-hybris/droid-hal-device/blob/master/droid-hal-device.inc#L104317:52
rinigusthat's a different story - this works just fine17:53
T42_<adampigg> ah ok, i misunderstood17:53
rinigusI am talking about https://github.com/mer-hybris/droid-hal-device/blob/master/droid-hal-device.inc#L119717:53
rinigusfirst of all, that %if is wrong as it just ignores installable_zip set to 017:54
rinigusnext, that hybris-updater-script is generated only if you have /boot in fstab (hybris-boot repo). we don't mount /boot on device at all17:54
rinigusso, that fails. also generated script seems to flash only boot image, not vendor_boot nor dtbo17:55
rinigusbut kernel updates and vendor_boot updates work fine.17:56
T42_<adampigg> what is the purpose of that script?17:56
rinigus@adampigg: I think (haven't been digging too much, mainly guessing) its used when you flash SFOS via ZIP17:57
T42_<adampigg> ah, i just ship a script that uses fastboot for my ports17:58
rinigus@adampigg: but what about sfos root?17:59
T42_<adampigg> that too ... i put the sfos root into super.img17:59
rinigusin our case, I just wrote down how to flash manually using @b100dian example from his earlier port18:00
rinigusnot sure we will get much users anyway. while it is spectacular port, its hard to get the devices and I am not even sure how to distribute corresponding LOS base.18:02
mal@adampigg the scripts are provided in official devices like https://github.com/mer-hybris/droid-config-sony-murray/tree/master/sparse/var/lib/platform-updates18:14
maland in the spec you define https://github.com/mer-hybris/droid-hal-sony-murray/blob/master/rpm/droid-hal-common.inc#L1318:15
malof course you have to add the partition info also https://github.com/mer-hybris/droid-config-sony-murray/blob/master/sparse/var/lib/flash-partition/device-info18:16
T42_<adampigg> yeah, ive started adding those scirpts to some ports...doing second now...18:28
rinigusthose are handy, indeed.18:31
riniguswe use the same for nagara port18:31
T42_<adampigg> Volla Qintus and Tablet have working platform-updates now ... 22 and X23 next19:45

Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!