01:14.24 | *** part/#maemo-ssu freemangordon_ (~freemango@130-204-50-168.2074156771.ddns.cablebg.net) |
02:12.35 | *** join/#maemo-ssu LaoLang_cool (~LaoLang_c@221.226.175.142) |
02:16.17 | *** join/#maemo-ssu wmarone_ (~wmarone@c-67-174-151-253.hsd1.ca.comcast.net) |
02:26.18 | *** join/#maemo-ssu wmarone__ (~wmarone@c-67-174-151-253.hsd1.ca.comcast.net) |
02:30.34 | *** join/#maemo-ssu LaoLang_cool (~LaoLang_c@221.226.175.142) |
03:10.29 | *** join/#maemo-ssu amiconn_ (amiconn@rockbox/developer/amiconn) |
05:33.32 | *** join/#maemo-ssu LaoLang_cool (~LaoLang_c@221.226.175.142) |
06:46.15 | *** join/#maemo-ssu M4rtinK (~M4rtinK@ip-89-102-207-166.net.upcbroadband.cz) |
07:16.05 | *** join/#maemo-ssu bindi__ (~bindi@f430.ip15.netikka.fi) |
07:16.28 | *** join/#maemo-ssu peetah_ (~peetah@cha92-9-82-236-202-86.fbx.proxad.net) |
07:51.24 | *** join/#maemo-ssu freemangordon_ (~freemango@130-204-50-168.2074156771.ddns.cablebg.net) |
08:01.46 | *** part/#maemo-ssu freemangordon_ (~freemango@130-204-50-168.2074156771.ddns.cablebg.net) |
08:05.34 | *** join/#maemo-ssu dafox (~dafox@dyn-194234.nbw.tue.nl) |
08:53.56 | *** join/#maemo-ssu psycho_oreos (~no@unaffiliated/tuxsavvy) |
08:59.41 | *** join/#maemo-ssu trumee_afk (~parul@188-222-165-248.zone13.bethere.co.uk) |
09:00.36 | *** join/#maemo-ssu Pali (~quassel@unaffiliated/pali) |
10:31.00 | *** join/#maemo-ssu lizardo (lizardo@nat/indt/x-oljdsvodjzxugzgr) |
10:34.51 | *** join/#maemo-ssu DocScrutinizer (~halley@openmoko/engineers/joerg) |
10:41.43 | *** join/#maemo-ssu andre__ (~andre@Maemo/community/bugmaster/andre) |
10:49.48 | *** join/#maemo-ssu ekze-nyan (~nyan@bakaekze.ru) |
10:52.51 | *** join/#maemo-ssu ekze_nyan (~nyan@bakaekze.ru) |
11:00.25 | *** join/#maemo-ssu ekze (~nyan@bakaekze.ru) |
11:15.47 | *** join/#maemo-ssu LaoLang_cool (~LaoLang_c@221.226.175.142) |
11:23.22 | *** join/#maemo-ssu lartza_ (~lartza@IP-62-216-117-183.telemail.fi) |
11:59.34 | *** join/#maemo-ssu dafox (~dafox@dyn-194234.nbw.tue.nl) |
12:23.13 | *** join/#maemo-ssu Raimu (~rmaunula@130.231.241.29) |
12:33.45 | *** join/#maemo-ssu M4rtinK (~M4rtinK@eduroam-177.fi.muni.cz) |
12:33.53 | *** join/#maemo-ssu Pali (~quassel@unaffiliated/pali) |
12:37.57 | *** join/#maemo-ssu Pali (~quassel@unaffiliated/pali) |
13:00.42 | *** join/#maemo-ssu Pali (~quassel@unaffiliated/pali) |
13:18.06 | *** join/#maemo-ssu LinuxCode (~LinuxCode@fedora/LinuxCode) |
14:06.36 | *** join/#maemo-ssu mase76 (~mase76@p5DD3BDA9.dip.t-dialin.net) |
14:15.01 | *** join/#maemo-ssu M4rtinK (~M4rtinK@eduroam-177.fi.muni.cz) |
14:17.36 | *** join/#maemo-ssu M4rtinK2 (~M4rtinK@eduroam-177.fi.muni.cz) |
14:33.09 | *** join/#maemo-ssu mase76 (~mase76@p5DD3BDA9.dip.t-dialin.net) |
14:55.23 | *** join/#maemo-ssu Pali (~quassel@unaffiliated/pali) |
15:26.16 | *** join/#maemo-ssu andre__ (~andre@ip-86-49-77-130.net.upcbroadband.cz) |
15:26.16 | *** join/#maemo-ssu andre__ (~andre@Maemo/community/bugmaster/andre) |
16:16.58 | *** join/#maemo-ssu M4rtinK (~M4rtinK@ip-89-102-207-166.net.upcbroadband.cz) |
16:36.22 | *** join/#maemo-ssu mase_76 (~mase76@p5DD39DDA.dip.t-dialin.net) |
16:46.15 | *** join/#maemo-ssu trbs (~trbs@2001:470:d2ad:1:4a5b:39ff:fe7d:1623) |
16:52.18 | Pali | ping merlin1991 |
16:52.28 | merlin1991 | pong |
16:53.15 | Pali | merlin1991, I have program which write kernel version which is flashed into mtd3 |
16:53.28 | Pali | http://atrey.karlin.mff.cuni.cz/~pali/kernel-version.c |
16:54.12 | Pali | it will scan for piggy.gz in zImage format, try to unpack piggy.gz and try to find version string |
16:54.27 | Pali | working with mtd or block device or with regular file |
16:54.52 | Pali | merlin1991, can you test it? |
16:55.08 | merlin1991 | sure |
16:55.27 | Pali | I think this is way how to determinate if user has flashed U-Boot, nokia stock kernel or kernel power |
16:55.28 | merlin1991 | though can you make me an arm build of it? |
16:55.36 | Pali | http://atrey.karlin.mff.cuni.cz/~pali/kernel-version.armel |
16:56.01 | Pali | run as root: ./kernel-version.armel /dev/mtd3ro |
16:56.47 | merlin1991 | Version string not found |
16:57.12 | Pali | can you create dump of your mtd3ro? |
16:58.21 | *** join/#maemo-ssu NIN101 (~NIN@206.253.166.69) |
16:58.31 | merlin1991 | is it safe to just dd if=/dev/mtd3 of=somefile? |
16:58.51 | Pali | yes |
16:59.03 | Pali | better mtd3ro |
16:59.55 | Pali | merlin1991, which kernel version are you using? |
17:00.12 | merlin1991 | power46 from the bleeding edge package |
17:00.40 | merlin1991 | btw are you going to include the "new" driver from lpx1 into powerkernel? |
17:00.57 | Pali | maybe in future in separate package |
17:01.23 | Pali | now problem is that kernel-power v50 is builded but not uploaded from autobuilder to extras-devel :-( |
17:01.51 | merlin1991 | hm it fails aswell with the stock pr 1.3 kernel |
17:02.09 | merlin1991 | ah wait |
17:02.26 | merlin1991 | I don't have the stock kernel here but power46-wl1 again |
17:02.40 | merlin1991 | trying on yet another n900 :D |
17:02.55 | Pali | can you send me dump? |
17:03.10 | merlin1991 | yeah I'm only trying to figure out where I dropped my ssh key :D |
17:03.12 | Pali | it should show version of each zImage kernels |
17:03.16 | Pali | ok |
17:04.38 | merlin1991 | http://188.40.39.11/~christian/maemo/mtd3dump_power46-wl1.bin |
17:05.16 | Pali | Version: 2.6.28.10power46-wl1 |
17:05.21 | Pali | (on x86_64) |
17:05.29 | merlin1991 | I ran it on the device |
17:05.34 | Pali | ok |
17:05.36 | merlin1991 | I'll try to run it against the dump |
17:05.49 | merlin1991 | (on the device again) |
17:06.13 | Pali | Version: 2.6.28.10power46-wl1 |
17:06.16 | Pali | working too |
17:06.34 | Pali | can you try to run: ./kernel-version.armel mtd3dump_power46-wl1.bin |
17:06.46 | merlin1991 | that works |
17:06.55 | merlin1991 | trying again agains /dev/mtd3ro |
17:07.11 | Pali | make sure you are root |
17:07.18 | merlin1991 | I sshed in as root :D |
17:07.33 | merlin1991 | Nokia-N900:~# ./kernel-version.armel /dev/mtd3ro |
17:07.33 | merlin1991 | Version string not found |
17:07.44 | merlin1991 | but |
17:07.45 | merlin1991 | Nokia-N900:~# ./kernel-version.armel mtd3dump_power46-wl1.bin |
17:07.45 | merlin1991 | Version: 2.6.28.10power46-wl1 |
17:08.17 | Pali | I updated armel binary on server |
17:08.29 | Pali | now it show size of file/mtd device |
17:08.52 | Pali | check if size output is same |
17:09.41 | merlin1991 | Size: 2097152 |
17:09.42 | merlin1991 | but still no version info |
17:09.55 | Pali | size is ok |
17:10.02 | merlin1991 | dd also reads same size |
17:10.05 | merlin1991 | ls |
17:10.07 | Pali | I will try to investigate where is problem |
17:10.33 | Pali | program mapping file to memory |
17:10.48 | Pali | so maybe mmap is not working correctly |
17:10.59 | merlin1991 | odd thing is it works against the dd dump |
17:11.13 | merlin1991 | maybe you can't mmap the /dev device? |
17:16.59 | Pali | I will try to find out some more info |
17:17.24 | Pali | at least uncompressing and finding correct version string working |
17:26.18 | *** join/#maemo-ssu freemangordon (freemangor@130-204-50-168.2074156771.ddns.cablebg.net) |
17:28.36 | Pali | merlin1991, I found problem. mmap returning (void *)-1 if failed (not NULL) |
17:28.54 | Pali | and it failed with errno ENODEV |
17:29.10 | Pali | so maybe really mtd dev does not support mmap |