Rockbox.org home
Downloads
Release release
Dev builds dev builds
Extras extras
themes themes
Documentation
Manual manual
Wiki wiki
Device Status device status
Support
Forums forums
Mailing lists mailing lists
IRC IRC
Development
Bugs bugs
Patches patches
Dev Guide dev guide
Search



Donate

Rockbox Technical Forums


Login with username, password and session length
Home Help Search Staff List Login Register
News:

Welcome to the Rockbox Technical Forums!

+  Rockbox Technical Forums
|-+  Rockbox Development
| |-+  New Ports
| | |-+  Cowon D2
« previous next »
  • Print
Pages: 1 ... 15 16 [17] 18 19 ... 65

Author Topic: Cowon D2  (Read 636544 times)

Offline shotofadds

  • Developer
  • Member
  • *
  • Posts: 368
Re: Cowon D2
« Reply #240 on: March 29, 2008, 08:34:09 PM »
Well, I looked at it from the other angle and saw nothing in the current build that should demand a great deal of CPU power. The back of the player does get a little warm if left at maximum for long periods, but this can't be any worse than watching videos with the OF.

As it stands things move along quite smoothly at 48Mhz (inc. cube etc) and bootup isn't appreciably slower, so I'd expect this or even less to become the normal unboosted speed. Sure, there's no audio decoding/playback at present, but I suspect scaling will be working properly before that happens anyway. No-one will be decoding insane .APEs for a while, at least. :D
Logged

Offline Llorean

  • Member
  • *
  • Posts: 12931
Re: Cowon D2
« Reply #241 on: March 30, 2008, 12:15:55 AM »
Ah, well will you at least be changing it back if Audio gets working before you figure out the crash? ;)
Logged

Offline shotofadds

  • Developer
  • Member
  • *
  • Posts: 368
Re: Cowon D2
« Reply #242 on: April 01, 2008, 02:51:30 AM »
There's no need - an extra nop is all it seems to take to make the frequency switch stable.
Logged

Offline Bagder

  • Member
  • *
  • Posts: 1452
    • Daniel's site
Re: Cowon D2
« Reply #243 on: April 01, 2008, 03:49:49 AM »
FYI, we've now added the D2 "normal" and "bootloader" builds to the build table now...
Logged

Offline shotofadds

  • Developer
  • Member
  • *
  • Posts: 368
Re: Cowon D2
« Reply #244 on: April 05, 2008, 07:07:30 AM »
The ADC driver is now tick & IRQ-driven, which resolves the strange button behaviour in the menus. I've also implemented adjustable backlight brightness, using a new generic PCF50606 driver (but this isn't reliable when the CPU is boosted - I need to look into the I2C timings).

One thing to note: it's currently impossible to exit the Debug > HW Info screen, so don't enter that unless you want to reset the player (possibly just a keymap issue).

When testing these updates, please ensure that 'svn update', 'make clean', 'make' and 'make zip' are run before reporting bugs, and ensure you are correctly following the installation instructions from the wiki. Thankyou please! ;D
Logged

Offline shotofadds

  • Developer
  • Member
  • *
  • Posts: 368
Re: Cowon D2
« Reply #245 on: April 08, 2008, 05:13:24 AM »
It should now be possible to run the Rockbox bootloader from flash, so Tcctool is no longer required to boot (unless something goes seriously wrong..  ;)). See instructions on the wiki for how to do this.

Once you have flashed the patched firmware, the Cowon firmware can be booted by using the power switch as normal. To boot Rockbox, hold the power button for about half a second, then immediately set the HOLD switch - ensuring this is done before the screen lights up. The bootloader will pause after loading the firmware, displaying debug messages until HOLD is released.

NOTE: Ensure that your d2_patched.bin actually works (by uploading it using Tcctool) before flashing it to the player. In case of any mistakes, a 'bricked' player is easily recoverable by using Tcctool to boot the Cowon firmware.
« Last Edit: April 08, 2008, 05:15:02 AM by shotofadds »
Logged

Offline Yeeze

  • Member
  • *
  • Posts: 40
Re: Cowon D2
« Reply #246 on: April 08, 2008, 08:33:49 AM »
Wow thats nice! Nice progress!

Do I still have to patch the code manually for the 2GB player? Or does it not work at all?

EDIT: Okay I compiled the original ata_nand file and there was some output:

Rockbox boot loader
Version r17032M-080408
ATA
1 banks
* 1048576 pages
* 2048 bytes per page
1363 sequential segments found (1363 Mb)
mount
File not found


EDIT 2: Mhh... I think I need to upload all the stuff from the zip file of the normal build.... xD
« Last Edit: April 08, 2008, 09:00:47 AM by Yeeze »
Logged

Offline shotofadds

  • Developer
  • Member
  • *
  • Posts: 368
Re: Cowon D2
« Reply #247 on: April 08, 2008, 08:59:57 AM »
The current build should work without modification on any D2. Try it, and you're still having problems let me know exactly what does (or doesn't) happen.

EDIT: I just saw your edit (fun, this  ;)). Try unzipping the whole rockbox.zip to the root of the internal flash one more time. Boot the OF, then try again.
Logged

Offline Yeeze

  • Member
  • *
  • Posts: 40
Re: Cowon D2
« Reply #248 on: April 08, 2008, 09:11:35 AM »
Yeah I will, Im right now running make with Normal... after the zip is finished I will try and give feedback =)
Logged

Offline shotofadds

  • Developer
  • Member
  • *
  • Posts: 368
Re: Cowon D2
« Reply #249 on: April 08, 2008, 09:16:52 AM »
Now that plugins are enabled a full build takes quite some time (especially if you're using Cygwin). If you don't want to wait you could try this build.
Logged

Offline Yeeze

  • Member
  • *
  • Posts: 40
Re: Cowon D2
« Reply #250 on: April 08, 2008, 09:29:00 AM »
WOOHOOO
I got it compiled and I can see the usb connected screen =)

Browsing menus also works good!

Seems really nice...!
I will backup my player and then try to upload a completely flashed firmware using the usual update method
Logged

Offline Yeeze

  • Member
  • *
  • Posts: 40
Re: Cowon D2
« Reply #251 on: April 08, 2008, 09:51:59 AM »
Yeah it works!

Dual booting from flash...

OMG this is just awesome =)

A completely new world...!

Thanks shotofadds really nice work! Also thanks to all other contributors!
Logged

Offline shotofadds

  • Developer
  • Member
  • *
  • Posts: 368
Re: Cowon D2
« Reply #252 on: April 08, 2008, 09:54:03 AM »
If you're flashing the same version of the original firmware that you are already running (just patched with our bootloader) then your files & settings shouldn't* be affected. Make sure you only flash the new d2_patched.bin, don't use anything from the Cowon '0' or '2' folders.

*but still, a backup is never a bad idea. ;)

EDIT: Nice to see you got it working after all this time! You'll notice you can't do much at the moment, but still, some of the demos are cool and there's a Space Invaders game to keep you occupied...
Logged

Offline Yeeze

  • Member
  • *
  • Posts: 40
Re: Cowon D2
« Reply #253 on: April 08, 2008, 10:36:43 AM »
Yeah I already got caught in the space invaders game for like 20 minutes...
I should actually study history xD

The other demos are really cool too!

I noticed the debug screen got much slower... Is that because of the lowered cpu speed? Or is it that so much stuff is going on that this is fastest speed possible?

And the touchscreen input seems to be off when going near to the edges...
Can this be fixed easily? Well I think I will try play around a little with the touchscreen... Well lets see =)

Btw: Is the touchscreen now also timer driven? Or just the buttons?
Logged

Offline shotofadds

  • Developer
  • Member
  • *
  • Posts: 368
Re: Cowon D2
« Reply #254 on: April 08, 2008, 10:52:25 AM »
Quote from: Yeeze on April 08, 2008, 10:36:43 AM
I noticed the debug screen got much slower... Is that because of the lowered cpu speed? Or is it that so much stuff is going on that this is fastest speed possible?
It's neither: the CPU cache appears to be disabled in the bootloader (when enabled it gives roughly a 15x increase in speed, so that's the effect you're seeing). I added a note about this to the wiki Known Issues list just this morning.

Quote from: Yeeze on April 08, 2008, 10:36:43 AM
And the touchscreen input seems to be off when going near to the edges...
Can this be fixed easily? Well I think I will try play around a little with the touchscreen... Well lets see =)
There's not actually a touchscreen driver at all really, just a couple of lines of test code in the bootloader. Hence there's no calibration or jitter-correction whatsoever, so you get that slightly odd behaviour.

What you're currently seeing is not timer driven, but when the touchscreen driver is implemented "for real" it certainly will be.
Logged

  • Print
Pages: 1 ... 15 16 [17] 18 19 ... 65
« previous next »
+  Rockbox Technical Forums
|-+  Rockbox Development
| |-+  New Ports
| | |-+  Cowon D2
 

  • SMF 2.0.17 | SMF © 2019, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.087 seconds with 14 queries.