Spectre660's Linux downloads for the Sam440/460

Linux only discussion for the AmigaOne 500 and Sam series

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

Postby Spectre660 » Tue Jan 12, 2016 1:09 am

Updated Sam460 Lubuntu 16.04 Net Installer.
Kernel 4.4.0

https://www.dropbox.com/s/93a776xk199m1 ... 2.iso?dl=0
Spectre660
 
Posts: 1489
Joined: Sat Jun 18, 2011 3:16 pm
Location: Montserrat

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

Postby xeno74 » Tue Jan 12, 2016 11:55 am

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.
User avatar
xeno74
 
Posts: 5488
Joined: Fri Mar 23, 2012 8:58 am

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

Postby Spectre660 » Tue Jan 12, 2016 11:48 pm

Spectre660
 
Posts: 1489
Joined: Sat Jun 18, 2011 3:16 pm
Location: Montserrat

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

Postby xeno74 » Wed Jan 13, 2016 11:42 pm

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
xeno74
 
Posts: 5488
Joined: Fri Mar 23, 2012 8:58 am

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

Postby virgola » Fri Jan 15, 2016 10:57 pm

@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/Sam460_Ubuntu16.04_kernel4.4.0_boot_cd-rom.txt

Kernel log of the first run after installation
http://www.locati.it/mario/sam460/Sam460_Ubuntu16.04_kernel4.4.0_boot_after_installation.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!
User avatar
virgola
 
Posts: 42
Joined: Tue Jun 21, 2011 6:24 pm
Location: Bergamo, Italy

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

Postby Spectre660 » Sat Jan 16, 2016 12:35 am

@ 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
Spectre660
 
Posts: 1489
Joined: Sat Jun 18, 2011 3:16 pm
Location: Montserrat

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

Postby virgola » Sun Jan 17, 2016 4:53 pm

@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/linuxppc-dev/2014-March/115802.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!
User avatar
virgola
 
Posts: 42
Joined: Tue Jun 21, 2011 6:24 pm
Location: Bergamo, Italy

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

Postby Spectre660 » Sun Jan 17, 2016 5:55 pm

@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: 1489
Joined: Sat Jun 18, 2011 3:16 pm
Location: Montserrat

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

Postby Spectre660 » Tue Jan 26, 2016 12:59 pm

New Sam460ex Kenel 4.4.0 (version 2)

https://www.dropbox.com/s/nopkzi4ez2wad ... ar.gz?dl=0
Spectre660
 
Posts: 1489
Joined: Sat Jun 18, 2011 3:16 pm
Location: Montserrat

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

Postby xeno74 » Tue Jan 26, 2016 3:16 pm

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.
User avatar
xeno74
 
Posts: 5488
Joined: Fri Mar 23, 2012 8:58 am

PreviousNext

Return to Platform: AmigaOne 500 and Sam series - Linux Only

Who is online

Users browsing this forum: No registered users and 1 guest