Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
88 user(s) are online (47 user(s) are browsing Forums)

Members: 0
Guests: 88

more...

Support us!

Headlines

 
  Register To Post  

« 1 ... 4 5 6 (7)
Re: X1000 CFE Patches: Testers Welcome (Fear not: real-time, no reflashing) v.01
Just popping in
Just popping in


See User information
So I tried it with the HD card. So, the first s2.
When I run the vga_init and the sata patch, it crashes:
Without the vga_init patch and with sata patch it works. The system boots normally to the Workbench.
Loader:elf Filesys:amigafs Dev:ide0.0 File:vga_init.elf Options:(null)
Loading0x0000000000100000/110988 0x000000000011B18C/6083 0x000000000011C950/2148 0x000000000011D1B4/527904 Entry at 0x0000000000100000
Starting program at 0x0000000000100000
[RUN!]
=== 
VGA Init v1 ===
  
Standalone BIOS emulator for PA6T/X1000
  Using U
-Boot's X86EMU (fast path)

=== PXP Workaround ===
  PXP_IGNORE_PCIE_ERRORS: already set

=== Step 1: Find VGA device ===
  Found VGA: [1:0] VID=1002 DID=6811

=== Step 1b: Read GPU BIOS ROM ===
  ROM copied OK

=== Step 2: Initialize BIOS emulator ===
  Emulator initialized (64KB)

=== Step 3: Setup GPU MMIO ===
  MMIO base: 0xa0000000 (BAR reg 0x18)

=== Step 4: Run BIOS POST ===
  BIOS POST complete!

=== Step 5: Set VBE mode 0x103 ===
  29 VBE modes available
  Mode 0x103 found!

=== Display Mode Set ===
  Resolution: 800x600 @ 8 bpp
  Framebuffer: 0x90000000 (499200 bytes)
  Stride: 832 bytes
  Framebuffer cleared

=== Step 6: Install POST hook ===

  POST hook installed. Now run:
    vga init -fb -keep
    set console pcconsole0

=== VGA Init complete ===
  Boot chaining: installed
VGA BIOS has already been initialized.
*** command status = 0
CFE> f d sata
Loader:elf Filesys:amigafs Dev:ide0.0 File:sata_fix.elf Options:(null)
Loading: 0x0000000000100000/11224 0x0000000000102BD8/2753 0x0000000000103699/43 Entry at 0x0000000000100000
Starting program at 0x0000000000100000
[RUN!]=== SATA FIX v22 ===
  Both channels + dynamic BARs + ATAPI + UDMA

Finding CFE API...
  Seal at 0x7FD1F458, dispatch at 0x7FD206A4
  Boot chaining: already active
  BAR0=0x00001031 (Ch0 cmd=0x00001030)
  BAR2=0x00001049 (Ch1 cmd=0x00001048)
Step 0: UDMA read patch
  BAR4=0x00001021 -> BMDMA I/O 0x00001020
  DMA trampoline installed (796 bytes), UDMA active
Step 1: AHCI port status
  BAR5=0xA0209000 -> AHCI=0xA0209000  PI=0x0000000F
  Port 0: PRESENT  SIG=0x00000101 (ATA)
  Port 1: PRESENT  SIG=0x00000101 (ATA)
  Port 2: PRESENT  SIG=0xEB140101 (ATAPI)
  Port 3: PRESENT  SIG=0x00000101 (ATA)
  IDE signature check:
    Port 0: LBAmid=0xFD LBAhi=0x27
    Port 1: LBAmid=0x00 LBAhi=0x00
    Port 2: LBAmid=0xFD LBAhi=0x27 -> 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 4a: Channel 0 -- boot already found both, skipped

Step 4b: Probing Channel 1 (BAR2)...
  P1+PD applied (BAR2, instance 1, master present)
IDE unit 0: Disk, "OCZ-AGILITY3", Capacity:55GB (lba48)
IDE unit 1: Disk, "Intenso SSD SATAIII", Capacity:447GB (lba48)
PCIIDE: 2 controllers found
  Ch1 probe returned!

Step 5: Restoring original code
  All restored OK

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

Step 7: Device tree nodes
  pci@12 at 0x7FE1DF20
  KMALLOC(512) = 0xFFBF43E8
  Method dispatch from existing node: 0x7FDF7BEC
  Creating node "ide1.0" at 0xFFBF43E8
    props: name="ide1.0", device_type="block"
  Creating node "ide1.1" at 0xFFBF44E8
    props: name="ide1.1", device_type="block"
  Appended after existing child at 0x7FE1E4D8
  Verify: pci@12 children: "ide0.0" "atapi0.1"

=== SATA FIX v22 DONE ===
Try: show devices ; show devtree
*** command status = 0
Loader:elf Filesys:amigafs Dev:ide0.0 File:amigaboot.of Options:(null)
Loading: 0x0000000000200000/61536 Entry at 0x0000000000200000
Starting program at 0x0000000000200000
[RUN!];0HJ1mAmigaOS 4.x OpenFirmware Bootloader V53.21m
;1H

Please choose a configuration to boot (Default choice is green):
  1: AmigaOS_4.1_Final_Edition_RX_CDm (Volume BOOT)
  2: 2mAmigaOS_4.1_Final_Edition_RX_SD0m (Volume SD0)

3m[RETURN]m Boot default      3m[SPACE]m Stop Countdown
Move default 3m[UP]m or 3m[DOWN]m with arrows
3m[12]m Boot appropriate config
(5 sec. until autoboot)> (4 sec. until autoboot)> 

(Booting default)
Booting configuration AmigaOS_4.1_Final_Edition_RX_SD0

** Exception 0x0700: SRR0=0000000090010014 SRR1=1000000002083000 [Program ] cpu0
         LR = 000000007FD59270     CTR = 0000000090010014
        XER = 0000000000000000   DSISR = 00004000
       HID0 = 8000000000000000    HID1 = 000000005CE993B1
       HID4 = 4400240000080180    HID5 = 0000006600000000
       LPCR = 0000000000000000

        r0  = 0000000090010014     r1  = 000000007FFFEB84
        r2  = 000000007FD20838     r3  = 0000000002000000
        r4  = 0000000048000091     r5  = 0000000000000001
        r6  = 0000000000000007     r7  = 000000007FFFEDB8
        r8  = 0000000000000000     r9  = 0000000000000000
        r10 = 000000007FFFEDBC     r11 = 000000007FFFEDF8
        r12 = 0000000044444422     r13 = 0000000000000000
        r14 = 0000000000000000     r15 = 0000000000000000
        r16 = 0000000000000000     r17 = 000000000020D474
        r18 = 0000000000000000     r19 = 0000000000000000
        r20 = 000000000040671C     r21 = 0000000002C0C071
        r22 = 000000007FFFEE78     r23 = 000000007FFFEE7C
        r24 = 00000000FFFFFFFD     r25 = 0000000000406748
        r26 = 0000000000406724     r27 = 000000000000002B
        r28 = 0000000002C0C084     r29 = 0000000000000000
        r30 = 000000007FDDF158     r31 = 0000000002000000

[HELO][DRAM]SDRAM: ECC off, Non-ECC DIMM used on channel 0.
SDRAM: ECC off, Non-ECC DIMM used on channel 1.
[RELO][L1CF][GOLO][GOT ][ZBSS][INIT][MAIN][KMEM][EXCP][CONS][CIOK][AREN][PCIH][PCIB][PCIS][DEVI]



So far, I've only tested the new s3_2 with vga_init and the rx.
Everything freezes when loading sata_fix
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

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
@TearsOfMe

Wait wait, forget about s2 :) S2 - go to trash. Use s3_2.zip ONLY now (this will cope with vga_init issue too). And i really mean s3_2.zip (as in previous post), not pure s3.zip (i delete it from server already so no one else will).

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
Just popping in
Just popping in


See User information
Sorry. The last test was with the stall was the s3_2 fix (18.896bytes).
I write it wrong, edit it now.

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
@TearsOfMe
Ok, good. Can you then check without vga_init it all over the places, on all bugs you may find. Just without vga_init patch. Can be radeonrx or radeonhd doesn't matter if you will do all from serial, just so i know there no more bugs in this patch exactly and all boots and works ,and detects on all ports.

It's a bit mess when there lots of different ones, so probably after we deal with all this, i better start to combine everything in one single patch (in general that was a plan as well, by small ones test small fixes and combine in one big).

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
Just popping in
Just popping in


See User information
Sorry, I can not test with the serial. I can get the input not to work here. So I must change evertime the cards.

The keycon has also not work when SATA fix was loaded, but this was the old s2 fix.
Maybe we wait for others to test also.

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
@TearsOfMe
Ok, then let it be VGA console, just with RadeonHD then (so you see the output) and without any other patch, just a latest sata_fix.

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
Just popping in
Just popping in


See User information
Okay, I try now.

With HD card without VGA fix all works.
vice connected to bus 0 hub 2 port 3 (low speed)[K

USB bus 0 device 4
vendor 5543 product 0004 class 03Human-Interface Device

USBHID
Mouse Configured.[K


USB
: New device connected to bus 0 hub 2 port 4 (full speed)[K

USB bus 0 device 5
vendor 040B product 0A67 class 03Human-Interface Device

USBHID
Keyboard Configured.[K

To get back into the menu
type 'menu' on the CFE command prompt
[CFE ]CFEsata
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

  BAR0
=0x00001031 (Ch0 cmd=0x00001030)

  
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
=0xA0209000 -> AHCI=0xA0209000  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=0xFD LBAhi=0x27

    Port 1
LBAmid=0x00 LBAhi=0x00

    Port 2
LBAmid=0xFD LBAhi=0x27 -> 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"OCZ-AGILITY3"Capacity:55GB (lba48)
IDE unit 1Disk"Intenso SSD SATAIII"Capacity:447GB (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 -> 00001030



Step 7
Device tree nodes

  pci
@12 at 0x7FE1DFB8

  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 0x7FE1E570

  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
kez ycon
Loader
:elf Filesys:amigafs Dev:ide0.0 File:KEYCON.ELF Options:(null)
Loading0x0000000000100000/5732 0x0000000000101664/1354 Entry at 0x0000000000100000
Starting program at 0x0000000000100000
[RUN!]
=== 
CFE KEY REPEAT PATCH v8 ===
  
66.6 MHz TBR500ms delay30ms repeat
  VGA backspace cross
-line fix

  Boot chaining
already active
  Verifying patch sites
...
    
0x7FD54160 (readkey bl): 0x4BFFFB75 OK
    0x7FD54130 
(POLL bl):    0x48001D75 OK
    0x7FD6F0A8 
(HID cb end): 0x4BFFFEB4 OK
  Copying hook code 
(1360 bytesto 0x7FC00000...
  
readkey_hook at0x7FC00000
  poll_hook at
:    0x7FC00090
  hid_hook at
:     0x7FC002C4
  Patching readkey bl
0x4BEABEA1
  Patching POLL bl
:    0x4BEABF61
  Patching HID cb b
:   0x4BE9121C
  VT100 queue ptr 
@0x7FDD6C840x7FDFDB8C -> 0x7FDFF128 OK
  Jump table base 
(GOT 0x7FDD6C24): 0x7FDBC804
  Old BS entry
off=0xFFF8A7AC -> 0x7FD46FB0
  bs_crossline_hook at
0x7FC0044C
  
New BS entryoff=0xFFE43C48
  Verify
off=0xFFE43C48 -> 0x7FC0044C OK
  ESC cmd table 
(GOT 0x7FDD6C28): 0x7FDBC854
  Old K entry 
[10]: off=0xFFF8A734 -> 0x7FD46F88
  esck_hook at
0x7FC004CC
  
New K entryoff=0xFFE43C78
  Verify
off=0xFFE43C78 -> 0x7FC004CC OK

  
*** KEY REPEAT ACTIVE ***
  
Hold any key500ms waitthen ~33 repeats/sec.
  
Arrows BS Del repeatHome=BOLEnd=EOL.
  
ESC[K erase-to-EOL active (fixes ghost chars).
  
To undoreboot or power cycle.

*** 
command status 0
CFE
cmfs  fds   ds
Loader
:elf Filesys:amigafs Dev:ide0.0 File:CMDS.ELF Options:(null)
Loading0x0000000000100000/6660 0x0000000000101A04/1034 Entry at 0x0000000000100000
Starting program at 0x0000000000100000
[RUN!]
=== 
CFE CUSTOM COMMANDS PATCH v1 ===
  
Commandsclsversionhelp

  0x7FD5B504 
(cmd_exec): 0x7C0802A6 OK (mfspr r0LR)
  
Copying hook code (1108 bytesto 0x7FC02000...
  
VT100 ptr1 @0x7FDD6C840x7FDFDB8C
  dev_softc
0x7FDFF128
  vga_ctx
0x7FDFE8D0 ncols=00000064 OK
  CFE version
PAS-00000002.00000000.0000001E
  Version string
364 bytes at 0x7FC03010
  cmd_hook at
0x7FC02000
  Patching cmd_exec
0x4BEA6AFC
  Verify
0x4BEA6AFC OK
  Boot chaining
already active

  
*** CUSTOM COMMANDS ACTIVE ***
  
clsversionhelp (extended)

*** 
command status 0
CFE
ls  d dir -fs=amigadfs   fs oi  ide0.0:
Directory 
   Emulation                           dir        
------------rwed 
   Utilities
.info                      14774      ------------rw-
   Internet                            dir        
------------rwed 
   Devs                                dir        
------------rwed 
   Trashcan                            dir        
------------rwed 
   Libs                                dir        
------------rwed 
   Emulation
.info                      15444      ------------rw-
   sata
.elf                            8112       ------------rwed 
   this_is_ide0.0                      1          
------------rwed 
   cmds
.elf                            10320      ------------rwed 
   MUI
.info                            16828      ------------rw-
   System
.info                         15366      ------------rw-
   Amigaos4boot
.img.000                276267008  ------------rwed 
   C                                   dir        
------------rwed 
   L                                   dir        
------------rwed 
   S                                   dir        
------------rwed 
   Trashcan
.info                       12218      ------------rw-
   MUI                                 dir        
------------rwed 
   Fonts                               dir        
------------rwed 
   sata_fix
.elf                        18896      ------------rwed 
   Utilities                           dir        
------------rwed 
   Documentation
.info                  15728      ------------rw-
   Classes                             dir        
------------rwed 
   amigaboot
.of                        62100      ------------rwed 
   Prefs
.info                          15944      ------------rw-
   Documentation                       dir        
------------rwed 
   Storage                             dir        
------------rwed 
   Kickstart                           dir        rwedrwed
----rwed 
   System                              dir        
------------rwed 
   Locale                              dir        
------------rwed 
   Devs
.info                           15912      ------------rw-
   Prefs                               dir        
------------rwed 
   keycon
.elf                          9796       ------------rwed 
   vga_init
.elf                        177028     ------------rwed 
   Storage
.info                        15384      ------------rw-
   Internet
.info                       16456      ------------rw-
   Disk
.info                           13678      ------------rw-
   SObjs                               dir        
------------rwed 
   Amigaos4boot
.img.sii                251        ------------rwed 

276721244 bytes in 20 files
19 directories
*** command status 0
CFE
cls
[H[2J*** command status 0
CFE
printenv
Variable Name        Value
-------------------- --------------------------------------------------
ETH0_HWADDR          00:50:c2:20:d9:e2
MENU_0_LABEL         AmigaOS
MENU_1_LABEL         AmigaOS CD Boot
MENU_DEFAULT         0

MENU_3COMMAND        ramdisk 
-addr=0x24000000 --fs=amigafs ide0.0:slitaz
dvd                  batch 
-fs=iso atapi0.1:bootdvd0.1
dvd2                 batch 
-fs=iso atapi0.0:bootdvd0.0
start                boot 
-elf -noints -fs=ext2 cf0:vmlinux-3.17
MENU_1_COMMAND       speed
MENU_3_LABEL         LINUX CD BOOT
MENU_3_COMMAND       batch 
-fs=iso atapi0.0:bootdvd0.0
MENU_5_LABEL         Boot VMLINUX
MENU_TIMEOUT         3
flash                load 
-raw -fatfs -max=0x8000000 usbdisk0:cfe.bin
flash1               spi erase
flash2               spi copy 0xf00000 0x20000000 939968
flash3               spi read 0xf00000 32
fienix               boot 
--elf -noints -addr=0x24000000 -fatfs usbdisk0:zImage
MENU_2_LABEL         Boot Amiga IDE0.0
MENU_0_COMMAND       speed
boot -fs=amigafs ide0.0:amigaboot.of
bl                   boot 
-elf -noints --fs=amigafs usbdisk0:vmlinux
MENU_5_COMMAND       speed
boot --elf -noints -fs=amigafs ide0.0:zImage-5.12
MENU_6_COMMAND       speed
ramdisk --addr=0x24000000 -fs=amigafs ide0.0:initrd-5.10.imgboot -elf -noints --fs=amigafs ide0.0:zImage-5.10
MENU_6_LABEL         Fedora28
rdsk                 setenv bootargs root
=live:CDLABEL=Fedora_WS_Live_34_1_2 ro rd.live.image
STATRTUP2            speed
usb                  boot 
-fs=iso usbdisk0:amigaboot.of
cmds                 boot 
-elf -noints -fs=amigafs ide0.0:CMDS.ELF
keycon               boot 
-elf -noints -fs=amigafs ide0.0:KEYCON.ELF
MENU_COMMAND_0       boot 
-elf -noints -fs=amigafs ide0.0:amigaboot.of
sata                 boot 
-elf -noints -fs=amigafs ide0.0:sata_fix.elf
MENU_2_COMMAND       boot 
-fs=iso atapi0.1:amigaboot.of
MENU_1_COMMAND       boot 
-fs=iso atapi0.1:amigaboot.of
speed                set astate 4 
-speed=2000set pmu -astate=a4
vgafix               boot 
-elf -noints -fs=amigafs ide0.0:vga_init.elfvga initset console pcconsole0
STARTUP              menu
framebuffer          800
/600/8/0x90000000/832
BOOT_CONSOLE         pcconsole0
CFE_VERSION          PAS
-2.0.30
CFE_BOARDNAME        NEMO
CFE_MEMORYSIZE       4096
BOOT_DEVICE          ide0.0
BOOT_FILE            CMDS
.ELF
*** command status 0
CFE
speed
AState 4 now configured 
for 2000MHz
Requested state A4 
(2000MHz)
*** 
command status 0
CFE
>


Edited by TearsOfMe on 2026/4/13 13:43:36
Go to top
Re: X1000 CFE Patches: Testers Welcome (Fear not: real-time, no reflashing) v.01
Just popping in
Just popping in


See User information
Okay, tryed with a different card. An rx570 card and the patches working all with this card.
In case it helps this is a polaris 10 card, the rx550 is polaris 12.


Edited by TearsOfMe on 2026/4/13 18:06:29
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

sata_fix s3_2 now works perfectly!
I can boot from ide0.0 and and ide1.1, loading times are very fast.

I have this PCI(e) devices: 2x gfx card, USB 3.0, PCI RTL

sata_fix:
CFEboot -eld f -fs=amigafs -noints 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


All devices found:
CFEshow 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 1040 (PCI:E0590000)
atapi0.1             PCI IDE disk unit 1 at I/O 1040 (PCI:E0590000)
usbdisk0             USB Disk unit 0
usbdisk1             USB Disk unit 1
ide1.0               PCI IDE disk unit 0 at I
/O 1048 (PCI:E0590000)
ide1.1               PCI IDE disk unit 1 at I/O 1048 (PCI:E0590000)
*** 
command status 0


Thanks for perfect upgrades!

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
That cool :) You can also test even by single CD to be on anything like ide1.1 or ide 1.0 and boot from, all cases should work fine, i tested many. Of course something still can be missing, but so far i tried to cover all possible cases (even with 2 cddrives at one time, etc).

@All

So, if that was not enough, there is what i work last 2 days on : udb_fix !!

Grab it while it hot, and test it the same without evertyhing, or, at least with only sata_patch:

https://kas1e.mikendezign.com/aos4/x1000/firmware/usb_fix_1.zip

What it do:

- add hooks on USB attach/detach to dynamically create/remove device tree nodes with necessary methods enabling USB boot through amigaboot.of !
- supports both usbdisk0 and usbdisk1 simultaneously: you can have 2 sticks at the same time, both can be bootable. but you still need them be reinserted.
- added support for USB CD/DVD (SubClass 2):
- originally only SubClass 5-6 (flash drives) were accepted, and anything else were simple rejected.
- also added EHCI read-splitting hook: originally CFE's EHCI driver rejects transfers larger than ~20KB ,
but USB CD-ROM doing ~90kb at once, so hook split large reads into 16kb chunks, made USB CD-ROM working (i tested on some ASUS USB CD-DVD Rom).

Try this out ! But remember, you should "reinsert" sticks/drives still, i didnt' want add enumeration in patch as it will take ~3-4 seconds on enumerating attached devices.. At least in form as i were able to do it, if it can be reduced to 1 sec, then probably that can be added (so to not slow loading down).. That to be seen, but for now, have fun with !

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 just tried usb_fix, but please, can you explain more detailed what to test?

- I can boot amigaboot.of from ext2 usb stick, both with and without usb_fix.elf
- I cannot boot amigaboot.of from fat usb stick, both with and without usb_fix.elf - it allways stops with missed interrupt after loading modules and splashscreen:
sb600ide.device 53.22 (28.6.2017)
[
mediabootDiskboot is presentSkip mounting static devices.
[
EHCIMissed interrupt (intrs=0x00000000)!

So in this cases there are no difference with fix.

usb-DVD I am not tested yet, I will find some and test it tomorrow.

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
Main point of this fix is : 1) AmigaOS can boot from amiga usb stick on x1000 2) USB CD-Drive booting.

That mean that stick should be of course not a fat one, but ffs one, due to all sort of differences.

Join us to improve dopus5!
AmigaOS4 on youtube
Go to top

  Register To Post
« 1 ... 4 5 6 (7)

 




Currently Active Users Viewing This Thread: 2 ( 0 members and 2 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