Trying to switch using to a Sil0680 card with OS 4.1 FE

A forum for AmigaOne XE and MicroA1-C specific issues.

Trying to switch using to a Sil0680 card with OS 4.1 FE

Postby akeronen » Mon Sep 12, 2016 7:53 am

Good day.

HARDWARE

* AmigaOne XE-G3
* Sil0680 controller (before using mobos ide ports)
* no other PATA/SATA device connected except one hdd (primary master) and a cdrom-drive (secondary master) with Sil0680 card.
* Radeon 9250 card fitted in the AGP slot
* 512 MB RAM
* FM801 sound card in one lower PCI slots.

SW

Amiga OS 4.1 Final Edition
* managed to install it before this last experiment and it worked fine using a1ide ports.

UBOOT

U-Boot 1.1.1 (Mar 3 2005 - 16:42:53), Build: 03/03/05
slb_v2 1.19 (11/26/2008) Installed already to hdd from Final Edition using a1ide ports.


Long story short:

I am trying to switch using from a1ide ports (motherboard own ide ports) to using a Sil0680 card which I purchased earlier from Vesalia.
So far I have already installed Final Edition to my hdd (before this attempt) and it was working ok, except freezing occationally.


After that I updated first (holding my breath very deeply) U-boot to its latest version from Hyperion support pages.
I installed then the Sil0680 card and proceeded to change all relevant U-boot parameters from ide_ to sii0680ide_ parameters.

Hdd and cdrom-drive are detected by U-boot using Sil0680 card. It also manages to load all kickstart files from hdd but then refuses to start Workbench.
I get a boing ball screen and disk insertion animation with nothing more interesting happening.

Nothing was changed to previous OS 4.1FE installation or its hdd partitions.


Any ideas what could be missing or wrong?

Capturing all my U-boot parameters from console seems to be a bit difficult since I don't know how to scroll the screen after printenv command.
Resetting my computer and trying to start from OS 4.1 Final Edition CD-ROM results to the same situation with no Workbench.


I captured the following serial log to see what is happening:

U-Boot 1.1.1 (Mar 3 2005 - 16:42:53), Build: 03/03/05

CPU: 750FX v2.2 @ 800 MHz
Board: AmigaOne
DRAM:
Information for SIMM bank 0:
Number of banks: 1
Number of row addresses: 13
Number of coumns addresses: 11
SIMM is registered
Supported burst lenghts: 8 4 2 1 PAGE
Supported CAS latencies: CAS 3 CAS 2
RAS to CAS latency: 3
Precharge latency: 3
SDRAM highest CAS latency: 750
SDRAM 2nd highest CAS latency: 1000
SDRAM data width: 4
Auto Refresh supported
Refresh time: 1042 clocks
Bank 0 size: 512 MB

Slot 1: vacant
DIMM0_B0_SCR0 = 0x00ff9f00
DIMM0_B1_SCR0 = 0x007f9f00
DIMM0_B2_SCR0 = 0x007f9f00
DIMM0_B3_SCR0 = 0x007f9f00
Using CAS 3 (slow)
DRAM_GCR0 = 0x00550400
Refresh set to 2083 clocks, auto refresh on
DRAM_REFRESH0 = 0x00019823
Mode bank 0: 0x00008032
512 MB
FLASH: 0 kB
VGA: 0 ..
In: serial
Out: serial
Err: serial
0000: 00 FF FF FF FF FF FF 00 21 34 FF 60 01 01 01 01 ........!4.`....
0010: 27 11 01 03 08 2F 1E 78 EA D5 15 A4 55 49 9A 27 '..../.x....UI.'
0020: 14 50 54 AD CF 00 81 80 B3 00 95 00 95 0F 01 01 .PT.............
0030: 01 01 01 01 01 01 21 39 90 30 62 1A 27 40 68 B0 ......!9.0b.'@h.
0040: 36 00 DA 28 11 00 00 1C 00 00 00 FC 00 4E 32 32 6..(.........N22
0050: 30 57 20 44 2D 73 75 62 0A 20 00 00 00 FD 00 38 0W.D-sub.......8
0060: 4C 1F 50 0F 00 0A 20 20 20 20 20 20 00 00 00 FF L.P.............
0070: 00 30 57 41 50 30 42 37 39 30 39 32 33 38 00 C9 .0WAP0B7909238..
0080: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
0090: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00A0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00B0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00C0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00D0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00a1ide.device 53.20 (24.9.2014)

[a1ide/dev_init] Config forced in $a1ide_conf : 0000
[a1ide/dev_init] IRQ modes forced in $a1ide_irq : 0000
[a1ide/dev_init] Found chip #0
[a1ide/init_port][sii0680ide/irq_wait] timed out
[sii0680ide/exec_pio_data_in_cmd] <- here
[sii0680ide/ata_read_drive_properties] unit 1 returned error 255, failbits 00000000h, timeout 0
[sii0680ide/init_port] Port 0 task started
[sii0680ide/init_port] ---> Port 1
[sii0680ide/init_port] IOBase 00802410, AltBase 0080241A
[sii0680ide/init_port] bmcr_base 00802428
[sii0680ide/init_port] MMIOBase 98100100
[sii0680ide/init_port] Config forced, won't scan port 1
[sii0680ide/init_port] 2 device(s) on port
[sii0680ide/port_list] 0 Master : 'ATA'
[sii0680ide/port_list] 1 Slave : 'ATA'
[sii0680ide/init_port] Starting 'sii0680ide.device - chip 0 port 1' task
[sii0680ide/init_unit] Trying to configure unit 2
[sii0680ide/ata_read_drive_properties] Unit 2 returned error 31, failbits 00000000h, timeout 0
[sii0680ide/init_unit] Trying to configure unit 3
[sii0680ide/ata_read_drive_properties] Unit 3 returned error 12, failbits 00000000h, timeout 1
[sii0680ide/init_port] Port 1 task started
[sii0680ide/dev_init] All done
sii3112ide.device 53.20 (24.9.2014)

[sii3112ide/dev_init] Nothing started, bailing out
sii3114ide.device 53.20 (24.9.2014)

[sii3114ide/dev_init] Nothing started, bailing out
sii3512ide.device 53.20 (24.9.2014)

[sii3512ide/dev_init] Nothing started, bailing out
[sii0680ide/find_unit] unitnum 4 invalid (!chip)
[sii0680ide/find_unit] unitnum 5 invalid (!chip)
[sii0680ide/find_unit] unitnum 6 invalid (!chip)
[sii0680ide/find_unit] unitnum 7 invalid (!chip)
[sii0680ide/find_unit] unitnum 8 invalid (!chip)
[sii0680ide/find_unit] unitnum 9 invalid (!chip)
[sii0680ide/find_unit] unitnum 10 invalid (!chip)
[sii0680ide/find_unit] unitnum 11 invalid (!chip)
[sii0680ide/find_unit] unitnum 12 invalid (!chip)
[sii0680ide/find_unit] unitnum 13 invalid (!chip)
[sii0680ide/find_unit] unitnum 14 invalid (!chip)
[sii0680ide/find_unit] unitnum 15 invalid (!chip)
[bootmenu] Detected machine type = AmigaOne
[bootmenu] No preferred BootDevice specified
[bootmenu] Pr
akeronen
 
Posts: 2
Joined: Sun Sep 11, 2016 3:30 pm

Re: Trying to switch using to a Sil0680 card with OS 4.1 FE

Postby tonyw » Mon Sep 12, 2016 2:59 pm

What is happening is that the settings for U-Boot are all OK and it is booting properly, loading Kickstart and running the system, but can't boot the system disk (probably because the loader is looking in the wrong place for a system disk).

This might be your problem:
[sii0680ide/init_port] Config forced, won't scan port 1


It doesn't say what the config is forced to, but I would wager that it does not include the system disk.

Check the setting: "printenv sii0680ide_conf". It should say "xy00", where "x" and "y" are the devices you have on the Primary Master and Primary Slave (0 = nothing connected, 1 = HDD, 2 = CD/DVD).
cheers
tony
User avatar
tonyw
AmigaOS Core Developer
AmigaOS Core Developer
 
Posts: 1237
Joined: Wed Mar 09, 2011 2:36 pm
Location: Sydney, Australia

Re: Trying to switch using to a Sil0680 card with OS 4.1 FE

Postby akeronen » Mon Sep 12, 2016 4:22 pm

Thanks tonyw for advice and it worked.

I gave the following commands to U-boot :

setenv sii0680ide_conf 1020
saveenv
akeronen
 
Posts: 2
Joined: Sun Sep 11, 2016 3:30 pm

Re: Trying to switch using to a Sil0680 card with OS 4.1 FE

Postby tonyw » Tue Sep 13, 2016 1:15 am

That's great.

I forgot to say that setting only affects the mounting of the devices by OS4. U-Boot has its own settings, which will get you as far as loading Kickstart and launching the system, but the sii0680ide_conf (if specified) controls which devices are actually mounted by OS4. You don't have to have that setting, but it speeds up the mounting process, because the device driver does not have to poll non-existent devices.
cheers
tony
User avatar
tonyw
AmigaOS Core Developer
AmigaOS Core Developer
 
Posts: 1237
Joined: Wed Mar 09, 2011 2:36 pm
Location: Sydney, Australia


Return to Platform: AmigaOne XE and MicroA1-C

Who is online

Users browsing this forum: No registered users and 2 guests