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:
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:
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:
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:
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-compilerStandard
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/w4PefDTT6OgThere 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.htmlThis 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