bullet9mm | ok, it works! thanks a lot merlin1991! :) | 00:00 |
---|---|---|
*** bullet9mm has quit IRC | 00:00 | |
masch | when i click on "allow tweeGo" it tells me that there are network problems T_T | 00:00 |
RST38h | Samsung Creates New File System F2Fs For Linux & Android | 00:03 |
Chiku|dc | hi I setup on my pc mediamonkey as dlna server. how can I play music on my n900 ? | 00:04 |
*** shanttu has quit IRC | 00:06 | |
*** VDVsx has joined #maemo | 00:08 | |
masch | dafuq? is twitter down? next twitter client tells me that twitter responses with http 401 | 00:10 |
*** VDVsx has quit IRC | 00:12 | |
*** livelace has quit IRC | 00:14 | |
merlin1991 | 401 mean unauthoriezed | 00:15 |
merlin1991 | so maybe twitter changed something on the api again? | 00:15 |
merlin1991 | did you try khtweeteur or how it's called? | 00:15 |
*** APTX has quit IRC | 00:16 | |
*** APTX has joined #maemo | 00:17 | |
*** dafox has joined #maemo | 00:18 | |
*** dafox is now known as Guest24037 | 00:19 | |
masch | yes, that tells me that the error ist 401 | 00:20 |
masch | tweego just tells me that there is an error | 00:20 |
*** Guest24037 is now known as dafox | 00:21 | |
masch | kast commit to tweego is from last year, maybe its outdated | 00:22 |
masch | *last | 00:22 |
*** vanadis has quit IRC | 00:23 | |
merlin1991 | masch: on maemo *everything* is outdated | 00:24 |
masch | merlin1991: :D i know | 00:24 |
masch | but at least on maemo, you are able and allowed to fix it | 00:24 |
*** Vanadis__ has joined #maemo | 00:24 | |
*** 18VAAAAAO has quit IRC | 00:24 | |
*** robink_ has joined #maemo | 00:25 | |
*** _rd has joined #maemo | 00:25 | |
merlin1991 | yeah | 00:27 |
*** VDVsx has joined #maemo | 00:29 | |
*** jhb has quit IRC | 00:29 | |
*** eijk has joined #maemo | 00:32 | |
*** VDVsx has quit IRC | 00:33 | |
*** hardaker has joined #maemo | 00:35 | |
*** croppa has joined #maemo | 00:35 | |
*** sequantz has quit IRC | 00:40 | |
*** FIQ has quit IRC | 00:42 | |
Chiku|dc | ok dlna works on lan | 00:48 |
Chiku|dc | does n900 media player can use dlna from internet ? | 00:48 |
*** mark_g44 has quit IRC | 00:49 | |
*** VDVsx has joined #maemo | 00:51 | |
*** setanta has quit IRC | 00:54 | |
*** VDVsx has quit IRC | 00:55 | |
*** nox- has joined #maemo | 00:56 | |
*** teotwaki_ has quit IRC | 01:01 | |
*** ghostcube has quit IRC | 01:06 | |
*** dos1 has joined #maemo | 01:09 | |
*** _rd has quit IRC | 01:10 | |
*** _rd has joined #maemo | 01:10 | |
jacekowski | there is chromium in my repo | 01:10 |
jacekowski | SpeedEvil: there is chromium in my repo | 01:11 |
*** FIQ has joined #maemo | 01:12 | |
*** fredrinLap has quit IRC | 01:15 | |
*** NIN101 has quit IRC | 01:16 | |
*** lxp has joined #maemo | 01:20 | |
*** OkropNick has quit IRC | 01:25 | |
*** rzr is now known as rZr | 01:29 | |
*** phlixi has joined #maemo | 01:31 | |
*** VDVsx has joined #maemo | 01:33 | |
*** VDVsx has quit IRC | 01:33 | |
SpeedEvil | ah | 01:34 |
SpeedEvil | how difficult would a build for the raspberry pi be? | 01:34 |
*** valeriusL has quit IRC | 01:38 | |
*** valeriusL has joined #maemo | 01:39 | |
*** _rd has quit IRC | 01:40 | |
*** markinfo has quit IRC | 01:43 | |
*** NishanthMenon has quit IRC | 01:45 | |
*** chenca has quit IRC | 01:50 | |
*** eijk has quit IRC | 02:15 | |
*** VDVsx has joined #maemo | 02:16 | |
*** VDVsx has quit IRC | 02:20 | |
*** hergertme has joined #maemo | 02:29 | |
*** rcg has quit IRC | 02:31 | |
*** mvp_ has quit IRC | 02:31 | |
*** konelix has quit IRC | 02:32 | |
*** Neutron18 has quit IRC | 02:35 | |
*** Neutron18 has joined #maemo | 02:36 | |
GeneralAntilles | ~backupmenu | 02:37 |
infobot | methinks backupmenu is http://talk.maemo.org/showthread.php?t=63975 | 02:37 |
*** VDVsx has joined #maemo | 02:37 | |
hergertme | anyone 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 IRC | 02:41 | |
*** dos1 has quit IRC | 02:47 | |
*** dos1 has joined #maemo | 02:49 | |
*** M4rtinK has quit IRC | 02:53 | |
*** VDVsx has joined #maemo | 02:58 | |
*** brzys has quit IRC | 03:00 | |
*** VDVsx has quit IRC | 03:03 | |
*** hardaker has quit IRC | 03:12 | |
*** arvut has joined #maemo | 03:22 | |
arvut | hi, I just found a bug in the chess that came with my n900 phone (maemo5 chess?) | 03:23 |
*** at1as has quit IRC | 03:25 | |
GeneralAntilles | arvut, no fixes will be forthcoming. | 03:27 |
*** Darkchaos has quit IRC | 03:27 | |
arvut | when 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-f3 | 03:27 |
arvut | heh, I know. but its still kinda fun | 03:28 |
arvut | GeneralAntilles: do you know if the sourcecode for this chess is available? | 03:32 |
*** at1as has joined #maemo | 03:33 | |
GeneralAntilles | I don't think so, but I don't remember well. | 03:33 |
merlin1991 | arvut: the games are closed source | 03:35 |
merlin1991 | afaik | 03:35 |
arvut | I see | 03:35 |
*** user_ has joined #maemo | 03:36 | |
arvut | good game tho. rather quick calculations on expertmode and so brilliant moves | 03:36 |
merlin1991 | I didn't beat it a single time so far | 03:36 |
merlin1991 | though I suck at chess :D | 03:37 |
*** hergertme has quit IRC | 03:38 | |
arvut | you can only beat computerchess if its illcoded or suicides on purpose ;) | 03:39 |
arvut | good for practice tho | 03:39 |
*** user_ has quit IRC | 03:56 | |
*** VDVsx has joined #maemo | 04:01 | |
SpeedEvil | closed source and buggy | 04:05 |
SpeedEvil | the collision detection in blocks does not work properly | 04:05 |
*** guampa has quit IRC | 04:06 | |
merlin1991 | hm I never noticed that | 04:06 |
SpeedEvil | you can slip a block where t wouldn't fit sometimes. | 04:06 |
SpeedEvil | if the final location is good. | 04:07 |
SpeedEvil | and there is a block in the way | 04:07 |
*** nox- has quit IRC | 04:09 | |
*** user_ has joined #maemo | 04:17 | |
*** guampa has joined #maemo | 04:18 | |
*** stardiviner has joined #maemo | 04:23 | |
*** stardiviner has quit IRC | 04:24 | |
*** Luke-Jr has quit IRC | 04:24 | |
*** muelli has quit IRC | 04:28 | |
*** user_ has quit IRC | 04:31 | |
*** dafox has quit IRC | 04:40 | |
*** flo_lap has joined #maemo | 04:46 | |
*** florian has quit IRC | 04:49 | |
*** etrunko has quit IRC | 04:52 | |
*** _xnt14 has quit IRC | 04:54 | |
*** aloril_ has quit IRC | 04:56 | |
*** _xnt14 has joined #maemo | 04:57 | |
*** rick0815 has joined #maemo | 04:57 | |
*** rick8024 has quit IRC | 04:59 | |
*** rick0815 is now known as rick8024 | 04:59 | |
*** VDVsx has quit IRC | 05:00 | |
*** uen| has joined #maemo | 05:05 | |
*** uen has quit IRC | 05:08 | |
*** uen| is now known as uen | 05:08 | |
*** aloril_ has joined #maemo | 05:08 | |
*** andre__ has quit IRC | 05:15 | |
*** robink_ is now known as robink | 05:19 | |
*** robink has joined #maemo | 05:19 | |
*** VDVsx has joined #maemo | 05:30 | |
*** VDVsx has quit IRC | 05:30 | |
*** dos1 has quit IRC | 05:31 | |
*** radic has joined #maemo | 05:33 | |
*** FIQ|n900 has joined #maemo | 05:36 | |
*** radic_ has quit IRC | 05:37 | |
*** simpletechnology has joined #maemo | 05:49 | |
*** VDVsx has joined #maemo | 05:52 | |
*** simpletechnology has quit IRC | 05:53 | |
*** VDVsx has quit IRC | 05:56 | |
*** MacDrunk has joined #maemo | 06:02 | |
*** DocScrutinizer05 has quit IRC | 06:03 | |
*** DocScrutinizer06 has joined #maemo | 06:03 | |
*** rick8024 has quit IRC | 06:09 | |
*** Hurrian has quit IRC | 06:50 | |
*** Hurrian has joined #maemo | 06:51 | |
*** erstazi has quit IRC | 06:55 | |
*** VDVsx has joined #maemo | 06:56 | |
*** VDVsx has quit IRC | 07:00 | |
*** guampa has quit IRC | 07:04 | |
*** beford has joined #maemo | 07:15 | |
*** arvut has quit IRC | 07:17 | |
*** user_ has joined #maemo | 07:24 | |
*** user_ has quit IRC | 07:30 | |
*** marainein has quit IRC | 07:37 | |
*** VDVsx has joined #maemo | 07:38 | |
*** VDVsx has quit IRC | 07:38 | |
*** kimitake is now known as kimitake_idle | 07:48 | |
*** VDVsx has joined #maemo | 08:00 | |
*** VDVsx has quit IRC | 08:04 | |
*** Jade2 has joined #maemo | 08:07 | |
*** Jade2 has quit IRC | 08:07 | |
*** Jade2 has joined #maemo | 08:07 | |
*** Jade has quit IRC | 08:07 | |
*** Jade2 is now known as Jade | 08:07 | |
*** VDVsx has joined #maemo | 08:21 | |
*** VDVsx has quit IRC | 08:25 | |
*** FlameReaper has joined #maemo | 08:36 | |
*** user_ has joined #maemo | 08:42 | |
*** user_ has quit IRC | 08:48 | |
*** Jade has quit IRC | 09:00 | |
*** FlameReaper has quit IRC | 09:02 | |
*** Jade has joined #maemo | 09:02 | |
*** Jade has quit IRC | 09:02 | |
*** Jade has joined #maemo | 09:02 | |
*** VDVsx has joined #maemo | 09:03 | |
*** VDVsx has quit IRC | 09:03 | |
*** stardiviner has joined #maemo | 09:05 | |
*** FlameReaper has joined #maemo | 09:10 | |
stardiviner | Is there anyone install Ruby 1.9 on N900 ? | 09:12 |
*** FlameReaper-PC has joined #maemo | 09:20 | |
*** FlameReaper has quit IRC | 09:22 | |
*** VDVsx has joined #maemo | 09:25 | |
*** VDVsx has quit IRC | 09:25 | |
*** sLumPia has joined #maemo | 09:34 | |
*** DHR has quit IRC | 09:39 | |
*** sLumPia has quit IRC | 09:39 | |
*** Zahra has joined #maemo | 09:46 | |
*** VDVsx has joined #maemo | 09:46 | |
*** VDVsx has quit IRC | 09:46 | |
*** Tofe has joined #maemo | 10:00 | |
*** Tofe has left #maemo | 10:01 | |
*** jhb has joined #maemo | 10:03 | |
*** VDVsx has joined #maemo | 10:07 | |
*** VDVsx has quit IRC | 10:07 | |
*** sLumPia has joined #maemo | 10:12 | |
*** FlameReaper-PC has quit IRC | 10:14 | |
*** ieatlint has quit IRC | 10:17 | |
*** FlameReaper has joined #maemo | 10:20 | |
*** dhbiker has quit IRC | 10:23 | |
*** VDVsx has joined #maemo | 10:28 | |
*** VDVsx has quit IRC | 10:28 | |
*** sasquatch has quit IRC | 10:29 | |
*** sasquatch has joined #maemo | 10:29 | |
*** ale152 has joined #maemo | 10:33 | |
*** Jade has quit IRC | 10:33 | |
* archeyDevil is installing power-kernel and vim :) | 10:34 | |
*** Jade has joined #maemo | 10:34 | |
*** Jade has quit IRC | 10:34 | |
*** Jade has joined #maemo | 10:34 | |
*** OkropNick has joined #maemo | 10:39 | |
*** Jade has quit IRC | 10:40 | |
*** _rd has joined #maemo | 10:41 | |
archeyDevil | Gotta love deauth :D | 10:46 |
*** MacDrunk has left #maemo | 10:47 | |
*** VDVsx has joined #maemo | 10:50 | |
*** VDVsx has quit IRC | 10:50 | |
*** FlameReaper has quit IRC | 10:59 | |
*** sLumPia has quit IRC | 10:59 | |
*** FlameReaper has joined #maemo | 11:00 | |
*** ieatlint has joined #maemo | 11:02 | |
kerio | archeyDevil: oh you | 11:05 |
*** eMHa has quit IRC | 11:06 | |
*** ieatlint has quit IRC | 11:06 | |
archeyDevil | kerio: Hey | 11:06 |
archeyDevil | Oh goody.. So easy to restore the kernel back :) | 11:07 |
archeyDevil | Good thing I don't want to tho ^_^ | 11:08 |
*** VDVsx has joined #maemo | 11:11 | |
*** VDVsx has quit IRC | 11:11 | |
*** ieatlint has joined #maemo | 11:22 | |
*** _rd has quit IRC | 11:25 | |
*** marainein has joined #maemo | 11:31 | |
*** VDVsx has joined #maemo | 11:32 | |
*** VDVsx has quit IRC | 11:33 | |
*** Darkchaos has joined #maemo | 11:38 | |
*** _PanzerSajt has joined #maemo | 11:49 | |
*** Pali has joined #maemo | 11:49 | |
*** ale152 has quit IRC | 11:50 | |
_PanzerSajt | Pali, Can you help me with u-boot? | 11:50 |
freemangordon | <_PanzerSajt> I can't boot into maemo because I used wrong parameters in the bootitems | 11:51 |
Pali | _PanzerSajt, stock nokia kernel is attached to uboot | 11:51 |
Pali | so you can still boot this kernel | 11:51 |
_PanzerSajt | yes but the kernel-atags flag | 11:52 |
_PanzerSajt | is wrong | 11:52 |
freemangordon | _PanzerSajt: can't you just flash xImage? | 11:52 |
freemangordon | *zImage | 11:52 |
Pali | _PanzerSajt, what version of uboot you have? | 11:52 |
Pali | can you open uboot console? | 11:52 |
_PanzerSajt | yes | 11:52 |
_PanzerSajt | 2012.04.01-01269 | 11:53 |
Pali | run this command: run attachboot | 11:53 |
*** stardiviner has quit IRC | 11:53 | |
*** Dibblah has joined #maemo | 11:53 | |
_PanzerSajt | it just tries to boot maemo | 11:53 |
_PanzerSajt | but It hangs and starting kernel | 11:53 |
*** VDVsx has joined #maemo | 11:54 | |
_PanzerSajt | *at starting | 11:54 |
*** VDVsx has quit IRC | 11:54 | |
*** ale152 has joined #maemo | 11:54 | |
_PanzerSajt | can I modify the address via setenv? | 11:54 |
Pali | what did you do? | 11:55 |
Pali | attachboot should work | 11:55 |
Pali | you rewritten attachboot env? or what? | 11:55 |
_PanzerSajt | I tried to boot android but I haven't updated my .item files with ATAGADDR | 11:55 |
_PanzerSajt | nothing rewritten | 11:55 |
kerio | what are atags? | 11:56 |
Pali | then maemo kernel should be bootable | 11:56 |
Pali | remove battery, wait 5 minutes, insert it and try again | 11:56 |
_PanzerSajt | nitdroid boots fine | 11:56 |
_PanzerSajt | booting ubuntu from sd works fine | 11:57 |
_PanzerSajt | just maemo not | 11:57 |
Pali | can you charge battery in nitdroid/ubuntu? | 11:57 |
_PanzerSajt | yes I can | 11:57 |
Pali | maybe battery is empty | 11:57 |
Pali | and maemo turing phone off | 11:57 |
_PanzerSajt | no | 11:57 |
_PanzerSajt | I have charged it 90% | 11:57 |
Pali | ok | 11:58 |
Pali | download zImage with framebuffer | 11:58 |
Pali | use mkimage to create uImage (from zImage) | 11:58 |
Pali | store it to sd card (on fat/ext4 partition) | 11:58 |
Pali | and boot it | 11:58 |
Pali | $ mkimage -A arm -O linux -T kernel -C none -a 80008000 -e 80008000 -n zImage-fb -d zImage-fb uImage | 12:00 |
Pali | this will convert zImage-fb to uImage ^^^ (run on host pc) | 12:00 |
Pali | uboot can boot only uImage(s) | 12:00 |
_PanzerSajt | from where can I download the zImage? | 12:01 |
Pali | use this: http://mohammadag.xceleo.org/public/maemo/kernels/framebuffer/zImage-fb-omap1-pr13 | 12:02 |
Pali | uImage store to first fat32 partition on SD card | 12:03 |
*** eMHa has joined #maemo | 12:03 | |
*** Zahra has quit IRC | 12:04 | |
Pali | and in uboot console run: | 12:04 |
Pali | setenv setup_omap_atag 1 | 12:04 |
Pali | run sdboot | 12:04 |
_PanzerSajt | kernel panic | 12:08 |
Pali | can you write me full message? | 12:08 |
*** M4rtinK has joined #maemo | 12:09 | |
*** mzanetti has joined #maemo | 12:10 | |
Pali | _PanzerSajt, maybe upload photo image somewhere, or rewrite screen to pastebin | 12:11 |
_PanzerSajt | yes I'm uploading photo | 12:11 |
Pali | ok | 12:12 |
_PanzerSajt | http://imageshack.us/a/img839/674/img2012100611100165.jpg | 12:13 |
Pali | oh, same error message as merlin1991 :-( | 12:15 |
*** VDVsx has joined #maemo | 12:15 | |
*** VDVsx has quit IRC | 12:15 | |
Pali | _PanzerSajt, for unknown reason stock kernel booted from uboot on only some n900 cannot mount rootfs ubifs | 12:16 |
_PanzerSajt | is it a hw or sw problem? | 12:16 |
Pali | sw problem | 12:16 |
_PanzerSajt | oh that's fine | 12:16 |
Pali | you need to reflash only *kernel* to boot maemo | 12:16 |
freemangordon | Pali: still not solved? | 12:16 |
Pali | no | 12:16 |
freemangordon | hmm, any clue what happens? | 12:17 |
Pali | I cannot reproduce it on my n900 | 12:17 |
Pali | and I'm waiting for dumps from merlin1991 | 12:17 |
freemangordon | ok | 12:17 |
_PanzerSajt | Pali, I can help you debug | 12:17 |
Pali | _PanzerSajt, can you boot rescue OS from uboot? | 12:17 |
Pali | I need atags dump from some kernel booted from uboot | 12:18 |
Pali | _PanzerSajt, also atags dumps from nitdorid/ubuntu are usefull too | 12:18 |
freemangordon | Pali: http://plugcomputer.org/plugforum/index.php?topic=1272.0 | 12:18 |
_PanzerSajt | how can I get those dumps from ubuntu boot? | 12:19 |
Pali | see this thread: http://talk.maemo.org/showthread.php?t=84560 | 12:20 |
Pali | here is armel binary of dumpatags: http://talk.maemo.org/showpost.php?p=1214013&postcount=10 | 12:20 |
Pali | you need to run that on android/ubuntu/whatever started by uboot | 12:20 |
Pali | and upload dump to pastebin | 12:21 |
kerio | something needs to tell the ubi layer to attach mtd4 as ubi0 | 12:21 |
Pali | "rootfs" string is link for "mtd4" | 12:22 |
freemangordon | Pali: read what I posted few lines above | 12:23 |
Pali | freemangordon, I read | 12:23 |
freemangordon | ok :) | 12:23 |
*** NIN101 has joined #maemo | 12:23 | |
Pali | but problem is that when you boot stock kernel without uboot it working fine! | 12:23 |
freemangordon | I know | 12:23 |
Pali | nolo -> kernel is OK, but nolo -> uboot -> kernel not | 12:23 |
Pali | so I do not think that something was not called | 12:24 |
freemangordon | you think there is some atag missing? | 12:24 |
Pali | maybe missing or bad atag from mtd parittion | 12:24 |
*** netkat has joined #maemo | 12:25 | |
*** mvp_ has joined #maemo | 12:28 | |
*** mvp_ has quit IRC | 12:30 | |
*** mvp_ has joined #maemo | 12:30 | |
_PanzerSajt | Pali, I can't run that binry | 12:33 |
_PanzerSajt | and also when I cat /proc/atags I just get the u-boot boot parameters | 12:33 |
Pali | cat /proc/atags is usefull too | 12:33 |
Pali | use xxd or other tool which convert binary text to ascii | 12:34 |
*** VDVsx has joined #maemo | 12:36 | |
*** VDVsx has quit IRC | 12:36 | |
Pali | here 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=495 | 12:37 |
* Sicelo also has that same issue.. can't boot stock maemo kernel with u-boot | 12:37 | |
*** Jade has joined #maemo | 12:37 | |
*** Jade has quit IRC | 12:37 | |
*** Jade has joined #maemo | 12:37 | |
_PanzerSajt | Pali, http://paste.ubuntu.com/1263476/ | 12:37 |
Sicelo | but ubooot-pr13 does it fine | 12:38 |
Sicelo | ah.. yes, /me is qhubekela on tmo | 12:38 |
kerio | wait, root=/dev/mmcblk0p3? | 12:38 |
_PanzerSajt | kerio, yes but this is ubuntu running from SD | 12:39 |
Sicelo | which repo has xxd? | 12:42 |
Pali | vim | 12:42 |
Pali | vim depends on xxd | 12:43 |
Pali | (or gvim) | 12:43 |
Sicelo | ty | 12:43 |
Pali | _PanzerSajt, here is converted your dump http://pastebin.com/ADi7Tvgu | 12:43 |
Pali | there are missing *all* omap atags | 12:43 |
Pali | _PanzerSajt, you need to run "setenv setup_omap_atag 1" before starting system | 12:44 |
*** user_ has joined #maemo | 12:44 | |
*** eMHa has quit IRC | 12:44 | |
_PanzerSajt | before starting ubuntu? | 12:45 |
Pali | yes | 12:45 |
Pali | in uboot console | 12:45 |
Pali | start uboot console and run: | 12:46 |
Pali | setenv setup_omap_atag 1 | 12:46 |
Pali | bootmenu | 12:46 |
Pali | Sicelo, do you have some system booted from uboot working? | 12:47 |
*** user_ has quit IRC | 12:48 | |
_PanzerSajt | Pali, http://paste.ubuntu.com/1263508/ | 12:54 |
_PanzerSajt | sorry but I can't acces pastebin | 12:54 |
Pali | no problem ubuntu has paste too :-) | 12:55 |
_PanzerSajt | but I can't read your link | 12:56 |
_PanzerSajt | http://pastebin.com/ADi7Tvgu | 12:56 |
*** VDVsx has joined #maemo | 12:58 | |
*** VDVsx has quit IRC | 12:58 | |
*** beford_ has joined #maemo | 12:58 | |
Pali | here is converted pastebin: http://pastebin.com/bCczYFLm | 12:59 |
*** beford has quit IRC | 12:59 | |
Pali | ok, here is copy (of second): http://paste.ubuntu.com/1263513/ | 12:59 |
Pali | rootfs is correct: | 13:00 |
Pali | 001c:4f0b PARTITION: rootfs : size=0fb40000 offset=004c0000 mask=00000000 | 13:00 |
Pali | but there is abnormal mem tag: | 13:00 |
Pali | 54410002 ATAG MEM size=00000000 start=90000000 | 13:01 |
*** beford_ has quit IRC | 13:01 | |
*** beford has joined #maemo | 13:02 | |
_PanzerSajt | how should it look like? | 13:04 |
Pali | size=0 is abnormal | 13:05 |
Pali | but it should work (kernel should ignore it) | 13:05 |
Pali | but I do not know where can be problem... | 13:05 |
Pali | more people wrote that booting from 2012.04-1 worked, but 2012.04-2 not | 13:06 |
Pali | I will look at changes | 13:06 |
_PanzerSajt | Pali, I can't use maemo since 3-4 mounths due to this bug | 13:10 |
_PanzerSajt | but I wouldn't like to resintall maemo and u-boot again | 13:11 |
*** Wizzup has joined #maemo | 13:11 | |
*** Darkchaos has quit IRC | 13:11 | |
_PanzerSajt | because ubuntu is booting now just fine and it was really hard to achive | 13:11 |
*** beford has quit IRC | 13:11 | |
*** Wizzup_ has quit IRC | 13:14 | |
Pali | in 2012.04-2 was enabled onenand support | 13:14 |
Pali | maybe uboot doing some initialization which can break maemo kernel? | 13:14 |
*** MrPingu has joined #maemo | 13:15 | |
Pali | _PanzerSajt, I will compile same uboot version (2012.04-2) but with disabled onenand support | 13:15 |
Pali | _PanzerSajt, flasher-3.5 can send kernel/uboot image to NOLO and run it without flashing | 13:17 |
_PanzerSajt | Pali, yes reflashing just the bootloader would be nice | 13:18 |
*** VDVsx has joined #maemo | 13:19 | |
*** VDVsx has quit IRC | 13:19 | |
*** fredrinLap has joined #maemo | 13: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.fiasco | 13:23 |
*** beford has joined #maemo | 13:23 | |
_PanzerSajt | thanks I will try it later in the evening | 13:24 |
Pali | you 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 -b | 13:24 |
Pali | so you can test if working | 13:25 |
Pali | after reboot will be started original uboot | 13:25 |
Pali | _PanzerSajt, after testing write here results | 13:26 |
Pali | ping Sicelo, merlin1991 | 13:26 |
_PanzerSajt | Pali, still the same | 13:27 |
_PanzerSajt | your new u-boot starts but maemo doesn't | 13:27 |
_PanzerSajt | bye | 13:27 |
Pali | ahhh... | 13:27 |
Pali | bye | 13:27 |
*** brzys has joined #maemo | 13:30 | |
*** VDVsx has joined #maemo | 13:40 | |
*** VDVsx has quit IRC | 13:40 | |
*** beford has quit IRC | 13:43 | |
*** beford has joined #maemo | 13:43 | |
*** beford has quit IRC | 13:48 | |
*** antero has joined #maemo | 13:51 | |
kerio | Pali: new KP52 deb? :3 | 13:52 |
Pali | kerio, why? you have prekp52 for testing... | 13:52 |
kerio | you said you'd make new debs with the updated modules | 13:53 |
Pali | yes, but later later | 13:54 |
* kerio is sad | 13:54 | |
Pali | prekp52 version is working fine for me | 13:54 |
*** MrPingu has quit IRC | 13:54 | |
Pali | but uboot not! | 13:54 |
*** VDVsx has joined #maemo | 14:01 | |
*** VDVsx has quit IRC | 14:02 | |
*** muelli has joined #maemo | 14:05 | |
*** eMHa has joined #maemo | 14:05 | |
*** maybeArgh has joined #maemo | 14:05 | |
Pali | for testing, here are some old uboot fiasco images: http://atrey.karlin.mff.cuni.cz/~pali/u-boot/old/ | 14:07 |
Pali | I need to know which was last "working" version | 14:07 |
Pali | _PanzerSajt, merlin1991, Sicelo, ... ^^^ | 14:08 |
*** maybeWTF has quit IRC | 14:08 | |
*** beford has joined #maemo | 14:10 | |
*** dos1 has joined #maemo | 14:19 | |
*** VDVsx has joined #maemo | 14:23 | |
*** Darkchaos has joined #maemo | 14:23 | |
*** FlameReaper has quit IRC | 14:25 | |
*** VDVsx has quit IRC | 14:28 | |
*** FlameReaper has joined #maemo | 14:29 | |
*** VDVsx has joined #maemo | 14:33 | |
*** real-dev has joined #maemo | 14:42 | |
*** dev has quit IRC | 14:43 | |
*** real-dev is now known as dev | 14:43 | |
_PanzerSajt | Pali, I'm back | 14:45 |
_PanzerSajt | can I boot maemo kernel just one time? | 14:45 |
_PanzerSajt | like you freshly compiled u-boot | 14:46 |
Pali | yes | 14:53 |
*** teotwaki has joined #maemo | 14:53 | |
*** teotwaki has joined #maemo | 14:53 | |
Pali | _PanzerSajt, use that framebuffer zImage and run: flasher-3.5 -k zImage_file_name -l -b | 14:54 |
Pali | that 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 #maemo | 14:56 | |
_PanzerSajt | sorry I don't understand | 14:58 |
*** dafox has joined #maemo | 14:58 | |
Pali | use this kernel http://mohammadag.xceleo.org/public/maemo/kernels/framebuffer/zImage-fb-omap1-pr13 | 14:58 |
*** dafox is now known as Guest15748 | 14:58 | |
_PanzerSajt | yes that's ok | 14:58 |
Pali | and run from host pc: flasher-3.5 -k zImage-fb-omap1-pr13 -l -b | 14:58 |
_PanzerSajt | but _PanzerSajt, when you boot to maemo kernel, can you upload atags? | 14:59 |
Pali | xdd /proc/atags | 14:59 |
Pali | *xxd | 14:59 |
_PanzerSajt | it wasn't working | 14:59 |
_PanzerSajt | started booting but stopped | 14:59 |
Pali | _PanzerSajt, reason? | 15:00 |
Pali | kernel erro? | 15:00 |
_PanzerSajt | I can't read | 15:00 |
_PanzerSajt | too fast | 15:00 |
Pali | turn off phone (remove battery), wait some time, insert it and try again | 15:00 |
Pali | maybe bootreson was act dead | 15:01 |
*** croppa has quit IRC | 15:01 | |
_PanzerSajt | couldn't create lockfile | 15:02 |
_PanzerSajt | this was the last I could read | 15:02 |
_PanzerSajt | and also there's no backlight | 15:02 |
*** Zahra has joined #maemo | 15:02 | |
Pali | you can enable R&D mode with disabled watchdogs which prevent rebooting: | 15:02 |
*** user has joined #maemo | 15:02 | |
*** Zahra has quit IRC | 15:03 | |
Pali | $ flasher-3.5 --enable-rd-mode --set-rd-flags=no-omap-wd,no-ext-wd,no-lifeguard-reset | 15:03 |
*** Zahra has joined #maemo | 15:03 | |
Pali | disabling R&D mode: $ flasher-3.5 --disable-rd-mode | 15:03 |
*** dhbiker has joined #maemo | 15:10 | |
merlin1991 | Pali: I'll gather the atags now | 15:11 |
Pali | merlin1991, ok | 15:11 |
Pali | merlin1991, can you test if one of these uboot version working? http://atrey.karlin.mff.cuni.cz/~pali/u-boot/old/ | 15:12 |
merlin1991 | I will | 15:12 |
merlin1991 | do they all have the stock maemo kernel attached? | 15:12 |
Pali | yes | 15:13 |
*** user has quit IRC | 15:13 | |
Pali | merlin1991, when you dump atags from rescueos/ubuntu/other_kernel first open uboot console and write this: | 15:13 |
Pali | setenv setup_omap_atag 1 | 15:13 |
Pali | bootmenu | 15:13 |
ZogG_laptop | Pali: merlin1991, morning :P | 15:13 |
Pali | (this will force uboot to append omap atags and run bootmenu again) | 15:14 |
Pali | ZogG_laptop, hi | 15:14 |
merlin1991 | Pali: can I put rescueos on an sd card to simply run sdboot? | 15:15 |
Pali | merlin1991, no because sdboot booting only kernel image | 15:17 |
Pali | merlin1991, this config item file should work: http://talk.maemo.org/showpost.php?p=1264989&postcount=507 | 15:18 |
merlin1991 | Pali: it will take a bit longer, for reasons unkown to me my wlan is down :/ | 15:20 |
Pali | wtf? | 15:20 |
Pali | try: stop icd2 && start icd2 && stop wlancond && start wlancond | 15:21 |
_PanzerSajt | Pali, I still can't boot maemo | 15:22 |
Pali | _PanzerSajt, do you have log? | 15:22 |
*** eijk has joined #maemo | 15:23 | |
_PanzerSajt | where and how can I acces log files? | 15:23 |
Pali | if you have ksyslogd installed, then log file is stored in /var/log/syslog | 15:23 |
Pali | (or sysklogd.. I do not know package name) | 15:24 |
*** Luke-Jr has joined #maemo | 15:25 | |
merlin1991 | Pali: nah it was the router | 15:25 |
merlin1991 | fsckd router needs a reboot once in a while | 15:25 |
Pali | ok | 15:25 |
kerio | my router needs a kickin' every once in a while :( | 15:26 |
kerio | when it dies, i'll buy a routerboard one | 15:27 |
kerio | although the OS is closed | 15:29 |
*** ced117 has quit IRC | 15:32 | |
*** Hurrian has quit IRC | 15:33 | |
merlin1991 | Pali: do I need setup_omap_atag 1 if I have ITEM_OMAPATAG ? | 15:33 |
Pali | then no | 15:34 |
*** Darkchaos2 has joined #maemo | 15:35 | |
*** Darkchaos has quit IRC | 15:35 | |
Pali | merlin1991, btw chess in n900 is open source: http://repository.maemo.org/pool/maemo5.0/free/o/osso-chess-ui/ | 15:35 |
merlin1991 | ah shit | 15:35 |
Pali | so possible bugs can be fixed :-) | 15:36 |
kerio | which engine does it use? | 15:36 |
merlin1991 | I remember checking on the source of some game and deducting that all are closed | 15:36 |
Pali | kerio, look at source code :-) | 15:36 |
Pali | https://wiki.maemo.org/Fremantle_closed_packages | 15:36 |
merlin1991 | btw Pali you should update your u-boot-images archive, it still uses the old atag command in the item files | 15:36 |
Pali | only graphics & sounds are non free | 15:37 |
kerio | hm, babychess apparently? | 15:37 |
Pali | merlin1991, I will update them with new uboot version | 15:37 |
Pali | kerio, look at debian/control | 15:38 |
Pali | it depends on gnuchess | 15:38 |
Pali | OSSO Chess user interface. Required chess engine, GNU Chess, and OSSO games Start-up screen provided separately. | 15:39 |
kerio | but... it does have a chess engine built-in D: | 15:39 |
Pali | I see | 15:39 |
*** user has joined #maemo | 15:42 | |
NIN101 | does it? afaik it uses gnuchess | 15:42 |
kerio | the source tarball has a chess engine in a subdir | 15:44 |
NIN101 | hmm | 15:44 |
NIN101 | anyway, the interface is of the built-in chess app is quite uncool, at least the graphics of the pieces. | 15:46 |
*** Zahra has quit IRC | 15:46 | |
NIN101 | imho | 15:46 |
merlin1991 | ffs where did my dumpatags go | 15:49 |
*** Zahra has joined #maemo | 15:49 | |
*** user has quit IRC | 15:52 | |
*** DocScrutinizer06 is now known as DocScrutinizer05 | 15:54 | |
*** dhbiker has quit IRC | 15:54 | |
*** sq-one has joined #maemo | 15:55 | |
*** valerius has quit IRC | 15:55 | |
merlin1991 | Pali: err which command in the uboot console lets me turn off the device? | 15:56 |
Pali | not possible | 15:56 |
Pali | only reset | 15:56 |
merlin1991 | :/ | 15:56 |
DocScrutinizer05 | merlin1991: you might get away with shel llevel commands | 15:57 |
DocScrutinizer05 | GPIO etc | 15:58 |
DocScrutinizer05 | if 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 hard | 15:58 |
merlin1991 | Pali: -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 |
Pali | DocScrutinizer05, do you know where is kernel code which power off n900? | 15:59 |
DocScrutinizer05 | however note there's some cleaning up supposed to get done during graceful shutdown process, like configuring some peripherals to be properly off-state too | 15:59 |
Pali | merlin1991, in 12 and 11 there was change, but attached kernel should boot | 16:00 |
DocScrutinizer05 | Pali: sorry, no | 16:00 |
DocScrutinizer05 | a few commands to twl4030 will for sure shut down main system hard | 16:01 |
merlin1991 | Pali: oops I ran the fb entry, will try 12 and 11 again | 16:01 |
DocScrutinizer05 | but they won't care for LP5523 indicator LED, even cmt, PHY, etc | 16:01 |
kerio | there's no main switch? :o | 16:02 |
*** dhbiker has joined #maemo | 16:02 | |
DocScrutinizer05 | nope | 16:02 |
kerio | and no way to brutally tell bq24 to stop anything going from and to the battery? | 16:02 |
SpeedEvil | bq24 is a battery charger | 16:03 |
DocScrutinizer05 | for modem it's a technical problem, other peripherals like LED and PHY are meant to keep config and even work during main system powered down | 16:03 |
DocScrutinizer05 | kerio: there _is_ _no_ switch like that anywhare in swystem | 16:04 |
SpeedEvil | it does not control the main power supplies that get power from battery | 16:04 |
DocScrutinizer05 | cmt *needs* direct connection to battery for technical reasons | 16:04 |
*** Guest15748 has quit IRC | 16:05 | |
DocScrutinizer05 | (impedance aka ESR of any such switch would spoil power for cmt) | 16:05 |
DocScrutinizer05 | PHY (USB) needs power from battery to keep config which in turn is important to properly detect charger plugin | 16:06 |
SpeedEvil | it's possibly conceivable to blow the main power fuse. | 16:07 |
SpeedEvil | that however isn't really reversible. | 16:07 |
DocScrutinizer05 | LP5523 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 mode | 16:07 |
SpeedEvil | oh, that's USB, on reflection | 16:08 |
DocScrutinizer05 | main fuse? yep | 16:08 |
kerio | DocScrutinizer05: anyway, i think my weird-ish problems wrt act-dead with no charger are caused by BM | 16:08 |
kerio | but they're temporary | 16:08 |
DocScrutinizer05 | no fuse on battery either (except internal one), same rationale as for switch | 16:08 |
freemangordon | Pali: yesterday's asm code was buggy :D http://pastebin.com/8LpMQmQ6 | 16:08 |
Pali | DocScrutinizer05, SpeedEvil, do you know design capacity of bl5j battery which was included in n900 pack? | 16:08 |
DocScrutinizer05 | sure | 16:09 |
SpeedEvil | 1350? I forget | 16:09 |
DocScrutinizer05 | 1320 | 16:09 |
DocScrutinizer05 | printed on body | 16:09 |
Pali | freemangordon, wrote that nokia increased capacity of new bl5j batteries | 16:09 |
DocScrutinizer05 | I read that, never seen it though | 16:10 |
DocScrutinizer05 | all my batteries are 1320 | 16:10 |
*** Canseco has joined #maemo | 16:10 | |
_PanzerSajt | my batteries allso. I have a 2.5 year old and a 1 year old | 16:11 |
DocScrutinizer05 | hi _PanzerSajt :-) | 16:11 |
_PanzerSajt | DocScrutinizer05, HY | 16:11 |
*** user has joined #maemo | 16:13 | |
Pali | bme reporting 1293 | 16:13 |
DocScrutinizer05 | that's since the whole situation about BSI is pretty undefined AIUI | 16:15 |
Pali | and rx51_battery driver ( https://gitorious.org/rx51-bme-replacement/rx51_battery/blobs/master/rx51_battery.c#line139 ) reporting between 1257-1292 | 16:16 |
Pali | DocScrutinizer05, it this ok for bme replacement? | 16:17 |
DocScrutinizer05 | I think it's just good enough | 16:17 |
DocScrutinizer05 | nothing _really_ depending on precise BSI/design-capacity reporting | 16:18 |
merlin1991 | Pali: http://cdnm.at/~christian/maemo/atags/ | 16:18 |
*** aloril_ has quit IRC | 16:18 | |
Pali | merlin1991, thanks! | 16:18 |
Pali | merlin1991, btw both devices not bootabled from uboot? | 16:19 |
merlin1991 | I also tested the attached images of 11 12 and 15 and they all failed | 16:19 |
merlin1991 | Pali: yes those failed | 16:19 |
Pali | merlin1991, and do you have device where is uboot working? | 16:19 |
merlin1991 | yes it has hw revision 2101 | 16:20 |
*** dhbiker has quit IRC | 16:20 | |
Pali | can you dump atags from it too (again one without uboot and one from rescue os)? | 16:20 |
merlin1991 | okay, but lemme have lunch first :) | 16:20 |
Pali | ok, thanks :-) | 16:21 |
Pali | in both is this tag (from uboot): 54410002 ATAG MEM size=00000000 start=90000000 | 16:21 |
Pali | DocScrutinizer05, see ^^^ | 16:21 |
_PanzerSajt | Pali, 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 |
Pali | it is part of project which replace BME | 16:22 |
*** Milhouse has quit IRC | 16:22 | |
_PanzerSajt | and do you have charging script/program? | 16:23 |
Pali | I have kernel driver for charging | 16:23 |
_PanzerSajt | because now we have i2c script for charging the battery with ubuntu | 16:23 |
DocScrutinizer05 | Pali: yes, this ATAg MEM line looks kinda weird | 16:23 |
_PanzerSajt | http://bazaar.launchpad.net/~panzersajt/ubuntu-n900-accessories/trunk/revision/4#charge-automatic.sh | 16:23 |
DocScrutinizer05 | \o/ my charge concept made it to buntkuh... *cough* | 16:24 |
kerio | Pali: can't rx51_battery driver grab the value from bq27200? | 16:24 |
Pali | kerio, no, rx51_battery read values from twl adc channels | 16:24 |
Pali | but you can use also bq27x00_battery driver which report other values | 16:25 |
DocScrutinizer05 | kerio: bq27200 doesn't know about proper design-capacity | 16:25 |
kerio | DocScrutinizer05: *should* it? | 16:25 |
Pali | for bme replacement is needed both 3 drivers | 16:25 |
DocScrutinizer05 | err, well, it *should* but evidently it doesn't | 16:25 |
kerio | but nothing cares about battery design | 16: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 it | 16:26 |
DocScrutinizer05 | also how's the chip in N900 going to know design-cap of arbitrary plugged-in battery? | 16:26 |
kerio | no, i know, it doesn't know | 16:26 |
kerio | and it shouldn't know | 16:26 |
kerio | but why do we care? | 16:26 |
kerio | it's a useless metric | 16:26 |
Pali | kerio, because we need battery temperature | 16:27 |
_PanzerSajt | Pali, but is that script safe? | 16:27 |
DocScrutinizer05 | LOL, http://bazaar.launchpad.net/~panzersajt/ubuntu-n900-accessories/trunk/revision/4#charge-automatic.sh actually is my original script | 16:27 |
*** _rd has quit IRC | 16:27 | |
NIN101 | DocScrutinizer05 what does charge-automatic do exactly? | 16:27 |
_PanzerSajt | DocScrutinizer05, how safe is it? :) | 16:27 |
DocScrutinizer05 | safe enough | 16:27 |
Pali | it is ok for charging with wallcharger | 16:28 |
DocScrutinizer05 | IOW it's absolutely safe, just maybe not that reliable | 16:28 |
_PanzerSajt | NIN101, detects if the wallcharger is present | 16:28 |
kerio | Pali: battery temp is a function of the design capacity too? :O | 16:28 |
Pali | kerio, it is part of that driver | 16:28 |
kerio | oh, k | 16:28 |
_PanzerSajt | DocScrutinizer05, do you mind that we use your script with out ubuntu project? | 16:29 |
_PanzerSajt | *with our | 16:29 |
DocScrutinizer05 | nah | 16:29 |
DocScrutinizer05 | go ahead | 16:29 |
*** dafox has joined #maemo | 16:29 | |
freemangordon | jacekowski: ping | 16:29 |
*** dafox is now known as Guest1500 | 16:30 | |
_PanzerSajt | Pali, can you help skry? he is trying to bring 3.5 kernel to n900 | 16:30 |
DocScrutinizer05 | you just could mention me, maybe point to http://talk.maemo.org/showthread.php?p=658278#post658278 | 16:30 |
*** aloril_ has joined #maemo | 16:30 | |
freemangordon | _PanzerSajt: afaik he has 3.5 booting | 16:30 |
Pali | _PanzerSajt, now I'm overprojected :-) | 16:30 |
_PanzerSajt | Pali, np | 16:30 |
Pali | bme, uboot, kernel-power, ... | 16:30 |
_PanzerSajt | freemangordon, yes but he still strugles with charging | 16:31 |
kerio | DocScrutinizer05: hm, isn't charge21.sh "better"? | 16:31 |
DocScrutinizer05 | sure | 16:31 |
Canseco | I 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 drivers | 16:31 |
*** Guest1500 is now known as dafox | 16:31 | |
DocScrutinizer05 | "better" as in "more versatile, more reliable" | 16:31 |
_PanzerSajt | freemangordon, so it will work? | 16:32 |
freemangordon | yes | 16:32 |
_PanzerSajt | fine thanks | 16:32 |
Pali | you need to write to rx51 board code functions which connect isp and bq drivers together | 16:32 |
freemangordon | isp? | 16:33 |
Pali | in maemo kernel isp code is glued into musb, so I needed to change musb code... | 16:33 |
freemangordon | iirc isp is camera | 16:33 |
Pali | isp1704 kernel driver for charger detection | 16:33 |
freemangordon | aah, ok :) | 16:33 |
freemangordon | Pali: do you know anyone here but jacekowski who can review my assembler code | 16:34 |
freemangordon | (MUTEX_SET) | 16:34 |
Pali | DocScrutinizer05? | 16:34 |
DocScrutinizer05 | ? | 16:35 |
freemangordon | hmm, yeah, why not :) | 16:35 |
freemangordon | http://pastebin.com/8LpMQmQ6 | 16:35 |
freemangordon | DocScrutinizer05: ^^^ | 16:35 |
Pali | maybe lxp? | 16:35 |
freemangordon | original part is for non-thumb code | 16:35 |
freemangordon | i need my thumb replacement reviewed | 16:36 |
DocScrutinizer05 | aah, sorry I'm not really awake to do a proper review right now | 16:36 |
freemangordon | DocScrutinizer05: no hurry, but please do it when you're awake :) | 16:37 |
DocScrutinizer05 | I'll try to not forget it, ping me again in a few hours if I did nevertheless | 16:37 |
freemangordon | this code is from berkeley db and I want to be sure I won't screw up address book :D | 16:37 |
freemangordon | ok | 16:37 |
DocScrutinizer05 | Pali: (isp1704 kernel driver for charger detection) ... is highly critical code, since it will 'ruin' 1707 config when run in the wrong moment | 16:39 |
*** valerius has joined #maemo | 16:39 | |
Pali | DocScrutinizer05, when I looked at that driver it register some otg notification, and usb code calling detection function | 16:39 |
DocScrutinizer05 | Pali: gambling with this code can result in all sorts of highly unwanted weird effects | 16:40 |
DocScrutinizer05 | incl 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 powersources | 16:42 |
DocScrutinizer05 | I'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, etc | 16:44 |
merlin1991 | Pali: I added atags from attached kernel, stock kernel and rescueos for the device that works (2101) | 16:45 |
merlin1991 | http://cdnm.at/~christian/maemo/atags/ | 16:45 |
Pali | ok, thanks! | 16:45 |
merlin1991 | and the difference I could spot so far, is that on the one that works we have no MEM size=0 weird shit | 16:45 |
freemangordon | merlin1991: can you help with some gcc inline assembly? | 16:46 |
DocScrutinizer05 | Pali: yes, basically it's the musb-hdrc code detection function that actually messes up the 1707 config | 16:47 |
merlin1991 | freemangordon: you've got a billion times more expertise in that regard compared to me :D | 16:47 |
freemangordon | merlin1991: I need a review | 16:47 |
DocScrutinizer05 | Pali: as a general rule you MUST NOT call the musb-hdrc detection code whenever any USB session got established | 16:47 |
freemangordon | merlin1991: otherwise code seems to work, but it is in very critical part of the system | 16:48 |
Pali | DocScrutinizer05, ok, in kp is that detection disabled when you enter to host mode | 16:48 |
*** Wizzup_ has joined #maemo | 16:48 | |
DocScrutinizer05 | Pali: USB sessions are not limited to hostmode | 16:48 |
Pali | so some code should be added to upstream kernel too... | 16:49 |
Pali | yes | 16:49 |
*** _rd has joined #maemo | 16:49 | |
merlin1991 | freemangordon: what exactly should I review? as I don't have the slightes clue how to read actual assembler code :D | 16:49 |
Pali | merlin1991, 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 |
freemangordon | merlin1991: well, scratch that then :) | 16:50 |
merlin1991 | Pali: I'm 100% certain, though I'm happy to retry | 16:50 |
Pali | merlin1991, ok, but uboot appending same mem atags for all kernels | 16:50 |
Pali | and there are two different... | 16:50 |
*** Wizzup has quit IRC | 16:51 | |
Pali | can you also boot other kernel (kernel-power, or framebuffer kernel) on that phone where booting from uboot working? | 16:51 |
DocScrutinizer05 | Pali: 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_ asks | 16:51 |
Pali | merlin1991, and did you used last uboot 2012.04-2? | 16:52 |
DocScrutinizer05 | Pali: "immediately" here means not even ENUM may have started yet | 16:52 |
Pali | DocScrutinizer05, ok | 16:52 |
DocScrutinizer05 | :-) | 16:52 |
merlin1991 | Pali: actually I can't boot the fb kernel there | 16:53 |
freemangordon | Pali: is it nolo that passes ATAG MEM size=00000000 start=90000000 | 16:53 |
merlin1991 | or the not attached stock kernel | 16:53 |
*** Zahra has quit IRC | 16:53 | |
Pali | freemangordon, no | 16:53 |
freemangordon | but who? | 16:54 |
merlin1991 | Pali: maemo kernel wise only the atached kernel boots | 16:54 |
Pali | freemangordon, uboot | 16:54 |
freemangordon | sorry, my question was where did u-boot get them | 16:54 |
Pali | from sdrc code | 16:54 |
Pali | or I do not know | 16:54 |
Pali | trying to find it now | 16:55 |
merlin1991 | Pali: also yes it's 2012.04-2 | 16:55 |
freemangordon | Pali: can you just make a quick'n'dirty hack and check if (ATAG MEM size=00000000) do not pass atag | 16:56 |
Pali | merlin1991, I will build uboot image which force 2 static mem tags (same which report nolo) | 16:56 |
Pali | DocScrutinizer05, you can look at current implementation: http://git.infradead.org/battery-2.6.git/blob/HEAD:/drivers/power/isp1704_charger.c | 16:56 |
freemangordon | hmm, is it possible that 2204 is with 512MB ram :P | 16:57 |
Pali | :D:D:D | 16:57 |
*** muks_ is now known as muks | 16:57 | |
freemangordon | Pali: seems one of the differences between HW revs is memory chip | 16:58 |
merlin1991 | does the u-boot implementation for booting the attached image differ from booting a menu entry? | 16:58 |
Pali | no | 16:58 |
merlin1991 | why do I have different mem tags then? oO | 16:58 |
Pali | I have no idea | 16:58 |
freemangordon | revs above 2101 have faster memory, for sure | 16:58 |
Pali | but mem atags are read via function get_sdr_cs_size when uboot is starting | 16:59 |
kerio | :o | 16:59 |
kerio | really? | 16:59 |
* kerio has 2104 | 16:59 | |
kerio | DocScrutinizer05: it's quite the fragile chip, isn't it | 16:59 |
*** Wizzup_ has quit IRC | 16:59 | |
freemangordon | Pali: where is that (link to gitorious please) | 16:59 |
freemangordon | I want to look at the code | 16:59 |
DocScrutinizer05 | Pali: 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 transferred | 16:59 |
Pali | freemangordon, file arch/arm/cpu/armv7/omap3/sdrc.c function dram_init_banksize | 17:00 |
DocScrutinizer05 | Pali: http://git.infradead.org/battery-2.6.git/blob/HEAD:/drivers/power/isp1704_charger.c#l132 should do for most 'usual' cases | 17:00 |
merlin1991 | Pali: I just managed to get the fb kernel to boot by changing the .item file for it back to ITEM_REUSEATAGS | 17:00 |
DocScrutinizer05 | Pali: still it's forbidden to call this function when any session already established | 17:00 |
DocScrutinizer05 | YAY!!! http://git.infradead.org/battery-2.6.git/blob/HEAD:/drivers/power/isp1704_charger.c#l143 | 17:01 |
freemangordon | Pali: which branch is that on gitorious? | 17:01 |
Pali | freemangordon, https://gitorious.org/u-boot-shr/u-boot/blobs/pali/arch/arm/cpu/armv7/omap3/sdrc.c#line232 | 17:02 |
freemangordon | thanks | 17:02 |
merlin1991 | Pali: 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 |
DocScrutinizer05 | unlike isp1704_charger_type() the freaking isp1704_charger_verify() does NOT care about restoring sane original state of 1707 config | 17:03 |
Pali | merlin1991, ok | 17:03 |
Pali | DocScrutinizer05, I will look at that driver later | 17:03 |
Pali | first we need working u-boot, then we can booting other kernel :-) | 17:04 |
Pali | and maemo kernel does not have this driver | 17:04 |
freemangordon | Pali: do you have any idea where is number of DRAM banks calculated? | 17:05 |
Pali | in rx51 config file | 17:05 |
freemangordon | or i have to clone the code :D | 17:05 |
Pali | it is 2 | 17:05 |
freemangordon | well, that should not be hardcoded AIUI | 17:05 |
freemangordon | as we have atleast 2 revs with only one bank | 17:06 |
freemangordon | 2101 and 2204 | 17:06 |
freemangordon | 2104 is with 2 banks | 17:06 |
Pali | https://gitorious.org/u-boot-shr/u-boot/blobs/pali/include/configs/nokia_rx51.h | 17:06 |
Pali | freemangordon, see dumps: http://talk.maemo.org/showthread.php?t=84560 | 17:06 |
Pali | this is 2104: http://talk.maemo.org/showpost.php?p=1216012&postcount=22 and has 2 banks | 17:09 |
Pali | this is 2104 and has 1 bank: http://talk.maemo.org/showpost.php?p=1214052&postcount=14 | 17:09 |
freemangordon | that is what I am saying | 17:09 |
freemangordon | <freemangordon> 2104 is with 2 banks | 17:09 |
Pali | 2104 has both (1 or 2) | 17:09 |
freemangordon | aah | 17:10 |
freemangordon | well, it seems I should have to clone the code | 17:10 |
merlin1991 | freemangordon: 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 #maemo | 17:10 | |
freemangordon | you can | 17:10 |
merlin1991 | and it seems like u-boot substidutes another weird MEM atag when there is only 1 in the original set | 17:11 |
Pali | uboot totally ignore MEM tag from nolo | 17:12 |
merlin1991 | may I ask why? | 17:13 |
freemangordon | merlin1991: because u-boot should do the same as nolo | 17:14 |
Pali | because uboot is bootloader which initialize hw, and uboot has also code for sdrc | 17:14 |
Pali | and adding code which parse nolo tags are use it before uboot is initialized is hard | 17:15 |
freemangordon | Pali: clonning, will look at the code | 17:15 |
Pali | ok | 17:15 |
DocScrutinizer05 | freemangordon hit the point | 17:15 |
*** Wizzup has joined #maemo | 17:16 | |
Pali | merlin1991, 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.fiasco | 17:17 |
Pali | merlin1991, can you ran command bdinfo in uboot console | 17:17 |
Pali | it write info about mem | 17:18 |
*** zwoelf has joined #maemo | 17:18 | |
merlin1991 | also Pali my bad about the rescueos on u-boot | 17:18 |
* merlin1991 facepalms | 17:18 | |
*** zwoelf has quit IRC | 17:18 | |
merlin1991 | I somehow scpd the wrong txt | 17:18 |
DocScrutinizer05 | AIUI 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 file | 17:18 |
Pali | merlin1991, ok update it | 17:18 |
DocScrutinizer05 | btw that's exactly the reason why flasher-3.5 fails when you don't have correct hw-rev | 17:19 |
DocScrutinizer05 | (which kinda would render my prev assumption moot) | 17:20 |
merlin1991 | Pali: updated http://cdnm.at/~christian/maemo/atags/rescueos_2101.txt | 17:20 |
Sicelo | Pali: sorry i disappeared.. band connectivity here. | 17:20 |
merlin1991 | now it's in line with the other atags on 2101 | 17:20 |
kerio | what's the "best" hw rev, i wonder | 17:21 |
DocScrutinizer05 | the joy of SoC hw revisions | 17:21 |
Pali | merlin1991, ok this is fine | 17:21 |
Sicelo | um, for us noobs.. what's this about having 1 or 2 memory banks.. ? i have 2204. | 17:21 |
DocScrutinizer05 | kerio: there's no 'best' hw-rev | 17:21 |
*** sLumPia has joined #maemo | 17:21 | |
kerio | <freemangordon> revs above 2101 have faster memory, for sure | 17:22 |
*** dee has joined #maemo | 17:22 | |
Sicelo | those with 2 banks have one unpopulated bank, i would assume. is it? | 17:22 |
Pali | merlin1991, can you test that new uboot image? | 17:22 |
kerio | there's certainly some kind of partial ordering between hw revs :) | 17:22 |
merlin1991 | currently flashing | 17:22 |
Pali | merlin1991, ok, but you do not need to flash uboot | 17:22 |
DocScrutinizer05 | Sicelo: your CPU has different possible OneNAND/RAM piggyback POP, and those chips have different addressing modes | 17:22 |
merlin1991 | Pali: bdinfo gives me the bogus banks | 17:23 |
DocScrutinizer05 | Sicelo: like your usual RAM stick in PC might have 8 chips with 1Gbit each, or 4 chips with 2GBit | 17:23 |
DocScrutinizer05 | bot are 1Gbyte | 17:23 |
DocScrutinizer05 | both* | 17:23 |
merlin1991 | Pali: also new u-boot still does not boot | 17:24 |
Pali | can you dump atags? | 17:24 |
merlin1991 | on my way :D | 17:24 |
Pali | if mem=0 is still here? | 17:24 |
Pali | ok | 17:24 |
Pali | DocScrutinizer05, why then kernel started from uboot cannot mount ubifs rootfs but same kernel started by nolo can? | 17:25 |
Pali | atags (with partition layout) are ok | 17:26 |
freemangordon | Pali: https://gitorious.org/u-boot-shr/u-boot/blobs/pali/arch/arm/lib/bootm.c#line130 | 17:26 |
freemangordon | CONFIG_NR_DRAM_BANKS is 2, no matter how many actual banks we have | 17:27 |
Pali | freemangordon, I know | 17:27 |
freemangordon | is it (weak)? | 17:27 |
Pali | here I added line to skip size=0 | 17:27 |
freemangordon | can we move that to board code? | 17:27 |
freemangordon | ok | 17:27 |
Pali | and merlin testing new code | 17:27 |
Pali | not possible to move, because "static void" | 17:27 |
merlin1991 | http://cdnm.at/~christian/maemo/atags/rescueos_2104_new.txt | 17:28 |
freemangordon | much better :D | 17:28 |
Pali | ok, there is no mem size=0 :-) | 17:28 |
freemangordon | Pali: but it really seems like a bug | 17:28 |
freemangordon | you should upstream that | 17:28 |
Pali | yes | 17:29 |
freemangordon | merlin1991: does it boot? | 17:29 |
merlin1991 | nope | 17:29 |
merlin1991 | but the atags are now 1 : 1 comapred to stock (except the rescueos specific entries regarding cmdline and initrd | 17:30 |
*** dee has quit IRC | 17:31 | |
freemangordon | merlin1991: it does not boot, because it cannot mount rootfs? | 17:32 |
* merlin1991 tries the fb kernel | 17:32 | |
merlin1991 | yep ubifs fails for rootfs | 17:33 |
Pali | merlin1991, I added -9 and -10 uboot images: http://atrey.karlin.mff.cuni.cz/~pali/u-boot/old/ | 17:34 |
freemangordon | did someone compared kernel cmdline? | 17:34 |
Pali | they are old version from my git | 17:34 |
freemangordon | *compare | 17:34 |
Pali | both are marked to 2012.04 | 17:34 |
merlin1991 | Pali: -10 boots | 17:36 |
Pali | merlin1991, so -10 boots and -11 not? | 17:36 |
* merlin1991 tries -11 | 17:37 | |
merlin1991 | -11 is stuck at starting kernel | 17:38 |
Pali | ok, | 17:39 |
Pali | going to generate diff | 17:39 |
Pali | and source code | 17:39 |
freemangordon | Pali: share it please (diff) | 17:39 |
Pali | yes, I upload it | 17:39 |
_PanzerSajt | Pali, how about the bug? | 17:40 |
merlin1991 | wtf | 17:40 |
Pali | merlin1991, what? | 17:40 |
freemangordon | Pali: where? :D:D:D | 17:40 |
merlin1991 | hm after trying -11 -10 didn't want to work untill I pulled the battery once | 17:41 |
*** sq-one has quit IRC | 17:41 | |
*** valdyn has quit IRC | 17:42 | |
merlin1991 | now I flashed -11 pulled the battery once and it booted | 17:43 |
merlin1991 | WTF? | 17:43 |
freemangordon | merlin1991: does it boot if you power it down? | 17:43 |
freemangordon | (-11) | 17:43 |
merlin1991 | yep | 17:44 |
Pali | merlin1991, test if -12 is booting too | 17:45 |
merlin1991 | I'm working my way towards 15 again :D | 17:45 |
merlin1991 | btw Pali where are those -x revisions from, tags in git? | 17:46 |
Pali | -15 is last version (2012.04-2) but recompiled | 17:46 |
Pali | they are my internal numbering in mu pc | 17:46 |
freemangordon | hehe | 17:46 |
Pali | it is big mess :-) | 17:46 |
* freemangordon prays for Pali's PC | 17:47 | |
merlin1991 | Pali: 12 didn't boot, even after I removed the batter and tried it | 17:47 |
* merlin1991 flashes back 11 | 17:47 | |
* freemangordon is waiting for .diff :P | 17:48 | |
Pali | I uploaded tarballs here: http://atrey.karlin.mff.cuni.cz/~pali/u-boot/old/ | 17:48 |
*** eijk_ has joined #maemo | 17:48 | |
Pali | 11 and 12 | 17:48 |
merlin1991 | okay 11 does not boot emideatly after flashing, but boots on the next try | 17:48 |
*** valdyn has joined #maemo | 17:49 | |
*** eijk has quit IRC | 17:50 | |
Pali | now I see that -12 has included atags in uboot code | 17:50 |
*** Canseco has quit IRC | 17:52 | |
merlin1991 | hm the diff isn't even that big, but something in there must have a sideeffect | 17:53 |
merlin1991 | Pali: could you compile me a recent uboot without the thumb errata workaround? | 17:56 |
Pali | merlin1991, ok | 17:57 |
merlin1991 | or better compile a -12 without that part | 17:57 |
merlin1991 | that's the only thing in the diff I've spotted that makes a huge difference | 17:57 |
*** ale152 has quit IRC | 17:58 | |
*** sq-one has joined #maemo | 17:58 | |
DocScrutinizer05 | hehe, yeah, trsutzone crap probably doesn't get reset by 'normal reboot' | 17:59 |
freemangordon | Pali: can you dump nolo atags from u-boot? | 18:00 |
Pali | freemangordon, yes, I have patch for it | 18:00 |
Pali | now going to compile image for merlin | 18:00 |
Pali | and then will find that patch | 18:00 |
freemangordon | there is not much difference between -11 and -12, besides atags | 18:00 |
merlin1991 | and the thumb errata code ;) | 18:01 |
freemangordon | merlin1991: yes, but that should not prevent rootfs from mounting :D:D:D | 18:01 |
merlin1991 | who knows why kernel goes nuts? | 18:01 |
merlin1991 | since atags with the last patch from pali are literally the same as on stock kernel from nolo | 18:01 |
freemangordon | besides their order | 18:02 |
Pali | in that patch are only: removed code which copying nolo atags and replaced by static atags and added code for thumb | 18:02 |
DocScrutinizer05 | I honestly pray for thumb-workaround not turning out to be the culprit | 18:02 |
freemangordon | DocScrutinizer05: it is not | 18:02 |
merlin1991 | freemangordon: we will see ;) | 18:02 |
freemangordon | hehe | 18:02 |
Pali | merlin1991, image is here: http://atrey.karlin.mff.cuni.cz/~pali/u-boot/old/ | 18:03 |
*** shanttu has joined #maemo | 18:03 | |
merlin1991 | btw Pali do I need anything special to build u-boot from that source? | 18:03 |
merlin1991 | or is a simple scratchbox setup enough? | 18:03 |
*** sq-one has quit IRC | 18:04 | |
freemangordon | it is | 18:04 |
*** sq-one has joined #maemo | 18:04 | |
Pali | I'm using directly ubuntu gcc arm cross compiler | 18:04 |
Pali | dpkg-buipdpackage -b -aarmel without madde and without scratchbox | 18:04 |
freemangordon | i was using 4.6.2 last time i built it, not sure if 4.2 will do the job | 18:04 |
Pali | *dpkg-buildpackage | 18:04 |
freemangordon | Pali: why not using -mthumb? | 18:05 |
Pali | because uboot has no thumb support | 18:05 |
Pali | it has own flag -marm | 18:05 |
freemangordon | what does that mean? (no thumb support) | 18:06 |
DocScrutinizer05 | wow, so it's not USB and PHY / twl4030 that caused recent problems with KP51xx (not properly) booting, but actually something around trustzone? | 18:06 |
Pali | uboot build system cannot compile with thumb | 18:06 |
freemangordon | ok | 18:06 |
*** user has quit IRC | 18:07 | |
Pali | when I tried to change all -marm to -mthumb code, it builds but not worked... | 18:07 |
Pali | in qemu is crashed | 18:07 |
freemangordon | aah, this is different ;) | 18:07 |
kerio | :( | 18:07 |
merlin1991 | okay disabled thumb didn't help anything | 18:07 |
merlin1991 | I don't even get a msg from the framebuffer kernel | 18:07 |
DocScrutinizer05 | pheeew | 18:08 |
freemangordon | toldya :P | 18:08 |
DocScrutinizer05 | you removed battery? | 18:08 |
merlin1991 | not yet | 18:08 |
DocScrutinizer05 | to "reset" "sticky" trustzone crap? | 18:08 |
DocScrutinizer05 | I mean, the culprit sits in hw from prev 'rogue' kernel doing 'bad thing' to trustzone | 18:08 |
DocScrutinizer05 | not in new kernel failing to do the right thing | 18:09 |
merlin1991 | well removed batter does not help | 18:09 |
DocScrutinizer05 | :-S | 18:09 |
Pali | freemangordon, patch is here: http://atrey.karlin.mff.cuni.cz/~pali/u-boot/old/dumpatags.patch | 18:09 |
merlin1991 | still don't get past the starting kernel part | 18:09 |
DocScrutinizer05 | bisect time | 18:09 |
Pali | but maybe it needs some changes to work... | 18:09 |
freemangordon | DocScrutinizer05: no, it is only one patch | 18:10 |
merlin1991 | bisect only helps with a patch series ;) | 18:10 |
freemangordon | Pali: your default: is commented | 18:10 |
DocScrutinizer05 | so pretty please remove this one patch and recompile the very same source on very same toolchain with absolutely same parameters | 18:10 |
freemangordon | Pali: what if there is some atag u-boot does not know about it? | 18:11 |
merlin1991 | DocScrutinizer05: we narrowed it down to this patch, pre patch version works | 18:11 |
DocScrutinizer05 | yes, and I suggest to double-check | 18:11 |
Pali | freemangordon, good question | 18:11 |
DocScrutinizer05 | just to rule out any form of PEBKAC | 18:12 |
Pali | freemangordon, uncomment default | 18:12 |
freemangordon | Pali: please, apply that patch with uncommenetd default: and give that image to merlin1991 to test | 18:12 |
*** valerius has quit IRC | 18:12 | |
DocScrutinizer05 | :-) | 18:12 |
freemangordon | DocScrutinizer05: bootloader should ot depend on the user :P | 18:13 |
Pali | which version -11 or -12? | 18:13 |
freemangordon | *not | 18:13 |
*** valerius has joined #maemo | 18:13 | |
freemangordon | Pali: does not matter aiui | 18:13 |
DocScrutinizer05 | but maybe on refetching last cmdline to build it, from shell history | 18:13 |
DocScrutinizer05 | whatever | 18:13 |
DocScrutinizer05 | a typo somewhere | 18:13 |
freemangordon | we just need a confirmation that all needed atags are passed to the kernel in the same way as nolo passes them | 18:14 |
DocScrutinizer05 | first thing I do in such a case is DOUBLE-check | 18:14 |
*** FlameReaper has quit IRC | 18:14 | |
freemangordon | Pali: do you expect me to apply the patch build it? | 18:14 |
DocScrutinizer05 | preferrably with other user doing check on another machine | 18:15 |
DocScrutinizer05 | (the build, not the texting on device) | 18:15 |
DocScrutinizer05 | testing* | 18:15 |
*** FlameReaper has joined #maemo | 18:15 | |
freemangordon | DocScrutinizer05: I am almost sure we have some atag we're missing. The one u-boot is not aware of | 18:15 |
DocScrutinizer05 | sounds plausible | 18:16 |
Pali | build is here: http://atrey.karlin.mff.cuni.cz/~pali/u-boot/old/ | 18:16 |
freemangordon | hmm, ATAG_CMDLINE | 18:16 |
DocScrutinizer05 | I missed ATAG_CNDLINE in some of the pastes of merlin1991 | 18:17 |
Pali | we using cmdline from kernel image | 18:17 |
freemangordon | aah, yes | 18:17 |
merlin1991 | Pali: where does that dump the tags to? | 18:17 |
Pali | to screen | 18:17 |
DocScrutinizer05 | still it might e.g mess up parsing of other ATAG parameters | 18:18 |
freemangordon | Pali: do you know what this atag-dumper will do in case of unknown tag? | 18:18 |
Pali | it write unknown | 18:18 |
Pali | or it write hexdump | 18:18 |
freemangordon | do we have hexdumps? | 18:18 |
Pali | "unknown tag" for unknown tag | 18:18 |
DocScrutinizer05 | I'd love to see raw hexdump of whole buffer area for both cases | 18:18 |
freemangordon | yeah | 18:18 |
Pali | and hexdump if there is something unknown in omap table | 18:19 |
*** SmilyOrg has joined #maemo | 18:19 | |
merlin1991 | DocScrutinizer05: I only had kernel cmdlines for rescueos, but stock kernel and attached that did boot (on 2101) has no cmdline atag | 18:19 |
DocScrutinizer05 | e.g figure CMDLINE terminated by 0x0a instead 0x0d | 18:19 |
freemangordon | DocScrutinizer05: it is build-in cmdline that is used | 18:20 |
DocScrutinizer05 | might result in next parameter not get parsed | 18:20 |
freemangordon | not the one passed from bootloader | 18:20 |
merlin1991 | there's shitloads of tags | 18:20 |
merlin1991 | they don't even fit on the screen | 18:20 |
freemangordon | merlin1991: use your second device to capture a video | 18:21 |
freemangordon | or third :P | 18:21 |
Pali | :D:D | 18:21 |
freemangordon | Pali: I am not kidding ;) | 18:21 |
DocScrutinizer05 | freemangordon: you got my idea that missing proper EOL termination of ATAG N-1 will ruin ATAG N? | 18:22 |
Pali | it is funny, what you can do with 3 n900 :-) | 18:22 |
freemangordon | DocScrutinizer05: I am not sure atags are eol-ed | 18:22 |
DocScrutinizer05 | they are terminated I'd hope | 18:22 |
*** [XeN] has joined #maemo | 18:22 | |
freemangordon | but we really need hexdump | 18:22 |
DocScrutinizer05 | or is this a static array? | 18:22 |
merlin1991 | af on the n900 camera sucks ass | 18:22 |
freemangordon | afaik | 18:22 |
DocScrutinizer05 | yep, hexdump FTW | 18:22 |
*** Guest24939 has quit IRC | 18:23 | |
freemangordon | Pali: do we have hexdups for ok abd bad cases? | 18:23 |
freemangordon | *and | 18:23 |
*** APTX has quit IRC | 18:23 | |
freemangordon | and syslog/dmesg log from non-booting system | 18:24 |
Pali | http://paste.ubuntu.com/1263508/ | 18:24 |
Pali | this is BAD by _PanzerSajt ^^^ | 18:25 |
Pali | booting ubuntu | 18:26 |
* DocScrutinizer05 points at OOPS area | 18:26 | |
DocScrutinizer05 | mtd_oops | 18:26 |
DocScrutinizer05 | aka mtd2: 00040000 00020000 "log" | 18:27 |
*** Guest95952 has quit IRC | 18:27 | |
*** vblazquez has joined #maemo | 18:27 | |
freemangordon | DocScrutinizer05: ? | 18:27 |
DocScrutinizer05 | dunno if there's a simple lightweight way to exploit it for uBootlog | 18:28 |
*** APTX has joined #maemo | 18:28 | |
DocScrutinizer05 | aiui there's a kernel module mtd_log.ko or mtd_oops.ko | 18:28 |
*** Hurrian has joined #maemo | 18:29 | |
DocScrutinizer05 | might be worthwhile to rip a few sourcode lines out there and implant it to uBoot | 18:29 |
DocScrutinizer05 | strictly for R&D! | 18:29 |
DocScrutinizer05 | http://tomoyo.sourceforge.jp/cgi-bin/lxr/source/drivers/mtd/mtdoops.c | 18:31 |
merlin1991 | kernel ooops == kernel panic? | 18:32 |
*** fredrinLap has quit IRC | 18:32 | |
DocScrutinizer05 | basically yes | 18:33 |
DocScrutinizer05 | http://tomoyo.sourceforge.jp/cgi-bin/lxr/source/drivers/mtd/mtdoops.c#L55 | 18:34 |
*** [XeN] has quit IRC | 18:34 | |
DocScrutinizer05 | merlin1991: a kernel OOPS allows kernel to continue business, while a panic is supposed to kill off kernel for good | 18:35 |
freemangordon | Pali: 32wd_to? | 18:35 |
merlin1991 | Pali: anything else I can do to help you? | 18:37 |
freemangordon | Pali: I 32wd_to in atags on my device | 18:38 |
freemangordon | *I have | 18:38 |
DocScrutinizer05 | for bootreason? | 18:39 |
freemangordon | no, as omap atag | 18:39 |
DocScrutinizer05 | which value? | 18:39 |
Pali | freemangordon, which omap atag? | 18:39 |
Pali | it should be bootreason reset by watchdog | 18:39 |
freemangordon | no, boot-mode normal | 18:40 |
freemangordon | I am reading a hexdump | 18:40 |
Pali | merlin1991, provides hexdump (or xxd) of /proc/atags | 18:40 |
Pali | freemangordon, boot-mode is property and normal is value | 18:40 |
Pali | it is in omap tag "version" in omap table | 18:41 |
freemangordon | yes, but I have property 32wd_to, don't know how to check the value | 18:41 |
freemangordon | yes | 18:41 |
Pali | it should be bootreason | 18:41 |
Pali | bootreason is omap tag in omap table | 18:41 |
Pali | "version" is also omap tag in omap table | 18:41 |
merlin1991 | Pali: from stock kernel, rescueoss or where? | 18:41 |
freemangordon | Pali: actually not sure, as it is between rootfs and product | 18:41 |
Pali | "version" tag has two properties: 1) name 2) value | 18:42 |
Pali | rootfs is part of omap tag layout | 18:42 |
* DocScrutinizer05 waves | 18:42 | |
Pali | merlin1991, as DocScrutinizer05 from all | 18:42 |
Pali | DocScrutinizer05, do you look at hexdumps? | 18:42 |
*** FlameReaper has quit IRC | 18:43 | |
DocScrutinizer05 | err, nope, I don't have any hexdumps | 18:43 |
Pali | merlin1991 will dump it | 18:43 |
DocScrutinizer05 | I guess I'll be afk when he does | 18:44 |
Pali | freemangordon, open some merlin text dump and look why is bootreason between rootfs and product :-) | 18:44 |
Pali | http://cdnm.at/~christian/maemo/atags/rescueos_2204.txt | 18:44 |
DocScrutinizer05 | aah now I see what you meant | 18:44 |
merlin1991 | Pali: which version of uboot? | 18:45 |
freemangordon | Pali: aah, ok :D | 18:45 |
Pali | merlin1991, one uboot which can boot device, one uboot which cannot boot and one for direct boot (without uboot) | 18:45 |
DocScrutinizer05 | http://pastebin.ca/2245676 o/ cya | 18:46 |
DocScrutinizer05 | no uBoot, normal stock kernel and CSSU | 18:46 |
DocScrutinizer05 | o/ | 18:46 |
freemangordon | well, that's 2101 | 18:47 |
merlin1991 | the hw revision that works :D | 18:48 |
kerio | do you need a 2104? | 18:48 |
freemangordon | hmm, my secon device is 2204 | 18:49 |
freemangordon | *second | 18:49 |
kerio | http://pastebin.ca/2245679 2104 | 18:49 |
kerio | 2104 with kp51 | 18:49 |
DocScrutinizer05 | I honestly don't get the catch how ATAG needs battery removal to recover | 18:51 |
DocScrutinizer05 | is a reboot not even executing bootloader at all? | 18:51 |
DocScrutinizer05 | (a sidenote without hope for answer, since I'm afk now) | 18:52 |
Pali | freemangordon, merlin1991, any clue why ubifs cannot be mounted? | 18:53 |
merlin1991 | nah | 18:53 |
Pali | I think we are sure now that atags are ok | 18:53 |
Pali | or not? | 18:54 |
merlin1991 | apart from the mem 0 tags they were equal to the ones on stock maemo kernel | 18:54 |
Pali | can you test that uboot which deleting mem 0 again (with removing battery)? | 18:55 |
DocScrutinizer05 | so it's trustzone *again*? | 18:55 |
freemangordon | ubimkvol /dev/ubi0 -m -N rootfs? | 18:55 |
merlin1991 | DocScrutinizer05: actually for ie -11 it's enough if I let if fail the first boot and just boot again | 18:55 |
Pali | DocScrutinizer05, what from trustzonoe? | 18:55 |
* DocScrutinizer05 recalls some TZ related method to (write/rw-)lock NAND partitions | 18:56 | |
Pali | is this info/code public? | 18:56 |
freemangordon | Pali: merlin1991: atags are ordered in a different way | 18:56 |
DocScrutinizer05 | probably only get reset by full reboot (security shit) | 18:56 |
Pali | freemangordon, order is not important | 18:57 |
Pali | and order in omap table is same | 18:57 |
freemangordon | opam yes | 18:57 |
freemangordon | *omap | 18:57 |
Pali | but working version has also different order | 18:58 |
_PanzerSajt | Pali, what was the problem with my paste? | 18:58 |
freemangordon | Pali: ok | 18:58 |
Pali | _PanzerSajt, no | 18:58 |
Pali | _PanzerSajt, we did not find where is problem yet... | 18:58 |
_PanzerSajt | oh sorry | 18:58 |
_PanzerSajt | can I help you in any way? | 18:58 |
merlin1991 | ubifs_get_sb cannot open "ubi0:rootfs" error -19 | 18:59 |
merlin1991 | Pali: ^^ with the patched u-boot that only has one mem atag | 18:59 |
Pali | same here: http://imageshack.us/a/img839/674/img2012100611100165.jpg | 19:00 |
Pali | this is screen by _PanzerSajt | 19:00 |
merlin1991 | I'd love to see the part about avaiable partitions | 19:00 |
merlin1991 | :D | 19:00 |
Pali | and this is last unpatched version of u-boot | 19:00 |
Pali | there is no available partition | 19:01 |
_PanzerSajt | Pali, how can I flash the original kernel and/or u-boot | 19:01 |
_PanzerSajt | but only kernel not the full rootfs | 19:02 |
merlin1991 | _PanzerSajt: you can get the Fiasco image and flash with "flasher-3.5 -F $fiascoimage -f --flash-only=kernel | 19:02 |
freemangordon | merlin1991: is there any way to see kernel cmdline? | 19:02 |
merlin1991 | Pali: did you possibly update your arm compiler or binutils between 11 and 12 ? | 19:03 |
Pali | no, because I compiled both version today | 19:03 |
Pali | on same pc with same tools | 19:03 |
DocScrutinizer05 | merlin1991: see my urgent suggestion about DOUBLEcheck | 19:03 |
* merlin1991 starts to seriously wonder WHY 11 works and 12 not | 19:04 | |
DocScrutinizer05 | maybe we're down to *real* bughunting now, means "find the fangling mempointer" | 19:04 |
DocScrutinizer05 | dangling* | 19:04 |
DocScrutinizer05 | inser one char into a version string that only gets printed out -> no more work | 19:05 |
DocScrutinizer05 | real fun | 19:05 |
Pali | merlin1991, can you give me (again) link for atags from -11 and atags from -12 | 19:05 |
_PanzerSajt | reflashing kernel only --> bootloop | 19:06 |
merlin1991 | err did you kill the modules? | 19:06 |
merlin1991 | did you use the right fiasco image? | 19:06 |
freemangordon | Pali: are we sure nand is powered up? | 19:06 |
_PanzerSajt | the fiasco image is the right one | 19:06 |
Pali | freemangordon, both version -11 and -12 does not have nand code enabled | 19:07 |
merlin1991 | _PanzerSajt: which version is the fiasco image? | 19:07 |
Pali | onenand code is enabled in -15 (= last version) | 19:07 |
freemangordon | Pali: naah, i meant the power to the chip | 19:07 |
Pali | merlin1991, I have something... | 19:07 |
Pali | last version has included onenand support | 19:07 |
merlin1991 | ... | 19:07 |
Pali | you can read something from nand | 19:07 |
Pali | in uboot console | 19:07 |
Pali | can you try if it works? | 19:08 |
merlin1991 | sure | 19:08 |
merlin1991 | how? | 19:08 |
Pali | there should be command onennad | 19:08 |
_PanzerSajt | merlin1991, RX-51_2009SE_20.2010.36-2_PR_COMBINED_MR0_ARM.bin | 19:08 |
merlin1991 | hm that's the right one | 19:08 |
freemangordon | Pali: did you do make clean? | 19:08 |
freemangordon | for -12 | 19:09 |
Pali | yes | 19:09 |
Pali | dpkg-buildpackage build it in separate dir | 19: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 device | 19:09 |
merlin1991 | Pali: so I should use -15 and see if I can use onennand ? | 19:10 |
_PanzerSajt | merlin1991, sure what is the exact command? | 19:10 |
Pali | merlin1991, yes | 19:10 |
merlin1991 | flasher-3.5 -F u-boot-11.fiasco -f -R | 19:10 |
kerio | hm, i realized that i don't need bluetooth DUN at all | 19:10 |
kerio | and i'd rather have bluetooth PAN working | 19:10 |
kerio | but it's a fucking mess | 19:10 |
kerio | as vi_ once said | 19:10 |
merlin1991 | hm onenand info gives me "onenand0" | 19:11 |
Pali | onenand --help | 19:12 |
Pali | or something | 19:12 |
_PanzerSajt | merlin1991, still no good | 19:13 |
Pali | merlin1991, in uboot is also support for ubifs, but due to big size is disabled | 19:13 |
Pali | I can enabled it, but image will be without stock kernel | 19:13 |
merlin1991 | Pali: the usage info is so obscure, that I don't know what I should use :D | 19:14 |
Pali | _PanzerSajt, maybe you have corrupted rootfs/maemo5 | 19:14 |
Pali | merlin1991, i will run uboot in qemu and look at it | 19:14 |
DocScrutinizer05 | usage info? onenand? where? how? | 19:15 |
merlin1991 | DocScrutinizer05: in uboot | 19:15 |
DocScrutinizer05 | aaah | 19:15 |
DocScrutinizer05 | uBoot, the wanna-be-OS | 19:15 |
DocScrutinizer05 | ;-) | 19:16 |
RST38h | wait until they stop supporting the actual boot of the other OSes =) | 19:16 |
DocScrutinizer05 | hehehehehe | 19:16 |
DocScrutinizer05 | lol | 19:16 |
DocScrutinizer05 | wait until they integrate systemd | 19:17 |
RST38h | will probably say that people who want to boot other OSes are "not their target audience, uboot is not for them" | 19:17 |
DocScrutinizer05 | actually uBoot and systemd should go together nicely, regarding this attitude ;-) | 19:17 |
DocScrutinizer05 | if uBoot was any "sane", they already had included proper DOS shell ;-P | 19:18 |
_PanzerSajt | I'm giving up. Have to reflash whole emmc, but not anytime soon | 19:19 |
DocScrutinizer05 | uh? | 19:19 |
merlin1991 | DocScrutinizer05: it's still way better than multiboot ;) | 19:20 |
DocScrutinizer05 | will reflashing COMBINEd not suffice? | 19:20 |
DocScrutinizer05 | merlin1991: no doubt | 19:20 |
_PanzerSajt | but I prefer clean installation | 19:20 |
DocScrutinizer05 | then yes, you're in for full reflash | 19:20 |
*** m4g0g has joined #maemo | 19:20 | |
_PanzerSajt | and I don't have anything important on my n900 | 19:21 |
m4g0g | hi | 19:21 |
* DocScrutinizer05 is afk again | 19:21 | |
m4g0g | Is there sombody who developed something for n900? | 19:21 |
*** valdyn has quit IRC | 19:22 | |
merlin1991 | m4g0g: quite a few in here developed *something* for n900 | 19:23 |
RST38h | like, an "unhealthy affection" for example... | 19:23 |
kerio | :3 | 19:23 |
kerio | it's not unhealthy! | 19:24 |
m4g0g | I try to develop one app for n900 and have question: how to test project via qt-creator which depends on library | 19:24 |
m4g0g | when I try to run app from qt-creator on my n900 I get: | 19:25 |
merlin1991 | m4g0g: you can install the library to the madde sysroot | 19:25 |
m4g0g | dpkg-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 |
m4g0g | dh_shlibdeps: command returned error code 512 | 19:25 |
m4g0g | make: *** [binary-arch] Error 1 | 19:25 |
merlin1991 | if you want to test on device you can simply create an overrides file for shlibdpes | 19:26 |
* merlin1991 checks how that worked | 19:26 | |
kerio | RST38h: it's hard not to feel affection for the best phone ever made | 19:26 |
RST38h | see? that is what I mean | 19:26 |
freemangordon | merlin1991: any chance to capture boot video? | 19:27 |
m4g0g | Is there any howtos or manual about this magic with "creating an overrides file for shlibdpes" ? | 19:27 |
RST38h | m4g0g: Do not use qt-creator. Use command line. | 19:27 |
merlin1991 | m4g0g: there is http://man.he.net/man1/dpkg-shlibdeps | 19:27 |
RST38h | Also, do not use Madde. Use MaemoSDK | 19:27 |
freemangordon | merlin1991: to see what cmdline tries kernel to execute and what mtd devices it sees | 19:27 |
m4g0g | RST38h: what do you mean? | 19:27 |
RST38h | I mean what I have said. | 19:27 |
merlin1991 | m4g0g: and http://www.debian.org/doc/debian-policy/ch-sharedlibs.html#s-sharedlibs-shlibdeps | 19:28 |
*** FlameReaper has joined #maemo | 19:28 | |
*** valdyn has joined #maemo | 19:29 | |
merlin1991 | m4g0g: basically it's enough to have a shlibs.local file in your packaging dir (qt_packaging_something) with the name of the library in it | 19:29 |
merlin1991 | it tells dpkg-shlibdpes to ignore all dependencies for this library | 19:30 |
merlin1991 | obviously not the "right way (tm)" but good enough for quick tests | 19:30 |
merlin1991 | m4g0g: so in your case you need to have libkqoauth in your shlibs.local file | 19:31 |
freemangordon | merlin1991: ? | 19:31 |
merlin1991 | freemangordon: I'll try | 19:31 |
*** shamus has quit IRC | 19:34 | |
merlin1991 | freemangordon: well: http://cdnm.at/~christian/maemo/12100003.mp4 | 19:34 |
freemangordon | :) | 19:35 |
*** shamus has joined #maemo | 19:35 | |
Pali | freemangordon, what about start patching kernel? | 19:36 |
Pali | prink everyhwere where is return -ESOMETHING in ubifs | 19:36 |
Pali | merlin1991, just for test, can you try to boot kernel-power? | 19:36 |
merlin1991 | hehe have to install that first :D | 19:37 |
merlin1991 | Pali: which package did adjust the bootscript to use uname -a for the modules dir? | 19:39 |
Pali | kernel-power (-flasher maybe?) | 19:40 |
freemangordon | merlin1991: this video is missing first line from boot process :( | 19:41 |
freemangordon | *lines | 19:41 |
freemangordon | can we get dmesg somehow? | 19:41 |
*** fredrinLap has joined #maemo | 19:42 | |
Pali | freemangordon, connect to serial console and set that R&D flag which route dmesg output to serial consle... | 19:42 |
Pali | or start patching kernel... | 19:42 |
freemangordon | Pali: and serial console is under the battery? | 19:42 |
freemangordon | port even | 19:43 |
Pali | freemangordon, no idea... | 19:43 |
Pali | I'm using it in qemu | 19:43 |
kerio | but that's cheating! | 19:43 |
merlin1991 | okay kp51 installed, reflashing u-boot | 19:45 |
merlin1991 | nope does not work | 19:46 |
*** DocScrutinizer05 has quit IRC | 19:46 | |
*** DocScrutinizer06 has joined #maemo | 19:47 | |
*** rcg has joined #maemo | 19:48 | |
freemangordon | Pali: can you do some memcmp between nolo passed atags and uboot atags? and print differences | 19:50 |
Pali | diff is ok | 19:50 |
Pali | binary dump I do not have | 19:50 |
freemangordon | in uboot code | 19:51 |
*** sq-one has quit IRC | 19:51 | |
Pali | freemangordon, not easy | 19:51 |
Pali | because atags must start at one address | 19:51 |
freemangordon | can't you dup nolo atags to some buffer | 19:52 |
m4g0g | merlin1991: so. I add this line in shlibs.local : libkqoauth 0 kqoauth | 19:52 |
merlin1991 | you sure the library version is 0 ? | 19:53 |
m4g0g | install libkqoauth-0.96 on n900 | 19:53 |
m4g0g | http://codepad.org/Le3tfJl6 | 19:53 |
m4g0g | but got this error | 19:53 |
* freemangordon is afk | 19:54 | |
merlin1991 | just build it with the line lbkqoauth (nothign else) in shlibs.local | 19:55 |
merlin1991 | m4g0g: how did you install the lib on the n900? | 19:55 |
merlin1991 | via apt / dpkg or just dropped the binary? | 19:55 |
*** eMHa has quit IRC | 19:56 | |
m4g0g | apt-get install libkqoauth | 19:56 |
freemangordon | libkqoauth-dev? | 19:56 |
m4g0g | you think I need dev? | 19:56 |
merlin1991 | WTF | 19:56 |
merlin1991 | there is kqoauth and libkqoauth in extras-devel | 19:56 |
merlin1991 | lol | 19:56 |
m4g0g | no | 19:56 |
m4g0g | libkqouath and libqoauth | 19:57 |
merlin1991 | m4g0g: well if you install libkqoauth your shlinbs.local file should be libkqoauth 0 libkqoauth | 19:57 |
m4g0g | yep | 19:57 |
merlin1991 | and not only kqoauth in the end | 19:57 |
m4g0g | I am testing | 19:57 |
merlin1991 | just sayin: http://maemo.org/packages/view/kqoauth/ and http://maemo.org/packages/view/libkqoauth/ | 19:58 |
merlin1991 | The same guy! repacakged a higher version in a different package name | 19:58 |
merlin1991 | wtf! | 19:58 |
m4g0g | thx | 19:59 |
m4g0g | all works fine | 19:59 |
m4g0g | merlin1991: there is different packages | 19:59 |
m4g0g | the second depends on qca2 | 19:59 |
m4g0g | but the first doesn't | 19:59 |
*** _rd has quit IRC | 20:02 | |
*** otep has quit IRC | 20:03 | |
*** otep has joined #maemo | 20:03 | |
*** Tofe1 has joined #maemo | 20:04 | |
*** Tofe1 has left #maemo | 20:04 | |
*** FIQ|n900 has quit IRC | 20:05 | |
*** hardaker has joined #maemo | 20:17 | |
*** em has quit IRC | 20:19 | |
*** FlameReaper has quit IRC | 20:21 | |
*** DHR has joined #maemo | 20:24 | |
DocScrutinizer06 | Pali: 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 solution | 20:27 |
Pali | merlin1991, can you test this uboot image? http://atrey.karlin.mff.cuni.cz/~pali/u-boot/u-boot-new.bin | 20:27 |
*** emma has joined #maemo | 20:27 | |
Pali | (it is not fiasco! but kernel) | 20:28 |
merlin1991 | arf I just booted into windows | 20:28 |
* merlin1991 reboots | 20:28 | |
*** emma is now known as em | 20:29 | |
Pali | this is my last version + I disabled generating atags code - it reuse full from nolo | 20:29 |
Pali | so you can boot only maemo | 20:29 |
merlin1991 | why "only" maemo? | 20:30 |
Pali | because it pass all atags from nolo | 20:30 |
merlin1991 | and other kernels don't like that? | 20:30 |
Pali | not possible to modify it (e.g cmdline...) | 20:30 |
merlin1991 | oh | 20:30 |
Pali | I need to know if problem is in that code (which generating atags) or not | 20:31 |
DocScrutinizer06 | ARF | 20:31 |
Pali | thats all what can I do... | 20:31 |
merlin1991 | that new one is entirely broken, I don't get past the Nokia text | 20:32 |
*** Zahra has joined #maemo | 20:32 | |
merlin1991 | actually the stock kernel refues to boot now too | 20:33 |
Pali | I included MAG kernel with framebuffer | 20:34 |
merlin1991 | i never get to the bootmenu | 20:34 |
Pali | ah... | 20:34 |
Pali | ok, I will patch -15 | 20:34 |
merlin1991 | might have been a weird issue though | 20:35 |
merlin1991 | I flashed the zImage and it didn't get past Nokia text either | 20:35 |
merlin1991 | then pulled the battery for a longer time and it works | 20:35 |
merlin1991 | flashing your u-boot again | 20:35 |
Pali | and booting atatched kernel? | 20:37 |
merlin1991 | nah, seems like my inital statement was right, I don't get past the nolo screen with this version of uboot | 20:38 |
*** vi__ has joined #maemo | 20:39 | |
*** Milhouse has joined #maemo | 20:39 | |
Pali | merlin1991, try this: http://atrey.karlin.mff.cuni.cz/~pali/u-boot/u-boot-new2.fiasco | 20:39 |
Pali | it is -15 with disabled atags generating | 20:40 |
merlin1991 | same kernel panic | 20:42 |
Pali | so atags are OK for sure! | 20:43 |
Pali | freemangordon, DocScrutinizer06, ^^^ | 20:43 |
DocScrutinizer06 | hmm | 20:43 |
merlin1991 | where the fuck is the problem then? the diff 11 to 12 wasn't exactly huge | 20:44 |
* DocScrutinizer06 doesn't know what to say or what to do | 20:44 | |
DocScrutinizer06 | happy dangling pointer hunting! ;-P | 20:44 |
*** eMHa has joined #maemo | 20:46 | |
DocScrutinizer06 | it's already time for advanced bisecting then, commenting out 50% of the already small (aiui) patch that makes diff between 11 and 12 | 20:46 |
vi__ | yo | 20:48 |
DocScrutinizer06 | if 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 is | 20:48 |
* vi__ PPSSSSHHHT | 20:48 | |
* vi__ cracks a beer | 20:48 | |
vi__ | peanut butter and jelly time? | 20:48 |
merlin1991 | DocScrutinizer06: what time would that be, grab your hair dance around and light the n900 on fire time? | 20:48 |
DocScrutinizer06 | good plan | 20:49 |
DocScrutinizer06 | nah | 20:49 |
DocScrutinizer06 | happy dangling pointer hunting! ;-P | 20:49 |
kerio | ohai vi__ | 20:49 |
DocScrutinizer06 | time | 20:49 |
vi__ | yo | 20:49 |
merlin1991 | the weirdest thing is, that it works on 2101 | 20:49 |
kerio | vi__: found a sensible way to do PAN? | 20:49 |
DocScrutinizer06 | hmm | 20:49 |
*** timeless_ has quit IRC | 20:49 | |
vi__ | no, I am fixing motorcycles this weekend. | 20:50 |
kerio | hm | 20:50 |
DocScrutinizer06 | so maybe the dangling pointer nukes something along proper setup of NAND RAM banks? | 20:50 |
vi__ | brb, BT KB | 20:50 |
*** timeless_ has joined #maemo | 20:50 | |
vi__ | kerio: bt pan. | 20:54 |
kerio | bt pan. | 20:54 |
vi__ | what I want is an IP network over BT. | 20:55 |
vi__ | d | 20:55 |
Pali | merlin1991, try this: http://atrey.karlin.mff.cuni.cz/~pali/u-boot/u-boot-new3.fiasco | 20:55 |
vi__ | ffs btkb suck my nuts | 20:55 |
Pali | it has also disabled thumb code + disabled unused code (which was used for generating omap atags) | 20:56 |
kerio | vi__: there's a pc-connectivity-manager that fucks with your bluetooth but gives you a PAN, in theory | 20:56 |
Sicelo | o | 20:57 |
*** flo_lap is now known as florian | 20:59 | |
*** narcos has joined #maemo | 20:59 | |
vi__ | ffs | 21:00 |
vi__ | goddamit | 21:00 |
vi__ | jesus titty fucking christ | 21:00 |
vi__ | POS bt keyboard | 21: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__ | FML | 21:01 |
vi__ | how do you reset the keyboard geometry | 21:03 |
kerio | hahahaha | 21:03 |
kerio | setxkbsomething | 21:03 |
kerio | that's what you get for not using a HID keyboard and not using extkbd | 21:03 |
vi__ | setxkbmap | 21:03 |
freemangordon | vi__: never ever execute setxkbmap | 21:04 |
kerio | ...wat | 21:04 |
freemangordon | it screwes internal kbd layout | 21:04 |
kerio | ...WAT | 21:04 |
freemangordon | kerio: ^^^ | 21:04 |
kerio | i used to do that all the time when i were remapping my kbd | 21:04 |
vi__ | setxkbmap only sets keymap, not the geometry. | 21:04 |
*** fredrinLap has quit IRC | 21:04 | |
freemangordon | vi__: have in mind I am axtkbd author ;) | 21:04 |
freemangordon | and I played a lot with this stuff | 21:05 |
freemangordon | *extkbd | 21:05 |
vi__ | freemangordon: what hal magic must I execute to get my kb back? | 21:05 |
freemangordon | vi__: which one? external or internal | 21:05 |
freemangordon | iirc there should be hildonsetxkbmap or something | 21:06 |
vi__ | n900 keyboard | 21:06 |
Pali | there is control panel applet for it | 21:06 |
freemangordon | Pali: what now, it is not atags? | 21:06 |
Pali | freemangordon, waiting for merlin result | 21:06 |
freemangordon | vi__: yeah, cpl should do the job too | 21:07 |
vi__ | n900 keyboard is now mapped the same as my external bt keyboard | 21:07 |
freemangordon | paroneayea: ok | 21:07 |
Pali | I need last test from merlin1991 | 21:07 |
freemangordon | vi__: that is because of setxkbmap | 21:07 |
freemangordon | Pali: ^^^ | 21:07 |
Pali | freemangordon, problem is not in atag struture | 21:07 |
Pali | it is ok | 21:08 |
freemangordon | yeah, i got that | 21:08 |
Pali | but problem can be in other code... | 21:08 |
freemangordon | overwriting some nand init data | 21:08 |
freemangordon | ? | 21:08 |
Pali | do not know... | 21:08 |
Pali | ping merlin1991 | 21:08 |
freemangordon | but seems logical | 21:08 |
Pali | are you here? | 21:08 |
vi__ | kerio: does geyes 308e look any good? | 21:09 |
freemangordon | obviously merlin1991 is not here :D | 21:11 |
merlin1991 | I need a few mins :D | 21:11 |
Pali | ok :-) | 21:11 |
*** dafox has quit IRC | 21:11 | |
vi__ | so i have to reboot to reset kb geometry. | 21:13 |
vi__ | ffs | 21:13 |
vi__ | f everything. | 21:13 |
freemangordon | Pali: is reuse_atags call needed? | 21:14 |
Pali | yes, because this is used for bootreason, bootmode and hwrev | 21:15 |
freemangordon | scratch that | 21:15 |
freemangordon | yeah, | 21:15 |
Pali | but I builded last image which has commented that code | 21:15 |
freemangordon | Pali: hmm, recursion? | 21:16 |
freemangordon | is that allowed? | 21:16 |
*** vi__ has quit IRC | 21:16 | |
Pali | no | 21:16 |
Pali | it will failed to boot and uboot will freeze | 21:16 |
freemangordon | aah, my bad, reuse_atags calls reuse_omap_atags, not itself | 21:17 |
*** vi__ has joined #maemo | 21:17 | |
vi__ | kerio: look up 'geyes 308e' | 21:17 |
*** shanttu has quit IRC | 21:18 | |
vi__ | kerio: have you installed libicd-network-dummy? | 21:18 |
vi__ | ke | 21:18 |
*** shanttu has joined #maemo | 21:18 | |
vi__ | I installed pc-connectivity-manager but I have literally no idea htf to work it. | 21:19 |
freemangordon | vi__: iirc it is broken on fremantle | 21:20 |
vi__ | PC-C-M? | 21:20 |
merlin1991 | Pali: still same bug | 21:20 |
Pali | :-( | 21:20 |
*** alehorst has quit IRC | 21:21 | |
Sicelo | vi__: i have libicd-network-null | 21: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 |
Sicelo | something's wrong with your setup.. | 21:24 |
kerio | vi__: damn, that's one sexy keyboard | 21:24 |
Sicelo | :-/ | 21:24 |
kerio | are 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 |
kerio | oh, you don't have it | 21:25 |
kerio | :c | 21: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 IRC | 21:26 | |
kerio | In Theoryâ„¢ installing extkbd will make HID bluetooth keyboards work flawlessly | 21:27 |
vi__ | ...I have extkb installed for my SPP. | 21:27 |
kerio | huh? why? | 21:27 |
vi__ | It does not work without extkb. | 21:27 |
kerio | i didn't know extkbd supported them | 21:27 |
vi__ | it does not | 21:28 |
kerio | oh, but you also have to run kbdd manually, right | 21:28 |
kerio | or whatever the daemon is called | 21:28 |
vi__ | yes | 21:28 |
vi__ | like a fucking dog | 21:28 |
kerio | haha | 21:28 |
vi__ | xterm is the only APPZ i need. | 21:29 |
kerio | no, HID keyboards appear in the extkbd list and you connect to them via the standard bluetooth menu | 21:29 |
vi__ | the SPP KB appears as 'ser keyboard' in extkb. | 21:29 |
vi__ | I assume ser=serial. | 21:29 |
kerio | oh, ok | 21:29 |
kerio | so what's the problem? | 21:29 |
vi__ | my geometry goes to cock. | 21:30 |
kerio | just like yer mom herp derp | 21:30 |
vi__ | my n900 KB takes obn the ext kb geometry and nothing works. | 21:30 |
vi__ | aaah. | 21:30 |
freemangordon | Pali: are you sure your build tree is ok? | 21:30 |
vi__ | you win this round... | 21:30 |
kerio | do you do any manual setting with setxkbmap? | 21:30 |
Pali | yes | 21:30 |
vi__ | nope | 21:31 |
kerio | hm | 21:31 |
kerio | \_o_/ | 21:31 |
freemangordon | Pali: if all of the code is commented, I don;t see why it shouldn't work | 21:31 |
freemangordon | merlin1991: 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 |
Pali | freemangordon, here is patch agains git: http://pastebin.com/mgBTwgiE | 21:33 |
vi__ | kerio: do you use pastebinit? | 21:34 |
kerio | no | 21:35 |
vi__ | oh well. | 21:35 |
kerio | Pali: hmm, that won't work | 21:35 |
kerio | unless you manually checked for the lack of nested comments | 21:36 |
kerio | use #if 0 | 21:36 |
freemangordon | Pali: what about die_id and cpuinfo? | 21:36 |
kerio | that can be nested | 21:36 |
Pali | it is only print someting... | 21:36 |
freemangordon | it is possible those are messing the rings | 21:36 |
freemangordon | I know | 21:36 |
freemangordon | but still | 21:36 |
vi__ | to anyone who uses pastebinit on their n900, the deb from the debian sid repo installs. This fixes the breakage with pastebin.com | 21:37 |
Pali | dieid_num_r() is in -11 too | 21:37 |
Pali | print_cpuinfo() is only in -12 | 21:37 |
*** Milhouse has quit IRC | 21:37 | |
freemangordon | comment that | 21:37 |
*** sirdancealot has quit IRC | 21:38 | |
*** sirdancealot7 has joined #maemo | 21:40 | |
DocScrutinizer06 | kerio: hah, nested comments :-D Something I appreciated in modula | 21:40 |
DocScrutinizer06 | iirc | 21:40 |
Pali | updated: http://atrey.karlin.mff.cuni.cz/~pali/u-boot/u-boot-new3.fiasco | 21:41 |
Pali | merlin1991 ^^ | 21:41 |
vi__ | is there a KB key to go from tasknav to the desktop? | 21:41 |
merlin1991 | sry Pali can't test it now | 21:42 |
Pali | ok | 21:42 |
merlin1991 | hm wait if I grab my notebook I could | 21:42 |
kerio | vi__: it can be configured to use ctrl+bksp to do that too | 21:42 |
* merlin1991 goes searching | 21:42 | |
kerio | *h-d | 21:42 |
DocScrutinizer06 | kerio: but indeed #if 0 are nice to use for that | 21:42 |
kerio | :3 :3 :3 | 21:42 |
DocScrutinizer06 | ??? | 21:43 |
kerio | i got my ass bitten more than once for disabling code with /* */ | 21:43 |
DocScrutinizer06 | :-/ :-S :-\ | 21:43 |
kerio | because there *was* a multiline comment inside | 21:43 |
DocScrutinizer06 | haha | 21:43 |
vi__ | kerio: lol | 21:44 |
DocScrutinizer06 | general rule: don't span comments over several lines, NEVAR | 21:44 |
vi__ | I enjoy ctrl+bckspace as alt-tab too much. | 21:44 |
kerio | but that clashes with the general rule of wrapping lines at 79chars | 21:44 |
DocScrutinizer06 | how's that? | 21:45 |
kerio | you have to make big comments on a single line | 21:45 |
DocScrutinizer06 | /* you can comment*/ | 21:45 |
DocScrutinizer06 | /*as many lines as you want*/ | 21:45 |
kerio | oic | 21:45 |
kerio | how will that help with disabling code via /* */? | 21:46 |
*** narcos has quit IRC | 21:46 | |
vi__ | How well does android use an external KB? | 21:46 |
*** NIN101 has quit IRC | 21:47 | |
kerio | well, the droid/milestone has a physical kbd | 21:47 |
Pali | merlin1991, you must write that now uboot is working!! | 21:47 |
Pali | :D | 21:47 |
kerio | Pali: even if it was a lie? | 21:47 |
vi__ | also, who will trade me 2 mint condition n900 for an n950? | 21:48 |
vi__ | d | 21:48 |
vi__ | WTF | 21:48 |
vi__ | s | 21:48 |
vi__ | so i have just isolated the bug. | 21:48 |
kerio | vi__: i will trade you two mints | 21:48 |
*** NIN101 has joined #maemo | 21:48 | |
vi__ | The BT KB only works properly when the n900 KB is open... | 21:49 |
kerio | haha | 21:49 |
kerio | neat | 21:49 |
kerio | i *did* hear something like that, yeah | 21:49 |
merlin1991 | Pali: same old :/ | 21:49 |
vi__ | OH | 21:49 |
vi__ | NOW YOU SAY. | 21:49 |
kerio | well it didn't do shit for me | 21:50 |
vi__ | yeah | 21:50 |
kerio | so i classified that under "tmo advice" | 21:50 |
vi__ | you with yopur magic HID keyboard | 21:50 |
kerio | u jelly | 21:50 |
vi__ | all working keys and blowjobs. | 21:50 |
kerio | and to be fair, two greenfn+key combos don't work | 21:51 |
kerio | the ones for € and for yen | 21:51 |
Pali | freemangordon, I do not know where is problem... | 21:51 |
vi__ | brb' need moar booze. | 21:52 |
Pali | I'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 well | 21:52 |
Pali | today was epic fail :-( | 21:52 |
jacekowski | freemangordon: ? | 21:52 |
vi__ | Pali: no it was not. | 21:53 |
kerio | yeah, 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 |
Pali | I eliminated everything | 21:53 |
kerio | cool, so now you don't have any problems left | 21:54 |
Pali | and still uboot not working... | 21:54 |
kerio | no, uboot is eliminated too | 21:54 |
kerio | >:D | 21:54 |
DocScrutinizer06 | Pali: see backscroll, all my comments about dangling pointers | 21:55 |
DocScrutinizer06 | Pali: absolutely not anything unheard | 21:55 |
DocScrutinizer06 | Pali: arbitrary change in code triggers sleeping bug elsewhere | 21:56 |
DocScrutinizer06 | pointer pointing to random location, nuking different shit in every new build | 21: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 |
DocScrutinizer06 | Pali: alas this class of bugs is almost impossible to track down | 21:57 |
DocScrutinizer06 | Pali: try lint etc | 21:57 |
DocScrutinizer06 | try proper warning settings with gcc | 21:58 |
Pali | another option, merlin1991, can you compile uboot on your pc? | 21:58 |
merlin1991 | not atm, tomorrow | 21:59 |
Pali | ok | 21:59 |
Pali | freemangordon, what about start patching kernel ubi driver? | 21:59 |
Pali | I do not see what we can do next... | 22:00 |
DocScrutinizer06 | probably won't lead to anywhere, since whatever the culprit, the result -19 in ubi driver is a lateral effect I'd bet | 22:01 |
kerio | valgrind dat shit | 22:01 |
DocScrutinizer06 | but yeah, we should do it nevertheless | 22:01 |
*** _PanzerSajt has quit IRC | 22:03 | |
freemangordon | jacekowski: 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 it | 22:03 |
DocScrutinizer06 | Pali: 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 edit | 22:03 |
Sicelo | it 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 does | 22:03 |
Sicelo | so it does seem plausible that kernel itself is source of problem, i think | 22:04 |
freemangordon | jacekowski: http://pastebin.com/8LpMQmQ6 | 22:04 |
freemangordon | jacekowski: ARM mode inline assembly is the original code | 22:05 |
freemangordon | jacekowski: 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 way | 22:06 |
freemangordon | Pali: I have 2204 here, tomorrow will start to play with u-boot. is everything commited? | 22:07 |
Pali | I did not commited any code | 22:07 |
Pali | seems that my last change working only in qemu | 22:07 |
Pali | (I rewritten assembler code, but on merlin device not worked) | 22:08 |
freemangordon | can you do the, do some "2204bug" branch so I can clone it | 22:08 |
freemangordon | s/the/this/ | 22:08 |
infobot | freemangordon meant: can you do this, do some "2204bug" branch so I can clone it | 22:08 |
Pali | freemangordon, use branch pali | 22:09 |
Pali | + maybe above patch from pastebin which disable anything... | 22:09 |
*** hardaker has quit IRC | 22:11 | |
freemangordon | Pali: ok | 22:12 |
merlin1991 | hehe, I should just send my device to pali via parcel :P | 22:13 |
*** Venemo_N9 has joined #maemo | 22:13 | |
Pali | there is one someting: NOLO loading kernel image at some random address (is different in qemu and on my n900) | 22:14 |
DocScrutinizer06 | merlin1991: RDP | 22:14 |
Pali | and uboot loading kernel at same address always | 22:14 |
DocScrutinizer06 | or was it RDA? | 22:14 |
DocScrutinizer06 | Pali: brilliant spotting | 22:15 |
kerio | freemangordon: why do you go back to .arm at some point? | 22:16 |
Pali | so maybe nolo on other hwrev loading kernel at some other address to fix something... | 22:16 |
DocScrutinizer06 | are you sure it's even uBoot that fails, and *not* kernel during early init phase? | 22:17 |
Pali | I really do not know where is problem... | 22:17 |
Pali | we have uboot image which working | 22:18 |
merlin1991 | that's -11 :D | 22:18 |
DocScrutinizer06 | maybe the dangling pointer is in kernel, and uBoot found a nice (and constant) addr to load kernel where it always crashes | 22:18 |
Pali | and with some changes not working (-12) | 22:18 |
Pali | u-boot always loading kernel at 80008000 | 22:18 |
Sicelo | DocScrutinizer06: +1 | 22:18 |
Pali | but when you buidling uImage, you can specify different address | 22:19 |
DocScrutinizer06 | so next step already clear, no? | 22:19 |
Pali | DocScrutinizer06, so write other address where to load kernel | 22:20 |
DocScrutinizer06 | buold a supposedly not working 12 rev, and change that location to something slightly different | 22:20 |
Pali | DocScrutinizer06, I think we should need why ubi failed | 22:21 |
Pali | it is because ubi cannot read nand memory? | 22:21 |
Pali | or it is because that it read something different? | 22:21 |
Pali | (e.g signature not correct?) | 22:21 |
*** _PanzerSajt has joined #maemo | 22:21 | |
Pali | or it fail because nand is locked? | 22:22 |
DocScrutinizer06 | yep | 22:22 |
_PanzerSajt | Pali, still no soulion? | 22:22 |
_PanzerSajt | *solution? | 22:22 |
Pali | or because ubi want to allocate big memory and it is not possible? (uboot bad initialized ram) | 22:22 |
DocScrutinizer06 | _PanzerSajt: this is a nasty one | 22:22 |
DocScrutinizer06 | Pali: or simply because somebody nuked a few bytes in variables or program text RAM area of ubi | 22:23 |
*** hardaker has joined #maemo | 22:24 | |
Pali | DocScrutinizer06, kernel image before is started was OK | 22:24 |
Pali | uboot checking for checksum if is correct before booting image | 22:24 |
*** mvp_ has quit IRC | 22:24 | |
Pali | uImage is zImage + info about load address + checksum + name + ... | 22:24 |
Pali | so we are sure that uboot does not deleted/changed attached kernel image | 22:25 |
DocScrutinizer06 | Pali: I talked about kernel nuking itself | 22:25 |
Pali | ok | 22:25 |
DocScrutinizer06 | but then the -19 is from uBoot ubi AIUI | 22:26 |
DocScrutinizer06 | ? | 22:26 |
DocScrutinizer06 | is it? | 22:26 |
_PanzerSajt | Pali, 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 |
Pali | DocScrutinizer06, yes | 22:26 |
DocScrutinizer06 | if not, then we don't know if uBoot is any bad | 22:26 |
merlin1991 | check my nick ;) | 22:26 |
DocScrutinizer06 | while I'm like 3 times as old | 22:27 |
DocScrutinizer06 | so 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're | 22:27 |
_PanzerSajt | I hope that I can measure my knowledge | 22:28 |
_PanzerSajt | but this year I have to apply to university and I would like to choose which is suitable for me | 22:29 |
DocScrutinizer06 | Pali: ((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 loaded | 22:30 |
DocScrutinizer06 | s/loaded/loaded+started/ | 22:30 |
infobot | DocScrutinizer06 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 loaded | 22: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 :P | 22:31 |
_PanzerSajt | yes but you should collet as many knowledge as you can when you're young | 22:31 |
DocScrutinizer06 | definitely | 22:31 |
DocScrutinizer06 | where knowledge here means useful knowledge, the ability to solve problems, strategies for doing so. A particular language is the useless class of knowledge | 22:33 |
DocScrutinizer06 | learning about concept of multitasking or OO is useful | 22:33 |
DocScrutinizer06 | coding something in assembler first, then do same thing in a high level language, that's useful | 22:34 |
*** messerting has joined #maemo | 22:34 | |
DocScrutinizer06 | learning about structures is useful | 22:34 |
*** muelli has quit IRC | 22:34 | |
jacekowski | to be honest, i'm not a big fan of inline assembly | 22:35 |
DocScrutinizer06 | jacekowski: doesn't matter in this special case | 22:36 |
jacekowski | but well, | 22:36 |
DocScrutinizer06 | he just asked for a review | 22:36 |
_PanzerSajt | DocScrutinizer06, yes multitasking and assembly these are just big question marks for me | 22:36 |
_PanzerSajt | :( | 22:36 |
DocScrutinizer06 | in yur age I started learning about that stuff | 22:37 |
*** VDVsx has quit IRC | 22:37 | |
DocScrutinizer06 | Pali: wait, what now was that -19 ubi error? | 22:40 |
kerio | DocScrutinizer06: yeah, but you're ooooooooold | 22:40 |
*** DocScrutinizer06 is now known as DocScrutinizer05 | 22:40 | |
jacekowski | freemangordon: where that code came from? | 22:40 |
Pali | DocScrutinizer05, error is here: http://imageshack.us/a/img839/674/img2012100611100165.jpg | 22:41 |
DocScrutinizer05 | was it "uBoot: ubi -19, can't load kernel" or was it "kernel: -19 can't mount rootfs" ? | 22:41 |
kerio | the kernel is already loaded at that point, clearly | 22:41 |
Sicelo | the latter iirc.. | 22:42 |
DocScrutinizer05 | so it *may* be a bug aka dangling pointer in _kernel_ | 22:42 |
Sicelo | it says 'Kernel panic, not syncing.. | 22:42 |
Sicelo | Nemo guys fixed this in their kernel.. which never booted with this uboot until the very latest one | 22:43 |
DocScrutinizer05 | I read "please append a correct 'root=' boot option" | 22:43 |
jacekowski | freemangordon: it looks ok, | 22:44 |
DocScrutinizer05 | sounds to me like kernel cmdline is incorrect | 22:44 |
Sicelo | it does say that too | 22:44 |
Sicelo | let me get the full ine | 22:44 |
jacekowski | freemangordon: switch to ARM is ok, and then switch back to thumb is ok | 22:45 |
jacekowski | freemangordon: other than that it's the same code | 22:46 |
*** _rd has joined #maemo | 22:46 | |
DocScrutinizer05 | I see "ubifs error -19" which is before that root= error | 22:46 |
kerio | why do we need inline ASM there? | 22:46 |
jacekowski | freemangordon: though, i'm not sure how GCC is dealing with it | 22:46 |
*** Psotnick_ has joined #maemo | 22:47 | |
Sicelo | yes | 22:47 |
DocScrutinizer05 | ubifs_get_sb: -19 | 22:47 |
Sicelo | kernel panics because it can't mount that | 22:47 |
*** flx_ has joined #maemo | 22:47 | |
DocScrutinizer05 | anybody looked into ubifs_get_sb and checked what -19 means? | 22:48 |
Pali | DocScrutinizer05, cmdline is included in zImage | 22:48 |
Pali | uboot not adding any commandline | 22:48 |
Pali | for maemo kernel | 22:48 |
_PanzerSajt | Pali, DocScrutinizer05 thanks for the help and good luck with u-boot ;) | 22:48 |
DocScrutinizer05 | :-) | 22:48 |
jacekowski | freemangordon: i would run it through disassembler to confirm that gcc is not making a mess out of it, but other than that, it looks ok | 22:49 |
_PanzerSajt | bye | 22:49 |
DocScrutinizer05 | good advice | 22:49 |
*** fortytwo- has joined #maemo | 22:49 | |
*** _PanzerSajt has quit IRC | 22:49 | |
*** ShadowJK_ has joined #maemo | 22:50 | |
*** sandst1 has joined #maemo | 22:50 | |
*** eqs has joined #maemo | 22:50 | |
*** MikaT_ has joined #maemo | 22:51 | |
DocScrutinizer05 | find the line with prink(*"cannot open* in ubifs_get_sb | 22:51 |
*** Plnt_ has joined #maemo | 22:51 | |
DocScrutinizer05 | check what error=-19 means | 22:51 |
*** Venemo_N9 has quit IRC | 22:52 | |
Pali | #define ENODEV 19 | 22:52 |
Pali | in errno.h | 22:52 |
DocScrutinizer05 | it's not the definition that counts, but the few lines of code before the ubifs_get_sb(){...} decides to printk(... ENODEV...) | 22:53 |
Pali | NIN101, it is possible to use maemo kernel with your rescue os? | 22:54 |
NIN101 | hmm | 22:54 |
*** Mohammad- has joined #maemo | 22:54 | |
freemangordon | jacekowski: it is berkeley db | 22:55 |
Pali | maybe we should try to boot maemo kernel with initfs and here try to mount ubifs manually | 22:55 |
*** uen has quit IRC | 22:55 | |
*** flux has quit IRC | 22:55 | |
*** fortytwo has quit IRC | 22:55 | |
*** MikaT has quit IRC | 22:55 | |
*** Psotnick has quit IRC | 22:55 | |
*** sandst1_ has quit IRC | 22:55 | |
*** kabtoffe_ has quit IRC | 22:55 | |
*** felipe` has quit IRC | 22:55 | |
*** Scorcerer has quit IRC | 22:55 | |
*** MohammadAG has quit IRC | 22:55 | |
*** niwakame|away has quit IRC | 22:55 | |
*** ShadowJK has quit IRC | 22:55 | |
*** Wnt has quit IRC | 22:55 | |
*** EgS has quit IRC | 22:55 | |
*** phryk has quit IRC | 22:55 | |
*** Plnt has quit IRC | 22:55 | |
*** Luke-Jr has quit IRC | 22:55 | |
*** Jade has quit IRC | 22:55 | |
*** basiaf has quit IRC | 22:55 | |
*** rosseaux has quit IRC | 22:55 | |
*** jhb has quit IRC | 22:55 | |
*** archeyDevil has quit IRC | 22:55 | |
*** Jaffa has quit IRC | 22:55 | |
*** GuySoft has quit IRC | 22:55 | |
*** odin_ has quit IRC | 22:55 | |
*** lbt has quit IRC | 22:55 | |
*** peetah has quit IRC | 22:55 | |
*** X-Fade has quit IRC | 22:55 | |
*** fortytwo- is now known as fortytwo | 22:55 | |
freemangordon | i.e. adressbook db | 22:55 |
Pali | and rescue os is good candicate | 22:55 |
*** flx_ is now known as flux | 22:55 | |
DocScrutinizer05 | sounds like a smart plan | 22:55 |
*** Scorcere1 has joined #maemo | 22:56 | |
*** Luke-Jr has joined #maemo | 22:56 | |
*** Jade has joined #maemo | 22:56 | |
*** basiaf has joined #maemo | 22:56 | |
*** rosseaux has joined #maemo | 22:56 | |
*** alehorst has joined #maemo | 22:56 | |
*** jhb has joined #maemo | 22:56 | |
*** archeyDevil has joined #maemo | 22:56 | |
*** Jaffa has joined #maemo | 22:56 | |
*** GuySoft has joined #maemo | 22:56 | |
*** odin_ has joined #maemo | 22:56 | |
*** lbt has joined #maemo | 22:56 | |
*** peetah has joined #maemo | 22:56 | |
*** X-Fade has joined #maemo | 22:56 | |
*** Zahra has quit IRC | 22:56 | |
NIN101 | I am not sure, maybe it even is. | 22:56 |
freemangordon | jacekowski: (as you see)this part is mutex stuff, so I should be extremely careful with it :) | 22:56 |
freemangordon | damn netsplit :( | 22:56 |
DocScrutinizer05 | still i'd first look up in sourcecode what exactly failed to cause this -19/ENODEV error to get thrown | 22:56 |
freemangordon | jacekowski: I run that through IDA and all sems well, I just need someone to reasure me it is fine :D | 22:58 |
vi__ | gtg gn all. | 22:58 |
vi__ | :q | 22:58 |
*** vi__ has quit IRC | 22:58 | |
DocScrutinizer05 | o/ | 22:58 |
*** LjL has quit IRC | 22:59 | |
*** antero has quit IRC | 22:59 | |
Pali | http://mxr.maemo.org/fremantle/source/kernel/fs/ubifs/super.c#2004 | 23:00 |
Pali | DocScrutinizer05 ^^ | 23:00 |
DocScrutinizer05 | hah, I was just searching | 23:00 |
*** Scorcere1 has quit IRC | 23:00 | |
*** Luke-Jr has quit IRC | 23:00 | |
*** Jade has quit IRC | 23:00 | |
*** basiaf has quit IRC | 23:00 | |
*** rosseaux has quit IRC | 23:00 | |
*** Scorcere1 has joined #maemo | 23:01 | |
*** Luke-Jr has joined #maemo | 23:01 | |
*** Jade has joined #maemo | 23:01 | |
*** basiaf has joined #maemo | 23:01 | |
*** rosseaux has joined #maemo | 23:01 | |
Pali | and it returns from http://mxr.maemo.org/fremantle/source/kernel/fs/ubifs/super.c#1847 | 23:01 |
DocScrutinizer05 | http://mxr.maemo.org/fremantle/source/kernel/fs/ubifs/super.c#1800 | 23:02 |
DocScrutinizer05 | yeah | 23:02 |
DocScrutinizer05 | seems I looked at this one before | 23:02 |
DocScrutinizer05 | same issue | 23:02 |
DocScrutinizer05 | several months ago | 23:02 |
freemangordon | Pali: most probably oneNAND is not loaded | 23:03 |
freemangordon | thus mtd does not exists | 23:03 |
Pali | and 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#249 | 23:03 |
*** Psotnick_ is now known as Psotnick | 23:04 | |
*** Psotnick has quit IRC | 23:04 | |
*** Psotnick has joined #maemo | 23:04 | |
Pali | I think it failing somewhere here: http://mxr.maemo.org/fremantle/source/kernel/drivers/mtd/ubi/kapi.c#102 | 23:06 |
freemangordon | Pali: ubi = ubi_get_device(ubi_num);? | 23:08 |
Pali | only here is ubi code assining non null value: http://mxr.maemo.org/fremantle/source/kernel/drivers/mtd/ubi/build.c#888 | 23:10 |
Pali | btw, in dmesg we should see this output: http://mxr.maemo.org/fremantle/source/kernel/drivers/mtd/ubi/build.c#867 | 23:11 |
*** dhbiker has joined #maemo | 23:11 | |
*** VDVsx has joined #maemo | 23:11 | |
*** VDVsx has quit IRC | 23:11 | |
DocScrutinizer05 | http://mxr.maemo.org/fremantle/source/kernel/fs/ubifs/super.c#1847 -> http://mxr.maemo.org/fremantle/source/kernel/drivers/mtd/ubi/kapi.c#211 | 23:13 |
DocScrutinizer05 | so yeah, | 23:13 |
DocScrutinizer05 | and I got a so terrible deja-vu, I have to stop this immediately | 23:13 |
Pali | DocScrutinizer05, it is possible to export tty console via USB? | 23:13 |
DocScrutinizer05 | theoretically yes | 23:13 |
*** hardaker has quit IRC | 23:14 | |
Pali | g_nokia.ko can do it | 23:14 |
DocScrutinizer05 | iirc OM FR uBoot worked like that | 23:14 |
Pali | I remember that it working | 23:14 |
Pali | Uboot can export console via usb too... but there is problem that kernel musb driver crashing if uboot enabled that usb console | 23:14 |
Pali | so I disabled tty console in uboot | 23:15 |
DocScrutinizer05 | sure, we wanna debig kernel anyway | 23:15 |
DocScrutinizer05 | so no use in uBoot console | 23:15 |
Pali | it is possible to compile g_nokia into kernel image and set default output to usb console tty? | 23:15 |
DocScrutinizer05 | kernel usually does that via cmdline parameter | 23:16 |
Pali | console=tty<something> | 23:16 |
DocScrutinizer05 | :nod: | 23:16 |
DocScrutinizer05 | ttyACM or whatever | 23:16 |
Pali | but what will kernel do if driver g_nokia is not loaded? | 23:17 |
kerio | FUCK | 23:17 |
kerio | i can't sync via bluetooth anymore | 23:17 |
DocScrutinizer05 | I don't think this works via g_nokia | 23:17 |
kerio | what the fucking fuck | 23:17 |
*** valdyn has quit IRC | 23:17 | |
DocScrutinizer05 | it's a genuine kernel thing | 23:18 |
DocScrutinizer05 | musb_hdrc is monolithic | 23:18 |
*** brzys has quit IRC | 23:18 | |
DocScrutinizer05 | the "console tty" probably is just an EndPoint on a standard ENUM session on USB, established by musb_hdrc and relatives | 23:19 |
Pali | merlin1991, freemangordon, can you try (maybe next day) to start rescue os, but with maemo kernel? | 23:19 |
Pali | it needs to repack initrd image (add maemo kernel modules) | 23:20 |
Pali | and try to mount ubifs rootfs here | 23:20 |
Pali | and see full dmesg! | 23:20 |
*** brzys has joined #maemo | 23:20 | |
Pali | I think this is key for problem | 23:20 |
DocScrutinizer05 | we 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 |
DocScrutinizer05 | or I'm losing my mind | 23:23 |
Pali | DocScrutinizer05, I think I remember something... | 23:23 |
Pali | somebody wrote about non bootable maemo kernel... | 23:23 |
Pali | so it was this uboot problem too... | 23:24 |
*** hardaker has joined #maemo | 23:24 | |
DocScrutinizer05 | :nod: | 23:24 |
Pali | this appeared in uboot 2012.04 so 6 month ago | 23:24 |
DocScrutinizer05 | :nod: | 23:24 |
kerio | GAAAAAAAAAAAAAH WHAT THE FUCK IS WRONG WITH THIS | 23:25 |
DocScrutinizer05 | ouch my ears | 23:26 |
kerio | the syncml is listed in sdptool | 23:26 |
DocScrutinizer05 | ??? | 23:27 |
kerio | all of a sudden, isync doesn't work | 23:27 |
kerio | (contacts/calendar synchronization via bluetooth syncml) | 23:27 |
DocScrutinizer05 | *burp* | 23:27 |
DocScrutinizer05 | CSSU-T ? | 23:27 |
kerio | no modifications lately | 23:27 |
DocScrutinizer05 | *shrug* | 23:28 |
DocScrutinizer05 | then I'm out now | 23:28 |
kerio | i can restore an old backup, but i literally made no modifications to bluetooth or syncing since there | 23:29 |
kerio | *then | 23:29 |
*** valdyn has joined #maemo | 23:29 | |
shamus | people still use the n900? i have not touched me n800 in ages. sucks that nokia basicly let the n900 just up and die | 23:29 |
*** jhb has quit IRC | 23:30 | |
*** Rqper has joined #maemo | 23:30 | |
*** hardaker has quit IRC | 23:31 | |
SpeedEvil | I'm using mine regularly for poscass | 23:31 |
Skry | I'm using it as my primary phone | 23:32 |
shamus | I use my n800 as a clock. leave good old xdial clock runnign 24/7 | 23:32 |
SpeedEvil | I recently moved my landline to my n900. | 23:33 |
*** dhbiker has quit IRC | 23:33 | |
SpeedEvil | for some defintions anyway | 23:34 |
SpeedEvil | 'primary calling phone that presents a geographic I'd' | 23:34 |
kerio | oh ok, apparently bluetooth-dun is required to make isync realize that it's talking to a n900 | 23:34 |
kerio | shamus: it's my primary (and only) phone, and i recently bought a second n900 to replace the first | 23:35 |
*** dhbiker has joined #maemo | 23:35 | |
shamus | how are the specs? i always thouhg the older n800 and n810 were underpowered | 23:35 |
kerio | bad-ish | 23:36 |
kerio | too little ram | 23:36 |
kerio | but every other "smartphone" sucks balls | 23:36 |
shamus | true all smartphones suck | 23:36 |
shamus | persionaly i still use dumbphones | 23:37 |
shamus | and an android tablet | 23:37 |
kerio | yeah, android sucks too | 23:37 |
shamus | ics is not that bad have yet to try jellybean | 23:37 |
kerio | shamus: ever tried using fremantle for a while? | 23:37 |
shamus | but i wil admit the premison system sucks balls | 23:38 |
shamus | nope | 23:38 |
shamus | my tab came preloaded with ice cream samwitch | 23:38 |
kerio | i'd grab a used n900 if you can spare a bit of cache | 23:38 |
kerio | *cash | 23:38 |
shamus | im guessign they have slowly droped in cost due to there age | 23:39 |
kerio | yeah, you can grab one for 100-150<currency> | 23:39 |
teotwaki | apparently, you've dropped spelling due to age as well? | 23:40 |
shamus | still shoked me how much amazon riped me off on the n800 when i got it. was about 2 years ago and still about 120 ush | 23:40 |
shamus | was pissed that the n900 cam out less then a few months after i got my n800 | 23:41 |
shamus | but i was already passed the return period | 23:41 |
SpeedEvil | I have a nexus 7, running jellybean. | 23:42 |
SpeedEvil | it annoys me constantly with the subtle breakages. | 23:42 |
*** konelix has quit IRC | 23:42 | |
*** messerting has quit IRC | 23:44 | |
teotwaki | I've been lobbying the company to get me a Note 2 | 23:44 |
kerio | haha | 23:44 |
kerio | lobby for a n900! | 23:45 |
teotwaki | I've got 3 N900s | 23:45 |
teotwaki | they're way underpowered. | 23:45 |
kerio | :c | 23:45 |
teotwaki | doens't the note 2 have 10 times the amount of ram of an n900? | 23:45 |
DocScrutinizer05 | beowulf FTW ;-P | 23:45 |
kerio | it's also about 10 times as bulky | 23:46 |
kerio | >:C | 23:46 |
kerio | and yeah, ram is a big issue on the n900 | 23:47 |
kerio | cssu-thumb helps, though | 23:47 |
DocScrutinizer05 | get another 20 N900 and you blow your scrubby Note2 outa the water | 23:47 |
DocScrutinizer05 | ;-) | 23:47 |
kerio | DocScrutinizer05: get another 20 N900s so you can try resoldering more RAM on one | 23:47 |
teotwaki | DocScrutinizer05: you mean in power requirements? | 23:47 |
DocScrutinizer05 | haha | 23:47 |
DocScrutinizer05 | kerio: toldya there's no way to solder more RAM to N900 | 23:48 |
kerio | you can desolder the ram that's already there though | 23:48 |
DocScrutinizer05 | unless you build a piggyback board | 23:49 |
shamus | could 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 home | 23:52 |
shamus | was on hack a day a while back | 23:53 |
*** VDVsx has joined #maemo | 23:54 | |
DocScrutinizer05 | it's still unclear if POP is desolderable at all, or maybe they used a drop of acrylic glue to stick the upper-POP to lowerPOP | 23:55 |
DocScrutinizer05 | after all you wouldn't want the RAM/NAND come off the CPU during reflow ;-P | 23:56 |
DocScrutinizer05 | you rather exploit the MMC bus 1 by adding a mux and place some RAM in parallel to the eMMC | 23:58 |
*** sunny_s has joined #maemo | 23:58 | |
*** VDVsx has quit IRC | 23:58 | |
DocScrutinizer05 | not exactly genuine RAM for what CPU sees of it, but makes for a nice swap I bet | 23:58 |
kerio | DocScrutinizer05: whatevs, just figure out your EE thing and build me a n900 with a quad-core i7 pls | 23:58 |
DocScrutinizer05 | *BURRRP* | 23:59 |
kerio | silly thing: swap on nand | 23:59 |
kerio | would it be possible, somehow? | 23:59 |
shamus | probly not | 23:59 |
teotwaki | to be honest, I have a dual core HT atom CPU, it's not bad. | 23:59 |
kerio | without nuking the nand to shit | 23:59 |
DocScrutinizer05 | not worth it | 23:59 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!