Linux X1000 newbie

AmigaOne X1000 platform specific issues related to Linux only.
User avatar
sailorMH
Posts: 230
Joined: Wed Aug 28, 2013 6:01 pm
Location: Czech republic

Re: Linux X1000 newbie

Post by sailorMH »

nbache wrote:Is there even a USB 3.0 port on the X1000? And if so, does it work as 3.0 under Linux? (as opposed to OS 4, which doesn't support 3.0).
Niels
there is originally no USB3.0 port. But you can use PCI-e x1 USB 3.0 card and connect to blue USB ports on top of the case. It was discussed there few years before: http://forum.hyperion-entertainment.com ... =35&t=2330
And some speed results on my X1000 with external SSD:
USB2.0:
root@amigaone:# time sh -c "sync && dd if=/dev/zero of=/media/tata/Samsung_T3/tmp0 bs=512M count=20 && sync"
20+0 záznamů přečteno
20+0 záznamů zapsáno
10 737 418 240 bajtů (11 GB) zkopírováno, 285,424 s, 37,6 MB/s

real 5m1.073s
user 0m0.002s
sys 0m18.680s
root@amigaone:# umount /media/tata/Samsung_T3/

USB3.0
root@amigaone:# time sh -c "sync && dd if=/dev/zero of=/media/tata/Samsung_T3/tmp0 bs=512M count=20 && sync"
20+0 záznamů přečteno
20+0 záznamů zapsáno
10 737 418 240 bajtů (11 GB) zkopírováno, 72,494 s, 148 MB/s

real 1m16.575s
user 0m0.002s
sys 0m19.546s
Of course, you cannot reach max. USB3.0 speed (600MB/s) because of PCI-e x1 slot (250MB/s) but speed increase is great especially with long files.

All this is slightly offtopic - all USB ports on Nemo motherboard are USB 2.0 - I suppose that USB3.0 was recomended due to read speed.
Last edited by sailorMH on Sat Mar 02, 2019 9:04 pm, edited 1 time in total.
Micro A1-C (G3/1.2 GHz), AmigaOne XE (G4/1.4 GHz), Pegasos II (G4/1.33 GHz), Sam440ep, Sam440ep-flex, AmigaOne X1000
Efika 5200b, Pegasos I, Powerbook, Mac Mini (1.83 GHz), iMac, Powermac Quad

AmigaOS, MorphOS, linux, MacOS X
User avatar
sailorMH
Posts: 230
Joined: Wed Aug 28, 2013 6:01 pm
Location: Czech republic

Re: Linux X1000 newbie

Post by sailorMH »

alfkil wrote: I have tried booting from two different usb sticks and from the cf card. It is pretty much the same in all cases. That is it miraculously works sometimes, but mostly not.
Booting with my X1000 was at first also magic.
I have two boot devices - usbdisk0: with fatfs and cf0: with ext2.
Before I experimented with fatfs a on cf0:, but ext2 give me the best results. And one more experience - don't delete any file from cf0:, only add. If you need something delete, format again all card.
Today I have kernels on both devices, but unfortunately from USB I can boot only uncompressed kernels (vmlinux). zImage every time have or "I/O error", or "zImage is not elf executable".

Maybe it connected with USB stick speed, like wrotes xeno74.
Micro A1-C (G3/1.2 GHz), AmigaOne XE (G4/1.4 GHz), Pegasos II (G4/1.33 GHz), Sam440ep, Sam440ep-flex, AmigaOne X1000
Efika 5200b, Pegasos I, Powerbook, Mac Mini (1.83 GHz), iMac, Powermac Quad

AmigaOS, MorphOS, linux, MacOS X
User avatar
xeno74
Posts: 9349
Joined: Fri Mar 23, 2012 7:58 am

Re: Linux X1000 newbie

Post by xeno74 »

I don’t have any problems with compressed kernels but if you have problems with them, then I will change back to uncompressed kernels.

Please test the uncompressed kernel 4.19.1.

Download: vmlinux-4.19.1-AmigaOne_X1000_X5000.tar.gz
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
User avatar
sailorMH
Posts: 230
Joined: Wed Aug 28, 2013 6:01 pm
Location: Czech republic

Re: Linux X1000 newbie

Post by sailorMH »

xeno74 wrote:I don’t have any problems with compressed kernels but if you have problems with them, then I will change back to uncompressed kernels.

Please test the uncompressed kernel 4.19.1.
I think it is not needed change back to uncompressed - I will test some fast usb sticks - maybe it helps, and if not, I can boot it from cfcard.

And the uncompressed I will test and let you know. Many Thanks.
Micro A1-C (G3/1.2 GHz), AmigaOne XE (G4/1.4 GHz), Pegasos II (G4/1.33 GHz), Sam440ep, Sam440ep-flex, AmigaOne X1000
Efika 5200b, Pegasos I, Powerbook, Mac Mini (1.83 GHz), iMac, Powermac Quad

AmigaOS, MorphOS, linux, MacOS X
User avatar
sailorMH
Posts: 230
Joined: Wed Aug 28, 2013 6:01 pm
Location: Czech republic

Re: Linux X1000 newbie

Post by sailorMH »

:-(
Also uncompressed kernel 4.19 boots only from cfcard - usb have I/O errors.
But older kernel 4.2 boots fine from usb.
It looks like problem with usb stick.
Micro A1-C (G3/1.2 GHz), AmigaOne XE (G4/1.4 GHz), Pegasos II (G4/1.33 GHz), Sam440ep, Sam440ep-flex, AmigaOne X1000
Efika 5200b, Pegasos I, Powerbook, Mac Mini (1.83 GHz), iMac, Powermac Quad

AmigaOS, MorphOS, linux, MacOS X
User avatar
xeno74
Posts: 9349
Joined: Fri Mar 23, 2012 7:58 am

Re: Linux X1000 newbie

Post by xeno74 »

Thank you for testing! :-)

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

Running Linux on AmigaONEs can require some tinkering.
User avatar
alfkil
Posts: 67
Joined: Mon Oct 24, 2011 8:46 pm
Location: Denmark

Re: Linux X1000 newbie

Post by alfkil »

Thanks for the help, guys.

I am booting Fienix and MintPPC from hard disk with kernel 4.19 without problems. I think the kernel switch did it, but I am not sure if it is due to the compression or not.

Image

P.S.: Can I alter size of images with BBCode?
Last edited by alfkil on Mon Mar 04, 2019 10:22 pm, edited 1 time in total.
User avatar
xeno74
Posts: 9349
Joined: Fri Mar 23, 2012 7:58 am

Re: Linux X1000 newbie

Post by xeno74 »

alfkil wrote:Thanks for the help, guys.

I am booting Fienix and MintPPC from hard disk with kernel 4.19 without problems. I think the kernel switch did it, but I am not sure if it is due to the compression or not.
Hi Alfkil,

Thanks a lot for testing! :-) Could you please test the uncompressed final kernel 5.0 (vmlinux-5.0)?

Download: linux-image-5.0-X1000_X5000.tar.gz

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

Running Linux on AmigaONEs can require some tinkering.
User avatar
sailorMH
Posts: 230
Joined: Wed Aug 28, 2013 6:01 pm
Location: Czech republic

Re: Linux X1000 newbie

Post by sailorMH »

sailorMH wrote::-(
Also uncompressed kernel 4.19 boots only from cfcard - usb have I/O errors.
It looks like problem with usb stick.
Today I replaced my usb flash for new one:
SanDisk Ultra Flair 32GB, read speed 130 MB/s.

Every kernel compressed or uncompressed (vmlinux, zImage) boots fine. Tested on 4.2, 4.4, 4.9, 4,14, 4.19, 5.0, 5.1.

@xeno74 thanks for tips
Micro A1-C (G3/1.2 GHz), AmigaOne XE (G4/1.4 GHz), Pegasos II (G4/1.33 GHz), Sam440ep, Sam440ep-flex, AmigaOne X1000
Efika 5200b, Pegasos I, Powerbook, Mac Mini (1.83 GHz), iMac, Powermac Quad

AmigaOS, MorphOS, linux, MacOS X
User avatar
xeno74
Posts: 9349
Joined: Fri Mar 23, 2012 7:58 am

Re: Linux X1000 newbie

Post by xeno74 »

sailorMH wrote: Today I replaced my usb flash for new one:
SanDisk Ultra Flair 32GB, read speed 130 MB/s.

Every kernel compressed or uncompressed (vmlinux, zImage) boots fine. Tested on 4.2, 4.4, 4.9, 4,14, 4.19, 5.0, 5.1.

@xeno74 thanks for tips
Hi SailorMH,

Many thanks for testing! :-)

@Alfkil
Could you please test the uncompressed final kernel 5.0 (vmlinux-5.0)?

Download: linux-image-5.0-X1000_X5000.tar.gz

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

Running Linux on AmigaONEs can require some tinkering.
Post Reply