Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
142 user(s) are online (116 user(s) are browsing Forums)

Members: 2
Guests: 140

kas1e, Kamelito, more...

Support us!

Headlines

 
  Register To Post  

« 1 ... 6 7 8 (9) 10 »
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
Quote:

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 :)

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
there is similar test, but devices were in read slots:
reb d set
Are you sure you want to reset
y
[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][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 ]CFEs 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
boot -elf -noints -fs=amigafs ide0> :0  .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
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 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
seen    there is seen only ef xt2 flash disk keyboard in hub 
Invalid command
"there"
Available commandsaltcpuarpautobootbatchbootcopydiskcpuddflushdirdramcfgefflashgohelpifconfigintloadloopmccfgmcdllmemcmpmemorytestmenupcipingprintenvrramdiskrandmemtestreserveresetsavesetsetenvshowsleepspitesttestdramunsetenvusbvgaw

*** command status = -1
CFE
port 0:1/4 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=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 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 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 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
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 
(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
port 0:1/2 enabled (high speed)
USB bus 0 device 7vendor 0E8D product 1887 class 08: Mass-Storage Device
USBMASS
Unit 2 connected
[USBunit 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 
(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 7vendor 0E8D product 1887 class 0  [HS DEVICE]
USB bus 0 device 6vendor 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=iso usbdisk2> :
Could not init file systemFile 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
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
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)

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
SFS + USB patch test:
ALL OK - nice!

Tested on usb flash with sfs2 filesystem:
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.
USBDevice disconnected from bus 3 hub 1 port 2
Requested state A4 
(1800MHz)
To get back into the menutype 'menu' on the CFE command prompt
[CFE ]CFEboot -elf -noints -fs=amigafs ide0.0:sata.el      fs2.elf
Loader
:elf Filesys:amigafs Dev:ide0.0 File:sfs2.elf Options:(null)
LoadingFailed.
Could not load ide0.0:sfs2.elfFile 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)
Loading0x0000000000100000/8836 0x0000000000102284/1500 0x0000000000102860/4 Entry at 0x0000000000100000
Starting program at 0x0000000000100000
[RUN!]=== SFS FIX v2 ===
  
SFS filesystem driver (real init/dir/uninit)

  
Boot chaininginstalled

Step 1
Finding cfe_filesystems[] array
  
fatfs dispatch struct at 0x7FDF7650
  Found fatfs entry in 
array at 0x7FDF89C0
  
Array starts at 0x7FDF89A8
  
Array entries:
    [
00x7FDF742C "|"
    
[10x7FD649B4
    
[20x7FDF7600 "raw"
    
[30x7FDF7678 "xmodem"
    
[40x7FDF75D8 "tftp"
    
[50x7FDF7628 "rfat"
    
[60x7FDF7650 "fat"
    
[70x7FDF7504 "z"
    
[80x7FDF7560 "ext2"
    
[90x7FDF7588 "iso"
    
[100x7FDF75B0 "amigafs"
  
NULL terminator at 0x7FDF89D4 (11 entries)

Step 2Installing 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 3Registering "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)
  
Verifiedentry written correctly

  
"sfs2" registered! Try:
    
CFEdir -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)
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
already active
  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 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
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
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 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
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)
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_Final_Edition      (Volume USBDH2)
  
2AmigaOS_4.1_Final_Edition      (Volume DH0)

[RETURN] 
Boot default      [SPACEStop Countdown
Move 
default [UP] or [DOWNwith arrows
[12Boot appropriate config
(5 secuntil autoboot)> (4 secuntil autoboot)> (3 secuntil autoboot)> (2 secuntil autoboot)> (1 secuntil autoboot)> (0 secuntil autoboot)> 

(
Booting default)
Booting configuration AmigaOS_4.1_Final_Edition


all worked OOTB - thank you kas1e!

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
@kas1eQuote:
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
Go to top
Re: X1000 CFE Patches: Testers Welcome (Fear not: real-time, no reflashing) v.02 NEW!
Not too shy to talk
Not too shy to talk


See User information
@kas1e

Quote:
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.


I'm sure I have. I have that version backed up all over the place. Here's a dump extract I saved:

000000007FDC40204E454D4F 00000000 46726920 4A756E20  NEMO....Fri Jun 
000000007FDC4030
20382031 363A3034 3A343920 43455354   8 16:04:49 CEST
000000007FDC4040
20323031 32000000 68667269 6564656E   2012...hfrieden
000000007FDC4050
406A756D 70676174 65000000 00000000  @jumpgate.......


Quote:
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.


I used an older Workbench backup. I also have newer installs I can try including one which I created from installer CD as a recovery partition. I shouldn't have Radeon HD issues because it never gets that far, plus I've updated the drivers on the installs.

Quote:
Wtf ! :) you have 15 boot partitions ?:) looks like memory corruption ?


Lol. Yes, well after the patches it found more partitions. Here's that list.

1AmigaOS 4.1 Update 5           (Volume USB)

  
2AmigaOS_4.1_Final_Edition      (Volume DH0)

  
3AmigaOS_4.1_Beta               (Volume DH1)

  
4AmigaOS_4.1_Public             (Volume DH2)

  
5Ubuntu Precise                 (Volume DH12)

  
6Ubuntu Xenial                  (Volume DH12)

  
7Ubuntu Bionic                  (Volume DH12)

  
8Full Fienix                    (Volume DH12)

  
9Fresh Fienix                   (Volume DH12)

  
0MATE                           (Volume DH12)

  
ADebian                         (Volume DH12)

  
BMint                           (Volume DH12)

  
CAmigaOS_4.1_Final_Edition_T    (Volume DH15)

  
DAmigaOS_4.1_Final_Edition_S    (Volume DH16)

  
EAmigaOS_4.1_Final_Edition_F    (Volume DH19)

  
FAmigaOS4.1_X1000_Final_Edition (Volume DH20)


Quote:
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.


I waited about ten seconds. But looking back I may have lost the files in the wrong volume, which going by all the volumes I have, is quite likely. As well as working with two USB sticks in testing while transferring files. I ended up reformatting and copying over a newer volume. The files stuck and could be seen in CFE.

Quote:
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:


My tests showed it gets stuck easily. I don't quite understand as I've loaded bigger files from FFS using load or at least ramdisk command from HDD. Perhaps CFE has an issue with USB and FFS. And in my case using a USB1.1 hub. But given what you found it doesn't look like EHCI fixes it. Perhaps better with FAT16 and FAT32 on rare occasions.

CFEload -raw -fs=amigafs -addr=0x600000 usbdisk0:Kickstart.zip
Loader
:raw Filesys:amigafs Dev:usbdisk0 File:Kickstart.zip Options:(null)
Loading:  0 bytes read
Entry at 0x0000000000600000
*** command status 0
CFE
ramdisk -raw -fs=amigafs -addr=0x600000 usbdisk0:Kickstart.zip
Invalid 
switch: -raw
*** command status = -8
CFE
ramdisk -fs=amigafs -addr=0x600000 usbdisk0:Kickstart.zip
Loader
:raw Filesys:amigafs Dev:ide0.1,dh12 File:ramdisk Options:usbdisk0:Kickstart.zip
Loading
: ..................................... 37037056 bytes read
Entry at 0x0000000024000000
*** command status 0


I just read that again and realised how bad CFE is. Seriously was it even tested? After this, CFE isn't even beta status firmware, looking at this its in an alpha state! I know, I know, the excuse for it. Oh, technically OS4 can still boot, so we won't be fixing that. [face-palm]

In any case bboot crashed again. Likely because zip corrupted in memory. But I would have expected an error like no zip signature found or bad CRC. I wonder about how robust the zip unpacker is as it shouldn't just crash like that. Assuming that was what it was doing. Needs a debug mode specifying what it is doing next. I did use the X1000 alpha version posted.

Quote:
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 :)


Actually I found some notes I posted in this thread. According to them loading amigaboot.of from an isofs USB is possible. Need to revisit. Need more sticks.

Quote:
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 :)


I have found an inability to run batch files off USB. Don't know why it refuses mow. It seems to be corrupting the load in memory. I ran batch files off USB for years with no issues. It's how I booted Linux. But there are no other signs system has any faults. Power turns on and off, SATA has worked for months, CFE has not crashed loading Kickstart off HDD. Those are the main red flags I have noticed in the past. My RAM was replaced a few years back. Battery replaced. SATA clips installed. SSD has been fine lately and original HDD as reliable as ever.

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
So, seeing the mess you have in system, we of course can't rely on your tests :( It can be anything, if you says so easy that you may lost files somewhere else , those are not very good tests then :)

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!
Just can't stay away
Just can't stay away


See User information
@Hypex
Quote:
CFEload -raw -fs=amigafs -addr=0x600000 usbdisk0:Kickstart.zip
Loader
:raw Filesys:amigafs Dev:usbdisk0 File:Kickstart.zip Options:(null)
Loading:  0 bytes read
Entry at 0x0000000000600000
*** command status 0
CFE
ramdisk -raw -fs=amigafs -addr=0x600000 usbdisk0:Kickstart.zip
Invalid 
switch: -raw
*** command status = -8
CFE
ramdisk -fs=amigafs -addr=0x600000 usbdisk0:Kickstart.zip
Loader
:raw Filesys:amigafs Dev:ide0.1,dh12 File:ramdisk Options:usbdisk0:Kickstart.zip
Loading
: ..................................... 37037056 bytes read
Entry at 0x0000000024000000
*** command status 0

[...]
In any case bboot crashed again. Likely because zip corrupted in memory. But I would have expected an error like no zip signature found or bad CRC. I wonder about how robust the zip unpacker is as it shouldn't just crash like that. Assuming that was what it was doing. Needs a debug mode specifying what it is doing next. I did use the X1000 alpha version posted.

No BBoot likely could not find it because zip was loaded at wrong address. According to the above output ramdisk command may load at the default 0x24000000 address not at the -addr you specified. According to previous posts load command is also broken in other ways that it honors -addr but without also specifing -max with the exact size of the zip to the byte it either loads 0 bytes or tries to load too many and crashes. The commands @kas1e gave before (adjusting the -max number to be your zip size) should work but you did something else. Also BBoot does print debug and errors but serial on X1000 is not yet supported so these are printed in the CFE console (provided you used the 0.9-alpha version from earlier post) so look for it there but you did not post that part of the output so I don't know what it said. Older BBoot versions won't work or could tell you that on X1000 as there's no support for that machine in those versions. (Older BBoot version could still tell you machine is not supported if you 'setenv bboot "Of V5 Ab"' that disables serial output but all it would tell you is unknown machine.)

Go to top
Re: X1000 CFE Patches: Testers Welcome (Fear not: real-time, no reflashing) v.02 NEW!
Not too shy to talk
Not too shy to talk


See User information
@kas1e

Quote:
So, seeing the mess you have in system, we of course can't rely on your tests :( It can be anything, if you says so easy that you may lost files somewhere else , those are not very good tests then :)


What mess? That's my organised boot menu. I'm a beta tester so I have a few more Amiga volumes than the average bear. The top was my main Workbench. Below that latest beta and public release. Then all my Linux volumes which are used for production or just testing. Next there is Workbench volumes for testing, stable and fresh. Stable is my solid production Workbench. Fresh is a clean install of all latest updates. The bottom one is my newest, which is actually my recovery partition, as it's a bootable installer CD on HDD. So, while it may be a big boot menu, they all serve a purpose.

In any case, I'm not trying to boot volumes off HDD, which works fine. Disregarding the volumes hidden on my SSD. I'm trying to sort out booting from USB. Regarding the missing files it looks like a simple case of copying to the wrong volume since my USB drive had the same label as a Workbench on my HDD. It's since been reformatted with a newer Workbench to test.

On that note, I've solved an issue I had. I got stuck on CFE being inconsistent. Booting amigaboot.of from an ISO imaged USB stick does work. It was the filesystem. I was specifying "isofs" because other CFE filesystem names have "fs" appended. But then I found out by accident it just calls it "iso" instead. I had forgot about this. Seems it had slipped my mind. That I was working with the Confused Firmware Environment.

CFEdir -fs=iso usbdisk0:
Installation_Files       
Installation_Support     
Kickstart                
Media                    
S                        
System                   
.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
load -fs=iso usbdisk0:amigaboot.of
Loader
:elf Filesys:iso Dev:usbdisk0 File:amigaboot.of Options:(null)
Loading0x0000000000200000/50812 0x000000000021C67C/76 Entry at 0x0000000000200034
*** command status 0
CFE
go
Starting program at 0x0000000000200034

AmigaOS 4.x OpenFirmware Bootloader V1.0

Unknown file system on disk 
/pxp@0,e0000000/pci@11/pci@13/usbdisk0


So it does load as above. However look here and you see it can't understand ISO format on USB. This must be what was fixed up in that version where they added ISO9660 support to USB. That one above is from the AmigaOneX1000InstallCD-53.27 since it was the closest X1000 CD image I had to quickly write to USB.

My other USB stick has FFS DOS7 and is a copy of my recovery volume. I couldn't get this to load. On my last test it loaded all the modules off USB then just hung, with no sign of Exec on serial. Left it for a minute then reset. I'll do some more tests on that.

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
Ok, plz answer in short phrases like yes/no so i can at least understand what issues you had there :) So:

Quote:

Booting amigaboot.of from an ISO imaged USB stick does work. It was the filesystem


You mean with my patch booting work now for you ? (yes/no please)
Did it work till full workbench load, or hang after modules load ? (please answer short).


Quote:

This must be what was fixed up in that version where they added ISO9660 support to USB.


If you mean amigaboot, then try this version of amigaboot where they add it.

And don't do load/go , do "boot". That for clear test case.

Quote:

My other USB stick has FFS DOS7 and is a copy of my recovery volume. I couldn't get this to load. On my last test it loaded all the modules off USB then just hung, with no sign of Exec on serial. Left it for a minute then reset. I'll do some more tests on that.


I do not understand still sorry : its all chaotic unstructured report with lots of phrases on differnt matters :(( Can you make it all VERY short by simple points ?

All i undertand now, is that you have 2 usb sticks: one ISO and one FFS7. ISO one, is booting fine with my patch you say, but then, few phrases later, you show me log showing it didn't boot, what is right answer then ? Then you have second FFS based one, which boots, load kickstart files, but then nothing happens. While i understand what you mean about FFS one, i didn't get about ISO is it boot or not , what of your answers is correct one ?

I am 99% now sure you mess with FFS stick, just really sure. You copy wrong data, or something of that sort. Or you forget something, and will find it after a days or weeks :) Before you have crash you say not just hang doing nothing, now crash somehow gone. Before it wasn't booting from ISO, few big posts about, and then it can now, but then again can't with log that it can't.


PLEASE in short phrases explain issues you have, pretty please so i can 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!
Not too shy to talk
Not too shy to talk


See User information
@balaton

Quote:
No BBoot likely could not find it because zip was loaded at wrong address.


That's what I mean. If the zip data wasn't there it should have failed instantly. If it was there partially it should have failed a CRC check. It would obviously first check for a "PK" and if it wasn't there simply abort. But I didn't see this happen. It crashed soon after loading, so I wonder if something else went wrong. I used the 0.9 alpha posted here so should have the correct version.

Quote:
According to the above output ramdisk command may load at the default 0x24000000 address not at the -addr you specified. According to previous posts load command is also broken in other ways that it honors -addr but without also specifing -max with the exact size of the zip to the byte it either loads 0 bytes or tries to load too many and crashes. The commands @kas1e gave before (adjusting the -max number to be your zip size) should work but you did something else.


There must be some issue with USB and FFS. I've loaded Linux kernel and ramdisk off a FAT USB stick for years and never seen these issues. Of course, apart from being FAT disk, that was an ELF and a ramdisk at expected location so not exactly the same. This issue could occur on FAT but I never tested using the same conditions with a generic or zip file at another address.

However, according to the code, it checks r3 and r4 after entry for a ramdisk and falls back to 0x600000. I did a test and ramdisk command does populate these registers. So the simple solution should be to use ramdisk command in CFE and bboot should pick it right up. I did do something else when loading it because I've never needed to specify a rigid size when loading initrd data in.

Quote:
Also BBoot does print debug and errors but serial on X1000 is not yet supported so these are printed in the CFE console (provided you used the 0.9-alpha version from earlier post) so look for it there but you did not post that part of the output so I don't know what it said. Older BBoot versions won't work or could tell you that on X1000 as there's no support for that machine in those versions. (Older BBoot version could still tell you machine is not supported if you 'setenv bboot "Of V5 Ab"' that disables serial output but all it would tell you is unknown machine.)


I've been investigating the CFE boot console. So it can be pcconsole0 or uart0. I'm wondering if stdout handle can be changed to switch console. There is a bootconsole variable I tried changing to uart0 bit saw no difference. So possibly it just grabs that string from stdout or bootconsole and stdout handle needs changing to parent handle or something. Given all devices are named in tree it would be good if it could be redirected in a clean way without hardware banging. Which helps to keep code clean and portable.

My output is on the serial and CFE echos console to serial automatically which is useful. Last night I switched to serial console and ran it. It didn't get far, setting up prom and crashing soon after.

CFEboot -fs=amigafs usbdisk0:bboot
Loader
:elf Filesys:amigafs Dev:usbdisk0 File:bboot Options:(null)
Loading0x0000000000200000/27376 0x0000000000206AF0/1400 Entry at 0x0000000000204320
Starting program at 0x0000000000204320
[RUN!]
OF interface initialized
** Exception 0x0200SRR0=0000000000202598 SRR1=1000000002103000 [MCheck  cpu0
         LR 
000000000020006C     CTR 00000000000061A8
        XER 
0000000020000000   DSISR = 00008000
       
HID0 8000000000000000    HID1 000000005CE993B1
       HID4 
4400240000080180    HID5 0000006600000000
       LPCR 
0000000000000000

        r0  
= 0000000000202328     r1  000000007FFFF8B0
        r2  
000000007FD20838     r3  00000000FCFF03F8
        r4  
000000000000000D     r5  0000000000000004
        r6  
000000007FFFFA14     r7  FFFFFFFFFFFFFF83
        r8  
0000000000000001     r9  00000000000061A9
        r10 
0000000000000000     r11 FFFFFFFFFFFFFFFF
        r12 
0000000000000000     r13 0000000000000000
        r14 
0000000000000000     r15 0000000000000000
        r16 
0000000000000000     r17 0000000000000000
        r18 
0000000000000000     r19 0000000000000000
        r20 
0000000000000000     r21 0000000000000000
        r22 
0000000000000000     r23 0000000000000000
        r24 
0000000000000000     r25 0000000000000001
        r26 
0000000000000000     r27 0000000024000000
        r28 
0000000000206AFC     r29 000000000020676C
        r30 
000000000020676D     r31 0000000000000001


Edited by Hypex on 2026/4/20 14:05:10
Go to top
Re: X1000 CFE Patches: Testers Welcome (Fear not: real-time, no reflashing) v.02 NEW!
Just can't stay away
Just can't stay away


See User information
@Hypex
Looks like it failed for you before it could look for the zip. The log you posted looks like how the first 0.9-alpha version crashed trying to access serial. Sorry, but I then replaced it with a version that disables serial without updating the version number so just redownload it and use the current 0.9-alpha which should not have this problem. If you redirect to serial from CFE that might work, the problem is with direct access to serial. BBoot has this to be portable contrary to what you suggested because BBoot also runs on QEMU amigaone without any firmware so it can only write messages through direct serial access which should work on all machines except there's apparently an issue with caches specific to X1000. I'll need to fix this eventually but did not get to that yet. If the location of ramdisk is passed in the registers BBoot should pick it up but so far others who tried it did not report that worked so loading Kickstart.zip at the default address for BBoot (0x600000) should work sans CFE bugs in commands that should do that.

Go to top
Re: X1000 CFE Patches: Testers Welcome (Fear not: real-time, no reflashing) v.02 NEW!
Not too shy to talk
Not too shy to talk


See User information
@kas1e

Quote:
You mean with my patch booting work now for you ? (yes/no please)


No.

Quote:
Did it work till full workbench load, or hang after modules load ? (please answer short).


No, it hung after modules load.

Quote:
If you mean amigaboot, then try this version of amigaboot where they add it.


Yes I do mean that. This would because of the ISO I used. The newest I can find is the 53.27 once.

So I would need AmiDVD to make a newer one but had kept it simple. In this case it was simply copying an installer CD image to USB. Fastest way to create recovery key.

Quote:
And don't do load/go , do "boot". That for clear test case.


I usually do use boot. I may have used load by accident that time.

Quote:
I do not understand still sorry : its all chaotic unstructured report with lots of phrases on differnt matters :(( Can you make it all VERY short by simple points ?


Yes, fair enough.

Quote:
All i undertand now, is that you have 2 usb sticks: one ISO and one FFS7. ISO one, is booting fine with my patch you say, but then, few phrases later, you show me log showing it didn't boot, what is right answer then ? Then you have second FFS based one, which boots, load kickstart files, but then nothing happens. While i understand what you mean about FFS one, i didn't get about ISO is it boot or not , what of your answers is correct one ?


Okay. So yes I have two USB sticks. One is a straight image copy of OS4 installer CD image. This is limited by that. Since it is the last released X1000 CD image I could find but it is from 2014.

The other stick is a FFS7 formatted stick. I recently erased this and made a new OS4 copy from my HDD recovery partition. So now my FFS USB is at 4.1 FE Update 3 standard. In addition, because this is writable, I also copied over bboot and created a Kickstart.zip for that so I could also test bboot.

So to clarify further. Your USB patch is preloaded for test boots from ISO stick and FFS stick. The only exception is when doing separate tests with bboot, since it doesn't require your patch.

From ISO USB stick amigaboot.of is booted and doesn't know file system on disk. It's obviously because amigaboot.of is too old so no further tests needed. Loading a newer amigaboot.of from HDD is another option.

From USB FFS stick amigaboot.of is booted. It is able to locate USB as first entry in boot list. I chose this and it loads modules. I see a message about having loaded modules and then it just hangs.

Quote:
I am 99% now sure you mess with FFS stick, just really sure. You copy wrong data, or something of that sort. Or you forget something, and will find it after a days or weeks :) Before you have crash you say not just hang doing nothing, now crash somehow gone. Before it wasn't booting from ISO, few big posts about, and then it can now, but then again can't with log that it can't.


Previously I had tested with FFS7 formatted USB and a 4.1 Update 5 WB. Booting from amigaboot.of V53.21 off same USB. This configuration crashed. Because of WB age which predates FE and newer amigaboot.of I decided to erase and copy a more up to date WB. I also realised the files I had copied, which were just for bboot, were copied to HDD instead because I copied them to the source HDD volume and not USB destination volume.

I also need to note where I load from since I have a USB1.1 hub and USB2 port on case.

Go to top
Re: X1000 CFE Patches: Testers Welcome (Fear not: real-time, no reflashing) v.02 NEW!
Not too shy to talk
Not too shy to talk


See User information
@balaton

Thanks. Yes I had the alpha alpha. Updated and it runs.

It gives me a message about invalid zip file so I'm finally getting somewhere!

Regarding the direct serial access that would come down to semantics as I considered direct access to be hardware banging and so not portable in the generic sense. I suppose it's so common it would be considered portable and of course it's fine in a VM like QEMU. I found by simply having a serial terminal connected CFE echoes the output over serial. So I can still see it regardless.

I don't know if it matters for the X1000 but I found some differences in assigned serial address:
CFEshow devices
Device Name          Description
-------------------  ---------------------------------------------------------
uart0                NS16550 UART at 0xFCFF03F8
pcconsole0           PC Console 
(USB/VESA)


[serial@1d]
       | 
name                       str   'serial'
       
device_type                str   'serial'
       
vendor-id                  val   0x00001959
       
device-id                  val   0x0000A004
       
revision-id                val   0x00000002
       
| class-code                 val   0x00070003
       
reg                        cell  0000E800 00000000 00000000 00000000 00000000 0
100E810 00000000 00000000 00000000 
00000008
       | 
assigned-addresses         cell  8100E810 00000000 007F03F8 00000000 00000008
       | 
interrupt-parent           val   0x7FE2F6E8
       
interrupts                 cell  00000049 00000001
       
clock-frequency            val   0x07F28155
       
current-speed              val   0x0001C200
       
compatible                 str   'ns16550' 'pciclass,0700'


So the uart0 device is at 0xFCFF03F8 but the assigned address is at 007F03F8.

I tested ramdisk command and bboot does pick it up in registers. However, as always with CFE there's a caveat: It still doesn't work! I've tested a few variations of ramdisk loading and all ramdisk commands loaded 37037056 bytes then stopped. By all accounts that should have worked as 37MB should have covered it. But the result is still corrupt. I need to find exact size as specifying over still broke. Be it loading off USB or HDD made no difference. I even tried to gzip but it did the same thing. I specified zip as gzip and it didn't even complain it was wrong format.

I really don't know what is wrong with it. I have CFE variables I used for years that loaded in ramdisk and the command worked. I'm certain I tested loading in a Linux ramdisk from FFS. I still have an old variable doing it. The kernel can load from FFS. Obviously FFS driver has issues. But maybe it only works if data is gzipped. I give up half the time trying to understand what its problem is.

Go to top
Re: X1000 CFE Patches: Testers Welcome (Fear not: real-time, no reflashing) v.02 NEW!
Just can't stay away
Just can't stay away


See User information
@Hypex
Serial devices are usually 16550 compatible so this should be portable enough. I chose direct serial as this works without any firmware in QEMU and should also work on real machines.
The assigned-addresses is relative the the parent pci device so if you add it to the IO window of that device you get the right address. See the PCI bindings of the OpenFirmware specification for explanation (although it's not easy to understand and involves different address spaces on the PCI and host side).
I have no idea what are you doing with BBoot, you haven't shown any log output but you need a zip file as described in its README not tar.gz, lha or whatever else. It only knows zip specifically. You also need to specify the exact size of the zip file in the CFE load command with -max as was said before.

Go to top
Re: X1000 CFE Patches: Testers Welcome (Fear not: real-time, no reflashing) v.02 NEW!
Just popping in
Just popping in


See User information
Could it be that the "bootargs" env isn't working properly with the VGA patch?

When I enter the line "setenv bootargs "root=/dev/sdb1" the saved environment is still used.
I must use setenv -p .. and a reset to change the bootargs.

Can anyone confirm this?

Go to top
Re: X1000 CFE Patches: Testers Welcome (Fear not: real-time, no reflashing) v.02 NEW!
Just can't stay away
Just can't stay away


See User information
I installed the Sata patch and it's fun how Kickstart modules loads in 0,4 seconds.

But the boot/partition menu has the first entry Update 3 as default now. It should be the beta partition. Do this patch affect somehow that the boot priorities of partitions is not respected ? Also it lists a lot more partitions to boot from than before. Is it because the patch supports more filesystems or it doesn't respect the bootable flag of partitions ?

Now we'll need more speed ups here and there. Is it possible to speed up CFE checking all the ports ? Loading AmiDock takes its time so we'll need icon cacheing. (Or I should stop using AmiDock so heavily and find another solution.)

Rock lobster bit me - so I'm here forever
X1000 + AmigaOS 4.1 FE
"Anyone can build a fast CPU. The trick is to build a fast system." - Seymour Cray
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
@TearsOfMeQuote:
TearsOfMe wrote:Could it be that the "bootargs" env isn't working properly with the VGA patch?

When I enter the line "setenv bootargs "root=/dev/sdb1" the saved environment is still used.
I must use setenv -p .. and a reset to change the bootargs.

Can anyone confirm this?


"setenv bootargs "root=/dev/sdb1" set temporarily ( until next boot ) bootargs to this value

"setenv bootargs -p "root=/dev/sdb1" set it permanently

It works for me this way.

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!
Not too shy to talk
Not too shy to talk


See User information
@balaton

Looks like this serial is more complicated than it used to be. I wonder how common these 16550 devices are? I mean, for example with a Mac, would it also have the same memory map as the "PC" serial at 0x03f8 and 0x02f8? PCI would complicate this slightly so I should look that up. I'm just thinking about where the hardware sits in the memory map.

Anyway I hadn't listed any new logs as I was still testing in CFE and trying to figure why it is going wrong. It's just that the kickstart.zip is data like any other file so CFE should be able to load it in like a ramdisk normally regardless. I have used that command so many times so I don't know why it suddenly doesn't work without specifying a size. I've never needed to specify a size before so don't know why it demands it now. A kickstart,zip should be no different to a ramdisk-6.12 since both are just a file of data. As a test I gzipped the kickstart.zip but it still broke, even though my working ramdisks are gzipped. So now my CFE cannot load raw or gzipped ramdisks. It doesn't make sense to me. Is it looking at the filename and corrupting on purpose unless it has ramdisk or initrd in the file name?!?

So I got it work. I used a Kickstart from the install CD since that is what I had written to USB. I just zipped up the Kickstart from root and System as is and it worked fine.

However it still could not boot off USB. But that is beyond the control of your booter. My USB stick was not listed as a DOS device. But also it didn't try to boot anything else which is strange. Just stood there with OS4 boot logo.

On serial I found it had crashed. So a few things wrong with booting from USB. It has no working screen mode for some reason. And something wrong with setting up USB. Looks like its trying to use my WB mode when the BootVGA mode should be used or fallback. This looks like it's causing another bug so should probably report this. As an alert should be displayed regardless. Given the early menu can display thus is odd.
[RAMHandler has started successfully. [DebugLevel=5]
Mode 1600x1200x 8@60 75.0khz out of range
Valid ranges are vsync 59 
71hzhsync 30900 70100hz
Mode 1600x1200x16
@60 75.0khz out of range
Valid ranges are vsync 59 
71hzhsync 30900 70100hz
Mode 1600x1200x24
@60 75.0khz out of range
Valid ranges are vsync 59 
71hzhsync 30900 70100hz
*** DisplayAlert: $00088035
 
Bad arguments to USB function call!!
*** 
DisplayAlert: $00088035
 
Bad arguments to USB function call!!


Here ramdisk refuses to work ever:
CFEdx
Directory
   Kickstart
.zip                       4456853    rwedrwed----rwed

...

CFEramdisk -fs=amigafs -max=4456853 ide0.1,dh12:Kickstart.zip
Loader
:raw Filesys:amigafs Dev:ide0.1,dh12 File:ramdisk Options:ide0.1,dh12:Kickstart.zip
Loading
: ..... 4456853 bytes read
Entry at 0x0000000024000000
*** command status 0
CFE
boot -noints -fs=amigafs usbdisk0:bboot
Loader
:elf Filesys:amigafs Dev:usbdisk0 File:bboot Options:(null)
Loading0x0000000000200000/27352 0x0000000000206AD8/1400 Entry at 0x00000000002042F8
Starting program at 0x00000000002042F8
[RUN!]
OF interface initialized
BBoot 0.9 
(unreleased)
Checking initrd at 0x24000000-0x24440195 (4456853 bytes)
Invalid zip file
[EXCP]*** program exit status 0


So dx lists my Linux boot volume where I stored the zip at dh12. The ramdisk command always breaks. From both HDD and USB.

[CFE ]CFEload -raw -fs=amigafs -max=4456853 -addr=0x24000000 ide0.1,dh12:Kickstart.zip
Loader
:raw Filesys:amigafs Dev:ide0.1,dh12 File:Kickstart.zip Options:(null)
Loading: ..... 4456853 bytes read
Entry at 0x0000000024000000
*** command status 0
CFE
boot -noints -fs=amigafs usbdisk0:bboot
Loader
:elf Filesys:amigafs Dev:usbdisk0 File:bboot Options:(null)
Loading0x0000000000200000/27352 0x0000000000206AD8/1400 Entry at 0x00000000002042F8
Starting program at 0x00000000002042F8
[RUN!]
OF interface initialized
BBoot 0.9 
(unreleased)
Checking initrd at 0x24000000-0x24440195 (4456853 bytes)
Found zip with 65 entries
Parsing Kicklayout at 0x24440195 
(2560 bytes)
Booting config 1AmigaOS4.1_X1000_Final_Edition


It only works load command. Somehow ramdisk only works with a Linux ramdisk. Beats me!


Edited by Hypex on 2026/4/24 8:05:33
Go to top
Re: X1000 CFE Patches: Testers Welcome (Fear not: real-time, no reflashing) v.02 NEW!
Not too shy to talk
Not too shy to talk


See User information
@TSK

I haven't tested the SATA patch extensively yet. Since I've been testing USB more. But one thing that would affect it is the SATA patch adds all devices as boot sources. So when amigaboot.of scans for devices it will pick up any extra drives. Which were hidden before. So if you have another HDD connected to SATA, in addition to your boot drive, it will be picked up and any volumes added to the boot list. I found this when a recent SSD I added was picked up and a normally hidden OS4 volume added to the boot list. It messed up the order!

Go to top

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

 




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