Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
25 user(s) are online (15 user(s) are browsing Forums)

Members: 1
Guests: 24

cloverskull, more...

Support us!

Headlines

Forum Index


Board index » All Posts (smarkusg)




Re: Sam460LE - linux Debian / Ubuntu instalation questions
Not too shy to talk
Not too shy to talk


@all

I am adding information about my status on the forum as the topic will not be developed from my side.

https://www.amigans.net/modules/newbb/viewtopic.php?topic_id=9701

Go to top


Saying goodbye to AmigaOS 4
Not too shy to talk
Not too shy to talk


I didn't say hello to the forum, but it's time to say goodbye to the AOS4 platform for a while.....
It was great meeting you all and thanks to everyone on this forum.
Maybe someone will pop the champagne, maybe not. Maybe I have helped someone, maybe not, but I am very happy to have met you all.
The reasons for my departure from AOS4 are many and this is not the time to go into them.
If anyone needs anything let me know... (linux disk images for hardware, program sources, questions...) All I tried to do was open source and share what I could.

As a farewell I leave you with a little video about the emulation and what I was able to do with my hardware.
Music by H0ffman of course - the guy is amazing.





Greetings!!!

PS
My A500 died recently and I have a new friend who is probably waiting for AOS3
https://youtube.com/shorts/TLne-x80aTU?feature=share

Amiga Rulez!

Go to top


Re: Sam460LE - linux Debian / Ubuntu instalation questions
Not too shy to talk
Not too shy to talk


@Hypex
I'm not in a position to help you. I'm not too familiar with these topics.

All@
Regarding QEMU and Sam460.
I recompiled the latest UBoot 2015.c with the fixes from Uboot that is included in the QEMU package.
The changes in UBoot 2015.c have resulted in a USB working in the QEmu emulation of Sam460 .... Youpi!!!
Many thanks to ACube Systems

Resized Image

Resized Image

Go to top


Re: Sam460LE - linux Debian / Ubuntu instalation questions
Not too shy to talk
Not too shy to talk


@jabirulo

VirtIOGPU is only useful for emulation. It is only used because Linux allows it. It has nothing to do with real hardware.
I think there was a recent update to uboot under sam460 that allowed Radeon RX cards to initiate graphics mode on startup.

OT: Many thanks to ACube for making the change available according to the license and links to the uboot source code.

If this happens it should be possible to use fbdev with Linux. I am guessing because I have no way of checking this.
Quote:

@smarkusg is there a way that you can create a (minimal) bootable image of your SAM460's linux system so we can try it from an USB? (yep I'm that kind of lazy guy)


yes, it can be done

Go to top


Re: NGFS new version
Not too shy to talk
Not too shy to talk


@vagappc

NGFS is not very fast at copying - not the fastest system.
Here is @mufa's test https://youtu.be/HMCxxFOxKgs?t=2283
(include subtitles in English)

Go to top


Re: Sam460LE - linux Debian / Ubuntu instalation questions
Not too shy to talk
Not too shy to talk


I managed to install Debian on sam460 under Qemu up to the sid version (actually Trixie) - Rolling release.
On a real hardware should also work.
Maybe someone will find it useful.

The best method is to install Debian Jessie with the minimum number of packages - just the base.
After the installation you can encrypt Debian to Buster using snapshot.debian.org and the debian-ports archive.
You need to aim for the day after the release of Buster where the stable packages land into the development version. Buster was released on 6 July 2019 so the date 7 July 2019 would be correct.

Add to /etc/apt/sources.list
Quote:
deb [trusted=yes] http://snapshot.debian.org/archive/debian-ports/20190707T030657Z/ sid main

apt update
apt dist-upgrade


After the accouterment to Bullseye, it is time for an update to Bullseye. Metpoda same - release date 14 August 2021 - our date is 15 August 2021

add to /etc/apt/sources.list

Quote:
deb [trusted=yes] https://snapshot.debian.org/archive/debian-ports/20210814T015932Z/ sid main
apt update
apt dist-upgrade


Now the important bit !!! - if you already have Bullseye and want to further upgrade your system, it is mandatory to install the ‘usrmerge’ package before proceeding.
Quote:
apt-get install usrmerge


Also add an entry to the apt configuration
Quote:
echo ‘Acquire::Check-Valid-Until false;’ > /etc/apt/apt.conf.d/10-nocheckvalid

Now add the Debian sid repository with debian-port to apt/sources.list t
Quote:
deb [trusted=yes] http://ftp.de.debian.org/debian-ports/ sid main contrib non-free non-free-firmware
apt update
apt dist-upgrade


Upgrade the system
If all goes well, we have installed the latest development version of Debian ppc on Sam460 - see Sam460 in 2024
Now we can install any other packages we need, such as a desktop environment. Clean up /etc/apt/sources.list of unnecessary package sources.
I don't have a real Sam460 and Radeon - whether everything works will have to be checked by someone who has that hardware and is interested in the subject.

When installing, you can add debian-keyring or manually ‘key’ - but this should not be necessary.


Kernel compilation topic. It would be useful to update it from version 3.9 as it is to 5.4 or 5.10. You could also update to the latest. Even sma systemd will work better.
The kernel and patch configuration itself is in the package that Spectre660 made.
The compiler if someone doesn't want to install from cross binary packages.
https://github.com/narke/gcc-cross-compiler

Standard
make ARCH=powerpc CROSS_COMPILE=ppc-linux-gnu- menuconfig
make ARCH=powerpc CROSS_COMPILE=ppc-linux-gnu- uImage
make ARCH=powerpc CROSS_COMPILE=ppc-linux-gnu- INSTALL_MOD_STRIP=1 INSTALL_MOD_PATH=/tmp/ppc modules_instal
make ARCH=powerpc CROSS_COMPILE=ppc-linux-gnu- canyonlands.dtb

The uImage and canyonlands.dtb core is in ./arch/powerpc/boot/uImage
The modules are placed in /tmp/ppc

The kernel must be reasonably small - it is best to use -Os for selection and set anything unnecessary as kernel modules.
If the kernel is small, you can use -O2, but note that the size of the kernel itself cannot be smaller than 8MB.

You can see how under QEMU it works in a quick video - > https://youtu.be/w4PefDTT6Og

Resized Image

There is another issue regarding QEMU on PPC/LE and virtio-gpu-gl-pci. VIRTIO_GPU_FEATURE_VIRGL is disabled in Linux kernels and for LE systems.
https://www.uwsg.indiana.edu/hypermail ... /kernel/1509.2/04780.html
This state has been in place for 9 years are current kernel releases.

For those interested - enjoy


Edited by smarkusg on 2024/11/22 22:52:43
Edited by smarkusg on 2024/11/22 22:55:20
Edited by smarkusg on 2024/11/22 23:11:30
Edited by smarkusg on 2024/11/22 23:13:01
Edited by smarkusg on 2024/11/22 23:15:33
Edited by smarkusg on 2024/11/22 23:38:55
Edited by smarkusg on 2024/11/23 9:46:16
Go to top


Re: Sam460LE - linux Debian / Ubuntu instalation questions
Not too shy to talk
Not too shy to talk


@sailor
Great that you managed to get everything working

After your post I got a bit interested in Linux on sam460.
The topic is more related to QEMU. I've actually made myself a kernel with some patches and ran some things on virtio (gpu,fb,net,blk-pci...).
I hope that after a few system updates I will be able to run everything in ‘X’

Resized Image


Greetings

Go to top


Re: Sam460LE - linux Debian / Ubuntu instalation questions
Not too shy to talk
Not too shy to talk


@sailor

In my case, USB does not work on QEMU.
I made a bootable CD with kernel and parameters to boot Linux from disk.
The system boots correctly.
You can try this way if others fail.

Resized Image


I used genisoimage to make the CD.
I found the information on this site: http://www.locati.it/mario/sam460/squeeze/

Go to top


Re: Sam460LE - linux Debian / Ubuntu instalation questions
Not too shy to talk
Not too shy to talk


@sailor
Quote:
I manually set actual repository: to archive.debian.org and /debian/
( where today old ppc debian distros are located )
But i receive warning:
anna[5106]: WARNING **: bad d-i Packages file
anna[5106]: wget: server returned error: HTTP/1.1 404 Not Found
and installation not continues...


Do not use archive.debian.org - it is a package archive, it does not contain ‘debian-installer’ information
Use snapshot.debian.org.
This should work for you to avoid problems with gpg
‘Debian archive mirror hostname:’ snapshot.debian.org
‘Debian archive mirror directory: /archive/debian/20150501T042823Z/

Have fun

EDIT:

I checked on the site you provided the iso of debian jessie - >http://www.xenosoft.de/Sam460ex_Debian_Jessie-3.iso
The netinstall installation works. It should work for many, many years to come ...snapshot.debian.org is maintained from various funding sources and debian itself is the basis for various other distributions.

I will leave a message if anyone wants to do something with QEMU emulation of sam460ex (debagging, playing around, etc. ...).
The easiest way is to rewrite the hexeditor bootloader command line to spit out the linux console on the system console by changing the entries only to ‘console=ttyS0’.

I attach a picture

Resized Image


Edited by smarkusg on 2024/11/9 21:23:35
Edited by smarkusg on 2024/11/9 21:24:16
Edited by smarkusg on 2024/11/9 21:25:03
Go to top


Re: AmigaOne x5000 Thread
Not too shy to talk
Not too shy to talk


@Maijestro
Quote:
My hardware will contain a Soundblaster Audigy FX 5.1.

Did you buy this card separately or did you get it in a set with x5000 ?
If you bought it in a set then ... I am at a loss for words


https://www.amigans.net/modules/newbb/ ... id=147892#forumpost147892

Go to top


Re: TI-99/4a emulator
Not too shy to talk
Not too shy to talk


@MazinKaesar
If this is what you meant, you have the file link in a private message
https://www.mrousseau.org/programs/ti99sim/

Go to top


Re: SDL_Mixer library doesn't support MIDI?
Not too shy to talk
Not too shy to talk


@K-L
Let me put it this way ...
If someone ever told you that their emulation is faster in performance tests than real PPC hardware, feel free to give them your test suite.
The benchmarks that are currently available do not reflect the true performance of emulation.
FluidSynth, even with a very small test bank of SF2 thanks, is not able to generate an approximation to the Sam460 - not even generate it.
The A1222 is omitted because it is ... a different approach to PPC hardware to put it mildly.

Go to top


Re: Qt 6 progress
Not too shy to talk
Not too shy to talk


@elfpipe
You are right. It's your project, it's cool that you have a plan as you presented it
I, for now, will leave my expemperiments for my own use.
I won't litter this topic with my posts.
Thank you for your time.

Go to top


Re: SDL_Mixer library doesn
Not too shy to talk
Not too shy to talk


Thank you @K-L ,@Samir and @McFly for checking !!!!
In my case as I wrote (QEMU) I have too weak FPU on FluidSynth*.

Here a video posted by @K-L for those interested in the topic
video - > https://video.amiga-ng.org/w/nMSZQ9ERiTzagXCrnYC8Xx

Go to top


Re: Qt 6 progress
Not too shy to talk
Not too shy to talk


@elfpipe
I have a question about file handling in QT6.
Are you going to use the native AOS4 dialogs for file handling or should file handling be done with Qt?

In order to have the Amiga name displayed in the AOS4 interface, it is simple.
You can change this in qfilesystemmodel.cpp- >QString QFileSystemModelPrivate::displayName(const QModelIndex &index) const
In order for Amiga files to be displayed correctly in qfiledialog.cpp, I had to add code to QT to handle it (similar to Windows). I have tentatively managed to do this, I still need to finish it.
However, I noticed that the native AOS4 file handling windows are faster. I have added the code from QT4 (print to pdf dialog)
I'm asking because I don't really know what your plans are on this topic
here you have a movie test only with the change of ‘displayName’ , test2 with support for AOS4 paths

video -> https://youtu.be/5QH_IK8EX-k

Thanks for your help and guidance

Go to top


Re: Qt 6 progress
Not too shy to talk
Not too shy to talk


@afxgroup

It works - thank you very much for fixing it

Go to top


Re: Qt 6 progress
Not too shy to talk
Not too shy to talk


@elfpipe

I have quickly rebuilt clib4 with debug enabled.
It looks something like this
(libInitCurrent Exec debug level7
/work/piaskownica/QT/clib4/library/libc_init_global.c:72:Entering reent_init
/work/piaskownica/QT/clib4/library/stdlib/semaphore.c:11:Entering __create_semaphore
/work/piaskownica/QT/clib4/library/stdlib/semaphore.c:15:semaphore 0x68557970
/work/piaskownica/QT/clib4/library/stdlib/semaphore.c:16Leaving __create_semaphore
/work/piaskownica/QT/clib4/library/stdlib/semaphore.c:11:Entering __create_semaphore
/work/piaskownica/QT/clib4/library/stdlib/semaphore.c:15:semaphore 0x685579A0
/work/piaskownica/QT/clib4/library/stdlib/semaphore.c:16Leaving __create_semaphore
/work/piaskownica/QT/clib4/library/libc_init_global.c:305:Allocating wide_status
/work/piaskownica/QT/clib4/library/libc_init_global.c:334:Setting cpu family
/work/piaskownica/QT/clib4/library/libc_init_global.c:338:Check if altivec is present
/work/piaskownica/QT/clib4/library/libc_init_global.c:342:Allocating __memalign_pool
/work/piaskownica/QT/clib4/library/libc_init_global.c:362:Try to get elf handle for dloperations
/work/piaskownica/QT/clib4/library/libc_init_global.c:364:Calling GetProcSegList
/work/piaskownica/QT/clib4/library/libc_init_global.c:369:Calling GetSegListInfoTags
/work/piaskownica/QT/clib4/library/libc_init_global.c:401:Check for .unix file
/work/piaskownica/QT/clib4/library/libc_init_global.c:413:Set signal table to SIG_DFL
(libOpenIClib4 is NULLGet interface
(
libOpenDropInterface
() /work/piaskownica/QT/clib4/library/misc/uuid.c:80:[uuid4_generate :] result 

(
libOpenc2n.pid 131
(libOpenc2n.pPid 62
(libOpenc2n.uuid afc7ccb2-3d71-4f7a-b043-d9d2a651405b
[DOSERRORWaitPkt() got a messageNOT a DosPacket, - bouncing it.
(
libOpenEnabling clib4 optimizations
(libOpenUsing Altivec family functions


this message only appears if I try to run the QT program from icon(workbench)
[DOS] ERROR: WaitPkt() got a message, NOT a DosPacket, - bouncing it.

I will rebuild QT with DEBUG and paste possibly what QT shows
(weekend is coming and I may not have time today - I will paste when I rebuild)

Thanks for your help

Go to top


Re: SDL_Mixer library doesn't support MIDI?
Not too shy to talk
Not too shy to talk


@K-L

check pw message
let us know how it works. if it doesn't work well it was always worth a try/check.
Thank you so much for your time

Go to top


Re: Qt 6 progress
Not too shy to talk
Not too shy to talk


@elfpipe

My compilation is cross-compilation not native.

I was reminded that I once encountered a similar problem with one SDL2 frontend to ffmpeg under clib4 under c++
If I find this program and make sure this is the case, I will definitely report the problem on the clib4 github.

Go to top


Re: SDL_Mixer library doesn't support MIDI?
Not too shy to talk
Not too shy to talk


@K-L

FluidSynth under Morphos is not built on FluidSynth on the basic version only on ....
Fluidsynth sans GLib - what I checked. As you wrote, it probably even requires a better machine than mine (QEMU) to work. Even Beworld writes that in the README to BePlayer about CPU problems.

Resized Image

I hope nobody gets offended about the Morphos screen on the AOS4 forum.
I have met people in the MorphOS community who are very good at helping each other regardless of which system they use. Greetings !!!


You wrote that it would be nice if there was a version of FluidSynth for AmigaOS 4.1
I'll try to send my test files I made some time ago to someone who has a x5000 if my expertiments work.... I will let you know
Greetings and thank you for your help

Go to top



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




Powered by XOOPS 2.0 © 2001-2024 The XOOPS Project