--- Log for 05.08.116 Server: weber.freenode.net Channel: #rockbox --- Nick: logbot Version: Dancer V4.16 Started: 8 hours and 38 minutes ago 00.01.42 # wodz (logs): see http://www.rockbox.org/wiki/IngenicJz4760B for my findings. Summary: this XBurst core is mips32r1 with exra stuff like EBASE and maybe vectored interrupts. But mips32r2 new instructions don't work 00.03.11 Join zoktar [0] (~zoktar@78-70-243-143-no186.tbcn.telia.com) 00.03.11 Quit zoktar (Changing host) 00.03.11 Join zoktar [0] (~zoktar@unaffiliated/zoktar) 00.12.11 Quit zoktar (Ping timeout: 240 seconds) 00.12.47 Quit jtdesigns01 (Ping timeout: 250 seconds) 00.24.43 Quit pamaury (Ping timeout: 258 seconds) 00.24.51 Join pamaury_ [0] (~pamaury@rockbox/developer/pamaury) 00.30.32 Quit edhelas (Ping timeout: 240 seconds) 00.37.16 Join zoktar [0] (~zoktar@78-70-243-143-no186.tbcn.telia.com) 00.37.16 Quit zoktar (Changing host) 00.37.16 Join zoktar [0] (~zoktar@unaffiliated/zoktar) 00.49.37 Quit zoktar (Ping timeout: 250 seconds) 00.51.23 Quit ender` (Quit: Calling ‘atheism’ a religion is like calling ‘bald’ a hair color. — Don Hirschberg) 01.07.03 Quit Bray90820 (Ping timeout: 250 seconds) 01.08.03 Quit ZincAlloy (Quit: Leaving.) 01.21.46 Join jtdesigns01 [0] (~quassel@2601:400:8000:34f5:230:bdff:fe71:cebd) 01.23.09 Join Bray90820 [0] (~bray90820@50-83-212-56.client.mchsi.com) 01.23.14 *** Saving seen data "./dancer.seen" 01.43.46 Quit pamaury_ (Ping timeout: 276 seconds) 02.32.40 Quit Tirifto (Quit: Tirifto) 02.51.05 Quit krabador (Quit: Leaving) 02.53.54 Quit puckipedia (K-Lined) 03.23.16 *** Saving seen data "./dancer.seen" 05.06.17 Join treaki__ [0] (~treaki@p5B11C017.dip0.t-ipconnect.de) 05.09.35 Quit treaki_ (Ping timeout: 244 seconds) 05.23.17 *** Saving seen data "./dancer.seen" 05.47.18 Quit CustosL1men (Ping timeout: 244 seconds) 05.48.55 Join CustosL1men [0] (~CustosLim@unaffiliated/cust0slim3n) 05.59.29 Quit Guest60236 (Read error: Connection reset by peer) 06.04.23 Join CrashBash-Kun [0] (~CrashBash@unaffiliated/crashbash-kun) 06.11.40 Join Guest60236 [0] (~Slayer@c-69-255-136-113.hsd1.va.comcast.net) 06.22.20 Quit CrashBash-Kun (Read error: Connection reset by peer) 06.38.59 Quit alexweissman (Remote host closed the connection) 06.41.17 Join alexweissman [0] (~alexweiss@c-68-51-123-75.hsd1.in.comcast.net) 07.08.52 Quit Guest60236 (Read error: Connection reset by peer) 07.12.33 Quit Bray90820 (Ping timeout: 240 seconds) 07.23.19 *** Saving seen data "./dancer.seen" 07.27.13 Quit alexweissman (Remote host closed the connection) 07.28.30 Join Bray90820 [0] (~bray90820@50-83-212-56.client.mchsi.com) 07.29.35 Quit nlogex (Ping timeout: 250 seconds) 07.42.16 Join JdGordon [0] (~jonno@210-84-48-108.dyn.iinet.net.au) 07.42.16 Quit JdGordon (Changing host) 07.42.16 Join JdGordon [0] (~jonno@rockbox/developer/JdGordon) 07.44.46 Join athidhep [0] (~afoakf@unaffiliated/athidhep) 07.45.38 Quit JdGordon_ (Ping timeout: 258 seconds) 08.06.12 Join edhelas [0] (~edhelas@145.133.43.230) 08.16.14 Quit pixelma (Remote host closed the connection) 08.16.14 Quit amiconn (Remote host closed the connection) 08.16.35 Join pixelma [0] (~pixelma@rockbox/staff/pixelma) 08.16.36 Join amiconn [0] (~amiconn@rockbox/developer/amiconn) 08.18.24 Join JdGordon_ [0] (~jonno@rockbox/developer/JdGordon) 08.20.29 Join ender` [0] (krneki@foo.eternallybored.org) 08.20.57 Quit JdGordon (Ping timeout: 276 seconds) 08.22.46 Join einhirn [0] (~Miranda@bsod.rz.tu-clausthal.de) 08.42.46 Join JdGordon [0] (~jonno@rockbox/developer/JdGordon) 08.46.03 Quit JdGordon_ (Ping timeout: 252 seconds) 08.47.44 Quit JdGordon (Ping timeout: 258 seconds) 08.47.51 Join JdGordon_ [0] (~jonno@rockbox/developer/JdGordon) 08.52.50 Join JdGordon [0] (~jonno@rockbox/developer/JdGordon) 08.53.38 Quit JdGordon_ (Ping timeout: 244 seconds) 08.57.40 Quit JdGordon (Ping timeout: 250 seconds) 09.02.58 Join JdGordon [0] (~jonno@rockbox/developer/JdGordon) 09.03.34 Join lebellium [0] (~chatzilla@89-93-176-213.hfc.dyn.abo.bbox.fr) 09.07.45 Quit JdGordon (Ping timeout: 244 seconds) 09.08.34 Join JdGordon [0] (~jonno@210-84-51-170.dyn.iinet.net.au) 09.08.35 Quit JdGordon (Changing host) 09.08.35 Join JdGordon [0] (~jonno@rockbox/developer/JdGordon) 09.21.29 Join Tirifto [0] (~tirifto@95.85.240.122) 09.22.07 Quit Tirifto (Changing host) 09.22.07 Join Tirifto [0] (~tirifto@unaffiliated/tirifto) 09.23.20 *** Saving seen data "./dancer.seen" 09.50.35 Quit [7] (Ping timeout: 258 seconds) 09.50.51 Join TheSeven [0] (~quassel@rockbox/developer/TheSeven) 10.07.58 Join xorly [0] (~xorly@57.249.broadband3.iol.cz) 10.15.57 Quit xorly (Quit: I quit, that is all) 10.37.10 Join wodz [0] (~wodz@iwl138.internetdsl.tpnet.pl) 10.37.52 Join ZincAlloy [0] (~Adium@2a02:8108:8b80:1700:d11c:15ca:209b:b7ac) 10.54.27 Quit edhelas (Ping timeout: 264 seconds) 11.10.39 Quit lebellium (Ping timeout: 258 seconds) 11.23.23 *** Saving seen data "./dancer.seen" 11.29.40 Join lebellium [0] (~chatzilla@89-93-176-213.hfc.dyn.abo.bbox.fr) 11.35.16 Nick treaki__ is now known as treaki (~treaki@p5B11C017.dip0.t-ipconnect.de) 11.46.23 Quit [Saint] (Remote host closed the connection) 11.47.43 Join [Saint] [0] (~hayden@rockbox/staff/saint) 11.53.22 Join puckipedia [0] (~puck@irc.puckipedia.com) 12.10.57 Join pamaury [0] (~pamaury@rockbox/developer/pamaury) 12.14.25 Join robertd [0] (c9f2b970@gateway/web/freenode/ip.201.242.185.112) 12.31.26 Join paulk-collins [0] (~paulk@gagarine.paulk.fr) 12.40.21 Quit pamaury (Ping timeout: 252 seconds) 13.03.55 Join pamaury [0] (~pamaury@rockbox/developer/pamaury) 13.23.25 *** Saving seen data "./dancer.seen" 13.24.35 Join JdGordon_ [0] (~jonno@rockbox/developer/JdGordon) 13.27.33 Quit JdGordon (Ping timeout: 258 seconds) 13.27.45 Join Guest60236 [0] (~Slayer@c-69-255-136-113.hsd1.va.comcast.net) 13.28.44 Nick Guest60236 is now known as Guinness (~Slayer@c-69-255-136-113.hsd1.va.comcast.net) 13.46.15 Quit Guinness (Read error: Connection reset by peer) 14.09.58 Join treaki_ [0] (~treaki@84.191.35.50) 14.10.23 Quit treaki (Disconnected by services) 14.10.26 Nick treaki_ is now known as treaki (~treaki@84.191.35.50) 14.12.30 Join JanC_ [0] (~janc@lugwv/member/JanC) 14.13.35 Nick JanC is now known as Guest20161 (~janc@lugwv/member/JanC) 14.13.35 Nick JanC_ is now known as JanC (~janc@lugwv/member/JanC) 14.14.39 Quit Guest20161 (Ping timeout: 276 seconds) 14.20.23 Quit wodz (Ping timeout: 276 seconds) 14.46.17 Quit ender` (Quit: The early bird may get the worm, but the second mouse gets the cheese.) 15.23.28 *** Saving seen data "./dancer.seen" 15.29.25 Quit athidhep (Quit: athidhep) 15.36.36 Join krabador [0] (~krabador@unaffiliated/krabador) 15.44.15 Quit Tirifto (Quit: Tirifto) 15.46.37 Join Guinness [0] (~Slayer@c-69-255-136-113.hsd1.va.comcast.net) 15.49.30 Quit Tristitia (Remote host closed the connection) 15.51.24 Join Tristit1a [0] (~tristitia@static-ip-69-64-50-196.inaddr.ip-pool.com) 16.01.21 Join alexweissman [0] (~alexweiss@c-68-51-123-75.hsd1.in.comcast.net) 16.04.08 Join nlogex [0] (~filip@dhcp-108-168-15-53.cable.user.start.ca) 16.07.36 Nick Tristit1a is now known as Tristitia (~tristitia@static-ip-69-64-50-196.inaddr.ip-pool.com) 16.13.41 Quit lebellium (Quit: ChatZilla 0.9.92 [Firefox 47.0.1/20160623154057]) 16.20.33 Quit Guinness (Read error: Connection reset by peer) 16.33.39 Join maruk [0] (~papier@titanium.v6.sdv.fr) 16.59.55 Join athidhep [0] (~afoakf@unaffiliated/athidhep) 17.03.25 Join Guinness [0] (~Slayer@c-69-255-136-113.hsd1.va.comcast.net) 17.14.47 Quit Guinness (Read error: Connection reset by peer) 17.23.29 *** Saving seen data "./dancer.seen" 17.34.55 Join ender` [0] (krneki@foo.eternallybored.org) 17.38.12 Quit krnlyng (Ping timeout: 258 seconds) 17.41.49 Quit einhirn (Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org) 17.42.27 Quit ender| (Quit: The early bird may get the worm, but the second mouse gets the cheese.) 17.42.55 Join ender| [0] (krneki@2a01:260:4094:1:42:42:42:42) 17.50.44 Join krnlyng [0] (~liar@77.116.96.93.wireless.dyn.drei.com) 17.59.29 Quit krabador (Remote host closed the connection) 18.05.01 Quit maruk (Quit: Leaving.) 18.24.29 Join einhirn [0] (~Miranda@p4FC1176F.dip0.t-ipconnect.de) 18.25.19 Join einhirn_ [0] (~Miranda@bsod.rz.tu-clausthal.de) 18.28.40 Quit einhirn (Ping timeout: 250 seconds) 19.18.38 Quit Tristitia (Ping timeout: 260 seconds) 19.20.18 Quit paulk-collins (Quit: Leaving) 19.23.33 *** Saving seen data "./dancer.seen" 19.26.29 Join Tristitia [0] (~tristitia@static-ip-69-64-50-196.inaddr.ip-pool.com) 19.34.12 Quit pamaury (Remote host closed the connection) 19.43.14 Join Guinness [0] (~Slayer@c-69-255-136-113.hsd1.va.comcast.net) 19.44.19 Quit Guinness (Client Quit) 19.44.40 Join Guinness [0] (~Slayer@c-69-255-136-113.hsd1.va.comcast.net) 19.44.47 Quit Tristitia (Ping timeout: 244 seconds) 19.51.27 Join Tristitia [0] (~tristitia@static-ip-69-64-50-196.inaddr.ip-pool.com) 20.03.46 Join Tirifto [0] (~tirifto@95.85.240.122) 20.04.32 Quit Tirifto (Changing host) 20.04.32 Join Tirifto [0] (~tirifto@unaffiliated/tirifto) 20.16.54 Join DarrenRainey [0] (6d92a41c@gateway/web/freenode/ip.109.146.164.28) 20.17.31 Quit DarrenRainey (Client Quit) 20.28.07 Join Chemich [0] (62059504@gateway/web/freenode/ip.98.5.149.4) 20.28.09 Join pamaury [0] (~pamaury@rockbox/developer/pamaury) 20.41.01 # does anyone know what format i need to convert videos to an ipod 5th gen 80gb, looking for a little quick help if anyone has experience in the matter 20.46.28 # Chemich: http://www.rockbox.org/wiki/PluginMpegplayer has all the details 20.51.03 # asking for anyone that has experience that would know, i already looked there it's quite vague 20.52.43 # eh nvm i'll just ask on reddit 20.52.47 Quit Chemich (Quit: Page closed) 21.23.36 *** Saving seen data "./dancer.seen" 21.27.45 # o.O 21.36.46 Quit einhirn_ (Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org) 21.45.05 Quit athidhep (Quit: athidhep) 21.49.52 # does anyone MIPS very well here ? 21.50.00 # *know 22.09.10 Join paulk-aldrin [0] (~paulk@armstrong.paulk.fr) 22.30.18 Quit pamaury (Ping timeout: 258 seconds) 22.30.18 Join pamaury_ [0] (~pamaury@rockbox/developer/pamaury) 22.42.57 Quit robertd (Ping timeout: 250 seconds) 23.02.27 Quit amayer (Quit: Leaving) 23.09.43 Join wodz [0] (~wodz@89-77-223-98.dynamic.chello.pl) 23.10.07 # pamaury_: I can't say I know mips very well but maybe I can help 23.10.37 # wodz: ah good thing that you are here, did you see the logs ? 23.11.00 # about jz4760b yes 23.11.26 # ok, just to show off my findings ;) 23.11.32 # my questions is about the mmu 23.11.43 # and the code in mmu-mips.c in particular 23.11.56 # more precisely this: 23.11.56 # map_address(0x80000000, 0x80000000, 0x4000, K_CacheAttrC); 23.11.56 # map_address(0x80004000, 0x80004000, MEMORYSIZE * 0x100000, K_CacheAttrC); 23.12.12 # the second line maps a multi-megabyte segment 23.12.40 # but from the of map_address and add_wired_entry, I conclude that 1) it only add one wired entry 2) that wired entry uses a 4K page mask 23.12.43 Nick pamaury_ is now known as pamaury (~pamaury@rockbox/developer/pamaury) 23.12.51 # thus I don't understand how/if it works 23.13.29 # let me see 23.13.46 # or maybe there is something special about the TLB that I misunderstood. I was under the impression that the two entries of each TLB entry are adjacent to each other, they don't encode a range right ? 23.14.47 # right 23.14.53 # <__builtin> what thread context is an exit handler in? 23.15.05 # <__builtin> the main thread or the thread that called exit()? 23.16.49 # __builtin: I don't understand your question 23.17.09 # pamaury: IMO this two commented lines doesn't make sense 23.17.51 # <__builtin> what thread 23.18.15 # wodz: ok, some can you confirm something for me then: if I want to map several megabytes of memory, I can use a different pagemask (assuming it is supported by the hardware) like 16MB and putting say 2 wire entry to get 2 times 2x16MB = 64 ? 23.18.40 # pamaury: yes 23.18.59 # __builtin: you mean atexit ? 23.19.23 # <__builtin> yeah 23.19.36 # <__builtin> what thread calls the function specified by atexit 23.19.48 # * pamaury looks 23.20.02 # <__builtin> it seems to me that it's the function that calls exit 23.21.35 # I tink it's the function that calls exit(), or the main thread if the plugin simply returns from main, based on the code in plugin_crt0.c 23.22.28 # <__builtin> that complicates things 23.22.43 # my understanding is that you should always call exit() from the main thread anyway ?! 23.23.22 # (I'm assuming plugins are executed by the main thread) 23.23.37 *** Saving seen data "./dancer.seen" 23.23.47 # <__builtin> yes, but you can create threads in the plugin 23.24.39 # <__builtin> I guess I'll write a replacement exit() with some setjmp() magic 23.25.06 # __builtin: exit already uses setjmp 23.25.20 # using setjmp to jump between sounds like a bad idea 23.25.26 # *between threads 23.26.04 # <__builtin> also, should a plugin kill all of its threads whenever it exits? 23.26.04 # simply uses queue to pass a message, or a global variable 23.26.13 # most probably yes 23.27.19 # <__builtin> I guess I'm Doing it Wrong (TM) 23.28.09 # __builtin: what are you trying to do ? 23.29.15 # <__builtin> I want to securely wipe the stack after running a plugin 23.29.29 Join edhelas [0] (~edhelas@sgd31-2-78-212-63-35.fbx.proxad.net) 23.29.47 # <__builtin> so I'm spawning a thread from the main thread, so I can easily wipe the stack after it's done 23.30.21 # <__builtin> but the exit handler that wipes the stack is called from that thread 23.30.30 # <__builtin> so it essentially wipes its own stack and crashes 23.32.57 # __builtin: just to sure: you spawn a new thread (so you declare its stack as a variable), and after the thread exits, you want to clear its stack right ? Why can't you just clear it from the main plugin thread ? 23.33.47 # ah yes, because we don't any function that tells you if the thread has finished running or not 23.33.52 # *don't have 23.34.00 # <__builtin> well, there is, in a sense 23.34.02 # <__builtin> thread_wait 23.34.16 # <__builtin> but I need it to be in an exit handler so it's called even when USB is connected 23.35.38 # __builtin: what prevents you from (within the exit handler) asking the thread to finish, then waits of it to end, then clean its stack ? I mean you need to kill the thread anyway to exit properly 23.35.52 # otherwise you are leaking a thread right ? 23.37.13 Quit wodz (Quit: Leaving) 23.38.28 # <__builtin> I think I have another solution 23.39.21 # * __builtin can have it replace an exit with a longjmp to the thread entry point, at which point it can end the thread and have the main thread clear the stack 23.45.38 Join JdGordon [0] (~jonno@124-148-186-242.dyn.iinet.net.au) 23.45.38 Quit JdGordon (Changing host) 23.45.38 Join JdGordon [0] (~jonno@rockbox/developer/JdGordon) 23.48.53 Quit JdGordon_ (Ping timeout: 258 seconds) 23.50.12 Quit paulk-aldrin (Remote host closed the connection)