Spectre660's Linux downloads for the Sam440/460

Linux only discussion for the AmigaOne 500 and Sam series
Spectre660
Posts: 1493
Joined: Sat Jun 18, 2011 2:16 pm
Location: Montserrat

Re: Spectre660's Linux downloads for the Sam440/460

Post by Spectre660 »

Updated Sam460 Lubuntu 16.04 Net Installer.
Kernel 4.4.0

https://www.dropbox.com/s/93a776xk199m1 ... 2.iso?dl=0

User avatar
xeno74
Posts: 6190
Joined: Fri Mar 23, 2012 7:58 am

Re: Spectre660's Linux downloads for the Sam440/460

Post by xeno74 »

Spectre660 wrote:Updated Sam460 Lubuntu 16.04 Net Installer.
Kernel 4.4.0

https://www.dropbox.com/s/93a776xk199m1 ... 2.iso?dl=0
Thank you. :-)

Download: Sam460ex_Lubuntu_16.04_Netinstall-2.iso
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.

Spectre660
Posts: 1493
Joined: Sat Jun 18, 2011 2:16 pm
Location: Montserrat

Re: Spectre660's Linux downloads for the Sam440/460

Post by Spectre660 »


User avatar
xeno74
Posts: 6190
Joined: Fri Mar 23, 2012 7:58 am

Re: Spectre660's Linux downloads for the Sam440/460

Post by xeno74 »

Spectre660 wrote:Sam440ep 4.4.0 kernel (Untested)

https://www.dropbox.com/s/onzu3k4hft2p5 ... ar.gz?dl=0
Many thanks for supporting the Sam440ep! :-)

Download: Sam440ep-4.4.0.tar.gz
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.

User avatar
virgola
Posts: 43
Joined: Tue Jun 21, 2011 5:24 pm
Location: Bergamo, Italy

Re: Spectre660's Linux downloads for the Sam440/460

Post by virgola »

@Spectre660
I have tried installing Ubuntu (MATE) 16.04 on my Sam460 using your ISO based on kernel 4.4.0.

Big success!
For the first time all went smooth, I even did not need to create the "menu.lst" manually from the command line or copy the uImage file, all was done automatically!
A really great improvement since the last 15.10 (or 15.04) version I did try.
Still the video is not hardware accelerated, but MATE desktop is usable.

Kernel log of the booting from cd-rom
http://www.locati.it/mario/sam460/Sam46 ... cd-rom.txt

Kernel log of the first run after installation
http://www.locati.it/mario/sam460/Sam46 ... lation.txt

I did noticed that in both cases the kernel is unable to load the Radeon microcode:

Code: Select all

Can't load firmware "radeon/TAHITI_vce.bin"
And there other problems:

Code: Select all

genirq: Setting trigger mode 3 for irq 45 failed (uic_set_irq_type+0x0/0x160)

Code: Select all

radeon 0001:81:00.0: VCE init error (-22)

Code: Select all

[drm:r600_ring_test] *ERROR* radeon: ring 0 test failed (scratch(0x850C)=0xCAFEDEAD)

Code: Select all

systemd[1]: Failed to insert module 'kdbus': Function not implemented
I then wanted to experiment compiling a custom kernel and I had a look at the patch file you kindly provided.
Do you know if there is an automatic method to apply such a patch to the mentioned kernel files?
I am a newbie on these things, and I usually change files manually but it is quite boring...

Ah, another question, I am curious about the A1222 you got an how Linux is performing.
Does it support Radeon hardware acceleration?
Can you provide a kernel log?

Anyway, thank you for your the time you are investing in supporting our platform!

Spectre660
Posts: 1493
Joined: Sat Jun 18, 2011 2:16 pm
Location: Montserrat

Re: Spectre660's Linux downloads for the Sam440/460

Post by Spectre660 »

@ virgola

Thanks for the feedback.
There is no way tha you are a newbie as I used your website to get started . :D .

The radeon/TAHITI_vce.bin firmware causes a kernel oops so I have left it out .
http://lists.freedesktop.org/archives/d ... 97706.html
The r600_ring_test error has always been a problem.
http://lists.freedesktop.org/archives/d ... 45050.html

To patch the kernel sources use

Code: Select all

patch -p1 <..Sam460ex-3.patch
while inside of the kernel source directory.
The patch file needs to be in the top directory .
eg

/usr/src
Sam460ex-3.patch
[linux-4.4]
https://www.dropbox.com/s/kyalorw9fka50 ... patch?dl=0
https://www.dropbox.com/s/pr6a9q4v9pj8l ... onfig?dl=0


The special PowerpcSPE Debian 8.0 performs well on the A1222.
Radeon hardware acceleration works with this version of Debian 8.0 (Using an earlier Mesa version)
Also with Ubuntu 12.04 with the default Mesa.
In both cases with Radeon Cards up to HD 6000 series.
http://amigax1000.blogspot.com.au/2016/ ... a1222.html

Will see what I can do about about the kernel log.

Edit:

BootLog
https://www.dropbox.com/s/bh6enmj6dsu9i ... g.log?dl=0

User avatar
virgola
Posts: 43
Joined: Tue Jun 21, 2011 5:24 pm
Location: Bergamo, Italy

Re: Spectre660's Linux downloads for the Sam440/460

Post by virgola »

@Spectre660
Thank you, patching the kernel in that way is much easier ;)

I noticed that in the kernel config only "PPC4xx_MSI" is active.
I was wondering what "PPC4xx_HSTA_MSI" means, do you know?
As far as I can tell is something related to Message Signalled Interrupts (MSI), and High Speed Transfer Assist (HSTA), no idea what they exactly are, but wondering if they are of any help.
I wasn't able to activate it, as if I switch it on, the menuconfig return them back off.
I only found some hint on their scope here
https://lists.ozlabs.org/pipermail/linu ... 15802.html

Thank you for the Tabor kernel log, interesting.
I see that all seems to work as expected, but I notice an error related to DMA "DMA-API: device driver failed to check map error".
Nothing too serious, I hope.

I really looking forward to the public release of both the Tabor and the X5000 board!

Spectre660
Posts: 1493
Joined: Sat Jun 18, 2011 2:16 pm
Location: Montserrat

Re: Spectre660's Linux downloads for the Sam440/460

Post by Spectre660 »

@Virgola

Indeed this the the way to patch.
You can also reverse the applied patches with

Code: Select all

patch -p1 -R <..Sam460ex-3.patch 
PPC4xx_HSTA_MS is for the PPC476GTR SoC not the 460ex.

Indeed the public release of Tabor and Cyrus will be great.

Spectre660
Posts: 1493
Joined: Sat Jun 18, 2011 2:16 pm
Location: Montserrat

Re: Spectre660's Linux downloads for the Sam440/460

Post by Spectre660 »

New Sam460ex Kenel 4.4.0 (version 2)

https://www.dropbox.com/s/nopkzi4ez2wad ... ar.gz?dl=0

User avatar
xeno74
Posts: 6190
Joined: Fri Mar 23, 2012 7:58 am

Re: Spectre660's Linux downloads for the Sam440/460

Post by xeno74 »

Spectre660 wrote:New Sam460ex Kenel 4.4.0 (version 2)

https://www.dropbox.com/s/nopkzi4ez2wad ... ar.gz?dl=0
Many thanks!!! :-) I have recently uploaded it.

Download: Sam460ex-4.4-2.tar.gz
xeno74 wrote:
Spectre660 wrote:Sam440ep 4.4.0 kernel (Untested)

https://www.dropbox.com/s/onzu3k4hft2p5 ... ar.gz?dl=0
Many thanks for supporting the Sam440ep! :-)

Download: Sam440ep-4.4.0.tar.gz
We are still looking for someone who test the kernel 4.4 on a Sam440ep (Flex). Please test this kernel. Thanks in advance.

Cheers,

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

Running Linux on AmigaONEs can require some tinkering.

Post Reply