IRC log of #maemo for Saturday, 2012-10-06

bullet9mmok, it works! thanks a lot merlin1991!  :)00:00
*** bullet9mm has quit IRC00:00
maschwhen i click on "allow tweeGo" it tells me that there are network problems T_T00:00
RST38hSamsung Creates New File System F2Fs For Linux & Android00:03
Chiku|dchi I setup on my pc mediamonkey as dlna server. how can I play music on my n900 ?00:04
*** shanttu has quit IRC00:06
*** VDVsx has joined #maemo00:08
maschdafuq? is twitter down? next twitter client tells me that twitter responses with http 40100:10
*** VDVsx has quit IRC00:12
*** livelace has quit IRC00:14
merlin1991401 mean unauthoriezed00:15
merlin1991so maybe twitter changed something on the api again?00:15
merlin1991did you try khtweeteur or how it's called?00:15
*** APTX has quit IRC00:16
*** APTX has joined #maemo00:17
*** dafox has joined #maemo00:18
*** dafox is now known as Guest2403700:19
maschyes, that tells me that the error ist 40100:20
maschtweego just tells me that there is an error00:20
*** Guest24037 is now known as dafox00:21
maschkast commit to tweego is from last year, maybe its outdated00:22
masch*last00:22
*** vanadis has quit IRC00:23
merlin1991masch: on maemo *everything* is outdated00:24
maschmerlin1991: :D i know00:24
maschbut at least on maemo, you are able and allowed to fix it00:24
*** Vanadis__ has joined #maemo00:24
*** 18VAAAAAO has quit IRC00:24
*** robink_ has joined #maemo00:25
*** _rd has joined #maemo00:25
merlin1991yeah00:27
*** VDVsx has joined #maemo00:29
*** jhb has quit IRC00:29
*** eijk has joined #maemo00:32
*** VDVsx has quit IRC00:33
*** hardaker has joined #maemo00:35
*** croppa has joined #maemo00:35
*** sequantz has quit IRC00:40
*** FIQ has quit IRC00:42
Chiku|dcok dlna works on lan00:48
Chiku|dcdoes n900 media player can use dlna from internet ?00:48
*** mark_g44 has quit IRC00:49
*** VDVsx has joined #maemo00:51
*** setanta has quit IRC00:54
*** VDVsx has quit IRC00:55
*** nox- has joined #maemo00:56
*** teotwaki_ has quit IRC01:01
*** ghostcube has quit IRC01:06
*** dos1 has joined #maemo01:09
*** _rd has quit IRC01:10
*** _rd has joined #maemo01:10
jacekowskithere is chromium in my repo01:10
jacekowskiSpeedEvil: there is chromium in my repo01:11
*** FIQ has joined #maemo01:12
*** fredrinLap has quit IRC01:15
*** NIN101 has quit IRC01:16
*** lxp has joined #maemo01:20
*** OkropNick has quit IRC01:25
*** rzr is now known as rZr01:29
*** phlixi has joined #maemo01:31
*** VDVsx has joined #maemo01:33
*** VDVsx has quit IRC01:33
SpeedEvilah01:34
SpeedEvilhow difficult would a build for the raspberry pi be?01:34
*** valeriusL has quit IRC01:38
*** valeriusL has joined #maemo01:39
*** _rd has quit IRC01:40
*** markinfo has quit IRC01:43
*** NishanthMenon has quit IRC01:45
*** chenca has quit IRC01:50
*** eijk has quit IRC02:15
*** VDVsx has joined #maemo02:16
*** VDVsx has quit IRC02:20
*** hergertme has joined #maemo02:29
*** rcg has quit IRC02:31
*** mvp_ has quit IRC02:31
*** konelix has quit IRC02:32
*** Neutron18 has quit IRC02:35
*** Neutron18 has joined #maemo02:36
GeneralAntilles~backupmenu02:37
infobotmethinks backupmenu is http://talk.maemo.org/showthread.php?t=6397502:37
*** VDVsx has joined #maemo02:37
hergertmeanyone happen to find the "hardware type" is that is required with flasher -c -h <hw type>02:39
hergertme(have an n9, need to cold flash)02:39
*** VDVsx has quit IRC02:41
*** dos1 has quit IRC02:47
*** dos1 has joined #maemo02:49
*** M4rtinK has quit IRC02:53
*** VDVsx has joined #maemo02:58
*** brzys has quit IRC03:00
*** VDVsx has quit IRC03:03
*** hardaker has quit IRC03:12
*** arvut has joined #maemo03:22
arvuthi, I just found a bug in the chess that came with my n900 phone (maemo5 chess?)03:23
*** at1as has quit IRC03:25
GeneralAntillesarvut, no fixes will be forthcoming.03:27
*** Darkchaos has quit IRC03:27
arvutwhen the computer had a peasant at e4 and I had one at f2, by moving mine to f4 the computer took it by moving e4-f303:27
arvutheh, I know. but its still kinda fun03:28
arvutGeneralAntilles: do you know if the sourcecode for this chess is available?03:32
*** at1as has joined #maemo03:33
GeneralAntillesI don't think so, but I don't remember well.03:33
merlin1991arvut: the games are closed source03:35
merlin1991afaik03:35
arvutI see03:35
*** user_ has joined #maemo03:36
arvutgood game tho. rather quick calculations on expertmode and so brilliant moves03:36
merlin1991I didn't beat it a single time so far03:36
merlin1991though I suck at chess :D03:37
*** hergertme has quit IRC03:38
arvutyou can only beat computerchess if its illcoded or suicides on purpose ;)03:39
arvutgood for practice tho03:39
*** user_ has quit IRC03:56
*** VDVsx has joined #maemo04:01
SpeedEvilclosed source and buggy04:05
SpeedEvilthe collision detection in blocks does not work properly04:05
*** guampa has quit IRC04:06
merlin1991hm I never noticed that04:06
SpeedEvilyou can slip a block where t wouldn't fit sometimes.04:06
SpeedEvilif the final location is good.04:07
SpeedEviland there is a block in the way04:07
*** nox- has quit IRC04:09
*** user_ has joined #maemo04:17
*** guampa has joined #maemo04:18
*** stardiviner has joined #maemo04:23
*** stardiviner has quit IRC04:24
*** Luke-Jr has quit IRC04:24
*** muelli has quit IRC04:28
*** user_ has quit IRC04:31
*** dafox has quit IRC04:40
*** flo_lap has joined #maemo04:46
*** florian has quit IRC04:49
*** etrunko has quit IRC04:52
*** _xnt14 has quit IRC04:54
*** aloril_ has quit IRC04:56
*** _xnt14 has joined #maemo04:57
*** rick0815 has joined #maemo04:57
*** rick8024 has quit IRC04:59
*** rick0815 is now known as rick802404:59
*** VDVsx has quit IRC05:00
*** uen| has joined #maemo05:05
*** uen has quit IRC05:08
*** uen| is now known as uen05:08
*** aloril_ has joined #maemo05:08
*** andre__ has quit IRC05:15
*** robink_ is now known as robink05:19
*** robink has joined #maemo05:19
*** VDVsx has joined #maemo05:30
*** VDVsx has quit IRC05:30
*** dos1 has quit IRC05:31
*** radic has joined #maemo05:33
*** FIQ|n900 has joined #maemo05:36
*** radic_ has quit IRC05:37
*** simpletechnology has joined #maemo05:49
*** VDVsx has joined #maemo05:52
*** simpletechnology has quit IRC05:53
*** VDVsx has quit IRC05:56
*** MacDrunk has joined #maemo06:02
*** DocScrutinizer05 has quit IRC06:03
*** DocScrutinizer06 has joined #maemo06:03
*** rick8024 has quit IRC06:09
*** Hurrian has quit IRC06:50
*** Hurrian has joined #maemo06:51
*** erstazi has quit IRC06:55
*** VDVsx has joined #maemo06:56
*** VDVsx has quit IRC07:00
*** guampa has quit IRC07:04
*** beford has joined #maemo07:15
*** arvut has quit IRC07:17
*** user_ has joined #maemo07:24
*** user_ has quit IRC07:30
*** marainein has quit IRC07:37
*** VDVsx has joined #maemo07:38
*** VDVsx has quit IRC07:38
*** kimitake is now known as kimitake_idle07:48
*** VDVsx has joined #maemo08:00
*** VDVsx has quit IRC08:04
*** Jade2 has joined #maemo08:07
*** Jade2 has quit IRC08:07
*** Jade2 has joined #maemo08:07
*** Jade has quit IRC08:07
*** Jade2 is now known as Jade08:07
*** VDVsx has joined #maemo08:21
*** VDVsx has quit IRC08:25
*** FlameReaper has joined #maemo08:36
*** user_ has joined #maemo08:42
*** user_ has quit IRC08:48
*** Jade has quit IRC09:00
*** FlameReaper has quit IRC09:02
*** Jade has joined #maemo09:02
*** Jade has quit IRC09:02
*** Jade has joined #maemo09:02
*** VDVsx has joined #maemo09:03
*** VDVsx has quit IRC09:03
*** stardiviner has joined #maemo09:05
*** FlameReaper has joined #maemo09:10
stardivinerIs there anyone install Ruby 1.9 on N900 ?09:12
*** FlameReaper-PC has joined #maemo09:20
*** FlameReaper has quit IRC09:22
*** VDVsx has joined #maemo09:25
*** VDVsx has quit IRC09:25
*** sLumPia has joined #maemo09:34
*** DHR has quit IRC09:39
*** sLumPia has quit IRC09:39
*** Zahra has joined #maemo09:46
*** VDVsx has joined #maemo09:46
*** VDVsx has quit IRC09:46
*** Tofe has joined #maemo10:00
*** Tofe has left #maemo10:01
*** jhb has joined #maemo10:03
*** VDVsx has joined #maemo10:07
*** VDVsx has quit IRC10:07
*** sLumPia has joined #maemo10:12
*** FlameReaper-PC has quit IRC10:14
*** ieatlint has quit IRC10:17
*** FlameReaper has joined #maemo10:20
*** dhbiker has quit IRC10:23
*** VDVsx has joined #maemo10:28
*** VDVsx has quit IRC10:28
*** sasquatch has quit IRC10:29
*** sasquatch has joined #maemo10:29
*** ale152 has joined #maemo10:33
*** Jade has quit IRC10:33
* archeyDevil is installing power-kernel and vim :)10:34
*** Jade has joined #maemo10:34
*** Jade has quit IRC10:34
*** Jade has joined #maemo10:34
*** OkropNick has joined #maemo10:39
*** Jade has quit IRC10:40
*** _rd has joined #maemo10:41
archeyDevilGotta love deauth :D10:46
*** MacDrunk has left #maemo10:47
*** VDVsx has joined #maemo10:50
*** VDVsx has quit IRC10:50
*** FlameReaper has quit IRC10:59
*** sLumPia has quit IRC10:59
*** FlameReaper has joined #maemo11:00
*** ieatlint has joined #maemo11:02
kerioarcheyDevil: oh you11:05
*** eMHa has quit IRC11:06
*** ieatlint has quit IRC11:06
archeyDevilkerio: Hey11:06
archeyDevilOh goody.. So easy to restore the kernel back :)11:07
archeyDevilGood thing I don't want to tho ^_^11:08
*** VDVsx has joined #maemo11:11
*** VDVsx has quit IRC11:11
*** ieatlint has joined #maemo11:22
*** _rd has quit IRC11:25
*** marainein has joined #maemo11:31
*** VDVsx has joined #maemo11:32
*** VDVsx has quit IRC11:33
*** Darkchaos has joined #maemo11:38
*** _PanzerSajt has joined #maemo11:49
*** Pali has joined #maemo11:49
*** ale152 has quit IRC11:50
_PanzerSajtPali, Can you help me with u-boot?11:50
freemangordon<_PanzerSajt> I can't boot into maemo because I used wrong parameters in the bootitems11:51
Pali_PanzerSajt, stock nokia kernel is attached to uboot11:51
Paliso you can still boot this kernel11:51
_PanzerSajtyes but the kernel-atags flag11:52
_PanzerSajtis wrong11:52
freemangordon_PanzerSajt: can't you just flash xImage?11:52
freemangordon*zImage11:52
Pali_PanzerSajt, what version of uboot you have?11:52
Palican you open uboot console?11:52
_PanzerSajtyes11:52
_PanzerSajt2012.04.01-0126911:53
Palirun this command: run attachboot11:53
*** stardiviner has quit IRC11:53
*** Dibblah has joined #maemo11:53
_PanzerSajtit just tries to boot maemo11:53
_PanzerSajtbut It hangs and starting kernel11:53
*** VDVsx has joined #maemo11:54
_PanzerSajt*at starting11:54
*** VDVsx has quit IRC11:54
*** ale152 has joined #maemo11:54
_PanzerSajtcan I modify the address via setenv?11:54
Paliwhat did you do?11:55
Paliattachboot should work11:55
Paliyou rewritten attachboot env? or what?11:55
_PanzerSajtI tried to boot android but I haven't updated my .item files with ATAGADDR11:55
_PanzerSajtnothing rewritten11:55
keriowhat are atags?11:56
Palithen maemo kernel should be bootable11:56
Paliremove battery, wait 5 minutes, insert it and try again11:56
_PanzerSajtnitdroid boots fine11:56
_PanzerSajtbooting ubuntu from sd works fine11:57
_PanzerSajtjust maemo not11:57
Palican you charge battery in nitdroid/ubuntu?11:57
_PanzerSajtyes I can11:57
Palimaybe battery is empty11:57
Paliand maemo turing phone off11:57
_PanzerSajtno11:57
_PanzerSajtI have charged it 90%11:57
Paliok11:58
Palidownload zImage with framebuffer11:58
Paliuse mkimage to create uImage (from zImage)11:58
Palistore it to sd card (on fat/ext4 partition)11:58
Paliand boot it11:58
Pali$ mkimage -A arm -O linux -T kernel -C none -a 80008000 -e 80008000 -n zImage-fb -d zImage-fb uImage12:00
Palithis will convert zImage-fb to uImage ^^^ (run on host pc)12:00
Paliuboot can boot only uImage(s)12:00
_PanzerSajtfrom where can I download the zImage?12:01
Paliuse this: http://mohammadag.xceleo.org/public/maemo/kernels/framebuffer/zImage-fb-omap1-pr1312:02
PaliuImage store to first fat32 partition on SD card12:03
*** eMHa has joined #maemo12:03
*** Zahra has quit IRC12:04
Paliand in uboot console run:12:04
Palisetenv setup_omap_atag 112:04
Palirun sdboot12:04
_PanzerSajtkernel panic12:08
Palican you write me full message?12:08
*** M4rtinK has joined #maemo12:09
*** mzanetti has joined #maemo12:10
Pali_PanzerSajt, maybe upload photo image somewhere, or rewrite screen to pastebin12:11
_PanzerSajtyes I'm uploading photo12:11
Paliok12:12
_PanzerSajthttp://imageshack.us/a/img839/674/img2012100611100165.jpg12:13
Palioh, same error message as merlin1991 :-(12:15
*** VDVsx has joined #maemo12:15
*** VDVsx has quit IRC12:15
Pali_PanzerSajt, for unknown reason stock kernel booted from uboot on only some n900 cannot mount rootfs ubifs12:16
_PanzerSajtis it a hw or sw problem?12:16
Palisw problem12:16
_PanzerSajtoh that's fine12:16
Paliyou need to reflash only *kernel* to boot maemo12:16
freemangordonPali: still not solved?12:16
Palino12:16
freemangordonhmm, any clue what happens?12:17
PaliI cannot reproduce it on my n90012:17
Paliand I'm waiting for dumps from merlin199112:17
freemangordonok12:17
_PanzerSajtPali, I can help you debug12:17
Pali_PanzerSajt, can you boot rescue OS from uboot?12:17
PaliI need atags dump from some kernel booted from uboot12:18
Pali_PanzerSajt, also atags dumps from nitdorid/ubuntu are usefull too12:18
freemangordonPali: http://plugcomputer.org/plugforum/index.php?topic=1272.012:18
_PanzerSajthow can I get those dumps from ubuntu boot?12:19
Palisee this thread: http://talk.maemo.org/showthread.php?t=8456012:20
Palihere is armel binary of dumpatags: http://talk.maemo.org/showpost.php?p=1214013&postcount=1012:20
Paliyou need to run that on android/ubuntu/whatever started by uboot12:20
Paliand upload dump to pastebin12:21
keriosomething needs to tell the ubi layer to attach mtd4 as ubi012:21
Pali"rootfs" string is link for "mtd4"12:22
freemangordonPali: read what I posted few lines above12:23
Palifreemangordon, I read12:23
freemangordonok :)12:23
*** NIN101 has joined #maemo12:23
Palibut problem is that when you boot stock kernel without uboot it working fine!12:23
freemangordonI know12:23
Palinolo -> kernel is OK, but nolo -> uboot -> kernel not12:23
Paliso I do not think that something was not called12:24
freemangordonyou think there is some atag missing?12:24
Palimaybe missing or bad atag from mtd parittion12:24
*** netkat has joined #maemo12:25
*** mvp_ has joined #maemo12:28
*** mvp_ has quit IRC12:30
*** mvp_ has joined #maemo12:30
_PanzerSajtPali, I can't run that binry12:33
_PanzerSajtand also when I cat /proc/atags I just get the u-boot boot parameters12:33
Palicat /proc/atags is usefull too12:33
Paliuse xxd or other tool which convert binary text to ascii12:34
*** VDVsx has joined #maemo12:36
*** VDVsx has quit IRC12:36
Palihere are other reports of this problem: http://talk.maemo.org/showpost.php?p=1247913&postcount=443 http://talk.maemo.org/showpost.php?p=1260514&postcount=49512:37
* Sicelo also has that same issue.. can't boot stock maemo kernel with u-boot12:37
*** Jade has joined #maemo12:37
*** Jade has quit IRC12:37
*** Jade has joined #maemo12:37
_PanzerSajtPali, http://paste.ubuntu.com/1263476/12:37
Sicelobut ubooot-pr13 does it fine12:38
Siceloah.. yes, /me is qhubekela on tmo12:38
keriowait, root=/dev/mmcblk0p3?12:38
_PanzerSajtkerio, yes but this is ubuntu running from SD12:39
Sicelowhich repo has xxd?12:42
Palivim12:42
Palivim depends on xxd12:43
Pali(or gvim)12:43
Siceloty12:43
Pali_PanzerSajt, here is converted your dump http://pastebin.com/ADi7Tvgu12:43
Palithere are missing *all* omap atags12:43
Pali_PanzerSajt, you need to run "setenv setup_omap_atag 1" before starting system12:44
*** user_ has joined #maemo12:44
*** eMHa has quit IRC12:44
_PanzerSajtbefore starting ubuntu?12:45
Paliyes12:45
Paliin uboot console12:45
Palistart uboot console and run:12:46
Palisetenv setup_omap_atag 112:46
Palibootmenu12:46
PaliSicelo, do you have some system booted from uboot working?12:47
*** user_ has quit IRC12:48
_PanzerSajtPali, http://paste.ubuntu.com/1263508/12:54
_PanzerSajtsorry but I can't acces pastebin12:54
Palino problem ubuntu has paste too :-)12:55
_PanzerSajtbut I can't read your link12:56
_PanzerSajthttp://pastebin.com/ADi7Tvgu12:56
*** VDVsx has joined #maemo12:58
*** VDVsx has quit IRC12:58
*** beford_ has joined #maemo12:58
Palihere is converted pastebin: http://pastebin.com/bCczYFLm12:59
*** beford has quit IRC12:59
Paliok, here is copy (of second): http://paste.ubuntu.com/1263513/12:59
Palirootfs is correct:13:00
Pali001c:4f0b PARTITION:    rootfs           : size=0fb40000 offset=004c0000 mask=0000000013:00
Palibut there is abnormal mem tag:13:00
Pali54410002 ATAG MEM size=00000000 start=9000000013:01
*** beford_ has quit IRC13:01
*** beford has joined #maemo13:02
_PanzerSajthow should it look like?13:04
Palisize=0 is abnormal13:05
Palibut it should work (kernel should ignore it)13:05
Palibut I do not know where can be problem...13:05
Palimore people wrote that booting from 2012.04-1 worked, but 2012.04-2 not13:06
PaliI will look at changes13:06
_PanzerSajtPali, I can't use maemo since 3-4 mounths due to this bug13:10
_PanzerSajtbut I wouldn't like to resintall maemo and u-boot again13:11
*** Wizzup has joined #maemo13:11
*** Darkchaos has quit IRC13:11
_PanzerSajtbecause ubuntu is booting now just fine and it was really hard to achive13:11
*** beford has quit IRC13:11
*** Wizzup_ has quit IRC13:14
Paliin 2012.04-2 was enabled onenand support13:14
Palimaybe uboot doing some initialization which can break maemo kernel?13:14
*** MrPingu has joined #maemo13:15
Pali_PanzerSajt, I will compile same uboot version (2012.04-2) but with disabled onenand support13:15
Pali_PanzerSajt, flasher-3.5 can send kernel/uboot image to NOLO and run it without flashing13:17
_PanzerSajtPali, yes reflashing just the bootloader would be nice13:18
*** VDVsx has joined #maemo13:19
*** VDVsx has quit IRC13:19
*** fredrinLap has joined #maemo13:21
Pali_PanzerSajt, here is uboot fisco image without onenand support: http://atrey.karlin.mff.cuni.cz/~pali/u-boot/u-boot-2012.04-2+zImage-2.6.28-omap1.fiasco13:23
*** beford has joined #maemo13:23
_PanzerSajtthanks I will try it later in the evening13:24
Paliyou can start it (without flashing to nand) with this command from hist pc: flasher-3.5 -F u-boot-2012.04-2+zImage-2.6.28-omap1.fiasco -l -b13:24
Paliso you can test if working13:25
Paliafter reboot will be started original uboot13:25
Pali_PanzerSajt, after testing write here results13:26
Paliping Sicelo, merlin199113:26
_PanzerSajtPali, still the same13:27
_PanzerSajtyour new u-boot starts but maemo doesn't13:27
_PanzerSajtbye13:27
Paliahhh...13:27
Palibye13:27
*** brzys has joined #maemo13:30
*** VDVsx has joined #maemo13:40
*** VDVsx has quit IRC13:40
*** beford has quit IRC13:43
*** beford has joined #maemo13:43
*** beford has quit IRC13:48
*** antero has joined #maemo13:51
kerioPali: new KP52 deb? :313:52
Palikerio, why? you have prekp52 for testing...13:52
kerioyou said you'd make new debs with the updated modules13:53
Paliyes, but later later13:54
* kerio is sad13:54
Paliprekp52 version is working fine for me13:54
*** MrPingu has quit IRC13:54
Palibut uboot not!13:54
*** VDVsx has joined #maemo14:01
*** VDVsx has quit IRC14:02
*** muelli has joined #maemo14:05
*** eMHa has joined #maemo14:05
*** maybeArgh has joined #maemo14:05
Palifor testing, here are some old uboot fiasco images: http://atrey.karlin.mff.cuni.cz/~pali/u-boot/old/14:07
PaliI need to know which was last "working" version14:07
Pali_PanzerSajt, merlin1991, Sicelo, ... ^^^14:08
*** maybeWTF has quit IRC14:08
*** beford has joined #maemo14:10
*** dos1 has joined #maemo14:19
*** VDVsx has joined #maemo14:23
*** Darkchaos has joined #maemo14:23
*** FlameReaper has quit IRC14:25
*** VDVsx has quit IRC14:28
*** FlameReaper has joined #maemo14:29
*** VDVsx has joined #maemo14:33
*** real-dev has joined #maemo14:42
*** dev has quit IRC14:43
*** real-dev is now known as dev14:43
_PanzerSajtPali, I'm back14:45
_PanzerSajtcan I boot maemo kernel just one time?14:45
_PanzerSajtlike you freshly compiled u-boot14:46
Paliyes14:53
*** teotwaki has joined #maemo14:53
*** teotwaki has joined #maemo14:53
Pali_PanzerSajt, use that framebuffer zImage and run: flasher-3.5 -k zImage_file_name -l -b14:54
Palithat framebuffer zImage is not fiasco image, but regular kernel image, so '-k' arg is needed (instead -F)14:55
Pali_PanzerSajt, when you boot to maemo kernel, can you upload atags?14:55
_PanzerSajt?14:56
*** _rd has joined #maemo14:56
_PanzerSajtsorry I don't understand14:58
*** dafox has joined #maemo14:58
Paliuse this kernel http://mohammadag.xceleo.org/public/maemo/kernels/framebuffer/zImage-fb-omap1-pr1314:58
*** dafox is now known as Guest1574814:58
_PanzerSajtyes that's ok14:58
Paliand run from host pc: flasher-3.5 -k zImage-fb-omap1-pr13 -l -b14:58
_PanzerSajtbut  _PanzerSajt, when you boot to maemo kernel, can you upload atags?14:59
Palixdd /proc/atags14:59
Pali*xxd14:59
_PanzerSajtit wasn't working14:59
_PanzerSajtstarted booting but stopped14:59
Pali_PanzerSajt, reason?15:00
Palikernel erro?15:00
_PanzerSajtI can't read15:00
_PanzerSajttoo fast15:00
Paliturn off phone (remove battery), wait some time, insert it and try again15:00
Palimaybe bootreson was act dead15:01
*** croppa has quit IRC15:01
_PanzerSajtcouldn't create lockfile15:02
_PanzerSajtthis was the last I could read15:02
_PanzerSajtand also there's no backlight15:02
*** Zahra has joined #maemo15:02
Paliyou can enable R&D mode with disabled watchdogs which prevent rebooting:15:02
*** user has joined #maemo15:02
*** Zahra has quit IRC15:03
Pali$ flasher-3.5 --enable-rd-mode --set-rd-flags=no-omap-wd,no-ext-wd,no-lifeguard-reset15:03
*** Zahra has joined #maemo15:03
Palidisabling R&D mode: $ flasher-3.5 --disable-rd-mode15:03
*** dhbiker has joined #maemo15:10
merlin1991Pali: I'll gather the atags now15:11
Palimerlin1991, ok15:11
Palimerlin1991, can you test if one of these uboot version working? http://atrey.karlin.mff.cuni.cz/~pali/u-boot/old/15:12
merlin1991I will15:12
merlin1991do they all have the stock maemo kernel attached?15:12
Paliyes15:13
*** user has quit IRC15:13
Palimerlin1991, when you dump atags from rescueos/ubuntu/other_kernel first open uboot console and write this:15:13
Palisetenv setup_omap_atag 115:13
Palibootmenu15:13
ZogG_laptopPali: merlin1991, morning :P15:13
Pali(this will force uboot to append omap atags and run bootmenu again)15:14
PaliZogG_laptop, hi15:14
merlin1991Pali: can I put rescueos on an sd card to simply run sdboot?15:15
Palimerlin1991, no because sdboot booting only kernel image15:17
Palimerlin1991, this config item file should work: http://talk.maemo.org/showpost.php?p=1264989&postcount=50715:18
merlin1991Pali: it will take a bit longer, for reasons unkown to me my wlan is down :/15:20
Paliwtf?15:20
Palitry: stop icd2 && start icd2 && stop wlancond && start wlancond15:21
_PanzerSajtPali, I still can't boot maemo15:22
Pali_PanzerSajt, do you have log?15:22
*** eijk has joined #maemo15:23
_PanzerSajtwhere and how can I acces log files?15:23
Paliif you have ksyslogd installed, then log file is stored in /var/log/syslog15:23
Pali(or sysklogd.. I do not know package name)15:24
*** Luke-Jr has joined #maemo15:25
merlin1991Pali: nah it was the router15:25
merlin1991fsckd router needs a reboot once in a while15:25
Paliok15:25
keriomy router needs a kickin' every once in a while :(15:26
keriowhen it dies, i'll buy a routerboard one15:27
kerioalthough the OS is closed15:29
*** ced117 has quit IRC15:32
*** Hurrian has quit IRC15:33
merlin1991Pali: do I need setup_omap_atag 1 if I have ITEM_OMAPATAG ?15:33
Palithen no15:34
*** Darkchaos2 has joined #maemo15:35
*** Darkchaos has quit IRC15:35
Palimerlin1991, btw chess in n900 is open source: http://repository.maemo.org/pool/maemo5.0/free/o/osso-chess-ui/15:35
merlin1991ah shit15:35
Paliso possible bugs can be fixed :-)15:36
keriowhich engine does it use?15:36
merlin1991I remember checking on the source of some game and deducting that all are closed15:36
Palikerio, look at source code :-)15:36
Palihttps://wiki.maemo.org/Fremantle_closed_packages15:36
merlin1991btw Pali you should update your u-boot-images archive, it still uses the old atag command in the item files15:36
Palionly graphics & sounds are non free15:37
keriohm, babychess apparently?15:37
Palimerlin1991, I will update them with new uboot version15:37
Palikerio, look at debian/control15:38
Paliit depends on gnuchess15:38
PaliOSSO Chess user interface. Required chess engine, GNU Chess, and OSSO games Start-up screen provided separately.15:39
keriobut... it does have a chess engine built-in D:15:39
PaliI see15:39
*** user has joined #maemo15:42
NIN101does it? afaik it uses gnuchess15:42
keriothe source tarball has a chess engine in a subdir15:44
NIN101hmm15:44
NIN101anyway, the interface is of the built-in chess app is quite uncool, at least the graphics of the pieces.15:46
*** Zahra has quit IRC15:46
NIN101imho15:46
merlin1991ffs where did my dumpatags go15:49
*** Zahra has joined #maemo15:49
*** user has quit IRC15:52
*** DocScrutinizer06 is now known as DocScrutinizer0515:54
*** dhbiker has quit IRC15:54
*** sq-one has joined #maemo15:55
*** valerius has quit IRC15:55
merlin1991Pali: err which command in the uboot console lets me turn off the device?15:56
Palinot possible15:56
Palionly reset15:56
merlin1991:/15:56
DocScrutinizer05merlin1991: you might get away with shel llevel commands15:57
DocScrutinizer05GPIO etc15:58
DocScrutinizer05if that's really important for you, I'd take the time to look options up for you, along the line of powering down the system hard15:58
merlin1991Pali: -15 did not boot, 12 and 11 didn't even get to the kernel panic (I guess the config changed there from item_reuseatags to item_omapatags)15:59
PaliDocScrutinizer05, do you know where is kernel code which power off n900?15:59
DocScrutinizer05however note there's some cleaning up supposed to get done during graceful shutdown process, like configuring some peripherals to be properly off-state too15:59
Palimerlin1991, in 12 and 11 there was change, but attached kernel should boot16:00
DocScrutinizer05Pali: sorry, no16:00
DocScrutinizer05a few commands to twl4030 will for sure shut down main system hard16:01
merlin1991Pali: oops I ran the fb entry, will try 12 and 11 again16:01
DocScrutinizer05but they won't care for LP5523 indicator LED, even cmt, PHY, etc16:01
keriothere's no main switch? :o16:02
*** dhbiker has joined #maemo16:02
DocScrutinizer05nope16:02
kerioand no way to brutally tell bq24 to stop anything going from and to the battery?16:02
SpeedEvilbq24 is a battery charger16:03
DocScrutinizer05for modem it's a technical problem, other peripherals like LED and PHY are meant to keep config and even work during main system powered down16:03
DocScrutinizer05kerio: there _is_ _no_ switch like that anywhare in swystem16:04
SpeedEvilit does not control the main power supplies that get power from battery16:04
DocScrutinizer05cmt *needs* direct connection to battery for technical reasons16:04
*** Guest15748 has quit IRC16:05
DocScrutinizer05(impedance aka ESR of any such switch would spoil power for cmt)16:05
DocScrutinizer05PHY (USB) needs power from battery to keep config which in turn is important to properly detect charger plugin16:06
SpeedEvilit's possibly conceivable to blow the main power fuse.16:07
SpeedEvilthat however isn't really reversible.16:07
DocScrutinizer05LP5523 LED is connected directly to battery since it's meant to blink even when system powered down or suspended, and that chip also has internal power-down mode16:07
SpeedEviloh, that's USB, on reflection16:08
DocScrutinizer05main fuse? yep16:08
kerioDocScrutinizer05: anyway, i think my weird-ish problems wrt act-dead with no charger are caused by BM16:08
keriobut they're temporary16:08
DocScrutinizer05no fuse on battery either (except internal one), same rationale as for switch16:08
freemangordonPali: yesterday's asm code was buggy :D http://pastebin.com/8LpMQmQ616:08
PaliDocScrutinizer05, SpeedEvil, do you know design capacity of bl5j battery which was included in n900 pack?16:08
DocScrutinizer05sure16:09
SpeedEvil1350? I forget16:09
DocScrutinizer05132016:09
DocScrutinizer05printed on body16:09
Palifreemangordon, wrote that nokia increased capacity of new bl5j batteries16:09
DocScrutinizer05I read that, never seen it though16:10
DocScrutinizer05all my batteries are 132016:10
*** Canseco has joined #maemo16:10
_PanzerSajtmy batteries allso. I have a 2.5 year old and a 1 year old16:11
DocScrutinizer05hi _PanzerSajt :-)16:11
_PanzerSajtDocScrutinizer05, HY16:11
*** user has joined #maemo16:13
Palibme reporting 129316:13
DocScrutinizer05that's since the whole situation about BSI is pretty undefined AIUI16:15
Paliand rx51_battery driver ( https://gitorious.org/rx51-bme-replacement/rx51_battery/blobs/master/rx51_battery.c#line139 ) reporting between 1257-129216:16
PaliDocScrutinizer05, it this ok for bme replacement?16:17
DocScrutinizer05I think it's just good enough16:17
DocScrutinizer05nothing _really_ depending on precise BSI/design-capacity reporting16:18
merlin1991Pali: http://cdnm.at/~christian/maemo/atags/16:18
*** aloril_ has quit IRC16:18
Palimerlin1991, thanks!16:18
Palimerlin1991, btw both devices not bootabled from uboot?16:19
merlin1991I also tested the attached images of 11 12 and 15 and they all failed16:19
merlin1991Pali:  yes those failed16:19
Palimerlin1991, and do you have device where is uboot working?16:19
merlin1991yes it has hw revision 210116:20
*** dhbiker has quit IRC16:20
Palican you dump atags from it too (again one without uboot and one from rescue os)?16:20
merlin1991okay, but lemme have lunch first :)16:20
Paliok, thanks :-)16:21
Paliin both is this tag (from uboot): 54410002 ATAG MEM size=00000000 start=9000000016:21
PaliDocScrutinizer05, see ^^^16:21
_PanzerSajtPali, the rx51_battery is for battery management? what does it depend on?16:21
Pali_PanzerSajt, rx51_battery is kernel driver which export battery desing capacity, battery voltage and temperature to /sys/16:22
Paliit is part of project which replace BME16:22
*** Milhouse has quit IRC16:22
_PanzerSajtand do you have charging script/program?16:23
PaliI have kernel driver for charging16:23
_PanzerSajtbecause now we have i2c script for charging the battery with ubuntu16:23
DocScrutinizer05Pali: yes, this ATAg MEM line looks kinda weird16:23
_PanzerSajthttp://bazaar.launchpad.net/~panzersajt/ubuntu-n900-accessories/trunk/revision/4#charge-automatic.sh16:23
DocScrutinizer05\o/ my charge concept made it to buntkuh... *cough*16:24
kerioPali: can't rx51_battery driver grab the value from bq27200?16:24
Palikerio, no, rx51_battery read values from twl adc channels16:24
Palibut you can use also bq27x00_battery driver which report other values16:25
DocScrutinizer05kerio: bq27200 doesn't know about proper design-capacity16:25
kerioDocScrutinizer05: *should* it?16:25
Palifor bme replacement is needed both 3 drivers16:25
DocScrutinizer05err, well, it *should* but evidently it doesn't16:25
keriobut nothing cares about battery design16:26
Pali_PanzerSajt, when I got some free time, I will try to use some recent kernel and try to use bq2415x kernel driver on it16:26
DocScrutinizer05also how's the chip in N900 going to know design-cap of arbitrary plugged-in battery?16:26
keriono, i know, it doesn't know16:26
kerioand it shouldn't know16:26
keriobut why do we care?16:26
kerioit's a useless metric16:26
Palikerio, because we need battery temperature16:27
_PanzerSajtPali, but is that script safe?16:27
DocScrutinizer05LOL, http://bazaar.launchpad.net/~panzersajt/ubuntu-n900-accessories/trunk/revision/4#charge-automatic.sh actually is my original script16:27
*** _rd has quit IRC16:27
NIN101DocScrutinizer05 what does charge-automatic do exactly?16:27
_PanzerSajtDocScrutinizer05, how safe is it? :)16:27
DocScrutinizer05safe enough16:27
Paliit is ok for charging with wallcharger16:28
DocScrutinizer05IOW it's absolutely safe, just maybe not that reliable16:28
_PanzerSajtNIN101, detects if the wallcharger is present16:28
kerioPali: battery temp is a function of the design capacity too? :O16:28
Palikerio, it is part of that driver16:28
keriooh, k16:28
_PanzerSajtDocScrutinizer05, do you mind that we use your script with out ubuntu project?16:29
_PanzerSajt*with our16:29
DocScrutinizer05nah16:29
DocScrutinizer05go ahead16:29
*** dafox has joined #maemo16:29
freemangordonjacekowski: ping16:29
*** dafox is now known as Guest150016:30
_PanzerSajtPali, can you help skry? he is trying to bring 3.5 kernel to n90016:30
DocScrutinizer05you just could mention me, maybe point to http://talk.maemo.org/showthread.php?p=658278#post65827816:30
*** aloril_ has joined #maemo16:30
freemangordon_PanzerSajt: afaik he has 3.5 booting16:30
Pali_PanzerSajt, now I'm overprojected :-)16:30
_PanzerSajtPali, np16:30
Palibme, uboot, kernel-power, ...16:30
_PanzerSajtfreemangordon, yes but he still strugles with charging16:31
kerioDocScrutinizer05: hm, isn't charge21.sh "better"?16:31
DocScrutinizer05sure16:31
CansecoI like when people make QT apps like hamster-filer with a "rotator" function, ;)16:31
freemangordon_PanzerSajt: he just need to forward-port Pali's drivers16:31
*** Guest1500 is now known as dafox16:31
DocScrutinizer05"better" as in "more versatile, more reliable"16:31
_PanzerSajtfreemangordon, so it will work?16:32
freemangordonyes16:32
_PanzerSajtfine thanks16:32
Paliyou need to write to rx51 board code functions which connect isp and bq drivers together16:32
freemangordonisp?16:33
Paliin maemo kernel isp code is glued into musb, so I needed to change musb code...16:33
freemangordoniirc isp is camera16:33
Paliisp1704 kernel driver for charger detection16:33
freemangordonaah, ok :)16:33
freemangordonPali: do you know anyone here but jacekowski who can review my assembler code16:34
freemangordon(MUTEX_SET)16:34
PaliDocScrutinizer05?16:34
DocScrutinizer05?16:35
freemangordonhmm, yeah, why not :)16:35
freemangordonhttp://pastebin.com/8LpMQmQ616:35
freemangordonDocScrutinizer05: ^^^16:35
Palimaybe lxp?16:35
freemangordonoriginal part is for non-thumb code16:35
freemangordoni need my thumb replacement reviewed16:36
DocScrutinizer05aah, sorry I'm not really awake to do a proper review right now16:36
freemangordonDocScrutinizer05: no hurry, but please do it when you're awake :)16:37
DocScrutinizer05I'll try to not forget it, ping me again in a few hours if I did nevertheless16:37
freemangordonthis code is from berkeley db and I want to be sure I won't screw up address book :D16:37
freemangordonok16:37
DocScrutinizer05Pali: (isp1704 kernel driver for charger detection) ... is highly critical code, since it will 'ruin' 1707 config when run in the wrong moment16:39
*** valerius has joined #maemo16:39
PaliDocScrutinizer05, when I looked at that driver it register some otg notification, and usb code calling detection function16:39
DocScrutinizer05Pali: gambling with this code can result in all sorts of highly unwanted weird effects16:40
DocScrutinizer05incl system not booting up anymore, or not detecting fastcharger at all, or (most likely) breaking any established USB session used to do PC-Suite or AssRage or USB-networking or even charging from non-fastcharger powersources16:42
DocScrutinizer05I'm not saying you shouldn't touch that code (au contraire it needs some love, urgently), but I suggest you closely inspect what and how this code is doing, when it may get called and when not, etc16:44
merlin1991Pali: I added atags from attached kernel, stock kernel and rescueos for the device that works (2101)16:45
merlin1991http://cdnm.at/~christian/maemo/atags/16:45
Paliok, thanks!16:45
merlin1991and the difference I could spot so far, is that on the one that works we have no MEM size=0 weird shit16:45
freemangordonmerlin1991: can you help with some gcc inline assembly?16:46
DocScrutinizer05Pali: yes, basically it's the musb-hdrc code detection function that actually messes up the 1707 config16:47
merlin1991freemangordon: you've got a billion times more expertise in that regard compared to me :D16:47
freemangordonmerlin1991: I need a review16:47
DocScrutinizer05Pali: as a general rule you MUST NOT call the musb-hdrc detection code whenever any USB session got established16:47
freemangordonmerlin1991: otherwise code seems to work, but it is in very critical part of the system16:48
PaliDocScrutinizer05, ok, in kp is that detection disabled when you enter to host mode16:48
*** Wizzup_ has joined #maemo16:48
DocScrutinizer05Pali: USB sessions are not limited to hostmode16:48
Paliso some code should be added to upstream kernel too...16:49
Paliyes16:49
*** _rd has joined #maemo16:49
merlin1991freemangordon: what exactly should I review? as I don't have the slightes clue how to read actual assembler code :D16:49
Palimerlin1991, are you sure that attached_2101.txt is dump from kernel booted from uboot and rescueos_2101.txt is booted from uboot too?16:49
freemangordonmerlin1991: well, scratch that then :)16:50
merlin1991Pali: I'm 100% certain, though I'm happy to retry16:50
Palimerlin1991, ok, but uboot appending same mem atags for all kernels16:50
Paliand there are two different...16:50
*** Wizzup has quit IRC16:51
Palican you also boot other kernel (kernel-power, or framebuffer kernel) on that phone where booting from uboot working?16:51
DocScrutinizer05Pali: the right thing to do is call that detection code unconditionally only once immediately after VBUS got detected (external power source), then check if that power source is fastcharger and store the info in a static. Then never again call the deetction function until VBUS=0 (power source detached) but rather return static result of initial probing when _anybody_ asks16:51
Palimerlin1991, and did you used last uboot 2012.04-2?16:52
DocScrutinizer05Pali: "immediately" here means not even ENUM may have started yet16:52
PaliDocScrutinizer05, ok16:52
DocScrutinizer05:-)16:52
merlin1991Pali: actually I can't boot the fb kernel there16:53
freemangordonPali: is it nolo that passes ATAG MEM size=00000000 start=9000000016:53
merlin1991or the not attached stock kernel16:53
*** Zahra has quit IRC16:53
Palifreemangordon, no16:53
freemangordonbut who?16:54
merlin1991Pali: maemo kernel wise only the atached kernel boots16:54
Palifreemangordon, uboot16:54
freemangordonsorry, my question was where did u-boot get them16:54
Palifrom sdrc code16:54
Palior I do not know16:54
Palitrying to find it now16:55
merlin1991Pali: also yes it's 2012.04-216:55
freemangordonPali: can you just make a quick'n'dirty hack and check if (ATAG MEM size=00000000) do not pass atag16:56
Palimerlin1991, I will build uboot image which force 2 static mem tags (same which report nolo)16:56
PaliDocScrutinizer05, you can look at current implementation: http://git.infradead.org/battery-2.6.git/blob/HEAD:/drivers/power/isp1704_charger.c16:56
freemangordonhmm, is it possible that 2204 is with 512MB ram :P16:57
Pali:D:D:D16:57
*** muks_ is now known as muks16:57
freemangordonPali: seems one of the differences between HW revs is memory chip16:58
merlin1991does the u-boot implementation for booting the attached image differ from booting a menu entry?16:58
Palino16:58
merlin1991why do I have different mem tags then? oO16:58
PaliI have no idea16:58
freemangordonrevs above 2101 have faster memory, for sure16:58
Palibut mem atags are read via function get_sdr_cs_size when uboot is starting16:59
kerio:o16:59
kerioreally?16:59
* kerio has 210416:59
kerioDocScrutinizer05: it's quite the fragile chip, isn't it16:59
*** Wizzup_ has quit IRC16:59
freemangordonPali: where is that (link to gitorious please)16:59
freemangordonI want to look at the code16:59
DocScrutinizer05Pali: http://git.infradead.org/battery-2.6.git/blob/HEAD:/drivers/power/isp1704_charger.c#l103 is doing the damage when any data is actually being transferred16:59
Palifreemangordon, file arch/arm/cpu/armv7/omap3/sdrc.c function dram_init_banksize17:00
DocScrutinizer05Pali: http://git.infradead.org/battery-2.6.git/blob/HEAD:/drivers/power/isp1704_charger.c#l132 should do for most 'usual' cases17:00
merlin1991Pali: I just managed to get the fb kernel to boot by changing the .item file for it back to ITEM_REUSEATAGS17:00
DocScrutinizer05Pali: still it's forbidden to call this function when any session already established17:00
DocScrutinizer05YAY!!! http://git.infradead.org/battery-2.6.git/blob/HEAD:/drivers/power/isp1704_charger.c#l14317:01
freemangordonPali: which branch is that on gitorious?17:01
Palifreemangordon, https://gitorious.org/u-boot-shr/u-boot/blobs/pali/arch/arm/cpu/armv7/omap3/sdrc.c#line23217:02
freemangordonthanks17:02
merlin1991Pali: nvm the images not booting on the u-boot where the attached image worked (I had a typo in the .item file ITEM_OMAPATAGS instead of ITEM_OMAPATAG) :/17:03
DocScrutinizer05unlike isp1704_charger_type() the freaking  isp1704_charger_verify() does NOT care about restoring sane original state of 1707 config17:03
Palimerlin1991, ok17:03
PaliDocScrutinizer05, I will look at that driver later17:03
Palifirst we need working u-boot, then we can booting other kernel :-)17:04
Paliand maemo kernel does not have this driver17:04
freemangordonPali: do you have any idea where is number of DRAM banks calculated?17:05
Paliin rx51 config file17:05
freemangordonor i have to clone the code :D17:05
Paliit is 217:05
freemangordonwell, that should not be hardcoded AIUI17:05
freemangordonas we have atleast 2 revs with only one bank17:06
freemangordon2101 and 220417:06
freemangordon2104 is with 2 banks17:06
Palihttps://gitorious.org/u-boot-shr/u-boot/blobs/pali/include/configs/nokia_rx51.h17:06
Palifreemangordon, see dumps: http://talk.maemo.org/showthread.php?t=8456017:06
Palithis is 2104: http://talk.maemo.org/showpost.php?p=1216012&postcount=22 and has 2 banks17:09
Palithis is 2104 and has 1 bank: http://talk.maemo.org/showpost.php?p=1214052&postcount=1417:09
freemangordonthat is what I am saying17:09
freemangordon<freemangordon> 2104 is with 2 banks17:09
Pali2104 has both (1 or 2)17:09
freemangordonaah17:10
freemangordonwell, it seems I should have to clone the code17:10
merlin1991freemangordon: ie my 2104 has only 1 bank (if I count the MEM atags as an educated guess for mem banks)17:10
*** konelix has joined #maemo17:10
freemangordonyou can17:10
merlin1991and it seems like u-boot substidutes another weird MEM atag when there is only 1 in the original set17:11
Paliuboot totally ignore MEM tag from nolo17:12
merlin1991may I ask why?17:13
freemangordonmerlin1991: because u-boot should do the same as nolo17:14
Palibecause uboot is bootloader which initialize hw, and uboot has also code for sdrc17:14
Paliand adding code which parse nolo tags are use it before uboot is initialized is hard17:15
freemangordonPali: clonning, will look at the code17:15
Paliok17:15
DocScrutinizer05freemangordon hit the point17:15
*** Wizzup has joined #maemo17:16
Palimerlin1991, here is uboot image with patch with skip all mem size=0 tags: http://atrey.karlin.mff.cuni.cz/~pali/u-boot/old/u-boot-new.fiasco17:17
Palimerlin1991, can you ran command bdinfo in uboot console17:17
Paliit write info about mem17:18
*** zwoelf has joined #maemo17:18
merlin1991also Pali my bad about the rescueos on u-boot17:18
* merlin1991 facepalms17:18
*** zwoelf has quit IRC17:18
merlin1991I somehow scpd the wrong txt17:18
DocScrutinizer05AIUI mem banks should get read out of some SPD area of storage chips, I.E. get this info from hw, not at compile time from any board config file17:18
Palimerlin1991, ok update it17:18
DocScrutinizer05btw that's exactly the reason why flasher-3.5 fails when you don't have correct hw-rev17:19
DocScrutinizer05(which kinda would render my prev assumption moot)17:20
merlin1991Pali: updated http://cdnm.at/~christian/maemo/atags/rescueos_2101.txt17:20
SiceloPali: sorry i disappeared.. band connectivity here.17:20
merlin1991now it's in line with the other atags on 210117:20
keriowhat's the "best" hw rev, i wonder17:21
DocScrutinizer05the joy of SoC hw revisions17:21
Palimerlin1991, ok this is fine17:21
Siceloum, for us noobs.. what's this about having 1 or 2 memory banks.. ? i have 2204.17:21
DocScrutinizer05kerio: there's no 'best' hw-rev17:21
*** sLumPia has joined #maemo17:21
kerio<freemangordon> revs above 2101 have faster memory, for sure17:22
*** dee has joined #maemo17:22
Sicelothose with 2 banks have one unpopulated bank, i would assume. is it?17:22
Palimerlin1991, can you test that new uboot image?17:22
keriothere's certainly some kind of partial ordering between hw revs :)17:22
merlin1991currently flashing17:22
Palimerlin1991, ok, but you do not need to flash uboot17:22
DocScrutinizer05Sicelo: your CPU has different possible OneNAND/RAM piggyback POP, and those chips have different addressing modes17:22
merlin1991Pali: bdinfo gives me the bogus banks17:23
DocScrutinizer05Sicelo: like your usual RAM stick in PC might have 8 chips with 1Gbit each, or 4 chips with 2GBit17:23
DocScrutinizer05bot are 1Gbyte17:23
DocScrutinizer05both*17:23
merlin1991Pali: also new u-boot still does not boot17:24
Palican you dump atags?17:24
merlin1991on my way :D17:24
Paliif mem=0 is still here?17:24
Paliok17:24
PaliDocScrutinizer05, why then kernel started from uboot cannot mount ubifs rootfs but same kernel started by nolo can?17:25
Paliatags (with partition layout) are ok17:26
freemangordonPali: https://gitorious.org/u-boot-shr/u-boot/blobs/pali/arch/arm/lib/bootm.c#line13017:26
freemangordonCONFIG_NR_DRAM_BANKS is 2, no matter how many actual banks we have17:27
Palifreemangordon, I know17:27
freemangordonis it (weak)?17:27
Palihere I added line to skip size=017:27
freemangordoncan we move that to board code?17:27
freemangordonok17:27
Paliand merlin testing new code17:27
Palinot possible to move, because "static void"17:27
merlin1991http://cdnm.at/~christian/maemo/atags/rescueos_2104_new.txt17:28
freemangordonmuch better :D17:28
Paliok, there is no mem size=0 :-)17:28
freemangordonPali: but it really seems like a bug17:28
freemangordonyou should upstream that17:28
Paliyes17:29
freemangordonmerlin1991: does it boot?17:29
merlin1991nope17:29
merlin1991but the atags are now 1 : 1 comapred to stock (except the rescueos specific entries regarding cmdline and initrd17:30
*** dee has quit IRC17:31
freemangordonmerlin1991: it does not boot, because it cannot mount rootfs?17:32
* merlin1991 tries the fb kernel17:32
merlin1991yep ubifs fails for rootfs17:33
Palimerlin1991, I added -9 and -10 uboot images: http://atrey.karlin.mff.cuni.cz/~pali/u-boot/old/17:34
freemangordondid someone compared kernel cmdline?17:34
Palithey are old version from my git17:34
freemangordon*compare17:34
Paliboth are marked to 2012.0417:34
merlin1991Pali: -10 boots17:36
Palimerlin1991, so -10 boots and -11 not?17:36
* merlin1991 tries -1117:37
merlin1991-11 is stuck at starting kernel17:38
Paliok,17:39
Paligoing to generate diff17:39
Paliand source code17:39
freemangordonPali: share it please (diff)17:39
Paliyes, I upload it17:39
_PanzerSajtPali, how about the bug?17:40
merlin1991wtf17:40
Palimerlin1991, what?17:40
freemangordonPali: where? :D:D:D17:40
merlin1991hm after trying -11 -10 didn't want to work untill I pulled the battery once17:41
*** sq-one has quit IRC17:41
*** valdyn has quit IRC17:42
merlin1991now I flashed -11 pulled the battery once and it booted17:43
merlin1991WTF?17:43
freemangordonmerlin1991: does it boot if you power it down?17:43
freemangordon(-11)17:43
merlin1991yep17:44
Palimerlin1991, test if -12 is booting too17:45
merlin1991I'm working my way towards 15 again :D17:45
merlin1991btw Pali where are those -x revisions from, tags in git?17:46
Pali-15 is last version (2012.04-2) but recompiled17:46
Palithey are my internal numbering in mu pc17:46
freemangordonhehe17:46
Paliit is big mess :-)17:46
* freemangordon prays for Pali's PC17:47
merlin1991Pali: 12 didn't boot, even after I removed the batter and tried it17:47
* merlin1991 flashes back 1117:47
* freemangordon is waiting for .diff :P17:48
PaliI uploaded tarballs here: http://atrey.karlin.mff.cuni.cz/~pali/u-boot/old/17:48
*** eijk_ has joined #maemo17:48
Pali11 and 1217:48
merlin1991okay 11 does not boot emideatly after flashing, but boots on the next try17:48
*** valdyn has joined #maemo17:49
*** eijk has quit IRC17:50
Palinow I see that -12 has included atags in uboot code17:50
*** Canseco has quit IRC17:52
merlin1991hm the diff isn't even that big, but something in there must have a sideeffect17:53
merlin1991Pali: could you compile me a recent uboot without the thumb errata workaround?17:56
Palimerlin1991, ok17:57
merlin1991or better compile a -12 without that part17:57
merlin1991that's the only thing in the diff I've spotted that makes a huge difference17:57
*** ale152 has quit IRC17:58
*** sq-one has joined #maemo17:58
DocScrutinizer05hehe, yeah, trsutzone crap probably doesn't get reset by 'normal reboot'17:59
freemangordonPali: can you dump nolo atags from u-boot?18:00
Palifreemangordon, yes, I have patch for it18:00
Palinow going to compile image for merlin18:00
Paliand then will find that patch18:00
freemangordonthere is not much difference between -11 and -12, besides atags18:00
merlin1991and the thumb errata code ;)18:01
freemangordonmerlin1991: yes, but that should not prevent rootfs from mounting :D:D:D18:01
merlin1991who knows why kernel goes nuts?18:01
merlin1991since atags with the last patch from pali are literally the same as on stock kernel from nolo18:01
freemangordonbesides their order18:02
Paliin that patch are only: removed code which copying nolo atags and replaced by static atags and added code for thumb18:02
DocScrutinizer05I honestly pray for thumb-workaround not turning out to be the culprit18:02
freemangordonDocScrutinizer05: it is not18:02
merlin1991freemangordon: we will see ;)18:02
freemangordonhehe18:02
Palimerlin1991, image is here: http://atrey.karlin.mff.cuni.cz/~pali/u-boot/old/18:03
*** shanttu has joined #maemo18:03
merlin1991btw Pali do I need anything special to build u-boot from that source?18:03
merlin1991or is a simple scratchbox setup enough?18:03
*** sq-one has quit IRC18:04
freemangordonit is18:04
*** sq-one has joined #maemo18:04
PaliI'm using directly ubuntu gcc arm cross compiler18:04
Palidpkg-buipdpackage -b -aarmel without madde and without scratchbox18:04
freemangordoni was using 4.6.2 last time i built it, not sure if 4.2 will do the job18:04
Pali*dpkg-buildpackage18:04
freemangordonPali: why not using -mthumb?18:05
Palibecause uboot has no thumb support18:05
Paliit has own flag -marm18:05
freemangordonwhat does that mean? (no thumb support)18:06
DocScrutinizer05wow, so it's not USB and PHY / twl4030 that caused recent problems with KP51xx (not properly) booting, but actually something around trustzone?18:06
Paliuboot build system cannot compile with thumb18:06
freemangordonok18:06
*** user has quit IRC18:07
Paliwhen I tried to change all -marm to -mthumb code, it builds but not worked...18:07
Paliin qemu is crashed18:07
freemangordonaah, this is different ;)18:07
kerio:(18:07
merlin1991okay disabled thumb didn't help anything18:07
merlin1991I don't even get a msg from the framebuffer kernel18:07
DocScrutinizer05pheeew18:08
freemangordontoldya :P18:08
DocScrutinizer05you removed battery?18:08
merlin1991not yet18:08
DocScrutinizer05to "reset" "sticky" trustzone crap?18:08
DocScrutinizer05I mean, the culprit sits in hw from prev 'rogue' kernel doing 'bad thing' to trustzone18:08
DocScrutinizer05not in new kernel failing to do the right thing18:09
merlin1991well removed batter does not help18:09
DocScrutinizer05:-S18:09
Palifreemangordon, patch is here: http://atrey.karlin.mff.cuni.cz/~pali/u-boot/old/dumpatags.patch18:09
merlin1991still don't get past the starting kernel part18:09
DocScrutinizer05bisect time18:09
Palibut maybe it needs some changes to work...18:09
freemangordonDocScrutinizer05: no, it is only one patch18:10
merlin1991bisect only helps with a patch series ;)18:10
freemangordonPali: your default: is commented18:10
DocScrutinizer05so pretty please remove this one patch and recompile the very same source on very same toolchain with absolutely same parameters18:10
freemangordonPali: what if there is some atag u-boot does not know about it?18:11
merlin1991DocScrutinizer05: we narrowed it down to this patch, pre patch version works18:11
DocScrutinizer05yes, and I suggest to double-check18:11
Palifreemangordon, good question18:11
DocScrutinizer05just to rule out any form of PEBKAC18:12
Palifreemangordon, uncomment default18:12
freemangordonPali: please, apply that patch with uncommenetd default: and give that image to merlin1991 to test18:12
*** valerius has quit IRC18:12
DocScrutinizer05:-)18:12
freemangordonDocScrutinizer05: bootloader should ot depend on the user :P18:13
Paliwhich version -11 or -12?18:13
freemangordon*not18:13
*** valerius has joined #maemo18:13
freemangordonPali: does not matter aiui18:13
DocScrutinizer05but maybe on refetching last cmdline to build it, from shell history18:13
DocScrutinizer05whatever18:13
DocScrutinizer05a typo somewhere18:13
freemangordonwe just need a confirmation that all needed atags are passed to the kernel in the same way as nolo passes them18:14
DocScrutinizer05first thing I do in such a case is DOUBLE-check18:14
*** FlameReaper has quit IRC18:14
freemangordonPali: do you expect me to apply the patch build it?18:14
DocScrutinizer05preferrably with other user doing check on another machine18:15
DocScrutinizer05(the build, not the texting on device)18:15
DocScrutinizer05testing*18:15
*** FlameReaper has joined #maemo18:15
freemangordonDocScrutinizer05: I am almost sure we have some atag we're missing. The one u-boot is not aware of18:15
DocScrutinizer05sounds plausible18:16
Palibuild is here: http://atrey.karlin.mff.cuni.cz/~pali/u-boot/old/18:16
freemangordonhmm, ATAG_CMDLINE18:16
DocScrutinizer05I missed ATAG_CNDLINE in some of the pastes of merlin199118:17
Paliwe using cmdline from kernel image18:17
freemangordonaah, yes18:17
merlin1991Pali: where does that dump the tags to?18:17
Palito screen18:17
DocScrutinizer05still it might e.g mess up parsing of other ATAG parameters18:18
freemangordonPali: do you know what this atag-dumper will do in case of unknown tag?18:18
Paliit write unknown18:18
Palior it write hexdump18:18
freemangordondo we have hexdumps?18:18
Pali"unknown tag" for unknown tag18:18
DocScrutinizer05I'd love to see raw hexdump of whole buffer area for both cases18:18
freemangordonyeah18:18
Paliand hexdump if there is something unknown in omap table18:19
*** SmilyOrg has joined #maemo18:19
merlin1991DocScrutinizer05: I only had kernel cmdlines for rescueos, but stock kernel and attached that did boot (on 2101) has no cmdline atag18:19
DocScrutinizer05e.g figure CMDLINE terminated by 0x0a instead 0x0d18:19
freemangordonDocScrutinizer05: it is build-in cmdline that is used18:20
DocScrutinizer05might result in next parameter not get parsed18:20
freemangordonnot the one passed from bootloader18:20
merlin1991there's shitloads of tags18:20
merlin1991they don't even fit on the screen18:20
freemangordonmerlin1991: use your second device to capture a video18:21
freemangordonor third :P18:21
Pali:D:D18:21
freemangordonPali: I am not kidding ;)18:21
DocScrutinizer05freemangordon: you got my idea that missing proper EOL termination of ATAG N-1 will ruin ATAG N?18:22
Paliit is funny, what you can do with 3 n900 :-)18:22
freemangordonDocScrutinizer05: I am not sure atags are eol-ed18:22
DocScrutinizer05they are terminated I'd hope18:22
*** [XeN] has joined #maemo18:22
freemangordonbut we really need hexdump18:22
DocScrutinizer05or is this a static array?18:22
merlin1991af on the n900 camera sucks ass18:22
freemangordonafaik18:22
DocScrutinizer05yep, hexdump FTW18:22
*** Guest24939 has quit IRC18:23
freemangordonPali: do we  have hexdups for ok abd bad cases?18:23
freemangordon*and18:23
*** APTX has quit IRC18:23
freemangordonand syslog/dmesg log from non-booting system18:24
Palihttp://paste.ubuntu.com/1263508/18:24
Palithis is BAD by _PanzerSajt ^^^18:25
Palibooting ubuntu18:26
* DocScrutinizer05 points at OOPS area18:26
DocScrutinizer05mtd_oops18:26
DocScrutinizer05aka mtd2: 00040000 00020000 "log"18:27
*** Guest95952 has quit IRC18:27
*** vblazquez has joined #maemo18:27
freemangordonDocScrutinizer05: ?18:27
DocScrutinizer05dunno if there's a simple lightweight way to exploit it for uBootlog18:28
*** APTX has joined #maemo18:28
DocScrutinizer05aiui there's a kernel module mtd_log.ko or mtd_oops.ko18:28
*** Hurrian has joined #maemo18:29
DocScrutinizer05might be worthwhile to rip a few sourcode lines out there and implant it to uBoot18:29
DocScrutinizer05strictly for R&D!18:29
DocScrutinizer05http://tomoyo.sourceforge.jp/cgi-bin/lxr/source/drivers/mtd/mtdoops.c18:31
merlin1991kernel ooops == kernel panic?18:32
*** fredrinLap has quit IRC18:32
DocScrutinizer05basically yes18:33
DocScrutinizer05http://tomoyo.sourceforge.jp/cgi-bin/lxr/source/drivers/mtd/mtdoops.c#L5518:34
*** [XeN] has quit IRC18:34
DocScrutinizer05merlin1991: a kernel OOPS allows kernel to continue business, while a panic is supposed to kill off kernel for good18:35
freemangordonPali: 32wd_to?18:35
merlin1991Pali: anything else I can do to help you?18:37
freemangordonPali: I 32wd_to in atags on my device18:38
freemangordon*I have18:38
DocScrutinizer05for bootreason?18:39
freemangordonno, as omap atag18:39
DocScrutinizer05which value?18:39
Palifreemangordon, which omap atag?18:39
Paliit should be bootreason reset by watchdog18:39
freemangordonno, boot-mode normal18:40
freemangordonI am reading a hexdump18:40
Palimerlin1991, provides hexdump (or xxd) of /proc/atags18:40
Palifreemangordon, boot-mode is property and normal is value18:40
Paliit is in omap tag "version" in omap table18:41
freemangordonyes, but I have property 32wd_to, don't know how to check the value18:41
freemangordonyes18:41
Paliit should be bootreason18:41
Palibootreason is omap tag in omap table18:41
Pali"version" is also omap tag in omap table18:41
merlin1991Pali: from stock kernel, rescueoss or where?18:41
freemangordonPali: actually not sure, as it is between rootfs and product18:41
Pali"version" tag has two properties: 1) name 2) value18:42
Palirootfs is part of omap tag layout18:42
* DocScrutinizer05 waves18:42
Palimerlin1991, as DocScrutinizer05 from all18:42
PaliDocScrutinizer05, do you look at hexdumps?18:42
*** FlameReaper has quit IRC18:43
DocScrutinizer05err, nope, I don't have any hexdumps18:43
Palimerlin1991 will dump it18:43
DocScrutinizer05I guess I'll be afk when he does18:44
Palifreemangordon, open some merlin text dump and look why is bootreason between rootfs and product :-)18:44
Palihttp://cdnm.at/~christian/maemo/atags/rescueos_2204.txt18:44
DocScrutinizer05aah now I see what you meant18:44
merlin1991Pali: which version of uboot?18:45
freemangordonPali: aah, ok :D18:45
Palimerlin1991, one uboot which can boot device, one uboot which cannot boot and one for direct boot (without uboot)18:45
DocScrutinizer05http://pastebin.ca/2245676 o/ cya18:46
DocScrutinizer05no uBoot, normal stock kernel and CSSU18:46
DocScrutinizer05o/18:46
freemangordonwell, that's 210118:47
merlin1991the hw revision that works :D18:48
keriodo you need a 2104?18:48
freemangordonhmm, my secon device is 220418:49
freemangordon*second18:49
keriohttp://pastebin.ca/2245679 210418:49
kerio2104 with kp5118:49
DocScrutinizer05I honestly don't get the catch how ATAG needs battery removal to recover18:51
DocScrutinizer05is a reboot not even executing bootloader at all?18:51
DocScrutinizer05(a sidenote without hope for answer, since I'm afk now)18:52
Palifreemangordon, merlin1991, any clue why ubifs cannot be mounted?18:53
merlin1991nah18:53
PaliI think we are sure now that atags are ok18:53
Palior not?18:54
merlin1991apart from the mem 0 tags they were equal to the ones on stock maemo kernel18:54
Palican you test that uboot which deleting mem 0 again (with removing battery)?18:55
DocScrutinizer05so it's trustzone *again*?18:55
freemangordonubimkvol /dev/ubi0 -m -N rootfs?18:55
merlin1991DocScrutinizer05: actually for ie -11 it's enough if I let if fail the first boot and just boot again18:55
PaliDocScrutinizer05, what from trustzonoe?18:55
* DocScrutinizer05 recalls some TZ related method to (write/rw-)lock NAND partitions18:56
Paliis this info/code public?18:56
freemangordonPali: merlin1991: atags are ordered in a different way18:56
DocScrutinizer05probably only get reset by full reboot (security shit)18:56
Palifreemangordon, order is not important18:57
Paliand order in omap table is same18:57
freemangordonopam yes18:57
freemangordon*omap18:57
Palibut working version has also different order18:58
_PanzerSajtPali, what was the problem with my paste?18:58
freemangordonPali: ok18:58
Pali_PanzerSajt, no18:58
Pali_PanzerSajt, we did not find where is problem yet...18:58
_PanzerSajtoh sorry18:58
_PanzerSajtcan I help you in any way?18:58
merlin1991ubifs_get_sb cannot open "ubi0:rootfs" error -1918:59
merlin1991Pali: ^^ with the patched u-boot that only has one mem atag18:59
Palisame here: http://imageshack.us/a/img839/674/img2012100611100165.jpg19:00
Palithis is screen by _PanzerSajt19:00
merlin1991I'd love to see the part about avaiable partitions19:00
merlin1991:D19:00
Paliand this is last unpatched version of u-boot19:00
Palithere is no available partition19:01
_PanzerSajtPali, how can I flash the original kernel and/or u-boot19:01
_PanzerSajtbut only kernel not the full rootfs19:02
merlin1991_PanzerSajt: you can get the Fiasco image and flash with "flasher-3.5 -F $fiascoimage -f --flash-only=kernel19:02
freemangordonmerlin1991: is there any way to see kernel cmdline?19:02
merlin1991Pali: did you possibly update your arm compiler or binutils between 11 and 12 ?19:03
Palino, because I compiled both version today19:03
Palion same pc with same tools19:03
DocScrutinizer05merlin1991: see my urgent suggestion about DOUBLEcheck19:03
* merlin1991 starts to seriously wonder WHY 11 works and 12 not19:04
DocScrutinizer05maybe we're down to *real* bughunting now, means "find the fangling mempointer"19:04
DocScrutinizer05dangling*19:04
DocScrutinizer05inser one char into a version string that only gets printed out -> no more work19:05
DocScrutinizer05real fun19:05
Palimerlin1991, can you give me (again) link for atags from -11 and atags from -1219:05
_PanzerSajtreflashing kernel only --> bootloop19:06
merlin1991err did you kill the modules?19:06
merlin1991did you use the right fiasco image?19:06
freemangordonPali: are we sure nand is powered up?19:06
_PanzerSajtthe fiasco image is the right one19:06
Palifreemangordon, both version -11 and -12 does not have nand code enabled19:07
merlin1991_PanzerSajt: which version is the fiasco image?19:07
Palionenand code is enabled in -15 (= last version)19:07
freemangordonPali: naah, i meant the power to the chip19:07
Palimerlin1991, I have something...19:07
Palilast version has included onenand support19:07
merlin1991...19:07
Paliyou can read something from nand19:07
Paliin uboot console19:07
Palican you try if it works?19:08
merlin1991sure19:08
merlin1991how?19:08
Palithere should be command onennad19:08
_PanzerSajtmerlin1991, RX-51_2009SE_20.2010.36-2_PR_COMBINED_MR0_ARM.bin19:08
merlin1991hm that's the right one19:08
freemangordonPali: did you do make clean?19:08
freemangordonfor -1219:09
Paliyes19:09
Palidpkg-buildpackage build it in separate dir19:09
merlin1991_PanzerSajt: you could flash http://atrey.karlin.mff.cuni.cz/~pali/u-boot/old/u-boot-11.fiasco that's the u-boot version that still works on my device19:09
merlin1991Pali: so I should use -15 and see if I can use onennand ?19:10
_PanzerSajtmerlin1991, sure what is the exact command?19:10
Palimerlin1991, yes19:10
merlin1991flasher-3.5 -F u-boot-11.fiasco -f -R19:10
keriohm, i realized that i don't need bluetooth DUN at all19:10
kerioand i'd rather have bluetooth PAN working19:10
keriobut it's a fucking mess19:10
kerioas vi_ once said19:10
merlin1991hm onenand info gives me "onenand0"19:11
Palionenand --help19:12
Palior something19:12
_PanzerSajtmerlin1991, still no good19:13
Palimerlin1991, in uboot is also support for ubifs, but due to big size is disabled19:13
PaliI can enabled it, but image will be without stock kernel19:13
merlin1991Pali: the usage info is so obscure, that I don't know what I should use :D19:14
Pali_PanzerSajt, maybe you have corrupted rootfs/maemo519:14
Palimerlin1991, i will run uboot in qemu and look at it19:14
DocScrutinizer05usage info? onenand? where? how?19:15
merlin1991DocScrutinizer05: in uboot19:15
DocScrutinizer05aaah19:15
DocScrutinizer05uBoot, the wanna-be-OS19:15
DocScrutinizer05;-)19:16
RST38hwait until they stop supporting the actual boot of the other OSes =)19:16
DocScrutinizer05hehehehehe19:16
DocScrutinizer05lol19:16
DocScrutinizer05wait until they integrate systemd19:17
RST38hwill probably say that people who want to boot other OSes are "not their target audience, uboot is not for them"19:17
DocScrutinizer05actually uBoot and systemd should go together nicely, regarding this attitude ;-)19:17
DocScrutinizer05if uBoot was any "sane", they already had included proper DOS shell ;-P19:18
_PanzerSajtI'm giving up. Have to reflash whole emmc, but not anytime soon19:19
DocScrutinizer05uh?19:19
merlin1991DocScrutinizer05:  it's still way better than multiboot ;)19:20
DocScrutinizer05will reflashing COMBINEd not suffice?19:20
DocScrutinizer05merlin1991: no doubt19:20
_PanzerSajtbut I prefer clean installation19:20
DocScrutinizer05then yes, you're in for full reflash19:20
*** m4g0g has joined #maemo19:20
_PanzerSajtand I don't have anything important on my n90019:21
m4g0ghi19:21
* DocScrutinizer05 is afk again19:21
m4g0gIs there sombody who developed something for n900?19:21
*** valdyn has quit IRC19:22
merlin1991m4g0g: quite a few in here developed *something* for n90019:23
RST38hlike, an "unhealthy affection" for example...19:23
kerio:319:23
kerioit's not unhealthy!19:24
m4g0gI try to develop one app for n900 and have question: how to test project via qt-creator which depends on library19:24
m4g0gwhen I try to run app from qt-creator on my n900 I get:19:25
merlin1991m4g0g: you can install the library to the madde sysroot19:25
m4g0gdpkg-shlibdeps: failure: no dependency information found for /home/magog/Programming/QtSDK/Maemo/4.6.2/sysroots/fremantle-arm-sysroot-20.2010.36-2-slim/usr/lib/libkqoauth.so.0 (used by debian/moonreader/opt/moonreader/bin/moonreader).19:25
m4g0gdh_shlibdeps: command returned error code 51219:25
m4g0gmake: *** [binary-arch] Error 119:25
merlin1991if you want to test on device you can simply create an overrides file for shlibdpes19:26
* merlin1991 checks how that worked19:26
kerioRST38h: it's hard not to feel affection for the best phone ever made19:26
RST38hsee? that is what I mean19:26
freemangordonmerlin1991: any chance to capture boot video?19:27
m4g0gIs there any howtos or manual about this magic with "creating an overrides file for shlibdpes" ?19:27
RST38hm4g0g: Do not use qt-creator. Use command line.19:27
merlin1991m4g0g: there is http://man.he.net/man1/dpkg-shlibdeps19:27
RST38hAlso, do not use Madde. Use MaemoSDK19:27
freemangordonmerlin1991: to see what cmdline tries kernel to execute and what mtd devices it sees19:27
m4g0gRST38h: what do you mean?19:27
RST38hI mean what I have said.19:27
merlin1991m4g0g: and http://www.debian.org/doc/debian-policy/ch-sharedlibs.html#s-sharedlibs-shlibdeps19:28
*** FlameReaper has joined #maemo19:28
*** valdyn has joined #maemo19:29
merlin1991m4g0g: basically it's enough to have a shlibs.local file in your packaging dir (qt_packaging_something) with the name of the library in it19:29
merlin1991it tells dpkg-shlibdpes to ignore all dependencies for this library19:30
merlin1991obviously not the "right way (tm)" but good enough for quick tests19:30
merlin1991m4g0g: so in your case you need to have libkqoauth in your shlibs.local file19:31
freemangordonmerlin1991: ?19:31
merlin1991freemangordon: I'll try19:31
*** shamus has quit IRC19:34
merlin1991freemangordon: well: http://cdnm.at/~christian/maemo/12100003.mp419:34
freemangordon:)19:35
*** shamus has joined #maemo19:35
Palifreemangordon, what about start patching kernel?19:36
Paliprink everyhwere where is return -ESOMETHING in ubifs19:36
Palimerlin1991, just for test, can you try to boot kernel-power?19:36
merlin1991 hehe have to install that first :D19:37
merlin1991Pali: which package did adjust the bootscript to use uname -a for the modules dir?19:39
Palikernel-power (-flasher maybe?)19:40
freemangordonmerlin1991: this video is missing first line from boot process :(19:41
freemangordon*lines19:41
freemangordoncan we get dmesg somehow?19:41
*** fredrinLap has joined #maemo19:42
Palifreemangordon, connect to serial console and set that R&D flag which route dmesg output to serial consle...19:42
Palior start patching kernel...19:42
freemangordonPali: and serial console is under the battery?19:42
freemangordonport even19:43
Palifreemangordon, no idea...19:43
PaliI'm using it in qemu19:43
keriobut that's cheating!19:43
merlin1991okay kp51 installed, reflashing u-boot19:45
merlin1991nope does not work19:46
*** DocScrutinizer05 has quit IRC19:46
*** DocScrutinizer06 has joined #maemo19:47
*** rcg has joined #maemo19:48
freemangordonPali: can you do some memcmp between nolo passed atags and uboot atags? and print differences19:50
Palidiff is ok19:50
Palibinary dump I do not have19:50
freemangordonin uboot code19:51
*** sq-one has quit IRC19:51
Palifreemangordon, not easy19:51
Palibecause atags must start at one address19:51
freemangordoncan't you dup nolo atags to some buffer19:52
m4g0gmerlin1991: so. I add this line in shlibs.local : libkqoauth 0 kqoauth19:52
merlin1991you sure the library version is 0 ?19:53
m4g0ginstall libkqoauth-0.96 on n90019:53
m4g0ghttp://codepad.org/Le3tfJl619:53
m4g0gbut got this error19:53
* freemangordon is afk19:54
merlin1991just build it with the line lbkqoauth (nothign else) in shlibs.local19:55
merlin1991m4g0g: how did you install the lib on the n900?19:55
merlin1991via apt / dpkg or just dropped the binary?19:55
*** eMHa has quit IRC19:56
m4g0gapt-get install libkqoauth19:56
freemangordonlibkqoauth-dev?19:56
m4g0gyou think I need dev?19:56
merlin1991WTF19:56
merlin1991there is kqoauth and libkqoauth in extras-devel19:56
merlin1991lol19:56
m4g0gno19:56
m4g0glibkqouath and libqoauth19:57
merlin1991m4g0g: well if you install libkqoauth your shlinbs.local file should be libkqoauth 0 libkqoauth19:57
m4g0gyep19:57
merlin1991and not only kqoauth in the end19:57
m4g0gI am testing19:57
merlin1991just sayin: http://maemo.org/packages/view/kqoauth/ and http://maemo.org/packages/view/libkqoauth/19:58
merlin1991The same guy! repacakged a higher version in a different package name19:58
merlin1991wtf!19:58
m4g0gthx19:59
m4g0gall works fine19:59
m4g0gmerlin1991: there is different packages19:59
m4g0gthe second depends on qca219:59
m4g0gbut the first doesn't19:59
*** _rd has quit IRC20:02
*** otep has quit IRC20:03
*** otep has joined #maemo20:03
*** Tofe1 has joined #maemo20:04
*** Tofe1 has left #maemo20:04
*** FIQ|n900 has quit IRC20:05
*** hardaker has joined #maemo20:17
*** em has quit IRC20:19
*** FlameReaper has quit IRC20:21
*** DHR has joined #maemo20:24
DocScrutinizer06Pali: http://git.infradead.org/battery-2.6.git/blob/HEAD:/drivers/power/isp1704_charger.c#l458  has some hint about what's the problem, though the comment doesn't really provide the proper solution20:27
Palimerlin1991, can you test this uboot image? http://atrey.karlin.mff.cuni.cz/~pali/u-boot/u-boot-new.bin20:27
*** emma has joined #maemo20:27
Pali(it is not fiasco! but kernel)20:28
merlin1991arf I just booted into windows20:28
* merlin1991 reboots20:28
*** emma is now known as em20:29
Palithis is my last version + I disabled generating atags code - it reuse full from nolo20:29
Paliso you can boot only maemo20:29
merlin1991why "only" maemo?20:30
Palibecause it pass all atags from nolo20:30
merlin1991and other kernels don't like that?20:30
Palinot possible to modify it (e.g cmdline...)20:30
merlin1991oh20:30
PaliI need to know if problem is in that code (which generating atags) or not20:31
DocScrutinizer06ARF20:31
Palithats all what can I do...20:31
merlin1991that new one is entirely broken, I don't get past the Nokia text20:32
*** Zahra has joined #maemo20:32
merlin1991actually the stock kernel refues to boot now too20:33
PaliI included MAG kernel with framebuffer20:34
merlin1991i never get to the bootmenu20:34
Paliah...20:34
Paliok, I will patch -1520:34
merlin1991might have been a weird issue though20:35
merlin1991I flashed the zImage and it didn't get past Nokia text either20:35
merlin1991then pulled the battery for a longer time and it works20:35
merlin1991flashing your u-boot again20:35
Paliand booting atatched kernel?20:37
merlin1991nah, seems like my inital statement was right, I don't get past the nolo screen with this version of uboot20:38
*** vi__ has joined #maemo20:39
*** Milhouse has joined #maemo20:39
Palimerlin1991, try this: http://atrey.karlin.mff.cuni.cz/~pali/u-boot/u-boot-new2.fiasco20:39
Paliit is -15 with disabled atags generating20:40
merlin1991same kernel panic20:42
Paliso atags are OK for sure!20:43
Palifreemangordon, DocScrutinizer06, ^^^20:43
DocScrutinizer06hmm20:43
merlin1991where the fuck is the problem then? the diff 11 to 12 wasn't exactly huge20:44
* DocScrutinizer06 doesn't know what to say or what to do20:44
DocScrutinizer06happy dangling pointer hunting! ;-P20:44
*** eMHa has joined #maemo20:46
DocScrutinizer06it's already time for advanced bisecting then, commenting out 50% of the already small (aiui) patch that makes diff between 11 and 1220:46
vi__yo20:48
DocScrutinizer06if you end with commeting out *all* of that patch and just replacing some NOP-function codeline (that doesn't get optimized out by compiler nevertheless!!) and it still breaks, you know what time it is20:48
* vi__ PPSSSSHHHT20:48
* vi__ cracks a beer20:48
vi__peanut butter and jelly time?20:48
merlin1991DocScrutinizer06: what time would that be, grab your hair dance around and light the n900 on fire time?20:48
DocScrutinizer06good plan20:49
DocScrutinizer06nah20:49
DocScrutinizer06happy dangling pointer hunting! ;-P20:49
kerioohai vi__20:49
DocScrutinizer06time20:49
vi__yo20:49
merlin1991the weirdest thing is, that it works on 210120:49
keriovi__: found a sensible way to do PAN?20:49
DocScrutinizer06hmm20:49
*** timeless_ has quit IRC20:49
vi__no, I am fixing motorcycles this weekend.20:50
keriohm20:50
DocScrutinizer06so maybe the dangling pointer nukes something along proper setup of NAND RAM banks?20:50
vi__brb, BT KB20:50
*** timeless_ has joined #maemo20:50
vi__kerio: bt pan.20:54
keriobt pan.20:54
vi__what I want is an IP network over BT.20:55
vi__d20:55
Palimerlin1991, try this: http://atrey.karlin.mff.cuni.cz/~pali/u-boot/u-boot-new3.fiasco20:55
vi__ffs btkb suck my nuts20:55
Paliit has also disabled thumb code + disabled unused code (which was used for generating omap atags)20:56
keriovi__: there's a pc-connectivity-manager that fucks with your bluetooth but gives you a PAN, in theory20:56
Siceloo20:57
*** flo_lap is now known as florian20:59
*** narcos has joined #maemo20:59
vi__ffs21:00
vi__goddamit21:00
vi__jesus titty fucking christ21:00
vi__POS bt keyboard21:00
vi__now my n900 kb thinks it has dthe same geometry as the BT keyvboard.21:01
vi__so none of the keys work.21:01
vi__FML21:01
vi__how do you reset the keyboard geometry21:03
keriohahahaha21:03
keriosetxkbsomething21:03
keriothat's what you get for not using a HID keyboard and not using extkbd21:03
vi__setxkbmap21:03
freemangordonvi__: never ever execute setxkbmap21:04
kerio...wat21:04
freemangordonit screwes internal kbd layout21:04
kerio...WAT21:04
freemangordonkerio: ^^^21:04
kerioi used to do that all the time when i were remapping my kbd21:04
vi__setxkbmap only sets keymap, not the geometry.21:04
*** fredrinLap has quit IRC21:04
freemangordonvi__: have in mind I am axtkbd author ;)21:04
freemangordonand I played a lot with this stuff21:05
freemangordon*extkbd21:05
vi__freemangordon: what hal magic must I execute to get my kb back?21:05
freemangordonvi__: which one? external or internal21:05
freemangordoniirc there should be hildonsetxkbmap or something21:06
vi__n900 keyboard21:06
Palithere is control panel applet for it21:06
freemangordonPali: what now, it is not atags?21:06
Palifreemangordon, waiting for merlin result21:06
freemangordonvi__: yeah, cpl should do the job too21:07
vi__n900 keyboard is now mapped the same as my external bt keyboard21:07
freemangordonparoneayea: ok21:07
PaliI need last test from merlin199121:07
freemangordonvi__: that is because of setxkbmap21:07
freemangordonPali: ^^^21:07
Palifreemangordon, problem is not in atag struture21:07
Paliit is ok21:08
freemangordonyeah, i got that21:08
Palibut problem can be in other code...21:08
freemangordonoverwriting some nand init data21:08
freemangordon?21:08
Palido not know...21:08
Paliping merlin199121:08
freemangordonbut seems logical21:08
Paliare you here?21:08
vi__kerio: does geyes 308e look any good?21:09
freemangordonobviously merlin1991 is not here :D21:11
merlin1991I need a few mins :D21:11
Paliok :-)21:11
*** dafox has quit IRC21:11
vi__so i have to reboot to reset kb geometry.21:13
vi__ffs21:13
vi__f everything.21:13
freemangordonPali: is reuse_atags call needed?21:14
Paliyes, because this is used for bootreason, bootmode and hwrev21:15
freemangordonscratch that21:15
freemangordonyeah,21:15
Palibut I builded last image which has commented that code21:15
freemangordonPali: hmm, recursion?21:16
freemangordonis that allowed?21:16
*** vi__ has quit IRC21:16
Palino21:16
Paliit will failed to boot and uboot will freeze21:16
freemangordonaah, my bad, reuse_atags calls reuse_omap_atags, not itself21:17
*** vi__ has joined #maemo21:17
vi__kerio: look up 'geyes 308e'21:17
*** shanttu has quit IRC21:18
vi__kerio: have you installed libicd-network-dummy?21:18
vi__ke21:18
*** shanttu has joined #maemo21:18
vi__I installed pc-connectivity-manager but I have literally no idea htf to work it.21:19
freemangordonvi__: iirc it is broken on fremantle21:20
vi__PC-C-M?21:20
merlin1991Pali: still same bug21:20
Pali:-(21:20
*** alehorst has quit IRC21:21
Sicelovi__: i have libicd-network-null21:22
vi__Sicelo: I installed that but it made my list of networks empty.21:23
vi__I uninstalled it and they all came back.21:23
vi__any tips?21:23
Sicelosomething's wrong with your setup..21:24
keriovi__: damn, that's one sexy keyboard21:24
Sicelo:-/21:24
kerioare the keys fullsize?21:24
vi__kerio: I cannot work out if it is SPP or HID though.21:24
vi__I think it is fullsize.21:25
keriooh, you don't have it21:25
kerio:c21:25
vi__was thinking of getting it, if it is HID and HID will eliminate all my BT KB issues (due to having SPP shit)21:25
*** shanttu has quit IRC21:26
kerioIn Theoryâ„¢ installing extkbd will make HID bluetooth keyboards work flawlessly21:27
vi__...I have extkb installed for my SPP.21:27
keriohuh? why?21:27
vi__It does not work without extkb.21:27
kerioi didn't know extkbd supported them21:27
vi__it does not21:28
keriooh, but you also have to run kbdd manually, right21:28
kerioor whatever the daemon is called21:28
vi__yes21:28
vi__like a fucking dog21:28
keriohaha21:28
vi__xterm is the only APPZ i need.21:29
keriono, HID keyboards appear in the extkbd list and you connect to them via the standard bluetooth menu21:29
vi__the SPP KB appears as 'ser keyboard' in extkb.21:29
vi__I assume ser=serial.21:29
keriooh, ok21:29
kerioso what's the problem?21:29
vi__my geometry goes to cock.21:30
keriojust like yer mom herp derp21:30
vi__my n900 KB takes obn the ext kb geometry and nothing works.21:30
vi__aaah.21:30
freemangordonPali: are you sure your build tree is ok?21:30
vi__you win this round...21:30
keriodo you do any manual setting with setxkbmap?21:30
Paliyes21:30
vi__nope21:31
keriohm21:31
kerio\_o_/21:31
freemangordonPali: if all of the code is commented, I don;t see why it shouldn't work21:31
freemangordonmerlin1991: did you do battery removal?21:32
vi__EE troubleshooting steps:21:32
vi__1. is it switched on?21:32
vi__2. is it plugged in?21:32
vi__3. is it plugged in the right way around?21:32
Palifreemangordon, here is patch agains git: http://pastebin.com/mgBTwgiE21:33
vi__kerio: do you use pastebinit?21:34
keriono21:35
vi__oh well.21:35
kerioPali: hmm, that won't work21:35
keriounless you manually checked for the lack of nested comments21:36
keriouse #if 021:36
freemangordonPali: what about die_id and cpuinfo?21:36
keriothat can be nested21:36
Paliit is only print someting...21:36
freemangordonit is possible those are messing the rings21:36
freemangordonI know21:36
freemangordonbut still21:36
vi__to anyone who uses pastebinit on their n900, the deb from the debian sid repo installs.  This fixes the breakage with pastebin.com21:37
Palidieid_num_r() is in -11 too21:37
Paliprint_cpuinfo() is only in -1221:37
*** Milhouse has quit IRC21:37
freemangordoncomment that21:37
*** sirdancealot has quit IRC21:38
*** sirdancealot7 has joined #maemo21:40
DocScrutinizer06kerio: hah, nested comments :-D Something I appreciated in modula21:40
DocScrutinizer06iirc21:40
Paliupdated: http://atrey.karlin.mff.cuni.cz/~pali/u-boot/u-boot-new3.fiasco21:41
Palimerlin1991 ^^21:41
vi__is there a KB key to go from tasknav to the desktop?21:41
merlin1991sry Pali can't test it now21:42
Paliok21:42
merlin1991hm wait if I grab my notebook I could21:42
keriovi__: it can be configured to use ctrl+bksp to do that too21:42
* merlin1991 goes searching21:42
kerio*h-d21:42
DocScrutinizer06kerio: but indeed #if 0 are nice to use for that21:42
kerio:3 :3 :321:42
DocScrutinizer06???21:43
kerioi got my ass bitten more than once for disabling code with /* */21:43
DocScrutinizer06:-/ :-S :-\21:43
keriobecause there *was* a multiline comment inside21:43
DocScrutinizer06haha21:43
vi__kerio: lol21:44
DocScrutinizer06general rule: don't span comments over several lines, NEVAR21:44
vi__I enjoy ctrl+bckspace as alt-tab too much.21:44
keriobut that clashes with the general rule of wrapping lines at 79chars21:44
DocScrutinizer06how's that?21:45
kerioyou have to make big comments on a single line21:45
DocScrutinizer06 /* you can comment*/21:45
DocScrutinizer06 /*as many lines as you want*/21:45
keriooic21:45
keriohow will that help with disabling code via /* */?21:46
*** narcos has quit IRC21:46
vi__How well does android use an external KB?21:46
*** NIN101 has quit IRC21:47
keriowell, the droid/milestone has a physical kbd21:47
Palimerlin1991, you must write that now uboot is working!!21:47
Pali:D21:47
kerioPali: even if it was a lie?21:47
vi__also, who will trade me 2 mint condition n900 for an n950?21:48
vi__d21:48
vi__WTF21:48
vi__s21:48
vi__so i have just isolated the bug.21:48
keriovi__: i will trade you two mints21:48
*** NIN101 has joined #maemo21:48
vi__The BT KB only works properly when the n900 KB is open...21:49
keriohaha21:49
kerioneat21:49
kerioi *did* hear something like that, yeah21:49
merlin1991Pali: same old :/21:49
vi__OH21:49
vi__NOW YOU SAY.21:49
keriowell it didn't do shit for me21:50
vi__yeah21:50
kerioso i classified that under "tmo advice"21:50
vi__you with yopur magic HID keyboard21:50
keriou jelly21:50
vi__all working keys and blowjobs.21:50
kerioand to be fair, two greenfn+key combos don't work21:51
keriothe ones for € and for yen21:51
Palifreemangordon, I do not know where is problem...21:51
vi__brb' need moar booze.21:52
PaliI'm closing uboot tabs in konsole...21:52
DocScrutinizer06((<kerio> how will that help with disabling code via /* */?)) well, same rules apply for this case as well21:52
Palitoday was epic fail :-(21:52
jacekowskifreemangordon: ?21:52
vi__Pali: no it was not.21:53
kerioyeah, vi__ got his keyboard working properly!21:53
vi__You have eliminated several possibilities.21:53
vi__kerio: my kb is still utter fail.21:53
PaliI eliminated everything21:53
keriocool, so now you don't have any problems left21:54
Paliand still uboot not working...21:54
keriono, uboot is eliminated too21:54
kerio>:D21:54
DocScrutinizer06Pali: see backscroll, all my comments about dangling pointers21:55
DocScrutinizer06Pali: absolutely not anything unheard21:55
DocScrutinizer06Pali: arbitrary change in code triggers sleeping bug elsewhere21:56
DocScrutinizer06pointer pointing to random location, nuking different shit in every new build21:56
vi__Pali: id email you a beer and a packet of smokes...21:56
vi__...stupid startrek replicator Y U NO EXIST YET??21:57
DocScrutinizer06Pali: alas this class of bugs is almost impossible to track down21:57
DocScrutinizer06Pali: try lint etc21:57
DocScrutinizer06try proper warning settings with gcc21:58
Palianother option, merlin1991, can you compile uboot on your pc?21:58
merlin1991not atm, tomorrow21:59
Paliok21:59
Palifreemangordon, what about start patching kernel ubi driver?21:59
PaliI do not see what we can do next...22:00
DocScrutinizer06probably won't lead to anywhere, since whatever the culprit, the result -19 in ubi driver is a lateral effect I'd bet22:01
keriovalgrind dat shit22:01
DocScrutinizer06but yeah, we should do it nevertheless22:01
*** _PanzerSajt has quit IRC22:03
freemangordonjacekowski: I need some help. I rewrote some gcc inline assembly to be thumb compatible, but as it is a very critical piece of code I need someone to review it22:03
DocScrutinizer06Pali: other approach: try your 11 source with new build, see if it still works (or already change of build date causes same or other errors). Then apply minimal changes to that 11 src, until you can trigger error by a single-char edit22:03
Siceloit should probably work.. my N900 is one of those that can't boot stock kernel with this uboot. all kernels i had (omap-fb, kp, nemo) wouldn't. but latest nemo kernel does22:03
Siceloso it does seem plausible that kernel itself is source of problem, i think22:04
freemangordonjacekowski: http://pastebin.com/8LpMQmQ622:04
freemangordonjacekowski: ARM mode inline assembly is the original code22:05
freemangordonjacekowski: the part under #ifdef __thumb__ is my thumb-compatible replacement. I need to be sure both do one and the same thing. Code works by the way22:06
freemangordonPali: I have 2204 here, tomorrow will start to play with u-boot. is everything commited?22:07
PaliI did not commited any code22:07
Paliseems that my last change working only in qemu22:07
Pali(I rewritten assembler code, but on merlin device not worked)22:08
freemangordoncan you do the, do some "2204bug" branch so I can clone it22:08
freemangordons/the/this/22:08
infobotfreemangordon meant: can you do this, do some "2204bug" branch so I can clone it22:08
Palifreemangordon, use branch pali22:09
Pali+ maybe above patch from pastebin which disable anything...22:09
*** hardaker has quit IRC22:11
freemangordonPali: ok22:12
merlin1991hehe, I should just send my device to pali via parcel :P22:13
*** Venemo_N9 has joined #maemo22:13
Palithere is one someting: NOLO loading kernel image at some random address (is different in qemu and on my n900)22:14
DocScrutinizer06merlin1991: RDP22:14
Paliand uboot loading kernel at same address always22:14
DocScrutinizer06or was it RDA?22:14
DocScrutinizer06Pali: brilliant spotting22:15
keriofreemangordon: why do you go back to .arm at some point?22:16
Paliso maybe nolo on other hwrev loading kernel at some other address to fix something...22:16
DocScrutinizer06are you sure it's even uBoot that fails, and *not* kernel during early init phase?22:17
PaliI really do not know where is problem...22:17
Paliwe have uboot image which working22:18
merlin1991that's -11 :D22:18
DocScrutinizer06maybe the dangling pointer is in kernel, and uBoot found a nice (and constant) addr to load kernel where it always crashes22:18
Paliand with some changes not working (-12)22:18
Paliu-boot always loading kernel at 8000800022:18
SiceloDocScrutinizer06: +122:18
Palibut when you buidling uImage, you can specify different address22:19
DocScrutinizer06so next step already clear, no?22:19
PaliDocScrutinizer06, so write other address where to load kernel22:20
DocScrutinizer06buold a supposedly not working 12 rev, and change that location to something slightly different22:20
PaliDocScrutinizer06, I think we should need why ubi failed22:21
Paliit is because ubi cannot read nand memory?22:21
Palior it is because that it read something different?22:21
Pali(e.g signature not correct?)22:21
*** _PanzerSajt has joined #maemo22:21
Palior it fail because nand is locked?22:22
DocScrutinizer06yep22:22
_PanzerSajtPali, still no soulion?22:22
_PanzerSajt*solution?22:22
Palior because ubi want to allocate big memory and it is not possible? (uboot bad initialized ram)22:22
DocScrutinizer06_PanzerSajt: this is a nasty one22:22
DocScrutinizer06Pali: or simply because somebody nuked a few bytes in variables or program text RAM area of ubi22:23
*** hardaker has joined #maemo22:24
PaliDocScrutinizer06, kernel image before is started was OK22:24
Paliuboot checking for checksum if is correct before booting image22:24
*** mvp_ has quit IRC22:24
PaliuImage is zImage + info about load address + checksum + name + ...22:24
Paliso we are sure that uboot does not deleted/changed attached kernel image22:25
DocScrutinizer06Pali: I talked about kernel nuking itself22:25
Paliok22:25
DocScrutinizer06but then the -19 is from uBoot ubi AIUI22:26
DocScrutinizer06?22:26
DocScrutinizer06is it?22:26
_PanzerSajtPali, DocScrutinizer06 merlin1991 if you don't fell offended may I ask your age? Mine is 18. I'm asking this because I would like to dig deeper with programming and linux and I would like to know whether fall behind or my knowledge is adequate to my age?22:26
PaliDocScrutinizer06, yes22:26
DocScrutinizer06if not, then we don't know if uBoot is any bad22:26
merlin1991check my nick ;)22:26
DocScrutinizer06while I'm like 3 times as old22:27
DocScrutinizer06so I couldn't judge about your coding knowlege and if it's adequate for your age, I forgot I ever been as young as you're22:27
_PanzerSajtI hope that I can measure my knowledge22:28
_PanzerSajtbut this year I have to apply to university and I would like to choose which is suitable for me22:29
DocScrutinizer06Pali: ((yes)) so kernel won't ever get loaded when error strikes, so no way we got any problems with kernel not liking the addr where it got loaded22:30
DocScrutinizer06s/loaded/loaded+started/22:30
infobotDocScrutinizer06 meant: Pali: ((yes)) so kernel won't ever get loaded+started when error strikes, so no way we got any problems with kernel not liking the addr where it got loaded22:30
Pali_PanzerSajt, look at Korotkevich. He is about 18 and has 6 gold medals from IOI :D It does not depends on your age :P22:31
_PanzerSajtyes but you should collet as many knowledge as you can when you're young22:31
DocScrutinizer06definitely22:31
DocScrutinizer06where knowledge here means useful knowledge, the ability to solve problems, strategies for doing so. A particular language is the useless class of knowledge22:33
DocScrutinizer06learning about concept of multitasking or OO is useful22:33
DocScrutinizer06coding something in assembler first, then do same thing in a high level language, that's useful22:34
*** messerting has joined #maemo22:34
DocScrutinizer06learning about structures is useful22:34
*** muelli has quit IRC22:34
jacekowskito be honest, i'm not a big fan of inline assembly22:35
DocScrutinizer06jacekowski: doesn't matter in this special case22:36
jacekowskibut well,22:36
DocScrutinizer06he just asked for a review22:36
_PanzerSajtDocScrutinizer06, yes multitasking and assembly these are just big question marks for me22:36
_PanzerSajt:(22:36
DocScrutinizer06in yur age I started learning about that stuff22:37
*** VDVsx has quit IRC22:37
DocScrutinizer06Pali: wait, what now was that -19 ubi error?22:40
kerioDocScrutinizer06: yeah, but you're ooooooooold22:40
*** DocScrutinizer06 is now known as DocScrutinizer0522:40
jacekowskifreemangordon: where that code came from?22:40
PaliDocScrutinizer05, error is here: http://imageshack.us/a/img839/674/img2012100611100165.jpg22:41
DocScrutinizer05was it "uBoot: ubi -19, can't load kernel" or was it "kernel: -19 can't mount rootfs" ?22:41
keriothe kernel is already loaded at that point, clearly22:41
Sicelothe latter iirc..22:42
DocScrutinizer05so it *may* be a bug aka dangling pointer in _kernel_22:42
Siceloit says 'Kernel panic, not syncing..22:42
SiceloNemo guys fixed this in their kernel.. which never booted with this uboot until the very latest one22:43
DocScrutinizer05I read "please append a correct 'root=' boot option"22:43
jacekowskifreemangordon: it looks ok,22:44
DocScrutinizer05sounds to me like kernel cmdline is incorrect22:44
Siceloit does say that too22:44
Sicelolet me get the full ine22:44
jacekowskifreemangordon: switch to ARM is ok, and then switch back to thumb is ok22:45
jacekowskifreemangordon: other than that it's the same code22:46
*** _rd has joined #maemo22:46
DocScrutinizer05I see "ubifs error -19" which is before that root= error22:46
keriowhy do we need inline ASM there?22:46
jacekowskifreemangordon: though, i'm not sure how GCC is dealing with it22:46
*** Psotnick_ has joined #maemo22:47
Siceloyes22:47
DocScrutinizer05ubifs_get_sb: -1922:47
Sicelokernel panics because it can't mount that22:47
*** flx_ has joined #maemo22:47
DocScrutinizer05anybody looked into ubifs_get_sb and checked what -19 means?22:48
PaliDocScrutinizer05, cmdline is included in zImage22:48
Paliuboot not adding any commandline22:48
Palifor maemo kernel22:48
_PanzerSajtPali, DocScrutinizer05 thanks for the help and good luck with u-boot ;)22:48
DocScrutinizer05:-)22:48
jacekowskifreemangordon: i would run it through disassembler to confirm that gcc is not making a mess out of it, but other than that, it looks ok22:49
_PanzerSajtbye22:49
DocScrutinizer05good advice22:49
*** fortytwo- has joined #maemo22:49
*** _PanzerSajt has quit IRC22:49
*** ShadowJK_ has joined #maemo22:50
*** sandst1 has joined #maemo22:50
*** eqs has joined #maemo22:50
*** MikaT_ has joined #maemo22:51
DocScrutinizer05find the line with prink(*"cannot open* in ubifs_get_sb22:51
*** Plnt_ has joined #maemo22:51
DocScrutinizer05check what error=-19 means22:51
*** Venemo_N9 has quit IRC22:52
Pali#define ENODEV 1922:52
Paliin errno.h22:52
DocScrutinizer05it's not the definition that counts, but the few lines of code before the ubifs_get_sb(){...} decides to printk(... ENODEV...)22:53
PaliNIN101, it is possible to use maemo kernel with your rescue os?22:54
NIN101hmm22:54
*** Mohammad- has joined #maemo22:54
freemangordonjacekowski: it is berkeley db22:55
Palimaybe we should try to boot maemo kernel with initfs and here try to mount ubifs manually22:55
*** uen has quit IRC22:55
*** flux has quit IRC22:55
*** fortytwo has quit IRC22:55
*** MikaT has quit IRC22:55
*** Psotnick has quit IRC22:55
*** sandst1_ has quit IRC22:55
*** kabtoffe_ has quit IRC22:55
*** felipe` has quit IRC22:55
*** Scorcerer has quit IRC22:55
*** MohammadAG has quit IRC22:55
*** niwakame|away has quit IRC22:55
*** ShadowJK has quit IRC22:55
*** Wnt has quit IRC22:55
*** EgS has quit IRC22:55
*** phryk has quit IRC22:55
*** Plnt has quit IRC22:55
*** Luke-Jr has quit IRC22:55
*** Jade has quit IRC22:55
*** basiaf has quit IRC22:55
*** rosseaux has quit IRC22:55
*** jhb has quit IRC22:55
*** archeyDevil has quit IRC22:55
*** Jaffa has quit IRC22:55
*** GuySoft has quit IRC22:55
*** odin_ has quit IRC22:55
*** lbt has quit IRC22:55
*** peetah has quit IRC22:55
*** X-Fade has quit IRC22:55
*** fortytwo- is now known as fortytwo22:55
freemangordoni.e. adressbook db22:55
Paliand rescue os is good candicate22:55
*** flx_ is now known as flux22:55
DocScrutinizer05sounds like a smart plan22:55
*** Scorcere1 has joined #maemo22:56
*** Luke-Jr has joined #maemo22:56
*** Jade has joined #maemo22:56
*** basiaf has joined #maemo22:56
*** rosseaux has joined #maemo22:56
*** alehorst has joined #maemo22:56
*** jhb has joined #maemo22:56
*** archeyDevil has joined #maemo22:56
*** Jaffa has joined #maemo22:56
*** GuySoft has joined #maemo22:56
*** odin_ has joined #maemo22:56
*** lbt has joined #maemo22:56
*** peetah has joined #maemo22:56
*** X-Fade has joined #maemo22:56
*** Zahra has quit IRC22:56
NIN101I am not sure, maybe it even is.22:56
freemangordonjacekowski: (as you see)this part is mutex stuff, so I should be extremely careful with it :)22:56
freemangordondamn netsplit :(22:56
DocScrutinizer05still i'd first look up in sourcecode what exactly failed to cause this -19/ENODEV error to get thrown22:56
freemangordonjacekowski: I run that through IDA and all sems well, I just need someone to reasure me it is fine :D22:58
vi__gtg gn all.22:58
vi__:q22:58
*** vi__ has quit IRC22:58
DocScrutinizer05o/22:58
*** LjL has quit IRC22:59
*** antero has quit IRC22:59
Palihttp://mxr.maemo.org/fremantle/source/kernel/fs/ubifs/super.c#200423:00
PaliDocScrutinizer05 ^^23:00
DocScrutinizer05hah, I was just searching23:00
*** Scorcere1 has quit IRC23:00
*** Luke-Jr has quit IRC23:00
*** Jade has quit IRC23:00
*** basiaf has quit IRC23:00
*** rosseaux has quit IRC23:00
*** Scorcere1 has joined #maemo23:01
*** Luke-Jr has joined #maemo23:01
*** Jade has joined #maemo23:01
*** basiaf has joined #maemo23:01
*** rosseaux has joined #maemo23:01
Paliand it returns from http://mxr.maemo.org/fremantle/source/kernel/fs/ubifs/super.c#184723:01
DocScrutinizer05http://mxr.maemo.org/fremantle/source/kernel/fs/ubifs/super.c#180023:02
DocScrutinizer05yeah23:02
DocScrutinizer05seems I looked at this one before23:02
DocScrutinizer05same issue23:02
DocScrutinizer05several months ago23:02
freemangordonPali: most probably oneNAND is not loaded23:03
freemangordonthus mtd does not exists23:03
Paliand it can return from here http://mxr.maemo.org/fremantle/source/kernel/drivers/mtd/ubi/kapi.c#232 or http://mxr.maemo.org/fremantle/source/kernel/drivers/mtd/ubi/kapi.c#247 or http://mxr.maemo.org/fremantle/source/kernel/drivers/mtd/ubi/kapi.c#24923:03
*** Psotnick_ is now known as Psotnick23:04
*** Psotnick has quit IRC23:04
*** Psotnick has joined #maemo23:04
PaliI think it failing somewhere here: http://mxr.maemo.org/fremantle/source/kernel/drivers/mtd/ubi/kapi.c#10223:06
freemangordonPali: ubi = ubi_get_device(ubi_num);?23:08
Palionly here is ubi code assining non null value: http://mxr.maemo.org/fremantle/source/kernel/drivers/mtd/ubi/build.c#88823:10
Palibtw, in dmesg we should see this output: http://mxr.maemo.org/fremantle/source/kernel/drivers/mtd/ubi/build.c#86723:11
*** dhbiker has joined #maemo23:11
*** VDVsx has joined #maemo23:11
*** VDVsx has quit IRC23:11
DocScrutinizer05http://mxr.maemo.org/fremantle/source/kernel/fs/ubifs/super.c#1847  -> http://mxr.maemo.org/fremantle/source/kernel/drivers/mtd/ubi/kapi.c#21123:13
DocScrutinizer05so yeah,23:13
DocScrutinizer05and I got a so terrible deja-vu, I have to stop this immediately23:13
PaliDocScrutinizer05, it is possible to export tty console via USB?23:13
DocScrutinizer05theoretically yes23:13
*** hardaker has quit IRC23:14
Palig_nokia.ko can do it23:14
DocScrutinizer05iirc OM FR uBoot worked like that23:14
PaliI remember that it working23:14
PaliUboot can export console via usb too... but there is problem that kernel musb driver crashing if uboot enabled that usb console23:14
Paliso I disabled tty console in uboot23:15
DocScrutinizer05sure, we wanna debig kernel anyway23:15
DocScrutinizer05so no use in uBoot console23:15
Paliit is possible to compile g_nokia into kernel image and set default output to usb console tty?23:15
DocScrutinizer05kernel usually does that via cmdline parameter23:16
Paliconsole=tty<something>23:16
DocScrutinizer05:nod:23:16
DocScrutinizer05ttyACM or whatever23:16
Palibut what will kernel do if driver g_nokia is not loaded?23:17
kerioFUCK23:17
kerioi can't sync via bluetooth anymore23:17
DocScrutinizer05I don't think this works via g_nokia23:17
keriowhat the fucking fuck23:17
*** valdyn has quit IRC23:17
DocScrutinizer05it's a genuine kernel thing23:18
DocScrutinizer05musb_hdrc is monolithic23:18
*** brzys has quit IRC23:18
DocScrutinizer05the "console tty" probably is just an EndPoint on a standard ENUM session on USB, established by musb_hdrc and relatives23:19
Palimerlin1991, freemangordon, can you try (maybe next day) to start rescue os, but with maemo kernel?23:19
Paliit needs to repack initrd image (add maemo kernel modules)23:20
Paliand try to mount ubifs rootfs here23:20
Paliand see full dmesg!23:20
*** brzys has joined #maemo23:20
PaliI think this is key for problem23:20
DocScrutinizer05we goddamn had exactly same -19 error in same ubifs, looked same sourcecode lines, some months ago, in this very channel 8or #maemo-ssu)23:22
DocScrutinizer05or I'm losing my mind23:23
PaliDocScrutinizer05, I think I remember something...23:23
Palisomebody wrote about non bootable maemo kernel...23:23
Paliso it was this uboot problem too...23:24
*** hardaker has joined #maemo23:24
DocScrutinizer05:nod:23:24
Palithis appeared in uboot 2012.04 so 6 month ago23:24
DocScrutinizer05:nod:23:24
kerioGAAAAAAAAAAAAAH WHAT THE FUCK IS WRONG WITH THIS23:25
DocScrutinizer05ouch my ears23:26
keriothe syncml is listed in sdptool23:26
DocScrutinizer05???23:27
kerioall of a sudden, isync doesn't work23:27
kerio(contacts/calendar synchronization via bluetooth syncml)23:27
DocScrutinizer05*burp*23:27
DocScrutinizer05CSSU-T ?23:27
keriono modifications lately23:27
DocScrutinizer05*shrug*23:28
DocScrutinizer05then I'm out now23:28
kerioi can restore an old backup, but i literally made no modifications to bluetooth or syncing since there23:29
kerio*then23:29
*** valdyn has joined #maemo23:29
shamuspeople still use the n900? i have not touched me n800 in ages. sucks that nokia basicly let the n900 just up and die23:29
*** jhb has quit IRC23:30
*** Rqper has joined #maemo23:30
*** hardaker has quit IRC23:31
SpeedEvilI'm using mine regularly for poscass23:31
SkryI'm using it as my primary phone23:32
shamusI use my n800 as a clock. leave good old xdial clock runnign 24/723:32
SpeedEvilI recently moved my landline to my n900.23:33
*** dhbiker has quit IRC23:33
SpeedEvilfor some defintions anyway23:34
SpeedEvil'primary calling phone that presents a geographic I'd'23:34
keriooh ok, apparently bluetooth-dun is required to make isync realize that it's talking to a n90023:34
kerioshamus: it's my primary (and only) phone, and i recently bought a second n900 to replace the first23:35
*** dhbiker has joined #maemo23:35
shamushow are the specs? i always thouhg the older n800 and n810 were underpowered23:35
keriobad-ish23:36
keriotoo little ram23:36
keriobut every other "smartphone" sucks balls23:36
shamustrue all smartphones suck23:36
shamuspersionaly i still use dumbphones23:37
shamusand an android tablet23:37
kerioyeah, android sucks too23:37
shamusics is not that bad have yet to try jellybean23:37
kerioshamus: ever tried using fremantle for a while?23:37
shamusbut i wil admit the premison system sucks balls23:38
shamusnope23:38
shamusmy tab came preloaded with ice cream samwitch23:38
kerioi'd grab a used n900 if you can spare a bit of cache23:38
kerio*cash23:38
shamusim guessign they have slowly droped in cost due to there age23:39
kerioyeah, you can grab one for 100-150<currency>23:39
teotwakiapparently, you've dropped spelling due to age as well?23:40
shamusstill shoked me how much amazon riped me off on the n800 when i got it. was about 2 years ago and still about 120 ush23:40
shamuswas pissed that the n900 cam out less then a few months after i got my n80023:41
shamusbut i was already passed the return period23:41
SpeedEvilI have a nexus 7, running jellybean.23:42
SpeedEvilit annoys me constantly with the subtle breakages.23:42
*** konelix has quit IRC23:42
*** messerting has quit IRC23:44
teotwakiI've been lobbying the company to get me a Note 223:44
keriohaha23:44
keriolobby for a n900!23:45
teotwakiI've got 3 N900s23:45
teotwakithey're way underpowered.23:45
kerio:c23:45
teotwakidoens't the note 2 have 10 times the amount of ram of an n900?23:45
DocScrutinizer05beowulf FTW ;-P23:45
kerioit's also about 10 times as bulky23:46
kerio>:C23:46
kerioand yeah, ram is a big issue on the n90023:47
keriocssu-thumb helps, though23:47
DocScrutinizer05get another 20 N900 and you blow your scrubby Note2 outa the water23:47
DocScrutinizer05;-)23:47
kerioDocScrutinizer05: get another 20 N900s so you can try resoldering more RAM on one23:47
teotwakiDocScrutinizer05: you mean in power requirements?23:47
DocScrutinizer05haha23:47
DocScrutinizer05kerio: toldya there's no way to solder more RAM to N90023:48
kerioyou can desolder the ram that's already there though23:48
DocScrutinizer05unless you build a piggyback board23:49
shamuscould be scarier I have seen someone replace the CPU on a eepc. that shit is just crazy who in there right mine replaces a soder ball aray at home23:52
shamuswas on hack a day a while back23:53
*** VDVsx has joined #maemo23:54
DocScrutinizer05it's still unclear if POP is desolderable at all, or maybe they used a drop of acrylic glue to stick the upper-POP to lowerPOP23:55
DocScrutinizer05after all you wouldn't want the RAM/NAND come off the CPU during reflow ;-P23:56
DocScrutinizer05you rather exploit the MMC bus 1 by adding a mux and place some RAM in parallel to the eMMC23:58
*** sunny_s has joined #maemo23:58
*** VDVsx has quit IRC23:58
DocScrutinizer05not exactly genuine RAM for what CPU sees of it, but makes for a nice swap I bet23:58
kerioDocScrutinizer05: whatevs, just figure out your EE thing and build me a n900 with a quad-core i7 pls23:58
DocScrutinizer05*BURRRP*23:59
keriosilly thing: swap on nand23:59
keriowould it be possible, somehow?23:59
shamusprobly not23:59
teotwakito be honest, I have a dual core HT atom CPU, it's not bad.23:59
keriowithout nuking the nand to shit23:59
DocScrutinizer05not worth it23:59

Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!