Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
127 user(s) are online (59 user(s) are browsing Forums)

Members: 0
Guests: 127

more...

Support us!

Headlines

 
  Register To Post  

« 1 ... 5 6 7 (8) 9 »
Re: X1000 CFE Patches: Testers Welcome (Fear not: real-time, no reflashing) v.01
Home away from home
Home away from home


See User information
@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.

Join us to improve dopus5!
AmigaOS4 on youtube
Go to top
Re: X1000 CFE Patches: Testers Welcome (Fear not: real-time, no reflashing) v.01
Quite a regular
Quite a regular


See User information
@kas1e
I tested usb_fix.elf with USB DVD and install .iso:

[CFE ]CFEboot -elf -noints -fs=amigafs ide0.0:sata_fix.elf
Loader
:elf Filesys:amigafs Dev:ide0.0 File:sata_fix.elf Options:(null)
Loading0x0000000000100000/11168 0x0000000000102BA0/2717 0x000000000010363D/35 Entry at 0x0000000000100000
Starting program at 0x0000000000100000
[RUN!]=== SATA FIX v22 ===
  
Both channels dynamic BARs ATAPI UDMA

Finding CFE API
...
  
Seal at 0x7FD1F458dispatch at 0x7FD206A4
  Boot chaining
installed
  PXP_IGNORE_PCIE_ERRORS
set (bus 5 fix)
  
BAR0=0x00001041 (Ch0 cmd=0x00001040)
  
BAR2=0x00001049 (Ch1 cmd=0x00001048)
Step 0UDMA read patch
  BAR4
=0x00001021 -> BMDMA I/O 0x00001020
  DMA trampoline installed 
(796 bytes), UDMA active
Step 1
AHCI port status
  BAR5
=0xC0209400 -> AHCI=0xC0209400  PI=0x0000000F
  Port 0
PRESENT  SIG=0x00000101 (ATA)
  
Port 1PRESENT  SIG=0x00000101 (ATA)
  
Port 2PRESENT  SIG=0xEB140101 (ATAPI)
  
Port 3PRESENT  SIG=0x00000101 (ATA)
  
IDE signature check:
    
Port 0LBAmid=0x56 LBAhi=0x07
    Port 1
LBAmid=0x00 LBAhi=0x00
    Port 2
LBAmid=0x56 LBAhi=0x07 -> triggering ATAPI sig... LBAmid=0x14 LBAhi=0xEB FIXED
    Port 3
LBAmid=0x00 LBAhi=0x00
  Ch0 probe bitmask
0x00000000
  Ch1 probe bitmask
0x000000FF

Step 2
Verify patch points
  All 8 patch points verified OK

Step 3
Applying common patches
  5 common patches applied 
(P2+P3+PB+PC+PE)
  
PA applied per-channel (only when master empty)

Step 4aChannel 0 -- boot already found bothskipped

Step 4b
Probing Channel 1 (BAR2)...
  
P1+PD applied (BAR2instance 1master present)
IDE unit 0Disk"ST1000DM003-1ER162"Capacity:931GB (lba48)
IDE unit 1Disk"ST1000DM003-1CH162"Capacity:931GB (lba48)
PCIIDE2 controllers found
  Ch1 probe returned
!

Step 5Restoring original code
  All restored OK

Step 6
Fix boot device I/O description
  Fixed 2 boot description
(s): I/O 0000 -> 00001040

Step 7
Device tree nodes
  pci
@12 at 0x7FE1EAF0
  Node memory at 0x7FDD0000 
(512 bytes)
  
Method dispatch from existing node0x7FDF7BEC
  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
boot -elf -noints -fs=amigafs ide0.0:sata_fix.elf_fix.elf _fix.elf _fix.elf _fix.elf u_fix.elfs_fix.elfb_fix.elf
Loader
:elf Filesys:amigafs Dev:ide0.0 File:usb_fix.elf Options:(null)
Loading0x0000000000100000/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
already active
  USB SubClass filter
widened (CD/DVD support)

Step 1Finding pci@13 parent node
  pci
@13 at 0x7FE1F1B0
  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
    
[+4udrv_attach 0x7FD70364
    
[+8udrv_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 6EHCI read-splitting hook
  usbdisk_driver at 0x7FDF74D0
  dispatch at 0x7FDF74E4
  read 
0x7FD6FC84
  Read hook at 0x7FDD3400 
(348 bytes)
  
Chunk size16384 bytes
  dispatch
[read]: 0x7FD6FC84 -> 0x7FDD3400

=== USB FIX v14 DONE ===
*** 
command status 0
CFE
port 0:1/9 enabled (high speed)
USB bus 0 device 6vendor 0E8D product 1887 class 08: Mass-Storage Device
USBMASS
Unit 1 connected
[USBunit 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)
Loading0x0000000000200000/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):
1AmigaOS4.1_Update_6            (Volume DH0x)
2AmigaOS4.1_Update_5-Debug      (Volume DH0x)
3AmigaOS_4.1_Final_Edition      (Volume DH0)

[RETURN] 
Boot default      [SPACEStop Countdown
[CTRL-UMove default up   [CTRL-DMove Default Down
[123Boot appropriate config
(5 secuntil autoboot)> (4 secuntil autoboot)> (3 secuntil autoboot)> (2 secuntil autoboot)> (1 secuntil 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 ]CFEboot -elf -noints -fs- =amigafs usb   ide0.0:usb_fix.elf
Loader
:elf Filesys:amigafs Dev:ide0.0 File:usb_fix.elf Options:(null)
Loading0x0000000000100000/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 filterwidened (CD/DVD support)

Step 1Finding pci@13 parent node
  pci
@13 at 0x7FE1F1B0
  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
    
[+4udrv_attach 0x7FD70364
    
[+8udrv_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 6EHCI read-splitting hook
  usbdisk_driver at 0x7FDF74D0
  dispatch at 0x7FDF74E4
  read 
0x7FD6FC84
  Read hook at 0x7FDD3400 
(348 bytes)
  
Chunk size16384 bytes
  dispatch
[read]: 0x7FD6FC84 -> 0x7FDD3400

=== USB FIX v14 DONE ===
*** 
command status 0
CFE
boot -elf -noints -fs=amigafs ide0.0:usb_fix.elf_fix.elf _fix.elf _fix.elf s_fix.elfa_fix.elft_fix.elfa_fix.elf
Loader
:elf Filesys:amigafs Dev:ide0.0 File:sata_fix.elf Options:(null)
Loading0x0000000000100000/11168 0x0000000000102BA0/2717 0x000000000010363D/35 Entry at 0x0000000000100000
Starting program at 0x0000000000100000
[RUN!]=== SATA FIX v22 ===
  
Both channels dynamic BARs ATAPI UDMA

Finding CFE API
...
  
Seal at 0x7FD1F458dispatch at 0x7FD206A4
  Boot chaining
already active
  BAR0
=0x00001041 (Ch0 cmd=0x00001040)
  
BAR2=0x00001049 (Ch1 cmd=0x00001048)
Step 0UDMA read patch
  BAR4
=0x00001021 -> BMDMA I/O 0x00001020
  DMA trampoline installed 
(796 bytes), UDMA active
Step 1
AHCI port status
  BAR5
=0xC0209400 -> AHCI=0xC0209400  PI=0x0000000F
  Port 0
PRESENT  SIG=0x00000101 (ATA)
  
Port 1PRESENT  SIG=0x00000101 (ATA)
  
Port 2PRESENT  SIG=0xEB140101 (ATAPI)
  
Port 3PRESENT  SIG=0x00000101 (ATA)
  
IDE signature check:
    
Port 0LBAmid=0x56 LBAhi=0x07
    Port 1
LBAmid=0x00 LBAhi=0x00
    Port 2
LBAmid=0x56 LBAhi=0x07 -> triggering ATAPI sig... LBAmid=0x14 LBAhi=0xEB FIXED
    Port 3
LBAmid=0x00 LBAhi=0x00
  Ch0 probe bitmask
0x00000000
  Ch1 probe bitmask
0x000000FF

Step 2
Verify patch points
  All 8 patch points verified OK

Step 3
Applying common patches
  5 common patches applied 
(P2+P3+PB+PC+PE)
  
PA applied per-channel (only when master empty)

Step 4aChannel 0 -- boot already found bothskipped

Step 4b
Probing Channel 1 (BAR2)...
  
P1+PD applied (BAR2instance 1master present)
IDE unit 0Disk"ST1000DM003-1ER162"Capacity:931GB (lba48)
IDE unit 1Disk"ST1000DM003-1CH162"Capacity:931GB (lba48)
PCIIDE2 controllers found
  Ch1 probe returned
!

Step 5Restoring original code
  All restored OK

Step 6
Fix boot device I/O description
  Fixed 2 boot description
(s): I/O 0000 -> 00001040

Step 7
Device tree nodes
  pci
@12 at 0x7FE1EAF0
  Node memory at 0x7FDD0000 
(512 bytes)
  
Method dispatch from existing node0x7FDF7BEC
  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 6vendor ABCD product 1234 class 08: Mass-Storage Device
USBMASS
Unit 1 connected
[USBunit 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-
   Internet                            dir        
------------rwed 
   Devs                                dir        
------------rwed 
   Trashcan                            dir        
------------rwed 
   Libs                                dir        
------------rwed 
   Emulation
.info                      15444      ------------rw-
   A
-EON.info                          15426      ------------rw-
   MUI
.info                            16828      ------------rw-
   System
.info                         15366      ------------rw-
   C                                   dir        
------------rwed 
   L                                   dir        
------------rwed 
   whets
.res                           1060       r---r-------rw-
   S                                   dir        
------------rwed 
   Trashcan
.info                       12218      ------------rw-
   ChangeLog
.guide                     39487      ------------rwed 
   MUI                                 dir        
------------rwed 
   Fonts                               dir        
------------rwed 
   Utilities                           dir        
------------rwed 
   Documentation
.info                  15728      ------------rw-
   Classes                             dir        
------------rwed 
   amigaboot
.of                        62100      ------------r--- 
   
Prefs.info                          15944      ------------rw-
   A
-EON                               dir        ------------rwed 
   Documentation                       dir        
------------rwed 
   Storage                             dir        
------------rwed 
   Kickstart                           dir        
------------rwed 
   Firmware                            dir        
------------rwed 
   ChangeLog
.guide.info                9870       ------------rw-
   System                              dir        
------------rwed 
   Locale                              dir        
------------rwed 
   Devs
.info                           15912      ------------rw-
   Prefs                               dir        
------------rwed 
   Storage
.info                        15384      ------------rw-
   Internet
.info                       16456      ------------rw-
   SObjs                               dir        
------------rwed 
   Disk
.info                           13678      ------------rw-

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)
Loading0x0000000000200000/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):
  
1AmigaOS4.1_Update_6            (Volume DH0x)
  
2AmigaOS4.1_Update_5-Debug      (Volume DH0x)
  
3AmigaOS_4.1_Final_Edition      (Volume DH0)

[RETURN] 
Boot default      [SPACEStop Countdown
Move 
default [UP] or [DOWNwith arrows
[123Boot appropriate config
(5 secuntil autoboot)> (4 secuntil autoboot)> (3 secuntil autoboot)> (2 secuntil autoboot)> (1 secuntil autoboot)> (0 secuntil 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
Go to top
Re: X1000 CFE Patches: Testers Welcome (Fear not: real-time, no reflashing) v.01
Home away from home
Home away from home


See User information
@sailor
Something wrong, boot fully from USB and from USB CD-ROm with patch fully possible now, of course, that the whole point of it.

See how it looks like when i "boot -fs=iso usbdisk0:amigaboot.of" from USB CD-rom and x1000 installation ISO :

AmigaOS OpenFirmware Bootloader V54.8
Copyright 
(C2015-2021 Trevor Dickinson


Please choose a configuration to boot 
(Default choice is green):
  
1AmigaOS4.1_X1000_Final_Edition (Volume AmigaOS 4.1 Final Edition)
  
2AmigaOS_4.1_Final_Edition      (Volume DH0)

[RETURN] 
Boot default      [SPACEStop Countdown
Move 
default [UP] or [DOWNwith arrows
[12Boot 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(!)_ :

CFEboot -fs=amigafs usbdisk1:amigaboot.of
Loader
:elf Filesys:amigafs Dev:usbdisk1 File:amigaboot.of Options:(null)
Loading0x0000000000200000/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):
1AmigaOS4.1_X1000_Final_Edition (Volume UDH2n)
2AmigaOS4.1_X1000_Final_Edition (Volume AmigaOS 4.1 Final Edition)
3AmigaOS_4.1_Final_Edition      (Volume DH0)

[RETURN] 
Boot default      [SPACEStop Countdown
[CTRL-UMove default up   [CTRL-DMove Default Down
[123Boot 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.

Thanks !

Join us to improve dopus5!
AmigaOS4 on youtube
Go to top
Re: X1000 CFE Patches: Testers Welcome (Fear not: real-time, no reflashing) v.01
Home away from home
Home away from home


See User information
@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 6vendor 0E8D product 1887 class 08: Mass-Storage Device
USBMASS
Unit 1 connected
[USBunit 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:.

Let me know how it goes.

Join us to improve dopus5!
AmigaOS4 on youtube
Go to top
Re: X1000 CFE Patches: Testers Welcome (Fear not: real-time, no reflashing) v.01
Not too shy to talk
Not too shy to talk


See User information
@kas1e

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.

Go to top
Re: X1000 CFE Patches: Testers Welcome (Fear not: real-time, no reflashing) v.01
Quite a regular
Quite a regular


See User information
@kas1eQuote:
kas1e wrote:@sailor
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.

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
Go to top
Re: X1000 CFE Patches: Testers Welcome (Fear not: real-time, no reflashing) v.01
Home away from home
Home away from home


See User information
@Hypex
Quote:

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:

USBMASSUnit 1 connected
[USBunit 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:

USBMASSUnit 0 connected
[USBunit 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 ?

Join us to improve dopus5!
AmigaOS4 on youtube
Go to top
Re: X1000 CFE Patches: Testers Welcome (Fear not: real-time, no reflashing) v.01
Home away from home
Home away from home


See User information
@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 :

USBMASSUnit 1 connected
[USBunit 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.

Join us to improve dopus5!
AmigaOS4 on youtube
Go to top
Re: X1000 CFE Patches: Testers Welcome (Fear not: real-time, no reflashing) v.01
Quite a regular
Quite a regular


See User information
@kas1eQuote:
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 :

USBMASSUnit 1 connected
[USBunit 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
Go to top
Re: X1000 CFE Patches: Testers Welcome (Fear not: real-time, no reflashing) v.01
Home away from home
Home away from home


See User information
@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)


Edited by kas1e on 2026/4/15 7:41:46
Join us to improve dopus5!
AmigaOS4 on youtube
Go to top
Re: X1000 CFE Patches: Testers Welcome (Fear not: real-time, no reflashing) v.01
Quite a regular
Quite a regular


See User information
@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 firmwareit must
be plugged directly into the first 
(bottomUSB 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 keyboardUnless 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
Go to top
Re: X1000 CFE Patches: Testers Welcome (Fear not: real-time, no reflashing) v.01
Quite a regular
Quite a regular


See User information
@kas1eQuote:
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
Go to top
Re: X1000 CFE Patches: Testers Welcome (Fear not: real-time, no reflashing) v.02 NEW!
Home away from home
Home away from home


See User information
@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 :)

Join us to improve dopus5!
AmigaOS4 on youtube
Go to top
Re: X1000 CFE Patches: Testers Welcome (Fear not: real-time, no reflashing) v.01
Not too shy to talk
Not too shy to talk


See User information
@kas1e

Quote:
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:
CFEboot -noints -fs=amigafs ide0.1:usb_fix.elf
Loader
:elf Filesys:amigafs Dev:ide0.1 File:usb_fix.elf Options:(null)
Loading0x0000000000100000/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 filterwidened (CD/DVD support)


Step 1Finding 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

    
[+4udrv_attach 0x7FD70364

    
[+8udrv_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 6EHCI read-splitting hook

  usbdisk_driver at 0x7FDF74D0

  dispatch at 0x7FDF74E4

  read 
0x7FD6FC84

  Read hook at 0x7FDD3400 
(348 bytes)

  
Chunk size16384 bytes

  dispatch
[read]: 0x7FD6FC84 -> 0x7FDD3400


=== USB FIX v14 DONE ===

*** 
command status 0


A boot log:
CFEport 0:1/10 released (full speed)

USB: New device connected to bus 5 hub 1 port 2 (full speed)

CFEport 0:1/10 released (full speed)

CFEboot -fs=amigafs usbdisk0:amigaboot.of
Loader
:elf Filesys:amigafs Dev:usbdisk0 File:amigaboot.of Options:(null)
Loading0x0000000000200000/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):

  
1AmigaOS 4.1 Update 5           (Volume USB)

  
2AmigaOS_4.1_Final_Edition      (Volume DH0)


[RETURN] 
Boot default      [SPACEStop Countdown

Move 
default [UP] or [DOWNwith arrows

[1234567890ABCDEFBoot appropriate config

(5 secuntil autoboot)>


(
4 secuntil autoboot)>


(
3 secuntil autoboot)>


>


2
)


>


>


** 
Exception 0x0200SRR0=00000000910C2800 SRR1=1000000002103000 [MCheck  cpu0
         LR 
00000000FFF75874     CTR = 00000000910C2802
        XER 
0000000000000000   DSISR 00004000
       HID0 
8000000000000000    HID1 000000005CE993B1
       HID4 
4400240000080180    HID5 0000006600000000
       LPCR 
0000000000000000

        r0  
000000000004CA44     r1  000000007FFFF538
        r2  
000000007FD20838     r3  000000000000B388
        r4  
000000000000A378     r5  000000007FD207C0
        r6  
000000007FFFF821     r7  000000000020D558
        r8  
= 0000000092810024     r9  = 00000000910C2802
        r10 
= 0000000092A10028     r11 000000007C0802A6
        r12 
0000000040000024     r13 0000000000000000
        r14 
0000000000000000     r15 0000000000000000
        r16 
0000000000000000     r17 000000000020D474
        r18 
000000007FFFF740     r19 0000000000210000
        r20 
000000007F010114     r21 00000000010100F4
        r22 
00000000010100F0     r23 000000007F000024
        r24 
000000007F000000     r25 000000000000003B
        r26 
000000007FFFF821     r27 000000007FFFF821
        r28 
0000000000000004     r29 000000007F000000
        r30 
00000000FFFC228C     r31 000000007F000000


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.

Go to top
Re: X1000 CFE Patches: Testers Welcome (Fear not: real-time, no reflashing) v.02 NEW!
Home away from home
Home away from home


See User information
@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:

[1234567890ABCDEFBoot 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:

load -raw -max=5181925 -addr=0x00600000 -fs=amigafs usbdisk0:kickstart.zip 
boot 
-elf -noints -fs=amigafs usbdisk0:bboot


(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
Join us to improve dopus5!
AmigaOS4 on youtube
Go to top
Re: X1000 CFE Patches: Testers Welcome (Fear not: real-time, no reflashing) v.02 NEW!
Quite a regular
Quite a regular


See User information
@kas1e
Test #1:
usbdisk0:ext2, usbdisk1:ffs
ALL OK:
[HELO][DRAM]SDRAMECC offNon-ECC DIMM used on channel 0.
SDRAM
ECC offNon-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/1ATI Technologies product 0xaa90 (multimedia subclass 0x03)
PCI bus 3 slot 0/0ATI Technologies product 0x6798 (VGA display)
PCI bus 3 slot 0/1ATI Technologies product 0xaaa0 (multimedia subclass 0x03)
PCI bus 5 slot 18/0ATI Technologies product 0x4380 (IDE mass storage, interface 0x8f)
PCI bus 5 slot 19/0ATI Technologies product 0x4387 (USB serial bus, interface 0x10)
PCI bus 5 slot 19/1ATI Technologies product 0x4388 (USB serial bus, interface 0x10)
PCI bus 5 slot 19/2ATI Technologies product 0x4389 (USB serial bus, interface 0x10)
PCI bus 5 slot 19/3ATI Technologies product 0x438a (USB serial bus, interface 0x10)
PCI bus 5 slot 19/4ATI Technologies product 0x438b (USB serial bus, interface 0x10)
PCI bus 5 slot 19/5ATI Technologies product 0x4386 (USB serial bus, interface 0x20)
PCI bus 5 slot 20/0ATI Technologies product 0x4385 (SMBus serial busrev 0x14)
PCI bus 5 slot 20/1ATI Technologies product 0x438c (IDE mass storage, interface 0x83)
PCI bus 5 slot 20/2ATI Technologies product 0x4383 (multimedia subclass 0x03)
PCI bus 5 slot 20/3ATI Technologies product 0x438d (ISA bridge)
PCI bus 5 slot 20/4ATI Technologies product 0x4384 (PCI bridge)
PCI bus 6 slot 6/0Realtek Semiconductor product 0x8169 (ethernet networkrev 0x10)
PCI bus 8 slot 0/0unknown vendor 0x1912 product 0x0014 (USB serial bus, interface 0x30rev 0x03)
Initializing Devices.
GPIOLV10 JumperNot fitted (default VGA console)
GPIOLV11 JumperNot fitted (default ?)
 
PHYmbaddr 0x00vendor 03f1 device 15 (1)
GFXPCIe Slot
GFX
Disable SB600 legacy decode
VGA 
(1/0/0): ISA memory space mapped to f8000000000
Initializing VGA
.
Found 800x600x32 mode0x0103 (259)
Current VBE mode is now0x0103 (259)
  
Mode Attribs00BB  [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
.
GFXPCIe Slot
GFX
Disable SB600 legacy decode
VGA 
(3/0/0): ISA memory space mapped to f8000000000
Initializing VGA
.
Found 800x600x32 mode0x0103 (259)
Current VBE mode is now0x0103 (259)
  
Mode Attribs00BB  [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
.
cf0Card inserted (3V)
SATA unit 0Disk"TS256GSSD230S"Capacity:238GB (lba48)
ATAPI unit 1Optical Drive"DRW-24D5MT"
PCIIDE2 controllers found
Initializing USB
.
PCI bus 5 slot 19/5EHCI USB controller found at C0209800
USB bus 0 device 1
vendor 0000 product 0000 class 09: USB Hub
PCI bus 5 slot 19
/0OHCI USB controller found at C0208000
USB bus 1 device 1
vendor 0000 product 0000 class 09: USB Hub
PCI bus 5 slot 19
/1OHCI USB controller found at C0206000
USB bus 2 device 1
vendor 0000 product 0000 class 09: USB Hub
PCI bus 5 slot 19
/2OHCI USB controller found at C0207000
USB bus 3 device 1
vendor 0000 product 0000 class 09: USB Hub
PCI bus 5 slot 19
/3OHCI USB controller found at C0205000
USB bus 4 device 1
vendor 0000 product 0000 class 09: USB Hub
PCI bus 5 slot 19
/4OHCI 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 (codesegment:       0x7FD1DF60 0x7FDCBE60 (712448)
Relocation Factor:         I:7FE1DF60 D:7FE1DF60
[ENVI]
[
OFW ][UI  ]port 0:1/1 enabled (high speed)
USB bus 0 device 2vendor 05E3 product 0608 class 09: USB Hub
USB
: New device connected to bus 0 hub 2 port 1 (high speed)
USB bus 0 device 3vendor 413C product 1010 class 09: USB Hub
USB
: New device connected to bus 0 hub 2 port 3 (high speed)
USB bus 0 device 4vendor 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 5vendor 413C product 2110 class 03Human-Interface Device
USBHID
Keyboard Configured.
Requested state A4 (1800MHz)
To get back into the menutype 'menu' on the CFE command prompt
[CFE ]CFEboot -elf -noints -fs=amigafs ide0.0:usb.elf
Loader
:elf Filesys:amigafs Dev:ide0.0 File:usb.elf Options:(null)
Loading0x0000000000100000/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 filterwidened (CD/DVD support)

Step 1Finding pci@13 parent node
  pci
@13 at 0x7FE1F1B0
  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
    
[+4udrv_attach 0x7FD70364
    
[+8udrv_detach 0x7FD702D4

Step 4
Installing hook trampolines
  Hook code
716 bytes at 0x7FDD3080
  Attach hook
0x7FDD3080
  Detach hook
0x7FDD31B4

Step 4b
Scanning for pre-existing USB devices
  Struct offsets
ud_private=0x00000090 umass_unit=0x00000010
  Pre
-existingunit 0 dev=0x7FE246B0
  Linked 1 node
(sinto pci@13

Step 5
Patching usbmass_driver
  udrv_attach
0x7FD70364 -> 0x7FDD3080
  udrv_detach
0x7FD702D4 -> 0x7FDD31B4

  Hooks installed
Supports up to 4 USB sticks.
  
Plug/unplug to add/remove devtree nodes.

Step 6EHCI read-splitting hook
  usbdisk_driver at 0x7FDF74D0
  dispatch at 0x7FDF74E4
  read 
0x7FD6FC84
  Read hook at 0x7FDD3400 
(348 bytes)
  
Chunk size16384 bytes
  dispatch
[read]: 0x7FD6FC84 -> 0x7FDD3400

=== USB FIX v14 DONE ===
*** 
command status 0
CFE
port 0:1/9 enabled (high speed)
USB bus 0 device 6vendor ABCD product 1234 class 08: Mass-Storage Device
USBMASS
Unit 1 connected
[USBunit 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)> 

(Booting default)
Booting configuration AmigaOS_4.1_Final_Edition
+++ ehci 0:5/1 status 44 cerr 3
graphics.library AltiVec/VMX enabled
graphics.library PA6T optimizations enabled

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
Go to top
Re: X1000 CFE Patches: Testers Welcome (Fear not: real-time, no reflashing) v.02 NEW!
Quite a regular
Quite a regular


See User information
@kas1e
Test #2:
usbdisk0:ext2, usbdisk1:DVD
ALL OK:
[HELO][DRAM]SDRAMECC offNon-ECC DIMM used on channel 0.
SDRAM
ECC offNon-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/1ATI Technologies product 0xaa90 (multimedia subclass 0x03)
PCI bus 3 slot 0/0ATI Technologies product 0x6798 (VGA display)
PCI bus 3 slot 0/1ATI Technologies product 0xaaa0 (multimedia subclass 0x03)
PCI bus 5 slot 18/0ATI Technologies product 0x4380 (IDE mass storage, interface 0x8f)
PCI bus 5 slot 19/0ATI Technologies product 0x4387 (USB serial bus, interface 0x10)
PCI bus 5 slot 19/1ATI Technologies product 0x4388 (USB serial bus, interface 0x10)
PCI bus 5 slot 19/2ATI Technologies product 0x4389 (USB serial bus, interface 0x10)
PCI bus 5 slot 19/3ATI Technologies product 0x438a (USB serial bus, interface 0x10)
PCI bus 5 slot 19/4ATI Technologies product 0x438b (USB serial bus, interface 0x10)
PCI bus 5 slot 19/5ATI Technologies product 0x4386 (USB serial bus, interface 0x20)
PCI bus 5 slot 20/0ATI Technologies product 0x4385 (SMBus serial busrev 0x14)
PCI bus 5 slot 20/1ATI Technologies product 0x438c (IDE mass storage, interface 0x83)
PCI bus 5 slot 20/2ATI Technologies product 0x4383 (multimedia subclass 0x03)
PCI bus 5 slot 20/3ATI Technologies product 0x438d (ISA bridge)
PCI bus 5 slot 20/4ATI Technologies product 0x4384 (PCI bridge)
PCI bus 6 slot 6/0Realtek Semiconductor product 0x8169 (ethernet networkrev 0x10)
PCI bus 8 slot 0/0unknown vendor 0x1912 product 0x0014 (USB serial bus, interface 0x30rev 0x03)
Initializing Devices.
GPIOLV10 JumperNot fitted (default VGA console)
GPIOLV11 JumperNot fitted (default ?)
 
PHYmbaddr 0x00vendor 3fffff device 3f (f)
GFXPCIe Slot
GFX
Disable SB600 legacy decode
VGA 
(1/0/0): ISA memory space mapped to f8000000000
Initializing VGA
.
Found 800x600x32 mode0x0103 (259)
Current VBE mode is now0x0103 (259)
  
Mode Attribs00BB  [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
.
GFXPCIe Slot
GFX
Disable SB600 legacy decode
VGA 
(3/0/0): ISA memory space mapped to f8000000000
Initializing VGA
.
Found 800x600x32 mode0x0103 (259)
Current VBE mode is now0x0103 (259)
  
Mode Attribs00BB  [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
.
cf0Card inserted (3V)
SATA unit 0Disk"TS256GSSD230S"Capacity:238GB (lba48)
ATAPI unit 1Optical Drive"DRW-24D5MT"
PCIIDE2 controllers found
Initializing USB
.
PCI bus 5 slot 19/5EHCI USB controller found at C0209800
USB bus 0 device 1
vendor 0000 product 0000 class 09: USB Hub
PCI bus 5 slot 19
/0OHCI USB controller found at C0208000
USB bus 1 device 1
vendor 0000 product 0000 class 09: USB Hub
PCI bus 5 slot 19
/1OHCI USB controller found at C0206000
USB bus 2 device 1
vendor 0000 product 0000 class 09: USB Hub
PCI bus 5 slot 19
/2OHCI USB controller found at C0207000
USB bus 3 device 1
vendor 0000 product 0000 class 09: USB Hub
PCI bus 5 slot 19
/3OHCI USB controller found at C0205000
USB bus 4 device 1
vendor 0000 product 0000 class 09: USB Hub
PCI bus 5 slot 19
/4OHCI 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 (codesegment:       0x7FD1DF60 0x7FDCBE60 (712448)
Relocation Factor:         I:7FE1DF60 D:7FE1DF60
[ENVI]
[
OFW ][UI  ]port 0:1/1 enabled (high speed)
USB bus 0 device 2vendor 05E3 product 0608 class 09: USB Hub
USB
: New device connected to bus 0 hub 2 port 1 (high speed)
USB bus 0 device 3vendor 413C product 1010 class 09: USB Hub
USB
: New device connected to bus 0 hub 2 port 3 (high speed)
USB bus 0 device 4vendor 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 5vendor 413C product 2110 class 03Human-Interface Device
USBHID
Keyboard Configured.
Requested state A4 (1800MHz)
To get back into the menutype 'menu' on the CFE command prompt
[CFE ]CFEd ox7fdc4028
0000000000000000
00000000 7FE00008 7FE00008 7FE00008  .............
00000000000000107FE00008 7FE00008 7FE00008 7FE00008  ............
00000000000000207FE00008 7FE00008 7FE00008 7FE00008  ............
00000000000000307FE00008 7FE00008 7FE00008 7FE00008  ............
00000000000000407FE00008 7FE00008 7FE00008 7FE00008  ............
00000000000000507FE00008 7FE00008 7FE00008 7FE00008  ............
00000000000000607FE00008 7FE00008 7FE00008 7FE00008  ............
00000000000000707FE00008 7FE00008 7FE00008 7FE00008  ............
0000000000000080: 
7FE00008 7FE00008 7FE00008 7FE00008  ............
0000000000000090: 
7FE00008 7FE00008 7FE00008 7FE00008  ............
00000000000000A07FE00008 7FE00008 7FE00008 7FE00008  ............
00000000000000B07FE00008 7FE00008 7FE00008 7FE00008  ............
00000000000000C07FE00008 7FE00008 7FE00008 7FE00008  ............
00000000000000D07FE00008 7FE00008 7FE00008 7FE00008  ............
00000000000000E07FE00008 7FE00008 7FE00008 7FE00008  ............
00000000000000F07FE00008 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...
000000007FDC404868667269 6564656E 406A756D 70676174  hfrieden@jumpgat
000000007FDC4058
65000000 00000000 436C6F73 696E6720  e.......Closing 
000000007FDC4068
6E657477 6F726B2E 0A000000 00000000  network.........
000000007FDC407853746172 74696E67 2070726F 6772616D  Starting program
000000007FDC4088
20617420 30782530 31366C6C 58000000   at 0x%016llX...
000000007FDC40984C6F6164 696E673A 20000000 00000000  Loading: .......
000000007FDC40A84661696C 65642E0A 00000000 00000000  Failed..........
000000007FDC40B8456E7472 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....
000000007FDC4118626F6F74 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)
Loading0x0000000000100000/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 filterwidened (CD/DVD support)

Step 1Finding pci@13 parent node
  pci
@13 at 0x7FE1F1B0
  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
    
[+4udrv_attach 0x7FD70364
    
[+8udrv_detach 0x7FD702D4

Step 4
Installing hook trampolines
  Hook code
716 bytes at 0x7FDD3080
  Attach hook
0x7FDD3080
  Detach hook
0x7FDD31B4

Step 4b
Scanning for pre-existing USB devices
  Struct offsets
ud_private=0x00000090 umass_unit=0x00000010
  Pre
-existingunit 0 dev=0x7FE246B0
  Linked 1 node
(sinto pci@13

Step 5
Patching usbmass_driver
  udrv_attach
0x7FD70364 -> 0x7FDD3080
  udrv_detach
0x7FD702D4 -> 0x7FDD31B4

  Hooks installed
Supports up to 4 USB sticks.
  
Plug/unplug to add/remove devtree nodes.

Step 6EHCI read-splitting hook
  usbdisk_driver at 0x7FDF74D0
  dispatch at 0x7FDF74E4
  read 
0x7FD6FC84
  Read hook at 0x7FDD3400 
(348 bytes)
  
Chunk size16384 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 
(ge3at 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 systemFile not found
*** command status = -18
CFE
dir -fs=iso usbdisk1:
Could not init file systemFile not found
*** command status = -18
CFE
port 0:1/9 enabled (high speed)
USB bus 0 device 6vendor 0E8D product 1887 class 08: Mass-Storage Device
USBMASS
Unit 1 connected
[USBunit 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)
Loading0x0000000000200000/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):
1AmigaOS4.1_X1000_Final_Edition (Volume AmigaOS 4.1 Final Edition)
2AmigaOS_4.1_Final_Edition      (Volume DH0)

[RETURN] 
Boot default      [SPACEStop Countdown
[CTRL-UMove default up   [CTRL-DMove Default Down
[12Boot appropriate config
(5 secuntil autoboot)> (4 secuntil autoboot)> (3 secuntil autoboot)> (2 secuntil autoboot)> (1 secuntil 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
Go to top
Re: X1000 CFE Patches: Testers Welcome (Fear not: real-time, no reflashing) v.02 NEW!
Quite a regular
Quite a regular


See User information
@kas1e
Test #3:
usbdisk0:ext2 - in first port +hub +kbd
usbdisk1:DVD usbdisk2: FFS flash - both in front USBs:
[HELO][DRAM]SDRAMECC offNon-ECC DIMM used on channel 0.
SDRAM
ECC offNon-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/1ATI Technologies product 0xaa90 (multimedia subclass 0x03)
PCI bus 3 slot 0/0ATI Technologies product 0x6798 (VGA display)
PCI bus 3 slot 0/1ATI Technologies product 0xaaa0 (multimedia subclass 0x03)
PCI bus 5 slot 18/0ATI Technologies product 0x4380 (IDE mass storage, interface 0x8f)
PCI bus 5 slot 19/0ATI Technologies product 0x4387 (USB serial bus, interface 0x10)
PCI bus 5 slot 19/1ATI Technologies product 0x4388 (USB serial bus, interface 0x10)
PCI bus 5 slot 19/2ATI Technologies product 0x4389 (USB serial bus, interface 0x10)
PCI bus 5 slot 19/3ATI Technologies product 0x438a (USB serial bus, interface 0x10)
PCI bus 5 slot 19/4ATI Technologies product 0x438b (USB serial bus, interface 0x10)
PCI bus 5 slot 19/5ATI Technologies product 0x4386 (USB serial bus, interface 0x20)
PCI bus 5 slot 20/0ATI Technologies product 0x4385 (SMBus serial busrev 0x14)
PCI bus 5 slot 20/1ATI Technologies product 0x438c (IDE mass storage, interface 0x83)
PCI bus 5 slot 20/2ATI Technologies product 0x4383 (multimedia subclass 0x03)
PCI bus 5 slot 20/3ATI Technologies product 0x438d (ISA bridge)
PCI bus 5 slot 20/4ATI Technologies product 0x4384 (PCI bridge)
PCI bus 6 slot 6/0Realtek Semiconductor product 0x8169 (ethernet networkrev 0x10)
PCI bus 8 slot 0/0unknown vendor 0x1912 product 0x0014 (USB serial bus, interface 0x30rev 0x03)
Initializing Devices.
GPIOLV10 JumperNot fitted (default VGA console)
GPIOLV11 JumperNot fitted (default ?)
 
PHYmbaddr 0x00vendor 03f1 device 15 (1)
GFXPCIe Slot
GFX
Disable SB600 legacy decode
VGA 
(1/0/0): ISA memory space mapped to f8000000000
Initializing VGA
.
Found 800x600x32 mode0x0103 (259)
Current VBE mode is now0x0103 (259)
  
Mode Attribs00BB  [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
.
GFXPCIe Slot
GFX
Disable SB600 legacy decode
VGA 
(3/0/0): ISA memory space mapped to f8000000000
Initializing VGA
.
Found 800x600x32 mode0x0103 (259)
Current VBE mode is now0x0103 (259)
  
Mode Attribs00BB  [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
.
cf0Card inserted (3V)
SATA unit 0Disk"TS256GSSD230S"Capacity:238GB (lba48)
ATAPI unit 1Optical Drive"DRW-24D5MT"
PCIIDE2 controllers found
Initializing USB
.
PCI bus 5 slot 19/5EHCI USB controller found at C0209800
USB bus 0 device 1
vendor 0000 product 0000 class 09: USB Hub
PCI bus 5 slot 19
/0OHCI USB controller found at C0208000
USB bus 1 device 1
vendor 0000 product 0000 class 09: USB Hub
PCI bus 5 slot 19
/1OHCI USB controller found at C0206000
USB bus 2 device 1
vendor 0000 product 0000 class 09: USB Hub
PCI bus 5 slot 19
/2OHCI USB controller found at C0207000
USB bus 3 device 1
vendor 0000 product 0000 class 09: USB Hub
PCI bus 5 slot 19
/3OHCI USB controller found at C0205000
USB bus 4 device 1
vendor 0000 product 0000 class 09: USB Hub
PCI bus 5 slot 19
/4OHCI 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 (codesegment:       0x7FD1DF60 0x7FDCBE60 (712448)
Relocation Factor:         I:7FE1DF60 D:7FE1DF60
[ENVI]
[
OFW ][UI  ]port 0:1/1 enabled (high speed)
USB bus 0 device 2vendor 05E3 product 0608 class 09: USB Hub
USB
: New device connected to bus 0 hub 2 port 1 (high speed)
USB bus 0 device 3vendor 413C product 1010 class 09: USB Hub
USB
: New device connected to bus 0 hub 2 port 3 (high speed)
USB bus 0 device 4vendor 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 5vendor 413C product 2110 class 03Human-Interface Device
USBHID
Keyboard Configured.
Requested state A4 (1800MHz)
To get back into the menutype 'menu' on the CFE command prompt
[CFE ]CFEboot -efl  lf -noints -fs=amigafs ide0.0:usb.elf
Loader
:elf Filesys:amigafs Dev:ide0.0 File:usb.elf Options:(null)
Loading0x0000000000100000/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 filterwidened (CD/DVD support)

Step 1Finding pci@13 parent node
  pci
@13 at 0x7FE1F1B0
  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
    
[+4udrv_attach 0x7FD70364
    
[+8udrv_detach 0x7FD702D4

Step 4
Installing hook trampolines
  Hook code
716 bytes at 0x7FDD3080
  Attach hook
0x7FDD3080
  Detach hook
0x7FDD31B4

Step 4b
Scanning for pre-existing USB devices
  Struct offsets
ud_private=0x00000090 umass_unit=0x00000010
  Pre
-existingunit 0 dev=0x7FE246B0
  Linked 1 node
(sinto pci@13

Step 5
Patching usbmass_driver
  udrv_attach
0x7FD70364 -> 0x7FDD3080
  udrv_detach
0x7FD702D4 -> 0x7FDD31B4

  Hooks installed
Supports up to 4 USB sticks.
  
Plug/unplug to add/remove devtree nodes.

Step 6EHCI read-splitting hook
  usbdisk_driver at 0x7FDF74D0
  dispatch at 0x7FDF74E4
  read 
0x7FD6FC84
  Read hook at 0x7FDD3400 
(348 bytes)
  
Chunk size16384 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 
(ge3at 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 2vendor 05E3 product 0608 class 9  [HS HUB]
USB bus 0 device 3vendor 413C product 1010 class 9  [HS HUB]
USB bus 0 device 5vendor 413C product 2110 class 0  [LS DEVICE]
USB bus 0 device 4vendor 0781 product 5591 class 0  [HS DEVICE]
USB bus 1 device 1vendor 0000 product 0000 class 9  [FS HUB]
USB bus 2 device 1vendor 0000 product 0000 class 9  [FS HUB]
USB bus 3 device 1vendor 0000 product 0000 class 9  [FS HUB]
USB bus 4 device 1vendor 0000 product 0000 class 9  [FS HUB]
USB bus 5 device 1vendor 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 systemFile not found
*** command status = -18
CFE
port 0:1/9 enabled (high speed)
USB bus 0 device 6vendor 0E8D product 1887 class 08: Mass-Storage Device
USBMASS
Unit 1 connected
[USBunit 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 2vendor 05E3 product 0608 class 9  [HS HUB]
USB bus 0 device 3vendor 413C product 1010 class 9  [HS HUB]
USB bus 0 device 5vendor 413C product 2110 class 0  [LS DEVICE]
USB bus 0 device 4vendor 0781 product 5591 class 0  [HS DEVICE]
USB bus 0 device 6vendor 0E8D product 1887 class 0  [HS DEVICE]
USB bus 1 device 1vendor 0000 product 0000 class 9  [FS HUB]
USB bus 2 device 1vendor 0000 product 0000 class 9  [FS HUB]
USB bus 3 device 1vendor 0000 product 0000 class 9  [FS HUB]
USB bus 4 device 1vendor 0000 product 0000 class 9  [FS HUB]
USB bus 5 device 1vendor 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 7vendor ABCD product 1234 class 08: Mass-Storage Device
USBMASS
Unit 2 connected
[USBunit 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 
(ge3at 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 2vendor 05E3 product 0608 class 9  [HS HUB]
USB bus 0 device 3vendor 413C product 1010 class 9  [HS HUB]
USB bus 0 device 5vendor 413C product 2110 class 0  [LS DEVICE]
USB bus 0 device 4vendor 0781 product 5591 class 0  [HS DEVICE]
USB bus 0 device 6vendor 0E8D product 1887 class 0  [HS DEVICE]
USB bus 0 device 7vendor ABCD product 1234 class 0  [HS DEVICE]
USB bus 1 device 1vendor 0000 product 0000 class 9  [FS HUB]
USB bus 2 device 1vendor 0000 product 0000 class 9  [FS HUB]
USB bus 3 device 1vendor 0000 product 0000 class 9  [FS HUB]
USB bus 4 device 1vendor 0000 product 0000 class 9  [FS HUB]
USB bus 5 device 1vendor 0000 product 0000 class 9  [FS HUB]
*** 
command status 0
CFE
dir -fs- - =amigafs usbdisk2:
Could not init file systemInsufficient 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 systemInsufficient memory
*** command status = -5
CFE
dir -fs=amigafs usbdisk2:: 3:
Could not init file systemInsufficient 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 systemInsufficient 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
Go to top
Re: X1000 CFE Patches: Testers Welcome (Fear not: real-time, no reflashing) v.02 NEW!
Home away from home
Home away from home


See User information
@sailor
Oh wait, i got it, so test3 will try to reproduce.

Join us to improve dopus5!
AmigaOS4 on youtube
Go to top
Re: X1000 CFE Patches: Testers Welcome (Fear not: real-time, no reflashing) v.02 NEW!
Quite a regular
Quite a regular


See User information
@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
Go to top

  Register To Post
« 1 ... 5 6 7 (8) 9 »

 




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



Polls
Running AmigaOS 4 on?
AmigaOne SE/XE or microA1 12% (26)
Pegasos2 3% (8)
X5000 22% (48)
X1000 14% (30)
A1222 8% (19)
Sam 440/460 18% (40)
Classic PowerPC Amiga 2% (6)
WinUAE emulation 7% (16)
Qemu emulation 9% (21)
Total Votes: 214
The poll closed at 2025/12/1 12:00
8 Comments


Powered by XOOPS 2.0 © 2001-2024 The XOOPS Project