IRC log of #maemo for Sunday, 2012-10-07

kerioisn't it much faster than the emmc or the usd?00:00
DocScrutinizer05there's not more than 256MB NAND anyway00:00
DocScrutinizer05and no, it's not THAT much faster00:00
shamushttp://hackaday.com/2012/08/10/swapping-out-eee-pc-bga-chip-for-1-6-ghz-upgrade/00:01
shamusif you ask my thats just crazy00:01
DocScrutinizer05you still need to flash-erase whole pages, which kills your swap00:01
DocScrutinizer05performance-wise00:01
teotwakishamus: what's the point, though?00:01
DocScrutinizer05and also regarding wear00:01
shamusim guessing they did it becasue they could00:02
shamusdo they realy need a reasion00:02
kerioDocScrutinizer05: would it be easier to replace the whole SoC?00:02
DocScrutinizer05yes00:02
DocScrutinizer05waaaay easier00:02
keriocool, let's do that then00:02
teotwakihas anyone run Maemo on any other SoC than the n900?00:02
DocScrutinizer05we already had that topic finalized some 4 weeks ago00:02
DocScrutinizer05we just need an OMAP3430 with better specs and better OneNAND POP00:03
DocScrutinizer05and somebody uttered "palm pre"00:03
kerioneat00:03
DocScrutinizer05as a possuble source for such a critter00:03
DocScrutinizer05but then, there's cert for xloader00:04
DocScrutinizer05so unless we get uBoot to properly boot maemo, we're probably still screwed00:05
shamusnow what would be funny/sad is somone trying to get Maemo to run on a palm Vx lol00:05
keriowould a 3630 work fine too?00:05
kerio(palm pre 2)00:05
DocScrutinizer05prolly not00:05
keriodamn00:05
DocScrutinizer05I guess their electric specs don't match00:06
keriothe pre's is 500/600mhz like the n900's00:06
DocScrutinizer05uneducated guess00:06
keriothe pre plus has half a gb of ram, though00:06
*** m4g0g has left #maemo00:06
keriowhich would be ZOMGSOGOOD00:06
DocScrutinizer05kerio: download "datasheets" of omap3430 and 3630 from TI and check00:07
DocScrutinizer05if the pins are all the same names, odds are they could be just a drop-in replacement00:08
DocScrutinizer05if you find a devel board with chip socket, that claims to take both 3430 and 3630, then as well odds are good00:09
*** ced117 has joined #maemo00:09
*** ced117 has quit IRC00:09
*** ced117 has joined #maemo00:09
DocScrutinizer05and *particularly* if you check kernel sources and there's no diff in noardconfig parameters for 3430 and 3630 boards, you could assume the peripherals are all the same, and thus maybe chips are compatible00:11
DocScrutinizer05board-config even00:11
*** felipe` has joined #maemo00:14
*** VDVsx has joined #maemo00:15
*** int_ua has joined #maemo00:16
*** bugzy has joined #maemo00:17
*** netkat has quit IRC00:18
*** VDVsx has quit IRC00:20
*** Rqper has quit IRC00:21
*** nox- has joined #maemo00:23
jacekowskifreemangordon: only thing i don't like about it is the fact that there are thumb alternatives you are supposed to use instead00:24
jacekowskifreemangordon: because swp + 2 switches have HUGE penalty00:24
keriojacekowski: can't that code be written in C?00:26
jacekowskifreemangordon: swp and swpb is deprecated in arm600:26
teotwakiany code can be rewritten in C, doesn't mean it'll be faster.00:27
jacekowskikerio: not something like that00:27
keriowhy not00:27
kerio?00:27
*** bugzy has quit IRC00:27
jacekowskikerio: because it's thumb to arm switch and back to thumb for once00:27
*** bugzy has joined #maemo00:27
jacekowskikerio: and it's using swp instruction and you can't make gcc emit that instruction00:28
jacekowskifor two reasons00:28
jacekowskiit's deprecated00:28
jacekowskiand C has no understanding of mutexes00:28
*** raandoom has joined #maemo00:28
jacekowskiwhat SWP is doing is swapping two memory locations as one atomic operation00:29
*** uen has joined #maemo00:30
jacekowskithere are compiler specific ways of doing things00:30
jacekowskibut those use memory barriers00:31
jacekowskiwhich is the way it should have been done00:31
jacekowskiGCC is pretty shit00:32
kerio:c00:32
keriodon't say that!00:32
jacekowskiit's decent on x8600:32
jacekowskibut other platforms, it makes me cry00:32
kerioi thought linaro wasn't that bad00:32
jacekowskilinaro has not much to do with gcc00:33
jacekowskionly platform where gcc generates acceptable code is x8600:34
jacekowskiand even then it's pretty bad when compared with ICC00:34
jacekowskionly "good" thing is, that MSVC is just as bad as gcc00:34
kerioheh00:35
keriohow does clang compare?00:35
jacekowskiclang is bit strange thing to compare it directly00:35
kerioclang/llvm as a whole?00:35
jacekowskiyeah00:36
keriono, i mean, how does it compare to clang/llvm as a whole? :)00:36
jacekowskiwell, it has improved a lot00:36
*** VDVsx has joined #maemo00:36
*** Pali has quit IRC00:37
keriowhich one? gcc or llvm?00:37
jacekowskillvm00:37
keriobut gcc is still better?00:37
jacekowskibut thing is, llvm has plenty of overheads00:37
kerioi'm talking about arm00:37
jacekowskidunno about arm00:37
jacekowskito be honest, there is no good all round compiler for arm00:38
kerio:(00:38
jacekowskii've seen code generated by codesorcery00:38
jacekowskihmm00:38
jacekowskior codesomething00:38
jacekowskikeil00:38
jacekowskiand arm arm compiler00:38
jacekowskiand all had their problems00:38
jacekowskithough, arm compiler seemed to do least amount of fuck ups00:39
*** VDVsx has quit IRC00:41
freemangordonjacekowski: ldrex / strex won;t do the job00:41
freemangordonI am using 4.7.2 and can use sync intrinstics00:42
freemangordonbut they implement mutex by themselves, not MUTEX_SET00:42
jacekowskiyeah, well, ideally you would replace whole mutex implementation fully in thumb00:42
freemangordonand having in mind berkeley deb uses swp/b even in it's latest code, I don't dare to rewrite mutex implementation in such a critical databse00:43
jacekowskibut thing about bdb, in most cases there is no real need for mutexes in it00:43
freemangordons/deb/db/00:43
infobotfreemangordon meant: and having in mind berkeley db uses swp/b even in it's latest code, I don't dare to rewrite mutex implementation in such a critical databse00:43
jacekowskiin mose use cases*00:43
freemangordonjacekowski: there is no penalty for going thumb/arm/thumb afaik00:44
jacekowskii'm pretty sure it causes pipeline flush00:44
freemangordonmost probably. but it is the same wuth gcc intrinstics, they put data memory barriers, i've already tried them00:45
freemangordonand used IDA to check the code after that00:45
jacekowskibut i think swp has higher penalty than mode switch00:46
*** brzys has quit IRC00:46
freemangordoni know I can write in assembly, as memory barriers are for luti-cpu, but still00:46
freemangordonmode shwitch should not have any penalty besides what bx does00:46
jacekowskibranch misprediction has pretty hefty penalty00:47
jacekowskiand normal running system you get very very high hitrate on that00:47
*** brzys has joined #maemo00:48
jacekowskibut branch misprediction means that full pipeline is thrown out00:48
jacekowskiand cortex-a8 has 13 stage pipeline00:48
freemangordonyou mean bx will flush the pipeline?00:48
freemangordonbut aiui there is no way to mispredict it, as it is always taken00:49
jacekowskiBX can have condition00:49
freemangordonand abyway BTB is flushed on every context switch :D:D:D00:49
*** ced117 has quit IRC00:50
freemangordonwell, it can, but it has not in the current code00:50
*** messerting has joined #maemo00:50
jacekowskiahm, you are talking about bx in your code00:50
jacekowskii though we are talking generally about bx00:50
freemangordonyeah00:50
freemangordonno00:50
freemangordoni am talking about my code00:51
jacekowskibut in your case it will cause flush00:51
freemangordonwill it?00:51
freemangordonbecause of swpb?00:51
jacekowskiit's just predicting location00:51
jacekowskino, because instruction decoder will be running in ARM mode00:51
freemangordonaah, i see00:51
jacekowskiso prefetched instructions will be decoded as arm00:51
freemangordonyes, you're right00:52
jacekowskiand then you switch to thumb and only then processor realises that it's decoded them wrong00:52
freemangordoncorrect. damn, i'll have to rewrite that with lrdex/strex00:52
jacekowskibut thing is, penalty on that is only part of it00:53
*** OkropNick has quit IRC00:53
jacekowskiswp is not penalty free as well00:53
jacekowskii'm not 100% sure if it's cached00:53
*** int_ua has quit IRC00:53
freemangordonyeah, but it is a legacy from the origoinal code00:53
freemangordonjacekowski: i'm convinced :D00:53
jacekowskiSWP causes processor wide bus lock00:54
jacekowskithough, on n900 with single core it doesn't matter so much00:54
freemangordonno matter that code will work in it's current form, I hate when developers do it in the easy (read ineffective)way00:55
jacekowskibut on multicore system it will stop all cores00:55
freemangordonyeah, i know that.hmm, actually i can rewrite that with only 3 instruction00:56
jacekowskiand may cause cache lines to be flushed00:56
freemangordonldrex,mov, strex00:56
freemangordonno memory barrier as we're on single core00:57
*** grayhat has joined #maemo00:57
jacekowskion x86 there is memory snooping for that, but i'm not sure how ARM implements that kind of stuff exactly00:57
freemangordonand I am not trying to upstream that :D00:57
grayhatHow can I reset n900 to factory default00:57
jacekowskigrayhat: flash it00:57
jacekowskianyways00:57
jacekowskisleep to do00:57
freemangordonjacekowski: ldrex/strex00:57
grayhatjacekowski: i dont know how to do that00:58
jacekowskifreemangordon: i'm talking hardware side00:58
freemangordon~flashing00:58
infobotmethinks maemo-flashing is http://wiki.maemo.org/Updating_the_tablet_firmware00:58
jacekowskifreemangordon: as in what happens if one core updates memory location that is cached in another core00:58
freemangordonjacekowski: aah, ok00:58
freemangordonthere is cache protocol for that00:58
grayhatThanks y'all00:58
* freemangordon has forgotten the name00:59
Cor-Aijohn?00:59
jacekowskifreemangordon: on x86 all cores snoop memory accesses and will update or in some cases invalidate specific lines00:59
jacekowskianyways01:00
jacekowskisleep time01:00
freemangordonMESI01:00
freemangordonjacekowski: ^^^01:00
freemangordonnight01:00
*** niwakame|away has joined #maemo01:01
jacekowskifreemangordon: NUMA makes it a lot more fun than that01:01
jacekowskibut anyways01:01
jacekowskisleep time01:01
freemangordon:)01:01
*** ced117 has joined #maemo01:04
*** messerting has quit IRC01:09
*** croppa has joined #maemo01:11
*** raandoom has quit IRC01:18
*** NIN101 has quit IRC01:18
*** hardaker has joined #maemo01:19
*** lxp has quit IRC01:21
*** lxp has joined #maemo01:23
*** _rd has quit IRC01:24
maraineinis uboot working or not? there seems to be a lot of talk about its problems01:32
Skryit works01:34
*** brzys has quit IRC01:35
*** brzys has joined #maemo01:35
freemangordonSkry: or better said - if it works, it works :D01:36
*** rcg has quit IRC01:38
*** int_ua has joined #maemo01:40
DocScrutinizer05or even better: compare your hw-rev with the list of those who are known to work01:40
*** eijk_ has quit IRC01:41
*** int_ua has quit IRC01:42
merlin1991aka 2101 works everything else is a gamble :D01:45
marainein220401:46
marainein...swell01:46
*** twb15 has joined #maemo01:48
*** twb15 has quit IRC01:51
maraineinso what do 2204 owners use for a boot loader?01:54
Skryfreemangordon: so very true, fortunately I've personally never had any problems with it.01:57
*** VDVsx has joined #maemo02:02
*** VDVsx has quit IRC02:06
HurrianWhere do people get non-2101 units? I've personally handled 6 N900s, and all of them were r2101.02:06
entitledhow do I check which I have?02:07
entitledgot two02:07
maraineinHurrian, mine came from amazon02:10
maraineinentitled, cat /proc/component_version02:11
*** grayhat has quit IRC02:11
entitled2101 and... 210102:15
* nox- 220402:15
nox-good i never tried uboot i guess...02:16
merlin1991I have a 2101 ad 2104 a 2204 and a 4th where I don't know the hw revision :D02:16
maraineinnox-, you use any kind of multi boot?02:16
merlin1991nox-: actually u-boot prior to some very specific version works on all of them02:16
nox-marainein, no02:17
nox-merlin1991, oh...02:17
merlin1991ie the uboot-pr1.3 package in extras devel works on all device I own02:17
nox-and which one is broken?02:18
merlin1991the latest and greatest by pali :D02:18
nox-oh well...02:18
entitled/proc/cpuinfo... in features the one im using daily has thumbee and the one in reserve does not?02:21
HurrianNothing currently uses ThumbEE. It's just a CPU feature seen by Linux.02:22
entitleddue to software I've installed 8 suppose, all should support thumbee02:22
entitledas it's the same armv7 revision02:23
*** VDVsx has joined #maemo02:23
HurrianAgain, it /supports/ ThumbEE, but nothing uses it02:24
entitledanyone replaced the digitizer on their n900? are all those chinese ones as good as any other?02:24
HurrianIt's for faster Java, but I don't recall even Android devices using it.02:24
Hurrianentitled, the chinese digitizers are crap.02:25
HurrianIIRC there was this one seller on eBay with surplus N900 ones, but I can't find it anymore.02:25
entitledfriend's n900 has broken touch sensor, only works in part of the screen02:25
entitledand mine is pretty scratched up02:26
*** at1as has quit IRC02:26
Hurrianouch,02:27
Hurrianthese things are quite squishy. They pop up on eBay sometimes, though02:27
*** VDVsx has quit IRC02:27
Hurrianit's pretty clear which ones are Nokia and which ones are ripoffs02:27
*** at1as has joined #maemo02:31
entitledhe got it from uk vendor but with the price being so low it's most likely one of those chinese copies02:31
Hurrianthese things are pretty pricey, 30-50 EUR a pop.02:33
entitledye02:33
*** VDVsx has joined #maemo02:44
*** VDVsx has quit IRC02:49
*** LjL has joined #maemo02:50
DocScrutinizer05re cpuinfo: what I find a tad concerning is the >>BogoMIPS        : 249.96<< on PK46 device, while stock kernel gives >>BogoMIPS        : 499.92<<02:50
DocScrutinizer05WTH?! the other one with stock kernel and CSSU-TH also has >>BogoMIPS        : 249.96<<02:52
DocScrutinizer05btw all three 210102:52
*** teotwaki has quit IRC03:04
DocScrutinizer05btw, on a sidenote:03:05
DocScrutinizer05t900:~# uptime03:05
DocScrutinizer05 02:03:09 up 190 days,  2:58, load average: 0.00, 0.00, 0.0003:05
SpeedEvil:-)03:05
DocScrutinizer05since I got other N900 for battery charging, I won't probably boot it that often anynore ;-D03:07
DocScrutinizer05so one thing I can confirm: WLAN driver, kernel, and sshd are rock solid ;-)03:08
GeneralAntillesI can hardly get through a day without having to reboot the N950 to get back lost modem connectivity.03:09
DocScrutinizer05no modem on t90003:10
DocScrutinizer05no SIM03:10
DocScrutinizer05or rather...03:10
GeneralAntillesI want a Jolla device. :<03:10
SpeedEvil''03:10
SpeedEvilprobably03:10
DocScrutinizer05a sim that's not valid anymore, and thus not registering03:10
HurrianDocScrutinizer05, measurements are taken at boot03:12
DocScrutinizer05dang, *#0000# shows "V 3.2010.02-8" on t90003:13
DocScrutinizer05Hurrian: :nod:03:13
DocScrutinizer05still doesn't explain it completely to me03:14
HurrianIf you edit /etc/pmconfig, you can get it to bump up.03:14
HurrianI think for some devices, it ramps up the CPU OPP earlier, and for some devices later, resulting in 250 and 500 MHz BOGOMIPS03:14
DocScrutinizer05yeah, but for both systems they run same kernel and same /etc/pmconfig03:15
DocScrutinizer05I wonder if one of them booted on battery while the other on charger03:16
*** hardaker has quit IRC03:16
*** Darkchaos2 has quit IRC03:20
DocScrutinizer05MEH, CSSU-TH comes with PK, no?03:21
DocScrutinizer05KP03:21
HurrianA rebranded KP (the one on the newest -thumb comes with 51r1)03:22
DocScrutinizer05so, after testing the thumb device with booting from battery, this boils down to "on KP: BogoMIPS : 249.96.    On stock kernel: BogoMIPS : 499.92"03:23
SpeedEvilweird03:24
SpeedEvildoes (say) md5sum /dev/zero go the same speed03:24
DocScrutinizer05hmm03:24
DocScrutinizer05how would I test speed of md5sum /dev/zero ;-)03:25
SpeedEvildd if=/sev/zero bs=1024 count=10240003:25
SpeedEvilOE something03:26
*** VDVsx has joined #maemo03:27
*** VDVsx has quit IRC03:27
DocScrutinizer05IroN900:~# time md5sum /dev/mtd4ro03:28
DocScrutinizer05b23b5d09162b92c0284923a7f628d2a5  /dev/mtd4ro03:28
DocScrutinizer05real    0m0.154s03:28
DocScrutinizer05t900:~# time md5sum /dev/mtd4ro03:28
DocScrutinizer05b23b5d09162b92c0284923a7f628d2a5  /dev/mtd4ro03:28
DocScrutinizer05real    0m 0.22s03:28
SpeedEviladd another couple of zeros, I guess03:29
DocScrutinizer05grr, scratch that03:29
SpeedEvilit's probably not significant those03:29
SpeedEvilthen03:29
SpeedEvildid it have thumb patches?03:30
Skryreal 0m0.31703:31
DocScrutinizer05busybox version seems to differ03:31
DocScrutinizer05Skry: you need to call this at least 4..5 times03:32
DocScrutinizer05first time is moot03:32
DocScrutinizer05format of my md5sum output differs between the two devices03:32
HurrianIsn't MTD4 full of zeros?03:33
Hurrian(and roughly 2MB)03:33
SpeedEvil /dev/zero is a pure CPU test03:33
DocScrutinizer05IroN900:~# time busybox md5sum /dev/mtd4ro03:34
DocScrutinizer05b23b5d09162b92c0284923a7f628d2a5  /dev/mtd4ro03:34
DocScrutinizer05(empty line)03:34
DocScrutinizer05real    0m0.173s  (.174 .170 .173)03:34
DocScrutinizer05t900:~# time busybox md5sum /dev/mtd4ro03:35
DocScrutinizer05b23b5d09162b92c0284923a7f628d2a5  /dev/mtd4ro03:35
DocScrutinizer05real    0m 0.24s  (.20 .24 .23 .23 .19)03:35
DocScrutinizer05BusyBox v1.10.2 (Debian 3:1.10.2.legal-1osso26+0m5)  vs  BusyBox v1.10.2 (Debian 3:1.10.2.legal-1osso31+0cssu0)03:36
*** brzys has quit IRC03:37
DocScrutinizer05so the one busybox (0cssu0, CSSU-T) is faster, has an empty line, and has 3 decimals03:38
DocScrutinizer05while the other is significantly slower, has no empty line and only 2 decimals03:39
DocScrutinizer05:-/03:39
GGonDocScrutinizer05: ever think of making a completely new distro for the n900?03:40
GGonheh03:40
GGonusing the kde based stuff? or is the n900 too slow to handle it03:40
DocScrutinizer05I don't think kde has many apps that I'd like to use on N90003:41
SkryGGon: its slow but usable after some tweaking03:42
DocScrutinizer05or rather, under KDE I'd miss a lot of apps which aren't available there03:42
GGonlike what?03:42
GGontelepathy? :)03:42
SpeedEvildialer, ...03:42
GGonSpeedEvil: lol03:43
GGonstill no easy way to access the modem for voice ?03:43
*** marainein has quit IRC03:43
DocScrutinizer05no03:43
GGonwow03:43
GGoni figured that would have been figured out by now03:43
GGonthen again i haven't used my n900 for voice comm in forever since the modem is broken anyways heh03:44
GGoni've been using it like a glorified nit03:44
HurrianGGon, you just need to setup ofono.03:44
GGonHurrian: i thought they were still having problems with ofono03:45
*** M4rtinK has quit IRC03:45
*** muelli has joined #maemo03:45
GGonwith regards to the sound or something03:45
HurrianIt works for voice calls and texts and data, if you're using the 2.6.37-N900 Adaptation kernel.03:45
HurrianThere's no dialer app, so if you're going to really use it for that purpose then don't bother.03:45
GGonis a dialer app that difficult to make in QT?03:45
HurrianYou may want to try building the Nemo dialer though. It's in Qt.03:46
GGonjust thought it would be interesting to see something running activ03:46
GGonthat's what the kde touchy ui is called isn't it?03:46
*** at1as has quit IRC03:47
GGoni haven't seen a real tablet or phone use it tho... so it must not exist :)03:47
GGonjk. i know people got it to half ass run on a transformer but i know i couldn't figure out how to get it on mine. or there wasn't an easy image to just flash to it in order to get it working03:47
HurrianPlasma Active?03:47
HurrianIt runs on the N900.03:48
*** VDVsx has joined #maemo03:48
*** VDVsx has quit IRC03:48
*** at1as has joined #maemo03:50
*** VDVsx has joined #maemo03:54
*** alex______ has joined #maemo03:58
alex______someone?03:58
Cor-Ainope, he's not here right now!03:59
*** teotwaki has joined #maemo04:02
*** edheldil has quit IRC04:03
alex______i have o problem with u-boot04:06
alex______restart looping04:06
alex______no usb cable at hand04:06
alex______help04:07
*** nox- has quit IRC04:07
*** stardiviner has joined #maemo04:07
*** GGon has quit IRC04:07
*** teotwaki has quit IRC04:14
*** GGon has joined #maemo04:16
*** sLumPia has quit IRC04:34
*** stardiviner has quit IRC04:36
ketasfoo... i got n904:38
ketasfuck04:43
ketasreally04:43
*** MacDrunk has joined #maemo04:44
*** flo_lap has joined #maemo04:45
*** VDVsx has quit IRC04:45
*** muelli has quit IRC04:45
entitledthat was weird04:47
*** robink has quit IRC04:47
entitledn900 was fully charged, I turned it off and then I get this weird bzzzzz sound and it blinked purple.04:48
*** florian has quit IRC04:48
entitledwas connected to the charger at that moment04:48
entitledseems to be ok tho04:48
* ketas curses at the security features04:48
SpeedEvilflickered purple?04:48
SpeedEvilketas++04:49
ketasi got used n9 and accidentally runned track and protect... now WHAT04:50
*** stardiviner has joined #maemo04:50
SpeedEvilno idea what that is.04:50
SpeedEvilI think t calls the ninjas.04:50
ketasmaybe should use #meego ?04:51
SpeedEvil#harmattam04:51
SpeedEviln04:51
SpeedEvilis more on topic for n904:52
*** robbiethe1st has joined #maemo04:54
*** _xnt14 has quit IRC04:55
*** _xnt14 has joined #maemo04:57
*** uen| has joined #maemo05:06
*** uen has quit IRC05:08
*** uen| is now known as uen05:08
*** at1as has quit IRC05:13
*** at1as has joined #maemo05:15
*** VDVsx has joined #maemo05:16
*** VDVsx has quit IRC05:16
*** dos1 has quit IRC05:22
*** MacDrunk has left #maemo05:24
*** at1as has quit IRC05:27
*** at1as has joined #maemo05:28
*** radic has quit IRC05:32
*** radic_ has joined #maemo05:32
*** at1as has quit IRC05:33
*** bugzy has quit IRC05:37
*** VDVsx has joined #maemo05:37
*** VDVsx has quit IRC05:37
*** iluminator105 has joined #maemo05:47
*** robink_ has joined #maemo05:48
iluminator105is there an auto installer for thumb05:53
*** marainein has joined #maemo05:59
*** DocScrutinizer05 has quit IRC06:04
*** DocScrutinizer05 has joined #maemo06:04
maraineinhey, this may be more a linux/ubuntu question than a maemo one, but when i disconnect my n900's usb connection then plug it back in, it doesn't get detected again by the computer, i have to reboot it for the computer to detect the phone...is there some way to fix that?06:18
*** Gh0sty has quit IRC06:19
robbiethe1stmarainein, pull up a terminal on Ubuntu06:19
robbiethe1strun 'dmesg | tail'06:19
robbiethe1stthen unplug/replug, do it again06:20
*** VDVsx has joined #maemo06:20
*** VDVsx has quit IRC06:20
*** Gh0sty has joined #maemo06:20
maraineinrobbiethe1st, i'm actually not seeing anything new in dmesg after i do that06:22
maraineinnor is it showing up on lsusb06:22
robbiethe1stThat's interesting06:22
robbiethe1stI wonder... check the same on the N90006:23
maraineinit's giving me 'tw14030_usb tw14030_udb: HW_CONDITIONS 0xd0/208; link 2'06:30
maraineinand the line before it, similar except for link 106:30
robbiethe1sthm06:32
robbiethe1stI think that's good...06:32
robbiethe1stI'd try updating Ubuntu/loading a different kernel06:32
maraineinyeah, i suspect it's a linux usb bug06:33
robbiethe1stversion-specific bug evidently; never had the issue with Debian06:34
*** dhbiker has quit IRC06:37
*** erstazi has joined #maemo06:45
*** dhbiker has joined #maemo07:01
*** VDVsx has joined #maemo07:02
*** VDVsx has quit IRC07:02
*** VDVsx has joined #maemo07:24
*** FlameReaper has joined #maemo07:26
*** VDVsx has quit IRC07:29
*** FlameReaper has quit IRC07:36
*** dhbiker has quit IRC07:37
*** FlameReaper has joined #maemo07:37
*** iluminator105 has quit IRC07:44
*** VDVsx has joined #maemo07:45
*** at1as has joined #maemo07:46
*** iluminator105 has joined #maemo07:46
*** VDVsx has quit IRC07:50
*** at1as has quit IRC07:51
*** dhbiker has joined #maemo07:51
*** at1as has joined #maemo07:55
*** at1as has quit IRC08:01
*** dhbiker has quit IRC08:01
*** dhbiker has joined #maemo08:02
*** dhbiker has quit IRC08:03
*** VDVsx has joined #maemo08:07
*** VDVsx has quit IRC08:11
*** at1as has joined #maemo08:18
*** at1as has quit IRC08:23
*** VDVsx has joined #maemo08:28
*** VDVsx has quit IRC08:32
*** _PanzerSajt has joined #maemo08:40
*** at1as has joined #maemo08:47
*** muelli has joined #maemo08:49
*** VDVsx has joined #maemo08:49
*** beford has quit IRC08:50
*** VDVsx has quit IRC08:54
*** iluminator105 has quit IRC08:54
*** VDVsx has joined #maemo09:10
*** VDVsx has quit IRC09:14
*** Pali has joined #maemo09:23
*** jevin has quit IRC09:29
*** DHR has quit IRC09:31
*** muelli has quit IRC09:34
*** alex______ has quit IRC09:43
*** beford has joined #maemo09:43
*** VDVsx has joined #maemo09:53
*** VDVsx has quit IRC09:53
_PanzerSajtPali, Hy! Is there any stable and safe u-boot?10:02
_PanzerSajtI have reflash my N900 and I don't want to ruin it with not working u-boot10:03
*** udovdh has quit IRC10:04
*** Pali has quit IRC10:05
*** Pali has joined #maemo10:07
robbiethe1stYou can always reflash no matter how badly anything screws it up10:07
robbiethe1stu0boot fails? reflash10:07
robbiethe1stIt's got the flashing stub in the bootloader in a different rom chip10:08
kerioyeah, you can't really brick the n900, apart for hosing CAL10:09
keriorobbiethe1st: hi10:09
robbiethe1stAnd even then...10:09
keriorobbiethe1st: BM should really ignore the installed /etc/passwd10:09
robbiethe1stWhy?10:10
keriobecause my login shell is bash10:10
kerioand there's no bash in the BM root10:10
robbiethe1stI think my next version or patch which I've nit released just adds a symlink to /bin/sh...10:11
*** Free-MG has joined #maemo10:11
robbiethe1stBut I can't really do that either, see how I'm entering terminal mode?10:11
robbiethe1stBasically just letting the system do it10:11
keriorobbiethe1st: doesn't work10:11
keriobusybox won't do shit if ran as "bash"10:11
keriobash: applet not found10:12
robbiethe1stsymlink /bin/bash to /bin/ash which is symlinked to /bin/busybox?10:12
kerioyeah, the "inner" symlink doesn't exist10:12
robbiethe1stdarn10:12
kerioaccording to busybox10:12
kerioyou could use a shell script, i guess10:13
robbiethe1sthm, yeah10:13
kerioor ship an /etc/passwd >:(10:13
_PanzerSajtkerio, yes I know that we can't brick n900 but I don't want to reflash again and install all the softwares.10:13
robbiethe1stI just thought, however, that what I could do is check for the existance of that password-enable file10:13
robbiethe1stthe one I use for BM password lock10:13
robbiethe1stif it exists, load the root's /etc/passwd, otherwise use a stock one with a default password10:14
kerio_PanzerSajt: that's where BM comes into play10:14
_PanzerSajtcan you explain it to me?10:14
*** VDVsx has joined #maemo10:14
keriorobbiethe1st: or just require a hashed password in it10:15
robbiethe1stuh...?10:15
keriorobbiethe1st: if you have a password there, you don't need the password from /etc/passwd10:16
robbiethe1stBut I'm using the official login app or w/e10:17
robbiethe1stso I think it has to exist at /etc/passwd10:17
keriohm10:17
keriostill, i have to use bootmenu's usb networking to ssh because i can't login in BM :(10:18
kerioDO YOU KNOW HOW TOUGH MY LIFE IS10:18
kerio_PanzerSajt: full-ish on-device backups10:19
*** VDVsx has quit IRC10:19
_PanzerSajtHmm that's nice10:19
_PanzerSajthow can I perform a full backup and restore?10:19
kerioi should probably backup CAL10:19
robbiethe1stChange your damn login shell to /bin/sh then?10:19
keriorobbiethe1st: no u10:19
robbiethe1stand just use bash when you need it10:19
robbiethe1st...Or edit bm's loader to add bash10:19
kerio_PanzerSajt: install BM, reboot in BM, follow semigraphical UI10:19
robbiethe1stSemigraphical is a good way to put it10:20
*** Darkchaos has joined #maemo10:20
keriorobbiethe1st: how do i backup CAL?10:23
robbiethe1stI have absolutely no clue10:23
robbiethe1stI've never done it, or messed with it10:23
keriook, nanddumped it :)10:26
keriorobbiethe1st: add it in "extra functions"10:26
robbiethe1stpaste the commands into the BM topic10:27
robbiethe1stand I'll read it tomorrow, or try to anyway10:28
*** robbiethe1st has quit IRC10:28
*** sasquatch has quit IRC10:29
*** sasquatch has joined #maemo10:29
jacekowskikerio: well, recent events have confirmed that cal is not very important10:29
*** Pali has quit IRC10:30
Hurrianjacekowski, someone tried wiping their cal?10:31
jacekowskiyes10:31
HurrianInteresting.10:31
jacekowskisomeone did wipe all of nand10:31
HurrianDid it just rebuild?10:31
jacekowskino10:31
jacekowskibut everything works without it10:31
HurrianEven phone functions?10:31
jacekowskiyes10:31
HurrianInteresting.10:32
jacekowskirapuyama is doing phone10:32
jacekowskiand there is separate cal in there10:32
jacekowskithat can't be touched10:32
jacekowskical in main onenand can be wiped10:33
*** _PanzerSajt has quit IRC10:33
jacekowskiand data there is not very important10:33
jacekowskifmtxd has region settings stored there10:33
jacekowskiand bt mac10:33
jacekowskii'm not sure what would happen on fully wiped nand10:34
jacekowskias in, partition table gone as well10:34
*** VDVsx has joined #maemo10:36
Hurrianwell, you need to use the UBI tool to create them in the first place.10:36
Hurrianhow you're going to access that is the question - Linux exposes /dev/mtdN, where N is a partition.10:36
Hurrianubinize and burn?10:37
*** valdyn has quit IRC10:39
*** VDVsx has quit IRC10:40
*** FlameReaper has quit IRC10:44
*** timo^ has joined #maemo10:45
*** timo^ has quit IRC10:45
*** Timo has joined #maemo10:45
TimoHi there10:45
*** _rd has joined #maemo10:46
TimoI've installed Pali's Uboot (with menu) and the Kernel Power for multiboot. I ran the u-boot-update-bootmenu too of course. When I rebooted and chose the kernel power (same happens with the stock kernel), Uboot hangs on 'Starting Kernel'. How do I fix that? (I've got a working phone atm because of a reflash of the stock kernel (flash-only=kernel) :)10:49
keriojacekowski: the partition table is written on the nand? :o10:50
kerioi thought it was just a parameter passed to the kernel by NOLO10:50
keriojacekowski: also, you lose info regarding your hw rev and BT doesn't work properly10:51
kerioDocScrutinizer05: do you reckon nanddump/nandwrite can be used to backup/restore CAL?10:55
kerioalso, why does on-device kernel flashing use flasher instead of nandwrite?10:56
*** VDVsx has joined #maemo10:57
*** VDVsx has quit IRC11:01
*** rcg has joined #maemo11:11
ShadowJK_was nandwrite the one that doesn't deal that well wih badblocks?11:11
*** valdyn has joined #maemo11:11
*** Timo has quit IRC11:12
*** brzys has joined #maemo11:14
kerioi thought it did11:14
keriodd on mtdblk is the one that doesn't deal with badblocks11:15
*** VDVsx has joined #maemo11:18
*** OkropNick has joined #maemo11:20
keriodo we know how CAL works?11:22
*** VDVsx has quit IRC11:23
*** raandoom has joined #maemo11:29
*** VDVsx has joined #maemo11:39
*** VDVsx has quit IRC11:44
*** eijk has joined #maemo11:46
*** raandoom has quit IRC11:52
*** sq-one has joined #maemo11:54
*** FlameReaper has joined #maemo11:58
*** VDVsx has joined #maemo12:01
*** M4rtinK has joined #maemo12:01
*** VDVsx has quit IRC12:05
*** Pali has joined #maemo12:13
*** dos1 has joined #maemo12:19
keriodoes anyone have a bit of experience with pppd?12:21
*** VDVsx has joined #maemo12:22
*** NIN101 has joined #maemo12:22
*** lbt has quit IRC12:23
ShapeshifterHi. So this morning my alarm didn't ring and I found my n900 in some sort of frozen state. The led is blinking as if I received an IM message and if I slide or double-tap power, the screen turns on but it remains black. I had this once before, and I'm sure replacing the battery fixes it. But I would like to know what is going on. So I'm able to ssh onto it, luckily, and I see that a process called sgx_misr is using up all CPU.12:24
ShapeshifterWell and I guess I found the unfixed bug report from 2010... just great.12:25
Shapeshifterhttps://bugs.maemo.org/show_bug.cgi?id=915012:25
povbotBug 9150: Device doesn't respond via UI. syslog reports HWRecoveryResetSGX: SGX Hardware Recovery triggered, sgx_misr eating all CPU12:25
*** VDVsx has quit IRC12:27
*** lbt has joined #maemo12:29
*** freemangordon has quit IRC12:31
*** dos1 has quit IRC12:31
ShapeshifterPowerVR is such shit.12:32
*** dos1 has joined #maemo12:33
DocScrutinizer05kerio: I suggested that several times12:40
keriosuggested what?12:40
DocScrutinizer05nanddump/write12:40
kerioi see12:41
DocScrutinizer05you even find a nanddump'ed image of my CAL on my server12:41
*** valdyn has quit IRC12:43
DocScrutinizer05don't forget you'll probably also need nanderase, since iirc nandwrite can't clean blocks12:43
*** VDVsx has joined #maemo12:43
DocScrutinizer05but better you read the manpages etc before you start experiments12:44
DocScrutinizer05there's also mtd_debug iirc, maybe also worth giving it a look12:44
DocScrutinizer05http://processors.wiki.ti.com/index.php/Mtdutils12:48
*** VDVsx has quit IRC12:48
*** valdyn has joined #maemo12:49
DocScrutinizer05http://stackoverflow.com/questions/11279473/how-to-correctly-nandwrite-a-nanddumped-dump-with-oob12:50
kerioDocScrutinizer05: we don't need oob, do we12:50
DocScrutinizer05http://www.linux-mtd.infradead.org/doc/general.html12:50
DocScrutinizer05oob is out of band data iircd, it marks bad blocks or whatever12:51
DocScrutinizer05>>Often people consider mtdblock as general FTL layer and try to use block-based file systems on top of bare flashes using mtdblock. This is wrong in most cases. In other words, please, do not use mtdblock unless you know exactly what you are doing.<<12:53
*** freemangordon has joined #maemo12:53
kerioDocScrutinizer05: backupmenu 1? :D12:55
DocScrutinizer05yoh12:56
*** antero has joined #maemo12:59
SpeedEvilShapeshifter: I wonder if that isn't sometimes a hardware issue.13:00
*** VDVsx has joined #maemo13:05
*** Hurrian has quit IRC13:05
DocScrutinizer05Shapeshifter: is alarmed using the tags of alarmd events?13:07
*** flo_lap has quit IRC13:09
*** VDVsx has quit IRC13:09
*** bigmeow has quit IRC13:10
*** bigmeow has joined #maemo13:16
*** shanttu has joined #maemo13:22
*** dos1 has quit IRC13:22
*** lbt has quit IRC13:23
*** VDVsx has joined #maemo13:26
PaliI found another bug in maemo package interface13:27
PaliSee this: http://maemo.org/packages/package_instance/view/fremantle_extras-testing_free_armel/wargus/2.2.7-1maemo1~fremantle/13:27
PaliDocScrutinizer05 ^^^13:27
DocScrutinizer05?13:28
PaliI can vote 4 times for one package :D13:28
DocScrutinizer05somebody already mentioned that ;-P13:28
keriobut that would be cheeeeeeeeeating13:29
Palibut now I know how to do it :)13:29
Palijust open 4 tabs in browser with that vote page13:29
*** lbt has joined #maemo13:29
*** lbt has quit IRC13:29
*** lbt has joined #maemo13:29
Palithen prepare ...13:29
DocScrutinizer05odds are cheated packages get kicked out of extras repo and you have to start all over again ;-D13:29
Paliand then very quickly click on button :D13:30
*** livelace has joined #maemo13:30
*** VDVsx has quit IRC13:30
Paliand make race condition13:30
DocScrutinizer05haha, they forgot to include mutex to avoid race condition13:30
Palifunny bug :D13:31
DocScrutinizer05excusable bug13:31
Paliwho is author of that maemo system?13:31
*** bigmeow has quit IRC13:31
DocScrutinizer05web developers usually have no clue about race conditions and re-entrant coding13:31
DocScrutinizer05adding comments has same prblem, only there it's enough to click the submit button again after 10s of waiting for anything to happen13:32
DocScrutinizer05almost all of my comments are double13:32
DocScrutinizer05some triple13:32
DocScrutinizer05;-P13:33
PaliDocScrutinizer05, now you know reason :-)13:33
DocScrutinizer05I always knew the reason13:33
DocScrutinizer05I just wonder about shortest fix for all that13:34
DocScrutinizer05probably something along system("uniq ...")13:34
*** sq-one has quit IRC13:35
DocScrutinizer05or alternatively (if that's any kind of rdb) define some cols as nodupkey13:35
*** VDVsx has joined #maemo13:35
DocScrutinizer05nfc who's maintainer for that web frontend13:37
*** Hurrian has joined #maemo13:37
DocScrutinizer05in 3  months, it should be clear whom to ask though13:37
HurrianLesson learned: don't resize MyDocs partition when using u-boot.13:38
DocScrutinizer05and I'm not any sad it's not me now, whom you'll ask about all that13:38
Palibtw what is state of maemo.org?13:38
*** bigmeow has joined #maemo13:38
Palinokia will turn off servers?13:38
DocScrutinizer05*shrug* likely13:38
HurrianPali, the funding ends on the 31st.13:38
Hurrianso yeah, unless HF moves the site, it gets cut.13:39
DocScrutinizer05gossip is they will stop paying services with new year13:39
DocScrutinizer05all that is worst case13:39
HurrianGossip? Didn't it go more like "all funding will cease on the 31st"13:39
DocScrutinizer05though Nokia's worst cases usually are worse than worst case scenarios13:40
Paliis somebody going to backup maemo.org?13:40
DocScrutinizer05Hurrian: nah, it's "Nokia already paid for servers and maintenance til end of 2012"13:41
HurrianPali, it's a ~10GB backup at the very least.13:41
DocScrutinizer05Hurrian: and there's still no definitive statement they will cease to do that in 2013-01-0113:41
DocScrutinizer05but it's very likely they will13:41
Hurriandoesn't seem likely they will - they already fired all the Linux people.13:41
Hurrianunless as said in that thread, Nokia will do a transition period13:42
Paliis nokia going to delete also maemo.gitorious.org ?13:42
DocScrutinizer05but it's very likely they will cease to pay13:42
DocScrutinizer05no way13:42
DocScrutinizer05Pali: ^^^13:42
DocScrutinizer05Hurrian: maemo.org 10GB? haha!13:43
Hurrian10GB for the forum13:43
DocScrutinizer05maemo.org incl subdomains is more likely to be something like 10TB13:43
Hurrianand, if we only keep newest copy of packages, another 10GB13:44
Hurrianplus the Nemo/Mer hosting stuff13:44
DocScrutinizer05ooh, tmo. Well that's a completely segregate topic, really13:44
Hurrianand other obscure things hosted on M.O13:44
*** brzys has quit IRC13:45
DocScrutinizer05tmo is still actually a subdomain of itt13:45
Sicelo[ /me has just now been reminded how badly IMAP-IDLE support is needed in modest :( ]13:46
DocScrutinizer05technically13:46
Hurriannah, the A record's pointed to whatever ITT points to.13:46
Paliand https://projects.maemo.org/ ? :D13:46
HurrianPali, don't forget garage13:46
Palitalk.maemo.org.         41377   IN      CNAME   forums.internettablettalk.com.13:46
Paliforums.internettablettalk.com. 13684 IN A       74.86.202.24713:46
Palifunny :-)13:46
DocScrutinizer05http://www.internettablettalk.com/  more funny13:48
DocScrutinizer05maximum funny http://maemotalk.com/13:50
*** teotwaki has joined #maemo13:51
*** brzys has joined #maemo13:53
*** lbt has quit IRC13:53
kerioHurrian: merlin1991 already has a mirror of the latest versions of packages in extras-devel13:53
*** teotwaki has quit IRC13:54
Hurriankerio, that's nice to know13:56
keriowhich is seriously good for apt13:56
keriofun fact: as of now, nokia can't ship an OTA update13:56
kerionot even if they wanted to13:57
*** croppa has quit IRC13:57
Hurriankerio, they broke their SSL cert?13:58
kerioHurrian: the gpg key for the packages13:58
Hurrianit's expired/revoked?13:58
*** lbt has joined #maemo13:58
*** lbt has quit IRC13:58
*** lbt has joined #maemo13:58
kerioit's expired, and HAM requires a working signing key to identify packages coming from a trusted source13:58
Hurrianwhelp.13:59
HurrianDoubt it bothers Nokia though, support has probably already long dropped off the radar.13:59
freemangordonjacekowski: ping14:00
freemangordonDocScrutinizer05: are you awake?14:00
SpeedEvilkerio: oops14:00
DocScrutinizer05freemangordon: kinda14:01
freemangordonhttp://pastebin.com/1QtcHkS714:01
DocScrutinizer0530%14:01
freemangordonshould be enough for 6 instructions :D14:01
DocScrutinizer05I already followed chat between you and jacekowski yesterday. And I have to say that's actually stuff way beyond my expertise14:02
freemangordonaah, ok :)14:02
*** livelace has quit IRC14:03
DocScrutinizer05just a general comment on mutex etc: you need to check those very carefully, since you can't really test in RL, the purpose of mutexes is to avoid race conditions that are extremely hard to prove as being dealt with in a reliable manner14:05
*** maybeHere has joined #maemo14:05
DocScrutinizer05IOW you can't prove there's no open window for a race left14:05
DocScrutinizer05except on analytic src review level14:06
Palifreemangordon, hi, when you have time, try look at uboot. I cannot do it, because on my n900 is uboot working...14:06
DocScrutinizer05any bug that slipped your attention will show up at $random time later14:06
freemangordonDocScrutinizer05: I am aware of that, that is why i wan't someone else to review the code.14:07
freemangordonPali: I will14:07
DocScrutinizer05yeah, very reasonable idea14:07
*** maybeArgh has quit IRC14:09
DocScrutinizer05freemangordon: another rather noobish comment: I usually see irqs=lock_irq() and restore_irq(irqs) bracketing any mutex code, so you kinda make it atomic14:10
*** teotwaki has joined #maemo14:10
*** teotwaki has joined #maemo14:10
freemangordonyeah, ldrex/strex are kinda atomic operations14:10
freemangordonthey put a memory observer to the address in question14:11
DocScrutinizer05well, so you say the rest of code is reentrant?14:11
DocScrutinizer05or at least thread-safe14:11
freemangordonreenterant? NFC, I didn't write it :)14:11
DocScrutinizer05consider something else messing with virtually anything it likes, at any arbitrary point during execution of your code. Will it cause trouble?14:12
freemangordonbut it should be thread safe, after all this is DB14:12
freemangordonno14:13
*** VDVsx has quit IRC14:13
DocScrutinizer05aah I see you're userland process, you can't do any lock_irq()14:14
freemangordonDocScrutinizer05: http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.dht0008a/CJHIGEFG.html14:14
freemangordonWTF14:14
freemangordonwrong link, but don;t ask me why14:14
freemangordonDocScrutinizer05: google for ldrex/strex14:15
DocScrutinizer05:nod:14:15
DocScrutinizer05http://infocenter.arm.com/help/topic/com.arm.doc.ddi0344k/ch08s05s03.html?resultof=%22%6c%64%72%65%78%22%2014:18
freemangordonyeah, those are the instructions14:19
DocScrutinizer05not only instructions but also a general concept how to use them14:19
keriooh ARM <314:20
freemangordonyeah,but difference with my code is that I am not trying to aquire the lock, but to set a value14:20
DocScrutinizer05hm?14:20
freemangordonMUTEX_SET is called from the outside for() loop who checks the result14:20
DocScrutinizer05aiui MUTEX_SET is actually acquiring a lock14:21
freemangordonyes, but the check if the lock is aquired is not in MUTEX_SET14:21
freemangordonthe example on ARM site does that too, i.e it does a spinlock14:22
freemangordonnot a mutex14:22
*** valdyn has quit IRC14:22
*** flo_lap has joined #maemo14:23
DocScrutinizer05yeah, the BNE try14:23
freemangordonthe same do gcc sync intrinstics14:23
DocScrutinizer05just change that to a return14:23
freemangordonDocScrutinizer05: not so simple, as I have to return correct result to the upper for() loop14:24
DocScrutinizer05so your upper layer code gets result OK/FAIL from call to MUTEX_SET14:24
freemangordoni.e. AIUI I have to return 1 from MUTEX_LOCK only if previous tsl value was 0 (i.e. mutex succesfully acquired) and strex ioperation succeeded (we were able to store 1 to tsl)14:25
freemangordonDocScrutinizer05: yes14:25
*** valdyn has joined #maemo14:29
*** phryk has joined #maemo14:29
*** Wnt has joined #maemo14:30
*** livelace has joined #maemo14:31
*** ChanServ has quit IRC14:35
*** Psotnick_ has joined #maemo14:37
*** Psotnick has quit IRC14:39
freemangordonPali: ping14:41
Palifreemangordon, pong14:41
freemangordonPali: which .deb to use?14:41
freemangordonor to build mine?14:41
Paliwhat debs?14:41
Paliof uboot?14:42
freemangordonfor u-boot14:42
Paliclone git tree14:42
Palibranch pali14:42
freemangordonyes, that is what I am doing14:42
freemangordondpkg-buildpackage?14:42
freemangordonPali: does it fail on all 2204s?14:43
DocScrutinizer05prolly14:44
teotwakigvim src/common/clients/modulemanager.cpp14:44
freemangordonPali:  Unmet build dependencies: kernel-bootimg :(14:44
teotwakiwrong window14:44
*** ChanServ has joined #maemo14:44
*** brooks.freenode.net sets mode: +o ChanServ14:44
freemangordonI am with -kernel-cssu3 on the device, i.e.thumb thingie14:45
*** dos1 has joined #maemo14:45
freemangordoninstalled kernel-cssu-bootimg, didn't help14:45
Palifreemangordon, download some zImage (not fiasco) and put it in root dir14:45
Palithen edit debian/rules14:45
freemangordonok14:46
Paliand find /boot/zImage-2.6.28-omap114:46
Palichange it to your path of zImage14:46
Palithis image will be attached to uboot14:46
Paliand then ignore build dependency14:46
freemangordonok, got it14:46
freemangordonPali: only uboot-flasher, ain't?14:50
Paliu-boot-tools + u-boot-flasher14:50
freemangordonok14:51
Paliflasher has fiasco image (combined uboot+zImage)14:51
Pali-tools has shell script + mkimage for generating bootmenu14:51
freemangordonPali: onenand read 0 0 4096 gives total chip size (0x0) exceeded :D14:55
freemangordonnormal?14:55
PaliI do not know14:55
PaliI did not tested onenand uboot command yet14:55
PaliI only saw support, so I enabled it in -1514:55
freemangordonhow to disable it?14:56
Palithere is also ubifs support, but due big size, I disabled it14:56
freemangordonin config file?14:56
Palicomment all *ONENAND* in include/configs/nokia_rx51.h14:57
freemangordonwhat about mdtparts?14:58
Paliyou can comment them too14:59
Palibut you need to add "#define MTDPARTS_DEFAULT"14:59
Palibecause there is env variable "mtdparts=" MTDPARTS_DEFAULT15:00
freemangordonbut it is there15:00
freemangordon#define MTDPARTS_DEFAULT"mtdparts=onenand:" \15:00
Palireplace it with "#define MTDPARTS_DEFAULT"15:00
freemangordonwhy do I need that?15:00
*** ChanServ sets mode: +v infobot15:00
freemangordonyou mean an empty define?15:01
Palifor disabling mtd code15:01
Paliyes15:01
Paliempty define15:01
DocScrutinizer05ChanServ: ?15:01
freemangordonPali: h,, how to flash fiasko image?15:05
Palivia usb or on device?15:05
freemangordonusb15:05
freemangordon-F instead of -k?15:05
Palivia usb -F15:05
*** Canseco has joined #maemo15:05
Palion device use: fiasco-image-update <fiasco_image>15:05
freemangordonPali: it boots, with mtd and onenand disabled15:06
DocScrutinizer05on 2204?15:07
Palican you enabled onenand & mtd and test again15:07
freemangordonyep15:07
freemangordonPali: i tested before, what is the idea?15:07
DocScrutinizer05messing with MTDPARTS will fsckup quite some bits, as it's the partitioning the BL is passing to kernel as well, AIUI15:08
Paliso with enabled onenand not working and with disabled working?15:08
freemangordonyes15:08
freemangordononenand and mtdparts15:08
freemangordondisabled15:08
PaliDocScrutinizer05, mtdparts in uboot are only for uboot15:08
DocScrutinizer05so: messed up MTDPARTS -> no mounting of any mtd-based fs15:08
Palipartition table for kernel is in omap table15:08
freemangordonproblem is with onenand, not with mtd AIUI15:08
Paliatag15:08
Palifreemangordon, ok15:09
Paliping merlin199115:09
freemangordonas it is onenand to give device size 015:09
* freemangordon is afk for a while15:09
Palifreemangordon, can you sent your compiled uboot to merlin1991 for testing?15:09
freemangordonsure. fiasko image?15:10
Palifiasco is enought15:10
freemangordonaah, no, it is for cssu3 kernel, will it be ok/15:10
*** Free-MG has quit IRC15:10
freemangordon?15:10
DocScrutinizer05who's been that guy who asked yesterday about working uBoot for 2204?15:11
freemangordonpanzerSomething iirc15:11
Pali_PanzerSajt15:11
PaliSicelo15:11
DocScrutinizer05mimamoomomo15:11
Paliand other people from TMO too15:11
*** DHR has joined #maemo15:12
*** Free-MG has joined #maemo15:12
* DocScrutinizer05 fails to recall right searchterm for grep in backlog, said sth like "check your hw-rev against list of those known to work"15:13
DocScrutinizer05marainein: ^^^^15:14
*** dhbiker has joined #maemo15:14
DocScrutinizer05well, -o +r +n15:15
maraineinDocScrutinizer05, what?15:15
DocScrutinizer05and we're from mimamoomomo to marainein15:15
DocScrutinizer05marainein: seems freemangordon created a uBoot working on 220415:15
maraineinahh excellent15:15
maraineinthis is a new version?15:15
DocScrutinizer05would you like to help testing?15:16
*** jhb has joined #maemo15:16
maraineinyeah, but i gotta go to sleep15:17
DocScrutinizer05np15:17
freemangordonPali: #define PISMO1_NAND_SIZEGPMC_SIZE_128M15:18
freemangordonwhy is that?15:18
fasta"However, the package may create empty directories below /usr/local so that the system administrator knows where to place site-specific files. These are not directories in /usr/local, but are children of directories in /usr/local. These directories (/usr/local/*/dir/) should be removed on package removal if they are empty."15:19
fastaDebian people and their specifications...15:19
Palifreemangordon, I do not know this comes from original ali's uboot port15:19
*** Milhouse has joined #maemo15:19
fastaIt's written more like a riddle, then an actual specification.15:19
fastathan*15:19
Palithere is more code which was not changed...15:20
*** joga has quit IRC15:20
fastaToo bad it doesn't say where the first /usr/local/foodir comes from.15:20
*** joga has joined #maemo15:20
DocScrutinizer05hehe15:21
DocScrutinizer05~debian fasta15:21
* infobot tells fasta to RTFM!!!! GAH!!! HELL FIRE AND BRIMSTONE!!!! BURN!!! DIE!!! MWAHAHAHAHA!!!!15:21
fastaDocScrutinizer05: in all your wisdom, what do you run?15:21
DocScrutinizer05openSuse15:22
fastaDocScrutinizer05: is there because you are German?15:22
fastathat*15:22
DocScrutinizer05though I don't give much about what distro I use, since I have to tweak them anyway15:22
fastaDocScrutinizer05: or is there some good technical reason behind your choice?15:22
freemangordonPali: looks like too much code is missing to enable onenand15:22
Palifreemangordon, first we need if disabling onenand fixed booting...15:23
fastaDocScrutinizer05: how do you manage your tweaks?15:23
DocScrutinizer05fasta: originally (like: in 1995+-) it was because suse been local for me. Now it's because openSuse is closely linked to SLES/SLED15:23
PaliI think that in -12 was still onenand code disabled15:23
freemangordonhttp://merlin1991.at/~freemangordon/u-boot/15:24
DocScrutinizer05(manage tweaks) with lots of pain felt in the arse15:24
DocScrutinizer05;-D15:24
freemangordonPali: but attached kernel is kernel-cssu315:24
fastaDocScrutinizer05: I mean: let's say you have to reinstall a new work station, how will you do that?15:24
Palifreemangordon, ok15:24
DocScrutinizer05U usually avoid to do that15:25
DocScrutinizer05I*15:25
freemangordonPali: so we need merlin199115:25
fastaDocScrutinizer05: so, you dd everything?15:25
Paliyes, somebody who has non working uboot15:25
fastaDocScrutinizer05: e.g. harddisk upgrades, etc.15:25
freemangordonyay, ubuntu still boots15:25
Paliping Sicelo15:25
fastaDocScrutinizer05: I wrote some scripts to write to /etc files, select the right alternative for various things, etc., according to my needs.15:26
fastaDocScrutinizer05: so, when I run that script, I have morphed a completely useless machine into something that does something useful.15:26
DocScrutinizer05IF I have to, it's: install openSuse_x, go thru all the packages manually in installer, opt-out/in a lot. then have two weeks minimum of days filled with tweaking all sorts of stuff, like global kbd shortcuts, themes, mail, $arbitrary-systems15:26
fastaDocScrutinizer05: yeah, I used to do that.15:27
fastaDocScrutinizer05: now every change I make is made programmatically.15:27
DocScrutinizer05on suse, there's autoyast, you'll like that if you get the catch of it15:27
fastaDocScrutinizer05: I still don't have a solution to manage Firefox extensions, though.15:27
fastaDocScrutinizer05: firefox had an API to install extensions.15:27
fastaBut they threw it out.15:27
fastaSo much for 'unleash the power of the web'.15:28
fastaThunderbird also is completely obnoxious because of their contracting with Microsoft.15:28
DocScrutinizer05http://users.suse.com/~ug/AutoYaST_FAQ.html15:29
fastaEverytime you upgrade, they set some things by default.15:29
fastaAnyway, nothing which a little scripting cannot defeat, but imagine doing that by hand every single time.15:29
fastaOtherwise thunderbird is great.15:29
fastaNot a single crash in over a year or so.15:29
fastaDocScrutinizer05: autoyast sounds nice15:30
DocScrutinizer05a friend of mine has to maintain literally 10,000s of clients, and he's all full of joy about autoyast15:31
DocScrutinizer05(he's been a notorious yast-hater in former times ;-d)15:32
DocScrutinizer05;-D*15:32
fastaDocScrutinizer05: but autoyast seems to be only for installation, not maintenance.15:32
DocScrutinizer05now he defends suse against almost everything else15:32
DocScrutinizer05yes, autoyast is a mere installation+deployment tool15:33
fastaDocScrutinizer05: Via NixOS you can do similar things, but do maintenance too.15:33
keriopff15:33
keriojust debootstrap the clients15:33
kerio>:D15:33
DocScrutinizer05for general local admin there's yast at large15:33
DocScrutinizer05for admin of 1000s of clients, there are shell tools15:34
DocScrutinizer05;-P15:34
fastaIt would be interesting to see how long it would take to install 2000 packages with the various tools.15:34
fastaI think Nix would come in first, assuming the packages existed!15:34
fastaApt would come in second.15:35
fastaAnd Fedora last.15:35
fastaSuse uses the same tools as Fedora, right?15:35
fastaI mean 'rpm'.15:35
*** Darkchaos2 has joined #maemo15:35
DocScrutinizer05yast now does extremely smart stuff during install time: it simply copies a "disk image" that's closest to what you "ordered", then only adds / removes the delta of pkgs15:36
*** Darkchaos has quit IRC15:36
DocScrutinizer05yes, suse is an RPM system15:36
fastaHow is it then different from e.g. Fedora?15:37
DocScrutinizer05though you actually tend to forget about which pkg paradigm it's using, when you use yast and zypper15:37
fastaAre you saying it also understands debs?15:37
trxX-Fade ping15:37
DocScrutinizer05fasta: how am I supposed to answer that question?15:37
fastaDocScrutinizer05: the Fedora question?15:38
DocScrutinizer05fasta: I think it does15:38
freemangordonPali: Any clue why both PISMO1_NAND_SIZE and PISMO1_ONEN_SIZE are defined?15:38
DocScrutinizer05yes15:38
fastaDocScrutinizer05: oh, well, I don't know. Perhaps Google knows.15:38
fastaThe only unstable part on my system is my damn graphics card.15:38
DocScrutinizer05I could pipe result of a diff here?15:38
Palifreemangordon, I think that both defines are needed for onenand code...15:38
Palibut I did not played with onenand yet15:39
Paliso I do not know15:39
freemangordonhmm, but why 128M?15:39
DocScrutinizer05erase page?15:39
DocScrutinizer05bank size?15:39
DocScrutinizer05makes for a nice two banks, for 256M15:40
freemangordonthat should be total size15:40
freemangordonAIUI15:40
DocScrutinizer05then maybe it's words?15:40
freemangordonas there is no bank_size or something15:40
freemangordonhmm, could be, lemme check in syslog15:40
Paliask on #u-boot15:42
freemangordonOneNAND Manufacturer: Numonyx (0x20)15:43
freemangordon;)15:43
DocScrutinizer05LOL15:43
DocScrutinizer05Pali: hah, nice catch with #u-boot15:44
freemangordon2101: OneNAND Manufacturer: Samsung (0xec)15:44
kerioDocScrutinizer05: to be fair with 1000s of clients you probably want to do *one* installation and then clone it15:44
freemangordonPali: ^^^15:44
DocScrutinizer05kerio: or use autoyast to do that for you15:45
Palinice catch!15:45
DocScrutinizer05freemangordon: of course15:45
*** dafox has joined #maemo15:45
HurrianPali, I've been wanting to ask for a while - the FAT32 driver for uboot is troublesome when dealing with un-fresh filesystems15:45
keriofreemangordon: how do i check my onenand manufacturer?15:45
PaliHurrian, I know that. easy way is to backup data from MyDocs, then mkfs.msdos and copy back15:46
*** Luke-Jr has quit IRC15:46
*** Luke-Jr has joined #maemo15:47
HurrianIndeed it does - any corruption/alteration of the table breaks the driver.15:47
HurrianOne problem though - on systems with CSSU-Thumb.15:48
HurrianThe system requires a Thumb kernel, but u-boot uses PR 1.3 kernel.15:48
freemangordonkerio: look in dmesg log :P15:48
HurrianHow about storing uboot in kernel MTD partition, and the real "flashed" kernel in MTD4?15:49
HurrianMyDocs partition breaking for arbitrary reason = need to flash CSSU-Thumb kernel with flasher15:50
DocScrutinizer05freemangordon: share grep line ;-D15:50
freemangordon"OneNAND Manufacturer:" is what you need, i didn't use grep15:51
freemangordonthough nymonix should be supported too15:51
kerioOneNAND Manufacturer: Numonyx (0x20)15:51
kerio210415:51
DocScrutinizer05kerio: grep OneNAND /var/log/syslog15:52
freemangordonkerio: does yours boot with latest u-boot?15:52
kerioidk15:52
freemangordonPali: dou you have such device?15:52
Pali0x4015:53
DocScrutinizer05freemangordon: >>Muxed OneNAND 256MB 1.8V 16-bit (0x40)<< here you are: 16bit15:53
DocScrutinizer05--<128M15:53
DocScrutinizer05-->*15:53
freemangordonyes, i got it15:53
PaliSamsung (0xec)15:53
freemangordonPali: ox40?15:53
freemangordonaah15:53
freemangordonPali: only one device?15:53
Pali0x40 same as Doc ^^^^^^15:53
Paliyes15:53
freemangordonPali: ox40 is not the manifacturer, it should be either ec(sammie) or 20(nymonix)15:54
PaliSamsung (0xec)15:54
kerioMuxed OneNAND 256MB 1.8V 16-bit (0x40)15:55
freemangordonok15:55
Paliand Muxed OneNAND 256MB 1.8V 16-bit (0x40)15:55
DocScrutinizer05mtdinfo FWIW15:56
DocScrutinizer05>>Device is writable:             true<< ;-P15:58
DocScrutinizer05toldya there's a way to (un?)lock mtd partitions (or even pages?)15:58
DocScrutinizer05big PITA with HARM and openmode15:59
DocScrutinizer05since the partition/page with device lockcode is locked15:59
DocScrutinizer05in openmode15:59
* DocScrutinizer05 idly wonders if it could get unlocked16:00
DocScrutinizer05kerio: you might also want to have a look at mtd_debug --help, not only nanddump/nandwrite16:01
*** ZogG_laptop has quit IRC16:01
Palifreemangordon, in uboot are functions to lock onenand16:02
Palisee drivers/mtd16:02
DocScrutinizer05sure16:03
Palionenand_unlock_all in drivers/mtd/onenand/onenand_base.c16:03
freemangordonPali: i saw that, the question is why it works for samsung16:03
freemangordonPali: hmm, does it?16:04
Palimaybe special driver, see: drivers/mtd/onenand/samsung.c16:04
freemangordonPali: can you enter uboot console and check if onenand commands work?16:04
*** FlameReaper-PC has joined #maemo16:06
*** archeyDevil has quit IRC16:07
Palinot working16:08
freemangordonseems like drivers/mtd/onenand/samsung.c is for some samsung bord16:08
*** ZogG_laptop has joined #maemo16:08
*** ZogG_laptop has quit IRC16:08
*** ZogG_laptop has joined #maemo16:08
freemangordon*board16:08
*** ZogG_laptop has quit IRC16:08
Pali# onenand read 0x86008000 0 25616:09
Paliit write total chip size (0x0) exceeded16:09
freemangordonthe same here16:09
freemangordonchip size is 0x016:09
Paliand qemu wrote:16:10
PaliOneNAND read: offset 0x0, size 0x25616:10
Pali 0 bytes read: OK16:10
DocScrutinizer05I doubt this onennand stuff is configured correctly for our hw16:10
freemangordon:nod:16:10
DocScrutinizer05I even dunno why we need it and for what16:10
freemangordonno way to replace nolo16:11
DocScrutinizer05I guess OneNAND has some special extended properties over 'normal' nand, and that OneNAND stuff is to handle those16:11
Paliif we decrease size (-mthumb) of uboot we can replace nolo16:11
freemangordonif ((*off + *size) > mtd->size) {16:12
freemangordonprintf("total chip size (0x%llx) exceeded!\n", mtd->size);16:12
*** ZogG_laptop has joined #maemo16:12
*** ZogG_laptop has quit IRC16:12
*** ZogG_laptop has joined #maemo16:12
DocScrutinizer05well, until it comes to flashing16:12
*** ZogG_laptop has quit IRC16:12
DocScrutinizer05Pali: ^^^16:12
DocScrutinizer05(replace NOLO)16:12
PaliDocScrutinizer05, uboot has (not yet merged) patches for standard flashing protocol16:13
Paliand we still can use cold-flash for flashing16:13
DocScrutinizer05NOLO is a PITA, since it does a lot of stuff that's not documented at all, and no source available (obviously, but for not so obvious reasons)16:13
DocScrutinizer05sure16:14
DocScrutinizer05another PITA16:14
PaliDocScrutinizer05, in qemu I can run xloader --> uboot_spl16:14
Paliand uboot_spl wrote me hello message16:14
Paliand thats all16:14
DocScrutinizer05:nod:16:14
Palibecause onenand is not implemented in uboot_spl16:14
DocScrutinizer05I think there's some pretty proprietary stuff regarding gfx init et al in NOLO16:14
Palibut it can write message to serial console - so it is working16:14
DocScrutinizer05what's uboot_spl?16:15
*** ZogG_laptop has joined #maemo16:15
*** ZogG_laptop has quit IRC16:15
Palifreemangordon, see arch/arm/include/asm/arch-omap3/mem.h line 34016:15
kerioDocScrutinizer05: what are the not so obvious reasons?16:15
PaliDocScrutinizer05, uboot spl is replacement for open source TI x-load16:16
freemangordonwill compile with CONFIG_MTD_DEBUG16:16
DocScrutinizer05kerio: NFC, maybe the supposed proprietary GFX stuff16:16
Paliit is loader which load & run bootloader from RAM16:16
kerio:c16:16
DocScrutinizer05or simply Nokia being... Nokia, as usual?16:16
keriofukken nokia16:17
* kerio shakes his fist at Elop16:17
kerioi should make that into a "/nokia" command in xchat16:17
DocScrutinizer05Pali: AIUI this xloader has to carry proper signature, or ROMBL will not load&start it16:17
Pali#define <PART>_GPMC_CONFIG<x> <value>16:18
PaliONNAND - Samsung One NAND16:18
PaliMNAND - Micron Large page x16 NAND16:18
PaliDocScrutinizer05, but we can replace nolo with uboot_spl + uboot16:18
freemangordoncmt?16:18
DocScrutinizer05that's strange then, if we can do this16:18
Palifor unknown reason in qemu this not working: xloader -> nolo16:19
Palis/nolo/uboot/16:19
infobotPali meant: for unknown reason in qemu this not working: xloader -> uboot16:19
Palibut xloader -> uboot_spl working16:19
*** ZogG_laptop has joined #maemo16:19
DocScrutinizer05xloader->* should basically be no problem, since Nokia xloader for N900 doesn't check signature of * afaik16:20
DocScrutinizer05ROMBL however checks signature of $xloader16:21
DocScrutinizer05jacekowski explained to me that in N900 xloader and NOLO are integrated into one chunk16:21
DocScrutinizer05iirc16:21
PaliDocScrutinizer05, if you boot nolo without valid kernel image and you have serial console, you will see that nolo has command line16:22
DocScrutinizer05ROMBL only checking signature of first part of that chunk that contains the xloader code, I guess16:22
Paliand nolo has separate partition for xloader and separate partition for nolo16:22
Palinolo & xloader are separated16:23
Paliso omap rom checking only xloader16:23
DocScrutinizer05err, they live in mtd0, no?16:23
Paliyes16:23
Palibut partition layout comes from nolo16:23
Paliand nolo sent different layout to kernel (and different has itself)16:24
Palibut when you flashing n900, you need to flash xloader and nolo together16:24
DocScrutinizer05yep16:24
*** ZogG_laptop has quit IRC16:24
PaliNOLO protocol has message for load xloader, message for load nolo and message for flash xloader+nolo16:24
Palithere is no message for flash only xloader16:25
DocScrutinizer05since it's not possible16:25
PaliI played with flashing, you know that I rewritten 0xFFFF16:25
*** eijk has quit IRC16:25
DocScrutinizer05:nod:16:25
*** sq-one has joined #maemo16:25
Palibtw, what is license of xloader?16:25
Paliredistributable or not?16:26
DocScrutinizer05errr16:26
DocScrutinizer05nfc16:26
DocScrutinizer05I always thought it's an open reference implementation from TI16:26
Palinot, nokia xloader is closed16:26
Paliand is not same as TI xload16:26
DocScrutinizer05sure, by nokia16:26
DocScrutinizer05well, Nokia tweaked the TI reference implementation. But what does that mean?16:27
DocScrutinizer05what's been the question? ;-)16:27
DocScrutinizer05are you asking if anybody will get upset when you redistribute xloader binary? Answer: probably not16:28
DocScrutinizer05except the FOSS purists of course, who will start bitching at you to disclose the sourcecode ;-P16:29
jon_yimma wait for the FOSS Inquisition16:30
jon_yGrand Inquisitor Stallman says court is in session16:30
*** ZogG_laptop has joined #maemo16:30
*** ZogG_laptop has quit IRC16:31
*** ZogG_laptop has joined #maemo16:31
jon_ysadly the xloader source likely died with the N900 in Nokia16:31
DocScrutinizer05ask jacekowski, he knows a lot more about all that stuff than I do16:32
*** at1as has quit IRC16:32
freemangordonPali: onenand phys base is 0x04000000 according to syslog, in config file #define CONFIG_SYS_ONENAND_BASEONENAND_MAP16:32
freemangordon#define ONENAND_MAP0x20000000/* OneNand addr */16:32
DocScrutinizer05strange stuff16:33
*** ALoGeNo has quit IRC16:34
*** ALoGeNo has joined #maemo16:36
*** ALoGeNo has joined #maemo16:36
*** FlameReaper-PC has quit IRC16:37
*** guestx has joined #maemo16:39
*** guestx has quit IRC16:45
*** toxarisswe has joined #maemo16:45
*** ALoGeNo has quit IRC16:48
DocScrutinizer05>>Few developers make me so angry as WhatsApp's ones. They just took XMPP, made a couple of changes so that it does not work with normal clients, forgot about any kind of security and call it a day. Their biggest idea is using phone numbers as identifiers and marketing their app as an SMS replacement instead of an internet chat. F*ck them. -- DMiax@Slashdot<<  :-D +100016:52
DocScrutinizer05(from don_falcone@tmo signature)16:53
*** teotwaki__ has joined #maemo16:53
Sicelolol16:54
*** krayon has joined #maemo16:56
*** ToJa92 has quit IRC17:02
*** ALoGeNo has joined #maemo17:05
*** cyborg-one has quit IRC17:05
*** bigmeow has quit IRC17:06
*** dos1 has quit IRC17:08
*** dos1 has joined #maemo17:09
*** bigmeow has joined #maemo17:14
*** ToJa92 has joined #maemo17:18
*** schen has joined #maemo17:22
*** cyborg-one has joined #maemo17:30
*** VDVsx has joined #maemo17:33
*** kimitake_idle has quit IRC17:33
*** kimitake has joined #maemo17:35
*** valerius has quit IRC17:36
*** x29a has quit IRC17:46
*** Canseco has quit IRC17:47
*** at1as has joined #maemo17:48
*** valerius has joined #maemo17:55
*** fuz_ has quit IRC17:55
*** flo_lap is now known as florian18:00
*** fuz_ has joined #maemo18:05
keriooooh, i realized that my neighbour has WPS enabled on his wifi network18:11
Sicelolol18:13
Sicelonaughty thoughts? :P18:13
*** at1as has quit IRC18:14
*** valerius has quit IRC18:15
keriomaybe18:17
*** SmilybOrg has joined #maemo18:19
*** SmilybOrg is now known as Guest7769418:19
*** dhbiker has quit IRC18:22
*** SmilyOrg has quit IRC18:22
*** hardaker has joined #maemo18:23
*** valerius has joined #maemo18:24
ShadowJK_does that make it easier to crack?18:26
*** hardaker has quit IRC18:28
*** Free-MG has quit IRC18:29
*** disco_stu has quit IRC18:33
peetahShadowJK_: from wikipedia, theoretically 10,000,000 possibilities, actually 11,000 attempts to be sure to have an access18:34
*** dafox has quit IRC18:35
kerioShadowJK_: WPS is *so* dumb18:35
kerioyou have an 8-digit pin18:35
keriobut the first 4 digits are checked independently18:35
kerioand the last one is a checksum18:35
*** teotwaki__ has quit IRC18:41
*** robink__ has joined #maemo18:44
*** robink_ has quit IRC18:45
*** valerius has quit IRC18:46
*** timeless_ has quit IRC18:46
*** bigmeow has quit IRC18:49
*** timeless_ has joined #maemo18:51
*** Skry has quit IRC18:51
*** sunny_s has quit IRC18:52
*** VDVsx has quit IRC18:53
*** bigmeow has joined #maemo18:54
ShadowJK_wtf lol18:57
ShadowJK_can you disable pin and only allow buttan18:57
kerioi don't think so, idk18:57
*** valerius has joined #maemo19:03
*** XDS2010 has quit IRC19:03
*** mvp_ has joined #maemo19:05
Paliping merlin199119:06
*** XDS2010 has joined #maemo19:06
*** Skry has joined #maemo19:06
Paliping Sicelo19:06
freemangordonhehe19:07
Sicelohey Pali19:07
PaliSicelo, can you test freemangordon build of uboot?19:08
Sicelowhere is it?19:08
freemangordonhttp://merlin1991.at/~freemangordon/u-boot/19:08
freemangordonSicelo: kernel-cssu3 ;)19:09
freemangordonattached kernel that is19:09
freemangordonPali: do you know where in the kernel code is onenand init for rx5119:10
freemangordoni need base address and CSn19:10
Palitry drivers/mtd/onenand19:10
Sicelobrb then.. n900 is my only connection19:11
freemangordonSicelo: ^^^19:11
*** Zahra has joined #maemo19:12
merlin1991Pali: pong19:12
Palior try arch/arm/mach-omap2/board-rx51-flash.c + board-n800-flash.c19:12
freemangordonalready tried19:12
Pali(yes rx51 calling n800 functions :D)19:12
freemangordonno, they are just declared19:12
Palimerlin1991, can you test freemangordon uboot build?19:12
Palifreemangordon, parsing omap parition table is implemented in some n8xx function19:14
Paliand that omap atag is same for n8xx and n90019:15
freemangordonyes, but i miss HW settings19:15
Palibtw, what is this code doing?: return &rx51_sdrc_params[0];19:15
merlin1991freemangordon: so you have kernel cssu3 attached ??19:18
freemangordonyes19:18
merlin1991why does it say +zImage-2.6.28-omap1 then? :D19:18
freemangordonNFC, ask pali19:19
Palimerlin1991, because debian/rules has hardcoded that name19:19
freemangordon:P19:19
merlin1991hehe19:19
merlin1991okay I'll reboot and flash19:20
freemangordonPali: r = gpmc_cs_request(c->gpmc_cs, ONENAND_IO_SIZE, &c->phys_base);19:21
merlin1991freemangordon, Pali: it boots19:22
Palinice :-)19:22
merlin1991so what did you guys change? :D19:22
freemangordondisabled onenand and mtdparts support19:23
merlin1991but -12 at least had no onenand support, no idea about mtdparts19:23
freemangordonmerlin1991: 2204 uses different onenand chip19:24
merlin1991yeah but to my understanding, in the -12 image I got from pali there was no onenand support?19:24
freemangordonNFC19:25
SiceloPali: freemangordon .. not booting. after i choose 'Attached Kernel' , device reboots in about 5 seconds19:26
Sicelowatchdogs maybe?19:26
merlin1991Sicelo: boot a not attached kernel19:26
merlin1991attached is the one from cssu-thumb19:26
merlin1991where you probably have no modules19:26
freemangordonSicelo: do you have cssu-thumb installed?19:26
Sicelonop19:26
freemangordonwell, then you don't have kernel-cssu3 as well :P19:27
freemangordonPali: and deffinitely base address is 0x0400000019:27
Paliok19:28
Paliare you going to add onenand support?19:28
freemangordonwill try at least19:28
SiceloPali: you still have a .deb of -11 around?19:30
Paliyes19:30
Palino deb, but only image19:30
PaliSicelo: http://atrey.karlin.mff.cuni.cz/~pali/u-boot/old/19:32
Sicelothanks19:32
PaliDocScrutinizer05, freemangordon, is driver for n900 led too complicated or is easy to port it to uboot?19:34
DocScrutinizer05basically easy19:35
Palisometimes it is really bad when led is turned on19:35
DocScrutinizer05though a tad fsckdup (based on LP5521 properties)19:35
Paliand display backlight?19:35
merlin1991hehe now we need led and charge support in u-boot, then we can go FUCK act_dead we do proper battery recovery :D19:35
Palisometimes nolo turned display off...19:35
DocScrutinizer05but maybe you just want to talk to LP5523 via direct I2C rather than porting full driver for that19:35
PaliDocScrutinizer05, I think that uboot needs only to turn led off... nothing more19:36
* DocScrutinizer05 just muses about how things/own motivations become more clear in hindsight19:37
Palimerlin1991, I can write charge support19:37
DocScrutinizer05http://talk.maemo.org/showpost.php?p=1277663&postcount=11619:37
Palibut first I want to shred -u BME19:37
merlin1991:D19:37
merlin1991btw are you goign to upstream the n900 u-boot changes Pali?19:39
Palifreemangordon, are you sure that all closed maemo applications (except hald-addon-bme) using libbmeipc only for temperature?19:39
Palimerlin1991, yes, I want to upstream n900 uboot19:40
PaliI already sent more patches, but they was not merged19:40
Pali(due to some changes in uboot core for relocation)19:40
merlin1991hm is there a dedicated mailinglist for u-boot?19:41
DocScrutinizer05Pali: (using libbmeipc) maybe that's really hard to tell19:42
merlin1991ah found it19:42
merlin1991sometimes I hate google, I search for u-boot and it gives me a billion entries for the submarine thanks to my "german speaking" ip19:42
DocScrutinizer05Pali: I could figure some of those closed maemo apps will do some exceptional stuff in exceptional situations, like overheated device etc19:42
Palimerlin1991, last patch series is here: http://article.gmane.org/gmane.comp.boot-loaders.u-boot/130370/19:43
DocScrutinizer05emergency call19:43
DocScrutinizer05merlin1991: the joy of silly pkg naming19:43
*** markinfo has joined #maemo19:44
*** valerius has quit IRC19:45
*** int_ua has joined #maemo19:47
*** int_ua has quit IRC19:47
*** wmarone has quit IRC20:04
*** wmarone has joined #maemo20:04
*** wmarone has quit IRC20:06
*** kimitake has quit IRC20:06
*** dos1 has quit IRC20:09
*** skope has quit IRC20:10
*** wmarone has joined #maemo20:11
freemangordonPali: it is above my expertize to enable onenand support, you should ask for some help on #u-boot, sotty20:12
freemangordon*sorry20:12
Paliok20:12
freemangordonand looking at kernel code we just miss support for our device20:12
freemangordonPali: see drivers/mtd/onenand/omap2.c20:13
*** dhbiker has joined #maemo20:16
*** romaxa_home has joined #maemo20:19
*** romaxa has joined #maemo20:19
*** schen has quit IRC20:22
*** retro|cz has joined #maemo20:24
*** kimitake has joined #maemo20:26
*** sq-one has quit IRC20:30
*** dhbiker has quit IRC20:32
*** schen has joined #maemo20:36
*** vblazquez has quit IRC20:37
*** vblazquez has joined #maemo20:47
* ShadowJK_ made a small script to killall -STOP fennec if loadavg goes over 3.0020:50
ShadowJK_merlin1991; it does that to me too20:50
*** disco_stu has joined #maemo20:53
*** dhbiker has joined #maemo20:53
kerioShadowJK_: but... what if you're using it? D:20:53
ShadowJK_i need to install gcc and rewrite script in gcc20:53
ShadowJK_uh, in c20:53
ShadowJK_loadvg jupmed to 9 all of sudden20:54
DocScrutinizer05ShadowJK_: mind to share the script?20:57
ShadowJK_it's a "one-liner"20:57
ShadowJK_I need to stop fennec and script to copypaste it20:58
DocScrutinizer05lol20:59
DocScrutinizer05(one-liner) guessed as much21:00
DocScrutinizer05anyway it's same direction as my idea of general system sanity monitor21:00
DocScrutinizer05so I might take it for inspiration21:01
ShadowJK_from memory: while true; do L=$(sed s/\\\./\ / </proc/loadavg | awk '{print $1}' ) ; if [ $L -gt 2 ] ; then killall -STOP fennec ; else killall -CONT fennec ; fi ; sleep 1 ; done21:03
*** toxarisswe has quit IRC21:03
DocScrutinizer05thanks21:08
* DocScrutinizer05 still wonders how to evaluate per-process cpu usage21:09
DocScrutinizer05and other top-alike stuff21:09
DocScrutinizer05prolly I have to learn more about /proc/*/*/*21:10
*** dafox has joined #maemo21:10
*** FIQ has quit IRC21:10
*** dafox is now known as Guest4464521:10
DocScrutinizer05hell, I could check src of top, or procps21:10
*** FIQ has joined #maemo21:11
*** FlameReaper has quit IRC21:11
*** dos1 has joined #maemo21:14
ShadowJK_or Documentation/ in kernel src21:16
ShadowJK_/proc/pid/stat, but I forget what the numbers are ;p21:16
ShadowJK_and /proc/stat systemwide21:17
freemangordonjacekowski: ping21:22
DocScrutinizer05yeah, /proc/<PID>/stat21:23
DocScrutinizer05thanks21:23
DocScrutinizer05http://stackoverflow.com/questions/1420426/calculating-cpu-usage-of-a-process-in-linux21:24
kerioheh, TIL that the unit of cpu time in linux is called a jiffy21:26
*** stardiviner has quit IRC21:33
*** livelace has quit IRC21:39
DocScrutinizer05TIL?21:53
DocScrutinizer05~wtf til21:54
infobotGee...  I don't know what til means...21:54
DocScrutinizer05~dict til21:54
infobotDictionary 'til' (3): Sesame. [Sometimes written {til}.] [1913 Webster] {Teel oil}, sesame oil. [1913 Webster] ;; \Til\, prep. & conj. See {Till}. [Obs.] --Chaucer. [1913 Webster] ;; Tech Info Library (Apple, WWW).21:54
*** valerius has joined #maemo21:55
DocScrutinizer05jiffy is age old time unit in all *nix21:55
DocScrutinizer05there actually even *is* a way to find out about jiffies/second on your particular system - just I forgot how21:56
DocScrutinizer05basically a jiffy is one heartbeat of the hw-clock used to drive systemclock21:58
DocScrutinizer05man:/usr/share/man/man7/time.7.gz22:01
*** Zahra has quit IRC22:01
DocScrutinizer05or man 7 time22:01
kgu_What is in scope for the next CSSU?22:02
*** kgu_ is now known as kgu22:05
keriokgu: a lot more flamewars22:08
kerioalso a way to choose optional package blocks22:08
merlin1991kgu: well firstly, stable or testing?22:08
merlin1991in testing we have updated openss, camera-ui and possibly sqlite322:09
merlin1991*openssl*22:09
Siceloand in stable?22:10
merlin1991ask chemist :D22:11
kguI meant in testing22:11
*** valerius has quit IRC22:11
*** messerting has joined #maemo22:14
*** messerting has quit IRC22:17
kguIs there an alternative to the calendar widget? I would love to be able to automatic switch profile according to meetings in calendar22:17
DocScrutinizer05kgu: I think that should be feasible with original calendar, some interface process to pick out the meeting dates, and switch profiles accordingly22:20
DocScrutinizer05btw I recall somebody doing *exactly* what you're interested in, quite some time ago22:21
merlin1991there is a packge / python script for that somewhere22:21
*** robink__ has quit IRC22:21
kguohh cool - do you know where to find it?22:21
DocScrutinizer05search packet interface for "calendar" or "profile"22:22
DocScrutinizer05*might* help22:22
kguin HAM?22:24
DocScrutinizer05http://maemo.org/packages/22:25
*** robink_ has joined #maemo22:26
*** ced117 has quit IRC22:30
*** valerius has joined #maemo22:31
merlin1991hm forgot that I have to assess the qt4 merge request22:35
Palimerlin1991, I remember that MAG compiled new version of pulseaudio for maemo22:36
Palido you know reason why he want to update pulseaudio?22:36
merlin1991no idea22:36
PaliMAG is offline now...22:37
kgumaemo-profiler 0.0.1 could be the one, but just tried to install it, but no program icon shows up..22:39
*** jhb has quit IRC22:46
kguahh, it shows up as 'application' - not so intuitive. But no functions in this app, so cant be the one22:46
*** Dibblah has quit IRC22:50
*** Dibblah_ has joined #maemo22:50
*** Guest44645 is now known as dafox22:55
*** Plnt_ is now known as Plnt22:58
*** croppa has joined #maemo22:59
DocScrutinizer05kgu: http://talk.maemo.org/showthread.php?t=7287622:59
DocScrutinizer05kgu: google maemo calendar profile: ~15th hit23:00
DocScrutinizer05nah, 4th23:00
JaffaGeneralAntilles: ping23:02
*** eijk has joined #maemo23:06
kguDocScrutinizer05: perfect, you are the man!23:08
DocScrutinizer05kgu: yw23:08
kgubut what to do, when it returns this error: ImportError: No module named mafw23:08
*** NIN101 has quit IRC23:09
*** teotwaki has quit IRC23:11
*** nlpplz has joined #maemo23:14
DocScrutinizer05http://maemo.org/packages/view/python-mafw/  maybe?23:15
DocScrutinizer05kgu: ^^^23:17
kgusounds like the one - will give it a try23:20
kguhmm, can't install23:21
*** antero has quit IRC23:23
DocScrutinizer05hm?23:30
DocScrutinizer05either install with apt-get when you got extras-devel repo enabled. Or download the .deb from the pkg site, and install with dpkg (or simply by clicking it in microB browser)23:31
kguit says incompatible package23:31
DocScrutinizer05o.O23:31
DocScrutinizer05you downloaded the i386?23:31
kguno, the armel23:32
DocScrutinizer05nfc what's wrong then. Who says that?23:32
kguHAM23:32
ketasdamn, is there *SANE* phone on earth23:32
DocScrutinizer05check problems tab23:32
kguproblems tab is exactly 'incompatible package'23:33
DocScrutinizer05use apt-get or dpkg approach23:33
DocScrutinizer05HAM is not really meant for installing stuff like that23:33
kguyour wish is my command ;)23:33
DocScrutinizer05I'm actually amazed you even see this python binding in HAM23:34
DocScrutinizer05maybe python bindings are not exactly libraries like arbitrary .so23:35
DocScrutinizer05in HAM world23:35
DocScrutinizer05but anyway, use dpkg (or apt-get)23:35
kguyeah, it works with apt-get! Thx again DocScrutinizer05. Now I will just have to figure out how to use the script..23:35
*** valerius has quit IRC23:36
jacekowskifreemangordon: pong23:41
DocScrutinizer05kgu: aiui this python script has to get started once, preferrably during boot, and waits in background for next meeting23:41
DocScrutinizer05I'd probably use a .desktop file for autostarting it, see modest.desktop etc23:42
*** nox- has joined #maemo23:42
DocScrutinizer05there are several .desktop that don't show any icon23:42
DocScrutinizer05just to autostart stuff23:42
DocScrutinizer05the shebang line of that script and the run-standalone.sh in there makes me think though that the original author planned to start it via initscript form /etc/init.d23:43
DocScrutinizer05ask merlin1991;-D I see him mentioned in that scriptie23:44
kguok, I will try to drop it in init.d23:45
kgubut it should be run as user, right?23:46
DocScrutinizer05run-standalone.sh will take care23:49
DocScrutinizer05afaik23:49
DocScrutinizer05I'm musing about this: sys.path.insert(0, '/usr/lib/switchProfByMeeting')23:53
merlin1991that's for loading python modules23:54
merlin1991python has a fixed path to load modules from23:54
merlin1991also anything can be visible in ham as long as the package section is in user/*23:54
DocScrutinizer05I for sure don't have that dir, nor any python modules in it23:54
freemangordonjacekowski: sorry to pester, would you mind to look at this http://pastebin.com/1QtcHkS723:55
*** shanttu has quit IRC23:55
DocScrutinizer05(ham) I know23:55
*** valerius has joined #maemo23:56
DocScrutinizer05sys.path.insert(0, '/home/user')23:56
DocScrutinizer05o.O23:56
DocScrutinizer05^^^ also for loading python modules?23:56
kerioif you're dicking around with sys.path, you're doing it wrong23:57
*** perlite_ has joined #maemo23:57
DocScrutinizer05kerio: pretty please go to http://talk.maemo.org/showthread.php?t=72876 and fix it, then23:57
kguA nice little icon just showed up in the status window :)23:58
kerioi don't even have a switchProfByMeeting23:58
kgunow I just have to fidle around with the profile names, that should be used23:58
*** perlite has quit IRC23:58
*** perlite_ is now known as perlite23:59
*** MacDrunk has joined #maemo23:59

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