Fienix - New PowerPC Distro

AmigaOne X5000 platform specific issues related to Linux only.
User avatar
xeno74
Posts: 9375
Joined: Fri Mar 23, 2012 7:58 am

Re: Fienix - New PowerPC Distro

Post by xeno74 »

xeno74 wrote: Fri May 01, 2020 10:29 am VLC 3.0.9.2-1 doesn't work on my X5000.

Code: Select all

VLC media player 3.0.9.2 Vetinari (revision 3.0.9.2-0-gd4c1aefe4d)
Illegal instruction
The old version 3.0.4.20200404fienixbuild is still available via Synaptic (Menu Package - Force Version... - Force version: 3.0.4.20200404fienixbuild (additional)) and works without any problems.

Code: Select all

VLC media player 3.0.4 Vetinari (revision 3.0.4-0-gf615db6332)
[010bdbe0] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
caseycullen wrote: I removed 3.0.9 for now - the supporting libraries and plugins are still the 3.0.9 version for dependencies but 3.0.4 will launch instead
Great! Thanks a lot!
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
User avatar
kilaueabart
Posts: 1071
Joined: Mon Mar 05, 2012 2:36 am

Re: Fienix - New PowerPC Distro

Post by kilaueabart »

caseycullen wrote: Tue May 05, 2020 12:47 am I guess I'm a bit confused about what is happening. You copied the image successfully before, you just got a usb error when you tried booting from the USB (which is generally resolved by entering "usb reset" as the first U-Boot command, before "setenv bootargs ...").
When you say "it disappeared", did you try going to the GParted menu and click on Refresh Devices?
I copied the archived image successfully from the site on the preceding page to my Ubuntu downloads. I tried copying the unarchived image to my usb drive, with limited success. The Places menu on Ubuntu shows USB drive versions of FIENIX-DISK and FIENIX-BOOT.
If I click on FIENIX-DISK I get

"Unable to mount FIENIX-DISK Error mounting /dev/sdc2 at /media/bart/FIENIX-DISK: Command-line `mount -t "ext4" -o "uhelper=udisks2,nodev,nosuid" "/dev/sdc2" "/media/bart/FIENIX-DISK"' exited with non-zero exit status 32: mount: wrong fs type, bad option, bad superblock on /dev/sdc2, missing codepage or helper program, or other error"
Unfortunately all that means to me so far is that something apparently didn't get copied right.

If I click on FIENIX-BOOT it opens and shows the items it should. But if I try to fatload the uImage-5.5 therein, Uboot tells me it can't read it. And this is after a usb reset.

The time it disappeared, GParted was on-screen and of course continued to show /dev/sdc from which I had just deleted two partitions resulting from a previous copy attempt as unallocated. It was after Refresh Devices that it disappeared from GParted. It is back at the moment (!) but as usual there is a warning "Corrupt extent header while reading journal super block."

I have compared the dumpe2fs results I get for the USB copy with the February(?) soar on disk. A lot of the data is exactly identical, but these differences might be significant. The ones starting with * are from the usb drive.
Inode count: 6580352
*Inode count: 260608
Block count: 26464000
*Block count: 1024000
Reserved block count: 1323172
*Reserved block count: 51198
Free blocks: 23277779
*Free blocks: 110912
Free inodes: 6359435
*Free inodes: 38500
User avatar
xeno74
Posts: 9375
Joined: Fri Mar 23, 2012 7:58 am

Re: Fienix - New PowerPC Distro

Post by xeno74 »

Hi All,

I only successfully upgraded my Fienix installations to version 3.0-20200426 on my X1000 and X5000/40 last weeks. Additionally I tested the Fienix image in a virtual e5500 QEMU/KVM-HV machine on my X5000/40 successfully.

Today, I successfully copied the Fienix image 3.0-20200426 with "dd" to a SanDisk Ultra USB pen drive under ubuntu MATE 16.04.6 PowerPC.

After that I was able to boot it from the SanDisk Ultra USB pen drive.

Then I rebooted to ubuntu MATE 16.04.6 PowerPC again and successfully expanded the file system "FIENIX-DISK"with "GParted" to the total size of the SanDisk Ultra USB pen drive.

I didn't need Skateman's new resize tools for expanding the file system "FIENIX-DISK"with "GParted" under ubuntu MATE 16.04.6 PowerPC.

Screenshot of Fienix 3.0-20200426 with the stable kernel 5.5.11 booted from a SanDisk Ultra USB pen drive:

Image

It wasn't really a difficult task to copy the Fienix img to a USB pen drive and it didn't take a long time.

Please use a good USB pen drive for example from SanDisk with a big size.

Cheers,
Christian
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
User avatar
xeno74
Posts: 9375
Joined: Fri Mar 23, 2012 7:58 am

Re: Fienix - New PowerPC Distro

Post by xeno74 »

kilaueabart wrote: Tue May 05, 2020 7:47 pm "Unable to mount FIENIX-DISK Error mounting /dev/sdc2 at /media/bart/FIENIX-DISK: Command-line `mount -t "ext4" -o "uhelper=udisks2,nodev,nosuid" "/dev/sdc2" "/media/bart/FIENIX-DISK"' exited with non-zero exit status 32: mount: wrong fs type, bad option, bad superblock on /dev/sdc2, missing codepage or helper program, or other error"
Please try "dd" again. Maybe you need a better USB pen drive. I can recommend you SanDisk Ultra USB pen drives.
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
User avatar
xeno74
Posts: 9375
Joined: Fri Mar 23, 2012 7:58 am

Re: Fienix - New PowerPC Distro

Post by xeno74 »

I also successfully copied the Fienix image 3.0-20200426 with "dd" to the Amiga On The Lake Fienix USB pen drive under ubuntu MATE 16.04.6 PowerPC on my X1000.

Screenshot of Fienix 3.0-20200426 with the stable kernel 5.5.11 booted from the AOTL USB pen drive:

Image

Link to the test thread
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
User avatar
xeno74
Posts: 9375
Joined: Fri Mar 23, 2012 7:58 am

Re: Fienix - New PowerPC Distro

Post by xeno74 »

Image

Instructions for Booting Fienix 3.0-20200426 With an Initial Ramdisk.


With an initial ramdisk (initrd) you can boot Fienix 3.0-20200426 with the name of the partition. You don't need to know the device file of the root partition on your disk.

NOTE: I recommend you to use older Radeon HD 6xxx, 5xxx, and 4xxx series graphics cards. With these graphics cards you have hardware 3D acceleration. I use a Radeon HD6970 (Cayman XT) in my X1000 and X5000. The Cayman cards are the fastest and last released Radeon cards with support for hardware 3D acceleration on Linux PPC Big Endian. New cards don't always work on Linux PPC and they can't use hardware 3D acceleration.

Prepare the USB Disk

You will need an 8 GB or larger USB disk in a very good quality for example a SanDisk Ultra USB drive. Please don't use cheap and old USB drives.
  1. Download the initrd for the stable kernel 5.5: initrd-5.5-rc7-X1000_X5000.tar.gz
  2. Download Fienix 3.0-20200426: fienix-soar_3.0-20200426.img.tar.gz
  3. With your system powered on, insert a USB disk that is at least 8 GB into a USB port
  4. If you use Linux then determine the /dev path to your USB disk using one of the below methods:
    • In a terminal as su or sudo, enter "fdisk -l"
    • In a terminal as su or sudo, enter "parted -l"
    • Check the GParted menu in the upper-right corner
  5. These instructions assume the /dev path to your USB disk is /dev/sdz; however, your actual /dev path is likely to be different - use the actual /dev path to your USB disk
  6. In a terminal as su or sudo, enter the below command:

    Code: Select all

    dd if=/path/to/fienix-soar_3.0-20200426.img of=/dev/sdz
    where "/dev/sdz" is the /dev path to your USB disk
    NOTE: this is a multi-partition disk image; do not attempt to copy the image to a specific partition - you need to enter the /dev path to the disk, not to a partition (use "/dev/sdz", not "/dev/sdz2")

    If you use Windows then you can copy the Fienix img with the USB Image Tool (On the left panel, select your USB disk and then click the "Restore" button and select the Fienix disk image).
  7. Copy the intial ramdisk (uInitrd-5.5) to the first partition of your USB disk (FIENIX-BOOT)
Boot to Fienix

With the following commands you can boot Fienix 3.0-20200426 with an initial ramdisk from a USB disk:
  1. Code: Select all

    usb reset
  2. Code: Select all

    setenv bootargs root=LABEL=FIENIX-DISK rootdelay=5
  3. Code: Select all

    fatload usb 0:1 1000000 uImage-5.5
  4. Code: Select all

    fatload usb 0:1 1c00000 cyrus_p5020_eth_poweroff.dtb
  5. Code: Select all

    fatload usb 0:1 2000000 uInitrd-5.5
  6. Code: Select all

    bootm 1000000 2000000 1c00000
username: fienix
password: fienixPW
root password: rootAdminPW

I successfully tested these instructions with my A-EON AmigaOne X5000/40 today.

Screenshot:

Image

Please test it.

Thanks,
Christian
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
Fogg_80
Posts: 41
Joined: Sat Jun 18, 2011 11:15 pm

Re: Fienix - New PowerPC Distro

Post by Fogg_80 »

Ohhh yes! A very nice simple guide. Thank you much.
User avatar
trevordick
A-Eon Technology
A-Eon Technology
Posts: 1385
Joined: Mon Dec 20, 2010 1:28 pm

Re: Fienix - New PowerPC Distro

Post by trevordick »

Thanks Christian, I will give it another try.

Update: Well that worked Christian. :-) Thank you

https://drive.google.com/file/d/1YsQm4k ... sp=sharing

TrevorD
I'm just Breezin'
User avatar
xeno74
Posts: 9375
Joined: Fri Mar 23, 2012 7:58 am

Re: Fienix - New PowerPC Distro

Post by xeno74 »

trevordick wrote: Fri May 08, 2020 1:02 am Thanks Christian, I will give it another try.

Update: Well that worked Christian. :-) Thank you

https://drive.google.com/file/d/1YsQm4k ... sp=sharing

TrevorD
Great! Many thanks for testing!
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
User avatar
xeno74
Posts: 9375
Joined: Fri Mar 23, 2012 7:58 am

Re: Fienix - New PowerPC Distro

Post by xeno74 »

Hi All,

I created instructions for booting Fienix 3.0-20200426 with an initial ramdisk for the AmigaOne X1000 today.

Link: Fienix - New PowerPC Distro (X1000 thread)

The command "lspci" doesn't work on Fienix because it isn't included in the img.

You can install it with "apt install pciutils" as root. If Fienix can't find the pciutils package then run the command "apt update". Afterwards try to install it again.

Another good program is hardinfo. It displays system information about your AmigaOne and Fienix. You can install it with "apt install hardinfo". After that you can open it via Menu - System Tools - System Profiler and Benchmarks.

@Casey
Could you please add the pciutils and hardinfo packages to the img?
BTW, I had some problems to load the initial ramdisk and the zImage from the FAT32 FIENIX-BOOT partition with my X1000. I formatted this partition with FAT16 and copied the initial ramdisk and the kernels to this partition. After that I was able to load the initial ramdisk and boot Fienix with the zImage-5.5 or with vmlinux-5.5. I think we should use FAT16 for the FIENIX-BOOT partition in the future.

Screenshot of Fienix booted from a USB pen drive on a X1000:

Image

Have a lot of fun with Fienix!

Thanks,
Christian
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
Post Reply