Rockbox Development > New Ports
Cowon D2
mbk1969:
--- Quote from: GodEater on January 08, 2010, 09:27:45 AM ---Firstly, why does the language you're using make any difference to the length of MAX_PATH you need?
--- End quote ---
It could take up to three bytes to encode (to code) one `national` (i.e. not latin) symbol in UTF. If firmware works with file paths in UTF then programmer must be aware of such possible buffer overrun problem. (In UNICODE the size of every symbol is two bytes.)
If file system tolerates using of such long names then problem lays within firmware source code.
update: I asked my colleague (specialist in file systems) and he stated that in FAT long file names are stored in UNICODE
Ton:
I don't know if this is the right place to mention it. If not, please tell me.
Also, I posted about this too in the iAudiophile forums.
Imo there is a fault in the D2 manual, regarding firmware numbers, which could cause confusion. On page 15 it says that for D2+ and 1.xx or 3.xx, you need D2_P.bin and for 2.xx and 4.xx D2N_P.bin. As far as I can see it should be the other way around.
shotofadds:
I answered this on your other post:
The 2.xx and 3.xx firmwares are non-DAB/DMB, and the filename indicates this with the 'N' suffix.
So, yes, it looks like the instructions are wrong and they should be fixed.
4nykey:
--- Quote from: shotofadds on January 20, 2010, 04:00:00 PM ---The 2.xx and 3.xx firmwares are non-DAB/DMB, and the filename indicates this with the 'N' suffix.
So, yes, it looks like the instructions are wrong and they should be fixed.
--- End quote ---
This was taken from the wiki: http://www.rockbox.org/wiki/CowonD2Info#Installation, so it'll also need an update.
markV:
--- Quote from: shotofadds on December 20, 2009, 08:34:50 AM ---Yes, there's already a patch to do this on Flyspray (FS#10698). There was some discussion about whether it can be included in the main build or not - I think in the end we came to the conclusion that nobody was going to die if it got committed. So I'll look to get it in soon - in the New Year most likely.
--- End quote ---
Is your patch FS#10698 (hold-mode buttons) included in the main build / svn tree now?
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version