Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
114 user(s) are online (108 user(s) are browsing Forums)

Members: 1
Guests: 113

MickJT, more...

Support us!

Headlines

 
  Register To Post  

« 1 ... 49 50 51 (52) 53 54 55 ... 75 »
Re: What the fastest possible x64 emulation way of OS4 today ?
Quite a regular
Quite a regular


See User information
I haven't followed this thread for a while. Can someone give a summary of where we are right now? bboot will replace pegasos2.com + BAR script? Or is a script still necessary?

Go to top
Re: What the fastest possible x64 emulation way of OS4 today ?
Not too shy to talk
Not too shy to talk


See User information
Yes, that’s the idea. Bboot + VOF does all the hardware config and OS module loading. At the moment I don’t think it has worked for either of us that have tried on actual hardware yet but Balaton made a change last night that I’m hopeful will work. I’ll test shortly.


Amiga x5040 ı 16GB ı RX580
GB-A1000 060@100,
A1200 PiStorm32-Lite CM4
Go to top
Re: What the fastest possible x64 emulation way of OS4 today ?
Quite a regular
Quite a regular


See User information
@MartinW

Do I also need to apply this interrupt patch? Or is building from the latest sources enough.

Go to top
Re: What the fastest possible x64 emulation way of OS4 today ?
Not too shy to talk
Not too shy to talk


See User information
@geennaam

Unknown at the moment but I would say yes, you would because I don't think this changes any of that, the big benefit to us is that we should no longer need to mess about with Forth scripts. There are other benefits of course.

The only reason I'm not so sure is because it looks like bboot is patching a bit extra compared to what I was doing in Forth.

I'm not going to get time to test until after work this evening now.

Go to top
Re: What the fastest possible x64 emulation way of OS4 today ?
Quite a regular
Quite a regular


See User information
@geennaam
Quote:

Do I also need to apply this interrupt patch? Or is building from the latest sources enough.

Nobody knows until somebody tries. Try with qemu 8.1-rc0 or git master without any patches first then if it still has problems we can try patching IRQs. BBoot does not handle IRQs it will just set IRQ 9 for any devices not having an IRQ yet which is what pegasos2.rom seems to do as well but we never understood what exavtly causes the freeze so that's the next thing to debug. BBoot at least provides infos on how the PCI devices are configured at boot and we can compare those with different settings.

Go to top
Re: What the fastest possible x64 emulation way of OS4 today ?
Quite a regular
Quite a regular


See User information
ok, I'll try the release candidate.

One thing that I do not understand in the Pegasos2 interrupts discussion is the whole edge sensitivity. PCI interrupts are level sensitive. Therefore the emulated legacy interrupts consist of a begin and end interrupt message.

Go to top
Re: What the fastest possible x64 emulation way of OS4 today ?
Home away from home
Home away from home


See User information
@balaton
Oh my ! bboot 0.2 works fine on real pegasos2 ! I can boot amigaos4 with it just fine, the same as it happens with amigaboot.of. That the output i have on serial:

BBoot 0.2 (21.7.2023)
/
pci@80000000io fe000000/10000 mem 80000000/40000000
/pci@80000000/host:     0:0.0   11ab:6460 60000 646011ab 0100 6
/pci@80000000/firewire0:1.0   1106:3044 c0010 30441106 0109 0
  2000810        0 80000000         0      800  
80000000
  1000814        0 fe001080         0       80  
| 00001081
/
pci@80000000/ethernet0:6.0   10ec:8139 20000 813910ec 0109 0
  1003010        0 fe001100         0      100  
00001101
  2003014        0 80000800         0      100  
80000800
  2003030        0 80008000         0     8000  
80008000
/pci@80000000/isa:      0:c.0   1106:8231 60100 82311106 0000 7
/pci@80000000/ide:      0:c.1   1106:0571 1018f 05711106 010e 7
  1006110        0 fe001000         0        8  
00001001
  1006114        0 fe00100c         0        4  
0000100d
  1006118        0 fe001010         0        8  
00001011
  100611c        0 fe00101c         0        4  
0000101d
  1006120        0 fe001020         0       10  
00001021
/pci@80000000/usb:      0:c.2   1106:3038 c0300 30381106 0409 7
  1006220        0 fe001040         0       20  
00001041
/pci@80000000/usb:      0:c.3   1106:3038 c0300 30381106 0409 7
  1006320        0 fe001060         0       20  
00001061
/pci@80000000/other:    0:c.4   1106:8235 68000 82351106 0000 0
/pci@80000000/sound:    0:c.5   1106:3058 40100 30581106 0309 0
  1006510        0 fe001200         0      100  
00001201
  1006514        0 fe001030         0        4  
00001031
  1006518        0 fe001034         0        4  
00001035
/pci@80000000/pci1106,3068:     0:c.6   1106:3068 78000 30681106 0309 0
  1006610        0 fe001300         0      100  
00001301
/pci@80000000/ethernet0:d.0   1106:3065 20000 30651106 0109 0
  1006810        0 fe001400         0      100  
00001401
  2006814        0 80000900         0      100  
80000900
/pci@c0000000io f8000000/10000 mem c0000000/20000000
/pci@c0000000/host:     0:0.0   11ab:6460 60000 646011ab 0100 7
/pci@c0000000/display:  0:8.0   1002:5960 30000 ffffffff ffff ffff
 42004010        0 c0000000         0  8000000  
ffffffff c000000c
  1004014        0 f8001000         0      100  
ffffffff 00001005
  2004018        0 c8000000         0    10000  
ffffffff c8000004
  2004030        0 c8020000         0    20000  
ffffffff c8020004
/pci@c0000000/display:  0:8.1   1002:5940 38000 ffffffff ffff ffff
 42004110        0 d0000000         0  8000000  
ffffffff d000000c
  2004114        0 c8010000         0    10000  
ffffffff c8010004
Checking initrd at 0x600000
-0xa2bea7 (4374183 bytes)
Found zip with 69 entries
Parsing Kicklayout at 0xa2bea7 
(3285 bytes)
Booting config 1AmigaOS_4.1_Final_Edition
Loading loader
.of
Loading kernel
Loading FastFileSystem
Loading SmartFilesystem
Loading peg2ide
.device.kmod
Loading battclock
.resource.kmod
Loading bootmenu
.kmod
Loading bootimage
Loading CDFileSystem
Loading con
-handler.kmod
Loading console
.device.kmod
Loading diskboot
.kmod
Loading diskboot
.config
Loading diskcache
.library.kmod
Loading dos
.library.kmod
Loading elf
.library.kmod
Loading env
-handler.kmod
Loading FileSystem
.resource.kmod
Loading gadtools
.library.kmod
Loading gameport
.device.kmod
Loading graphics
.library.kmod
Loading hunk
.library.kmod
Loading input
.device.kmod
Loading intuition
.library.kmod
Loading it8212ide
.device.kmod
Loading keyboard
.device.kmod
Loading keymap
.library.kmod
Loading lsi53c8xx
.device.kmod
Loading newlib
.library.kmod
Loading nonvolatile
.library.kmod
Loading nvram
.config
Loading ps2
.resource.kmod
Loading ram
-handler.kmod
Loading ramdrive
.device.kmod
Loading ramlib
.kmod
Loading shell
.kmod
Loading strap
.kmod
Loading timer
.device.kmod
Loading PCIGraphics
.card
Loading ATIRadeon
.chip
Loading petunia
.library.kmod
Loading usbresource
.library
Loading usbsys
.device
Loading hub
.usbfd
Loading bootmouse
.usbfd
Loading bootkeyboard
.usbfd
Loading massstorage
.usbfd
Loading uhci
.usbhcd
Loading ohci
.usbhcd
Loading ehci
.usbhcd
Loading mounter
.library
Starting exec
[ColdStartExecSG
[ColdStartCopyright (c2002-2020 Trevor Dickinson
[ColdStartexec 54.30 (1.1.2021)
[
ColdStartKernel commandlineserial munge debuglevel=1
[ColdStartDebug level1
[mem_enable_munge] *** WarningMemory munging enabled for malloc/free emulation


And then usual output from the os4 kernel.

I compare time wise the execution, and with my IDE2SAta adapter and Sata disk i got this:

Amigaboot 54.9 (10/27/2022) - 36 seconds once amigaboot start execution of modules till working Workbench.

Bboot - 27 seconds once i type "boot hd:0 bboot.fth" till working Workbench.

10 seconds faster !

Those figures with debug level enabled, so without it will be even faster.

Waiting now for the PCI to PCIE adapters to arrive to check with RadeonHD/RX. But so far it works with real pegasos2 for sure, which mean that users will have no needs for manual BAR fixes then.

Will check if it is possible from forth calculate size of the Kickstart.zip to avoid manual typing.

Did i understand right, that needs for kickstart.zip to be in the boot ffs partition and not the same as for amigaboot.of to be in the kickstart directory on the SFS disk, because bboot can't work with SFS ? only that ?

Join us to improve dopus5!
AmigaOS4 on youtube
Go to top
Re: What the fastest possible x64 emulation way of OS4 today ?
Quite a regular
Quite a regular


See User information
Results of a quick test with 8.1.0 rc.

Radeon 4850 results in a crash of the RadeonHD driver right after the workbench screen shows up on the display.
Radeon RX 560 results in a crash of QEMU.
Will post more details tomorrow.

Go to top
Re: What the fastest possible x64 emulation way of OS4 today ?
Just can't stay away
Just can't stay away


See User information
@kas1e
Quote:
Did i understand right, that needs for kickstart.zip to be in the boot ffs partition and not the same as for amigaboot.of to be in the kickstart directory on the SFS disk, because bboot can't work with SFS ? only that ?
BBoot is GPL v2, therefore it never can get any support for my AmigaOS SFS versions.

Adding support for old SFS versions like 1.84, for example using the AROS GPLed SFS 1.84 sources, would be possible (after porting the AROS code back to AmigaOS), but since such old versions aren't compatible to current AmigaOS SFS versions any more that may not work either.

Go to top
Re: What the fastest possible x64 emulation way of OS4 today ?
Home away from home
Home away from home


See User information
@joerg
Quote:

BBoot is GPL v2, therefore it never can get any support for my AmigaOS SFS versions.

What kind of support you mean ? Is there needs for any support to add read-only support of any fs does not matter what, so to be able to read from to be able to load kickstart modules ?

But all that just theoretical and not important, loading kickstarts from FFS work fine as well for now, and more than enough to handle issues with RadeonHD/RX in meanwhile. With .zip file loading from FFS even faster than with unpacked modules on SFS2 (At least on pegasos2 and at least with the ~4mb zip archive).

EDIT:
By the way, i found that latest pegasos2 firmwares, not only support USB keyboards (i use USB keyboard there) , but also have ability to boot from SFS too, but so far it looks like just from some ancient version of SFS (it can see morphos's SFS, but can't see amigaos4's SFS00).


Edited by kas1e on 2023/7/21 16:35:46
Edited by kas1e on 2023/7/21 16:51:35
Join us to improve dopus5!
AmigaOS4 on youtube
Go to top
Re: What the fastest possible x64 emulation way of OS4 today ?
Not too shy to talk
Not too shy to talk


See User information
@derfsQuote:
Im getting the kickstart files to load, but before i get the pass-through gfx output on the 2nd screen my PC hard crashes!


My hard-crash issue seems to be a known issue with Ryzen cpus

Linux logs show it as a MCE hardware error, which - depending on what you read - either needs an update to the bios, or requires playing around with voltages in the bios.

Basically its nothing to do with qemu :)

Go to top
Re: What the fastest possible x64 emulation way of OS4 today ?
Just can't stay away
Just can't stay away


See User information
@kas1e
Quote:
EDIT:
By the way, i found that latest pegasos2 firmwares, not only support USB keyboards (i use USB keyboard there) , but also have ability to boot from SFS too. But i assume it's an ancient version of SFS
Maybe not (much) older, but it's for the incompatible MorphOS SFS port, which doesn't even seems to be compatible to SFS 1.84, let alone to the changes I did in my AmigaOS SFS versions, which aren't 100% compatible to SFS 1.84 anymore either, but of course using different changes.

I got sector dumps from someone who destroyed an AmigaOS 4.x SFS partition by writing from MorphOS to it several years ago. Some of the sectors included invalid data which was definitely overwritten by the incompatible MorphOS SFS version.

Read-only access, like in a boot loader, might work most of the time even when using incompatible SFS versions, but there is no guarantee.

Go to top
Re: What the fastest possible x64 emulation way of OS4 today ?
Home away from home
Home away from home


See User information
@joerg
Quote:

I got sector dumps from someone who destroyed an AmigaOS 4.x SFS partition by writing from MorphOS to it several years ago. Some of the sectors included invalid data which was definitely overwritten by the incompatible MorphOS SFS version.

Years ago i also destroyed OS4's SFS boot partition when wrote from Morphos to it (it wasn't like from the first write, but just after i do many write to). But other way around (from OS4's SFS to Morphos's SFS) works fine. So i just remember to not write from mos to os4's sfs anymore.

As for SFS reading from peg2's firmware, i do have on pegasos2's disk such partitions:

hd:0 - ffs 53.2
hd:1 - sfs00 1.290 (system,os4)
hd:2 - sfs00 1.290 (work, os4)
hd:3 - sfs (system, morphos)
hd:4 - sfs (work, morphos)

And when i do "ls" on them from peg's firmware, i can see ffs, morphos's sfs, but for our one have just "sfs-load: file "" not found ". So, yeah, it only read mos's sfs.


@All
Interesting that on real pegasos2 , both Ethernets (and inbuilt one, and my PCI card one) sit on irq 0x09, together as many other things, but bridges (host bridge, isa bridge, etc) on 0x00 and IDE on 0x0E. But all others like audio, network, video, fireware, usb all indeed on 0x09. Just not IDE and bridges.

@balaton
So far sitting playing with peg2 for few hours booted from bboot 0.2 do not cause in os4 itself any differences in compassion with when i boot by amigaboot.of.


Edited by kas1e on 2023/7/21 17:20:37
Edited by kas1e on 2023/7/21 17:34:54
Edited by kas1e on 2023/7/21 17:36:57
Join us to improve dopus5!
AmigaOS4 on youtube
Go to top
Re: What the fastest possible x64 emulation way of OS4 today ?
Not too shy to talk
Not too shy to talk


See User information
Only update that I have at the moment is that bboot 2 produces the same result on passthrough hardware as bboot 1 does, but it does set the IRQ.

Unfortunately I don't have the time to dig any deeper just yet. I might have later tonight.


Amiga x5040 ı 16GB ı RX580
GB-A1000 060@100,
A1200 PiStorm32-Lite CM4
Go to top
Re: What the fastest possible x64 emulation way of OS4 today ?
Just can't stay away
Just can't stay away


See User information
@kas1eQuote:
kas1e wrote:@joerg
[quote]

@balaton
So far sitting playing with peg2 for few hours booted from bboot 0.2 do not cause in os4 itself any differences in compassion with when i boot by amigaboot.of.


I am surprised myself that BBoot runs so well with AmigaOs4.1.

I can also confirm that the system continues to work stable without problems. Web browsing with YouTube streaming and sending files via FTP with ZitaFTP all no problem, even a good 30 minutes BreakHack play was possible until I had no more desire.

Fantastic work, tested under Qemu 8.1 RC0

Edit: Due to the new bootloader "BBoot" I am forced to completely revise my installation instructions concerning the installation of AmigaOs.4.1 under Qemu Pegasos 2. Maybe someone could also create an english manual? Otherwise you could translate my installation guide into English since it is written in German.


Edited by Maijestro on 2023/7/21 19:34:29
Edited by Maijestro on 2023/7/21 19:36:43
MacStudio ARM M1 Max Qemu//Pegasos2 AmigaOs4.1 FE / AmigaOne x5000/40 AmigaOs4.1 FE
Go to top
Re: What the fastest possible x64 emulation way of OS4 today ?
Not too shy to talk
Not too shy to talk


See User information
@kas1e

>Amigaboot 54.9 (10/27/2022) - 36 seconds once amigaboot start execution of modules till working Workbench.

>Bboot - 27 seconds once i type "boot hd:0 bboot.fth" till working Workbench.


On my machine under Qemu (Mac mini M1), Bbbot - 5 seconds after a file in the boot icon till working Workbench.

Go to top
Re: What the fastest possible x64 emulation way of OS4 today ?
Just can't stay away
Just can't stay away


See User information
@smarkusgQuote:
smarkusg wrote:@kas1e

>Amigaboot 54.9 (10/27/2022) - 36 seconds once amigaboot start execution of modules till working Workbench.

>Bboot - 27 seconds once i type "boot hd:0 bboot.fth" till working Workbench.


On my machine under Qemu (Mac mini M1), Bbbot - 5 seconds after a file in the boot icon till working Workbench.


You must not forget that @kas1e uses it with real Pegasos 2 hardware.

MacStudio ARM M1 Max Qemu//Pegasos2 AmigaOs4.1 FE / AmigaOne x5000/40 AmigaOs4.1 FE
Go to top
Re: What the fastest possible x64 emulation way of OS4 today ?
Not too shy to talk
Not too shy to talk


See User information
@Maijestro

Yes I know.
But the difference is similar - it boots almost twice as fast on bboot instead of via Amigaboot/pegasos.rom under Qemu.

Go to top
Re: What the fastest possible x64 emulation way of OS4 today ?
Quite a regular
Quite a regular


See User information
@kas1e, @MartinW

Looking at the log from real PegasosII it looks like board firmware also leaves card at least on AGP bus with all ff values not only for interrupt but also for BARs. I'm not sure how that happens but if this works on real machine then BBoot should also not set these and leave them when they are set to all ff values. Currently in 0.2 these will be set and due to having wrong BAR values it results in 32 bit BARs set to 64 bit which maybe does not cause a problem if AmigaOS driver only needs the assigned-addresses property values and later reprograms the card based on that but I should probably need to fix this in a next version to get closer to real hardware.

To check if other values are the same with pegasos2.rom and bboot+VOF you could try booting with bboot both through bboot.fth with -bios pegasos2.rom (and maybe also running your script first) and without ROM just using -kernel bboot and post both logs and compare the values in those. BBoot prints the assigned-addresses property and other PCI values as it finds them and all chnages it made to them so this should help to find what's different when it works vs. when it doesn't. I think you got this just did not have time to test it but just saying it again to make sure I've explained it clearly enough.

@Maijestro
I plan to update my pegasos2 guide with BBoot instructions, I just haven't got to it yet.

Go to top
Re: What the fastest possible x64 emulation way of OS4 today ?
Just can't stay away
Just can't stay away


See User information
@balatonQuote:
balaton wrote:@kas1e, @MartinW

@Maijestro
I plan to update my pegasos2 guide with BBoot instructions, I just haven't got to it yet.


No problem, I'll take care of it and send you the updated installation instructions by mail for comparison, I think you'll surely find one or the other error.

I am also not sure if BBoot works for the complete standard installation with the AmigaOs4.1 Pegasos 2 install CD. Since I'm on vacation right now, I'll test it over the next few days.


Edited by Maijestro on 2023/7/21 21:02:28
Edited by Maijestro on 2023/7/21 21:03:35
MacStudio ARM M1 Max Qemu//Pegasos2 AmigaOs4.1 FE / AmigaOne x5000/40 AmigaOs4.1 FE
Go to top

  Register To Post
« 1 ... 49 50 51 (52) 53 54 55 ... 75 »

 




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




Powered by XOOPS 2.0 © 2001-2024 The XOOPS Project