Minimig Discussion Forum

Discussing the Open Source FPGA Amiga Project
It is currently Fri Nov 17, 2017 11:21 pm

All times are UTC




Post new topic Reply to topic  [ 22 posts ]  Go to page Previous  1, 2, 3  Next
Author Message
 Post subject: Re: DE1-SoC port
PostPosted: Wed Nov 02, 2016 7:54 pm 
Offline

Joined: Sun Oct 11, 2009 3:19 pm
Posts: 20
sonycman wrote:
Get the port worked today!
With the HPS ARM as a system controller.
Need some testing though.


Is it in a GitHub somewhere, so one can play with it?


Top
 Profile  
 
 Post subject: Re: DE1-SoC port
PostPosted: Wed Nov 02, 2016 10:16 pm 
Offline

Joined: Sun Sep 25, 2016 4:05 pm
Posts: 29
e2kcpu wrote:
Is it in a GitHub somewhere, so one can play with it?

Sorry, I don`t familiar with GitHub.
But I can upload project files as an archive, here: https://yadi.sk/d/4HMR5UX9x3ddV

The archive includes sources:
Altera-SoCFPGA-HardwareLib-MPL2 - Altera MPL preloader sources
minimig_de1_soc - HPS processor sources (for Altera SoC EDS with DS-5 ARM compiler)
minimig_de1_soc_rtl - Quartus project sources (project file in the path: de1_soc\minimig_de1_soc_rtl\fpga\de1\minimig_de1.qpf)

And compiled binaries:
app.img - compiled HPS application
mpl_C5_s-mkpimage.bin - preloader image
fpga.img - compiled fpga image

Last three files must be placed on the FAT formatted SD card.
Preloader image is a special case - it must be written in second custom partition of type 0xa2 by the alt-boot-disk-util utility.
PS: this info is just in case, as the SoC developer should knew it already.


Top
 Profile  
 
 Post subject: Re: DE1-SoC port
PostPosted: Sat Nov 05, 2016 6:35 pm 
Offline

Joined: Sun Oct 11, 2009 3:19 pm
Posts: 20
sonycman wrote:
e2kcpu wrote:

But I can upload project files as an archive, here: https://yadi.sk/d/4HMR5UX9x3ddV

Last three files must be placed on the FAT formatted SD card.
Preloader image is a special case - it must be written in second custom partition of type 0xa2 by the alt-boot-disk-util utility.
PS: this info is just in case, as the SoC developer should knew it already.


Sorry, I'm new to the DE1-SOC :(

I copy the files to the SD-Card, did the
$ alt-boot-disk-util.exe -p mpl_C5_s-mkpimage.bin -a write -d G
Altera Boot Disk Utility
Copyright (C) 1991-2014 Altera Corporation
Altera Boot Disk Utility was successful.

But I get on the terminal as output:

INIT: MPL build: Oct 23 2016 22:20:29
INIT: Initializing board.
INIT: MPU clock = 100 MHz
INIT: DDR clock = 400 MHz
INIT: Initializing successful.
MPL: SDRAM Size is 1048576KB.
MPL: Booting from FAT.
FAT: Mounting FAT.
FAT: Read image [app.img] header.
FAT: Read remaining image data.
FAT: Image loaded to memory.
FAT: Read FPGA [fpga.img] header.
FAT: Read remaining FPGA data.
FAT: FPGA loaded to memory.
MPL: SDRAM ECC Clearing is enabled.
MPL: SDRAM Boot Region: 0x00100000 to 0x02000000.
ERROR: FPGA programming error.
ERROR: Error in boot process. Halting.

I'm sure it is something obvious ;-)


Top
 Profile  
 
 Post subject: Re: DE1-SoC port
PostPosted: Sat Nov 05, 2016 8:55 pm 
Offline

Joined: Sun Sep 25, 2016 4:05 pm
Posts: 29
e2kcpu wrote:
sonycman wrote:
e2kcpu wrote:
I'm sure it is something obvious ;-)

Check if FPGA MSEL switches is set to right position.
They are under the chip, on the bottom side of the board.
They must be in "010000" state.


Top
 Profile  
 
 Post subject: Re: DE1-SoC port
PostPosted: Sat Nov 05, 2016 9:04 pm 
Offline

Joined: Sun Oct 11, 2009 3:19 pm
Posts: 20
sonycman wrote:
Check if FPGA MSEL switches is set to right position.
They are under the chip, on the bottom side of the board.
They must be in "010000" state.


Yup, that was the problem. I had the wrong document open about the MSEL switches !!!

Thanks a lot!!!


Top
 Profile  
 
 Post subject: Re: DE1-SoC port
PostPosted: Sat Nov 05, 2016 9:30 pm 
Offline

Joined: Sun Sep 25, 2016 4:05 pm
Posts: 29
e2kcpu wrote:
sonycman wrote:
Thanks a lot!!!

You are welcome! :D


Top
 Profile  
 
 Post subject: Re: DE1-SoC port
PostPosted: Thu Nov 17, 2016 11:43 am 
Offline

Joined: Sun Sep 25, 2016 4:05 pm
Posts: 29
Here is the Minimig-AGA port to terasic`s DE1-SoC board: https://yadi.sk/d/k0Y8199Cyq7fC
Based on the latest AGA core v1.2 by Rok Krajnc.

Quartus project file is in fpga\mist path.
Firmware is compiled for DS-5 ARM compiler.

VGA video output is forced constantly.

This is a pity the project have some problems with the amiga memory stability (fast memory especially), but the original Mist do have such problems also.

PS: both ports have in common parallel audio output (through onboard CODEC and Line Out socket), PS2 keyboard and mouse support.


Top
 Profile  
 
 Post subject: Re: DE1-SoC port
PostPosted: Thu Nov 17, 2016 10:55 pm 
Offline

Joined: Tue Dec 13, 2011 7:48 pm
Posts: 341
sonycman wrote:
Here is the Minimig-AGA port to terasic`s DE1-SoC board: https://yadi.sk/d/k0Y8199Cyq7fC
Based on the latest AGA core v1.2 by Rok Krajnc.


Thanks for making the effort to port this and share the results.

_________________
~ Amiga 4000/030 ~ Amiga 1200 030/50MHz ~ Turbo Chameleon 64 ~ Altera DE1 with Minimig core ~
Details of my projects: http://retroramblings.net


Top
 Profile  
 
 Post subject: Re: DE1-SoC port
PostPosted: Fri Nov 18, 2016 1:45 am 
Offline

Joined: Sun Sep 25, 2016 4:05 pm
Posts: 29
MMrobinsonb5 wrote:
Thanks for making the effort to port this and share the results.

And thanks to you guys who have made such an interesting and open sourced project!


Top
 Profile  
 
 Post subject: Re: DE1-SoC port
PostPosted: Tue Nov 22, 2016 1:38 pm 
Offline

Joined: Sun Feb 22, 2009 5:02 am
Posts: 175
I am curious, how much Fast RAM does that Amiga get, 8+16MB like on the MIST? And roughly what CPU speed? :)

_________________
-- kolla


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 22 posts ]  Go to page Previous  1, 2, 3  Next

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Translated by Xaphos © 2007, 2008, 2009 phpBB.fr