Support and General Use > Hardware

Open source player?

<< < (4/5) > >>

speachy:

--- Quote from: spaceship9876 on November 21, 2023, 11:36:05 AM ---are there any plans for rockbox to support risc-v, if so maybe this would be viable? - https://www.gigadevice.com/product/mcu/risc-v/gd32vw553kmq7

--- End quote ---

Rockbox has been natively ported to four distinct CPU architectures, and the hosted port can run on anything that is capable of running Linux or SDL.  So there's no inherent reason why a RISC-V port can't be done, other than the willingness of a suitably skilled someone to undertake the effort. 

However, it's not going to be to that particular gigadevice SoC - It only has 320KB of RAM, placing it in the same general class of shovelware SoCs like the RKNano and ATJ212x/215x/216x series, sporting an order of magnitude less RAM than is needed for something that would have the features users expect from something called "rockbox".

While we already support slightly-feature-limited low-res monochrome targets with only 2MB of RAM,  The full feature set (with a color screen) requires at least 4MB of RAM, and ideally over 8MB for the full set of plugins.

spaceship9876:
I saw in a different post that psram would work with esp32 chips. I have found a couple of risc-v based chips that use psram, would these be suitable?

Bouffalo Lab BL606P: https://en.bouffalolab.com/product/?type=detail&id=16
https://files.sekorm.com/opt/fileStore/cms/nps/editor/20220905/1662390034905031533th.jpg
http://www.semiinsights.com/uploadfile/2021/1217/20211217044459863.png - supports 4-32MB PSRAM

Bouffalo Lab BL702: https://en.bouffalolab.com/product/?type=detail&id=4
BL702 datasheet: https://github.com/bouffalolab/bl_docs/blob/main/BL702_RM/en/BL702_BL704_BL706_RM_en_1.2.pdf

Bouffalo SDK: https://github.com/bouffalolab/bouffalo_sdk

I'm also wondering if rockbox could run on a 16bit microcontroller.

speachy:

--- Quote from: spaceship9876 on November 25, 2023, 04:41:57 AM ---Bouffalo Lab BL606P: https://en.bouffalolab.com/product/?type=detail&id=16

--- End quote ---

Given the asymmetric nature of the processor cores (one native 64-bit, one native 32-bit) I don't know if we can utilize both simultaneously, but even limited to a single core it should be more than powerful enough for an uncompromised rockbox por.


--- Quote from: spaceship9876 on November 25, 2023, 04:41:57 AM ---Bouffalo Lab BL702: https://en.bouffalolab.com/product/?type=detail&id=4

--- End quote ---

This one is _possible_, but the processor is pretty slow -- we're likely to struggle with many of the codecs.


--- Quote from: spaceship9876 on November 25, 2023, 04:41:57 AM ---I'm also wondering if rockbox could run on a 16bit microcontroller.

--- End quote ---

Every Rockbox port has been to a 32-bit processor, so I'd expect that a port to a 16-bit processor would be quite perilous due to deeply-embedded assumptions like "int==32bits" and the expectation a linear 32-bit address space.  Plus, there would be the inherent performance impact (you'd probably need a dedicated mp3/etc hardware decoder to handle the audio output in realtime).  It's probably _doable_ but... why?  Especially when 32-bit MCUs can be had for pennies.

saratoga:
Unless your goal is to make your life as difficult as possible, pick a CPU with either a few MB of SRAM or the ability to add an extra dollar or two of DRAM to the board.

spaceship9876:
it looks like we might have a perfect chip for rockbox if risc-v support is added: https://www.cnx-software.com/2024/01/11/spacetouch-spv60-ai-audio-processor-features-a-400-mhz-andes-d25f-risc-v-core/

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version