Rockbox Development > New Ports
Cowon D2
shotofadds:
The non-aligned read error is also fixed by the new ATA driver - I forgot to mention that, sorry. A temporary work-in-progress version is attached, so try using that instead. Be aware that it is not complete, so it is still not 100% perfect, and there are several compiler warnings (largely because of leftover debug code).
Once you have a working build, you can also try removing all of the code from inside lcd_update_rect() in lcd-cowond2.c, and inserting a single call to lcd_update() instead. That should temporarily fix the garbled display.
At some stage I will also try building with cygwin to see if I can confirm whether that is indeed the problem. I've been using the Rockbox VMware image with no significant problems so far.
Good luck! Â :)
EDIT: Removed attachment since this is now in SVN.
andiator:
That is much better! Thanks shotofadds!
Booting into the menu, even watching some images  ;D
No garbage on lcd without any changes
Besides, the line 33
#include "../../../bootloader/common.c"
should read:
#include "../../../bootloader/common.h"
shotofadds:
Well, I did say there was temporary debug code left... ;)
Can you confirm whether any of the plugins work (eg. the game Invadrox should work well without changes)? You may first need to familiarise yourself with the buggy button behaviour in order to navigate the menu, though.
You should also find that things like the JPEG viewer work - eg. go to Files and browse for some .jpg files (it works quite well in slideshow mode). Most other things are unusable at this stage due to the limited button mappings available.
Unfortunately I won't have any more time to work on this until the weekend. :-\
andiator:
Yes, I confirm that the image viewer and some plugins work.
Do you have a clue why and where this buttons "hopping" happens? I would like to try to fix this, if I only knew where to start from...
button_read_device() in button-cowond2.c seems to be ok.
And now back to cygwin:
Yesterday, I'd started tools/rockboxdev.sh - it took over 4(!) hours, so I was going to bed at about 4 am. Luky me having this week free. (note to me: don't install cygwin on an external usb harddrive, it at least doubles the run/compile time).
Today "make clean" and "make -j": and it did work! I got in the rockbox menu.
But I don't want to use cygwin anymore, it takes too long to compile.
shotofadds:
--- Quote from: andiator on March 26, 2008, 08:02:39 AM ---Yes, I confirm that the image viewer and some plugins work.
--- End quote ---
Excellent. At least I know it's not just me now! ;D
--- Quote from: andiator on March 26, 2008, 08:02:39 AM ---Do you have a clue why and where this buttons "hopping" happens? I would like to try to fix this, if I only knew where to start from...
button_read_device() in button-cowond2.c seems to be ok.
--- End quote ---
Yes. Reading from ADC 0 appears to return incorrect values if it is read too frequently (I've seen this behaviour before in the old bootloader test program). I need to re-work the ADC driver to be timer driven, so that each adc_read() just returns a cached value, rather than performing a fresh read each time. It's on the TODO list...
--- Quote from: andiator on March 26, 2008, 08:02:39 AM ---And now back to cygwin:
Yesterday, I'd started tools/rockboxdev.sh - it took over 4(!) hours, so I was going to bed at about 4 am. Luky me having this week free. (note to me: don't install cygwin on an external usb harddrive, it at least doubles the run/compile time).
Today "make clean" and "make -j": and it did work! I got in the rockbox menu.
--- End quote ---
Good to hear it - I wanted to make sure there wasn't a general problem building in cygwin. I found VMware to be at least 2x faster, so I use that now.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version