Monday, 2013-04-08

--- Day changed Mon Apr 08 2013
@juicemehiya!00:35
@juicemeback from skiing trip, done the sports for this spring now I think :)00:36
@juicemecoderus, yes maybe that could be done, I don't see any reason why not to.00:37
@juicemethedead1440, btw, no bones broken still. Altough I had a light concussion, lost about 5 minsutes of STM.00:38
@juicemeBloody 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
@juicemeleft 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 #ubiboot05:15
-!- rikanee [~rika@unaffiliated/rikanee] has quit [Quit: kthxbye]05:38
-!- rikanee [~rika@121.54.2.104] has joined #ubiboot05:39
@juicememorning :)07:35
thedead1440juiceme: morning; ouch...i thought you would get another 4 months of leave; this event would not give even 4 days of leave :D07:44
rikaneemorning juiceme.08:00
-!- rikanee [~rika@121.54.2.104] has quit [Changing host]08:01
-!- rikanee [~rika@unaffiliated/rikanee] has joined #ubiboot08:01
-!- rikanee [~rika@unaffiliated/rikanee] has quit [Quit: kthxbye]08:01
-!- rikanee [~rika@unaffiliated/rikanee] has joined #ubiboot08:02
rikaneejuiceme: is there no other way to boot NITDroid other than passing thru /sbin/preinit ?08:02
rikaneeI've tried booting it directly from kexec after making sure the modules are in the proper path.08:03
@juicemerikanee, do you mean run it under Harmattan like in chroot?08:03
@juicemeah08:03
rikaneejuiceme: no, I mean kexec directly to a partition dedicated to nitdroid.08:03
rikaneeAll I've gotten are black screens.08:04
@juicemeokay, well, I have not tried that ever but of course it should be possible08:04
rikanee(speaking of which, Harmattan and Android are impossibly tricky to boot, while Nemo's all smooth sailing)08:04
@juicemetrue, altough I's day Harmattan is the trickiest and everything else is easy :)08:05
@juicemethedead1440, no sick leave for me :)08:05
thedead1440juiceme: yeah too bad08:05
@juicemewell, I wasn't really after that :)08:06
rikaneejuiceme: I'm trying to track down what exactly makes Harmattan sw_rst at the Nokia logo.08:06
thedead1440oh really? :p08:06
@juicemerikanee, do you have serial console? That would help a lot as you could see what really is tha place it hangs on08:07
rikaneejuiceme: the watchdogs all seem to be kicking08:07
rikaneejuiceme: I'm playing around with kernel frame buffer consoles.08:07
@juicemewell if the watchdog is kicked it's a good thing then. That's how it's supposed to be08:08
rikanee…but it still reboots, which is weird.08:08
@juicemehow did you manage to do that, I could not get the FB console to refresh?08:08
rikaneeoh, and I learned that watchdogs trip way easier than on Fremantle08:08
rikaneeFremantle gives you about 60 seconds to kick the watchdogs.08:09
rikaneeHarmattan gives you 5, on a good day.08:09
@juicemethat's a lot shorter period, do you think that's one of the things that kills the boot on rev.1603 devices?08:10
rikaneejuiceme: build omapfb and sgx as modules, load omapfb first, then unload that and start sgx when startup tasks emit the signal.08:10
rikaneeoh, and remember to disable the boot up animation.08:10
rikaneejuiceme: they should all be the same, except for some non-core components08:11
rikaneehwrev 1507 here.08:11
rikanees/non-core/pre-kernel/08:11
@juicemerikanee, care to share your rm696_nemo_defconfig and init?08:11
@juicemei pastebin forex?08:12
@juicemes/i /in /08:12
rikaneeNOLO takes care of hardware init for us, and assuming MOSLO works, then ubiboot should too.08:12
rikaneealso, fyi, it's Hurrian in disguise.08:12
rikaneeshhhh.08:13
@juicemeWell I got that already :) 08:13
@juiceme(did /whois rikanee)08:13
rikaneeLemme dig out the specific edits needed.08:14
@juicemethx, I would really appreciate that.08:14
@juicemebut now, I'll grab a light breakfast for a while...08:15
rikaneeCONFIG_FB_OMAP2=m CONFIG_OMAP2_DSS=y08:18
rikaneeshould enable the OMAP frame buffer,08:18
rikaneethen in CONFIG_CMDLINE:08:19
rikaneeadd "video=omapfb:vram:2M,vram:4M"08:20
rikaneeand "console=tty0"08:21
-!- guildwar [~guildwar@114-46-154-230.dynamic.hinet.net] has joined #ubiboot08:56
@juicemethanks, I'll try that.09:05
@juicemeguildwar, morninrg09:05
@juicemeguildwar, I still would like to know few moe details09:06
@juicemeis your N9 16G or 64G version?09:06
@juicemeand could you also post your dmesg when you have booted to Harmattan?09:07
guildwarjuiceme, morning :)09:08
guildwarmy n9 16G color cyan version09:09
@juicemeokay09:09
guildwarcurrently, I boot harmattan and nemo are good, but when I boot nitdroid, the android boot logo will delay about 40 second to appear09:12
@juicemedoes it still get thee eventually?09:13
@juicemes/thee/there/09:13
guildwarI think it happen everytime.09:13
guildwarand I found another strange thing09:14
@juicemeyes?09:15
guildwarsometimes, I can't boot to nitdroid is cause by /init.rc in nitdroid root, became permission 77709:15
guildwarif i manual chmod to 644 /init.rc, then I can boot into nitdroid09:15
@juicemestrange, does it change by itself?09:15
guildwaryes09:16
@juicemeare you using ics or jellybean?09:16
guildwarI don't know who change it09:16
guildwarjellybean09:16
@juicemeok, I have only ICS.09:16
guildwarok09:17
guildwarand I can only boot nitdroid with zImage.pr13 kernel, can't boot with l2fix one, so nitdroid is slower before install ubiboot.09:39
@juicemeguildwar, you are correct in this, nitdroid only boots with zImage.pr1309:42
guildwarok, thanks.09:42
@juicemeThat'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
@juicemerikanee, 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 #ubiboot09:54
TMavica@guildwar have you install fastern9 ?09:56
rikaneejuiceme, hmm, good point.09:59
rikaneejuiceme: I guess it'd work either way, but I had the kernel choose the module to be safe.10:00
@juicemerikanee, what I was thinking of, maybe "console=tty0 video=omapfb:vram:2M,vram:4M" on the cmdline is enough?10:00
@juicemeok.. just thought about quick try wit that since it does not even need recompile then...10:01
rikaneejuiceme: is Device Drivers->Graphics Support->Support for10:01
rikaneeframebuffer devices->Framebuffer Console Support enabled?10:01
rikaneeit should be set to 'm'.10:01
guildwarTMavica: I don't install fastern910:02
TMavicaok10:02
rikaneejuiceme: modprobe fbcon should then kick the device into console mode.10:02
@juicemerikanee, 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
@juicemeTMavica, yes, and we are trying to find out houw that is so :)10:14
TMavicai try deinstall fastern9, try again now. Sudden feel this is the problem10:14
@juicemecould be related.10:15
TMavicalet me try now, standby, i go use 02 version10:15
@juicemefingers crossed10:17
TMavicasame...after loading the nokia circle, reboot self10:33
TMavica1st start it auto reboot, 2nd load again, success go in...10:33
@juicemetoo bad10:33
TMavicastrange..10:33
TMavicaI confirmed need boot 2 times to success go harmattan10:38
TMavicai use l2 fix kernel10:38
thedead1440before ubiboot there were a number of times i used to need 2 boots to boot into Harmattan; using dual-boot nitdroid kernel at that time10:40
thedead1440with ubiboot only once i've had the same issue so maybe its not /really/ an ubiboot issue?10:40
Jonnimody 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
Jonniie if people choose the os too slow, it will kill the device during boot before it has managed to start its own kicker10:42
Jonniwatchdog even10:42
Jonniit has not managed to start its own kicker in time even10:43
TMavicaconfirmed no recharge battery msg when use l2fix, but need 2nd times success go harmattan, other kernel cant boot into10: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 #ubiboot10:57
@juicemeJonni, did you fix the watchdog by removing the comments I had on rows "#exec 3>/dev/$WD_NAME" and "#echo "30" >&3" ?11:00
@juicemebecause, 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
Jonniand you havent disabled watchdogs with flasher?11:24
@juicemenot to my knowledge, no.11:27
@juicemewhat's the option to do so?11:27
JonniI disabled the watchdogs like this http://pastebin.com/UtYiEyLs11:33
Jonniflasher --set-rd-flags=no-omap-wd,no-ext-wd,no-lifeguard-reset   <- that disables both watchdogs and also disables the reset11:35
@juicemeok, I'll try to put your solution in init and make a new ubiboot-02 kernel with it.11:35
@juicemeI am fairly sure I never used that flasher command on my device. odd.11:36
@juicemeIs there a way to see the activated rd flags?11:36
Jonniflasher --query-rd-mode11:36
Jonnishows the flags that are active11:36
@juicemewith device on or off?11:37
Jonnilong powerpress, so it queries on boot.11:37
Jonniflasher --query-rd-mode -R    if you want it to boot back on after the query11:37
@juicemeok, I'll check what does it say.11:37
@juicemeThe device is in production mode11:39
@juicemeR&D flags (not effective) (0x0000): (none)11:39
@juiceme:)11:39
Jonnimight be that different hw revisions have different watchdog tresholds or something.11:42
@juicemepossibly11:43
guildwarI found my /sbin/preinit came from sillyboot_2.tar.bz2.  Is is ok?11:46
@juicemeguildwar, are you using /sbin/preinit or /sbin/preinit_harmattan ?11:47
guildwarI think /sbin/preinit_harmattan, I don't edit boot.conf11:48
-!- TMavica [~TMavica@1-36-18-052.static.netvigator.com] has quit []11:48
@juicemeOkay, then that's then what gets executed at Harmattan boot, yout /sbin/preinit is unused currently.11:49
guildwarok11:50
@juicemeJonni, what does that watchdog() you posted actually do...?11:50
guildwarsorry, but where is the file init=/sbin/preinit from ubiboot.log on O_COMMAND_LINE line ?11:54
@juicemethe $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
guildwarok, thnaks.11:57
@juicemewhy 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
@juicemeubiboot uses a fixec cmdline when it boots, and constructs the 2nd-level boot parameters from the "original command line"11:59
guildwarok, now I understand :)12:00
@juicemeguildwar, 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
guildwarok, wait a moment12:01
guildwarok, here you are    http://pastebin.com/utTDUMWH12:11
@juicemethanks12:11
Jonnijuiceme: thats from harmattan init, basicly it just echoes stuff to devices once per 10 seconds.12:12
@juicemeok, thanks.12:16
@juicemeguildwar, at least on first glance I do not see anything that differs much from my own dmesg on rev.1501 device.12:25
@juicemeIt would be good to compare that to another 1603 having the problems...12:25
@juicemeon your dmesg it says: "tpa6130a2 2-0060: UNTESTED version detected (3)"12:28
@juicemethat's something not on my device12:28
guildwarok12:36
guildwarmy phone bought from Shanghai, China, but I use singapore firmware12:39
@juicemeAlso, on your log there is an entry "Disabling unused clock 'wdt1_ick'" that's lacking from my dmesg13:04
@juicemealso "panel-nokia-dsi display0: skipping HW reset"13:05
@juicemeTMavica, you there?13:33
@juicemeah, not anymore13:34
@juicemeanyone around having access to rev.1603 device13:34
@juicemeI just built a new ubiboot-02 kernel with Jonni's watchdog kicker13:35
@juicemeif you would like to test it, there's a prerelease available at http://www.swagman.org/juice/zImage_2.6.32.54-ubiboot-02_08041313:37
@juiceme(md5sum=39d4db67b221960f96cfb5d6f4bb9162)13:38
-!- TMavica [~TMavica@m121-202-132-139.smartone.com] has joined #ubiboot14:34
@juicemeTMavica, hi14:35
TMavicahi14:35
@juicemeWould you like to test an ubiboot-0 version with a watchdog fix?14:35
@juicemeI annot guarantee it works on 1603, but you never know...14:35
@juicemes/annot/cannot/14:36
TMavicasure. but i just start working, not at home now14:36
@juicemeok. when you got time, download and flash  http://www.swagman.org/juice/zImage_2.6.32.54-ubiboot-02_08041314:36
@juiceme(md5sum=39d4db67b221960f96cfb5d6f4bb9162)14:36
@juicemeno need to change cpio, just the kernel flashing is enough.14:37
TMavicaok. tell you the result after 12 hours later14:37
@juicemegood.14:37
TMavicaonly me here use 1603?14:40
@juicemewell guildwar has 1603 but it works with ubiboot-02. haven't figured out yet why.14:41
@juicemeit's the only case I know of...14:42
TMavicaok14:42
TMavicaafter success boot to harmattan few times, sudden not ok14:45
@juicemewhat are the symptoms?14:45
TMavicai try uninstall overclock module, try again can ok or not14:45
TMavicabut not now, lol14:46
@juicemeyes.14:46
TMavicai hv try uninstall fastern9, it can boot few times and no recharge battery msg14:47
TMavicabut now is un bootable14:47
@juicemeso basicly it's the fastern9 that causes (at least some of) the problems.14:47
@juicemeTMavica, if you manage to boot to Harmattan, could you post your "dmesg" to pastebin?14:51
@juicemeI'd like to compare the boot logs of different devices, trying to find out what causes the problems.14:52
TMavicasorry. u mean after success boot to harmattan, dmesg in terminal?14:58
@juicemeyes, exactly.14:58
TMavicawhats the whole command? lol14:58
thedead1440dmesg14:59
TMavicaunderstood14:59
@juicemehmm dmesg ? it prints out the kernel log14:59
@juicemejust that command, 5 letters :)14:59
TMavicaby the way, i just uninstalled opptimizer, dont know can boot or not15:00
TMavicabec i uninstall ubiboot at this moment15:00
@juicemeif you operate on the console (not ssh), you can do forex. "dmesg > logfile.txt" and the transfer the logfile.txt outside device..15:00
TMavicathis i know15:01
@juiceme:)15:01
TMavicai will upload to dropbox and let u dl15:01
@juicemethanks.15:01
@juicemebut now I need to run, to catch a train.15:01
@juicemebye for a while...15:01
TMavicabye15: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!