--- Day changed Mon Apr 08 2013 | ||
@juiceme | hiya! | 00:35 |
---|---|---|
@juiceme | back from skiing trip, done the sports for this spring now I think :) | 00:36 |
@juiceme | coderus, yes maybe that could be done, I don't see any reason why not to. | 00:37 |
@juiceme | thedead1440, btw, no bones broken still. Altough I had a light concussion, lost about 5 minsutes of STM. | 00:38 |
@juiceme | Bloody strange as I just kind of "woke up" and I was standing with my friend hloding me and I had on recollection whatever I had done :) | 00:39 |
@juiceme | left me a light headache, and hurt my neck a bit... | 00:40 |
-!- TMavica [~TMavica@1-36-18-052.static.netvigator.com] has quit [] | 02:01 | |
-!- rikanee [~rika@unaffiliated/rikanee] has joined #ubiboot | 05:15 | |
-!- rikanee [~rika@unaffiliated/rikanee] has quit [Quit: kthxbye] | 05:38 | |
-!- rikanee [~rika@121.54.2.104] has joined #ubiboot | 05:39 | |
@juiceme | morning :) | 07:35 |
thedead1440 | juiceme: morning; ouch...i thought you would get another 4 months of leave; this event would not give even 4 days of leave :D | 07:44 |
rikanee | morning juiceme. | 08:00 |
-!- rikanee [~rika@121.54.2.104] has quit [Changing host] | 08:01 | |
-!- rikanee [~rika@unaffiliated/rikanee] has joined #ubiboot | 08:01 | |
-!- rikanee [~rika@unaffiliated/rikanee] has quit [Quit: kthxbye] | 08:01 | |
-!- rikanee [~rika@unaffiliated/rikanee] has joined #ubiboot | 08:02 | |
rikanee | juiceme: is there no other way to boot NITDroid other than passing thru /sbin/preinit ? | 08:02 |
rikanee | I've tried booting it directly from kexec after making sure the modules are in the proper path. | 08:03 |
@juiceme | rikanee, do you mean run it under Harmattan like in chroot? | 08:03 |
@juiceme | ah | 08:03 |
rikanee | juiceme: no, I mean kexec directly to a partition dedicated to nitdroid. | 08:03 |
rikanee | All I've gotten are black screens. | 08:04 |
@juiceme | okay, well, I have not tried that ever but of course it should be possible | 08:04 |
rikanee | (speaking of which, Harmattan and Android are impossibly tricky to boot, while Nemo's all smooth sailing) | 08:04 |
@juiceme | true, altough I's day Harmattan is the trickiest and everything else is easy :) | 08:05 |
@juiceme | thedead1440, no sick leave for me :) | 08:05 |
thedead1440 | juiceme: yeah too bad | 08:05 |
@juiceme | well, I wasn't really after that :) | 08:06 |
rikanee | juiceme: I'm trying to track down what exactly makes Harmattan sw_rst at the Nokia logo. | 08:06 |
thedead1440 | oh really? :p | 08:06 |
@juiceme | rikanee, do you have serial console? That would help a lot as you could see what really is tha place it hangs on | 08:07 |
rikanee | juiceme: the watchdogs all seem to be kicking | 08:07 |
rikanee | juiceme: I'm playing around with kernel frame buffer consoles. | 08:07 |
@juiceme | well if the watchdog is kicked it's a good thing then. That's how it's supposed to be | 08:08 |
rikanee | …but it still reboots, which is weird. | 08:08 |
@juiceme | how did you manage to do that, I could not get the FB console to refresh? | 08:08 |
rikanee | oh, and I learned that watchdogs trip way easier than on Fremantle | 08:08 |
rikanee | Fremantle gives you about 60 seconds to kick the watchdogs. | 08:09 |
rikanee | Harmattan gives you 5, on a good day. | 08:09 |
@juiceme | that's a lot shorter period, do you think that's one of the things that kills the boot on rev.1603 devices? | 08:10 |
rikanee | juiceme: build omapfb and sgx as modules, load omapfb first, then unload that and start sgx when startup tasks emit the signal. | 08:10 |
rikanee | oh, and remember to disable the boot up animation. | 08:10 |
rikanee | juiceme: they should all be the same, except for some non-core components | 08:11 |
rikanee | hwrev 1507 here. | 08:11 |
rikanee | s/non-core/pre-kernel/ | 08:11 |
@juiceme | rikanee, care to share your rm696_nemo_defconfig and init? | 08:11 |
@juiceme | i pastebin forex? | 08:12 |
@juiceme | s/i /in / | 08:12 |
rikanee | NOLO takes care of hardware init for us, and assuming MOSLO works, then ubiboot should too. | 08:12 |
rikanee | also, fyi, it's Hurrian in disguise. | 08:12 |
rikanee | shhhh. | 08:13 |
@juiceme | Well I got that already :) | 08:13 |
@juiceme | (did /whois rikanee) | 08:13 |
rikanee | Lemme dig out the specific edits needed. | 08:14 |
@juiceme | thx, I would really appreciate that. | 08:14 |
@juiceme | but now, I'll grab a light breakfast for a while... | 08:15 |
rikanee | CONFIG_FB_OMAP2=m CONFIG_OMAP2_DSS=y | 08:18 |
rikanee | should enable the OMAP frame buffer, | 08:18 |
rikanee | then in CONFIG_CMDLINE: | 08:19 |
rikanee | add "video=omapfb:vram:2M,vram:4M" | 08:20 |
rikanee | and "console=tty0" | 08:21 |
-!- guildwar [~guildwar@114-46-154-230.dynamic.hinet.net] has joined #ubiboot | 08:56 | |
@juiceme | thanks, I'll try that. | 09:05 |
@juiceme | guildwar, morninrg | 09:05 |
@juiceme | guildwar, I still would like to know few moe details | 09:06 |
@juiceme | is your N9 16G or 64G version? | 09:06 |
@juiceme | and could you also post your dmesg when you have booted to Harmattan? | 09:07 |
guildwar | juiceme, morning :) | 09:08 |
guildwar | my n9 16G color cyan version | 09:09 |
@juiceme | okay | 09:09 |
guildwar | currently, I boot harmattan and nemo are good, but when I boot nitdroid, the android boot logo will delay about 40 second to appear | 09:12 |
@juiceme | does it still get thee eventually? | 09:13 |
@juiceme | s/thee/there/ | 09:13 |
guildwar | I think it happen everytime. | 09:13 |
guildwar | and I found another strange thing | 09:14 |
@juiceme | yes? | 09:15 |
guildwar | sometimes, I can't boot to nitdroid is cause by /init.rc in nitdroid root, became permission 777 | 09:15 |
guildwar | if i manual chmod to 644 /init.rc, then I can boot into nitdroid | 09:15 |
@juiceme | strange, does it change by itself? | 09:15 |
guildwar | yes | 09:16 |
@juiceme | are you using ics or jellybean? | 09:16 |
guildwar | I don't know who change it | 09:16 |
guildwar | jellybean | 09:16 |
@juiceme | ok, I have only ICS. | 09:16 |
guildwar | ok | 09:17 |
guildwar | and I can only boot nitdroid with zImage.pr13 kernel, can't boot with l2fix one, so nitdroid is slower before install ubiboot. | 09:39 |
@juiceme | guildwar, you are correct in this, nitdroid only boots with zImage.pr13 | 09:42 |
guildwar | ok, thanks. | 09:42 |
@juiceme | That's because it contains some modifications of the original author (e-yes) and I have not included those things to my kernels, as I am not sure what's been done :) | 09:43 |
@juiceme | rikanee, does the CONFIG_FB_OMAP2 setting have to be module? as currently it seems to be included in kernel... | 09:44 |
-!- TMavica [TMavica@1-36-18-052.static.netvigator.com] has joined #ubiboot | 09:54 | |
TMavica | @guildwar have you install fastern9 ? | 09:56 |
rikanee | juiceme, hmm, good point. | 09:59 |
rikanee | juiceme: I guess it'd work either way, but I had the kernel choose the module to be safe. | 10:00 |
@juiceme | rikanee, what I was thinking of, maybe "console=tty0 video=omapfb:vram:2M,vram:4M" on the cmdline is enough? | 10:00 |
@juiceme | ok.. just thought about quick try wit that since it does not even need recompile then... | 10:01 |
rikanee | juiceme: is Device Drivers->Graphics Support->Support for | 10:01 |
rikanee | framebuffer devices->Framebuffer Console Support enabled? | 10:01 |
rikanee | it should be set to 'm'. | 10:01 |
guildwar | TMavica: I don't install fastern9 | 10:02 |
TMavica | ok | 10:02 |
rikanee | juiceme: modprobe fbcon should then kick the device into console mode. | 10:02 |
@juiceme | rikanee, yes, you have a point there... by default it is "# CONFIG_FRAMEBUFFER_CONSOLE is not set" | 10:04 |
TMavica | @guildwar, you boot to harmattan without any problem? | 10:13 |
@juiceme | TMavica, yes, and we are trying to find out houw that is so :) | 10:14 |
TMavica | i try deinstall fastern9, try again now. Sudden feel this is the problem | 10:14 |
@juiceme | could be related. | 10:15 |
TMavica | let me try now, standby, i go use 02 version | 10:15 |
@juiceme | fingers crossed | 10:17 |
TMavica | same...after loading the nokia circle, reboot self | 10:33 |
TMavica | 1st start it auto reboot, 2nd load again, success go in... | 10:33 |
@juiceme | too bad | 10:33 |
TMavica | strange.. | 10:33 |
TMavica | I confirmed need boot 2 times to success go harmattan | 10:38 |
TMavica | i use l2 fix kernel | 10:38 |
thedead1440 | before ubiboot there were a number of times i used to need 2 boots to boot into Harmattan; using dual-boot nitdroid kernel at that time | 10:40 |
thedead1440 | with ubiboot only once i've had the same issue so maybe its not /really/ an ubiboot issue? | 10:40 |
Jonni | mody likely those booting problems are because of watchdog times dying. as I havent had any problems after I added watchdot kickers to ubiboot menues. | 10:42 |
Jonni | ie if people choose the os too slow, it will kill the device during boot before it has managed to start its own kicker | 10:42 |
Jonni | watchdog even | 10:42 |
Jonni | it has not managed to start its own kicker in time even | 10:43 |
TMavica | confirmed no recharge battery msg when use l2fix, but need 2nd times success go harmattan, other kernel cant boot into | 10:45 |
-!- TMavica [TMavica@1-36-18-052.static.netvigator.com] has quit [Ping timeout: 252 seconds] | 10:50 | |
-!- TMavica [~TMavica@1-36-18-052.static.netvigator.com] has joined #ubiboot | 10:57 | |
@juiceme | Jonni, did you fix the watchdog by removing the comments I had on rows "#exec 3>/dev/$WD_NAME" and "#echo "30" >&3" ? | 11:00 |
@juiceme | because, what's strangest, on my own device I have the WD lines commented and I tested my device yesterday, it never dies of watchdog bite, however long I stay in menu..?? | 11:01 |
Jonni | and you havent disabled watchdogs with flasher? | 11:24 |
@juiceme | not to my knowledge, no. | 11:27 |
@juiceme | what's the option to do so? | 11:27 |
Jonni | I disabled the watchdogs like this http://pastebin.com/UtYiEyLs | 11:33 |
Jonni | flasher --set-rd-flags=no-omap-wd,no-ext-wd,no-lifeguard-reset <- that disables both watchdogs and also disables the reset | 11:35 |
@juiceme | ok, I'll try to put your solution in init and make a new ubiboot-02 kernel with it. | 11:35 |
@juiceme | I am fairly sure I never used that flasher command on my device. odd. | 11:36 |
@juiceme | Is there a way to see the activated rd flags? | 11:36 |
Jonni | flasher --query-rd-mode | 11:36 |
Jonni | shows the flags that are active | 11:36 |
@juiceme | with device on or off? | 11:37 |
Jonni | long powerpress, so it queries on boot. | 11:37 |
Jonni | flasher --query-rd-mode -R if you want it to boot back on after the query | 11:37 |
@juiceme | ok, I'll check what does it say. | 11:37 |
@juiceme | The device is in production mode | 11:39 |
@juiceme | R&D flags (not effective) (0x0000): (none) | 11:39 |
@juiceme | :) | 11:39 |
Jonni | might be that different hw revisions have different watchdog tresholds or something. | 11:42 |
@juiceme | possibly | 11:43 |
guildwar | I found my /sbin/preinit came from sillyboot_2.tar.bz2. Is is ok? | 11:46 |
@juiceme | guildwar, are you using /sbin/preinit or /sbin/preinit_harmattan ? | 11:47 |
guildwar | I think /sbin/preinit_harmattan, I don't edit boot.conf | 11:48 |
-!- TMavica [~TMavica@1-36-18-052.static.netvigator.com] has quit [] | 11:48 | |
@juiceme | Okay, then that's then what gets executed at Harmattan boot, yout /sbin/preinit is unused currently. | 11:49 |
guildwar | ok | 11:50 |
@juiceme | Jonni, what does that watchdog() you posted actually do...? | 11:50 |
guildwar | sorry, but where is the file init=/sbin/preinit from ubiboot.log on O_COMMAND_LINE line ? | 11:54 |
@juiceme | the $O_COMMAND_LINE contains the "original command line" given to ubiboot by NOLO. What happens in the kexec_load(), is that ubiboot then takes that commandline and mogrifies it with sed so that on Harmattan it will be "/sbin/preinit_harmattan", on Nitdroid it will became "/sbin/preinit_nitdroid" and on Nemo it will become "/init" | 11:57 |
guildwar | ok, thnaks. | 11:57 |
@juiceme | why it's done like that is that in a normal boot we would only get the kernel command line given by NOLO and always boot that preinit (and also, always use /dev/mmcblk0p2 as root partition) | 11:58 |
@juiceme | ubiboot uses a fixec cmdline when it boots, and constructs the 2nd-level boot parameters from the "original command line" | 11:59 |
guildwar | ok, now I understand :) | 12:00 |
@juiceme | guildwar, btw, could you post the "dmesg" after a successiful boot to Harmattan from ubiboot-02, so I could try to verify if that somehow differs on 1603 devices? | 12:01 |
guildwar | ok, wait a moment | 12:01 |
guildwar | ok, here you are http://pastebin.com/utTDUMWH | 12:11 |
@juiceme | thanks | 12:11 |
Jonni | juiceme: thats from harmattan init, basicly it just echoes stuff to devices once per 10 seconds. | 12:12 |
@juiceme | ok, thanks. | 12:16 |
@juiceme | guildwar, at least on first glance I do not see anything that differs much from my own dmesg on rev.1501 device. | 12:25 |
@juiceme | It would be good to compare that to another 1603 having the problems... | 12:25 |
@juiceme | on your dmesg it says: "tpa6130a2 2-0060: UNTESTED version detected (3)" | 12:28 |
@juiceme | that's something not on my device | 12:28 |
guildwar | ok | 12:36 |
guildwar | my phone bought from Shanghai, China, but I use singapore firmware | 12:39 |
@juiceme | Also, on your log there is an entry "Disabling unused clock 'wdt1_ick'" that's lacking from my dmesg | 13:04 |
@juiceme | also "panel-nokia-dsi display0: skipping HW reset" | 13:05 |
@juiceme | TMavica, you there? | 13:33 |
@juiceme | ah, not anymore | 13:34 |
@juiceme | anyone around having access to rev.1603 device | 13:34 |
@juiceme | I just built a new ubiboot-02 kernel with Jonni's watchdog kicker | 13:35 |
@juiceme | if you would like to test it, there's a prerelease available at http://www.swagman.org/juice/zImage_2.6.32.54-ubiboot-02_080413 | 13:37 |
@juiceme | (md5sum=39d4db67b221960f96cfb5d6f4bb9162) | 13:38 |
-!- TMavica [~TMavica@m121-202-132-139.smartone.com] has joined #ubiboot | 14:34 | |
@juiceme | TMavica, hi | 14:35 |
TMavica | hi | 14:35 |
@juiceme | Would you like to test an ubiboot-0 version with a watchdog fix? | 14:35 |
@juiceme | I annot guarantee it works on 1603, but you never know... | 14:35 |
@juiceme | s/annot/cannot/ | 14:36 |
TMavica | sure. but i just start working, not at home now | 14:36 |
@juiceme | ok. when you got time, download and flash http://www.swagman.org/juice/zImage_2.6.32.54-ubiboot-02_080413 | 14:36 |
@juiceme | (md5sum=39d4db67b221960f96cfb5d6f4bb9162) | 14:36 |
@juiceme | no need to change cpio, just the kernel flashing is enough. | 14:37 |
TMavica | ok. tell you the result after 12 hours later | 14:37 |
@juiceme | good. | 14:37 |
TMavica | only me here use 1603? | 14:40 |
@juiceme | well guildwar has 1603 but it works with ubiboot-02. haven't figured out yet why. | 14:41 |
@juiceme | it's the only case I know of... | 14:42 |
TMavica | ok | 14:42 |
TMavica | after success boot to harmattan few times, sudden not ok | 14:45 |
@juiceme | what are the symptoms? | 14:45 |
TMavica | i try uninstall overclock module, try again can ok or not | 14:45 |
TMavica | but not now, lol | 14:46 |
@juiceme | yes. | 14:46 |
TMavica | i hv try uninstall fastern9, it can boot few times and no recharge battery msg | 14:47 |
TMavica | but now is un bootable | 14:47 |
@juiceme | so basicly it's the fastern9 that causes (at least some of) the problems. | 14:47 |
@juiceme | TMavica, if you manage to boot to Harmattan, could you post your "dmesg" to pastebin? | 14:51 |
@juiceme | I'd like to compare the boot logs of different devices, trying to find out what causes the problems. | 14:52 |
TMavica | sorry. u mean after success boot to harmattan, dmesg in terminal? | 14:58 |
@juiceme | yes, exactly. | 14:58 |
TMavica | whats the whole command? lol | 14:58 |
thedead1440 | dmesg | 14:59 |
TMavica | understood | 14:59 |
@juiceme | hmm dmesg ? it prints out the kernel log | 14:59 |
@juiceme | just that command, 5 letters :) | 14:59 |
TMavica | by the way, i just uninstalled opptimizer, dont know can boot or not | 15:00 |
TMavica | bec i uninstall ubiboot at this moment | 15:00 |
@juiceme | if you operate on the console (not ssh), you can do forex. "dmesg > logfile.txt" and the transfer the logfile.txt outside device.. | 15:00 |
TMavica | this i know | 15:01 |
@juiceme | :) | 15:01 |
TMavica | i will upload to dropbox and let u dl | 15:01 |
@juiceme | thanks. | 15:01 |
@juiceme | but now I need to run, to catch a train. | 15:01 |
@juiceme | bye for a while... | 15:01 |
TMavica | bye | 15:02 |
-!- TMavica [~TMavica@m121-202-132-139.smartone.com] has quit [Remote host closed the connection] | 15:14 |
Generated by irclog2html.py 2.12.1 by Marius Gedminas - find it at mg.pov.lt!