IRC log of #maemo for Wednesday, 2015-12-23

*** odin_ has joined #maemo00:00
Vajbor that integrated messenger?00:01
*** Pali has quit IRC00:09
*** Pali has joined #maemo00:23
*** peterleinchen has joined #maemo00:23
*** Gh0sty has left #maemo00:35
*** Pali has quit IRC00:46
*** Vajb has quit IRC00:55
*** Vajb has joined #maemo00:57
*** peterleinchen has quit IRC00:57
*** M4rtinK has quit IRC01:02
*** vectis3 has quit IRC01:37
*** darkschneider has quit IRC01:38
*** darkschneider has joined #maemo01:39
*** darkschneider has quit IRC01:41
*** Kabouik_ has joined #maemo01:42
*** darkschneider has joined #maemo01:42
*** LjL has quit IRC01:43
*** LjL has joined #maemo01:43
*** Kabouik has quit IRC01:44
*** eijk has quit IRC01:46
*** LjL has quit IRC01:53
*** Kabouik has joined #maemo01:54
*** LjL has joined #maemo01:54
*** Kabouik_ has quit IRC01:56
*** norayr has quit IRC01:58
*** Kabouik_ has joined #maemo02:03
*** louisdk has joined #maemo02:04
*** Kabouik has quit IRC02:06
*** xorly has quit IRC02:08
*** norayr has joined #maemo02:11
*** sunshavi has joined #maemo02:12
*** Kabouik has joined #maemo02:15
*** Kabouik_ has quit IRC02:18
*** pozitrono has quit IRC02:28
*** Natch has quit IRC02:30
*** Kabouik_ has joined #maemo02:31
*** Kabouik has quit IRC02:33
*** Kabouik has joined #maemo02:41
*** Kabouik_ has quit IRC02:43
*** Kabouik_ has joined #maemo02:47
*** Kabouik has quit IRC02:50
*** Kabouik has joined #maemo02:58
*** florian has quit IRC02:59
*** Kabouik_ has quit IRC03:00
*** Kabouik_ has joined #maemo03:04
*** Kabouik has quit IRC03:07
*** Kabouik has joined #maemo03:13
*** Kabouik__ has joined #maemo03:15
*** Kabouik_ has quit IRC03:15
*** Kabouik has quit IRC03:18
*** Kabouik has joined #maemo03:23
*** Kabouik__ has quit IRC03:26
*** Kabouik_ has joined #maemo03:29
*** Kabouik has quit IRC03:32
*** louisdk has quit IRC03:32
*** Kabouik has joined #maemo03:48
*** Kabouik_ has quit IRC03:49
*** norayr has quit IRC03:51
*** norayr has joined #maemo03:54
*** trumee has quit IRC03:58
*** trumee has joined #maemo04:03
*** dos1 has quit IRC04:07
*** dos1 has joined #maemo04:07
*** Kabouik_ has joined #maemo04:11
*** Kabouik has quit IRC04:11
*** Kabouik has joined #maemo04:15
*** Kabouik_ has quit IRC04:18
*** Kabouik_ has joined #maemo04:22
*** Kabouik has quit IRC04:25
*** sunshavi has quit IRC04:32
*** Kabouik has joined #maemo04:36
*** Kabouik_ has quit IRC04:38
*** eMHa_ has joined #maemo04:52
*** Humpelstilzchen has quit IRC04:54
*** eMHa has quit IRC04:56
*** Defiant has joined #maemo04:57
*** sunshavi has joined #maemo06:11
*** DocScrutinizer05 has quit IRC06:14
*** DocScrutinizer05 has joined #maemo06:14
*** pozitron has joined #maemo06:43
*** Roth has joined #maemo06:56
*** jake42 has quit IRC07:02
*** jake42 has joined #maemo07:02
*** sunshavi has quit IRC07:34
*** N-Mi has quit IRC08:22
*** vahe has joined #maemo08:29
*** Natch has joined #maemo08:50
*** norayr has quit IRC08:51
*** Roth has quit IRC08:54
*** sparetire_ has quit IRC08:58
*** ceene has joined #maemo09:03
*** futpib has joined #maemo09:20
*** dcentral has joined #maemo09:31
*** darkschneider has quit IRC09:42
*** darkschneider has joined #maemo09:43
*** futpib has quit IRC09:46
*** freemangordon has joined #maemo10:07
*** freemangordon has quit IRC10:08
*** vahe has quit IRC10:32
*** xorly has joined #maemo10:33
*** florian has joined #maemo10:46
*** Pali has joined #maemo10:49
*** florian has quit IRC10:52
*** KotCzarny has quit IRC10:59
*** KotCzarny has joined #maemo11:03
*** xorly has quit IRC11:14
*** freemangordon has joined #maemo11:24
*** pozitron has quit IRC11:28
*** florian has joined #maemo11:40
freemangordonPali: BTW, what was the final decision re ATAGS?11:43
freemangordonI've lost the end of the conversation11:43
Palifreemangordon: 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 stored11:43
freemangordonso it can be dumped to a file on a later stage?11:44
Paliand 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/atags11:44
Palieverything just from rx51 code without touching global arm/boot code11:45
Palibut I did not tried to play with it yet11:45
Palithis solution will be accepted (once somebody write and test it)11:45
*** zGrr has joined #maemo11:46
freemangordonh,, I'll see if I feel relaxed in the incomming holidays, may look at it11:47
zGrrmoin :)11:47
freemangordonPali: does latest n900 kernel on github compiles?12:04
freemangordonand does it have DT enabled?12:04
Palifreemangordon: do not know, I have not updated it for a long time12:05
Palibut I think it should12:05
freemangordonPali: which one to use, 4.2?12:05
Paliprobably last version12:05
freemangordonhmm, seems my CPU heatsink needs to get cleaned :)12:06
freemangordonCPU hit 78 deg while compiling the zImage, before being stopped with ctrl-c :)12:07
zGrrare there any news related to neo900?12:16
zGrri mean, some progress?12:16
*** freemangordon has quit IRC12:20
*** florian has quit IRC12:34
*** eijk has joined #maemo12:35
*** freemangordon has joined #maemo12:38
*** eMHa_ has quit IRC12:44
freemangordonPali: any ide where to put rx51_reserve()? in board-generic.c? in common.c? in pdata-quirks.c?12:54
Palifreemangordon, search for nokia_n900_legacy_init12:54
freemangordonit is in pdata12:55
Paliand for n900_boards_compat12:55
freemangordonit is boards-generic :)12:55
PaliI think reserve memory needs to be instead omap_reserve in "DT_MACHINE_START(OMAP3_N900_DT, "Nokia RX-51 board")"12:55
freemangordonthe point is that - where to put that replacement function12:56
freemangordonin which file12:56
freemangordonI think the best place is board-generic.c, so it can be defined as static, but I see no function definitions in that fil12:57
Paliin my opinion put new function into pdata-quirks.c12:57
freemangordonand declare it where? in common.h?12:57
Paliand assign it to .reserve =12:57
Paliheader file common.h12:58
freemangordonI know where to assign it, but it needs to be extern, not static if defined anywhere outside if board-generic12:58
Paliyes, it must be non-static12:59
Pali"extern" keyword for C function is not needed and is not used12:59
freemangordonbut if it is declared in common.h, whine not define it in common.c then?12:59
Palibecause it is quirkk function13:00
freemangordonso is omap_reserve()13:00
freemangordonwill ask on linux-omap13:00
Palibasically this is n900 specific function and correct place is in pdata-quirks.c13:00
Palibut you must assign pointer to that function in file board-generic.c and that file includes only common.h13:01
freemangordonPali: 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
freemangordonor put it in common.c - if it is declared in common.h13:04
Palithat board-generic.c does not contains board specific functions13:06
Palibut put it here...13:06
freemangordonoh, wait, the *is* at least one function defined in board-generic -   omap_generic_init()13:06
freemangordonbut it contains board specific data, so I'll put it there13:06
Paliomap maintainers will accept it or not13:07
freemangordonPali: do we have atags address and size?13:08
Paliwe have offset13:09
Paliand size shold be smaller then one page13:10
Palimemblock_reserve(PHYS_OFFSET, PAGE_SIZE);13:10
Paliread this thread:
Pali(all messages in "Next by thread" links)13:13
*** florian has joined #maemo13:13
freemangordonPali: already did it, I am in CC on linux-omap ML :)13:27
Paliok :-)13:27
freemangordonbut this memblock API is not very understandable, WTF is the difference between memblock_free and memblock_remove?!?13:28
*** xorly has joined #maemo13:29
*** florian has quit IRC13:29
*** eMHa_ has joined #maemo13:38
*** florian has joined #maemo13:55
*** florian has quit IRC14:03
*** xorly has quit IRC14:06
*** xorly has joined #maemo14:19
*** LauRoman has quit IRC14:21
*** DocScrutinizer05 has quit IRC14:22
*** DocScrutinizer05 has joined #maemo14:22
*** KotCzarny has quit IRC14:26
*** KotCzarny has joined #maemo14:32
*** eijk has quit IRC14:46
*** xorly has quit IRC14:56
*** vahe has joined #maemo15:17
*** Pali has quit IRC15:17
*** Pali has joined #maemo15:31
freemangordonPali: what about copying atags data to some __init structure instead of doing memblock_reserve()?16:03
freemangordonas it turns out, memblock_reserved() memory cannot be given back to the system once  paging_init() is called16:03
Palifreemangordon, you can call directly function save_atags()16:04
freemangordonPali: hmm, tell me then why this is not done yet? I men - I've lost the roots of the problem.16:06
Paliproblem is that I'm not sure if you really can read that memory where are atags stored16:07
Paliif they are not rewritten yet...16:07
freemangordonstatic char __initdata atags_copy[BOOT_PARAMS_SIZE];16:07
Paliyou need to read them before some memory/page init functions are called16:07
freemangordonPali: save_atags is called from setup_machine_tags16:08
Paliyes, but that pointer points to DTS blob!16:08
Palinot to atags memory16:09
freemangordonoh, I see16:10
freemangordonPali: but then, what needs to be done? I mean - DT anyways creates /pros/atags, correct? We can;t overwrite it.16:14
PaliDT does not create /proc/atags16:15
Pali*DT booted kernel16:15
Paliand we want to read ATAGs passed by nolo to kernel also for rx51 device booted in DT mode16:15
freemangordonbut what does  init_atags_procfs then?16:16
Palion DT booted kernel nothing16:16
Palibut if you are using my tree, it contains special patch which store ATAGs into DT structure16:17
Paliand then kernel unpack ATAGs from DT structure and store them into /proc/atags16:17
Palibut this patch was rejected16:17
freemangordonbecause  atags_copy contains nothing?16:17
Palisomething like that16:17
Palido not rememeber exacly16:17
Palisave_atags is not called in DT booted kernel16:18
freemangordonit should be, at least from what I see in the code . unless that if fails16:20
freemangordonI know it is not called with the atags from the bootloader16:21
freemangordonbut still it is called16:21
freemangordonPali: what do you think about ?16:46
*** ced117 has joined #maemo16:46
Palifreemangordon, no need to #ifdef CONFIG_ATAGS_PROC16:56
Palijust include atags.h or kernel/atags.h16:56
freemangordonyou can;t16:57
Palisave_atags() is noop when CONFIG_ATAGS_PROC is not defined16:57
freemangordonwhat needs to be included is ../kernel/atags.h16:57
freemangordonwhich is ugly16:57
freemangordonI know it is noop, but still I define one more static function, which is not needed16:57
Paliif you use function from kernel you should include header file16:58
freemangordonI don;t believe #include "../kernel/atags.h" will be upstreamed :)16:58
Paliwithout correct header too...16:59
Palibetter ask on ML16:59
freemangordonlets see what will say Russell, I'll fix those nits later16:59
Palibut first check if it is working16:59
freemangordonand this is the problem, I don;t have device with booting upstream kernel :)17:00
freemangordoncan I boot qemu to userspace?17:00
freemangordonPali: ^^^17:01
Palismall userspace with busybox is enough17:01
freemangordondo you have something prepared?17:01
PaliI have script which build userspace :-)17:01
Paliand start qemu17:02
freemangordongood for you :)17:02
freemangordoncare to share it?17:02
Paliok, I'm going to clean it and send it to you17:02
Palinow it depends on my PC :-)17:02
freemangordonsend it as well :)17:03
freemangordonPali: don;t hurry, my GF has birthday today, so I don;t think I will have much more time to spend on that today17:04
DocScrutinizer05hi folks17:14
Palifreemangordon: done, see email17:17
*** krnlyng has quit IRC17:18
*** louisdk has joined #maemo17:22
*** krnlyng has joined #maemo17:41
*** RzR has quit IRC17:44
*** RzR has joined #maemo17:44
*** darkschneider has quit IRC17:44
*** darkschneider has joined #maemo17:45
*** vahe has quit IRC18:02
*** vahe has joined #maemo18:02
*** vahe has quit IRC18:05
*** vahe has joined #maemo18:05
*** vahe has quit IRC18:16
*** krnlyng has quit IRC18:53
*** sparetire_ has joined #maemo18:58
*** zGrr has quit IRC19:08
*** realitygaps has quit IRC19:16
*** realitygaps has joined #maemo19:17
*** realitygaps has quit IRC19:17
*** realitygaps has joined #maemo19:17
*** krnlyng has joined #maemo19:35
*** xorly has joined #maemo19:50
*** eMHa_ has quit IRC20:07
*** futpib has joined #maemo20:20
*** louisdk has quit IRC20:29
*** DrCode has quit IRC20:40
*** louisdk has joined #maemo20:44
*** DrCode has joined #maemo20:48
*** xorly has quit IRC21:10
*** eMHa_ has joined #maemo21:23
*** sunshavi has joined #maemo21:27
*** sunshavi has quit IRC21:44
*** sunshavi has joined #maemo22:29
*** florian has joined #maemo22:31
*** enyc has quit IRC22:32
*** enyc has joined #maemo22:36
*** norayr has joined #maemo22:45
*** dcentral has quit IRC22:53
*** jobodoko has joined #maemo22:59
*** sunshavi has quit IRC23:09
*** githogori has quit IRC23:09
*** shentey has joined #maemo23:10
*** shentey has quit IRC23:15
*** shentey has joined #maemo23:16
*** shentey has quit IRC23:20
*** jobodoko has quit IRC23:38
*** Kabouik has quit IRC23:59

Generated by 2.15.1 by Marius Gedminas - find it at!