Amiga.org

Operating System Specific Discussions => Linux PPC discussion => Topic started by: xeno74 on January 12, 2016, 02:10:19 PM

Title: A1-X1000: Linux Kernel 4.5
Post by: xeno74 on January 12, 2016, 02:10:19 PM
(http://www.supertuxkart-amiga.de/amiga/Linux-X1000.jpg) [SIZE=200]Linux kernel 4.5 testing[/SIZE]

It's snowy weather in Germany and the merge window for 4.5 is now open so I have time to test the latest kernel updates. :) A lot of updates were added for the kernel 4.5 yesterday. Thereby I released the first Alpha for testing today. I successfully tested the Alpha1 with Debian Sid, ubuntu MATE 16.04, and with Fedora today.

New:


Download: vmlinux-4.5-alpha1-AmigaONE_X1000.tar.gz (http://www.xenosoft.de/vmlinux-4.5-alpha1-AmigaONE_X1000.tar.gz)

(https://lh3.googleusercontent.com/-3AX7R_sU1w0/VpUFJrUr1-I/AAAAAAAAB7E/JACpUcotV4Q/w506-h380/Fedora_PPC64_with_kernel_4.5-alpha1_A1-X1000.png) (https://plus.google.com/115515624056477014971/posts/ccQjprUooS6)
Title: Re: A1-X1000: Linux Kernel 4.5
Post by: xeno74 on January 14, 2016, 12:18:22 AM
Hi All,

Darren solved the problem with the P.A. Semi Ethernet with the kernel config option PPC_PASEMI_IOMMU_DMA_FORCE. We don't need the source code for the P.A. Semi Ethernet in the Nemo patch anymore. I removed all these source code in the Nemo patch and then I activated the option CONFIG_PPC_PASEMI_IOMMU_DMA_FORCE in the kernel config.
After compiling and booting the Alpha2, the P.A. Semi Ethernet works without any problems.

@Darren: Many thanks for your help.

Download: vmlinux-4.5-alpha2-AmigaONE_X1000.tar.gz (http://www.xenosoft.de/vmlinux-4.5-alpha2-AmigaONE_X1000.tar.gz)

In addition it includes some new git merge updates for the kernel 4.5. (https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/log/ (https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/log/))

Cheers,

Christian
Title: Re: A1-X1000: Linux Kernel 4.5
Post by: xeno74 on January 15, 2016, 09:45:42 AM
Hi All,

There were a lot of updates for the kernel 4.5 in the Linux Git repository therefore I released the Alpha3 today.

New: Linux Git log (https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/log/)

Download: vmlinux-4.5-alpha3-AmigaONE_X1000.tar.gz (http://www.xenosoft.de/vmlinux-4.5-alpha3-AmigaONE_X1000.tar.gz)

Please note: The problems with the new interrupt handling and the P.A. Semi Ethernet are solved, kindly check the Alpha3 and let us know if you still face any problems. :-)

Virtual QEMU e500v2 machine on Debian Sid MATE PowerPC with kernel 4.5-alpha3:

(https://lh3.googleusercontent.com/-RqzZyAZgyUc/VpijDyA2KII/AAAAAAAAB7w/WEhEnjMve40/w506-h380/Virtual_QEMU_e500v2_machine_on_Debian_Sid_PPC_with_kernel_4.5-alpha3.png) (https://plus.google.com/115515624056477014971/posts/CmMHRkmupxY)

Cheers,

Christian
Title: Re: A1-X1000: Linux Kernel 4.5
Post by: xeno74 on January 17, 2016, 12:55:47 PM
The PowerPC updates for the kernel 4.5 were added to the Linux Git on Friday night.  I created the Alpha4 with these updates yesterday.

Download: vmlinux-4.5-alpha4-AmigaONE_X1000.tar.gz (http://www.xenosoft.de/vmlinux-4.5-alpha4-AmigaONE_X1000.tar.gz)

New:

SuSE 5.0 i386 from 1997 with QEMU on openSUSE 13.2 PPC64 with the Alpha4:

(https://lh3.googleusercontent.com/-tJwVULaaytY/VpuIJLRAq0I/AAAAAAAAB9Q/BRj0KZ05FpI/w506-h380/SuSE_5.0_i386_with_QEMU_on_openSUSE_13.2_PPC64.jpg) (https://plus.google.com/115515624056477014971/posts/V3LvxrjnLwz)
Title: Re: A1-X1000: Linux Kernel 4.5
Post by: xeno74 on January 19, 2016, 10:40:41 AM
Hi All,

I released the Alpha5 today. I compiled the AMDGPU driver as kernel module. I successfully tested it with SliTaz PPC Linux. With the following command I was able to start X11:

Code: [Select]

Xfbdev -retro -mouse mouse,device=/dev/input/mice -keybd evdev,,device=/dev/input/event2 | xterm -e amiwm


Sometimes it works with event1 or with event0 etc.

If you want to connect your SliTaz via SSH then use the username amigaone with the password amigaone.

New: Linux Git log (https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/log)

FYI: Many PowerPC Changes Line Up For Linux 4.5 -- phoronix.com (http://www.phoronix.com/scan.php?page=news_item&px=PowerPC-For-Linux-4.5)

Download: vmlinux-4.5-alpha5-AmigaONE_X1000.tar.gz (http://www.xenosoft.de/vmlinux-4.5-alpha5-AmigaONE_X1000.tar.gz)

SliTaz PPC Linux with the Alpha5 of kernel 4.5:

(https://lh3.googleusercontent.com/-Hd2aw3TjXKs/Vp4Pg_4OlcI/AAAAAAAAB-E/sMGXb3v5-4w/w506-h380/SliTaz_PPC_Linux_kernel_4.5-alpha5.png) (https://plus.google.com/115515624056477014971/posts/X7GpV6myNmk)

Cheers,

Christian
Title: Re: A1-X1000: Linux Kernel 4.5
Post by: xeno74 on January 20, 2016, 07:58:04 AM
Here is the Alpha6 without AMDGPU firmwares and AMDGPU support: vmlinux-4.5-alpha6-AmigaONE_X1000.tar.gz (http://www.xenosoft.de/vmlinux-4.5-alpha6-AmigaONE_X1000.tar.gz) (http://amigaworld.net/images/smilies/icon_smile.gif)

PLEASE test the Alpha6.
Title: Re: A1-X1000: Linux Kernel 4.5
Post by: xeno74 on January 20, 2016, 01:40:26 PM
Hi All,

I have released some Alpha7 kernels for testing today. :)

New: Linux Git log (https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/log/)

FYI:

vmlinux-4.5-a7-without-radeon -> Alpha7 with AMDGPU support but without Radeon support
vmlinux-4.5-a7-without-radeon_with_fb -> Alpha7 with AMDGPU support, without Radeon support but with FB support
vmlinux-4.5 -> Alpha7 with AMDGPU, Radeon, and FB support

Download: vmlinux-4.5-alpha7-AmigaONE_X1000.tar.gz (http://www.xenosoft.de/vmlinux-4.5-alpha7-AmigaONE_X1000.tar.gz)

I tested all these kernels with my XFX Radeon HD6870 today. The kernels vmlinux-4.5-a7-without-radeon and vmlinux-4.5-a7-without-radeon_with_fb boot but without screen output. I was able to login via SSH. Maybe the R7 and the R9 users have a screen output.
The kernel vmlinux-4.5 boots with screen output.

(https://lh3.googleusercontent.com/-Q_-iOrOyylw/Vp-G2ZT7OiI/AAAAAAAAB-4/BENr2JJ_BGk/w955-h523-no/ubuntu_MATE_16.04_PowerPC_kernel_4.5.0alpha7.png)

Cheers,

Christian
Title: Re: A1-X1000: Linux Kernel 4.5
Post by: xeno74 on January 23, 2016, 07:43:01 PM
Here is the Alpha10. ;)

The byte swap patch for Radeon firmwares by Alex Deucher fixed the problem with R7 and R9 graphics cards!

New: New Nemo patch 4.5-4 with the byte swap code for Radeon firmwares by Alex Deucher

Download: vmlinux-4.5-alpha10-AmigaONE_X1000.tar.gz (http://www.xenosoft.de/vmlinux-4.5-alpha10-AmigaONE_X1000.tar.gz)
Title: Re: A1-X1000: Linux Kernel 4.5
Post by: xeno74 on January 25, 2016, 11:36:33 AM
Hi All,

I have recently released the RC1 of kernel 4.5. Many thanks for testing the alphas. We had 10 alphas in the past two weeks!!!!!!! But it was worth it. We were able to solve some issues.

Download: vmlinux-4.5-rc1-AmigaONE_X1000.tar.gz (http://www.xenosoft.de/vmlinux-4.5-rc1-AmigaONE_X1000.tar.gz)

New:

It also includes:

Quote

Support running guest kernels in virtual machines on processors without using hypervisor mode in the host, by running the guest in user mode (problem state) and emulating all privileged instructions and registers.
This is not as fast as using hypervisor mode, but works on machines where hypervisor mode is not available or not usable, and can emulate processors that are different from the host processor, including emulating 32-bit processors on a 64-bit host.


(https://lh3.googleusercontent.com/-9__xjwqSoPo/VqX19fCy--I/AAAAAAAACAc/48givWwqT5Q/w506-h380/ubuntu_MATE_16.04_PowerPC_with_kernel_4.5-rc1.png) (https://plus.google.com/115515624056477014971/posts/6gNzrxjUTqp)

PLEASE PLEASE test the RC1.

Have a nice week!

Rgds,

Christian
Title: Re: A1-X1000: Linux Kernel 4.5
Post by: xeno74 on February 01, 2016, 11:03:51 AM
Hi All,

The RC2 is available for testing. :)

New:

Download: vmlinux-4.5-rc2-AmigaONE_X1000.tar.gz (http://www.xenosoft.de/vmlinux-4.5-rc2-AmigaONE_X1000.tar.gz)

(https://lh3.googleusercontent.com/-cNUx_4SsvTQ/Vq8qBgJDxBI/AAAAAAAACGo/cJfkkjvWJ24/w506-h380/Debian_Sid_MATE_PowerPC_kernel_4.5-rc2.png) (https://plus.google.com/115515624056477014971/posts/WNtSnX4nJf8)

PLEASE PLEASE PLEASE test the RC2 (http://www.xenosoft.de/vmlinux-4.5-rc2-AmigaONE_X1000.tar.gz) with R7, R9, and 7xxx graphics cards.

Cheers,

Christian
Title: Re: A1-X1000: Linux Kernel 4.5
Post by: xeno74 on February 08, 2016, 01:52:23 PM
Hi All,

I have recently released the RC3.

New:

Download: vmlinux-4.5-rc3-AmigaONE_X1000.tar.gz (http://www.xenosoft.de/vmlinux-4.5-rc3-AmigaONE_X1000.tar.gz)

(https://lh3.googleusercontent.com/-k38JdnEgWfU/VriXkiP4WbI/AAAAAAAACKA/F7ngb_u023U/w506-h380/ubuntu_MATE_16.04_PowerPC_with_kernel_4.5-rc3.png) (https://plus.google.com/115515624056477014971/posts/BgRPacXaKFc)

Quote

1. Copy the initrd "initrd-4.5-rc3-1.ubuntu16.04-ppc64.gz" and the kernel "vmlinux-4.5" to a USB pen drive or to the CF card

2. Turn on the AmigaONE X1000 and press F to boot to enter CFE prompt. Insert the USB pen drive.

3. You can boot the installer using the commands below:

3.1 From a USB pen drive:

CFE> ramdisk –z –addr=0x24000000 –fatfs usbdisk0:initrd-4.5-rc3-1.ubuntu16.04-ppc64.gz

From the CF card:

CFE> ramdisk –z –addr=0x24000000 –fatfs cf0:initrd-4.5-rc3-1.ubuntu16.04-ppc64.gz

3.2 CFE> setenv bootargs "root=/dev/ramdisk"

3.3 From a USB pen drive:

CFE> boot -elf -noints -fatfs usbdisk0:vmlinux-4.5

From the CF card:

CFE> boot -elf -noints -fatfs cf0:vmlinux-4.5

4. Select Language

5. Select Your Locatation

6. Detect Keyboard Layout. Select No and Pick from the list

7. Configure Network

8. Enter Hostname

9. Select the Ubuntu Archive Mirror Country - [it is configured for the UK]

10. Select the Ubuntu archive mirror "ports.ubuntu.com"

11. Leave the HTTP Proxy parameter blank

12. When prompted that no kernel modules were found select Yes to continue without loading them.

13. The installer components will be retrieved from the Ubuntu mirror [this will take a long time]

14. Enter your Full Name

15. Enter your username for your account

16. Enter your password and confirm

17. Select No to Encrypt your home directory

18. Confirm your time zone

19. When prompted for module dm-mod leave the parameter blank and select continue

20. Click Continue at the warning of "Software RAID not available"

21. Click Continue at the warning of "Logical Volume Manager not available"

22. You can now partition your disk

**** You must exercise caution when modifying your partition tables! ****

23. The base system will now be retrieved from the mirror site and installed

24. Select “Install security updates automatically"

25. At the software selection screen you will be asked to select which *buntu flavour(s) you would like to install. You can install as many as you like. To install ubuntu MATE arrow down to the “Ubuntu MATE desktop” option and press the space bar to mark the option. Now press return to continue.

26. The additional packages required to install the full desktop will be retrieved and installed. - [this will take some time to complete depending on the speed of your internet connection]

27. At “Continue without boot loader” take note of your root partition.

28. Select Yes to set confirm the system clock is set as UTC.

29. Select Continue to finish the installation and reboot!

30. Press F to boot to enter CFE prompt. Remove if necessary and re-insert the USB pen drive containing the vmlinux-4.5 kernel. Enter the following commands replacing the root partition (sdb9) with the ID of the partition where you installed ubuntu MATE.

CFE> setenv bootargs "root=/dev/sdb9"

From a USB pen drive:

CFE> boot -elf -noints -fatfs usbdisk0:vmlinux-4.5

From the CF card:

CFE> boot -elf -noints -fatfs cf0:vmlinux-4.5

31. Later, you could copy the kernel vmlinux-4.5 to the CF card and configure a CFE menu entry.

CFE> setenv -p MENU_2_LABEL "ubuntu MATE 16.04 with kernel 4.5"
CFE> setenv -p MENU_2_COMMAND 'set pmu -astate=A4 ; setenv bootargs "root=/dev/sdb9 quiet ro splash" ; boot -elf -noints -fatfs cf0:vmlinux-4.5'



PLEASE PLEASE PLEASE test the RC3 with R7, R9, and 7xxx graphics cards. PLEASE also test the new installation initial ramdisk for installing ubuntu MATE 16.04.

Cheers,

Christian
Title: Re: A1-X1000: Linux Kernel 4.5
Post by: xeno74 on February 15, 2016, 05:40:33 AM
The RC4 of Kernel 4.5 is available.

vmlinux-4.5-rc4-AmigaONE_X1000.tar.gz (http://www.xenosoft.de/vmlinux-4.5-rc4-AmigaONE_X1000.tar.gz)

PLEASE test it.
Title: Re: A1-X1000: Linux Kernel 4.5
Post by: xeno74 on February 19, 2016, 09:48:42 PM
Hi All,

I have recently released the RC4-2 because of the problems with Radeon firmwares. I removed firmwares for SI and newer graphics cards with the old format (upper case names). Many thanks to Mechanic and Spectre660 for the hints and explanations about the difference between the old and new Radeon firmwares.

Download: vmlinux-4.5-rc4-2-AmigaONE_X1000.tar.gz (http://www.xenosoft.de/vmlinux-4.5-rc4-2-AmigaONE_X1000.tar.gz)

(https://lh3.googleusercontent.com/-1ilkW6s1Dik/VseHYRoQVeI/AAAAAAAACLU/YflLhnQQiMs/w506-h380/ubuntu_MATE_16.04_PowerPC_kernel_4.5-rc4-2_openSUSE_panel.png) (https://plus.google.com/115515624056477014971/posts/WQ4t8HFvZxY)

Please test the RC4-2.

Thanks in advance,

Christian
Title: Re: A1-X1000: Linux Kernel 4.5
Post by: xeno74 on February 21, 2016, 07:20:38 PM
Hi All,

The Linux kernel 4.5-rc5 was released a day early. I have recently released the RC5 for our AmigaONE X1000.

New:

Download: vmlinux-4.5-rc5-AmigaONE_X1000.tar.gz (http://www.xenosoft.de/vmlinux-4.5-rc5-AmigaONE_X1000.tar.gz)

N e w  installation instructions for installing ubuntu MATE 16.04 with the new installation initial ramdisk:

Code: [Select]

1. Copy the initrd "initrd-4.5-rc5-1.ubuntu16.04-ppc64.gz" and the kernel "vmlinux-4.5" to a USB pen drive or to the CF card

2. Turn on the AmigaONE X1000 and press F to boot to enter CFE prompt. Insert the USB pen drive.

3. You can boot the installer using the commands below:

3.1 From a USB pen drive:

CFE> ramdisk –z –addr=0x24000000 –fatfs usbdisk0:initrd-4.5-rc5-1.ubuntu16.04-ppc64.gz

From the CF card:

CFE> ramdisk –z –addr=0x24000000 –fatfs cf0:initrd-4.5-rc5-1.ubuntu16.04-ppc64.gz

3.2 CFE> setenv bootargs "root=/dev/ramdisk"

3.3 From a USB pen drive:

CFE> boot -elf -noints -fatfs usbdisk0:vmlinux-4.5

From the CF card:

CFE> boot -elf -noints -fatfs cf0:vmlinux-4.5

4. Select Language

5. Select Your Locatation

6. Detect Keyboard Layout. Select No and Pick from the list

7. Configure Network

8. Enter Hostname

9. Select the Ubuntu Archive Mirror Country - [it is configured for the UK]

10. Select the Ubuntu archive mirror "ports.ubuntu.com"

11. Leave the HTTP Proxy parameter blank

12. When prompted that no kernel modules were found select Yes to continue without loading them.

13. The installer components will be retrieved from the Ubuntu mirror [this will take a long time]

14. Enter your Full Name

15. Enter your username for your account

16. Enter your password and confirm

17. Select No to Encrypt your home directory

18. Confirm your time zone

19. When prompted for module dm-mod leave the parameter blank and select continue

20. Click Continue at the warning of "Software RAID not available"

21. Click Continue at the warning of "Logical Volume Manager not available"

22. You can now partition your disk

**** You must exercise caution when modifying your partition tables! ****

23. The base system will now be retrieved from the mirror site and installed

24. Select “Install security updates automatically"

25. At the software selection screen (Tasksel) you will be asked to select which *buntu flavour(s) you would like to install. You can install as many as you like. To install ubuntu MATE please select the following options:

Ubuntu desktop
Ubuntu MATE desktop
Ubuntu MATE minimal installation

Now press return to continue.

26. The additional packages required to install the full desktop will be retrieved and installed. - [this will take some time to complete depending on the speed of your internet connection]

27. At “Continue without boot loader” take note of your root partition.

28. Select Yes to set confirm the system clock is set as UTC.

29. Select Continue to finish the installation and reboot!

30. Press F to boot to enter CFE prompt. Remove if necessary and re-insert the USB pen drive containing the vmlinux-4.5 kernel. Enter the following commands replacing the root partition (sdb9) with the ID of the partition where you installed ubuntu MATE.

CFE> setenv bootargs "root=/dev/sdb9"

From a USB pen drive:

CFE> boot -elf -noints -fatfs usbdisk0:vmlinux-4.5

From the CF card:

CFE> boot -elf -noints -fatfs cf0:vmlinux-4.5

31. Later, you could copy the kernel vmlinux-4.5 to the CF card and configure a CFE menu entry.

CFE> setenv -p MENU_2_LABEL "ubuntu MATE 16.04 with kernel 4.5"
CFE> setenv -p MENU_2_COMMAND 'set pmu -astate=A4 ; setenv bootargs "root=/dev/sdb9 quiet ro splash" ; boot -elf -noints -fatfs cf0:vmlinux-4.5'

If X11 doesn't work after the installation then try zappa2009's xorg.conf files.

Download: http://www.xenosoft.de/X.org.conf.zip

Please rename xorg.conf.radeon to xorg.conf and then copy it to /etc/X11.

Good luck! :-)


PLEASE test the new installation instructions with the new installation initial ramdisk.

Cheers,

Christian
Title: Re: A1-X1000: Linux Kernel 4.5
Post by: xeno74 on February 29, 2016, 09:29:51 AM
Hi All,

New week, new RC. :D

New:

Download: vmlinux-4.5-rc6-AmigaONE_X1000.tar.gz (http://www.xenosoft.de/vmlinux-4.5-rc6-AmigaONE_X1000.tar.gz)

Today, I tested QEMU/KVM with the RC6 (http://www.xenosoft.de/vmlinux-4.5-rc6-AmigaONE_X1000.tar.gz) on ubuntu MATE 16.04 PowerPC. I successfully booted the Beta 1 of Lubuntu 16.04 PowerPC on a virtual Power Mac G3.

(https://lh3.googleusercontent.com/-yXdRzniCtG4/VtQKLcyx6vI/AAAAAAAACTc/rp1hUktDvVk/w506-h380/ubuntu_MATE_16.04_PPC_with_Lubuntu_16.04_PPC_in_a_virtual_PowerMac_G3_QEMU_KVM_machine.png) (https://plus.google.com/115515624056477014971/posts/Z9iEQce37LX)

Cheers,

Christian
Title: Re: A1-X1000: Linux Kernel 4.5
Post by: xeno74 on March 07, 2016, 07:05:48 AM
I released the RC7 today.

New:

WARNING: THIS IS A DEVELOPMENT KERNEL. THIS MAY CORRUPT YOUR DATA!
         DON'T USE THIS ON A PRODUCTION MACHINE.


Download: vmlinux-4.5-rc7-AmigaONE_X1000.tar.gz (http://www.xenosoft.de/vmlinux-4.5-rc7-AmigaONE_X1000.tar.gz)
Title: Re: A1-X1000: Linux Kernel 4.5
Post by: xeno74 on March 11, 2016, 08:04:52 PM
I released the RC7-2 today.

New: Problems with the BTRFS filesystem solved

Download: vmlinux-4.5-rc7-2-AmigaONE_X1000.tar.gz (http://www.xenosoft.de/vmlinux-4.5-rc7-2-AmigaONE_X1000.tar.gz)
Title: Re: A1-X1000: Linux Kernel 4.5
Post by: xeno74 on March 14, 2016, 11:02:39 AM
Hi All,

Linus Torvalds officially released the final version of the kernel 4.5 this morning. :)

The past two months were very exciting because we had to fix some issues and we tested a lot. We had 19 test versions!!!!
Darren solved the problem with the P.A. Semi Ethernet with the kernel config option PPC_PASEMI_IOMMU_DMA_FORCE. We don't need the source code for the P.A. Semi Ethernet in the Nemo patch anymore. I removed all these source code in the Nemo patch and then I activated the option CONFIG_PPC_PASEMI_IOMMU_DMA_FORCE in the kernel config.
We had a lot of problems with new Radeon graphics cards. I added the new byte swap patch by Alex Deucher to the kernel. Later we removed the byte swap code for Radeon firmwares from the Nemo patch because this code has been added to the RC2.
I removed some firmwares for SI and newer graphics cards with the old format (upper case names) because there were some problems with them. Additionally I removed all the BTRFS checks and debug options from the kernel config because there was a problem with mounting BTRFS volumes.

Many thanks to all for testing the alphas and release candidates.

New:

Download: vmlinux-4.5-AmigaONE_X1000.tar.gz (http://www.xenosoft.de/vmlinux-4.5-AmigaONE_X1000.tar.gz)

(https://lh3.googleusercontent.com/-wPfBV8tknoc/VuZ_d3SIa_I/AAAAAAAACb0/a8NAnL-y3HI/w506-h380/Lubuntu_16.04_PowerPC_with_kernel_4.5_final.png) (https://plus.google.com/115515624056477014971/posts/2KoSXYFQ4un)

Cheers,

Christian