Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
42 user(s) are online (25 user(s) are browsing Forums)

Members: 1
Guests: 41

NinjaCyborg, more...

Support us!

Headlines

 
  Register To Post  

(1) 2 3 4 »
AmigaOne U-Boot bugs - please read
Quite a regular
Quite a regular


See User information
Hello World.

As you might have heard, I am working on an update to the AmigaOne U-Boot. As such, I want to try and get rid off as many bugs as possible.

If you have any problem that you think is caused by a bug in U-Boot, please post them in this thread. I will try to fix them as far as this is possible.

Please try to be precise with your reports. Things like xxx doesn't work are going to be ignored.

Thank you.

Edit

Orgin has create an entry in the os4depot bug tracker for U-Boot. You can find it here


Edited by Rogue on 2008/9/29 19:18:43
Seriously, if you do want to contact me write me a mail. You're more likely to get a reply then.
Go to top
Re: AmigaOne U-Boot bugs - please read
Just popping in
Just popping in


See User information
@Rogue

As I've said before on Uboot 1.1.1 Scsi locks up the system when launching kickstart. I never could get a serial dump. And at the moment my A1 is being repaired so I can't give it another try for you.


renoir

Go to top
Re: AmigaOne U-Boot bugs - please read
Just popping in
Just popping in


See User information
@Rogue

Excellent!
Pioneer 107D (and likely the 105 too) DVD/RW drives have an interrupt problem. If "Use Interrupts" is enabled for these drives, it can't find the boot drive (or much of anything else for that matter). I believe this is in UBoot because once the system is loaded, you can re-enable interrupts and faster transfers without problems.
If these are the only drives that it happens with, then it may not be worth fixing. But if it's a sign of a recurring problem.. Well, you decide what to do with it.
My 107D has been updated with the latest firmware, and if you need it for testing, it's yours. Just PM your shipping address to me.

Thanks,
LyleHaze

Go to top
Re: AmigaOne U-Boot bugs - please read
Quite a regular
Quite a regular


See User information
@Rogue

First off, thanks for giving us this possibility
As regards my issues with U-Boot, they are not that important, but since you asking...


Machine: A1 XE G4@1GHz
U-Boot version: 1.1.4 (Mar 16 2006 - 12:23:46)


My "major" problem is that initialization of my DVD drive takes some 13 seconds (that's a relevant part of the 36 seconds it takes to cold-boot - it bugs me when I start the machine and does not allow me to impress people even more ), whereas the CDRW and HD initialization is practically immediate.

All of the devices are mounted on a Silicon 680 card, more precisely a Q-TEC 340R.
For cables length reasons, the layout is as follows:
- primary master: CDRW;
- primary slave: DVD;
- secondary master: HD;
(corresponding U-Boot variables: sii0680ide_conf=2210, sii0680ide_xfer=CCG0).

The DVD is an Artec 16x drive, which U-Boot describes with this string: Vendor: IDE Prod. : DVD-ROM 16x Rev: 2.02
Idetool returns the following (correct) parameters:

Quote:
Flags : $0000011D - present, supports DMA, removable media, ATAPI, interrupts used,
Xfer mode : best pio 12 (PIO 4, 16 MB/s) / best dma 66 (UDMA 2, 33 MB/s) / current 66 (UDMA 2, 33 MB/s)
Total blocks : 0
Blocksize : 0
SCSI devtyp : 5
Packet size : 12
Current medium read speed : x 65535 ('65535' stands for max.)
Current medium write speed : x 65535 (idem)
Power mode : 2 / idle (ready for operation)
IO1 / IO2 / BMCR @ : $8020C0 / $8020CA / $8020E0

No other drives are mounted (including the floppy drive).
Other than the initial delay, the drive works fine.


My "minor" problem is that, I think, there are some leftovers from the previous versions. I cannot be 100% accurate because most of what follows comes off the top of my head.
IIRC (some of) the ide_* variables have been obsoleted by the a1* and sii* ones (although I keep some of them set for some reason I cannot remember), but the graphical menu still sets and saves them (I can't really tell because since I found the menu clutters the environment, I stopped using it). Same goes for (some of) menucmd, bootmethod, boot_method, menuboot_cmd, boot_command: I can do without them and I guess that, even if I used the graphical menu, not all of them would be needed.
In short, I'd suggest a little cleanup.
Just in case you may need it, here is my full U-Boot environment:
Quote:
bootargs=root=/dev/ram rw ramdisk=4096
bootdelay=0
baudrate=115200
stdout=vga
stdin=ps2kbd
ethact=3Com 3c920c#0
kbddev_sysreqishelp=yes
ide_doreset=on
ide_cd_timeout=30
sii0680ide_maxbus=2
sii0680ide_timeout=5
bootcmd=boota
boot2=psiicdrom
boota_timeout=1
video_activate=agp
serial1_address=3f8
serial2_address=2f8
parallel_mode=1
parallel_address=378
usb0_enable=on
usb1_enable=off
usb_use_header=0
ethaddr=00:09:D2:11:01:15
ipaddr=<unset>
serverip=<unset>
menuboot_delay=0
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
agp_enable=on
agp_speed=2x
limit_memory=256
use_memory_limit=no
ide_maxbus=0
sii0680ide_conf=2210
sii0680ide_xfer=CCG0
bootdevice=2:1
boot1=psii
agp_sideband=on
video_num=1
os4_commandline=debuglevel=0

(just noticed I could probably remove bootargs, ide_maxbus and agp_sideband).


Hope this helps,
saimo

Go to top
Re: AmigaOne U-Boot bugs - please read
Quite a regular
Quite a regular


See User information
@Rogue & moderators

Is it OK to discuss issues? Or would it be preferable to use this thread for reports only?
In the meanwhile, I hope you don't mind if I answer Renoir...


@Renoir

Sorry if these questions sound obvious, but I guess it's better to make sure your problems lie in U-Boot and not somewhere else.
The Kickstart is launched by the SLB (not U-Boot): are you sure you have the right version installed? Does Kickstart launching start altogether? If yes, does it halt immediately or at some point? Have you modified the Kicklayout?

saimo

Go to top
Re: AmigaOne U-Boot bugs - please read
Amigans Defender
Amigans Defender


See User information
@Rogue

When no PS/2 keybaord is attached, U-boot attempts to reset it an excessive number of times.

When stdin=usbkbd it shouldn't really be trying to reset the PS/2 keyboard at all.


Also, my DVD-RW drive (a Lite-on LDW-411S) isn't recognised by U-Boot. It might be the way I have it connected up though - it's on a SATA-PATA adapter connected to a SiI 3112 (the SATA HDD on the same card is recognised correctly)

Chris

Go to top
Re: AmigaOne U-Boot bugs - please read
Quite a regular
Quite a regular


See User information
@Renoir

Thanks. This bug was already fixed in earlier (unreleased) versions of U-Boot, so this should be fixed in the new installment.

Seriously, if you do want to contact me write me a mail. You're more likely to get a reply then.
Go to top
Re: AmigaOne U-Boot bugs - please read
Quite a regular
Quite a regular


See User information
@LyleHaze

Problem is that I don't exactly know much about ATAPI, so the chance that I can fix that is pretty slim.

Edit: Does the drive report anything? I mean, does it give debug output, or is it just not detected?

Seriously, if you do want to contact me write me a mail. You're more likely to get a reply then.
Go to top
Re: AmigaOne U-Boot bugs - please read
Quite a regular
Quite a regular


See User information
@saimo

Quote:
My "major" problem is that initialization of my DVD drive takes some 13 seconds (that's a relevant part of the 36 seconds it takes to cold-boot - it bugs me when I start the machine and does not allow me to impress people even more)


I just tested, my drive here takes about five seconds with or without a CD. That happens to be the timeout of the ATAPI code. If you drive takes that long, it's a problem with the drive, and I won't be able to do anything about it.

It's a Samsung DVD drive.

About the variables, just delete them.

Seriously, if you do want to contact me write me a mail. You're more likely to get a reply then.
Go to top
Re: AmigaOne U-Boot bugs - please read
Quite a regular
Quite a regular


See User information
@Chris

Problem is that I cannot take this out. If I do, some PS/2 keyboard will not connect at all anymore.

At the early stage, the stdin and stdout are still set to serial. I'll investigate what possibilities are there; if I can get to the nvram during early init (I think that is possible) I can try to read the actual variable and inhibit ps/2 reset, but the problem is really that if the manure hits the fan, you might be stuck with a system that you cannot use anymore.

A possibility would be to have a separate variable that inhibits the reset of the PS/2 keyboard so that users that know what they are in for can set it.

About the DVD drive, see my other reply. The ATAPI code is a mystery to me. If anyone with a problematic DVD drive is adventurous enough, I can send them a test version of U-Boot with debug output enabled to shed some light on it, BUT you would have to be aware that there is no reverting back to an older version unless you have a firmware file for the firmware updater. The current version should work and be able to boot AmigaOS, but is largely untested and might make a complete mess out of your system.

If that doesn't scare you, write me a mail

Seriously, if you do want to contact me write me a mail. You're more likely to get a reply then.
Go to top
Re: AmigaOne U-Boot bugs - please read
Quite a regular
Quite a regular


See User information
@Rogue

Quote:

Rogue wrote:I just tested, my drive here takes about five seconds with or without a CD.

Ah, yes, I forgot to mention that that's without CD in.

Quote:
That happens to be the timeout of the ATAPI code. If you drive takes that long, it's a problem with the drive, and I won't be able to do anything about it.

mmm... if 5 seconds is the timeout, how come checking goes as far as 13 seconds (of course I prefer a longer wait than a non-recognized drive )?
One more thing I forgot: at some point I got my U-Boot chip replaced (that's why I happen to have version 1.1.4 instead of 1.1.1) and I'm almost sure that the wait was only 7 seconds before - i.e. version 1.1.4 could have done things worse.
Oh, well. It's not that important. Just keep it in mind in case you spot something not quite right

Quote:
About the variables, just delete them.

That's what I do. I was pointing them out just to allow you to do some cleaning up.

saimo

Go to top
Re: AmigaOne U-Boot bugs - please read
Quite a regular
Quite a regular


See User information
@saimo

Quote:
Ah, yes, I forgot to mention that that's without CD in.


Even if I leave the tray open, it only takes four seconds without a CD.

Quote:
One more thing I forgot: at some point I got my U-Boot chip replaced (that's why I happen to have version 1.1.4 instead of 1.1.1) and I'm almost sure that the wait was only 7 seconds before - i.e. version 1.1.4 could have done things worse.


Well, wait-and-see then I suppose. If things don't work better with 1.3.4, we may revisit the problem.

Quote:
That's what I do. I was pointing them out just to allow you to do some cleaning up.


I'll check if any of those are still in the default environment.

Seriously, if you do want to contact me write me a mail. You're more likely to get a reply then.
Go to top
Re: AmigaOne U-Boot bugs - please read
Amigans Defender
Amigans Defender


See User information
@Rogue

Quote:
At the early stage, the stdin and stdout are still set to serial. I'll investigate what possibilities are there; if I can get to the nvram during early init (I think that ispossible) I can try to read the actual variable and inhibit ps/2 reset, but the problem is really that if the manure hits the fan, you might be stuck with a system thatyou cannot use anymore.

A possibility would be to have a separate variable that inhibits the reset of the PS/2 keyboard so that users that know what they are in for can set it.


Either of those sound good to me. Taking the battery out should reset the stdin variable, so as long as you check for the specific case of "usbkbd" there's a bit of a failsafe there (it can also be changed within OS4 of course)

Ideally it should also auto-detect what sort of keyboard is attached, but that's probably more "feature request" than "bug"

Go to top
Re: AmigaOne U-Boot bugs - please read
Quite a regular
Quite a regular


See User information
@Chris

Quote:
Ideally it should also auto-detect what sort of keyboard is attached, but that's probably more "feature request" than "bug"


Well, to detect a PS/2 keyboard, it needs to send the resets, which gets you back to the start - you need to reset the keyboard to detect its presence, and you need to reset it several times to find all the slow ones (mostly wireless stuff).

FWIW, USB reset takes equally long to detect all devices.

Seriously, if you do want to contact me write me a mail. You're more likely to get a reply then.
Go to top
Re: AmigaOne U-Boot bugs - please read
Just can't stay away
Just can't stay away


See User information
Im with chris about the:
When no PS/2 keybaord is attached, U-boot attempts to reset it an excessive number of times.

But that you already know. :) (make an setenv for it)

Go to top
Re: AmigaOne U-Boot bugs - please read
Quite a regular
Quite a regular


See User information
@Rogue

On my case Ihave a bug on U-Boot prefs on Workbench.
This has been when I try to change the boot devices for my Sill0680 card and when I try to disable all the other possible boot sources like VIA686 and others.
After marking al the options when I click on save it shows the parameters to be changed,yes or no on the top left of the window (unclickable) and on the bottom it says UBoot:requester window.Notice that I have all is spanish and I am doing the translation the more accurate I can.





Then I click on the botton of the bottom window and nothing is changed.
If I try to cancel it's impossible to exit the prefs program.

So at the moment I can do nothing but configure on the real U-Boot.

Notice that this bug is on OS 4.0 Final July update.

Thanks for staying here with the community Rogue.

Amiga 500 1MB Chip RAM with ACA 500+ACA1232,CD32,Amiga 1300 030/50 Mhz,32MB (now on my hands at least)and Amiga One G3 XE PPC 800 Mhz,ATI Radeon 9250 128 MB,256 MB RAM,Seagate 200 GB HD,2 working DVD drives,X-Arcade double for MAME,Sil0680,4 USB ports,LG
Go to top
Re: AmigaOne U-Boot bugs - please read
Home away from home
Home away from home


See User information
@Rogue

USB keyboard does not work in UBOOT, if computer has been turned off.

USB Keyboard works if I reboot after OS4 has been loaded, and exit to UBOOT, then the keyboard will work.

(NutsAboutAmiga)

Basilisk II for AmigaOS4
AmigaInputAnywhere
Excalibur
and other tools and apps.
Go to top
Re: AmigaOne U-Boot bugs - please read
Quite a regular
Quite a regular


See User information
@MamePPCA1

This is not about UBoot prefs, sorry. I don't even know who maintains that component (might actually be orphaned), but in any case, this is only about bugs directly within U-Boot.

Sorry.

Seriously, if you do want to contact me write me a mail. You're more likely to get a reply then.
Go to top
Re: AmigaOne U-Boot bugs - please read
Quite a regular
Quite a regular


See User information
@LiveForIt

First time I hear about that problem, so far I was under the impression that the U-Boot USB code is pretty solid.

Is that a wireless USB keyboard? If yes, it might simply not respond quickly enough.

Do you have a PS/2 keyboard? If yes, try to plug that in and issue a "usb reset" from the command line. If that works, I can try to insert a second usb reset if the stdin is set to usbkbd and no keyboard was found. Otherwise, I don't think I can fix that, it is very likely related to a bad keyboard.

Seriously, if you do want to contact me write me a mail. You're more likely to get a reply then.
Go to top
Re: AmigaOne U-Boot bugs - please read
Home away from home
Home away from home


See User information
@Rogue

Quote:
Is that a wireless USB keyboard

Yes, ( it has FN key no Win key, and no menu key )
Quote:
Do you have a PS/2 keyboard? If yes, try to plug that in and issue a "usb reset" from the command line.

Thats not posible when stdin=usbkbd is set, I can't use the PS2 keyboard even if it was succesfuly detected, I solved the problem by removing the backup batteri and then "reset to factory" to get access to my ps2 keyboard again.

(NutsAboutAmiga)

Basilisk II for AmigaOS4
AmigaInputAnywhere
Excalibur
and other tools and apps.
Go to top

  Register To Post
(1) 2 3 4 »

 




Currently Active Users Viewing This Thread: 1 ( 0 members and 1 Anonymous Users )




Powered by XOOPS 2.0 © 2001-2024 The XOOPS Project