@Hypex I remember how you love to mess things up in all ways so no surprise :) now lets step by step: if you rawwrite your iso on usbstick, thn you should do "boot -fs=iso usbdisk0:amigaboot.of". If you format usb with ffs then you should do "boot -fs=amigafs usbdisk0:amigaboot.of". If you do it wrong you will have "couldnt init filesystem" and co. If you not run usb patch then you will have no bootable usb device found. If you create stick by rawwrite way from iso, then -fs=iso, if ffs then be sure it have bootable flag and -fs=amigafs is used.
Just make it all clear and step by step. Be sure you have prepare stick correctly before trying to boot from.
Be sure you reattach your stick too after usb patch applied too.
Hooks installed! Supports up to 4 USB sticks.
Plug/unplug to add/remove devtree nodes.
Step 6: EHCI read-splitting hook
usbdisk_driver at 0x7FDF74D0
dispatch at 0x7FDF74E4
read = 0x7FD6FC84
Read hook at 0x7FDD3400 (348 bytes)
Chunk size: 16384 bytes
dispatch[read]: 0x7FD6FC84 -> 0x7FDD3400
=== USB FIX v14 DONE ===
*** command status = 0
CFE> port 0:1/9 enabled (high speed)
USB bus 0 device 6: vendor 0E8D product 1887 class 08: Mass-Storage Device
USBMASS: Unit 1 connected
[USB] unit 0 attached
CFE> b dir -fs=iso usbdisk1:
Installation_Files <DIR>
Installation_Support <DIR>
Kickstart <DIR>
Media <DIR>
S <DIR>
System <DIR>
.backdrop 76
amigaboot.of 51420
AmigaOS 4.1 FileSystems 39773
AmigaOS 4_1 FileSystems.i11642
Disk.info 15732
Media.info 11420
System.info 15182
*** command status = 0
CFE> boot -fs=iso usbdisk1:amigaboor t.of
Loader:elf Filesys:iso Dev:usbdisk1 File:amigaboot.of Options:(null)
Loading: 0x0000000000200000/50812 0x000000000021C67C/76 Entry at 0x0000000000200034
Starting program at 0x0000000000200034
[RUN!]
AmigaOS 4.x OpenFirmware Bootloader V1.0
Unknown file system on disk /pxp@0,e0000000/pci@11/pci@13/usbdisk0
AmigaOS 4.x OpenFirmware Bootloader V1.0
Please choose a configuration to boot (Default choice is green):
1: AmigaOS4.1_Update_6 (Volume DH0x)
2: AmigaOS4.1_Update_5-Debug (Volume DH0x)
3: AmigaOS_4.1_Final_Edition (Volume DH0)
[RETURN] Boot default [SPACE] Stop Countdown
[CTRL-U] Move default up [CTRL-D] Move Default Down
[123] Boot appropriate config
(5 sec. until autoboot)> (4 sec. until autoboot)> (3 sec. until autoboot)> (2 sec. until autoboot)> (1 sec. until autoboot)>
it works, amigaboot.of is loaded, but in amibaboot.of bootloader there is not visible USB CD - only HDDs. I can load kickstart from DH0 or DH0x, and than boot from USB CD. But still I must have kickstart on disk.
test of USB flashdisk - wit FFS filesystem:
[CFE ]CFE> boot -elf -noints -fs- =amigafs usb ide0.0:usb_fix.e; lf
Loader:elf Filesys:amigafs Dev:ide0.0 File:usb_fix.elf Options:(null)
Loading: 0x0000000000100000/6628 0x00000000001019E4/1257 0x0000000000101ECD/7 Entry at 0x0000000000100000
Starting program at 0x0000000000100000
[RUN!]=== USB FIX v14 ===
USB hook + dynamic devtree + EHCI read split
Boot chaining: installed
PXP_IGNORE_PCIE_ERRORS: set (bus 5 fix)
USB SubClass filter: widened (CD/DVD support)
Step 7: Device tree nodes
pci@12 at 0x7FE1EAF0
Node memory at 0x7FDD0000 (512 bytes)
Method dispatch from existing node: 0x7FDF7BEC
Creating node "ide1.0" at 0x7FDD0000
props: name="ide1.0", device_type="block"
Creating node "ide1.1" at 0x7FDD0100
props: name="ide1.1", device_type="block"
Appended after existing child at 0x7FE1F0A8
Verify: pci@12 children: "ide0.0" "atapi0.1" "ide1.0" "ide1.1"
=== SATA FIX v22 DONE ===
Try: show devices ; show devtree
*** command status = 0
CFE> port 0:1/9 enabled (high speed)
USB bus 0 device 6: vendor ABCD product 1234 class 08: Mass-Storage Device
USBMASS: Unit 1 connected
[USB] unit 0 attached
CFE> dir -fs=ext2 usbdisk0:
. <dir>
.. <dir>
lost+found <dir>
zImage
vmlinux
100MBfile
1GiBfile
vmlinux-test
vmlinux-6.12
vmlinux-test.old
amigaboot.of
.Trash-0 <dir>
vmlinux-5.5
zImage-5.5
5.5.11_A-EON_X1000_Nemo <dir>
vmlinux-6.1
*** command status = 0
CFE> dir -fs=amigafs usbdisk1:
Directory
Emulation dir ------------rwed
Utilities.info 14774 ------------rw-d
Internet dir ------------rwed
Devs dir ------------rwed
Trashcan dir ------------rwed
Libs dir ------------rwed
Emulation.info 15444 ------------rw-d
A-EON.info 15426 ------------rw-d
MUI.info 16828 ------------rw-d
System.info 15366 ------------rw-d
C dir ------------rwed
L dir ------------rwed
whets.res 1060 r---r-------rw-d
S dir ------------rwed
Trashcan.info 12218 ------------rw-d
ChangeLog.guide 39487 ------------rwed
MUI dir ------------rwed
Fonts dir ------------rwed
Utilities dir ------------rwed
Documentation.info 15728 ------------rw-d
Classes dir ------------rwed
amigaboot.of 62100 ------------r---
Prefs.info 15944 ------------rw-d
A-EON dir ------------rwed
Documentation dir ------------rwed
Storage dir ------------rwed
Kickstart dir ------------rwed
Firmware dir ------------rwed
ChangeLog.guide.info 9870 ------------rw-d
System dir ------------rwed
Locale dir ------------rwed
Devs.info 15912 ------------rw-d
Prefs dir ------------rwed
Storage.info 15384 ------------rw-d
Internet.info 16456 ------------rw-d
SObjs dir ------------rwed
Disk.info 13678 ------------rw-d
295675 bytes in 16 files
21 directories
*** command status = 0
CFE> boot -fs=amigafs usbdisk1:amigaboot.of
Loader:elf Filesys:amigafs Dev:usbdisk1 File:amigaboot.of Options:(null)
Loading: 0x0000000000200000/61536 Entry at 0x0000000000200000
Starting program at 0x0000000000200000
[RUN!]
AmigaOS 4.x OpenFirmware Bootloader V53.21
Please choose a configuration to boot (Default choice is green):
1: AmigaOS4.1_Update_6 (Volume DH0x)
2: AmigaOS4.1_Update_5-Debug (Volume DH0x)
3: AmigaOS_4.1_Final_Edition (Volume DH0)
[RETURN] Boot default [SPACE] Stop Countdown
Move default [UP] or [DOWN] with arrows
[123] Boot appropriate config
(5 sec. until autoboot)> (4 sec. until autoboot)> (3 sec. until autoboot)> (2 sec. until autoboot)> (1 sec. until autoboot)> (0 sec. until autoboot)>
the same behavior like before - USB Flashdisk not visible in amigaboot.of menu.
It is probably limitation of amigaboot.of Or did I some mistake and booting fully from USB without disk is possible?
AmigaOS3: Amiga 1200 AmigaOS4: Micro A1-C, AmigaOne XE, Pegasos II, Sam440ep, Sam440ep-flex, AmigaOne X1000 MorphOS: Efika 5200b, Pegasos I, Pegasos II, Powerbook, Mac Mini, iMac, Powermac Quad
Please choose a configuration to boot (Default choice is green):
1: AmigaOS4.1_X1000_Final_Edition (Volume AmigaOS 4.1 Final Edition)
2: AmigaOS_4.1_Final_Edition (Volume DH0)
[RETURN] Boot default [SPACE] Stop Countdown
Move default [UP] or [DOWN] with arrows
[12] Boot appropriate config
So first one is my CD.
The same if i use stick after, which formatted as FFS and _marked to be bootable in mediatool box of course(!)_ :
CFE> boot -fs=amigafs usbdisk1:amigaboot.of
Loader:elf Filesys:amigafs Dev:usbdisk1 File:amigaboot.of Options:(null)
Loading: 0x0000000000200000/50812 0x000000000021C67C/76 Entry at 0x0000000000200034
Starting program at 0x0000000000200034
[RUN!]
AmigaOS 4.x OpenFirmware Bootloader V1.0
Please choose a configuration to boot (Default choice is green):
1: AmigaOS4.1_X1000_Final_Edition (Volume UDH2n)
2: AmigaOS4.1_X1000_Final_Edition (Volume AmigaOS 4.1 Final Edition)
3: AmigaOS_4.1_Final_Edition (Volume DH0)
[RETURN] Boot default [SPACE] Stop Countdown
[CTRL-U] Move default up [CTRL-D] Move Default Down
[123] Boot appropriate config
So this definitely should works as you can see, but something still not.
My bet that on your 2gfx setup again some addresses shifts, and node didn't creates correctly.
Can you plz check that:
1). reboot clean. 2). run no patches, just single "usb_fix.elf" 3). insert USB CD and Stick.
At this point on serial you should see [USB] unit 0 attached and [USB] unit 1 attached amount others (those are prints from my attach() hooks).
Now, plz do "show devtree", and upload it somewhere (posting there will be too huge and bork the forum). Or if you will post it there, post then inside of quote or code blocks as always.
@Sailor In your fist output i find something strange when you use USB CD-Rom (i.e. the first output):
1). you run sata_fix, then run usb_fix : that ok. 2). Then i see that:
port 0:1/9 enabled (high speed)
USB bus 0 device 6: vendor 0E8D product 1887 class 08: Mass-Storage Device
USBMASS: Unit 1 connected
[USB] unit 0 attached
It says that you connected usb mass storage. Not a CD-Drive ! Then you do : dir -fs=iso usbdisk1: , but that strange: if you connect just a USB stick, it then "usbdisk0:" , not "usbdisk1:".
Maybe you simple mess the outputs ? And the first one was for usb-mass storage instead, while second one was for USB CD-Rom ?
In any case, try to do plz just that:
1). power off/ power on. 2). run sata_fix / usb_fix 3). attach FFS formatted usb stick with created boot system like written there : https://g-a-p.me/inside/x5kbootstick.html. "boot" flag is must in mediatoolbox. 4). You should see:
USBMASS: Unit 0 connected [USB] unit 0 attached
That mean usbdisk0.
5). do "boot -fs=amigafs usbdisk0:amigaboot.of".
At this point you should see usb partition there.
Then, once this work, you can try USB CD-Rom, same steps, but you connect USB CD-Rom and boot from it, and see if it have listed.
Also, for second test you can instert firstly usbstick, and then cdrom, and only then cdrom will be usbdisk1: If you will attach only usb cdrom, it will be usbstick0:.
I don't love to mess things up. I prefer to run a clean system but if some OS update breaks my system I'm forced to compensate. I'm still not over Update 2, where other people also needed to mix and match components as well before the hot fix. I had hoped Update 3 would give me a clean break, but I too found that Update 3 broke my system as well, and that was testing from a fresh install incrementally updated. I can't accept a system that will likely freeze on boot and where USB2 transfers don't work at all while inserting a stick locks up the system for half a minute. Right now Update 1 is solid for me, so until they find the rare bugs introduced in the last two updates, or I find new replacement hardware compatible, this situation won't change for me. It is not a mess I love.
However, you are certainly messing with CFE here. Do you love to mess with CFE? Why can't you leave the poor CFE alone?
In any case I tried again without any patches. CFE still could not load amigaboot.of from my isofs formatted USB. Need to go back to my notes, or forums with info, as it looks like isofs is not supported by CFE on USB media.
I used Linux to image the USB stick with OS4 install ISO. Because RawWrite sucks and now I see why OS4 guides don't even mention it sometimes.
I expect FFS will work. But it's a pain to setup. And that MS commodity can be buggy. So far as I know it cannot be scripted. Unless we have support programs that can format a USB drive as FFS without needing user intervention.
Also I found something last night. I was doing a repair on a FAT USB stick just in case it was breaking CFE. I ran GParted and it found an RDSK on the USB stick! It kept saying the checksum was wrong. This is very odd as that stick has been mounted numerous times on Linux and it knows it is FAT. GParted refused to identify it as FAT. But Disks has no issue. I must have used it as FFS in the past. So where ever I reformatted as FAT did not properly erase it. It still had a boot record. Make me wonder if CFE looks and this is part of why CFE cannot read FAT reliably.
1). reboot clean. 2). run no patches, just single "usb_fix.elf" 3). insert USB CD and Stick.
At this point on serial you should see [USB] unit 0 attached and [USB] unit 1 attached amount others (those are prints from my attach() hooks).
Now, plz do "show devtree", and upload it somewhere (posting there will be too huge and bork the forum). Or if you will post it there, post then inside of quote or code blocks as always.
Thanks !
I am glad that at least with some configuration it is works as expected. According to point 2) I tested both patches: with usb_fix only and with usb_fix + sata_fix. In both cases it has the same result ( no USB Kickstart directory visible. )
I have in my standard HW config allways USB flashdisk with ext2 partition and linux kernels. It is connected with hub + keyboard to first USB port. So in every of my attempts above there was two USB devices: usbdisk0: .. ext2 with linux kernels usbdisk1: .. AmigaOS boot media, or Flash or CD. Maybe amigaboot.of search for usbdisk0 only and if found no kickstart it skips usbdisk1.
So I check it without ext2 usb and without second gfx I will test again in the evening.
AmigaOS3: Amiga 1200 AmigaOS4: Micro A1-C, AmigaOne XE, Pegasos II, Sam440ep, Sam440ep-flex, AmigaOne X1000 MorphOS: Efika 5200b, Pegasos I, Pegasos II, Powerbook, Mac Mini, iMac, Powermac Quad
In any case I tried again without any patches. CFE still could not load amigaboot.of from my isofs formatted USB. Need to go back to my notes, or forums with info, as it looks like isofs is not supported by CFE on USB media.
So it mean you doing it wrong then.. I do have created ffs formatted usb stick, set it as bootable, and surely can do "boot -fs=amigafs usbdisk0:amigaboot.of", just without usb_patch it will not find as bootable.
@Sailor Quote:
So I check it without ext2 usb and without second gfx I will test again in the evening.
I tried with second gfx already: that works fine too. So that not the case.
Quote:
Maybe amigaboot.of search for usbdisk0 only and if found no kickstart it skips usbdisk1.
No no, both are ok , tested myself, it works.
But, what i see in your log:
USBMASS: Unit 1 connected
[USB] unit 0 attached
See, it says Unit1 connected, but unit 0 attached (by me). For me it looks strange. If you have no USB attached and then simple attach one usb stick, you should have unit0 connected / unit0 attached. But there we have unit1 connected, but unit0 attached. Like, i create node in this case for wrong unit.
I tried to reproduce it like this :
I keep in one port some stick, then run patches, then insert second stick and have:
USBMASS: Unit 0 connected
[USB] unit 0 attached
But in your log it definitely messes up, i only need to find a way how to reproduce this "unit 1 connected" but "unit 0 attached"... maybe hub cause such differences ?
kas1e wrote:@Sailor Good new !! I am able to reproduce ! Once i attach the HUB to first port and put there stick + usb keyabord, i have exactly the same :
USBMASS: Unit 1 connected
[USB] unit 0 attached
And of course node creates for wrong unit -> not visibly as boot media. So no need for additional test, it's bug on my own, will fix it today.
Thank you very much, you are great!
AmigaOS3: Amiga 1200 AmigaOS4: Micro A1-C, AmigaOne XE, Pegasos II, Sam440ep, Sam440ep-flex, AmigaOne X1000 MorphOS: Efika 5200b, Pegasos I, Pegasos II, Powerbook, Mac Mini, iMac, Powermac Quad
@Sailor (and others too of course) And what interesting, it seems that CFE of x1000 "auto enable" only first USBs port on motherboards back?
I mean, we for long time have this issue : if the USB stick stays in the usb port other than port 1 we need to replug them, but port1 seems autodetect all fine. So i may try to find how it done, and do autodetection of some other ones (like ones connected by the case's wires to motherboard)
@kas1e I suppose that only devices in usb port 1 is automatically detected.
In Nemo TRM i foun no point, but in X1000 quickstart guide is:
Keyboard - For your keyboard to be recognized by the CFE firmware, it must
be plugged directly into the first (bottom) USB connector (next to the twin Audio tow-
ers). Your mouse isn’t used by the firmware and can go anywhere
and only in X1000 Linux installation guide is some clue:
CFE firmware does not recognise USB devices on power-up unless they are connected to
the first USB port which is reserved for the keyboard. Unless you have a USB hub
connected to the first port which allows you to connect both the keyboard and USB disk,
you will need to insert the USB disk AFTER you have entered CFE. (see section 3.1 for
more details). This guide will assume that when using a USB stick you will insert it in the
top left USB port on the front of the AmigaONE X1000 case AFTER you have entered CFE.
AmigaOS3: Amiga 1200 AmigaOS4: Micro A1-C, AmigaOne XE, Pegasos II, Sam440ep, Sam440ep-flex, AmigaOne X1000 MorphOS: Efika 5200b, Pegasos I, Pegasos II, Powerbook, Mac Mini, iMac, Powermac Quad
kas1e wrote:@Sailor (and others too of course) And what interesting, it seems that CFE of x1000 "auto enable" only first USBs port on motherboards back?
I mean, we for long time have this issue : if the USB stick stays in the usb port other than port 1 we need to replug them, but port1 seems autodetect all fine. So i may try to find how it done, and do autodetection of some other ones (like ones connected by the case's wires to motherboard)
Cross fingers - it will be a very nice feature
AmigaOS3: Amiga 1200 AmigaOS4: Micro A1-C, AmigaOne XE, Pegasos II, Sam440ep, Sam440ep-flex, AmigaOne X1000 MorphOS: Efika 5200b, Pegasos I, Pegasos II, Powerbook, Mac Mini, iMac, Powermac Quad
@All First page updated with new archive. All the patches updated, readme.txt included (with all the info about). In brief what was added since last in archive:
-- all the fixes we do there (Tuvok, i fixed this "auto execute" too, all the things TearsOfMe and Sailor report) -- new commands "editenv" and "pager" (see readme.txt for details) -- sfs2 patch - read/load/boot from sfs2 medias -- usb patch - that one you know already (sailor plz test if all fine now)
The only one which a bit "out" now from archive is Radeon based patch, i need to think more about how to integrate it all better, so for next version probably.
Have fun and let me know how it goes, thanks ! The more tests you do, the better it will be in end :)
So it mean you doing it wrong then.. I do have created ffs formatted usb stick, set it as bootable, and surely can do "boot -fs=amigafs usbdisk0:amigaboot.of", just without usb_patch it will not find as bootable.
No, it's just that I like to test a few combinations. A CD image is easier to work with and can be transferred on any OS. Plus on OS4 it's the fastest way to write all data as it avoids any filesystem slowing it down. An A1/XE also happens to support a CD image being booted from CD or USB. Even the the PC world took time to catch up with a hybrid ISO/USB image.
Anyway I went back to FFS but could not get it to work fully. Amigaboot menu loaded fine and it was able to load modules off USB. But it crashed immediately after. Someone else also had some trouble, but I recall some interrupt message. Mine doesn't get that far.
A patch log:
CFE> boot -noints -fs=amigafs ide0.1:usb_fix.elf
Loader:elf Filesys:amigafs Dev:ide0.1 File:usb_fix.elf Options:(null)
Loading: 0x0000000000100000/6628 0x00000000001019E4/1257 0x0000000000101ECD/7 Entry at 0
x0000000000100000
Starting program at 0x0000000000100000
[RUN!]=== USB FIX v14 ===
USB hook + dynamic devtree + EHCI read split
Boot chaining: installed
PXP_IGNORE_PCIE_ERRORS: set (bus 5 fix)
USB SubClass filter: widened (CD/DVD support)
Step 1: Finding pci@13 parent node
pci@13 at 0x7FE3A760
Method dispatch: 0x7FDF7BEC
Step 2: Pre-building devtree nodes
usbdisk0 at 0x7FDD1000
usbdisk1 at 0x7FDD1100
usbdisk2 at 0x7FDD1200
usbdisk3 at 0x7FDD1300
Step 3: Finding usbmass_driver struct
FOUND at 0x7FDF7E20
[+4] udrv_attach = 0x7FD70364
[+8] udrv_detach = 0x7FD702D4
Step 4: Installing hook trampolines
Hook code: 616 bytes at 0x7FDD3080
Attach hook: 0x7FDD3080
Detach hook: 0x7FDD3150
Step 5: Patching usbmass_driver
udrv_attach: 0x7FD70364 -> 0x7FDD3080
udrv_detach: 0x7FD702D4 -> 0x7FDD3150
Hooks installed! Supports up to 4 USB sticks.
Plug/unplug to add/remove devtree nodes.
Step 6: EHCI read-splitting hook
usbdisk_driver at 0x7FDF74D0
dispatch at 0x7FDF74E4
read = 0x7FD6FC84
Read hook at 0x7FDD3400 (348 bytes)
Chunk size: 16384 bytes
dispatch[read]: 0x7FD6FC84 -> 0x7FDD3400
=== USB FIX v14 DONE ===
*** command status = 0
A boot log:
CFE> port 0:1/10 released (full speed)
USB: New device connected to bus 5 hub 1 port 2 (full speed)
CFE> port 0:1/10 released (full speed)
CFE> boot -fs=amigafs usbdisk0:amigaboot.of
Loader:elf Filesys:amigafs Dev:usbdisk0 File:amigaboot.of Options:(null)
Loading: 0x0000000000200000/61536 Entry at 0x0000000000200000
Starting program at 0x0000000000200000
[RUN!]
AmigaOS 4.x OpenFirmware Bootloader V53.21
Please choose a configuration to boot (Default choice is green):
Will try latest patches I just noticed were released. BTW I'm testing USB with a USB1.1 hub as my Apple keyboard plugged into my X1000 only has USB1.1.
I also had a go at bboot. But CFE for some reason is having trouble reading FFS from USB as well. This used to work fine. I copied that and created a Kickstart.zip to test. Allowed time for copy to settle. Then reboot. The files didn't show up in CFE! No sign in dir command. I'm used to this happening in FAT because of the buggy fatfs driver, causing people everywhere to fat shame CFE, but not FFS. It's gone whack! No idea what the issue is, all the other files on there can be seen. But copying new files can't be seen by CFE. I thought DOS7 was supported?
It got more bizarre. Despite not seeing the Kickstart.zip it was able to load it in with the ramdisk command. But refused to work with load command. Even then ramdisk wasn't correct as it kept returning address as 0x24000000 despite me specifying address. But it butt refused to load bboot. No sign anywhere! Even added an extension in case CFE only accepts extended files. Gave up and just loaded if off my HDD. Which just like my USB had the file copied to it right before a reboot. It loaded it but crashed instantly.
Quote:
I mean, we for long time have this issue : if the USB stick stays in the usb port other than port 1 we need to replug them, but port1 seems autodetect all fine. So i may try to find how it done, and do autodetection of some other ones (like ones connected by the case's wires to motherboard)
I never used to see it. Because I had an Apple keyboard with USB ports I just used to plug my sticks in that. So I had always been able to easily use USB sticks in CFE without realising or had forgotten about the limitations. But USB was detected in one front case port. However, it never worked. It indicates it mounted it but it never does. Even after the patch it doesn't work. I had a usbdisk0 inserted so plugged in a usbdisk1 but it couldn't see any files on it. Well, in the case CFE could read it at all, since FAT32 is so unreliable.
@Hypex Sure you use CORRECT version of CFE as noted in readme and in first post in this topic ? The one which "2012_june_08". That memory patches, if you use different version all addresses will be wrong.
Also are you copy to FFS stick correct system files from which you actually can boot ? If it pure x1000 iso copy, you may have no luck because of HD/RX issues, etc. You should copy your working system partition from which you 100% can boot till working workbench if you ever have one in last years.
And:
[1234567890ABCDEF] Boot appropriate config
Wtf ! :) you have 15 boot partitions ?:) looks like memory corruption ?
Quote:
But CFE for some reason is having trouble reading FFS from USB as well. This used to work fine.
If it works before, and didn't now, then again something with your hardware or the things you do. I can normally read and boot from FFS USB stick for sure, just without patch, i at least can read from FFS Stick with no problems too.
Your issues with "no files" on FFS can be simple maybe you just after copy do reboot too fast, and USB (especially old ones) need some seconds to cope with copy.
Quote:
But refused to work with load command.
While load command suck (at least ith combination of amigafs) , but it was noted before : you need to specify in -max a size of the binary 1:1 , then it will work. So -max should be called -size, like that:
(And of course bboot should be the one Balaton post in the other thread, not the 0.8 one..)
I mean, you need one time to note every quirks of CFE to some text file and used to it :) It's all the same bugs and quirks which you need to remember one time and used to them :)
Because for now, its more looks like you in total mess even without patches and everything working/not-working and you don't know why and when. At least that sounds and looks like that. Adding on top of this mess a hacking-firmware patches is call to more mess, for sure :)
Edited by kas1e on 2026/4/16 12:16:10 Edited by kas1e on 2026/4/16 12:16:55 Edited by kas1e on 2026/4/16 12:18:20 Edited by kas1e on 2026/4/16 12:34:21 Edited by kas1e on 2026/4/16 13:10:11
@kas1e Test #1: usbdisk0:ext2, usbdisk1:ffs ALL OK:
[HELO][DRAM]SDRAM: ECC off, Non-ECC DIMM used on channel 0.
SDRAM: ECC off, Non-ECC DIMM used on channel 1.
[RELO][L1CF][GOLO][GOT ][ZBSS][INIT][MAIN][KMEM][EXCP][CONS][CIOK][AREN][PCIH][PCIB][PCIS][DEVI]Technologies product 0x6758 (VGA display)
PCI bus 1 slot 0/1: ATI Technologies product 0xaa90 (multimedia subclass 0x03)
PCI bus 3 slot 0/0: ATI Technologies product 0x6798 (VGA display)
PCI bus 3 slot 0/1: ATI Technologies product 0xaaa0 (multimedia subclass 0x03)
PCI bus 5 slot 18/0: ATI Technologies product 0x4380 (IDE mass storage, interface 0x8f)
PCI bus 5 slot 19/0: ATI Technologies product 0x4387 (USB serial bus, interface 0x10)
PCI bus 5 slot 19/1: ATI Technologies product 0x4388 (USB serial bus, interface 0x10)
PCI bus 5 slot 19/2: ATI Technologies product 0x4389 (USB serial bus, interface 0x10)
PCI bus 5 slot 19/3: ATI Technologies product 0x438a (USB serial bus, interface 0x10)
PCI bus 5 slot 19/4: ATI Technologies product 0x438b (USB serial bus, interface 0x10)
PCI bus 5 slot 19/5: ATI Technologies product 0x4386 (USB serial bus, interface 0x20)
PCI bus 5 slot 20/0: ATI Technologies product 0x4385 (SMBus serial bus, rev 0x14)
PCI bus 5 slot 20/1: ATI Technologies product 0x438c (IDE mass storage, interface 0x83)
PCI bus 5 slot 20/2: ATI Technologies product 0x4383 (multimedia subclass 0x03)
PCI bus 5 slot 20/3: ATI Technologies product 0x438d (ISA bridge)
PCI bus 5 slot 20/4: ATI Technologies product 0x4384 (PCI bridge)
PCI bus 6 slot 6/0: Realtek Semiconductor product 0x8169 (ethernet network, rev 0x10)
PCI bus 8 slot 0/0: unknown vendor 0x1912 product 0x0014 (USB serial bus, interface 0x30, rev 0x03)
Initializing Devices.
GPIOLV10 Jumper: Not fitted (default VGA console)
GPIOLV11 Jumper: Not fitted (default ?)
PHY: mb, addr 0x00, vendor 03f1 device 15 (1)
GFX: PCIe Slot
GFX: Disable SB600 legacy decode
VGA (1/0/0): ISA memory space mapped to f8000000000
Initializing VGA.
Found 800x600x32 mode: 0x0103 (259)
Current VBE mode is now: 0x0103 (259)
Mode Attribs: 00BB [Graphics] [LinearFrameBuffer]
Resolution: 800 x 600
BitsPerPixel: 8
BytesPerScan: 0x0340
PhysBasePtr: 0x90000000
Enabling ATI frame buffer byte-swap
GFX: PCIe Slot
GFX: Enable SB600 legacy decode
VGA initialization successful.
GFX: PCIe Slot
GFX: Disable SB600 legacy decode
VGA (3/0/0): ISA memory space mapped to f8000000000
Initializing VGA.
Found 800x600x32 mode: 0x0103 (259)
Current VBE mode is now: 0x0103 (259)
Mode Attribs: 00BB [Graphics] [LinearFrameBuffer]
Resolution: 800 x 600
BitsPerPixel: 8
BytesPerScan: 0x0340
PhysBasePtr: 0xB0000000
Enabling ATI frame buffer byte-swap
GFX: PCIe Slot
GFX: Enable SB600 legacy decode
VGA initialization successful.
cf0: Card inserted (3V)
SATA unit 0: Disk, "TS256GSSD230S", Capacity:238GB (lba48)
ATAPI unit 1: Optical Drive, "DRW-24D5MT"
PCIIDE: 2 controllers found
Initializing USB.
PCI bus 5 slot 19/5: EHCI USB controller found at C0209800
USB bus 0 device 1: vendor 0000 product 0000 class 09: USB Hub
PCI bus 5 slot 19/0: OHCI USB controller found at C0208000
USB bus 1 device 1: vendor 0000 product 0000 class 09: USB Hub
PCI bus 5 slot 19/1: OHCI USB controller found at C0206000
USB bus 2 device 1: vendor 0000 product 0000 class 09: USB Hub
PCI bus 5 slot 19/2: OHCI USB controller found at C0207000
USB bus 3 device 1: vendor 0000 product 0000 class 09: USB Hub
PCI bus 5 slot 19/3: OHCI USB controller found at C0205000
USB bus 4 device 1: vendor 0000 product 0000 class 09: USB Hub
PCI bus 5 slot 19/4: OHCI USB controller found at C0204000
USB bus 5 device 1: vendor 0000 product 0000 class 09: USB Hub
CPU type 0x900102: 500MHz
Total memory: 0x100000000 bytes (4096MB)
Total memory used by CFE: 0x7FD1DF60 - 0x80000000 (3023008)
Initialized Data: 0x7FDD8420 - 0x7FDF8B00 (132832)
BSS Area: 0x7FDF8B00 - 0x7FDFF000 (25856)
Local Heap: 0x7FDFF000 - 0x7FFFF000 (2097152)
Stack Area: 0x7FFFF000 - 0x80000000 (4096)
Text (code) segment: 0x7FD1DF60 - 0x7FDCBE60 (712448)
Relocation Factor: I:7FE1DF60 - D:7FE1DF60
[ENVI]
[OFW ][UI ]port 0:1/1 enabled (high speed)
USB bus 0 device 2: vendor 05E3 product 0608 class 09: USB Hub
USB: New device connected to bus 0 hub 2 port 1 (high speed)
USB bus 0 device 3: vendor 413C product 1010 class 09: USB Hub
USB: New device connected to bus 0 hub 2 port 3 (high speed)
USB bus 0 device 4: vendor 0781 product 5591 class 08: Mass-Storage Device
USBMASS: Unit 0 connected
USB: New device connected to bus 0 hub 3 port 4 (low speed)
USB bus 0 device 5: vendor 413C product 2110 class 03: Human-Interface Device
USBHID: Keyboard Configured.
Requested state A4 (1800MHz)
To get back into the menu, type 'menu' on the CFE command prompt
[CFE ]CFE> boot -elf -noints -fs=amigafs ide0.0:usb.elf
Loader:elf Filesys:amigafs Dev:ide0.0 File:usb.elf Options:(null)
Loading: 0x0000000000100000/8128 0x0000000000101FC0/1569 0x00000000001025E1/7 Entry at 0x0000000000100000
Starting program at 0x0000000000100000
[RUN!]=== USB FIX v14 ===
USB hook + dynamic devtree + EHCI read split
Boot chaining: installed
PXP_IGNORE_PCIE_ERRORS: set (bus 5 fix)
USB SubClass filter: widened (CD/DVD support)
Step 4b: Scanning for pre-existing USB devices
Struct offsets: ud_private=0x00000090 umass_unit=0x00000010
Pre-existing: unit 0 dev=0x7FE246B0
Linked 1 node(s) into pci@13
Hooks installed! Supports up to 4 USB sticks.
Plug/unplug to add/remove devtree nodes.
Step 6: EHCI read-splitting hook
usbdisk_driver at 0x7FDF74D0
dispatch at 0x7FDF74E4
read = 0x7FD6FC84
Read hook at 0x7FDD3400 (348 bytes)
Chunk size: 16384 bytes
dispatch[read]: 0x7FD6FC84 -> 0x7FDD3400
=== USB FIX v14 DONE ===
*** command status = 0
CFE> port 0:1/9 enabled (high speed)
USB bus 0 device 6: vendor ABCD product 1234 class 08: Mass-Storage Device
USBMASS: Unit 1 connected
[USB] unit 1 attached
CFE> dir -fs=amigafs usbdisk1> " :
Directory
Emulation dir ------------rwed
Utilities.info 14774 ------------rw-d
Internet dir ------------rwed
Devs dir ------------rwed
Trashcan dir ------------rwed
Libs dir ------------rwed
Emulation.info 15444 ------------rw-d
A-EON.info 15426 ------------rw-d
MUI.info 16828 ------------rw-d
System.info 15366 ------------rw-d
C dir ------------rwed
L dir ------------rwed
whets.res 1060 r---r-------rw-d
S dir ------------rwed
Trashcan.info 12218 ------------rw-d
ChangeLog.guide 39487 ------------rwed
MUI dir ------------rwed
Fonts dir ------------rwed
Utilities dir ------------rwed
Documentation.info 15728 ------------rw-d
Classes dir ------------rwed
amigaboot.of 62100 ------------r---
Prefs.info 15944 ------------rw-d
A-EON dir ------------rwed
Documentation dir ------------rwed
Storage dir ------------rwed
Kickstart dir ------------rwed
Firmware dir ------------rwed
ChangeLog.guide.info 9870 ------------rw-d
System dir ------------rwed
Locale dir ------------rwed
Devs.info 15912 ------------rw-d
Prefs dir ------------rwed
Storage.info 15384 ------------rw-d
Internet.info 16456 ------------rw-d
SObjs dir ------------rwed
Disk.info 13678 ------------rw-d
295675 bytes in 16 files
21 directories
*** command status = 0
CFE> boot -fs=amigafs usbdisk1> :amigaboot.of
Loader:elf Filesys:amigafs Dev:usbdisk1 File:amigaboot.of Options:(null)
Loading: 0x0000000000200000/61536 Entry at 0x0000000000200000
Starting program at 0x0000000000200000
[RUN!]
AmigaOS 4.x OpenFirmware Bootloader V53.21
Please choose a configuration to boot (Default choice is green):
1: AmigaOS_4.1_Final_Edition (Volume USBHD0)
2: AmigaOS_4.1_Final_Edition (Volume DH0)
[RETURN] Boot default [SPACE] Stop Countdown
Move default [UP] or [DOWN] with arrows
[12] Boot appropriate config
(5 sec. until autoboot)> (4 sec. until autoboot)> (3 sec. until autoboot)> (2 sec. until autoboot)> (1 sec. until autoboot)>
@kas1e Test #2: usbdisk0:ext2, usbdisk1:DVD ALL OK:
[HELO][DRAM]SDRAM: ECC off, Non-ECC DIMM used on channel 0.
SDRAM: ECC off, Non-ECC DIMM used on channel 1.
[RELO][L1CF][GOLO][GOT ][ZBSS][INIT][MAIN][KMEM][EXCP][CONS][CIOK][AREN][PCIH][PCIB][PCIS][DEVI]Technologies product 0x6758 (VGA display)
PCI bus 1 slot 0/1: ATI Technologies product 0xaa90 (multimedia subclass 0x03)
PCI bus 3 slot 0/0: ATI Technologies product 0x6798 (VGA display)
PCI bus 3 slot 0/1: ATI Technologies product 0xaaa0 (multimedia subclass 0x03)
PCI bus 5 slot 18/0: ATI Technologies product 0x4380 (IDE mass storage, interface 0x8f)
PCI bus 5 slot 19/0: ATI Technologies product 0x4387 (USB serial bus, interface 0x10)
PCI bus 5 slot 19/1: ATI Technologies product 0x4388 (USB serial bus, interface 0x10)
PCI bus 5 slot 19/2: ATI Technologies product 0x4389 (USB serial bus, interface 0x10)
PCI bus 5 slot 19/3: ATI Technologies product 0x438a (USB serial bus, interface 0x10)
PCI bus 5 slot 19/4: ATI Technologies product 0x438b (USB serial bus, interface 0x10)
PCI bus 5 slot 19/5: ATI Technologies product 0x4386 (USB serial bus, interface 0x20)
PCI bus 5 slot 20/0: ATI Technologies product 0x4385 (SMBus serial bus, rev 0x14)
PCI bus 5 slot 20/1: ATI Technologies product 0x438c (IDE mass storage, interface 0x83)
PCI bus 5 slot 20/2: ATI Technologies product 0x4383 (multimedia subclass 0x03)
PCI bus 5 slot 20/3: ATI Technologies product 0x438d (ISA bridge)
PCI bus 5 slot 20/4: ATI Technologies product 0x4384 (PCI bridge)
PCI bus 6 slot 6/0: Realtek Semiconductor product 0x8169 (ethernet network, rev 0x10)
PCI bus 8 slot 0/0: unknown vendor 0x1912 product 0x0014 (USB serial bus, interface 0x30, rev 0x03)
Initializing Devices.
GPIOLV10 Jumper: Not fitted (default VGA console)
GPIOLV11 Jumper: Not fitted (default ?)
PHY: mb, addr 0x00, vendor 3fffff device 3f (f)
GFX: PCIe Slot
GFX: Disable SB600 legacy decode
VGA (1/0/0): ISA memory space mapped to f8000000000
Initializing VGA.
Found 800x600x32 mode: 0x0103 (259)
Current VBE mode is now: 0x0103 (259)
Mode Attribs: 00BB [Graphics] [LinearFrameBuffer]
Resolution: 800 x 600
BitsPerPixel: 8
BytesPerScan: 0x0340
PhysBasePtr: 0x90000000
Enabling ATI frame buffer byte-swap
GFX: PCIe Slot
GFX: Enable SB600 legacy decode
VGA initialization successful.
GFX: PCIe Slot
GFX: Disable SB600 legacy decode
VGA (3/0/0): ISA memory space mapped to f8000000000
Initializing VGA.
Found 800x600x32 mode: 0x0103 (259)
Current VBE mode is now: 0x0103 (259)
Mode Attribs: 00BB [Graphics] [LinearFrameBuffer]
Resolution: 800 x 600
BitsPerPixel: 8
BytesPerScan: 0x0340
PhysBasePtr: 0xB0000000
Enabling ATI frame buffer byte-swap
GFX: PCIe Slot
GFX: Enable SB600 legacy decode
VGA initialization successful.
cf0: Card inserted (3V)
SATA unit 0: Disk, "TS256GSSD230S", Capacity:238GB (lba48)
ATAPI unit 1: Optical Drive, "DRW-24D5MT"
PCIIDE: 2 controllers found
Initializing USB.
PCI bus 5 slot 19/5: EHCI USB controller found at C0209800
USB bus 0 device 1: vendor 0000 product 0000 class 09: USB Hub
PCI bus 5 slot 19/0: OHCI USB controller found at C0208000
USB bus 1 device 1: vendor 0000 product 0000 class 09: USB Hub
PCI bus 5 slot 19/1: OHCI USB controller found at C0206000
USB bus 2 device 1: vendor 0000 product 0000 class 09: USB Hub
PCI bus 5 slot 19/2: OHCI USB controller found at C0207000
USB bus 3 device 1: vendor 0000 product 0000 class 09: USB Hub
PCI bus 5 slot 19/3: OHCI USB controller found at C0205000
USB bus 4 device 1: vendor 0000 product 0000 class 09: USB Hub
PCI bus 5 slot 19/4: OHCI USB controller found at C0204000
USB bus 5 device 1: vendor 0000 product 0000 class 09: USB Hub
CPU type 0x900102: 500MHz
Total memory: 0x100000000 bytes (4096MB)
Total memory used by CFE: 0x7FD1DF60 - 0x80000000 (3023008)
Initialized Data: 0x7FDD8420 - 0x7FDF8B00 (132832)
BSS Area: 0x7FDF8B00 - 0x7FDFF000 (25856)
Local Heap: 0x7FDFF000 - 0x7FFFF000 (2097152)
Stack Area: 0x7FFFF000 - 0x80000000 (4096)
Text (code) segment: 0x7FD1DF60 - 0x7FDCBE60 (712448)
Relocation Factor: I:7FE1DF60 - D:7FE1DF60
[ENVI]
[OFW ][UI ]port 0:1/1 enabled (high speed)
USB bus 0 device 2: vendor 05E3 product 0608 class 09: USB Hub
USB: New device connected to bus 0 hub 2 port 1 (high speed)
USB bus 0 device 3: vendor 413C product 1010 class 09: USB Hub
USB: New device connected to bus 0 hub 2 port 3 (high speed)
USB bus 0 device 4: vendor 0781 product 5591 class 08: Mass-Storage Device
USBMASS: Unit 0 connected
USB: New device connected to bus 0 hub 3 port 4 (low speed)
USB bus 0 device 5: vendor 413C product 2110 class 03: Human-Interface Device
USBHID: Keyboard Configured.
Requested state A4 (1800MHz)
To get back into the menu, type 'menu' on the CFE command prompt
[CFE ]CFE> d ox7fdc4028
0000000000000000: 00000000 7FE00008 7FE00008 7FE00008 .............
0000000000000010: 7FE00008 7FE00008 7FE00008 7FE00008 ............
0000000000000020: 7FE00008 7FE00008 7FE00008 7FE00008 ............
0000000000000030: 7FE00008 7FE00008 7FE00008 7FE00008 ............
0000000000000040: 7FE00008 7FE00008 7FE00008 7FE00008 ............
0000000000000050: 7FE00008 7FE00008 7FE00008 7FE00008 ............
0000000000000060: 7FE00008 7FE00008 7FE00008 7FE00008 ............
0000000000000070: 7FE00008 7FE00008 7FE00008 7FE00008 ............
0000000000000080: 7FE00008 7FE00008 7FE00008 7FE00008 ............
0000000000000090: 7FE00008 7FE00008 7FE00008 7FE00008 ............
00000000000000A0: 7FE00008 7FE00008 7FE00008 7FE00008 ............
00000000000000B0: 7FE00008 7FE00008 7FE00008 7FE00008 ............
00000000000000C0: 7FE00008 7FE00008 7FE00008 7FE00008 ............
00000000000000D0: 7FE00008 7FE00008 7FE00008 7FE00008 ............
00000000000000E0: 7FE00008 7FE00008 7FE00008 7FE00008 ............
00000000000000F0: 7FE00008 7FE00008 7FE00008 7FE00008 ............
*** command status = 0
CFE> d ox7fdc4028x7fdc4028 0x7fdc4028
000000007FDC4028: 46726920 4A756E20 20382031 363A3034 Fri Jun 8 16:04
000000007FDC4038: 3A343920 43455354 20323031 32000000 :49 CEST 2012...
000000007FDC4048: 68667269 6564656E 406A756D 70676174 hfrieden@jumpgat
000000007FDC4058: 65000000 00000000 436C6F73 696E6720 e.......Closing
000000007FDC4068: 6E657477 6F726B2E 0A000000 00000000 network.........
000000007FDC4078: 53746172 74696E67 2070726F 6772616D Starting program
000000007FDC4088: 20617420 30782530 31366C6C 58000000 at 0x%016llX...
000000007FDC4098: 4C6F6164 696E673A 20000000 00000000 Loading: .......
000000007FDC40A8: 4661696C 65642E0A 00000000 00000000 Failed..........
000000007FDC40B8: 456E7472 79206174 20307825 3031366C Entry at 0x%016l
000000007FDC40C8: 6C580A00 00000000 626F6F74 61726773 lX......bootargs
000000007FDC40D8: 00000000 00000000 424F4F54 5F444556 ........BOOT_DEV
000000007FDC40E8: 49434500 00000000 424F4F54 5F46494C ICE.....BOOT_FIL
000000007FDC40F8: 45000000 00000000 424F4F54 5F464C41 E.......BOOT_FLA
000000007FDC4108: 47530000 00000000 6F70656E 00000000 GS......open....
000000007FDC4118: 626F6F74 636F6E73 6F6C6500 00000000 bootconsole.....
*** command status = 0
CFE> boot -elf -noinst -ide0.0:usb.elf
Invalid switch: -noinst
*** command status = -8
CFE> boot -elf -noinst -ide0.0:usb.elf -ide0.0:usb.elf -ide0.0:usb.elf t -ide0.0:usb.elfd -ide0.0:usb.elf -ide0.0:usb.elf s -ide0.0:usb.elf
Invalid switch: -ide0.0:usb.elf
*** command status = -8
CFE> boot -elf -noints -ide0.0:usb.elffide0.0:usb.elfside0.0:usb.elf-ide0.0:usb.elfide0.0:usb.elf =ide0.0:usb.elfaide0.0:usb.elfmide0.0:usb.elfiide0.0:usb.elfgide0.0:usb.elfaide0.0:usb.elffide0.0:usb.elfside0.0:usb.elf ide0.0:usb.elf
Loader:elf Filesys:amigafs Dev:ide0.0 File:usb.elf Options:(null)
Loading: 0x0000000000100000/8128 0x0000000000101FC0/1569 0x00000000001025E1/7 Entry at 0x0000000000100000
Starting program at 0x0000000000100000
[RUN!]=== USB FIX v14 ===
USB hook + dynamic devtree + EHCI read split
Boot chaining: installed
PXP_IGNORE_PCIE_ERRORS: set (bus 5 fix)
USB SubClass filter: widened (CD/DVD support)
Step 4b: Scanning for pre-existing USB devices
Struct offsets: ud_private=0x00000090 umass_unit=0x00000010
Pre-existing: unit 0 dev=0x7FE246B0
Linked 1 node(s) into pci@13
Hooks installed! Supports up to 4 USB sticks.
Plug/unplug to add/remove devtree nodes.
Step 6: EHCI read-splitting hook
usbdisk_driver at 0x7FDF74D0
dispatch at 0x7FDF74E4
read = 0x7FD6FC84
Read hook at 0x7FDD3400 (348 bytes)
Chunk size: 16384 bytes
dispatch[read]: 0x7FD6FC84 -> 0x7FDD3400
=== USB FIX v14 DONE ===
*** command status = 0
CFE> show devices
Device Name Description
------------------- ---------------------------------------------------------
uart0 NS16550 UART at 0xFCFF03F8
pcconsole0 PC Console (USB/VESA)
eeprom0 Microchip 24LC128 EEPROM on SMBus channel 0 dev 0x57
eth0 PA Semi Ethernet (ge3) at 0xE00A3000 (02-00-E0-0A-30-00)
flash0.os SPI flash at FFE00000 offset 00000000 size 1024KB
flash0.boot SPI flash at FFE00000 offset 00100000 size 1024KB
therm0 TI TMP423 Thermal Sensor on SMBus channel 0 dev 0x4C
cf0 CompactFlash ATA disk unit 0 at 0xF0000000
ide0.0 PCI IDE disk unit 0 at I/O 0000 (PCI:E0590000)
atapi0.1 PCI IDE disk unit 1 at I/O 0000 (PCI:E0590000)
usbdisk0 USB Disk unit 0
usbdisk1 USB Disk unit 1
*** command status = 0
CFE> dir -fs=ext2 usbdisk0:
. <dir>
.. <dir>
lost+found <dir>
zImage
vmlinux
100MBfile
1GiBfile
vmlinux-test
vmlinux-6.12
vmlinux-test.old
amigaboot.of
.Trash-0 <dir>
vmlinux-5.5
zImage-5.5
5.5.11_A-EON_X1000_Nemo <dir>
vmlinux-6.1
*** command status = 0
CFE> dir -fs=iso usbdisk1:
Could not init file system: File not found
*** command status = -18
CFE> dir -fs=iso usbdisk1:
Could not init file system: File not found
*** command status = -18
CFE> port 0:1/9 enabled (high speed)
USB bus 0 device 6: vendor 0E8D product 1887 class 08: Mass-Storage Device
USBMASS: Unit 1 connected
[USB] unit 1 attached
CFE> dir -fs=iso usbdisk1:
Installation_Files <DIR>
Installation_Support <DIR>
Kickstart <DIR>
Media <DIR>
S <DIR>
System <DIR>
.backdrop 76
amigaboot.of 51420
AmigaOS 4.1 FileSystems 39773
AmigaOS 4_1 FileSystems.i11642
Disk.info 15732
Media.info 11420
System.info 15182
*** command status = 0
CFE> boot -e fs- =iso usbdisk0: 1:amigaboot.of
Loader:elf Filesys:iso Dev:usbdisk1 File:amigaboot.of Options:(null)
Loading: 0x0000000000200000/50812 0x000000000021C67C/76 Entry at 0x0000000000200034
Starting program at 0x0000000000200034
[RUN!]
AmigaOS 4.x OpenFirmware Bootloader V1.0
Unknown file system on disk /pxp@0,e0000000/pci@11/pci@13/usbdisk0
Error: DRQ should be zero
Had to read data 256 times to clear DRQ
AmigaOS 4.x OpenFirmware Bootloader V1.0
Please choose a configuration to boot (Default choice is green):
1: AmigaOS4.1_X1000_Final_Edition (Volume AmigaOS 4.1 Final Edition)
2: AmigaOS_4.1_Final_Edition (Volume DH0)
[RETURN] Boot default [SPACE] Stop Countdown
[CTRL-U] Move default up [CTRL-D] Move Default Down
[12] Boot appropriate config
(5 sec. until autoboot)> (4 sec. until autoboot)> (3 sec. until autoboot)> (2 sec. until autoboot)> (1 sec. until autoboot)>
booting default
Trying to boot configuration AmigaOS4.1_X1000_Final_Edition
AmigaOS3: Amiga 1200 AmigaOS4: Micro A1-C, AmigaOne XE, Pegasos II, Sam440ep, Sam440ep-flex, AmigaOne X1000 MorphOS: Efika 5200b, Pegasos I, Pegasos II, Powerbook, Mac Mini, iMac, Powermac Quad
@kas1e Test #3: usbdisk0:ext2 - in first port +hub +kbd usbdisk1:DVD usbdisk2: FFS flash - both in front USBs:
[HELO][DRAM]SDRAM: ECC off, Non-ECC DIMM used on channel 0.
SDRAM: ECC off, Non-ECC DIMM used on channel 1.
[RELO][L1CF][GOLO][GOT ][ZBSS][INIT][MAIN][KMEM][EXCP][CONS][CIOK][AREN][PCIH][PCIB][PCIS][DEVI]Technologies product 0x6758 (VGA display)
PCI bus 1 slot 0/1: ATI Technologies product 0xaa90 (multimedia subclass 0x03)
PCI bus 3 slot 0/0: ATI Technologies product 0x6798 (VGA display)
PCI bus 3 slot 0/1: ATI Technologies product 0xaaa0 (multimedia subclass 0x03)
PCI bus 5 slot 18/0: ATI Technologies product 0x4380 (IDE mass storage, interface 0x8f)
PCI bus 5 slot 19/0: ATI Technologies product 0x4387 (USB serial bus, interface 0x10)
PCI bus 5 slot 19/1: ATI Technologies product 0x4388 (USB serial bus, interface 0x10)
PCI bus 5 slot 19/2: ATI Technologies product 0x4389 (USB serial bus, interface 0x10)
PCI bus 5 slot 19/3: ATI Technologies product 0x438a (USB serial bus, interface 0x10)
PCI bus 5 slot 19/4: ATI Technologies product 0x438b (USB serial bus, interface 0x10)
PCI bus 5 slot 19/5: ATI Technologies product 0x4386 (USB serial bus, interface 0x20)
PCI bus 5 slot 20/0: ATI Technologies product 0x4385 (SMBus serial bus, rev 0x14)
PCI bus 5 slot 20/1: ATI Technologies product 0x438c (IDE mass storage, interface 0x83)
PCI bus 5 slot 20/2: ATI Technologies product 0x4383 (multimedia subclass 0x03)
PCI bus 5 slot 20/3: ATI Technologies product 0x438d (ISA bridge)
PCI bus 5 slot 20/4: ATI Technologies product 0x4384 (PCI bridge)
PCI bus 6 slot 6/0: Realtek Semiconductor product 0x8169 (ethernet network, rev 0x10)
PCI bus 8 slot 0/0: unknown vendor 0x1912 product 0x0014 (USB serial bus, interface 0x30, rev 0x03)
Initializing Devices.
GPIOLV10 Jumper: Not fitted (default VGA console)
GPIOLV11 Jumper: Not fitted (default ?)
PHY: mb, addr 0x00, vendor 03f1 device 15 (1)
GFX: PCIe Slot
GFX: Disable SB600 legacy decode
VGA (1/0/0): ISA memory space mapped to f8000000000
Initializing VGA.
Found 800x600x32 mode: 0x0103 (259)
Current VBE mode is now: 0x0103 (259)
Mode Attribs: 00BB [Graphics] [LinearFrameBuffer]
Resolution: 800 x 600
BitsPerPixel: 8
BytesPerScan: 0x0340
PhysBasePtr: 0x90000000
Enabling ATI frame buffer byte-swap
GFX: PCIe Slot
GFX: Enable SB600 legacy decode
VGA initialization successful.
GFX: PCIe Slot
GFX: Disable SB600 legacy decode
VGA (3/0/0): ISA memory space mapped to f8000000000
Initializing VGA.
Found 800x600x32 mode: 0x0103 (259)
Current VBE mode is now: 0x0103 (259)
Mode Attribs: 00BB [Graphics] [LinearFrameBuffer]
Resolution: 800 x 600
BitsPerPixel: 8
BytesPerScan: 0x0340
PhysBasePtr: 0xB0000000
Enabling ATI frame buffer byte-swap
GFX: PCIe Slot
GFX: Enable SB600 legacy decode
VGA initialization successful.
cf0: Card inserted (3V)
SATA unit 0: Disk, "TS256GSSD230S", Capacity:238GB (lba48)
ATAPI unit 1: Optical Drive, "DRW-24D5MT"
PCIIDE: 2 controllers found
Initializing USB.
PCI bus 5 slot 19/5: EHCI USB controller found at C0209800
USB bus 0 device 1: vendor 0000 product 0000 class 09: USB Hub
PCI bus 5 slot 19/0: OHCI USB controller found at C0208000
USB bus 1 device 1: vendor 0000 product 0000 class 09: USB Hub
PCI bus 5 slot 19/1: OHCI USB controller found at C0206000
USB bus 2 device 1: vendor 0000 product 0000 class 09: USB Hub
PCI bus 5 slot 19/2: OHCI USB controller found at C0207000
USB bus 3 device 1: vendor 0000 product 0000 class 09: USB Hub
PCI bus 5 slot 19/3: OHCI USB controller found at C0205000
USB bus 4 device 1: vendor 0000 product 0000 class 09: USB Hub
PCI bus 5 slot 19/4: OHCI USB controller found at C0204000
USB bus 5 device 1: vendor 0000 product 0000 class 09: USB Hub
CPU type 0x900102: 500MHz
Total memory: 0x100000000 bytes (4096MB)
Total memory used by CFE: 0x7FD1DF60 - 0x80000000 (3023008)
Initialized Data: 0x7FDD8420 - 0x7FDF8B00 (132832)
BSS Area: 0x7FDF8B00 - 0x7FDFF000 (25856)
Local Heap: 0x7FDFF000 - 0x7FFFF000 (2097152)
Stack Area: 0x7FFFF000 - 0x80000000 (4096)
Text (code) segment: 0x7FD1DF60 - 0x7FDCBE60 (712448)
Relocation Factor: I:7FE1DF60 - D:7FE1DF60
[ENVI]
[OFW ][UI ]port 0:1/1 enabled (high speed)
USB bus 0 device 2: vendor 05E3 product 0608 class 09: USB Hub
USB: New device connected to bus 0 hub 2 port 1 (high speed)
USB bus 0 device 3: vendor 413C product 1010 class 09: USB Hub
USB: New device connected to bus 0 hub 2 port 3 (high speed)
USB bus 0 device 4: vendor 0781 product 5591 class 08: Mass-Storage Device
USBMASS: Unit 0 connected
USB: New device connected to bus 0 hub 3 port 4 (low speed)
USB bus 0 device 5: vendor 413C product 2110 class 03: Human-Interface Device
USBHID: Keyboard Configured.
Requested state A4 (1800MHz)
To get back into the menu, type 'menu' on the CFE command prompt
[CFE ]CFE> boot -efl lf -noints -fs=amigafs ide0.0:usb.elf
Loader:elf Filesys:amigafs Dev:ide0.0 File:usb.elf Options:(null)
Loading: 0x0000000000100000/8128 0x0000000000101FC0/1569 0x00000000001025E1/7 Entry at 0x0000000000100000
Starting program at 0x0000000000100000
[RUN!]=== USB FIX v14 ===
USB hook + dynamic devtree + EHCI read split
Boot chaining: installed
PXP_IGNORE_PCIE_ERRORS: set (bus 5 fix)
USB SubClass filter: widened (CD/DVD support)
Step 4b: Scanning for pre-existing USB devices
Struct offsets: ud_private=0x00000090 umass_unit=0x00000010
Pre-existing: unit 0 dev=0x7FE246B0
Linked 1 node(s) into pci@13
Hooks installed! Supports up to 4 USB sticks.
Plug/unplug to add/remove devtree nodes.
Step 6: EHCI read-splitting hook
usbdisk_driver at 0x7FDF74D0
dispatch at 0x7FDF74E4
read = 0x7FD6FC84
Read hook at 0x7FDD3400 (348 bytes)
Chunk size: 16384 bytes
dispatch[read]: 0x7FD6FC84 -> 0x7FDD3400
=== USB FIX v14 DONE ===
*** command status = 0
CFE> show devices
Device Name Description
------------------- ---------------------------------------------------------
uart0 NS16550 UART at 0xFCFF03F8
pcconsole0 PC Console (USB/VESA)
eeprom0 Microchip 24LC128 EEPROM on SMBus channel 0 dev 0x57
eth0 PA Semi Ethernet (ge3) at 0xE00A3000 (02-00-E0-0A-30-00)
flash0.os SPI flash at FFE00000 offset 00000000 size 1024KB
flash0.boot SPI flash at FFE00000 offset 00100000 size 1024KB
therm0 TI TMP423 Thermal Sensor on SMBus channel 0 dev 0x4C
cf0 CompactFlash ATA disk unit 0 at 0xF0000000
ide0.0 PCI IDE disk unit 0 at I/O 0000 (PCI:E0590000)
atapi0.1 PCI IDE disk unit 1 at I/O 0000 (PCI:E0590000)
usbdisk0 USB Disk unit 0
usbdisk1 USB Disk unit 1
*** command status = 0
CFE> dir = -fs= show usb
USB bus 0 device 1: vendor 0000 product 0000 class 9 [HS HUB]
USB bus 0 device 2: vendor 05E3 product 0608 class 9 [HS HUB]
USB bus 0 device 3: vendor 413C product 1010 class 9 [HS HUB]
USB bus 0 device 5: vendor 413C product 2110 class 0 [LS DEVICE]
USB bus 0 device 4: vendor 0781 product 5591 class 0 [HS DEVICE]
USB bus 1 device 1: vendor 0000 product 0000 class 9 [FS HUB]
USB bus 2 device 1: vendor 0000 product 0000 class 9 [FS HUB]
USB bus 3 device 1: vendor 0000 product 0000 class 9 [FS HUB]
USB bus 4 device 1: vendor 0000 product 0000 class 9 [FS HUB]
USB bus 5 device 1: vendor 0000 product 0000 class 9 [FS HUB]
*** command status = 0
CFE> dir -fs=ext2 usbdisk0:
. <dir>
.. <dir>
lost+found <dir>
zImage
vmlinux
100MBfile
1GiBfile
vmlinux-test
vmlinux-6.12
vmlinux-test.old
amigaboot.of
.Trash-0 <dir>
vmlinux-5.5
zImage-5.5
5.5.11_A-EON_X1000_Nemo <dir>
vmlinux-6.1
*** command status = 0
CFE> dir -fs=iso usbdisk1:
Could not init file system: File not found
*** command status = -18
CFE> port 0:1/9 enabled (high speed)
USB bus 0 device 6: vendor 0E8D product 1887 class 08: Mass-Storage Device
USBMASS: Unit 1 connected
[USB] unit 1 attached
CFE> dir -fs=iso usbdisk1:dir -fs=ext2 usbdisk0:show usb
USB bus 0 device 1: vendor 0000 product 0000 class 9 [HS HUB]
USB bus 0 device 2: vendor 05E3 product 0608 class 9 [HS HUB]
USB bus 0 device 3: vendor 413C product 1010 class 9 [HS HUB]
USB bus 0 device 5: vendor 413C product 2110 class 0 [LS DEVICE]
USB bus 0 device 4: vendor 0781 product 5591 class 0 [HS DEVICE]
USB bus 0 device 6: vendor 0E8D product 1887 class 0 [HS DEVICE]
USB bus 1 device 1: vendor 0000 product 0000 class 9 [FS HUB]
USB bus 2 device 1: vendor 0000 product 0000 class 9 [FS HUB]
USB bus 3 device 1: vendor 0000 product 0000 class 9 [FS HUB]
USB bus 4 device 1: vendor 0000 product 0000 class 9 [FS HUB]
USB bus 5 device 1: vendor 0000 product 0000 class 9 [FS HUB]
*** command status = 0
CFE> show usbdir -fs=iso usbdisk1:
Installation_Files <DIR>
Installation_Support <DIR>
Kickstart <DIR>
Media <DIR>
S <DIR>
System <DIR>
.backdrop 76
amigaboot.of 51420
AmigaOS 4.1 FileSystems 39773
AmigaOS 4_1 FileSystems.i11642
Disk.info 15732
Media.info 11420
System.info 15182
*** command status = 0
CFE> port 0:1/10 enabled (high speed)
USB bus 0 device 7: vendor ABCD product 1234 class 08: Mass-Storage Device
USBMASS: Unit 2 connected
[USB] unit 2 attached
CFE> show devices
Device Name Description
------------------- ---------------------------------------------------------
uart0 NS16550 UART at 0xFCFF03F8
pcconsole0 PC Console (USB/VESA)
eeprom0 Microchip 24LC128 EEPROM on SMBus channel 0 dev 0x57
eth0 PA Semi Ethernet (ge3) at 0xE00A3000 (02-00-E0-0A-30-00)
flash0.os SPI flash at FFE00000 offset 00000000 size 1024KB
flash0.boot SPI flash at FFE00000 offset 00100000 size 1024KB
therm0 TI TMP423 Thermal Sensor on SMBus channel 0 dev 0x4C
cf0 CompactFlash ATA disk unit 0 at 0xF0000000
ide0.0 PCI IDE disk unit 0 at I/O 0000 (PCI:E0590000)
atapi0.1 PCI IDE disk unit 1 at I/O 0000 (PCI:E0590000)
usbdisk0 USB Disk unit 0
usbdisk1 USB Disk unit 1
*** command status = 0
CFE> show usb
USB bus 0 device 1: vendor 0000 product 0000 class 9 [HS HUB]
USB bus 0 device 2: vendor 05E3 product 0608 class 9 [HS HUB]
USB bus 0 device 3: vendor 413C product 1010 class 9 [HS HUB]
USB bus 0 device 5: vendor 413C product 2110 class 0 [LS DEVICE]
USB bus 0 device 4: vendor 0781 product 5591 class 0 [HS DEVICE]
USB bus 0 device 6: vendor 0E8D product 1887 class 0 [HS DEVICE]
USB bus 0 device 7: vendor ABCD product 1234 class 0 [HS DEVICE]
USB bus 1 device 1: vendor 0000 product 0000 class 9 [FS HUB]
USB bus 2 device 1: vendor 0000 product 0000 class 9 [FS HUB]
USB bus 3 device 1: vendor 0000 product 0000 class 9 [FS HUB]
USB bus 4 device 1: vendor 0000 product 0000 class 9 [FS HUB]
USB bus 5 device 1: vendor 0000 product 0000 class 9 [FS HUB]
*** command status = 0
CFE> dir -fs- - =amigafs usbdisk2:
Could not init file system: Insufficient memory
*** command status = -5
CFE> dir -fs=amigafs usbdisk2:show usbshow devicesdir -fs=iso usbdisk1:show usbdir -fs=iso usbdisk1:dir -fs=ext2 usbdisk0:
. <dir>
.. <dir>
lost+found <dir>
zImage
vmlinux
100MBfile
1GiBfile
vmlinux-test
vmlinux-6.12
vmlinux-test.old
amigaboot.of
.Trash-0 <dir>
vmlinux-5.5
zImage-5.5
5.5.11_A-EON_X1000_Nemo <dir>
vmlinux-6.1
*** command status = 0
CFE> dir -fs=ext2 usbdisk0:dir -fs=amigafs usbdisk2:show usbshow devicesdir -fs=iso usbdisk1:
Installation_Files <DIR>
Installation_Support <DIR>
Kickstart <DIR>
Media <DIR>
S <DIR>
System <DIR>
.backdrop 76
amigaboot.of 51420
AmigaOS 4.1 FileSystems 39773
AmigaOS 4_1 FileSystems.i11642
Disk.info 15732
Media.info 11420
System.info 15182
*** command status = 0
CFE> dir -fs=iso usbdisk1:dir -fs=ext2 usbdisk0:dir -fs=amigafs usbdisk2:
Could not init file system: Insufficient memory
*** command status = -5
CFE> dir -fs=amigafs usbdisk2:: 3:
Could not init file system: Insufficient memory
*** command status = -5
CFE>
- all devices was inserted before usb.elf run, but devices was not detected - then I reinsert DVD, USB DVD is visible and redable - then I reinsert FFS flash, not seen in show devices, but visible on show usb If I dir it, there is error:
Could not init file system: Insufficient memory
But - overall this patch is very nice improvement, I think that to fix every possible combination is not necessary. Great thing is, that we can boot from USB!
I will test the devices connected to read ( motherboard slots )
AmigaOS3: Amiga 1200 AmigaOS4: Micro A1-C, AmigaOne XE, Pegasos II, Sam440ep, Sam440ep-flex, AmigaOne X1000 MorphOS: Efika 5200b, Pegasos I, Pegasos II, Powerbook, Mac Mini, iMac, Powermac Quad
@kas1e it was with patch, I will correct the previous steps: - all devices was inserted during before reboot - usb.elf runed, but devices was not detected - then I reinsert DVD, USB DVD is visible and redable - then I reinsert FFS flash, not seen in show devices, but visible on show usb If I dir it, there is error: ...
AmigaOS3: Amiga 1200 AmigaOS4: Micro A1-C, AmigaOne XE, Pegasos II, Sam440ep, Sam440ep-flex, AmigaOne X1000 MorphOS: Efika 5200b, Pegasos I, Pegasos II, Powerbook, Mac Mini, iMac, Powermac Quad