then I reinsert FFS flash, not seen in show devices, but visible on show usb
To add, it's only usbdisk0 and usbdisk1 always shown in the show devices by default, like there can't be anything else (but we know there can be usbdisk2 and usbdisk3).
Or what you mean "no see in show devices" ? usbdisk1 disappear ? Or you expect usbdisk2 appear to be visibly ?
ps. right, from the logs above i see you expect usbdisk2 appears :) That same limitation in CFE as it was with SATA channels , only channel0 were used , and channel1 were completely off. With usbdisk probably the same, so we have one more things to add "usbdisk2 and usbdisk3" support. More the better :)
@kas1e there is similar test, but devices were in read slots:
reb d set
Are you sure you want to reset? y
[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][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> s 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> boot -elf -noints -fs=amigafs ide0> :0 .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> boot -elf -noints -fs=amigafs ide0.0:usb.elfshow 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> seen there is seen only ef xt2 flash disk + keyboard in hub
Invalid command: "there"
Available commands: altcpu, arp, autoboot, batch, boot, copydisk, cpu, d, dflush, dir, dramcfg, e, f, flash, go, help, ifconfig, int, load, loop, mccfg, mcdll, memcmp, memorytest, menu, pci, ping, printenv, r, ramdisk, randmemtest, reserve, reset, save, set, setenv, show, sleep, spi, test, testdram, unsetenv, usb, vga, w
*** command status = -1
CFE> port 0:1/4 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=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> 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 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 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> dhoe w 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> port 0:1/2 enabled (high speed)
USB bus 0 device 7: vendor 0E8D product 1887 class 08: Mass-Storage Device
USBMASS: Unit 2 connected
[USB] unit 2 attached
CFE> shoe w dw evices
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 7: vendor 0E8D product 1887 class 0 [HS DEVICE]
USB bus 0 device 6: 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=iso usbdisk2> :
Could not init file system: File not found
*** command status = -18
CFE>
- I run usb.elf - show usb not detected other devices than keyboard and ext2 in hub - reinsert ffs flash - mounted as unit 1 and this device is visible in show usb - reinsert DVD - mounted as unit 2, is visible on show usb, but dir -fs=iso usbdisk2> produce error: Could not init file system: File not found
Can I provide other output?
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 See, you expect usbdisk2 , but CFE handle only usbdisk0 and usbdisk1. Usbdisk2 and usbdisk3 probably need to implement. I never seen in CFE in devices usbdisk2 or usbdisk3. So while we add unit 2 and unit3 , then simple rejected by CFE (at least, that how it was with SATA)
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.
USB: Device disconnected from bus 3 hub 1 port 2
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:sata.el fs2.elf
Loader:elf Filesys:amigafs Dev:ide0.0 File:sfs2.elf Options:(null)
Loading: Failed.
Could not load ide0.0:sfs2.elf: File not found
*** command status = -18
CFE> boot -elf -noints -fs=amigafs ide0.0:sfs2.elf.elf
Loader:elf Filesys:amigafs Dev:ide0.0 File:sfs.elf Options:(null)
Loading: 0x0000000000100000/8836 0x0000000000102284/1500 0x0000000000102860/4 Entry at 0x0000000000100000
Starting program at 0x0000000000100000
[RUN!]=== SFS FIX v2 ===
SFS filesystem driver (real init/dir/uninit)
Step 2: Installing SFS driver code
Stubs: 56 bytes at 0x7FDD4100
Real code: 2708 bytes at 0x7FDD4200
init = 0x7FDD4274
uninit = 0x7FDD4480
dir = 0x7FDD44B8
open = 0x7FDD4984
read = 0x7FDD4B34
seek = 0x7FDD4C58
close = 0x7FDD4C80
Dispatch at 0x7FDD4000: ALL REAL (write=STUB)
Step 3: Registering "sfs" in filesystem table
WARNING: word after NULL = 0x7FDF8008 (non-zero!)
This might overwrite adjacent data.
Proceeding anyway.
[11] = 0x7FDD4000 "sfs2" (NEW)
[12] = NULL (new terminator at 0x7FDF89D8)
Verified: entry written correctly
"sfs2" registered! Try:
CFE> dir -fs=sfs2 ide0.0:
=== SFS FIX v2 DONE ===
*** command status = 0
CFE> boot -elf -noints -fs=amigafs ide0.0:sfs.elf.elf .elf .elf u.elfs.elfb.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: already active
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 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> 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> 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 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> b dir -fs=sfs2 usbdisk0: 1:
MUI <DIR> ------------rwed
Locale <DIR> ------------rwed
Libs <DIR> ------------rwed
L <DIR> ------------rwed
Kickstart <DIR> ------------rwed
Internet <DIR> ------------rwed
Fonts <DIR> ------------rwed
Emulation <DIR> ------------rwed
Documentation <DIR> ------------rwed
Devs <DIR> ------------rwed
Classes <DIR> ------------rwed
C <DIR> ------------rwed
Trashcan.info 12218 ------------rw-d
Trashcan <DIR> ------------rwed
Utilities.info 14774 ------------rw-d
whets.res 1060 r---r-------rw-d
System.info 15366 ------------rw-d
Disk.info 13678 ------------rw-d
Internet.info 16456 ------------rw-d
Prefs.info 15944 ------------rw-d
Storage.info 15384 ------------rw-d
ChangeLog.guide 39487 ------------rwed
Documentation.info 15728 ------------rw-d
Devs.info 15912 ------------rw-d
Firmware <DIR> ------------rwed
ChangeLog.guide.info 9870 ------------rw-d
A-EON.info 15426 ------------rw-d
A-EON <DIR> ------------rwed
amigaboot.of 62100 ------------r---
MUI.info 16828 ------------rw-d
Emulation.info 15444 ------------rw-d
Utilities <DIR> ------------rwed
System <DIR> ------------rwed
Storage <DIR> ------------rwed
SObjs <DIR> ------------rwed
S <DIR> ------------rwed
Prefs <DIR> ------------rwed
295675 bytes in 16 files
21 directories
*** command status = 0
CFE> boot -fs=sfs2 usbdisk1:amigaboot.of
Loader:elf Filesys:sfs2 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 USBDH2)
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)> (0 sec. until autoboot)>
kas1e wrote:@Sailor See, you expect usbdisk2 , but CFE handle only usbdisk0 and usbdisk1. Usbdisk2 and usbdisk3 probably need to implement. I never seen in CFE in devices usbdisk2 or usbdisk3. So while we add unit 2 and unit3 , then simple rejected by CFE (at least, that how it was with SATA)
but as I said before - we can live with two bootable usb devices
Thanks for effort!
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