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:

Thank You for your continued support and contributions!

+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Hardware
| | |-+  Minimum hardware to support rockbox?
« previous next »
  • Print
Pages: [1]

Author Topic: Minimum hardware to support rockbox?  (Read 1645 times)

Offline scharkalvin

  • Member
  • *
  • Posts: 332
Minimum hardware to support rockbox?
« on: February 23, 2011, 04:14:15 PM »
If someone wanted to homebrew their own player hardware, what is the minimum that the Rockbox requires?  For example, is a Von Neuman type processor required, or would a Harvard type processor (IE: AVR) work?  Processor width (8, 16, 32 bits?).  How about minimum memory (program and data) required?  Speed (mhz, mips, instructions per second ?). 

The Chumby hacker board plus a cheap TFT LCD with touchscreen (you can get a 2.4" with TS and controller for about $20) for a total of under $100 (plus an SD card) would get you going.   

Atmel's Xmegas have up to 256kb (384mb soon) flash and can support several mb of external ram.  They have built in D/A with DMA support that might be usable for codecs.  Speed is only 32mhz (maybe can be overclocked a liltte) though.
Logged

Offline saratoga

  • Developer
  • Member
  • *
  • Posts: 8974
Re: Minimum hardware to support rockbox?
« Reply #1 on: February 23, 2011, 04:21:48 PM »
Quote from: scharkalvin on February 23, 2011, 04:14:15 PM
If someone wanted to homebrew their own player hardware, what is the minimum that the Rockbox requires?  For example, is a Von Neuman type processor required, or would a Harvard type processor (IE: AVR) work?  Processor width (8, 16, 32 bits?).  How about minimum memory (program and data) required?  Speed (mhz, mips, instructions per second ?). 

The HWCODEC targets (which use a hardware decoder rather then software decode) have ~12MHz CPUs and 1MB of RAM. 

The SWCODEC targets (which must run software decoders in RAM) require more.  The least amount of memory for any supported device is the ClipV1 with just 2MB of DRAM, and 320k of IRAM.  The slowest processor is probably the PP5002 which is a dual core ARM7TDMI running at 80MHz with very slow cache.  Faster processors allow for slower formats like AAC+ or APE to decode in real time.

All targets are >=32 bit.  16 or 24 bit would be very nearly impossible. 

Quote from: scharkalvin on February 23, 2011, 04:14:15 PM
Atmel's Xmegas have up to 256kb (384mb soon) flash and can support several mb of external ram.  They have built in D/A with DMA support that might be usable for codecs.  Speed is only 32mhz (maybe can be overclocked a liltte) though.

Thats just a microcontroller.  You're going to need a real CPU.  Realistically I wouldn't bother with anything thats not ARM/Coldfire/MIPS. 
Logged

Offline scharkalvin

  • Member
  • *
  • Posts: 332
Re: Minimum hardware to support rockbox?
« Reply #2 on: February 23, 2011, 05:21:24 PM »
Quote from: saratoga on February 23, 2011, 04:21:48 PM
Thats just a microcontroller.  You're going to need a real CPU.  Realistically I wouldn't bother with anything thats not ARM/Coldfire/MIPS. 

That's kinda what I thought.  Is a MMU (memory mapping unit for paged/segmented memory) with fault hardware required, or can a processor without  this (arm3-7) work?  Looks like the Chumby board would be about the lowest cost target point with the arm9 equal processor.
Logged

Offline saratoga

  • Developer
  • Member
  • *
  • Posts: 8974
Re: Minimum hardware to support rockbox?
« Reply #3 on: February 23, 2011, 05:40:50 PM »
Quote from: scharkalvin on February 23, 2011, 05:21:24 PM
Is a MMU (memory mapping unit for paged/segmented memory) with fault hardware required, or can a processor without  this (arm3-7) work?

An MMU is not required, and in fact we don't use VM at all.  We have lots of ARM7 targets.  Running on ARM before ARM7TDMI is probably not going to work though since you will need a modern multiplier unit if you plan on actually decoding audio.

Quote from: scharkalvin on February 23, 2011, 05:21:24 PM
  Looks like the Chumby board would be about the lowest cost target point with the arm9 equal processor.

Thats probably a little bit more then you need.  Theres actually a lot of ARM9 dev boards on line for pretty cheap, although you may need to add your own screen.
Logged

Offline scharkalvin

  • Member
  • *
  • Posts: 332
Re: Minimum hardware to support rockbox?
« Reply #4 on: February 23, 2011, 07:26:24 PM »
Quote from: saratoga on February 23, 2011, 05:40:50 PM
Quote from: scharkalvin on February 23, 2011, 05:21:24 PM
Is a MMU (memory mapping unit for paged/segmented memory) with fault hardware required, or can a processor without  this (arm3-7) work?

An MMU is not required, and in fact we don't use VM at all.  We have lots of ARM7 targets.  Running on ARM before ARM7TDMI is probably not going to work though since you will need a modern multiplier unit if you plan on actually decoding audio.

Quote from: scharkalvin on February 23, 2011, 05:21:24 PM
  Looks like the Chumby board would be about the lowest cost target point with the arm9 equal processor.

Thats probably a little bit more then you need.  Theres actually a lot of ARM9 dev boards on line for pretty cheap, although you may need to add your own screen.

As long as I'm going to use an ARM9 it might make sense to just load a Linux port and look at Rockbox as an application running under Linux.  The idea of a mini Linux tablet is also interesting, though that DOES up the ante as far as the screen goes.  Lot's of cheap 240x320 touch screens out there, some under $20 but not suitable for X.  Getting up to 480x800 resolution in a 7" touch screen and you're at about the $110 price point.  This resolution is suitable for X windows, barely.

I could run command line Linux on a homebrew tablet with the QVGA screen, and rockbox would be fine with this resolution, however the number of suitable Linux apps would be limited.  The Chumby hacker board already has a Linux port ready to run.  I'll look around and see what else is out there.
Logged

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Hardware
| | |-+  Minimum hardware to support rockbox?
 

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

Page created in 0.066 seconds with 15 queries.