Minimig Discussion Forum

Discussing the Open Source FPGA Amiga Project
It is currently Sun May 28, 2017 12:58 am

All times are UTC




Post new topic Reply to topic  [ 39 posts ]  Go to page Previous  1, 2, 3, 4  Next
Author Message
 Post subject: Re: Compiling the ARM firmware?
PostPosted: Thu Jan 24, 2013 5:47 pm 
Offline

Joined: Tue Dec 13, 2011 7:48 pm
Posts: 341
minimig_emu wrote:
Any advice?

Whether compiled original ARM core or from by user Master of Gizmo. So not one does not work. Thus green LED flashes as crazy and lights at 30%. But the screen of nothing: (


Have you tried taking an RS232 serial cable, set the jumper accordingly, and see what you can see in the way of debugging messages?

_________________
~ 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: Compiling the ARM firmware?
PostPosted: Thu Jan 24, 2013 9:55 pm 
Offline

Joined: Fri Dec 09, 2011 11:31 am
Posts: 91
MMrobinsonb5 wrote:
Have you tried taking an RS232 serial cable, set the jumper accordingly, and see what you can see in the way of debugging messages?

I'll try it with a serial RS232 cable and let you know ...


Top
 Profile  
 
 Post subject: Re: Compiling the ARM firmware?
PostPosted: Thu Jan 31, 2013 12:53 pm 
Offline

Joined: Fri Dec 09, 2011 11:31 am
Posts: 91
First I tried the functionality of RS232 cable. And it's OK, at boot time from the PIC or ARM announces boot state.
But when I upload my compiled kernel to the ARM, so no listing. :(

In order to correctly setup ARM, using the files from the archive from the "Master of Gizmo".
The following files:
AT91SAM7S256-ROM.ld
Cstartup_SAM7.c
Cstartup.S


Top
 Profile  
 
 Post subject: Re: Compiling the ARM firmware?
PostPosted: Sat Feb 02, 2013 12:48 am 
Offline

Joined: Fri Dec 09, 2011 11:31 am
Posts: 91
So I managed to compile the ARM core and partially works. Loads the FPGA core and passes configuration. But it stops the error you get messages, see listing. This is the kernel from the archive MIST published yesterday by the user "Master of Gizmo".

Quote:
Master of Gizmo:

For the compile I set -DMINIMIG_V1_0 and here's the listing.

Code:
Minimig by Dennis van Weeren
ARM Controller by Jakub Bednarski

Version ATH130202

SDHC card detected
spiclk: 24 MHz
partition type: 0x00 (FAT16)
fat_size: 235
fat_number: 2
fat_start: 138
root_directory_start: 608
dir_entries: 512
data_start: 640
cluster_size: 64
cluster_mask: FFFFFFC0
FPGA init is high
file "MINIMIG1BIN" found
FPGA bitstream file opened
[****************************************************]
FPGA bitstream loaded
FPGA configured in 1046 ms
Running minimig setup
file "LOGO    RAW" found
Booting ...
file "MINIMIG CFG" not found
file "ROM     KEY" not found
file "KICK    ROM" found
[****************************************************************]
file "AR3     ROM" not found
file "HARDFILEHDF" not found
Illegal track read: 255


Any advice?


Top
 Profile  
 
 Post subject: Re: Compiling the ARM firmware?
PostPosted: Sat Feb 02, 2013 12:32 pm 
Offline

Joined: Tue Sep 25, 2012 7:15 pm
Posts: 105
i have never tested my version on a real minimig as i don't own one and i assume this is what you are trying to achieve.

You are actually getting pretty far. I am not sure how compatible all thiose controller firmwares and fpga cores are. it may very well be possible that my firmware which is based on chaos' de1 port which in turn is based on the chameleon port is incompatible with the original minimig core.

You might have better luck with the files i posted some weeks ago as these were indeed based on the original minimig arm controller code.


Top
 Profile  
 
 Post subject: Re: Compiling the ARM firmware?
PostPosted: Sat Feb 02, 2013 12:51 pm 
Offline

Joined: Tue Nov 09, 2010 3:10 pm
Posts: 315
I doubt the minimig-de1 is that different from original minimig so that the firmware wouldn't work. I have no idea how close to the chameleon port it is, since it is not based on that, apart from firmware and the TG68K core. The minimig-de1 is based on tobiflexx' original DE1 port plus selected patches of changes made by boing4000 on the original minimig code. The current firmware should be compatible with the latest FPGA code for the original minimig.

minimig_emu: if you get as far as loading the kick.rom into memory, the FPGA core is reasonably working, you might have some incompatibilities with the amiga side boot code. I had similiar problems myself with some code in either config.c or menu.c, but unfortunately I don't remember where exactly. I had to disable any bootscreen printouts after loading the kickstart image to make it work. You can try that, or put a bunch of debug printouts, starting with main.c to see where the firmware hangs.

_________________
** my minimig builds: http://somuch.guru/ **


Top
 Profile  
 
 Post subject: Re: Compiling the ARM firmware?
PostPosted: Sat Feb 02, 2013 9:51 pm 
Offline

Joined: Fri Dec 09, 2011 11:31 am
Posts: 91
Quote:
Master of Gizmo, chaos


thanks for advice
and some the picture
Attachment:
boot1.jpg
boot1.jpg [ 136.19 KiB | Viewed 1445 times ]

Attachment:
boot2.jpg
boot2.jpg [ 86.15 KiB | Viewed 1445 times ]


Top
 Profile  
 
 Post subject: Re: Compiling the ARM firmware?
PostPosted: Tue Feb 05, 2013 4:05 pm 
Offline

Joined: Tue Dec 13, 2011 7:48 pm
Posts: 341
minimig_emu wrote:
and some the picture


Very exciting developments! So what did you use in the end? Makefiles and toolchain from MiST, with the menu code from the DE1?

One of the things Chaos and I would like to do (and have made a start on) is to have a unified source tree that can be used to build the firmware for all variants of the Minimig, since right now it's hard to keep track of which features are available for which boards. (For instance, the version you have now should support mounting both entire SD cards and SD card partitions as Amiga hard drives, and also support WinUAE (RDB-less) hardfiles.)

_________________
~ 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: Compiling the ARM firmware?
PostPosted: Tue Feb 05, 2013 8:59 pm 
Offline

Joined: Fri Dec 09, 2011 11:31 am
Posts: 91
MMrobinsonb5 wrote:

Very exciting developments! So what did you use in the end? Makefiles and toolchain from MiST, with the menu code from the DE1?

I used the complete source files from the MiST. I think there are included adjustments the DE1.

MMrobinsonb5 wrote:
(For instance, the version you have now should support mounting both entire SD cards and SD card partitions as Amiga hard drives, and also support WinUAE (RDB-less) hardfiles.)

Yes, this is supported in this version ...


Top
 Profile  
 
 Post subject: Re: Compiling the ARM firmware?
PostPosted: Tue Feb 05, 2013 9:02 pm 
Offline

Joined: Fri Dec 09, 2011 11:31 am
Posts: 91
One more thing I would like to see in the ARM firmware. Possibility to retrieve files through the ARM (emulators, player ...).
So that the FPGA asks ARM for a file and if it exists that is sent to the FPGA.

How to do it?


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 39 posts ]  Go to page Previous  1, 2, 3, 4  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