Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
148 user(s) are online (107 user(s) are browsing Forums)

Members: 0
Guests: 148

more...

Headlines

Forum Index


Board index » All Posts (smarkusg)




Re: Pegasos2 with RadeonHD/RX via bridge
Not too shy to talk
Not too shy to talk


@kas1e
Quote:
@smarksugs
Installing from powerpc-DVD-1.iso works fine ! I can see that when installation finished, it doing some more steps in "Finishing installation" stage, and then, i am able to boot correctly, and in the log i can see that initrd image attached.

I forgot that Debian 8 "jessie" was ported to the archive in 2020.
The Net installation (netinstall.iso) even if you can't download packages contains the "base" core packages.
It should install itself. It is possible. that in case of correct apt/sources.list entries it does not complete the installation correctly.

If you need to install any packages, use the packages from the install DVD. The entries should be apt/sources.list.
You can change the installation of packages from the repository by changing the domain to "archive.debian.org", but this should not be necessary for your needs.

Go to top


Re: Pegasos2 with RadeonHD/RX via bridge
Not too shy to talk
Not too shy to talk


@kas1e

Here is the disc from which it installs
MD5 (debian-8.11.0-powerpc-DVD-1.iso) = 6b5fc6ca399268901c4a8e76100679e0


There was also OpenSUSE on Pegasos 2 but I did not install, maybe see here , you need to translate because it is in Polish

https://www.ppa.pl/programy/opensuse-i-pegasos-2.html

Go to top


Re: Pegasos2 with RadeonHD/RX via bridge
Not too shy to talk
Not too shy to talk


@kas1e

Ok I installed 6GB drive , boot partition over 5GB
sees the partition

RDB partition 0 : (0x4C4E5800)
RDB partition 1 : (0x0)
RDB partition 2 : (0x53575000)
RDB partition 3 : (0x4C4E5800)
ok ls hd:3
.
..
lost+found
config-3.16.0-6-powerpc
vmlinux-3.16.0-6-powerpc
vmlinux
initrd.img
vmlinuz
System.map-3.16.0-6-powerpc
vmlinuz-3.16.0-6-powerpc
initrd.img-3.16.0-6-powerpc
ok


sees boot works, system gets up
don't know what you are doing wrong :(






edit

You can see that there is supposedly a hd:0 ext2 partition but there is nothing there it is mounted in linux/debian under /opt

Quote:
Welcome to SmartFirmware(tm) for bplan Pegasos2 version 1.2 (20040810112413)
SmartFirmware(tm) Copyright 1996-2001 by CodeGen, Inc.
All Rights Reserved.
Pegasos BIOS Extensions Copyright 2001-2004 by bplan GmbH.
All Rights Reserved.
entering main read/eval loop...
ok cd ide
ok ls
RDB partition 0 <LNX>: <dhx> (0x4C4E5800)
RDB partition 1 <unknown>: <dhx> (0x0)
RDB partition 2 <unknown>: <dhx> (0x53575000)
RDB partition 3 <LNX>: <dhx> (0x4C4E5800)
ok ls hd:0
.
..
lost+found
ok ls hd:1
ok ls hd:2
ok ls hd:3
.
..
lost+found
config-3.16.0-6-powerpc
vmlinux-3.16.0-6-powerpc
vmlinux
initrd.img
vmlinuz
System.map-3.16.0-6-powerpc
vmlinuz-3.16.0-6-powerpc
initrd.img-3.16.0-6-powerpc
ok

Go to top


Re: Pegasos2 with RadeonHD/RX via bridge
Not too shy to talk
Not too shy to talk


@kas1e

In your video I can see that you iniciate everything correctly so it is redundant in that line I gave you "video=uvesafb:1680x1050-32, console=tty0"
You can substitute add possibly console=ttyS0 serial was your console and you should see kernel and boot logs and log in to the system via console.

My boot partition is definitely ext2. SmartFirmware can't read ext4 and my head partition is ext4.

I will quickly install Debian on QEMU with Pegasos for a test give boot on the end of the disk outside the 2GB area what will happen

Go to top


Re: Pegasos2 with RadeonHD/RX via bridge
Not too shy to talk
Not too shy to talk


@kas1e
QZFQZFQZFQZFQZFQZFQZFQZFQZFQZFQZFQZFQZFQZFQZFQZFQZFQZFQZFQZFQZFQZFQZFQZFMemory Config Done
Configuring PCI0
...                                                    Done.
Configuring PCI1...                                                    Done.
Configuring ETH...                                                     Done.
Releasing IDE reset ...                                                Done.
Configuring Legacy Devices
Initializing KBD
...                                                    Done.
Testing 40000000 BytesPass00000000 Failed00000000
RAM TEST 
(fill random)...                                              Done.

SmartFirmware:
cpu0PowerPC,74x7 CPUClock 1533 Mhz BUSClock 133 Mhz (Version 0x8002,0x0102)
no/bad nvramrc performing default startup script
channel 0 unit 0 
:   ata QEMU HARDDISK                            2.5+    
ATA device not present or not responding
channel 1 unit 0 
atapi QEMU DVD-ROM                             2.5+    
ATA device not present or not responding



Welcome to SmartFirmware
(tm) for bplan Pegasos2 version 1.2 (20040810112413)
SmartFirmware(tmCopyright 1996-2001 by CodeGenInc.
All Rights Reserved.
Pegasos BIOS Extensions Copyright 2001-2004 by bplan GmbH.
All Rights Reserved.
entering main read/eval loop...
ok ls hd:0
.
..
lost+found
config
-3.16.0-6-powerpc
vmlinux
-3.16.0-6-powerpc
initrd
.img
vmlinuz
cuImage
.amigaone.img-3.16.0-4-book3s-amigaone-smp+
System.map-3.16.0-4-book3s-amigaone-smp+
build_uboot_image.sh
vmlinuz
.old
cuImage
.amigaone.elf-3.16.0-4-book3s-amigaone-smp+
boot.img.amigaone-3.16.0-4-book3s-amigaone-smp+
config-3.16.0-4-book3s-amigaone-smp+
vmlinuz-3.16.0-6-powerpc
initrd
.img-3.16.0-4-book3s-amigaone-smp+
vmlinux
cuImage
.amigaone-3.16.0-4-book3s-amigaone-smp+
initrd.img-3.16.0-6-powerpc
vmlinux
-3.16.0-4-book3s-amigaone-smp+
System.map-3.16.0-6-powerpc
vmlinuz
-3.16.0-4-book3s-amigaone-smp+
ok



Maybe if you have some free disk install on it from scratch.
As you wrote you only need it for the test so it's a shame if you make yourself something with the actial partitions ma Pegasos
I don't remember if Pegasos required a boot partition as the first one, but I guess it shouldn't matter to list it with "ls"


Edited by smarkusg on 2024/4/20 9:59:58
Go to top


Re: Pegasos2 with RadeonHD/RX via bridge
Not too shy to talk
Not too shy to talk


@kas1e

But the kernel loads for you, so you set it right.
root is missing, which is the partition where you have the system. - Maybe you have the wrong partition, not the right one.


In the log you have "console=tt" I pasted it wrong or did you pass it like that?

edit:

unless initrd can't load .... then on kernel and initrd you have on FFS partition yes ?
my boot/ext2 partition has 100MB

what possibility you have make a small partition ext2 and copy the kernel and initrd there and see if it boots up

Go to top


Re: Pegasos2 with RadeonHD/RX via bridge
Not too shy to talk
Not too shy to talk


@kas1e
If you use only this command line it is possible that nothing will be displayed if the system is not configured.

"boot hd:5 boot/vmlinuz root=/dev/sda6"

add to which console you want the tty to spit out the log and add fb

my line " boot hd:0 vmlinuz-3.16.0-6-powerpc root=/dev/sda2 video=uvesafb:1680x1050-32, console=tty0"

I have boot partition ext2 and root ext4 everything boots and it doesn't matter that I use QEMU.

Resized Image

Go to top


Re: MPlayer 1.5 released!
Not too shy to talk
Not too shy to talk


@Maijestro

You can try to directly access the ffmpeg libraries from mplayer via ffmpeg:// and add -cache
It seems to me that this will not work anyway.
If you have the ability to use emotion or ffplay use these programs.

I have no way to check because these stream as "pjs" wrote is for my region/country is blocked.

Go to top


Re: Qemu Pegasos II interrupts issue
Not too shy to talk
Not too shy to talk


@balatonQuote:
I can't tell if Linux doesn't do that elsewhere or it does not need to because it can handle shared edge triggered interrupts (probably the latter) but this also does not matter for AmigaOS on an uncommon PPC board what does Linux do on x86.


I checked the stability of the network connection on QEMU (8.1 as I remember correctly ) Linux/debian pegasos2 and A1XE. The kernels were from the 3.x and 4.x series.
I even compiled one myself under A1XE (I wanted to check sm502).
Everything worked properly. Sessions of 2h using audio stream and running mplayer in the background.
Based on this, I can say that QEMU emulation with pegasos2 and A1Xe machines using orginal uboot/firmware worked.
The AOS4 system using the original uboot/firmware did not....

edit:
I found a post even on the forum

https://www.amigans.net/modules/newbb/ ... id=143474#forumpost143474

Then I also still had some fun with those Linux on Peg and A1

Go to top


Re: Cannon fodder open source
Not too shy to talk
Not too shy to talk


@AmigaOldskooler

Thanks.
I hope you will have fun ..as I did. I discovered over the years that this game is not as easy as it used to be

Go to top


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


@balaton

Quote:
I'd still need the lspci or showconfig output from a real Sam460 as I've asked above to confirm it's the right fix but seems to resolve the problem at least for now


I don't know too many people who have a real sam460, but if no one answers, I'll try to ask around and let you know @.

Go to top


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


@balaton

I saw that you posted a patch for "ppc440_pcix.c" yesterday.
I checked quickly Qemu with sam460.I plugged in a disk image with SFS initializes and works.

I have SFS with ES - version 1.293
Qemu version 9 RC1
Thank you

Resized Image

Go to top


Re: MPlayer 1.5 released!
Not too shy to talk
Not too shy to talk


@sailor
Maybe try some mp3 encoder , lame for starters.
A few months ago I tried to do something with the ffmpeg compilation from this guide
that you provided in that https://www.amigans.net/modules/newbb/ ... id=147361#forumpost147361
But without the physical hardware, it's like a telephone consultation with an ophthalmologist I see nothing he sees nothing and you get a prescription sore throat even though you need glasses...

Go to top


Re: Cannon fodder open source
Not too shy to talk
Not too shy to talk


@LiveForIt
I only corrected a few bugs and moved to the new version 1.8. salass00 did most of the work. He left out a few bugs.
Ports are ports... anyway, most credit goes to the authors of the original versions.

Go to top


Re: Cannon fodder open source
Not too shy to talk
Not too shy to talk


Hi

AmiWest 2024's theme of "Get your game on!". Games were the backbone of the Amiga platform.
There was no native Cannon Fodder after AOS4. With help came an open port of Open fodder.... and @salass00's work on the previous port.
Plus the help of @Javier and @Samir
Thanks guys!!!

https://github.com/smarkusg/openfodder/releases/tag/31032024

If anyone found any bugs before publishing on os4depot thanks in advance for your help

* full version of Cannon Fodder is required to make the port fully functional

version with full installation of the original cannon fodder





Edited by smarkusg on 2024/3/31 22:22:09
Go to top


Re: mplayer and VA.library
Not too shy to talk
Not too shy to talk


Hi

In recent months, a new version of mplayer 1.5 has been released, building on the work of previous releases of this program under AOS4.
New things have been added and some things have been improved. From the beginning, the idea was that mplayer could also use the va-api video output.
For a few months now, we have been testing a solution based on the mplayer port under Linux, where there is a vaapi video output.
To make it work, we need to undo some changes in the ffmpeg code and add the code to mplayer. Changes to ffmpeg and mplayer alone will not make it work. It was also necessary to adapt the va-api implementation to work with the existing va-api version under AOS4.

Lastly, mplayer and ffmpeg itself appears to work under AOS4. The only problem is the video output. The video output in mplayer itself is on X11.
For testing, a simple output was made to simulate operation under AOS4. What is missing is for this output to be rewritten/re-written in order to lastdznie confirm the operation.
Here is my request, is there any person who could help with this ?


Example log from mplayer vaapi output under AOS4 where you can see

MPlayer -vo vaapi -ao null PRUEBAS:Big_Buck_Bunny_1080_10s_30MB.mp4 
MPlayer SVN
-r38448-snapshot (C2000-2024 MPlayer Team

Playing PRUEBAS
:Big_Buck_Bunny_1080_10s_30MB.mp4.
libavformat version 60.16.100 (internal)
libavformat file format detected.
[
lavfstream 0video (h264), -vid 0
VIDEO
:  [H264]  1920x1080  24bpp  30.000 fps  24559.9 kbps (2998.0 kbyte/s)
[
vaapiinitialised (API version 1.5).
==========================================================================
Opening video decoder: [ffmpegFFmpeg's libavcodec codec family
libavcodec version 60.31.102 (internal)
Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
==========================================================================
Clip info:
major_brand: isom
minor_version: 512
compatible_brands: isomiso2avc1mp41
title: Big Buck Bunny, Sunflower version
artist: Blender Foundation 2008, Janus Bager Kristensen 2013
composer: Sacha Goedegebure
encoder: Lavf57.63.100
comment: Creative Commons Attribution 3.0 - http://bbb3d.renderfarming.net
genre: Animation
Load subtitles in PRUEBAS:
Audio: no sound
Starting playback...
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
VO: [vaapi] 1920x1080 => 1920x1080 H.264 VAAPI acceleration 
[vaapi] hardware supports codec: format H.264 VAAPI acceleration -> VAProfile 7.
[vaapi] context initialised: config 0x1, context 0x14.

[h264 @ 0x436e86a8]Using deprecated struct vaapi_context in decode.
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
VO: [vaapi] 1920x1080 => 1920x1080 H.264 VAAPI acceleration 
[vaapi] OSD drawing is not supported.
--


For comparison, here is the log from mplayer vaapi under Linux

MPlayer SVN-r38423-snapshot-12 (C2000-2023 MPlayer Team
do_connect
could not connect to socket
connect
No such file or directory
Failed to open LIRC support
You will not be able to use your remote control.

Playing /home/markus/Wideo/2020/2020-03-04_09-49-20.mp4.
libavformat version 60.3.100 (internal)
libavformat file format detected.
[
mov,mp4,m4a,3gp,3g2,mj2 0x556a3bdac2c0]Protocol name not providedcannot determine if input is local or a network protocolbuffers and access patterns cannot be configured optimally without knowing the protocol
[lavfstream 0video (h264), -vid 0
[lavfstream 1audio (aac), -aid 0, -alang eng
VIDEO
:  [H264]  1280x720  24bpp  45000.000 fps  14004.9 kbps (1709.6 kbyte/s)
libva infoVA-API version 1.14.0
libva info
Trying to open /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so
libva info
Found init function __vaDriverInit_1_6
libva info
va_openDriver() returns 0
[vaapiinitialised (API version 1.14).
==========================================================================
Opening video decoder: [ffmpegFFmpeg's libavcodec codec family
libavcodec version 60.3.100 (internal)
Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
==========================================================================
Clip info:
 major_brand: mp42
 minor_version: 0
 compatible_brands: isommp42
 creation_time: 2020-03-04T08:49:20.000000Z
 location: +50.3001+018.8347/
 location-eng: +50.3001+018.8347/
 com.android.version: 7.1.2
Load subtitles in /home/markus/Wideo/2020/
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 48000 Hz, 2 ch, floatle, 96.0 kbit/3.12% (ratio: 12000->384000)
Selected audio codec: [ffaac] afm: ffmpeg (FFmpeg AAC (MPEG-2/MPEG-4 Audio))
==========================================================================
couldn'
t open play streamDevice or resource busy
ao2
can't open sndio
[AO OSS] audio_setup: Can'
t open audio device /dev/dspNo such file or directory
AO
: [alsa48000Hz 2ch floatle (4 bytes per sample)
Starting playback...
Movie-Aspect is 1.78:prescaling to correct movie aspect.
VO: [vaapi1280x720 => 1280x720 H.264 VAAPI acceleration 
[vaapihardware supports codecformat H.264 VAAPI acceleration -> VAProfile 7.
[vaapicontext initialisedconfig 0x1000000context 0x2000000.

[
h264 0x556a3bdd1de0]Using deprecated struct vaapi_context in decode.
Movie-Aspect is 1.78:prescaling to correct movie aspect.
VO: [vaapi1280x720 => 1280x720 H.264 VAAPI acceleration 
[vaapiOSD drawing is not supported.



thank you in advance for your help

Go to top


Re: Hi New Member Here
Not too shy to talk
Not too shy to talk


I hope I am not too late ...
A very warm welcome to you !

Go to top


Re: Sam460 which file systems can be used
Not too shy to talk
Not too shy to talk


@balaton

Quote:
Maybe the AmigaOS lsi scsi driver is not init'ing/using these cards properly as the Linux drivers do or does something that works on real card >but QEMU is not emulating as the Linux and other OS drivers don't do that?


I would be more in favour of saying that lsi53c810 under qemu was written for specific machines.
It was certainly not done on purpose, but some of the code may have been omitted because the author decided it was not used/needed for a particular system and driver- and rightly so
Quote:
>The assert means that the condition should be true. If it's not then there's a problem somewhere, either the guest sent some unexpected commands >or there's a problem with emulation. Commenting the assert won't help as it's there to make sure it won't break later.

I wrote with exclamation marks that it was a test and I would never leave it like that in my life The test was successful because it showed that AOS is able to work with its lsi53c810 driver, making the correct drive data available.

Unfortunately, I am unable to debug this problem. I hope you find a solution

Go to top


Re: Sam460 which file systems can be used
Not too shy to talk
Not too shy to talk


@balaton
Quote:
you could do by replacing nonvolatile.library to use nvram/nvrom.txt as @joerg said


After reading lsi53c8xx_dev.doc I changed the card identification in the qemu sources.
In the documentation it even says that the cart "0x0001" should work but requires lsi53c8xx_override 0001
I have not touched anything in the system. I especially didn't want to change anything in the CD.
I wanted sam460 to behave as if it already had the correct card inserted at the start.

Go to top


Re: Sam460 which file systems can be used
Not too shy to talk
Not too shy to talk


@joerg
I did as you wrote.
QEMU Sam460 and Pegasos(pegasos.rom) when trying to initialise after loading the kernel and AOS4 modules from the cd it crashes.
--
 
in lsi_do_command(LSIState *s)
 ..
 
assert(s->current == NULL
 --

EMU launch command line Sam460
-machine sam460ex -rtc base=localtime -drive if=none,id=cd,file=Sam460InstallCD-53.58.iso,format=raw  -device ide-cd,drive=cd,bus=ide.1  -device lsi53c810,id=scsi0 -device scsi-hd,drive=scsi-drive,bus=scsi0.0,channel=0,scsi-id=0,lun=-drive file=lol.hdf,if=none,id=scsi-drive,if=none,format=raw

!!!Just for a test I did a rem "assert"!!!
sam460 sees the card and the disk. The problem is on the QEMU side. Most people from what I have seen are tuning the lsi53c810 to run linux via QEMU. It is possible that no one has tried this on AOS before and it doesn't work and the lsi53c810 itself in QEMU needs to be checked.

Resized Image

Pegasos bboot hangs on something like this and booting AOS4 (debug) is stopped
--
[
peg2ide/init_portPort 1 task started
[peg2ide/dev_initAll done
lsi53c8xx
.device 53.22 (28.6.2017)
[
lsi53c8xx/dev_initFound chip #0
[lsi53c8xx/ide_initchipWaiting for devices to spin up..
[
lsi53c8xx/init_port] ---> Port 0
[lsi53c8xx/scsi_scanScanning SCSI bus...
--

Go to top



TopTop
(1) 2 3 4 ... 14 »




Powered by XOOPS 2.0 © 2001-2023 The XOOPS Project