| 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 |
|---|---|---|
| rinigus | I 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 dtbo | 14:01 |
| T42_ | <b100dian> rinigus: as long as the chance to have a bad vendor_boot is close to zero, works for me ;D | 15:21 |
| rinigus | exactly! | 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 |
| rinigus | I'll look into kernel updates next | 15: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 builds | 17:47 |
| rinigus | @adampigg: let me check - never looked into %post | 17:48 |
| T42_ | <adampigg> rinigus: you basically just need to provide scripts in platform-update/ folder to flash partitions | 17: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 script | 17:50 |
| rinigus | where is that %post that you mentioned? I do have scripts in platform-update though. | 17:50 |
| rinigus | would be great to get some example | 17:51 |
| T42_ | <adampigg> https://github.com/mer-hybris/droid-hal-device/blob/master/droid-hal-device.inc#L1043 | 17:52 |
| rinigus | that's a different story - this works just fine | 17:53 |
| T42_ | <adampigg> ah ok, i misunderstood | 17:53 |
| rinigus | I am talking about https://github.com/mer-hybris/droid-hal-device/blob/master/droid-hal-device.inc#L1197 | 17:53 |
| rinigus | first of all, that %if is wrong as it just ignores installable_zip set to 0 | 17:54 |
| rinigus | next, that hybris-updater-script is generated only if you have /boot in fstab (hybris-boot repo). we don't mount /boot on device at all | 17:54 |
| rinigus | so, that fails. also generated script seems to flash only boot image, not vendor_boot nor dtbo | 17:55 |
| rinigus | but 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 ZIP | 17:57 |
| T42_ | <adampigg> ah, i just ship a script that uses fastboot for my ports | 17:58 |
| rinigus | @adampigg: but what about sfos root? | 17:59 |
| T42_ | <adampigg> that too ... i put the sfos root into super.img | 17:59 |
| rinigus | in our case, I just wrote down how to flash manually using @b100dian example from his earlier port | 18:00 |
| rinigus | not 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-updates | 18:14 |
| mal | and in the spec you define https://github.com/mer-hybris/droid-hal-sony-murray/blob/master/rpm/droid-hal-common.inc#L13 | 18:15 |
| mal | of 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-info | 18:16 |
| T42_ | <adampigg> yeah, ive started adding those scirpts to some ports...doing second now... | 18:28 |
| rinigus | those are handy, indeed. | 18:31 |
| rinigus | we use the same for nagara port | 18:31 |
| T42_ | <adampigg> Volla Qintus and Tablet have working platform-updates now ... 22 and X23 next | 19:45 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!