ptitSeb
Serial Porter
Arg, that is tempting! Now I want to try it tooBAM! Sent a message "add these two numbers", got a response with the right sum. Easy as pie. Now just to figure out something useful to do.
Arg, that is tempting! Now I want to try it tooBAM! Sent a message "add these two numbers", got a response with the right sum. Easy as pie. Now just to figure out something useful to do.
I'd be happy to include all (redistributable) DSP stuff in SL4P, at least kinda of auto-downloads in case it breaks GPL.Is there a way to compile DSP binaries on the Pandora itself? Or is there only a x86 closed-source TI toolchain available?
your theory is probably right. I had similar thoughts.My guess is that when you close the lid, some stuff can be turned off that is normally turned on.
My conclusion -so far- is that the DSP is faster and more power efficient for all tasks that cause a medium to heavy load, but the GPP is better at light tasks / idling / powersavingAnyway, we can do more detailed power consumption benchmarking later. The point is that the DSP uses less power than the general-purpose CPU while for some tasks it is faster.
ha, I looked for this some days ago but could not find anything. (and TI also likes to click-wrap even source/include files in x86 installers, I wish they would at least use e.g. Java for that)Is there a way to compile DSP binaries on the Pandora itself? Or is there only a x86 closed-source TI toolchain available?
Maybe we should reserve a bit more (e.g. 2MB) for general-purpose code. It is not straightforward to write your own application-specific DSP code, and ironically there is not even a toolchain available for ARM devices like the Pandora. So I think it makes more sense to try to come up with a reasonable standard library of useful general-purpose DSP routines (stuff like matrix multiplication, blitters, a couple of codecs, etc). That way it is easy to make use of the DSP without needing to install new toolchains, as long as you only use the standard code.Maybe this should be discussed before this is integrated into the SZ firmware ?
Once a memory setup is decided for, it will be impossible to change that later on without breaking compatibility.
My idea so far regarding the DSP memory split is
1) 1MB for DSP firmware (i.e. code that every application can expect to be there)
2) 1MB split into8 or 164 areas for application-specific code (e.g. non-standard codecs for mediaplayers or smaller non-standard utility code)
3) 2MB for main-application-specific code (e.g. a 3D engine for a game or emulator)
I doubt something like that is possible, but it's also not needed. The CPU is better at being idle anyway. If we want a "charging OS", the best option is probably to just boot Linux and instead of starting all the usual stuff, it immediately loads a small application that does nothing but display a "battery charging" icon, doing a shutdown when the battery is full. That shouldn't be difficult to do - it just doesn't seem to be a priority to anyone. The only tricky thing would be to automatically decide between normal boot and "charging OS" boot - in other words, finding out whether the unit was turned on manually or because the charger was inserted.Would it be possible to run the "charging OS" on the DSP? Would this alleviate the need for essentially booting the entire system?
That does make sense I guess - I just was thinking if the ideas is to build a DSP "firmware" of sorts then parhaps a minimal OS that makes use of these firmware functions could run on charging/before main OS.I doubt something like that is possible, but it's also not needed. The CPU is better at being idle anyway. If we want a "charging OS", the best option is probably to just boot Linux and instead of starting all the usual stuff, it immediately loads a small application that does nothing but display a "battery charging" icon, doing a shutdown when the battery is full. That shouldn't be difficult to do - it just doesn't seem to be a priority to anyone. The only tricky thing would be to automatically decide between normal boot and "charging OS" boot - in other words, finding out whether the unit was turned on manually or because the charger was inserted.Would it be possible to run the "charging OS" on the DSP? Would this alleviate the need for essentially booting the entire system?
There is nothing to gain by running a "charging OS" on the DSP, even if something like that were possible. Charging would be slightly slower because you would have to keep the DSP powered.