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:

Rockbox Ports are now being developed for various digital audio players!

+  Rockbox Technical Forums
|-+  Rockbox Development
| |-+  New Ports
| | |-+  Altera DE1 FPGA BOARD - Porting Rockbox to a softcore CPU (NIOS II)
« previous next »
  • Print
Pages: [1]

Author Topic: Altera DE1 FPGA BOARD - Porting Rockbox to a softcore CPU (NIOS II)  (Read 7842 times)

Offline mdipolt

  • Member
  • *
  • Posts: 4
Altera DE1 FPGA BOARD - Porting Rockbox to a softcore CPU (NIOS II)
« on: July 07, 2011, 03:52:05 AM »
I am student from the FH Hagenberg in Austria and my bachelor thesis is about porting Rockbox to a softcore cpu like the NIOS II from Altera.

I will use the Altera DE1 Board to port Rockbox.
The Board has following features:

Cyclone II EPC20F484C7N FPGA
8MB SDRAM
512 KB SSRAM
10 Switches
4 Keys
4 7-Segments
SD Card Slot
RS232
WM9731 Audio Decoder with I2C

DE1 Board: http://www.altera.com/education/univ/materials/boards/de1/unv-de1-board.html
Touch Display for the DE1 Board: http://www.terasic.com.tw/cgi-bin/page/archive.pl?Language=English&No=213

Infos about the NIOS2, a softcore processor which run in the fpga: http://en.wikipedia.org/wiki/Nios_II

I just started and will inform you about the working pogress.


Logged

Offline JdGordon

  • Member
  • *
  • Posts: 1817
  • Constantly breaking stuff
Re: Altera DE1 FPGA BOARD - Porting Rockbox to a softcore CPU (NIOS II)
« Reply #1 on: July 17, 2011, 03:08:19 AM »
sounds like fun. good luck :)
Logged


Using PMs to annoy devs about bugs/patches is not a good way to have the issue looked at.

Offline mdipolt

  • Member
  • *
  • Posts: 4
Re: Altera DE1 FPGA BOARD - Porting Rockbox to a softcore CPU (NIOS II)
« Reply #2 on: July 17, 2011, 04:37:39 PM »
thx, now i can configure the codec over I2C.

sdram, serial, leds, key works also next step i am working on is to generate sound with a parallel 2 I2s converter in hardware.

the next were: sdcard access and display output(maye with vga or external display with touch)

Logged

Offline markun

  • Developer
  • Member
  • *
  • Posts: 462
Re: Altera DE1 FPGA BOARD - Porting Rockbox to a softcore CPU (NIOS II)
« Reply #3 on: July 18, 2011, 02:58:37 AM »
Do you have some public place where you document what you are doing? Perhaps you could use the rockbox wiki.

I see that NIOS II is compatible with the wishbone bus, do you use any cores from opencores.org? I'm just curious but have no experience with it myself :)
Logged

Offline mdipolt

  • Member
  • *
  • Posts: 4
Re: Altera DE1 FPGA BOARD - Porting Rockbox to a softcore CPU (NIOS II)
« Reply #4 on: July 18, 2011, 04:11:16 AM »
I havent create a new port page on wiki yet, i will create it now

where did you read that the nios II is compatible with the wishbone bus?

i want use the sdio core for sd card access http://opencores.org/project,sdhc-sc-core but the nios II i created with the qsys builder(new program as replacement for the sopc builder) uses the avalon bus.

The avalon and wishbone bus should be similiar and connectable, but i havent tried it yet.


Logged

Offline markun

  • Developer
  • Member
  • *
  • Posts: 462
Re: Altera DE1 FPGA BOARD - Porting Rockbox to a softcore CPU (NIOS II)
« Reply #5 on: July 20, 2011, 09:59:56 AM »
I guess I read it here: http://wiki.altium.com/display/ADOH/Altera+Nios+II

But since I don't see the altera site mentioning it, it's probably not correct.

EDIT:

Is the wrapper in the last post of this forum thread useful?

http://www.alteraforum.com/forum/showthread.php?t=2238
« Last Edit: July 20, 2011, 10:36:48 AM by markun »
Logged

Offline phr

  • Member
  • *
  • Posts: 25
Re: Altera DE1 FPGA BOARD - Porting Rockbox to a softcore CPU (NIOS II)
« Reply #6 on: August 07, 2011, 02:25:21 PM »
The Milkymist SOC (milkymist.org) using a Lattice FPGA may also be of interest.
Logged

Offline mdipolt

  • Member
  • *
  • Posts: 4
Re: Altera DE1 FPGA BOARD - Porting Rockbox to a softcore CPU (NIOS II)
« Reply #7 on: August 18, 2011, 10:33:58 AM »
Sure, in my thesis i compare the nios II from altera, mico32 from lattice, and the leon3 from gaißler research.

I have only one week left for the final release so i am spend all my time on writting now.

I will upload my thesis when i finished it. The time was sadly to short for porting rockbox complete to the de1 board, but i will continue it in my free time during master studies.

The problem of the nios II is that the cpu isnt free and you dont get the source. For the mico32 and leon3 you can download the full source and both are under the gpl.

The problem with the mico32 is that if you use a lattice fpga you dont have a jtag connector for debugging.
Logged

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Rockbox Development
| |-+  New Ports
| | |-+  Altera DE1 FPGA BOARD - Porting Rockbox to a softcore CPU (NIOS II)
 

  • SMF 2.0.19 | SMF © 2021, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.055 seconds with 17 queries.