Previous day | Jump to hour: 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20 21 22 23 | Next day

Seconds: Show Hide | Joins: Show Hide | View raw
Font: Serif Sans-Serif Monospace | Size: Small Medium Large

Click in the nick column to highlight everything a person has said.
The icon identifies that the person is a core developer (has commit access).

#rockbox log for 2008-04-06

00:00:01 Nick bruges|afk is now known as bruges (n=bruges@e178039202.adsl.alicedsl.de)
00:00:26 Quit fyrestorm (Read error: 104 (Connection reset by peer))
00:00:48 Quit sneeze ("Leaving")
00:01:07 Join fyrestorm [0] (n=fyre@cpe-68-173-163-201.nyc.res.rr.com)
00:01:11toffe82jhMikeS: : found the reset of the usb chip of the S : pin k24 of the imx
00:01:16amiconnHmm, full rebuild didn't help...
00:01:30toffe82theport is the usbotg one
00:01:56 Join CyBergRind|w [0] (n=cbr@212.98.160.130)
00:02:50jhMikeSamiconn: yes, flush + invalidate
00:03:09amiconnHmm, not on cop though, right?
00:03:19amiconnBut that shouldn't matter at all here
00:03:27jhMikeSamiconn: every thread created gets a flush + invalidate
00:03:43amiconnThe greylib creates no thread at all
00:03:53amiconnIt just puts an isr on cop (if requested)
00:04:19jhMikeSyeah, interrupt code will not which could present a problem.
00:04:32amiconnYeah, but not here
00:04:50amiconnThe cop will only see uncached addresses which are first written by the cpu
00:04:57jhMikeStoffee82: usb chip? I wasn't aware there was a usb chip (other than the bit with the mc13783)
00:05:25gevaertsIs there a reason that ftruncate in rockbox can't extend a file ? The normal POSIX ftruncate can
00:05:54jhMikeSgevaerts: noone felt like doing it? :)
00:06:48gevaertsThe problem is of course that by now some code might depend on getting an error in that case..
00:07:46amiconnNothing in rockbox uses it apart from file.c itself
00:08:20gevaertsOK, so we're safe there. Thanks
00:08:27*jhMikeS wonders why something named "...truncate" would ever extend anything
00:08:53*amiconn did a quick grep
00:09:14amiconnjhMikeS: indeed.
00:10:05gevaertsIt's often used to reserve disk space, to be written later
00:10:09Bagdergevaerts: I think that simply nobody ever needed it
00:11:24toffe82gevaerts: jhMikeS : the chip select of the usb is C10 of the cpu
00:11:42toffe82do you need something else ?
00:12:34Nico_Pamiconn: uisimulator/common/io.c and /firmware/test/fat/main.c use it too
00:12:43amiconnno
00:12:55amiconnuisimulatr/common/io.c *provides* it for the sims
00:13:04Nico_Pah
00:13:04jhMikeStoffee82: what usb chip is there? I thought we always needed the SW stack.
00:13:12amiconnAnd the test code uses it, yes. But that wasn't touched in ages...
00:13:33toffe82philips isp1504, do you want the datasheet ?
00:14:04gevaertsIt uses the isp1504 ?
00:14:07*gevaerts is confused
00:14:11toffe82if you look the block diagram , the usb is not direct from the cpu
00:14:12jhMikeStoffee82: yeah (/me wonders how he missed this)
00:14:30toffe82gevaerts: ??
00:14:34*jhMikeS has it already :p
00:15:03gevaertsWasn't this imx31 with built-in USB ?
00:15:07toffe82it the tipical application for the imx
00:15:26toffe82yes but toshiba do it this way
00:15:28jhMikeSgigabeat S has alot of redundancy in the HW
00:15:42 Join domonoky [0] (n=Domonoky@rockbox/developer/domonoky)
00:15:44toffe82yes with the mc 13...
00:15:52 Join sourcemaker [0] (n=sourcema@p5B2DFB6F.dip.t-dialin.net)
00:16:02sourcemakerdoes rockbox work with IPOD 4gen
00:16:15bluebrothersourcemaker: have you read the front page?
00:16:15n1ssourcemaker: yes
00:17:00*amiconn wonders what the explicit 'nocommon' is for, and tries without
00:17:01toffe82jhMikeS: they fix it in the t400, no more redundancy :)
00:17:19amiconnWe don't use 'nocommon' for the I*_ATTR either
00:17:48bluebrotherhmm, this progress looks weird -- processEvents isn't called often enough :(
00:18:49 Quit cbr|w (Read error: 110 (Connection timed out))
00:19:10 Join ddalton [0] (n=ddalton@124-168-53-116.dyn.iinet.net.au)
00:19:23domonokybluebrother: a clean way for this processEvents mess, would be to use worker threads :-)
00:19:39ddaltonhey what tool do I use for patching the h300 firmware under linux? so to patch a 1.28 K version to included rockbox support?
00:19:43sourcemakerwhich device do I use to install rockbox /dev/sdd or /dev/sdd1/2
00:20:04domonokyddalton: try rbutil :-)
00:20:20ddaltondomonoky: No gui sorry.
00:20:24 Nick bruges is now known as bruganit (n=bruges@e178039202.adsl.alicedsl.de)
00:20:25bluebrotherwell, I'm trying to make the zip class tell us about the current file (i.e. emit the actual count)
00:20:29ddaltonIm blind and qt is not accessible...
00:20:37gevaertstoffe82, jhMikeS : it looks to me like the isp1504 is "just" the transceiver, which might not be provided by the imx31 (not clear to me)
00:20:50bluebrotherddalton: there is a cli patch in the tracker. I've updated it some days ago, so it should compile.
00:21:05bluebrotherno idea if patching of the iriver fw is already implemented.
00:21:07ddaltonsourcemaker: mount sdd1, you need to install to a partition...
00:21:10jhMikeSgevaerts, toffee82: I don't see how it bridges the ATA or anything from the logic block diagram
00:21:25bluebrothersourcemaker: try rbutil :)
00:21:25domonokybluebrother: should be implemented..
00:21:48amiconnddalton: on ipods, the bootloader installation needs the *device*
00:21:51bluebrothermy update was only to catch up with internal changes.
00:21:57gevaertsjhMikeS: It probably doesn't. From what I see the imx31 provides the usb device controller, the isp1504 provides the transceiver
00:22:03 Nick bruganit is now known as borges (n=bruges@e178039202.adsl.alicedsl.de)
00:22:08*gevaerts could be wrong of course
00:22:21 Quit davina ("GNU/Linux the free alternative to Windows")
00:22:31bluebrothersourcemaker: the bootloader goes to the partition (i.e. sdd) while the install goes to the data partition of the Ipod (sdd2)
00:22:43ddaltonoh ill check it out ok. so there is no manual way I can use? like a separate cli tool or shell script in /tools?
00:22:48bluebrotherbut you can simply mount the player and let rbutil do the rest.
00:23:16bluebrotherddalton: sure, you can use scramble. IIRC that was documented in the IriverBoot page.
00:23:29sourcemakerbluebrother: configuration invalid...
00:23:33bluebrotheryou need to do a few steps manually though.
00:23:38bluebrothersourcemaker: then correct it ...
00:23:39amiconnbluebrother: for patching an iriver fw??
00:23:43ddaltonin the manual it doesn't really explain to linux users? do you just assume we know? Or do you just assume everyone can run qt apps these days?
00:23:47jhMikeStoffee82: are you adding the various pinouts to the wiki or do I have to make note before it's lost in the logs forever? :)
00:24:01toffe82gevaerts: jhMikeS : you have a signal usb detect which goes to the mc13783
00:24:05saratogahttp://www.sacg.com.tw/sacweb/marcom/epaper/images/ISP1504,%20ISP1505,%20ISP1606%20Literature.pdf
00:24:15saratogalooks like its just the physical layer interface, not hte controller
00:24:16bluebrotherddalton: the manual way of patching the hex file was never in the manual
00:24:17toffe82take note :) for the moment
00:24:24gevaertssaratoga: exactly
00:24:58bluebrotherddalton: http://www.rockbox.org/twiki/bin/view/Main/IriverBoot#Patching_the_iriver_firmware
00:25:36ddaltonthanks!
00:25:38 Quit ddalton ("leaving")
00:25:47 Join BITCH [0] (n=USERNAME@c-75-68-29-188.hsd1.nh.comcast.net)
00:25:48sourcemakerbluebrother: installation is in progress.... I how this works
00:25:51domonokyddalton: and make sure you check the md5sum of the manually created firmware file, if it wrong the players is broken..
00:25:52n1sddalton: what you need to do is descramble the firmware with scramble, patch with mkboot and scramble it again
00:25:56BITCHHI
00:26:02BITCHIM NEW
00:26:09bluebrotherand your caps lock is broken
00:26:18BITCHNOT MINE
00:26:21BITCHXD
00:26:31BITCHIM UR B****
00:26:32BigBambiBITCH: Turn off, caps lock, and stay on topic
00:26:39BITCHy
00:26:43Mode"#rockbox +o Bagder " by ChanServ (ChanServ@services.)
00:26:54*n1s holds breath
00:27:07 Nick BITCH is now known as IM (n=USERNAME@c-75-68-29-188.hsd1.nh.comcast.net)
00:27:19 Nick IM is now known as IMYOURBITCH (n=USERNAME@c-75-68-29-188.hsd1.nh.comcast.net)
00:27:28*bluebrother goes for popcorn
00:27:35IMYOURBITCHy should i
00:27:39BigBambiIMYOURBITCH: bye
00:27:46Kick(#rockbox IMYOURBITCH :Bagder) by Bagder!n=daniel@rockbox/developer/bagder
00:28:24ali_asPrank by a regular maybe?
00:28:42bluebrotherthat was quick
00:29:21jhMikeSUSB DETECT seems to go straight to the mc13783
00:29:22BigBambiali_as: Doubt it. It wasn't funny, and the regulars will know that it can only annoy and result in a kick
00:29:24 Quit merbanan (Remote closed the connection)
00:29:57ali_asCaps lock, constantly changing nick, like someone read the rules and did it deliberatly.
00:30:07BigBambiWell, anyway
00:30:39sourcemakerinstallation complete
00:31:31toffe82jhMikeS: so you need more things to find how the usb works ?
00:33:42gevaertsSo usb_detect() should be easy. Then you need usb_init_device() and usb_enable(). Those are basically just turning on and resetting the hardware.
00:33:43toffe82the pin for usb detect on the mc13783 ?
00:34:02 Join qwock [0] (n=4fd3f20a@gateway/web/cgi-irc/labb.contactor.se/x-d4c4146c919b1554)
00:34:55sourcemakerhow can i restart my ipod?
00:34:57jhMikeStoffee82: I think that's in the register definitions unless it's wired differently. The ULPI pins are the ones used by the OTG controller I take it?
00:35:04bluebrothersourcemaker: check the manual ...
00:35:21bluebrotheror the FAQ, whatever you like better
00:36:52 Quit qwock (Client Quit)
00:37:15amiconnjhMikeS: It's definitely a COP cache problem. fire.rock works when run directly after boot
00:37:40amiconn...and running greyscale.rock afterwards, I got a data abort on core 1 ...
00:38:24*amiconn wonders how to force the cop to invalidate its cache...
00:38:52amiconnThat has nothing to do with your patch, btw, but with putting struct _grey_info into NOCACHEBSS
00:39:09 Quit bluebrother ("switching ...")
00:39:25amiconnSo your patch is fine
00:39:35jhMikeStoffe82: I think USB_OC (CS, c10) is handled by the OTG controller. I don't know about CSI_MCLK (RESET, K24).
00:40:16 Join bluebrother [0] (n=Dom@rockbox/staff/bluebrother)
00:41:46sourcemakerreboot does not work... ipod hangs
00:41:56 Join ZincAlloy [0] (n=d9eef959@gateway/web/cgi-irc/labb.contactor.se/x-68499ad41e004f5a)
00:43:47bluebrotherdefine "hangs". Does the bootloader come up?
00:45:21*jhMikeS just trying to put the serial driver together correctly since it's so central on the S (and make it reusable for other imx targets). We'll probably want to use DVFS.
00:45:21sourcemakerI tried a game... but no reaction
00:45:25 Join ddalton [0] (n=ddalton@124-168-53-116.dyn.iinet.net.au)
00:45:44bluebrotherwhat exactly did you do? Did Rockbox start or not?
00:45:46ddaltonhey anyone know where I can find the different hex firmware files? for h300? is that all I need? I don't seem to see them...
00:46:08toffe82jhMikeS: the pins connected to the isp1504 are a6, a7.. (usbotg...) form the cpu
00:46:23amiconnjhMikeS: Hmm, I think the plugin loader needs to flush + invalidate the cop's cache *before* loading the plugin
00:46:24jhMikeSthe IMX will likely make CPUFREQ_NORMAL just a "can vary dynamically" setting
00:46:33amiconnOtherwise it's too late
00:46:37sourcemakerbluebrother: yes... reockbox starts fine
00:46:40bluebrotherddalton: most links to iriver seem to be dead. rasher has a mirror: http://rasher.dk/rockbox/iriver-firmwares/
00:47:02bluebrothersourcemaker: well, then get the manual and check how the game you're trying to use works. And how the button mappings are.
00:47:05jhMikeSamiconn: There's no built-in mechanism to do it though unless you can force some kind of interrupt that does it.
00:47:20gevaertstoffe82: how many pins are there ? ULPI can have an 8 bit or a 16 bit link
00:47:31bluebrothersourcemaker: and I really don't understand why you tell something about "reboot does not work".
00:48:03jhMikeSamiconn: it has to do it before attempting to execute code within the plugin buffer much like the invalidate for thread creation does but that's easy to get it to perform that
00:48:23ddaltonbluebrother: thanks
00:48:36amiconnIt has to do that before eve loading the plugin into the plugin buffer
00:48:51amiconnDoing it later might overwrite parts of the already loaded plugin iiuc
00:49:02toffe82gevaerts: 8bits
00:49:13toffe82the isp is 8 bits
00:50:27jhMikeSamiconn: it can if it has pending writes from something previous in the plugin buffer. threading flushes those out when the thread exits in thread.c.
00:50:37 Join DavidSG [0] (n=Tordre@n098h202.wsr.mun.ca)
00:50:44sourcemakergreat... now everthink is working well
00:51:04amiconnjhMikeS: Hmm. Then I wonder what pending writes are there in case of the greylib....
00:51:04DavidSGHello
00:51:39amiconnWhen running fire.rock directly after boot it works, but when running it after some other greylib plugin, it often does not
00:52:05amiconnBut the greylib only uses uncached addresses for the cop...
00:52:14 Quit ender` (" Eagles may soar, but weasels are seldom sucked into jet engines.")
00:52:15gevaertstoffe82: you might need to set PTS to 10 and PTW to 0 in the PORTSC0 register. Of course they might be correct by default
00:52:22jhMikeSamiconn: and only uncached code?
00:52:39amiconnEh, no
00:52:53amiconnBut code shouldn't change, so no write-back, right?
00:53:09amiconnHmm, but code could be cached....
00:53:21jhMikeSbut it could see some lines as the previous plugin that was there
00:54:11amiconnI have no idea how to clean this up from within the plugin...
00:54:37amiconnAny code that I'll run on cop to flush the cache will go into the cache...
00:54:58amiconnThat is, as long as it doesn't reside in iram - but that it shouldn't for normal plugins...
00:55:04jhMikeSbesides a forceable interrupt and handler in the core I don't know either
00:55:35amiconnHmm, I could use UNCACHED_ADDR for a function call...
00:56:00amiconnBut cleaning it up in the core sounds like a better approach imho
00:56:50sourcemakergreat work
00:57:45DavidSGI applied for a gsoc possition working on the WPS theme editor/ creator. I was wondering if anyone here has read my proposal and is willing to give suggestions on how I may improve it.
00:59:12sourcemakerrockbox is using linux right?
00:59:35 Part ddalton
00:59:39BigBambisourcemaker: No
00:59:57BigBambisourcemaker: Rockbox is built from the ground up, it is NOT based on linux
01:00
01:00:17sourcemakerBigBambi: ok
01:00:21BigBambiRockbox is all Rockbox
01:00:24gevaertsDavidSG: hello
01:00:34 Quit waldo (Remote closed the connection)
01:00:48*jhMikeS wonders why it seems so far fetched not use use someone else's kernel :)
01:00:49sourcemakerBigBambi: maybe thats the difference... why rockbox is working well and ipodlinux not :-)
01:01:09 Quit DA_Desktop (Read error: 104 (Connection reset by peer))
01:01:30BigBambiRockbox is designed specifically for embedded systems with all the constraints that brings, and is focussed on music playback
01:01:49jhMikeSamiconn: I never could get forced interrupts to work on COP, just CPU but perhaps something was simple missing
01:01:59 Join ali_as_ [0] (n=as@80.229.21.128)
01:02:10amiconnWhat do you mean with forced interrupts?
01:02:26gevaertsDavidSG: I have read your proposal, but I'm quickly going over it again
01:02:42jhMikeSyou force an interrupt to occur instead of waiting for the source to generate it
01:02:54*domonoky also take a look again at this app :-)
01:03:04jhMikeSthe imx avic has that as well
01:03:36amiconnhow?
01:03:54DavidSGgewaerts: hello and thank you for reading
01:04:07amiconnHmm, is that the INT_FORCED_* stuff?
01:04:38DavidSGs/gewaerts/gevaerts/
01:04:54jhMikeSamiconn: yes
01:04:58 Part sourcemaker ("Kopete 0.12.5 : http://kopete.kde.org")
01:05:44*bluebrother has the UnZip class reporting its progress :)
01:06:16domonokyDavidSG: have you seen : http://www.rockbox.org/twiki/bin/view/Main/GSoCApplicationTemplate2008 ?
01:06:48DavidSGdomonoky: No, I am sorry I haven't.
01:07:39gevaertsDavidSG: no worries. I usually post a comment to all applications with that link, but apparently I forgot that in your case. Sorry
01:07:48toffe82gevaerts: thanks for the info but I don't program ,I just look the code sometimes, really have no time ;)
01:08:15gevaertstoffe82: ok. Just make sure that jhMikeS does it properly then ;)
01:08:22 Quit Rob2222 (Read error: 104 (Connection reset by peer))
01:08:37DavidSGI see i have some typing to do now.
01:08:40 Join Rob2222 [0] (n=Miranda@p4FDCD502.dip.t-dialin.net)
01:09:15toffe82gevaerts: you don't have a gigabeat S :)
01:09:23domonokyDavidSG: :-) feel free to extend your application according tothis :-)
01:09:32gevaertsDavidSG: it would be good, but we can still go over what's there now. You seem to have covered most of the technical things
01:09:41gevaertstoffe82: I don't have one, no :)
01:09:49amiconnjhMikeS: I'll try calling the isr with its uncached address when running on cop
01:09:59toffe82gevaerts: do you want one ?
01:10:09DavidSGgevaerts: That would be good that way i can make allmy revisions at the same time.
01:10:09amiconnThat should tell us whether the caching is the problem
01:10:18jhMikeSwe need to be able to program the SDMA as well and I don't want to hand-assemble code so perhaps extending gas would be possible. the opcodes are fully documented.
01:10:26gevaertstoffe82: I want a lot of things, but...
01:10:32amiconnIt's an ugly solution because code within uncached ram is slow...
01:11:15toffe82gevaerts: :)
01:11:21jhMikeSamiconn: exactly why a "perform cache operation" service in the core would be very useful
01:11:49amiconnWhat would be a good way to signal completion back from such an isr?
01:12:00Nico_Pgevaerts: c'mon, the gigabeast is the target of rockbox's future! :)
01:12:01amiconn(a forced interrupt to clear cop cache I mean)
01:12:42gevaertsDavidSG: first a few disclaimers : I'm not really involved in the WPS side of things here, and I have a tendency to concentrate on problems I see, and ignore the good stuff, so please don't let those get you down too much
01:13:00gevaertsNico_P: What ? Not the Meizu ? markun lied to me !
01:13:00jhMikeSamiconn: does it need to? if it's forced before enabling the timer interrupt, then it has completed by the time the timer interrupt is enabled.
01:13:09domonokygevaerts: usb is good stuff !! :-)
01:13:17jhMikeSor by the time it can service that IRQ anyway
01:13:26amiconnjhMikeS: It has to be done by the plugin loader, even before loading a plugin...
01:13:30Nico_Pgevaerts: you bet he did :)
01:13:39***Saving seen data "./dancer.seen"
01:13:41 Quit RoTtE (Read error: 104 (Connection reset by peer))
01:14:22DavidSGgevaets: It is okay, i can handle criticism, besides how can i fix problems that i don't know about
01:14:26 Quit ali_as (Connection timed out)
01:15:01amiconnjhMikeS: Afaik it's not possible to invalidate without flushing
01:15:01gevaertsDavidSG: One thing that could be a problem in the long term is that WPS syntax tends to change over time. If the WPS editor uses a different parser, that could make maintenance more difficult.
01:15:19 Join mcuelenaere [0] (n=mcuelena@78-21-185-185.access.telenet.be)
01:16:55Nico_Pyes, thr WPS utility should use rockbox's parsing code directly and ideally its rendering code too
01:17:41Nico_Pthat should also allow focusing on other things like usability
01:18:13DavidSGgevaerts: Then i would have to integrate the code of the parser into the program so that it will not become obsolete.
01:18:14jhMikeSamiconn: then you'll lose pending writebacks and corrupt memory
01:18:25domonokyDavidSG: do you have any idea which toolkit you want to use for the PC side of this WPS/Theme maker ?
01:18:38amiconn?
01:18:59 Join miepchen^schlaf_ [0] (n=miepchen@p54BF6799.dip.t-dialin.net)
01:19:27Nico_PDavidSG: it should be possible to compile the parser's code directly into the program
01:19:38Nico_Pwe already have a command line WPS checker that does just that
01:19:41jhMikeSif you simply invalidate without a flush first then anything modified that hasn't yet been written to ram will be lost
01:19:45gevaertsDavidSG: that would be best. Of course, that would make using java a bit problematic
01:19:45DavidSGdomonoky: not in particular, do you have any suggestions? I would like to keep it as portable as possible.
01:20:25*domonoky suggests simple C for the backend, and Qt for the gui..
01:20:39jhMikeSthough I think it's possible by just specifying different bits in the operation
01:20:56DavidSGgevaerts: Yeah i was thinking that, unless it read the paser code like a script and based the rendered image off the strait c code, but that sounds a bit crazy.
01:21:02gevaertsDavidSG: rbutil, our GUI installer, uses Qt4
01:21:21domonokyDavidSG: do you have any experience in rockbox theme ability ?
01:21:22gevaertsThat would indeed just lead to madness
01:21:23Nico_Pdomonoky: what do you mean by backend?
01:21:54Nico_Pit would be compiled into the binary, right?
01:22:29*domonoky sees the java keyword in the application.. so no Qt.. :-)
01:22:31DavidSGdomonoky: I have looked at them script behind them before, but as for actually makeing them i can say i have none.
01:22:36jhMikeSthe s3c and imx caches do similar things (invalidate only just tosses out everything in the caches and changes to ram are discarded)
01:23:25bluebrotherjava? How should that use the rb parser?
01:23:36domonokyNico_P: with backend i mean the basic wps handling, which is mostly the rockbox wps code, compiled preferabilty as a lib..
01:23:58gevaertsDavidSG: I have another request : when you're editting anyway, could you try to make shorter paragraphs ? These are a bit too long to find things in easily
01:24:19*jhMikeS thinks he needs to fully understand the mailbox system on 502x but that's no good for 5002 anyway
01:24:20DavidSGgevaerts: that sounds like the easier thing i can fix onmy application
01:24:42gevaertsIt shouldn't be too hard, no :)
01:25:22DavidSGbluebrother: java may be reconsidered for my final applications
01:25:33 Join XavierGr [0] (n=xavier@rockbox/staff/XavierGr)
01:26:10amiconnjhMikeS: I know I would loose pending writes. Iirc you once said that invalidating without flusing doesn't work on PP
01:27:10jhMikeSI think MrH said that (or just didn't investigate it much). You can try with just the CACHE_OP_INVALIDATE flag set.
01:27:56DavidSGgevaerts: just so i have some idea: How much has the scripting for WPS has changed in the history ofthe project
01:29:24Nico_PDavidSG: some time ago it was changed to separate parsing and rendering but the syntax stayed the same. after that there were a few evolutions but no big change
01:29:55Nico_Pthe parser became stricter over time after it was added
01:30:19*jhMikeS also has a reason to have NOCACHE for objects be distinct from NOCACHE for say, declaring an lcd driver framebuffer
01:30:22BigBambiIn my humble opinion, you really need an integrated app though. If the utility and the actual codebase are separate they will drift out of sync and the app will become useless
01:30:50Nico_Pindeed
01:31:14DavidSGYeah in my application i mentioned have 2 applications, a desktop version, and a rockbox on the go version.
01:31:32 Join bughunter2 [0] (n=Jelle@ip565fbeaa.direct-adsl.nl)
01:31:45DavidSGi can also see that becoming a problem with code going out of sync.
01:32:18BigBambiWell either desktop or on target, I just mean your app should use the parsing code directly from Rockbox, and not be independent.
01:32:22amiconnjhMikeS: Calling the ISR via its uncached alias address does indeed fix the problem (made a mistake first so had to track it down)
01:32:53bluebrotherhmpf, windows needs special treatment as usual :(
01:33:02amiconnThe macro can be used for functions, but you need an explicit 'address of': UNCACHED_ADDR(&_timer_isr)
01:33:15BigBambiDavidSG: Whether it is on the PC or target is in this sense irrelevant.
01:33:22DavidSGBigBambi: I agree completely.
01:33:24 Quit miepchen^schlaf (Read error: 110 (Connection timed out))
01:33:34BigBambiDavidSG: coolio :)
01:33:55amiconn...otherwise gcc throws a weird error
01:34:02jhMikeSamiconn: can't allocate the function as NOCACHEDATA_ATTR? (to make sure all adresses are compiled properly)
01:34:41gevaertsbluebrother: is rbutil currently localized ?
01:34:43DavidSGBigBambi: do you know a way to integrate the c code from the parser into a java application.
01:34:57BigBambiDavidSG: I'm not coder I'm afraid
01:34:58amiconnjhMikeS: It's not needed here, and it's not a permanent solution anyway
01:35:03bluebrothergevaerts: yes
01:35:03BigBambis/not/no
01:35:20bluebrotherwe just don't have too much translation contributions.
01:35:34gevaertsDavidSG: you would need jni for that, but I'm not really sure if that works well for this kind of usage
01:36:04Nico_PDavidSG: Qt would probably be better suited
01:36:40 Quit mrfree (Read error: 110 (Connection timed out))
01:37:14gevaertsEspecially if you also use the c renderer (which I would strongly recommend). That would really only leave pure GUI code in java, with huge amounts of glue around it
01:38:51DavidSGi don't like the sound of this glue, maybe java would not be the best idea.
01:38:52domonokyto combine all he could use Qt Jambi (Qt for java) *hehe* :-)
01:38:52jhMikeSamiconn: there is one trick available - you can switch the current thread's core and switch it back (old_core = switch_core(new_core))
01:39:15DavidSGdomonoky: you do like this Qt
01:39:42bluebrotherDavidSG: Qt is a great library, and it's quite fun to work with it.
01:40:05BigBambiDavidSG: You can look at RBUtil (the installation etc. util - that uses Qt)
01:40:06*domonoky works on rbuti (which is in Qt)l, so i would like the WPS/Theme to be easy integrateable :-)
01:40:12DavidSGI can't say i have had experience working with it, but i will do some research.
01:40:35gevaertsDavidSG: you mention that you have one rockboxable player. Does it actually run rockbox now ?
01:40:38Nico_PDavidSG: do you know C or C++?
01:41:42bluebrotherI see one major advantage of Qt: it's C++ (so you can easily integrate existing C code) but still cross-platform (Windows, Mac, Linux)
01:41:46DavidSGgevaerts: i run my ipod with rockbox right now. but i dual boot because i like using the TV out fuction of the video player on the default firmware.
01:42:02DavidSGNico_P: I know both.
01:42:11amiconnjhMikeS: Eh, is that reliable? Sounds like a dirty trick to me...
01:42:15 Quit lee-qid (Read error: 110 (Connection timed out))
01:42:28Nico_PDavidSG: then learning Qt shouldn't be much work
01:42:30amiconnHmm, and atm I can't see how this would help
01:42:46bluebrotherno. In fact I learned C++ doing Qt :)
01:43:04amiconnUnless the plugin loader does it, that is. But the plugin loader runs in the main thread...
01:43:27jhMikeSamiconn: it is reliable and will make the caches coherent
01:43:42DavidSGSounds good, even if it just for consistancy sake, I think it will be better to use QT.
01:43:44Nico_Pknowing java and very little Qt, my impression is that Qt basically adds a java like library to C++
01:44:02amiconnSo the plugin loader could hop to the cop & back to make sure both caches are flushed before loading a plugin?
01:44:05gevaertsDavidSG: have you built rockbox yourself before ? Ever played with the code ?
01:44:17jhMikeSamiconn: yes
01:44:45bluebrotherNico_P: if you're doing GUI Qt is _much_ nicer.
01:44:54Nico_PI can imagine that
01:44:58*bluebrother did a bit of Java GUI some time back and hated it.
01:45:34jhMikeSamiconn: right now it's only being used if wanting to use remove_thread on a thread executing on another core (when remove_thread is actually enabled for debugging)
01:45:51*amiconn can't comment much as he never used any of the gui toolkits, but just from reading I'd probably prefer GTK+ over Qt
01:46:07gevaertsTry curses :)
01:46:20DavidSGgevaerts: I built the code before, i had to use the album art patch, As for programing, i was thinking of writing a small app for it and did some research on it but never got arround to it, school work unfortuatly came first.
01:46:30bluebrothera curses interface to Rockbox would be interesting.
01:47:09 Join sourcemaker [0] (n=sourcema@p5B2DFB6F.dip.t-dialin.net)
01:47:23gevaertsDavidSG: that's good to know. At least we don't have to worry about you being able to setup the build environment then :)
01:48:04jhMikeS...and hopefully I didn't mess it up along the way (last test was ok). A logf build should remove the spc_emu thread without any crash.
01:48:55DavidSGNo difficulty there, the only problem I would have is I don't have acess to a Mac computer so I guess I will need some help testing for that.
01:49:06 Quit dabujo ("( www.nnscript.com :: NoNameScript 4.2 :: www.regroup-esports.com )")
01:49:36BigBambiDavidSG: Testing shouldn't be an issue
01:49:41*bluebrother just fixed a bug he introduces some days back :)
01:49:42gevaertsThat's not a big problem. You should be able to find volunteers easiy
01:49:43amiconnjhMikeS: Do I really need old_core, or could I just assume the cores?
01:49:48BigBambiThere are generally plenty of willing people in here
01:49:54mcuelenaeregevaerts: I'm trying to port the USB stack to the ZVM, but currently the only thing I get are bus resets and Windows recognizing an unknown device. Any ideas?
01:51:19bluebrotherwith a good GUI toolkit there shouldn't be much platform specific stuff. Just look at the rbutil sources, the aren't much #ifdefs.
01:51:46gevaertsmcuelenaere: what kind of device-side controller does it have ?
01:52:01jhMikeSamiconn: sure. old_core is just the core the calling thread was assigned to before the switch. switch_core to the same core is basically a nop.
01:52:05mcuelenaerePhilips ISP1583
01:52:08DavidSGSounds excelent. I will have to look closely at that now.
01:52:30mcuelenaere