English Amiga Board


Go Back   English Amiga Board > Support > support.OtherUAE

 
 
Thread Tools
Old 24 July 2021, 18:49   #1
White
Registered User
 
White's Avatar
 
Join Date: Sep 2016
Location: italy
Posts: 1,480
qemu Pegasos2 test

A small video about a test carried out with qemu that emulates Pegasos2
currently booted on morphos iso 3.15

does anyone know how to boot directly to the hd?

via the Pegasos firmware command prompt my HD is marked as:

HD0
Thank you here the test:
[ Show youtube player ]

Last edited by White; 25 July 2021 at 12:27.
White is offline  
Old 25 July 2021, 12:24   #2
White
Registered User
 
White's Avatar
 
Join Date: Sep 2016
Location: italy
Posts: 1,480
Resolved
after installation
the command to be given at the prompt:
boot / pci / ide / disk @ 0,0: 0 boot.img
this allows you to boot directly from hd
White is offline  
Old 26 July 2021, 17:29   #3
Prober
Registered User
 
Prober's Avatar
 
Join Date: Dec 2006
Location: Czech Republic
Age: 46
Posts: 16
Perfect. It looks usable
Prober is offline  
Old 27 July 2021, 16:34   #4
White
Registered User
 
White's Avatar
 
Join Date: Sep 2016
Location: italy
Posts: 1,480
@Prober
@All
yes I like to rehearse
even if at the moment it is only a beginning
even the developer would need help for those who can help him.

I'd like to try the pegasos version of 4.1
to see if I can boot and how far it can be used

The command is this:
bootloader_prepare
boot cd amigaboot.of

currently I don't have the pegasos version to be able to try it,

I would very much like to see what is recognized :-)
White is offline  
Old 27 July 2021, 16:53   #5
drHirudo
Amiga user
 
drHirudo's Avatar
 
Join Date: Nov 2008
Location: Sofia / Bulgaria
Posts: 456
Hello,
Can you provide the settings file and if possible link to the needed firmware files?
Thanks in advance.
drHirudo is offline  
Old 27 July 2021, 17:06   #6
White
Registered User
 
White's Avatar
 
Join Date: Sep 2016
Location: italy
Posts: 1,480
@drHirudo
currently this command can help:
tail -c +85581 up050404 | head -c 524288>pegasos2.rom

see here to learn more:
http://zero.eik.bme.hu/~balaton/qemu/amiga/
https://osdn.net/projects/qmiga/wiki/SubprojectPegasos2

if you have any difficulties, you can contact me

Last edited by White; 04 April 2023 at 05:53.
White is offline  
Old 04 August 2021, 12:51   #7
White
Registered User
 
White's Avatar
 
Join Date: Sep 2016
Location: italy
Posts: 1,480
Tried qemu with Pegasos2 for 4.1
currently loads the kickstart but does not go further
probably due to the lack of ati card and more (hopefully this will be supported soon).

Eventually it is possible to "modify" the ISO supporting sm501 but it is not worth it given the performances with sam460ex.

here the pegasos2 boot:
[ Show youtube player ]
White is offline  
Old 12 August 2021, 22:51   #8
waldiamiga
morphos.pl
 
waldiamiga's Avatar
 
Join Date: Aug 2014
Location: Kraków, Poland
Posts: 104
Quote:
Originally Posted by White View Post
A small video about a test carried out with qemu that emulates Pegasos2
currently booted on morphos iso 3.15

does anyone know how to boot directly to the hd?

via the Pegasos firmware command prompt my HD is marked as:

HD0
Thank you here the test:
[ Show youtube player ]

Hi. Can you provide the syntax to run QEmu with Pegasos 2 emulation? When I run with the command -device ati-vga, romfile = "" ,QEmu won't start, so instead of. I typed -device ati-vga, romfile = vgabios-ati.bin. Now it starts, I can see it in serial0, (configuration, Abox and others) unfortunately I have a black image in ati-vga. Need some other rom or bin file for the emulated ati-vga graphics card than the one in QEmu?
waldiamiga is offline  
Old 13 August 2021, 10:54   #9
White
Registered User
 
White's Avatar
 
Join Date: Sep 2016
Location: italy
Posts: 1,480
@waldiamiga
it is probably due to the ram chosen
with 1024 it should work:

qemu-system-ppc -machine pegasos2 -rtc base=localtime -m 1024 -device ati-vga,guest_hwcursor=true,romfile="" -cdrom /home/white/Scaricati/morphos-3.15.iso -bios /home/white/Scaricati/pegasos2.rom -serial stdio -device ide-hd,drive=hd-drive,bus=ide.0 -drive file='/home/white/Scaricati/morphos.img',if=none,id=hd-drive,format=raw

then:
boot cd boot.img

once the hard disk boot installation is done:

qemu-system-ppc -machine pegasos2 -rtc base=localtime -m 1024 -device ati-vga,guest_hwcursor=true,romfile="" -bios /home/white/Scaricati/pegasos2.rom -serial stdio -device ide-hd,drive=hd-drive,bus=ide.0 -drive file='/home/white/Scaricati/morphos.img',if=none,id=hd-drive,format=raw


boot hd: 0 boot.img

Last edited by White; 13 August 2021 at 11:32.
White is offline  
Old 13 August 2021, 13:01   #10
waldiamiga
morphos.pl
 
waldiamiga's Avatar
 
Join Date: Aug 2014
Location: Kraków, Poland
Posts: 104
Thanks! I start testing while I'm on vacation.


It works! Even in my language. Now it's time to install the system. Thanks for helping White.


Last edited by waldiamiga; 13 August 2021 at 13:30.
waldiamiga is offline  
Old 13 August 2021, 15:26   #11
White
Registered User
 
White's Avatar
 
Join Date: Sep 2016
Location: italy
Posts: 1,480
if for various reasons you have problems with the network
you can opt this way use the "g4" you need a fresh install

qemu-system-ppc -machine mac99, via = pmu -rtc base = localtime -m 2048 -device ati-vga, guest_hwcursor = true -cdrom /home/white/Scaricati/morphos-3.15.iso -boot d -prom-env 'boot-device = cd:, \ mac_ppc32 \ boot.img' -bios /home/white/Downloads/openbios-qemu.elf -vga none -serial stdio -device ide-hd, drive = hd-drive, bus = ide .0 -drive file = '/ home / white / Downloaded / morphos', if = none, id = hd-drive, format = raw -net nic, model = rtl8139 -net user

then without cd

qemu-system-ppc -machine mac99, via = pmu -rtc base = localtime -m 2048 -device ati-vga, guest_hwcursor = true -boot d -prom-env 'boot-device = hd:, \ boot.img' - bios /home/white/Downloads/openbios-qemu.elf -vga none -serial stdio -device ide-hd, drive = hd-drive, bus = ide.0 -drive file = '/ home / white / Downloaded / morphos. img ', if = none, id = hd-drive, format = raw -net nic, model = rtl8139 -net user

edit the user-startup with ED and add this at the end:
ikill temperature.sensor

then you can add the m crysalis-pack like this (you will need a bigger partition):

qemu-system-ppc -machine mac99, via = pmu -rtc base = localtime -m 2048 -device ati-vga, guest_hwcursor = true -boot d -prom-env 'boot-device = hd:, \ boot.img' - bios /home/white/Downloads/openbios-qemu.elf -vga none -serial stdio -device ide-hd, drive = hd-drive, bus = ide.0 -drive file = '/ home / white / Downloaded / morphos. img ', if = none, id = hd-drive, format = raw -net nic, model = rtl8139 -net user -cdrom /home/white/Scaricati/Chrysalis_3.15.iso

at the moment there is no audio I am doing some experiments with a USB-AUDIO STICK that morphos recognizes with the real hardware.

I would like to provide zbalaton with my tests to see if it is possible to activate it in some way and be helped thanks to its abilities

happy holiday :-)
White is offline  
Old 14 August 2021, 10:16   #12
waldiamiga
morphos.pl
 
waldiamiga's Avatar
 
Join Date: Aug 2014
Location: Kraków, Poland
Posts: 104
System installed. The lack of support for the network card is a bit of a bother. What magic command do you need to use in SF to make the system start automatically? setenv boot-file boot.img ramdebug and setenv auto-boot? true doesn't really work. I have had MorphOS on mac99 for several years.
waldiamiga is offline  
Old 14 August 2021, 12:59   #13
White
Registered User
 
White's Avatar
 
Join Date: Sep 2016
Location: italy
Posts: 1,480
currently i don't know if this feature is implemented and working.
I have not succeeded
these are the standard commands:
setenv boot-file boot.img ramdebug "
"Setenv boot-device / pci / ide / disk @ 0,0: 0" <- check that the drive is the correct one!
“Setenv auto-boot-timeout 3000” <- automatic boot after 3 seconds
“Setenv auto-boot? true "

ls / pci / ide / disk @ 0,0: 0 to see your partition
boot / pci / ide / disk @ 0,0: 0 boot.img bootdevice = dh2 dh1 etc. your boot partition
printenv the various parameters

if you find a solution let me know :-)

this you can use it:
boot / pci / ide / disk @ 0,0: 0 boot.img
instead of:
boot hd: 0 boot.img

if you want to test

Last edited by White; 14 August 2021 at 13:12.
White is offline  
Old 14 August 2021, 14:06   #14
waldiamiga
morphos.pl
 
waldiamiga's Avatar
 
Join Date: Aug 2014
Location: Kraków, Poland
Posts: 104
It doesn't work anyway, console spits: no / bad nvramrc - preforming default startup script.
I also fought with network cards, the two for which MorphOS has drivers are not supported by QEmu-ppc, because at startup I have this message:

warning:requested NIC (#net057, model sungem) was not created.
(not supported by this machine?)
waldiamiga is offline  
Old 07 January 2022, 00:13   #15
themamboman
Registered User
 
Join Date: Dec 2012
Location: Atlanta, USA
Posts: 154
Quick question:

Where do you find the file up050404 from which to extract the pegasos2.rom?

Thanks!
themamboman is offline  
Old 01 October 2022, 19:22   #16
themamboman
Registered User
 
Join Date: Dec 2012
Location: Atlanta, USA
Posts: 154
Update: I found the up050404 file for the Pegasos2 board in this thread:
https://morph.zone/modules/newbb_plu...11892&forum=11 post #4.

The file is supposed to be extracted vial the tail command found in the #6 forum post in this thread above.

Using this extracted pegasos2.rom file with the latest qemu 7.1.0 seems to never start the graphics mode. I see 2 failures when it starts up. Using qemu without the bios set to this pegasos2 file works better. I'm not sure what I'm gaining though over the mac99 G4 version.
themamboman is offline  
Old 03 April 2023, 18:30   #17
White
Registered User
 
White's Avatar
 
Join Date: Sep 2016
Location: italy
Posts: 1,480
@Maijestro

I tried Pegasos with 4.1 with SM502

The impression is excellent.

Would you like to do a more detailed guide

Now tonight I put Linux back on HD Real

I have backup I need to find a hard disk

here I tried it with WSL2 but just to see how it was.

I edited the iso but the steps weren't very clear at least for me.

Some screenshots of the steps to take would be very helpful.

Furthermore, the topic of updates and installation on hard-disk and many other things could be extended for everyone :-)

Thank you.

here my little test:
[ Show youtube player ]

Last edited by White; 03 April 2023 at 18:45.
White is offline  
Old 04 April 2023, 00:19   #18
Reth
Registered User
 
Join Date: Feb 2015
Location: Germany
Posts: 64
Quote:
Originally Posted by White View Post
@drHirudo
currently this command can help:
tail -c +85581 up050404 | head -c 524288> pegasos2.rom

see here to learn more:
http://zero.eik.bme.hu/~balaton/qemu/amiga/
https://osdn.net/projects/qmiga/wiki/SubprojectPegasos2

if you have any difficulties, you can contact me



Sorry for digging out this old post: How to extract that ROM on a Windows machine out of the update-file? Do I have some LinuxUtils or so for shell-extension?
Reth is offline  
Old 04 April 2023, 05:57   #19
White
Registered User
 
White's Avatar
 
Join Date: Sep 2016
Location: italy
Posts: 1,480
@Reth
I haven't looked to see if there is anything for windows.
A solution can be:
do minimal installation of "Ubuntu" on virtual machine
ex: VirtualBox or VMware
don't bother updating it.

Open a shell and issue the command:
tail -c +85581 up050404 | head -c 524288>pegasos2.rom
Finished
White is offline  
Old 04 April 2023, 07:09   #20
Reth
Registered User
 
Join Date: Feb 2015
Location: Germany
Posts: 64
Thank you! I remembered web solutions for other things in the past and abused this one - worked very well: https://bellard.org/jslinux/vm.html?...86.cfg&mem=192
Reth is offline  
 


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
WinUAE QEMU PPC Toni Wilen support.WinUAE 562 10 February 2023 21:39
QEmu: Emulation MorphOS AMIGASYSTEM support.OtherUAE 90 05 February 2022 12:04
Req: '240p Test Suite' similar test software for Amiga? c0dehunter support.Hardware 10 22 February 2021 21:38
QEMU Released AMIGASYSTEM News 12 17 July 2018 00:52

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 22:08.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.09958 seconds with 14 queries