Minimig Discussion Forum
http://minimig.net/

Compiling the ARM firmware?
http://minimig.net/viewtopic.php?f=7&t=514
Page 4 of 4

Author:  sweetlilmre [ Thu Apr 18, 2013 4:28 am ]
Post subject:  Re: Compiling the ARM firmware?

Hi,

I have successfully built minimig_emu's firmware and would like to flash it to the ARM board.
I have SAM-BA (which I have used before) but I can't seem to get the board into bootloader mode!

Could someone explain the procedure in terms of what DIP switches to set and when?
Does the ARM board need to be powered via the minimig etc?

Thanks
-(e)

Author:  MMrobinsonb5 [ Thu Apr 18, 2013 8:15 am ]
Post subject:  Re: Compiling the ARM firmware?

sweetlilmre wrote:
I have successfully built minimig_emu's firmware and would like to flash it to the ARM board.
I have SAM-BA (which I have used before) but I can't seem to get the board into bootloader mode!


Leave the ARM board connected to the Minimig.
Turn off the Minimig, and disconnect everything including the SD card.
Set the "Test" DIP switch to the "on" position then apply power and turn on the Minimig for 10 seconds or so. (This restores the bootloader code in the ARM.)
Turn the board off again.
Set the "Test" DIP switch to the "off" position,
Turn on the board and it should now be in bootloader mode.

Author:  sweetlilmre [ Thu Apr 18, 2013 8:53 am ]
Post subject:  Re: Compiling the ARM firmware?

MMrobinsonb5 wrote:
Leave the ARM board connected to the Minimig.
Turn off the Minimig, and disconnect everything including the SD card.
Set the "Test" DIP switch to the "on" position then apply power and turn on the Minimig for 10 seconds or so. (This restores the bootloader code in the ARM.)
Turn the board off again.
Set the "Test" DIP switch to the "off" position,
Turn on the board and it should now be in bootloader mode.


Fantastic! I will give this a bash tonight (after repairing the ARM board, I broke one of the damn pins off by mistake... I am an idiot :cry: )
-(e)

Author:  boing4000 [ Thu Apr 18, 2013 9:59 am ]
Post subject:  Re: Compiling the ARM firmware?

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.)


The whole sd-card or single partition usage is not possible on MinimigV1 board.
Since ARM require a FAT(16/32) formattet partition with the FPGA core file and Kickstart image, the sd-card or 1st partition must stay this way.

I have killed whole data on a test sd-card while beta testing with both of this settings.
To make Amiga access a whole fat sd-card it may work in Workbench using CrossDOS. But in this case I doubt a 32GiB HC card will be accessable.
The "disk image" and "filesystem" function is working great and should only be used.

Author:  MMrobinsonb5 [ Thu Apr 18, 2013 11:22 am ]
Post subject:  Re: Compiling the ARM firmware?

boing4000 wrote:
The whole sd-card or single partition usage is not possible on MinimigV1 board.
Since ARM require a FAT(16/32) formattet partition with the FPGA core file and Kickstart image, the sd-card or 1st partition must stay this way.


Yes, the first partition (or entire card, if unpartitioned) must remain FAT formatted. That goes for the TG68-based Minimig variants too.

If the card is partitioned, then it should be fine to use any but the first partition.

Quote:
To make Amiga access a whole fat sd-card it may work in Workbench using CrossDOS. But in this case I doubt a 32GiB HC card will be accessable.


Not with CrossDOS, but Fat95 should be able to manage it. There are geometry problems that make using Fat95 hit and miss at the moment - I haven't had time to address them yet - but Fat95 is the intended use case for the whole card mode.

For instance, on my 16GB card, I have a 1 gig FAT partition, then a 4 GB partition containing an image of the hard drive from my old A4000/030. I have "Card Partition 2" as the primary hard drive, and "Entire Card" as the secondary hard drive, so I can mount the FAT partition using Fat95 for easy transfer of files.

In theory it should be possible to use Boot95 to put an RDB with the Fat95 filesystem on an SD card, and boot the Amiga from FAT, but I haven't managed to get that working yet.

Author:  sweetlilmre [ Fri Apr 19, 2013 6:03 pm ]
Post subject:  Re: Compiling the ARM firmware?

AHA!

ARM board repaired and the new firmware flashed thanks to MMrobinsonb5' helpful directions.
Seems to work quite well. Now to try out the partitioning stuff :D

-(e)

Author:  sweetlilmre [ Fri May 10, 2013 7:31 pm ]
Post subject:  Re: Compiling the ARM firmware?

Hi,

I've built minimig_emu's firmware and it seems to work well.
However when using HDToolBox, the letters in the Manufacturers Name and Drive Name fields in the Define Drive Type dialog have swapped characters, is this just my build?:

Image


-(e)

Author:  benh [ Mon Jun 24, 2013 8:12 am ]
Post subject:  Re: Compiling the ARM firmware?

Hi Folks !

The files posted by Master of Gizmo don't seem to be there anymore. Somebody has a backup ?

I'd like to spend a bit of time porting my old MacPlus core over (rewrite the PIC side for
the ARM which I got in the meantime), so the Makefiles/crt0.S/etc... interest me :-)

Thanks !

Author:  MMrobinsonb5 [ Mon Jun 24, 2013 11:21 am ]
Post subject:  Re: Compiling the ARM firmware?

benh wrote:
Hi Folks !

The files posted by Master of Gizmo don't seem to be there anymore. Somebody has a backup ?

I'd like to spend a bit of time porting my old MacPlus core over (rewrite the PIC side for
the ARM which I got in the meantime), so the Makefiles/crt0.S/etc... interest me :-)

Thanks !


Minimig_emu ported the new firmware back to the Minimig+ARM board - you can find it here: viewtopic.php?f=7&t=584 - it should give you all the makefiles and startup code.

Page 4 of 4 All times are UTC
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/