U-Boot fails to boot when using SCSI card

A forum for AmigaOne XE and MicroA1-C specific issues.
Amigafan
Posts: 21
Joined: Sun Jun 24, 2012 9:58 am
Location: Warsaw, Poland

U-Boot fails to boot when using SCSI card

Post by Amigafan »

I've tried to use SCSI card on my AmigaOne XE
It is Tekram DC-390F with 53C875 chipset.
I get u-boot error message and then Amiga reset itself.
This SCSI card works OK in PC.
What is the problem here?

Code: Select all

U-Boot 1.1.4 (Mar 16 2006 - 12:23:46), Build: 02/28/06

CPU: 750FX v2.2 @ 800 MHz
Board: AmigaOne
DRAM: 512 MB
FLASH: 0 kB
VGA: 0 ..
In: serial
Out: serial
Err: serial
SCSI: Bad trap at PC: ffbca78, SR: a030, vector=300
NIP: 0FFBCA78 XER: 00000000 LR: 0FFBE470 REGS: 0ef66de0 TRAP: 0300 DAR: 00000000
MSR: 0000a030 EE: 1 PR: 0 FP: 1 ME: 0 IR/DR: 11

GPR00: 90100100 0EF66ED0 00000400 90100114 00000040 00000004 02100007 00000000
GPR08: 00000002 0FFD4324 90100100 00000000 20000042 BD1FA4D1 0FFD5600 10068000
GPR16: FDBF24FB BBBFE470 ACBD9FF0 BFBFBEF7 3F3FDEA1 00000001 BDAF1ED3 B7EBA4E3
GPR24: FC9EB691 9CAEB9F1 0EF66F70 00000006 00005000 0EF66F88 0FFD7C70 0EF67152
Call backtrace:
0FF9E460 0FFBE6DC 0FFBE94C 0FFA79F4 0FF96FD0 0FF6A71C 0FF6A4EC
Exception in kernel pc ffbca78 signal 0 
User avatar
OldFart
Posts: 55
Joined: Tue Jul 12, 2011 2:56 pm
Location: Groningen, Netherlands

Re: U-Boot fails to boot when using SCSI card

Post by OldFart »

@Amigafan

Have you set the proper uboot variable?
setenv lsi538cxx_override 0001
saveenv

(Got a µA1 and an installed Tekram card myself to be abble the (utterly useless) Zip100-drive awa the Epson 1200S scanner)

OldFart
Sleeping X5000, eagerly awaiting awakening
Dead MicroA1
A1200 in ElBox, c/w Blizzard '040 @ 50MHz + SCSI module, ZIV-board c/w (o.a.) cv64/3d + flickerdoubler + FastATA-ZIV + Lots of SCSI gear (for sale, willing to split)
RaspBerry Pi 2B, 3B & 4B (4Gb)
Amigafan
Posts: 21
Joined: Sun Jun 24, 2012 9:58 am
Location: Warsaw, Poland

Re: U-Boot fails to boot when using SCSI card

Post by Amigafan »

This env is only valid in OS4 - not in u-boot itself, so I believe it is not matter here.
User avatar
OldFart
Posts: 55
Joined: Tue Jul 12, 2011 2:56 pm
Location: Groningen, Netherlands

Re: U-Boot fails to boot when using SCSI card

Post by OldFart »

It IS in uboot!

These are my settings (take a look at the final one):

Code: Select all

New Shell process 3
Enter command --> nvgetvar
bootcmd=menu; run menuboot_cmd
bootdelay=0
baudrate=115200
preboot=
stdout=vga
stdin=ps2kbd
ide_doreset=on
ide_maxbus=2
ide_cd_timeout=30
menucmd=menu
pci_irqa=9
pci_irqa_select=level
pci_irqb=10
pci_irqb_select=level
pci_irqc=11
pci_irqc_select=level
pci_irqd=7
pci_irqd_select=level
bootmethod=boota
ethact=3Com 3c920c#0
ethaddr=00:09:D2:28:02:88
a1ide_conf=1020
a1ide_xfer=F0E0
boot2=ide
boot_config=Default
boot_method=boota
os4_commandline=debuglevel=0
bootargs=root=/dev/ram rw ramdisk=4096
boot1=cdrom
boot3=net
menuboot_delay=1
boota_timeout=3
vga_fg_color=14
vga_bg_color=0
usb0_enable=off
limit_memory=256
scsi_pci_override=0001
video_num=1
menuboot_cmd=
lsi53c8xx_override=0001
Enter command -->  
OldFart
Sleeping X5000, eagerly awaiting awakening
Dead MicroA1
A1200 in ElBox, c/w Blizzard '040 @ 50MHz + SCSI module, ZIV-board c/w (o.a.) cv64/3d + flickerdoubler + FastATA-ZIV + Lots of SCSI gear (for sale, willing to split)
RaspBerry Pi 2B, 3B & 4B (4Gb)
Amigafan
Posts: 21
Joined: Sun Jun 24, 2012 9:58 am
Location: Warsaw, Poland

Re: U-Boot fails to boot when using SCSI card

Post by Amigafan »

I know it is in u-boot and what it does.
But it is for OS4 to recognize SCSI not for u-boot itself.
And it is needed to show OS4 DeviceID of the SCSI card if it is different than 0x000F
My Tekram has DeviceID 0x000F so this env variable is not needed here.
My other SCSI card has DeviceID 0x000C and in this case I've used this variable.
Evillord68
Beta Tester
Beta Tester
Posts: 233
Joined: Sun Jun 19, 2011 5:26 pm

Re: U-Boot fails to boot when using SCSI card

Post by Evillord68 »

I never tried a scsi card in my Aones, but have you ever tried Uboot1.1.1?
The version which you use is a betaversion, its Uboot1.1.4. on the Hyperion-Homepage is only Uboot 1.1.1 available. Perhaps your problem will be solved with the 1.1.1 Version.
Amigafan
Posts: 21
Joined: Sun Jun 24, 2012 9:58 am
Location: Warsaw, Poland

Re: U-Boot fails to boot when using SCSI card

Post by Amigafan »

I've checked u-boot 1.1.1, 1.1.4 and 1.2.0 ;)
User avatar
javierdlr
Beta Tester
Beta Tester
Posts: 380
Joined: Sun Jun 19, 2011 10:13 pm
Location: Donostia (GUIPUZCOA) - Spain
Contact:

Re: U-Boot fails to boot when using SCSI card

Post by javierdlr »

first try to check what DEVICE value has your SCSI card, mine:
Shell/CLI:
pciscan shows:
..
13 0x1000 0x0001 LSI Logic / Symbios Log 53c810
..
my DEVICE value is 0001

Under UBOOT:
UBoot prompt, enter "PCI SCAN", and look at the line with a PCI vendor code of 0x1000. The
product code is the figure next to 0x1000. It may be anything, usually it will be 0x0001, or 0x000C, or 0x000F
etc.


create an UBOOT variable called:
lsi53c8xx_override=<value> (in my case 0001)

to create the var under Shell/CLI:
nvsetvar lsi53c8xx_override=0001
( '=' not mandatory yo can left a blank sapce)

under UBOOT:
setenv lsi53c8xx_override=0001
saveenv

to see under UBOOT the vars type:
printenv
and should see the new 'lsi53c8xx_override=0001' env-variable.

Hope it helps.
Amigafan
Posts: 21
Joined: Sun Jun 24, 2012 9:58 am
Location: Warsaw, Poland

Re: U-Boot fails to boot when using SCSI card

Post by Amigafan »

This env variable is not the issue here.
It will not change the way my SCSI card is recognized by u-boot. It is for OS4 only.
My problem is that u-boot hangs with SCSI card connected.
After displaying the message (captured using serial cable) the A1 reset itself, message is displayed again and it repeats until I power down the computer and disconnect SCSI card.
I was hoping to get answer as what this u-boot message means? What is wrong with the SCSI card or u-boot?
User avatar
javierdlr
Beta Tester
Beta Tester
Posts: 380
Joined: Sun Jun 19, 2011 10:13 pm
Location: Donostia (GUIPUZCOA) - Spain
Contact:

Re: U-Boot fails to boot when using SCSI card

Post by javierdlr »

Did you try plugin such card in different PCI slot on the AOne?
All Uboot versions you tried, showed same msg/error?
Maybe the card is incompatible on A1. visit http://www.intuitionbase.com/comphard.php?category=7 maybe it helps
Post Reply