T42 | <rodrisola> this is a init.log | 04:20 |
---|---|---|
T42 | <rodrisola> https://pastebin.com/ajG0QUT3 | 04:21 |
T42 | <rodrisola> happy new year | 04:42 |
T42 | <LSolrac> Good Evening. I have a question. I'm helping port UT to my device, using Halium 10 as a base. Could this be used to port Sailfish as well? | 08:28 |
T42 | <rodrisola> hello | 16:55 |
T42 | <rodrisola> any idea? | 16:57 |
T42 | <rodrisola> https://pastebin.com/xprCQ6HL | 16:57 |
mal | are you sure you chenged the correct defconfig file? | 17:14 |
T42 | <rodrisola> because no matter how much I rebuild hibrys-hal, once the defconfig has been edited, it never changes in the log, when I check the .config, it still comes out the same, as if the changes were not translated | 17:23 |
Thaodan | @LSolrac: Sailfish OS doesn't use halium but the components are very similar. | 17:25 |
Thaodan | So with some extra work you can reuse the work done with halium | 17:25 |
mal | @rodrisola which defconfig file do you edit? | 17:28 |
T42 | <rodrisola> https://gitlab.com/sailfish-on-courbet/kernel-xiaomi-sm6150-Sailfish/-/commit/49a023b92824386643c22705a668c2f9cd8ca626 | 17:33 |
T42 | <rodrisola> mal: arch/arm64/configs/courbet_user_defconfig | 17:33 |
T42 | <rodrisola> https://gitlab.com/sailfish-on-courbet/android_device_xiaomi_courbet/-/blob/sfos-18.1-courbet/BoardConfig.mk#L32 | 17:34 |
mal | are you sure you are really building the kernel? some devices use prebuilt kernel which needs some manual way to build custom kernel | 17:37 |
Thaodan | Like this: https://github.com/sonyxperiadev/kernel-sony-msm-5.4-common/blob/aosp/LA.UM.9.14.r1/KernelConfig.mk#L17 in case of Sony | 17:39 |
Thaodan | You could have something similar | 17:40 |
T42 | <rodrisola> How can I validate what you tell me, I don't know if it has a precompiled kernel, but I build the hybris hal. could you give me an idea | 17:41 |
Thaodan | Try to if you have something similar like the the file linked above | 17:41 |
Thaodan | Do you see some messages regard kernel building? | 17:42 |
Thaodan | What you can also try if there's out/target/product/$device/obj/kernel in your android source folder | 17:43 |
T42 | <rodrisola> i try greep Ri "BUILD_KERNEL" . | 17:47 |
T42 | <rodrisola> does not exist in my files | 17:47 |
T42 | <rodrisola> thaodan: https://pastebin.com/Qf30jkbf | 17:49 |
T42 | <rodrisola> thaodan: folder exist | 17:56 |
Thaodan | Then its probably without a prebuild kernel | 18:03 |
T42 | <rodrisola> thaodan : https://pastebin.com/5BW4TKr8 | 18:08 |
T42 | <rodrisola> for example https://gitlab.com/sailfish-on-courbet/kernel-xiaomi-sm6150-Sailfish/-/commit/49a023b92824386643c22705a668c2f9cd8ca626#c99799db7e33a9fabdd8a6ae7b1a28a8c44aa994 | 18:10 |
T42 | <elros34> why do you fight with defconfig if you have it working since few weeks already and you had exactly same wrong defconfig file issues previously? You were at systemd stage already. | 18:14 |
T42 | <rodrisola> I removed some things from the hybris-boot, I added other things, the detail is that when I realize the system loads the init_debug on port 2323 and I still had problems with mounting super, then I followed a guide that you sent me, and even It does not load me, I noticed that the systemd loaded, but it loaded me in init_debug 2323, now it loads port 23, but it does not start the system | 18:18 |
T42 | <rodrisola> https://github.com/sailfish-on-nabu/hybris-boot/blob/dynparts/init-script#L150-L152 | 18:19 |
T42 | <elros34> this change will not work because mount_stowaways is executed in initramfs which do not have parse-android-dynparts nor /dev/disk/by-partlabel symlinks | 18:20 |
T42 | <elros34> If you wanted to mount partitions then you should do this her: https://github.com/sailfish-on-nabu/hybris-boot/blob/dynparts/init-script#L415 but you must use directly block devices like /dev/sdx not /dev/*/by-name/* | 18:22 |
T42 | <elros34> this is 1 line change you can do on device in /init-debug script, there was no need to rebuild kernel | 18:23 |
T42 | <elros34> you really overcomplicate everything. For test you could just create /init_enter_debug2, run your mount script, make sure everything is correct then continue booting | 18:25 |
T42 | <rodrisola> It would be fine, that it starts in the init_debug and not in the normal one, build the boot, because I needed to add two executables in the initramfs bin, which was parse-android-dynparse, and the dmsetup | 18:27 |
T42 | <rodrisola> When I create the init_enter_debug2 file, it does not start the telnet service, I do not have a connection | 18:28 |
T42 | <elros34> same as in instruction you got, via twrp. I still insist this changes are overcomplicated because everything you want can be executed in /init-debug in real rootfs | 18:29 |
T42 | <LSolrac> Yeah, after a bit more researched I realized this. But I assume I can still use the device's kernel? (re @SailfishFreenodeIRCBridgeBot: <Thaodan>So with som...) | 18:29 |
T42 | <elros34> @rodrisola If you have whole commit "kang from halium initramfs " not only these few lines you pointed to then maybe something will work but I have no idea how, good luck anyway. | 18:35 |
T42 | <rodrisola> I'm returning to my original hybris-boot, only as in That branch they started doing it... I wanted to try, well, I go back and add those two pounds directly to my init_debug | 18:38 |
Thaodan | LSolrac: Yes you can. Halium needs to the same kernel features or patches. | 19:02 |
T42 | <LSolrac> Awesome~ Is there a guide available? I've failed to find one (re @SailfishFreenodeIRCBridgeBot: <Thaodan>LSolrac: Ye...) | 19:04 |
Thaodan | lsolrac: on what configs to enable in the kernel? | 19:08 |
Solrac[m] | That and to start the general porting process | 20:29 |
Thaodan | Solrac[m]: Read hadk | 20:49 |
Thaodan | https://sailfishos.org/develop/hadk | 20:50 |
T42 | <LSolrac> tyty | 20:51 |
T42 | <rodrisola> After installing an original rom to the phone and returning the procedure to zero, with the vbmeta disable, and all the steps to follow, I passed previous roms of sailfish os, and I can't start, it only starts me with an error. I will try to compile another kernel to stay without doubts | 20:55 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!