Uboot

This forum is for all AmigaOne 500, Sam440 and Sam460 specific issues.
Post Reply
User avatar
kilaueabart
Posts: 1070
Joined: Mon Mar 05, 2012 2:36 am

Uboot

Post by kilaueabart »

Having used CFE on my X1000 for a few years, I've forgotten what Uboot is supposed to tell me. I always get the following when booting my revamped SAM460ex:

------------------------------------
Config: PCIe 4x + PCIe 1x
USB: scanning bus for devices ... 6 USB Device(s) found
scanning bus for storage devices... 2 Storage Device(s) found
SATA Device 0: OK SATA Device 1: not available SATA Device 2: ..........

Model: ATAPI Firm: ALa5 Ser#: iHAS24 B
Type: Removeable CD ROM
Capacity: 538.8 MB = 0.5 GB (275878 x 2048)
not available

Press SPACE for prefs, ENTER for boot select, ESC for prompt
Booting... 4
---------------------------------------

So, is that "ATAPI ... CD ROM" SATA Device 2? How does Uboot know so much about a device that isn't available?

More to the point, can I set something in Uboot that will save me from waiting for it to give up on that ".........." stuff?
User avatar
Raziel
Posts: 1170
Joined: Sat Jun 18, 2011 4:00 pm
Location: a dying planet

Re: Uboot

Post by Raziel »

Code: Select all

set ide_maxbus=1
will skip all scans on the ide chain after SATA Device 0 (If you ever want to use your CDRom later on, you'll have to change that setting accordingly)
I'd put the CDRom on position 1 of the chain, set maxbus to 2 and be done with it :-)

The official wiki

Old but still good crash course on UBoot

If you look at the first picture you'll see that there is a Device 3: not available.
As UBoot seems to find your CDRom just fine (even reports the capacity correctly) the "not available" part after that looks to me as if it belongs to a (missing the output) Device 3.

So, your CDRom seems to be there just fine, sitting on position 2 on the IDE chain.
People are dying.
Entire ecosystems are collapsing.
We are in the beginning of a mass extinction.
And all you can talk about is money and fairytales of eternal economic growth.
How dare you!
– Greta Thunberg
User avatar
kilaueabart
Posts: 1070
Joined: Mon Mar 05, 2012 2:36 am

Re: Uboot

Post by kilaueabart »

Thanks. I've bookmarked the wiki in case of future need, but it sounds like I just need to follow the
put the CDRom on position 1 of the chain, set maxbus to 2
suggestion, which I will next time I boot.
User avatar
kilaueabart
Posts: 1070
Joined: Mon Mar 05, 2012 2:36 am

Re: Uboot

Post by kilaueabart »

Raziel wrote:

Code: Select all

set ide_maxbus=1
will skip all scans on the ide chain after SATA Device 0 (If you ever want to use your CDRom later on, you'll have to change that setting accordingly)
I was a bit dismayed when that didn't make any difference, but I guess I don't even have an ide chain. When I set s4sii_maxbus to 1 I got the desired result.

If in fact I do not have an "ide chain," I wonder whether there is any point to these:

Code: Select all

ide_doreset=on
ide_reset_timeout=15
ide_cd_timeout=20
The UBoot documents you recommended don't seem to clear that matter up.
User avatar
Raziel
Posts: 1170
Joined: Sat Jun 18, 2011 4:00 pm
Location: a dying planet

Re: Uboot

Post by Raziel »

Too long ago, so my memory is faint at best.

I'm not sure if the "ide_" stuff only affects the "onboard" ide or is used generally for some of the settings.

Better not touch them if it works now...or, if you feel brave, set them to 0 or off and see what happens ;-)
People are dying.
Entire ecosystems are collapsing.
We are in the beginning of a mass extinction.
And all you can talk about is money and fairytales of eternal economic growth.
How dare you!
– Greta Thunberg
Post Reply