rinigus | @adampigg: any good? looks like you are on the roll with Mediatek | 05:36 |
---|---|---|
T42 | <A_T_R> https://paste.sr.ht/~iaboothahir/16fe01eefffde74851051ca7603ebfbb5e34b769 | 05:44 |
T42 | <A_T_R> | 05:44 |
T42 | <A_T_R> how to solve this | 05:44 |
T42 | <A_T_R> ``` | 05:44 |
T42 | <A_T_R> Error <usage>[07/24 05:42:05] : Extra arguments given, please use "--help" for more info``` | 05:45 |
T42 | <A_T_R> for creating image with mic | 05:45 |
rinigus | did you try to read --help? | 06:22 |
T42 | <A_T_R> yes | 06:29 |
T42 | <elros34> so what did you figure out:P try to echo your command to see whether all env variables are set | 06:45 |
rinigus | @A_T_R: when comparing to mic command that I use, it seems to be the same (I have just different order, but it shouldn't matter). try to put echo in front and check whether it will make sense (expansion of vars). maybe you have some variable value with space in it and that would make it all go crazy | 06:46 |
T42 | <A_T_R> ``` | 06:53 |
T42 | <A_T_R> ``` | 06:53 |
T42 | <A_T_R> PlatformSDK aboo@bookworm:~/hadk$ echo "sudo mic create fs --arch=$PORT_ARCH --tokenmap=ARCH:$PORT_ARCH,RELEASE:$RELEASE,EXTRA_NAME:$EXTRA_NAME,DEVICEMODEL:$DEVICE --record-pkgs=name,url -o --outdir=$ANDROID_ROOT/sfe-$DEVICE-$RELEASE$EXTRA_NAME --pack-to=sfe-$DEVICE-$RELEASE$EXTRA_NAME.tar.bz2 \$ANDROID_ROOT/Jolla-\@RELEASE\@-x00td-\@ARCH\@.ks " | 06:53 |
T42 | <A_T_R> sudo mic create fs --arch=aarch64 --tokenmap=ARCH:aarch64,RELEASE:4.6.0.15,EXTRA_NAME:extra,DEVICEMODEL:x00td --record-pkgs=name,url -o --outdir=/home/aboo/hadk/sfe-x00td-4.6.0.15extra --pack-to=sfe-x00td-4.6.0.15extra.tar.bz2 $ANDROID_ROOT/Jolla-\@RELEASE\@-x00td-\@ARCH\@.ks``` | 06:53 |
rinigus | @A_T_R: what is this extra -o do? | 06:55 |
rinigus | missed it earlier | 06:56 |
Aboothahir[m] | added now -o | 06:56 |
Aboothahir[m] | removed as well still same error | 06:56 |
rinigus | please drop " marks around your mic command. also all the \ and use it exactly as you entered before without echo. looks like some vars are not expanded | 07:00 |
rinigus | I hope that helps. otherwise, no clue | 07:00 |
T42 | <elros34> \$ANDROID_ROOT | 07:10 |
T42 | <edp_17> @elros34 : zcat /proc/config.gz: https://paste.ubuntu.com/p/QwVN8WVzfX/ | 08:26 |
T42 | <edp_17> It looks like have the flags for BT | 08:26 |
T42 | <adampigg> rinigus: what are we discussing? bullding kernels for mtk? | 08:46 |
rinigus | @adampigg: nothing really. reaction to your furiphone :) | 10:03 |
T42 | <adampigg> ah :) | 10:03 |
T42 | <adampigg> i wasnt sure that came here, as the TG room deleted the post immediately! | 10:04 |
rinigus | weird. or maybe they just started removing all images | 10:07 |
T42 | <adampigg> yeah, i think its a agroup setting | 10:25 |
*** xmn_ is now known as xmn | 13:07 | |
T42 | <edp_17> @elros34 : I've installed droid-hal-jfltexx-kernel, droid-hal-jfltexx-kernel-dtbo and droid-hal-jfltexx-kernel-modules packages and rebooted. Now the device is using that kernel as uname -a shows. However, cannot insmod that module : https://paste.ubuntu.com/p/jcMpKPyygb/ | 13:10 |
T42 | <edp_17> I am sure the key is that those modules should have been in droid-hal-jfltexx-kernel-modules package but they are not in there. | 13:11 |
T42 | <edp_17> What's the recommended version of droid-hal-version for building sfos 4.5? | 14:25 |
T42 | <edp_17> mal, building droid-hal-version on OBS went to Unresolvable. Error message: nothing provides obexd needed by droid-config-hammerhead, nothing provides obexd-server needed by droid-config-hammerhead | 14:28 |
T42 | <edp_17> Can you please take a look? | 14:28 |
mal | check patterns and compare to the templates in droid-config submodule | 14:30 |
T42 | <edp_17> I've already changed to use droid-config-hammerhead-bluez5 instead of bluez4 in Project Config, but it didn't help. | 14:34 |
mal | check for anything obex or bluez/bluetooth related in patterns | 14:36 |
T42 | <edp_17> Under patterns, do you mean in local patterns-sailfish-device*.inc? | 14:37 |
mal | yes | 14:39 |
T42 | <edp_17> There is no obex. There is only a "Requires: droid-config-hammerhead-bluez5" in adaptation pattern. There is no other bluetooth related stuff in there. | 14:43 |
T42 | <edp_17> After I changed Project Config, I've triggered to rebuild all packages on OBS but droid-hal-version's ended up in unresolved. | 14:44 |
T42 | <A_T_R> @rinigus @elros34 | 16:32 |
T42 | <A_T_R> ``` | 16:32 |
T42 | <A_T_R> PlatformSDK aboo@bookworm:~/hadk$ cat mic-script | 16:32 |
T42 | <A_T_R> EXTRA_NAME=-obs | 16:32 |
T42 | <A_T_R> sudo mic create fs --arch=$PORT_ARCH \ | 16:32 |
T42 | <A_T_R> --tokenmap=ARCH:$PORT_ARCH,RELEASE:$RELEASE,EXTRA_NAME:$EXTRA_NAME,DEVICEMODEL:$DEVICE \ | 16:32 |
T42 | <A_T_R> --record-pkgs=name,url \ | 16:32 |
T42 | <A_T_R> --outdir=sfe-$DEVICEMODEL-$RELEASE$EXTRA_NAME \ | 16:32 |
T42 | <A_T_R> --pack-to=sfe-$DEVICEMODEL-$RELEASE$EXTRA_NAME.tar.bz2 \ | 16:32 |
T42 | <A_T_R> $ANDROID_ROOT/Jolla-@RELEASE@-x00td-@ARCH@.ks``` | 16:32 |
T42 | <A_T_R> | 16:32 |
T42 | <A_T_R> this is working | 16:32 |
T42 | <elros34> @edp_17 Are you sure make backports finished without errors? make *defconfig-bluetooth generates .config somwhere, how does it look like? are you sure you have copied all modules from backports directory? How about you make some change to compat/main.c and make backports again and check whether it's rebuild | 19:30 |
T42 | <edp_17> Well, I just ran those two make commands because make backports always gave that error. Yes, I've seen the .config file was generated. Yes, I've copied all .so, ko and cmd files into out/.../drivers/bluetooth | 19:37 |
T42 | <edp_17> What change should I make in that compat/main.c ? | 19:37 |
T42 | <elros34> anything to force rebuild | 19:40 |
T42 | <elros34> can you show that .config generated from make defconfig-bluetooth? | 19:46 |
T42 | <edp_17> I'll upload it for you when I am back at my pc. | 19:52 |
T42 | <elros34> maybe sombody have tried backports recently so can advice you something more accurate, modules which should be built. I have tried it loong time ago | 20:01 |
T42 | <edp_17> Interestingly, backports just built fine for hammerhead. I didn't get that error there. I got it for the S4. | 20:08 |
T42 | <elros34> different android base | 20:10 |
T42 | <elros34> so you can compare built modules yourself | 20:10 |
mal | what changes did you make to defconfig? | 20:14 |
T42 | <TheVancedGamer> mal: have you seen what happens on FP5 if you plug into a 500mA port and stop usb-moded? | 20:56 |
mal | @TheVancedGamer no, what happens? | 22:04 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!