Fienix - New PowerPC Distro

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

Re: Fienix - New PowerPC Distro

Post by xeno74 »

Hypex wrote: Sat Apr 18, 2020 3:28 pm Okay never mind. Decided to wipe it. Can't believe rsync was sitting there over an hour copying only what was needed. I did a dd with a BS of 16M and it was done in 2 minutes! :shock:

Then I put on the modules. And rebooted into it. It loaded up and kernel was booting. Butt then it stopped on a blinking cursor. Keyboard was dead, no response.

I booted it with kernel4.19. Could it be too old? Suspect I need to match version of X5000 modules inside.
I would recommend to use a new kernel like the stable kernel 5.6. You don't need the kernel modules for booting the kernel because all the support for booting is compiled in the kernel including Radeon firmwares. Which graphics card is installed in your X1000?
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
User avatar
Hypex
Beta Tester
Beta Tester
Posts: 645
Joined: Mon Dec 20, 2010 2:23 pm
Location: Vic. Australia.

Re: Fienix - New PowerPC Distro

Post by Hypex »

xeno74 wrote: Sat Apr 18, 2020 3:42 pmI would recommend you to use "dd" instead of rsync. After that you can expand the file system with "resize2fs" to the total size of the partition.\
After my experience I agree. However I'm now stuck resizing it. Due to a dependency issue. I set up a ~10GB partition for it as the last one on my HDD. I removed some partitions that looked redundant and also because I had more than 16 which didn't show up in Disks.

The first issue is that now takes up the rest of the drive, so the 10GB space I prepared for it now takes up almost 250GB!

The second issue, is that I can''t resize it. The Ext4 format is too modern. My Ubuntu 12.04 tools are too old and won't touch it.

I am however able to boot off my Debian Jessie install from my XE, which is newer, but that complains as well!

I may need to write it to USB instead or make another partition. Then fix it from my Linux laptop. Since the original Fienix instructions say it needs to be checked before it can be booted.
I would recommend to use a new kernel like the stable kernel 5.6. You don't need the kernel modules for booting the kernel because all the support for booting is compiled in the kernel including Radeon firmwares. Which graphics card is installed in your X1000?
Okay will try that one thanks. I have an R7 250.
User avatar
xeno74
Posts: 9349
Joined: Fri Mar 23, 2012 7:58 am

Re: Fienix - New PowerPC Distro

Post by xeno74 »

Hypex,

Please note: You can’t login to the default Fienix desktop with your graphics card because it needs hardware 3D acceleration. Please remove Compton in another console (CTRL + Alt + F1) with "apt-get remove compton" and after that restart LightDM with "systemctl restart lightdm". Now, you can login to the default Fienix desktop.

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

Running Linux on AmigaONEs can require some tinkering.
User avatar
Hypex
Beta Tester
Beta Tester
Posts: 645
Joined: Mon Dec 20, 2010 2:23 pm
Location: Vic. Australia.

Re: Fienix - New PowerPC Distro

Post by Hypex »

Thamks for the hint xeno74. I haven't got that far. I'm experiencing an issue with kernel 5.6. It's giving me this. Need to check I've got the right version.

Code: Select all

OF stdout device is: /bootconsole
Preparing to boot Linux version 5.6.0_A-EON_X1000_Nemo (christian@christian-TUXEDO-InfinityBook-14-v2) (gcc version 7.5.0 (Ubuntu 7.5.0-3ubuntu1~18.04)) #1 SMP PREEMPT Mon Mar 30 10:32:12 CEST 2020
Detected machine type: 0000000000000500
command line: console=tty0 root=/dev/sdc2
memory layout at init:
  memory_limit : 0000000000000000 (16 MB aligned)
  alloc_bottom : 0000000048000000
  alloc_top    : 0000000030000000
  alloc_top_hi : 0000000080000000
  rmo_top      : 0000000030000000
  ram_top      : 0000000080000000
boot cpu hw idx 0
starting cpu hw idx 1... [run1]done
adding interrupt-controller property for SB600...
Changing device_type of SB600 node...
copying OF device tree...
Can't allocate initial device-tree chunk
[EXCP]*** program exit status = 0
[CFE ]CFE>
It is able to exit into CFE. Without it crashing right after so the exit code needs to be examined as this is a rarity. However, the error is cleared off screen, so without a serial console in effect useless.
User avatar
xeno74
Posts: 9349
Joined: Fri Mar 23, 2012 7:58 am

Re: Fienix - New PowerPC Distro

Post by xeno74 »

Hypex,

Thanks a lot for reporting the issue. Have you tested any old kernels (5.5, 5.4, etc) because of this issue yet? Maybe we can figure out where the issue is and fixing it.

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

Running Linux on AmigaONEs can require some tinkering.
User avatar
Hypex
Beta Tester
Beta Tester
Posts: 645
Joined: Mon Dec 20, 2010 2:23 pm
Location: Vic. Australia.

Re: Fienix - New PowerPC Distro

Post by Hypex »

Sorry xeno74, the problem is my fault. I didn't realise it but I had a rogue ramdisk messing up the kernel. If you notice the alloc_bottom was rather high. I cleared out the ramdisk and the kernel loaded fine. I didn't test any other kernels after finding the source to the corruption.

But it gets stuck. The kernel gets to the log in and then a cursor is all that remains from the USB image. Off HDD the screen goes blank at that point. I wonder if I need to use a nomodeset option or chroot to remove some packages.
User avatar
xeno74
Posts: 9349
Joined: Fri Mar 23, 2012 7:58 am

Re: Fienix - New PowerPC Distro

Post by xeno74 »

Hypex wrote: Wed Apr 22, 2020 5:48 pmThe kernel gets to the log in and then a cursor is all that remains from the USB image. Off HDD the screen goes blank at that point. I wonder if I need to use a nomodeset option or chroot to remove some packages.
Hi Hypex,

Have you already removed Compton in another console (CTRL + ALT + F key) with "apt-get remove compton"?

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

Running Linux on AmigaONEs can require some tinkering.
User avatar
Hypex
Beta Tester
Beta Tester
Posts: 645
Joined: Mon Dec 20, 2010 2:23 pm
Location: Vic. Australia.

Re: Fienix - New PowerPC Distro

Post by Hypex »

xeno74 wrote: Wed Apr 22, 2020 9:29 pm Hi Hypex,

Have you already removed Compton in another console (CTRL + ALT + F key) with "apt-get remove compton"?
I haven't, no. Because I'm unable to reach a console. There is no response from the keyboard. I was trying to follow the instructions from the Fienix blog. I'm think I might need to boot in single user mode or recovery mode. Or chroot from a working system to remove Compton. To stop it being straight outta Compton. :-)
User avatar
SteveH
Beta Tester
Beta Tester
Posts: 100
Joined: Mon Dec 20, 2010 1:16 pm
Location: Liverpool, UK
Contact:

Re: Fienix - New PowerPC Distro

Post by SteveH »

I decided to install Fienix on my X1000 after reading Trevor's blog but I have not been able to get it to load (screenshot shows how far it gets: https://newsnumeracy.files.wordpress.co ... x_boot.jpg )
I followed the instructions on Casey's blog and downloaded and installed the 4.20 kernel and kernel modules directory to USB.
But when I tried to download the Fienix image, the link was broken - instead, I grabbed Fienix Soar from this forum (fienix-soar_3.0-20200412.img).
Any suggestions what I am doing wrong?
Thanks,
Steve
User avatar
xeno74
Posts: 9349
Joined: Fri Mar 23, 2012 7:58 am

Re: Fienix - New PowerPC Distro

Post by xeno74 »

SteveH wrote: Fri Apr 24, 2020 12:00 pm I decided to install Fienix on my X1000 after reading Trevor's blog but I have not been able to get it to load (screenshot shows how far it gets: https://newsnumeracy.files.wordpress.co ... x_boot.jpg )
I followed the instructions on Casey's blog and downloaded and installed the 4.20 kernel and kernel modules directory to USB.
But when I tried to download the Fienix image, the link was broken - instead, I grabbed Fienix Soar from this forum (fienix-soar_3.0-20200412.img).
Any suggestions what I am doing wrong?
Thanks,
Steve
Hi Steve,

Did you create two partitions on a USB flash drive? You need to create a small FAT16 boot partition and a big partition without a file system. Copy the Linux kernel (zImage) to the first small FAT16 boot partition. After that copy the Fienix img with 'dd' from a Linux distribution (x86, PPC etc) or with the USB image Tool from Windows to the second big partition.

For example the partition /dev/sdd2 on a USB flash drive:

Code: Select all

sudo dd if=fienix-soar_3.0-20200412.img of=/dev/sdd2
You can boot it with the following commands (for example from /dev/sdd2):

Code: Select all

setenv bootargs "root=/dev/sdd2 rootdelay=5"

Code: Select all

boot -elf -noints -z -fatfs usbdisk0:zImage-5.6
Cheers,
Christian
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
Post Reply