*** odin_ has joined #maemo | 00:00 | |
Vajb | or that integrated messenger? | 00:01 |
---|---|---|
*** Pali has quit IRC | 00:09 | |
*** Pali has joined #maemo | 00:23 | |
*** peterleinchen has joined #maemo | 00:23 | |
*** Gh0sty has left #maemo | 00:35 | |
*** Pali has quit IRC | 00:46 | |
*** Vajb has quit IRC | 00:55 | |
*** Vajb has joined #maemo | 00:57 | |
*** peterleinchen has quit IRC | 00:57 | |
*** M4rtinK has quit IRC | 01:02 | |
*** vectis3 has quit IRC | 01:37 | |
*** darkschneider has quit IRC | 01:38 | |
*** darkschneider has joined #maemo | 01:39 | |
*** darkschneider has quit IRC | 01:41 | |
*** Kabouik_ has joined #maemo | 01:42 | |
*** darkschneider has joined #maemo | 01:42 | |
*** LjL has quit IRC | 01:43 | |
*** LjL has joined #maemo | 01:43 | |
*** Kabouik has quit IRC | 01:44 | |
*** eijk has quit IRC | 01:46 | |
*** LjL has quit IRC | 01:53 | |
*** Kabouik has joined #maemo | 01:54 | |
*** LjL has joined #maemo | 01:54 | |
*** Kabouik_ has quit IRC | 01:56 | |
*** norayr has quit IRC | 01:58 | |
*** Kabouik_ has joined #maemo | 02:03 | |
*** louisdk has joined #maemo | 02:04 | |
*** Kabouik has quit IRC | 02:06 | |
*** xorly has quit IRC | 02:08 | |
*** norayr has joined #maemo | 02:11 | |
*** sunshavi has joined #maemo | 02:12 | |
*** Kabouik has joined #maemo | 02:15 | |
*** Kabouik_ has quit IRC | 02:18 | |
*** pozitrono has quit IRC | 02:28 | |
*** Natch has quit IRC | 02:30 | |
*** Kabouik_ has joined #maemo | 02:31 | |
*** Kabouik has quit IRC | 02:33 | |
*** Kabouik has joined #maemo | 02:41 | |
*** Kabouik_ has quit IRC | 02:43 | |
*** Kabouik_ has joined #maemo | 02:47 | |
*** Kabouik has quit IRC | 02:50 | |
*** Kabouik has joined #maemo | 02:58 | |
*** florian has quit IRC | 02:59 | |
*** Kabouik_ has quit IRC | 03:00 | |
*** Kabouik_ has joined #maemo | 03:04 | |
*** Kabouik has quit IRC | 03:07 | |
*** Kabouik has joined #maemo | 03:13 | |
*** Kabouik__ has joined #maemo | 03:15 | |
*** Kabouik_ has quit IRC | 03:15 | |
*** Kabouik has quit IRC | 03:18 | |
*** Kabouik has joined #maemo | 03:23 | |
*** Kabouik__ has quit IRC | 03:26 | |
*** Kabouik_ has joined #maemo | 03:29 | |
*** Kabouik has quit IRC | 03:32 | |
*** louisdk has quit IRC | 03:32 | |
*** Kabouik has joined #maemo | 03:48 | |
*** Kabouik_ has quit IRC | 03:49 | |
*** norayr has quit IRC | 03:51 | |
*** norayr has joined #maemo | 03:54 | |
*** trumee has quit IRC | 03:58 | |
*** trumee has joined #maemo | 04:03 | |
*** dos1 has quit IRC | 04:07 | |
*** dos1 has joined #maemo | 04:07 | |
*** Kabouik_ has joined #maemo | 04:11 | |
*** Kabouik has quit IRC | 04:11 | |
*** Kabouik has joined #maemo | 04:15 | |
*** Kabouik_ has quit IRC | 04:18 | |
*** Kabouik_ has joined #maemo | 04:22 | |
*** Kabouik has quit IRC | 04:25 | |
*** sunshavi has quit IRC | 04:32 | |
*** Kabouik has joined #maemo | 04:36 | |
*** Kabouik_ has quit IRC | 04:38 | |
*** eMHa_ has joined #maemo | 04:52 | |
*** Humpelstilzchen has quit IRC | 04:54 | |
*** eMHa has quit IRC | 04:56 | |
*** Defiant has joined #maemo | 04:57 | |
*** sunshavi has joined #maemo | 06:11 | |
*** DocScrutinizer05 has quit IRC | 06:14 | |
*** DocScrutinizer05 has joined #maemo | 06:14 | |
*** pozitron has joined #maemo | 06:43 | |
*** Roth has joined #maemo | 06:56 | |
*** jake42 has quit IRC | 07:02 | |
*** jake42 has joined #maemo | 07:02 | |
*** sunshavi has quit IRC | 07:34 | |
*** N-Mi has quit IRC | 08:22 | |
*** vahe has joined #maemo | 08:29 | |
*** Natch has joined #maemo | 08:50 | |
*** norayr has quit IRC | 08:51 | |
*** Roth has quit IRC | 08:54 | |
*** sparetire_ has quit IRC | 08:58 | |
*** ceene has joined #maemo | 09:03 | |
*** futpib has joined #maemo | 09:20 | |
*** dcentral has joined #maemo | 09:31 | |
*** darkschneider has quit IRC | 09:42 | |
*** darkschneider has joined #maemo | 09:43 | |
*** futpib has quit IRC | 09:46 | |
*** freemangordon has joined #maemo | 10:07 | |
*** freemangordon has quit IRC | 10:08 | |
*** vahe has quit IRC | 10:32 | |
*** xorly has joined #maemo | 10:33 | |
*** florian has joined #maemo | 10:46 | |
*** Pali has joined #maemo | 10:49 | |
*** florian has quit IRC | 10:52 | |
*** KotCzarny has quit IRC | 10:59 | |
*** KotCzarny has joined #maemo | 11:03 | |
*** xorly has quit IRC | 11:14 | |
*** freemangordon has joined #maemo | 11:24 | |
*** pozitron has quit IRC | 11:28 | |
*** florian has joined #maemo | 11:40 | |
freemangordon | Pali: BTW, what was the final decision re ATAGS? | 11:43 |
freemangordon | I've lost the end of the conversation | 11:43 |
Pali | freemangordon: looks like via reserve memory hook from arch/arm/mach-omap2 we should be able to prevent linux kernel to overwrite memory where are original ATAGs stored | 11:43 |
freemangordon | so it can be dumped to a file on a later stage? | 11:44 |
Pali | and then from rx51 specific board hook (already have one for emmc and one for thumb2 errata) we should be able to read them and store back to /proc/atags | 11:44 |
Pali | everything just from rx51 code without touching global arm/boot code | 11:45 |
freemangordon | great | 11:45 |
Pali | but I did not tried to play with it yet | 11:45 |
Pali | this solution will be accepted (once somebody write and test it) | 11:45 |
*** zGrr has joined #maemo | 11:46 | |
freemangordon | h,, I'll see if I feel relaxed in the incomming holidays, may look at it | 11:47 |
zGrr | moin :) | 11:47 |
freemangordon | :) | 11:48 |
freemangordon | Pali: does latest n900 kernel on github compiles? | 12:04 |
freemangordon | and does it have DT enabled? | 12:04 |
Pali | freemangordon: do not know, I have not updated it for a long time | 12:05 |
Pali | but I think it should | 12:05 |
freemangordon | ok | 12:05 |
freemangordon | Pali: which one to use, 4.2? | 12:05 |
Pali | probably last version | 12:05 |
freemangordon | ok | 12:06 |
freemangordon | hmm, seems my CPU heatsink needs to get cleaned :) | 12:06 |
freemangordon | CPU hit 78 deg while compiling the zImage, before being stopped with ctrl-c :) | 12:07 |
zGrr | are there any news related to neo900? | 12:16 |
zGrr | i mean, some progress? | 12:16 |
*** freemangordon has quit IRC | 12:20 | |
*** florian has quit IRC | 12:34 | |
*** eijk has joined #maemo | 12:35 | |
*** freemangordon has joined #maemo | 12:38 | |
*** eMHa_ has quit IRC | 12:44 | |
freemangordon | Pali: any ide where to put rx51_reserve()? in board-generic.c? in common.c? in pdata-quirks.c? | 12:54 |
freemangordon | *idea | 12:54 |
Pali | freemangordon, search for nokia_n900_legacy_init | 12:54 |
freemangordon | it is in pdata | 12:55 |
freemangordon | pdata-quirks.c | 12:55 |
Pali | and for n900_boards_compat | 12:55 |
freemangordon | it is boards-generic :) | 12:55 |
freemangordon | *board-generic | 12:55 |
Pali | I think reserve memory needs to be instead omap_reserve in "DT_MACHINE_START(OMAP3_N900_DT, "Nokia RX-51 board")" | 12:55 |
freemangordon | sure | 12:55 |
freemangordon | the point is that - where to put that replacement function | 12:56 |
freemangordon | in which file | 12:56 |
freemangordon | I think the best place is board-generic.c, so it can be defined as static, but I see no function definitions in that fil | 12:57 |
Pali | in my opinion put new function into pdata-quirks.c | 12:57 |
freemangordon | and declare it where? in common.h? | 12:57 |
Pali | and assign it to .reserve = | 12:57 |
Pali | header file common.h | 12:58 |
freemangordon | I know where to assign it, but it needs to be extern, not static if defined anywhere outside if board-generic | 12:58 |
freemangordon | *of | 12:59 |
Pali | yes, it must be non-static | 12:59 |
Pali | "extern" keyword for C function is not needed and is not used | 12:59 |
freemangordon | but if it is declared in common.h, whine not define it in common.c then? | 12:59 |
freemangordon | *while | 12:59 |
freemangordon | shit | 13:00 |
Pali | because it is quirkk function | 13:00 |
freemangordon | WHY | 13:00 |
freemangordon | so is omap_reserve() | 13:00 |
freemangordon | will ask on linux-omap | 13:00 |
Pali | basically this is n900 specific function and correct place is in pdata-quirks.c | 13:00 |
Pali | but you must assign pointer to that function in file board-generic.c and that file includes only common.h | 13:01 |
freemangordon | Pali: but there *is* device specific data in board-generic.c - struct n900_boards_compat, why not define that function there as well. And make it static. | 13:04 |
freemangordon | or put it in common.c - if it is declared in common.h | 13:04 |
Pali | that board-generic.c does not contains board specific functions | 13:06 |
Pali | but put it here... | 13:06 |
freemangordon | oh, wait, the *is* at least one function defined in board-generic - omap_generic_init() | 13:06 |
freemangordon | but it contains board specific data, so I'll put it there | 13:06 |
Pali | omap maintainers will accept it or not | 13:07 |
freemangordon | :nod: | 13:07 |
freemangordon | Pali: do we have atags address and size? | 13:08 |
Pali | we have offset | 13:09 |
freemangordon | 0ь100? | 13:10 |
freemangordon | 0x100? | 13:10 |
Pali | and size shold be smaller then one page | 13:10 |
freemangordon | ok | 13:10 |
Pali | memblock_reserve(PHYS_OFFSET, PAGE_SIZE); | 13:10 |
freemangordon | yeah | 13:10 |
Pali | read this thread: http://www.spinics.net/lists/arm-kernel/msg464340.html | 13:13 |
Pali | (all messages in "Next by thread" links) | 13:13 |
*** florian has joined #maemo | 13:13 | |
freemangordon | Pali: already did it, I am in CC on linux-omap ML :) | 13:27 |
Pali | ok :-) | 13:27 |
freemangordon | but this memblock API is not very understandable, WTF is the difference between memblock_free and memblock_remove?!? | 13:28 |
*** xorly has joined #maemo | 13:29 | |
*** florian has quit IRC | 13:29 | |
*** eMHa_ has joined #maemo | 13:38 | |
*** florian has joined #maemo | 13:55 | |
*** florian has quit IRC | 14:03 | |
*** xorly has quit IRC | 14:06 | |
*** xorly has joined #maemo | 14:19 | |
*** LauRoman has quit IRC | 14:21 | |
*** DocScrutinizer05 has quit IRC | 14:22 | |
*** DocScrutinizer05 has joined #maemo | 14:22 | |
*** KotCzarny has quit IRC | 14:26 | |
*** KotCzarny has joined #maemo | 14:32 | |
*** eijk has quit IRC | 14:46 | |
*** xorly has quit IRC | 14:56 | |
*** vahe has joined #maemo | 15:17 | |
*** Pali has quit IRC | 15:17 | |
*** Pali has joined #maemo | 15:31 | |
freemangordon | Pali: what about copying atags data to some __init structure instead of doing memblock_reserve()? | 16:03 |
freemangordon | as it turns out, memblock_reserved() memory cannot be given back to the system once paging_init() is called | 16:03 |
Pali | freemangordon, you can call directly function save_atags() | 16:04 |
freemangordon | Pali: hmm, tell me then why this is not done yet? I men - I've lost the roots of the problem. | 16:06 |
freemangordon | *mean | 16:06 |
Pali | problem is that I'm not sure if you really can read that memory where are atags stored | 16:07 |
Pali | if they are not rewritten yet... | 16:07 |
freemangordon | static char __initdata atags_copy[BOOT_PARAMS_SIZE]; | 16:07 |
Pali | you need to read them before some memory/page init functions are called | 16:07 |
freemangordon | Pali: save_atags is called from setup_machine_tags | 16:08 |
Pali | yes, but that pointer points to DTS blob! | 16:08 |
Pali | not to atags memory | 16:09 |
freemangordon | oh, I see | 16:10 |
freemangordon | Pali: but then, what needs to be done? I mean - DT anyways creates /pros/atags, correct? We can;t overwrite it. | 16:14 |
Pali | DT does not create /proc/atags | 16:15 |
Pali | *DT booted kernel | 16:15 |
Pali | and we want to read ATAGs passed by nolo to kernel also for rx51 device booted in DT mode | 16:15 |
freemangordon | but what does init_atags_procfs then? | 16:16 |
Pali | on DT booted kernel nothing | 16:16 |
Pali | but if you are using my tree, it contains special patch which store ATAGs into DT structure | 16:17 |
Pali | and then kernel unpack ATAGs from DT structure and store them into /proc/atags | 16:17 |
Pali | but this patch was rejected | 16:17 |
freemangordon | because atags_copy contains nothing? | 16:17 |
Pali | something like that | 16:17 |
Pali | do not rememeber exacly | 16:17 |
Pali | save_atags is not called in DT booted kernel | 16:18 |
freemangordon | it should be, at least from what I see in the code http://lxr.free-electrons.com/source/arch/arm/kernel/atags_parse.c#L227 . unless that if fails | 16:20 |
freemangordon | I know it is not called with the atags from the bootloader | 16:21 |
freemangordon | but still it is called | 16:21 |
freemangordon | Pali: what do you think about http://pastebin.com/MHzUvusK ? | 16:46 |
*** ced117 has joined #maemo | 16:46 | |
Pali | freemangordon, no need to #ifdef CONFIG_ATAGS_PROC | 16:56 |
Pali | just include atags.h or kernel/atags.h | 16:56 |
freemangordon | why? | 16:56 |
freemangordon | you can;t | 16:57 |
Pali | save_atags() is noop when CONFIG_ATAGS_PROC is not defined | 16:57 |
freemangordon | what needs to be included is ../kernel/atags.h | 16:57 |
freemangordon | which is ugly | 16:57 |
freemangordon | I know it is noop, but still I define one more static function, which is not needed | 16:57 |
Pali | if you use function from kernel you should include header file | 16:58 |
freemangordon | I don;t believe #include "../kernel/atags.h" will be upstreamed :) | 16:58 |
Pali | without correct header too... | 16:59 |
Pali | better ask on ML | 16:59 |
freemangordon | lets see what will say Russell, I'll fix those nits later | 16:59 |
Pali | but first check if it is working | 16:59 |
Pali | ok | 17:00 |
freemangordon | and this is the problem, I don;t have device with booting upstream kernel :) | 17:00 |
freemangordon | can I boot qemu to userspace? | 17:00 |
freemangordon | Pali: ^^^ | 17:01 |
Pali | yes | 17:01 |
Pali | small userspace with busybox is enough | 17:01 |
freemangordon | do you have something prepared? | 17:01 |
Pali | I have script which build userspace :-) | 17:01 |
Pali | and start qemu | 17:02 |
freemangordon | good for you :) | 17:02 |
freemangordon | care to share it? | 17:02 |
Pali | ok, I'm going to clean it and send it to you | 17:02 |
Pali | now it depends on my PC :-) | 17:02 |
freemangordon | thanks | 17:02 |
freemangordon | send it as well :) | 17:03 |
freemangordon | Pali: don;t hurry, my GF has birthday today, so I don;t think I will have much more time to spend on that today | 17:04 |
DocScrutinizer05 | hi folks | 17:14 |
Pali | freemangordon: done, see email | 17:17 |
*** krnlyng has quit IRC | 17:18 | |
*** louisdk has joined #maemo | 17:22 | |
*** krnlyng has joined #maemo | 17:41 | |
*** RzR has quit IRC | 17:44 | |
*** RzR has joined #maemo | 17:44 | |
*** darkschneider has quit IRC | 17:44 | |
*** darkschneider has joined #maemo | 17:45 | |
*** vahe has quit IRC | 18:02 | |
*** vahe has joined #maemo | 18:02 | |
*** vahe has quit IRC | 18:05 | |
*** vahe has joined #maemo | 18:05 | |
*** vahe has quit IRC | 18:16 | |
*** krnlyng has quit IRC | 18:53 | |
*** sparetire_ has joined #maemo | 18:58 | |
*** zGrr has quit IRC | 19:08 | |
*** realitygaps has quit IRC | 19:16 | |
*** realitygaps has joined #maemo | 19:17 | |
*** realitygaps has quit IRC | 19:17 | |
*** realitygaps has joined #maemo | 19:17 | |
*** krnlyng has joined #maemo | 19:35 | |
*** xorly has joined #maemo | 19:50 | |
*** eMHa_ has quit IRC | 20:07 | |
*** futpib has joined #maemo | 20:20 | |
*** louisdk has quit IRC | 20:29 | |
*** DrCode has quit IRC | 20:40 | |
*** louisdk has joined #maemo | 20:44 | |
*** DrCode has joined #maemo | 20:48 | |
*** xorly has quit IRC | 21:10 | |
*** eMHa_ has joined #maemo | 21:23 | |
*** sunshavi has joined #maemo | 21:27 | |
*** sunshavi has quit IRC | 21:44 | |
*** sunshavi has joined #maemo | 22:29 | |
*** florian has joined #maemo | 22:31 | |
*** enyc has quit IRC | 22:32 | |
*** enyc has joined #maemo | 22:36 | |
*** norayr has joined #maemo | 22:45 | |
*** dcentral has quit IRC | 22:53 | |
*** jobodoko has joined #maemo | 22:59 | |
*** sunshavi has quit IRC | 23:09 | |
*** githogori has quit IRC | 23:09 | |
*** shentey has joined #maemo | 23:10 | |
*** shentey has quit IRC | 23:15 | |
*** shentey has joined #maemo | 23:16 | |
*** shentey has quit IRC | 23:20 | |
*** jobodoko has quit IRC | 23:38 | |
*** Kabouik has quit IRC | 23:59 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!