Rockbox Development > New Ports

Cowon D2

<< < (30/194) > >>

Bagder:

--- Quote ---In open moko project I've found some source code for PCF50606
--- End quote ---

Right and there's also existing Rockbox code for it...

Yeeze:
My problem: When I compile the bootloader for the D2, and then start the device using tcctool and the newly compiled bootloader, it still runs old code.
For example I add a printf ("test"); to the code, and compile it upload it to the D2 it won't print this line...
I checked the newly compiled bootloader file, it has a different size than the old one that did not have the additional printf ("test");

I tried a make clean, svn update, svn revert, deleting the whole rockbox folder and re downloading the source. Nothing helped.

This was not always the case, I used to be able to make changes compile them and the code worked on the player...
Now the code does only seem to change when I do very sensitive changes like adding a return in the main function...

I don't know where my problem is, but my thoughts are:
 - somehow I am compiling an old version of my code
 - an old bootloader file is uploaded on my player
 - an old version of the bootloader file is run on my player for some reason

Has anybody had a similar problem or has any idea what my problem is?

zivan56:
IIRC lcd_update() needs to be called to update the screen.

Yeeze:
thanks zivan56, but with printf that was only an example, another example I commented out the nand_test () (in ata_init() file: "ata-nand-tcc780x.c") function call, to skip the scanning of the complete flash. Compiled the whole thing uploaded it. But it would still scan the flash...

shotofadds:

--- Quote from: zivan56 on January 30, 2008, 06:09:55 PM ---IIRC lcd_update() needs to be called to update the screen.

--- End quote ---
That won't be the problem - the D2 lcd driver is currently implemented in a slightly hacky manner (the frame buffer is directly read by the hardware, with no copying) so this call isn't necessary at the moment.

Yeeze, I've had a similar problem once or twice - in my case I think this was because I compile under VMware and run tcctool from WinXP (don't ask why :-\) and for some reason WinXP was still picking up an old version of the file from Samba. I haven't seen that problem for a while, though - and your situation might be entirely different of course.

I'm assuming that the compile had no errors, and that the timestamp on the new file has actually been updated?

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version