Poster | Thread |
lucaricossa
| |
DMA on SAM Posted on 7-Dec-2008 16:15:51
| | [ #1 ] |
|
|
|
Regular Member |
Joined: 6-May-2003 Posts: 260
From: Genève | | |
|
| Hi everybody,
How do I put the HDD and CD in DMA mode on SAM ? Hints welcome, thanks
Luca |
|
Status: Offline |
|
|
Rob
| |
Re: DMA on SAM Posted on 7-Dec-2008 16:40:52
| | [ #2 ] |
|
|
|
Elite Member |
Joined: 20-Mar-2003 Posts: 6385
From: S.Wales | | |
|
| @lucaricossa
I haven't used the Sam version of 4.1 but you should be able to enable in UBoot prefs in SYS:prefs |
|
Status: Offline |
|
|
Faranheit
| |
Re: DMA on SAM Posted on 7-Dec-2008 16:57:05
| | [ #3 ] |
|
|
|
Regular Member |
Joined: 26-Sep-2008 Posts: 132
From: Moselle / Lorraine / France / Luxembourg / Belgique | | |
|
| @lucaricossa
In U-Boot, just type :
sete sii3114ide_xfer G000 save
And reboot.
That's all ;)
@Rob: there's no u-boot prefs on Amiga OS 4.1 for Sam ;)
See you later ;) Laurent aka Faranheit Last edited by Faranheit on 07-Dec-2008 at 04:57 PM.
_________________ ZORAWSKI Laurent Amedia Computer France Your Amigadventurer Mobile : (+33) 7 71 10 72 22 Fax : (+33) 3 87 57 07 21 Mail : laurent@amedia-computer.com Site : http://www.amedia-computer.com Site : http://faranheit.dyndns.org:8080/FPGA%20Arcade/ MSN |
|
Status: Offline |
|
|
lucaricossa
| |
Re: DMA on SAM Posted on 7-Dec-2008 17:51:47
| | [ #4 ] |
|
|
|
Regular Member |
Joined: 6-May-2003 Posts: 260
From: Genève | | |
|
| @Faranheit
shouldn't it be something from AmigaDOS like idetool -x something? Because after the uboot env changing, idetool still reports pio as transfermode... |
|
Status: Offline |
|
|
Faranheit
| |
Re: DMA on SAM Posted on 7-Dec-2008 18:20:24
| | [ #5 ] |
|
|
|
Regular Member |
Joined: 26-Sep-2008 Posts: 132
From: Moselle / Lorraine / France / Luxembourg / Belgique | | |
|
| @lucaricossa
Have you type the 'save' command in u-boot to save the variable ?
Also, is your hard disk connected to the first serial ata port ?
'idetool -l' just shows the mode used by the hard disk and the optical device.
And take a good look at the result displayed by idetool, it displays at least 2 results : the first for the harddisk and the second for the optical device, don't forget to extend the shell window to the maximum to see the first one :)
See you later ;) Laurent aka Faranheit _________________ ZORAWSKI Laurent Amedia Computer France Your Amigadventurer Mobile : (+33) 7 71 10 72 22 Fax : (+33) 3 87 57 07 21 Mail : laurent@amedia-computer.com Site : http://www.amedia-computer.com Site : http://faranheit.dyndns.org:8080/FPGA%20Arcade/ MSN |
|
Status: Offline |
|
|
nexus
| |
Re: DMA on SAM Posted on 7-Dec-2008 19:12:52
| | [ #6 ] |
|
|
|
Regular Member |
Joined: 11-Feb-2005 Posts: 430
From: Germany | | |
|
| @Faranheit
why isn't DMA set by default? Are there any problems or other issues with SAM & DMA? Is it recommended to set HD and CD to DMA mode?
nexus _________________ dye 'em black! |
|
Status: Offline |
|
|
Yaroze
| |
Re: DMA on SAM Posted on 7-Dec-2008 20:02:25
| | [ #7 ] |
|
|
|
Member |
Joined: 13-Oct-2008 Posts: 79
From: Sweden | | |
|
| Is it possible to even turn off DMA on SATA devices? _________________ SAM440EP MINI-ITX 667MHz - 512MB SAM440EP FLEXATX 800MHz - 512MB - R9250 256MB |
|
Status: Offline |
|
|
Kicko
| |
Re: DMA on SAM Posted on 7-Dec-2008 20:41:17
| | [ #8 ] |
|
|
|
Elite Member |
Joined: 19-Jun-2004 Posts: 5009
From: Sweden | | |
|
| @Yaroze
Its possible to "Turn on" with M-DMA (joke) |
|
Status: Offline |
|
|
Swoop
| |
Re: DMA on SAM Posted on 8-Dec-2008 2:12:49
| | [ #9 ] |
|
|
|
Elite Member |
Joined: 20-Jun-2003 Posts: 2163
From: Long Riston, East Yorkshire | | |
|
| @lucaricossa
Quote:
shouldn't it be something from AmigaDOS like idetool -x something? Because after the uboot env changing, idetool still reports pio as transfermode... |
On my A1 I have to put the following in my user-startup to force DMA Quote:
run >nil: c:idetool -x sii0680ide.device 2 67 |
This forces UDMA3 on device 3 on my sil card.
On a Sam I would imagine you have to sustitute the your ide driver for the above, but as sata only supports one drive per cable the device numbers need to be changed. Have a look in Sys/documentation/IDE for the actual details._________________ Peter Swallow. A1XEG3-800 [IBM 750FX PowerPC], running OS4.1FE, using ac97 onboard sound.
"There are 10 types of people in the world: those who understand binary, and those who don't." |
|
Status: Offline |
|
|
mwoof
| |
Re: DMA on SAM Posted on 8-Dec-2008 4:20:34
| | [ #10 ] |
|
|
|
Super Member |
Joined: 12-Jan-2004 Posts: 1174
From: Larisa, Greece | | |
|
| @Faranheit
Quote:
Have you type the 'save' command in u-boot to save the variable ? |
saveenv
_________________ And may the AmigaGuide you!
AmigaOne G3-SE, OS4 Final (July 2007 update), Debian Sarge, 512 MB RAM, 20 + 80 GB hard disks, NEC 3540 DVD writer, LG DVD reader, Radeon 9250, SB Live, Intracom Netfaster router, PCI USB card (NEC - OHCI/EHCI) |
|
Status: Offline |
|
|
Faranheit
| |
Re: DMA on SAM Posted on 8-Dec-2008 7:20:15
| | [ #11 ] |
|
|
|
Regular Member |
Joined: 26-Sep-2008 Posts: 132
From: Moselle / Lorraine / France / Luxembourg / Belgique | | |
|
| @mwoof
'save' is enough for your information :)
See you later ;)
Laurent aka Faranheit _________________ ZORAWSKI Laurent Amedia Computer France Your Amigadventurer Mobile : (+33) 7 71 10 72 22 Fax : (+33) 3 87 57 07 21 Mail : laurent@amedia-computer.com Site : http://www.amedia-computer.com Site : http://faranheit.dyndns.org:8080/FPGA%20Arcade/ MSN |
|
Status: Offline |
|
|
COBRA
| |
Re: DMA on SAM Posted on 8-Dec-2008 9:15:25
| | [ #12 ] |
|
|
|
Super Member |
Joined: 26-Apr-2004 Posts: 1809
From: Auckland, New Zealand | | |
|
| @lucaricossa
You can also do it within OS4 using the 'nvsetvar' command, e.g.:
nvsetvar sii3114ide_xfer G00G
Note that there are 4 digits to set, and each digit represents one of the units on the SATA controller (from 0 to 3). In the Sam you normally have HDD on unit 0, and optical as unit 3, and setting G00G will make the fastest possible DMA mode to be used on both your HDD and optical drive. |
|
Status: Offline |
|
|
Faranheit
| |
Re: DMA on SAM Posted on 8-Dec-2008 9:51:18
| | [ #13 ] |
|
|
|
Regular Member |
Joined: 26-Sep-2008 Posts: 132
From: Moselle / Lorraine / France / Luxembourg / Belgique | | |
|
| @COBRA
Be careful, some SlimSata DVD Writers doesn't support the DMA option fully ;)
See you later ;) Laurent aka Faranheit _________________ ZORAWSKI Laurent Amedia Computer France Your Amigadventurer Mobile : (+33) 7 71 10 72 22 Fax : (+33) 3 87 57 07 21 Mail : laurent@amedia-computer.com Site : http://www.amedia-computer.com Site : http://faranheit.dyndns.org:8080/FPGA%20Arcade/ MSN |
|
Status: Offline |
|
|
lucaricossa
| |
Re: DMA on SAM Posted on 8-Dec-2008 10:42:41
| | [ #14 ] |
|
|
|
Regular Member |
Joined: 6-May-2003 Posts: 260
From: Genève | | |
|
| @all thanks to everybody. I will try different solutions
|
|
Status: Offline |
|
|
Hypex
| |
Re: DMA on SAM Posted on 8-Dec-2008 13:36:31
| | [ #15 ] |
|
|
|
Elite Member |
Joined: 6-May-2007 Posts: 11330
From: Greensborough, Australia | | |
|
| @COBRA
Quote:
You can also do it within OS4 using the 'nvsetvar' command, e.g.: |
Not on my OS4, it doesn't exist. Must have been added in with the extra .1. |
|
Status: Offline |
|
|
Dwyloc
| |
Re: DMA on SAM Posted on 8-Dec-2008 13:43:11
| | [ #16 ] |
|
|
|
Super Member |
Joined: 30-Mar-2005 Posts: 1053
From: Glasgow, Scotland | | |
|
| @Faranheit
Quote:
Faranheit wrote: Be careful, some SlimSata DVD Writers doesn't support the DMA option fully ;)
|
Were did you get this information from?
All currently available SlimSATA DVD drivers support DMA and it is recommended that you turn on DMA by the manufacturers for correct operation while writing DVDs.
I have seen one or two cheap SATA adapters that have problems with slimDVD drives in general but none with issues limited to mode DMA operation.
_________________ Sam440ep 667mhz, 512MB, 120GB 2.5" HD, OS4.1FE WinUae 3.0.0, OS 3.9, BB3, Catweasel MkIV Amiga 1200, Blizzard 040/40 (BlizzardPPC 060/200 with SCSI removed at present), mediatorSX pci, Voodoo3, PCI network card os 3.9BB2 4MB Minimig with ARM addon boar |
|
Status: Offline |
|
|