Poster | Thread |
xeno74
| |
Re: A1-X1000: Linux Kernel 3.18 Posted on 2-Dec-2014 16:48:38
| | [ #41 ] |
|
|
|
Cult Member |
Joined: 15-Dec-2010 Posts: 667
From: Unknown | | |
|
| Dear Linux kernel tester
I have cross compiled the RC7 on my x86-64 Ubuntu Server 14.04.1 today.
Could you test this cross compiled kernel on your AMIGA one X1000, please? I'd like to know if cross compiling works.
Download: vmlinux-3.18.0-rc7-KVM-PR-OVERLAYFS-AMIGA_one_X1000.tar.bz2
Cross compiling instructions:
System requirements: Ubuntu 14.04 x86 or higher
1. Install the toolchain with the following commands:
Quote:
sudo apt-get install gcc-powerpc-linux-gnu |
Quote:
sudo apt-get install build-essential |
Quote:
sudo apt-get install libncurses5-dev |
2. Download the RC7:
Quote:
3. Unpack the kernel archive:
Quote:
tar zxvf linux-3.18-rc7.tar.gz |
4. Rename the directory for the Nemo patch:
Quote:
mv linux-3.18-rc7 linux-3.18 |
5. Patch the kernel source code with the Nemo patch:
Quote:
patch -p0 < nemo_3.18-3.patch |
6. Copy the old RC6 config file to the linux-3.18 directory:
Quote:
cp nemo_3.18.0-rc6_KVM-PR_OVERLAYFS.config linux-3.18/.config |
7. Change to the directory linux-3.18:
Quote:
8. Create a RC7 config based on the old RC6 config:
Quote:
make CROSS_COMPILE=powerpc-linux-gnu- ARCH=powerpc oldconfig |
9. Compile the Linux kernel:
Quote:
make CROSS_COMPILE=powerpc-linux-gnu- ARCH=powerpc vmlinux |
10. With file you can check if make had built a PPC64 kernel.
Quote:
Quote:
vmlinux: ELF 64-bit MSB executale, 64-bit PowerPC or cisco 7500, version 1 (SYSV), statically linked, BuildID[sha1]=3cec1ab0e5804eeafbfdcb249c54625336d70a6f, not stripped
|
11. Compile the Linux kernel modules:
Quote:
make CROSS_COMPILE=powerpc-linux-gnu- ARCH=powerpc modules |
12. Install the Linux kernel modules:
Quote:
sudo make CROSS_COMPILE=powerpc-linux-gnu- ARCH=powerpc modules_install |
You can get the kernel modules from the directory /lib/modules.
Please, test the cross compiled kernel.
I am looking forward to getting your answers.
Thanks in advance.
Best regards
Christian
Last edited by xeno74 on 02-Dec-2014 at 04:58 PM.
_________________ www.amigalinux.org |
|
Status: Offline |
|
|
zzd10h
| |
Re: A1-X1000: Linux Kernel 3.18 Posted on 2-Dec-2014 17:20:09
| | [ #42 ] |
|
|
|
Amiga Developer Team |
Joined: 21-May-2012 Posts: 1077
From: France | | |
|
| @xeno74
"I'd like to know if cross compiling works."
I don't undesrtand, don't you have a x1000 ?
I tested your new kernel, all is working (network & sound) fine ! Cross-compiling seems to work
_________________ http://apps.amistore.net/zTools |
|
Status: Offline |
|
|
xeno74
| |
Re: A1-X1000: Linux Kernel 3.18 Posted on 2-Dec-2014 17:40:10
| | [ #43 ] |
|
|
|
Cult Member |
Joined: 15-Dec-2010 Posts: 667
From: Unknown | | |
|
| @zzd10h
Yes, of course I have a X1000.
But I wanted to test cross compiling.
Merci for the really fast testing. _________________ www.amigalinux.org |
|
Status: Offline |
|
|
Spectre660
| |
Re: A1-X1000: Linux Kernel 3.18 Posted on 2-Dec-2014 18:02:16
| | [ #44 ] |
|
|
|
Elite Member |
Joined: 4-Jun-2005 Posts: 3918
From: Unknown | | |
|
| @xeno74
I like cross compiling kernels as It leaves your Amiga NG machine free to do something else. I use a Ubuntu VM on Oracle VM virtualbox under Windows 7 _________________ Sam460ex : Radeon Rx550 Single slot Video Card : SIL3112 SATA card |
|
Status: Offline |
|
|
xeno74
| |
Re: A1-X1000: Linux Kernel 3.18 Posted on 3-Dec-2014 16:14:46
| | [ #45 ] |
|
|
|
Cult Member |
Joined: 15-Dec-2010 Posts: 667
From: Unknown | | |
|
| |
Status: Offline |
|
|
zzd10h
| |
Re: A1-X1000: Linux Kernel 3.18 Posted on 3-Dec-2014 17:39:09
| | [ #46 ] |
|
|
|
Amiga Developer Team |
Joined: 21-May-2012 Posts: 1077
From: France | | |
|
| @xeno74
Hi, I didn't noticed speed decrease with your latest cross-compiled kernel.
To compare, I used 2 kernels that I have on my X1000 CFE (to avoid to waste to much time to retest the 2 that you linked ;) )
And as you can see on these screenshots, there are no difference with glxgears for me
1) older 3.17 RC3
2) 3.18 RC7 (your latest cross-compiled one)
_________________ http://apps.amistore.net/zTools |
|
Status: Offline |
|
|
xeno74
| |
Re: A1-X1000: Linux Kernel 3.18 Posted on 3-Dec-2014 20:24:27
| | [ #47 ] |
|
|
|
Cult Member |
Joined: 15-Dec-2010 Posts: 667
From: Unknown | | |
|
| @zzd10h
Many thanks for testing!
@All
Please test the RC7 because of the less responsive problem.
Thanks in advance.
_________________ www.amigalinux.org |
|
Status: Offline |
|
|
xeno74
| |
Re: A1-X1000: Linux Kernel 3.18 Posted on 10-Dec-2014 5:00:40
| | [ #48 ] |
|
|
|
Cult Member |
Joined: 15-Dec-2010 Posts: 667
From: Unknown | | |
|
| Hi All,
I compiled the kernel 3.18 RC7-2 native on my AMIGA one X1000 last weekend. Yesterday I cross compiled the final kernel 3.18 for the AMIGA one X1000 on my x86-64 Ubuntu server 14.04.
Could you compare both kernel with glxgears, please?
Command glxgears without vsync:
Quote:
Thanks in advance.
Cheers,
Christian_________________ www.amigalinux.org |
|
Status: Offline |
|
|
xeno74
| |
Re: A1-X1000: Linux Kernel 3.18 Posted on 10-Dec-2014 5:06:57
| | [ #49 ] |
|
|
|
Cult Member |
Joined: 15-Dec-2010 Posts: 667
From: Unknown | | |
|
| |
Status: Offline |
|
|
zzd10h
| |
Re: A1-X1000: Linux Kernel 3.18 Posted on 10-Dec-2014 17:24:10
| | [ #50 ] |
|
|
|
Amiga Developer Team |
Joined: 21-May-2012 Posts: 1077
From: France | | |
|
| @xeno74
Like for my previous tests, like your own tests, really no difference between the cross-compiled and the native compiled kernel.
1) vmlinux-3.18.0-CC-KVM-PR-OVERLAYFS-AMIGA_one_X1000
Linux X1000 3.18.0_A-EON_AMIGA_one_X1000_Nemo #2 SMP Tue Dec 9 02:50:18 CET 2014 ppc64 ppc64 ppc64 GNU/Linux
zzd10h@X1000:~$ vblank_mode=0 glxgears ATTENTION: default value of option vblank_mode overridden by environment. ATTENTION: default value of option vblank_mode overridden by environment. 5028 frames in 5.0 seconds = 1005.467 FPS 5444 frames in 5.0 seconds = 1088.683 FPS 5410 frames in 5.0 seconds = 1081.816 FPS 5348 frames in 5.0 seconds = 1069.511 FPS 5387 frames in 5.0 seconds = 1077.320 FPS 5320 frames in 5.0 seconds = 1063.893 FPS 5403 frames in 5.0 seconds = 1080.540 FPS 5419 frames in 5.0 seconds = 1083.630 FPS 5373 frames in 5.0 seconds = 1074.476 FPS 5405 frames in 5.0 seconds = 1080.863 FPS
2) vmlinux-3.18.0-rc7-2-KVM-PR-OVERLAYFS-AMIGA_one_X1000
Linux X1000 3.18.0-rc7_A-EON_AMIGA_one_X1000_Nemo #1 SMP Sat Dec 6 16:39:07 CET 2014 ppc64 ppc64 ppc64 GNU/Linux
zzd10h@X1000:~$ vblank_mode=0 glxgears ATTENTION: default value of option vblank_mode overridden by environment. ATTENTION: default value of option vblank_mode overridden by environment. 4918 frames in 5.0 seconds = 983.587 FPS 5401 frames in 5.0 seconds = 1080.064 FPS 4931 frames in 5.0 seconds = 986.108 FPS 5386 frames in 5.0 seconds = 1076.644 FPS 5372 frames in 5.0 seconds = 1074.396 FPS 5220 frames in 5.0 seconds = 1043.922 FPS 5424 frames in 5.0 seconds = 1084.774 FPS 5424 frames in 5.0 seconds = 1084.793 FPS 5247 frames in 5.0 seconds = 1049.321 FPS 5431 frames in 5.0 seconds = 1086.190 FPS 5428 frames in 5.0 seconds = 1085.597 FPS 5392 frames in 5.0 seconds = 1078.325 FPS 5414 frames in 5.0 seconds = 1082.653 FPS 5436 frames in 5.0 seconds = 1087.171 FPS 5426 frames in 5.0 seconds = 1085.058 FPS _________________ http://apps.amistore.net/zTools |
|
Status: Offline |
|
|
tlosm
| |
Re: A1-X1000: Linux Kernel 3.18 Posted on 10-Dec-2014 17:27:02
| | [ #51 ] |
|
|
|
Elite Member |
Joined: 28-Jul-2012 Posts: 2746
From: Amiga land | | |
|
| @zzd10h
the monster :P
Last login: Wed Dec 10 18:21:50 on ttys000 power-mac-g5-di-luigi-burdo:~ intermediadc$ vblank_mode=0 glxgears 61025 frames in 5.0 seconds = 12204.847 FPS 61365 frames in 5.0 seconds = 12272.836 FPS 61850 frames in 5.0 seconds = 12369.967 FPS 61139 frames in 5.0 seconds = 12227.720 FPS 61348 frames in 5.0 seconds = 12269.556 FPS 60196 frames in 5.0 seconds = 12039.077 FPS 61177 frames in 5.0 seconds = 12235.397 FPS 59760 frames in 5.0 seconds = 11951.838 FPS 60850 frames in 5.0 seconds = 12169.990 FPS 58019 frames in 5.0 seconds = 11603.656 FPS
edit: you thad been check your emai? Last edited by tlosm on 10-Dec-2014 at 05:27 PM.
_________________ I love Amiga and new hope by AmigaNG A 500 + ; CDTV; CD32; PowerMac G5 Quad 8GB,SSD,SSHD,7800gtx,Radeon R5 230 2GB; MacBook Pro Retina I7 2.3ghz; #nomorea-eoninmyhome |
|
Status: Offline |
|
|
xeno74
| |
Re: A1-X1000: Linux Kernel 3.18 Posted on 13-Dec-2014 16:06:57
| | [ #52 ] |
|
|
|
Cult Member |
Joined: 15-Dec-2010 Posts: 667
From: Unknown | | |
|
| Hi All,
I compiled the kernel 3.18 final nativ on my AMIGA one X1000 this morning.
New:
- Support for the EHCI implementation that's originally from ARC. These EHCI chips have vendor-specific extensions to integrate transaction translators, so that no OHCI or UHCI companion controller is needed.
- Support for mobile networks with USB UMTS 3G sticks
It also includes:
- KVM_BOOK3S_64_PR
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.
|
- Mac-on-Linux support - Network support for AROS hosted - Support for 4 serial ports - Bluetooth USB dongle support - Kernel tracing with ftrace - Linux kernel icon for OS4.1 by Tommysammy
Other changes: http://lkml.iu.edu/hypermail/linux/kernel/1412.0/05308.html
Download: vmlinux-3.18.0-KVM-PR-OVERLAYFS-AMIGA_one_X1000.tar.bz2
Thanks to everyone for testing many release candidates.
Enjoy the new kernel.
Cheers,
Christian
_________________ www.amigalinux.org |
|
Status: Offline |
|
|
xeno74
| |
Re: A1-X1000: Linux Kernel 3.18 Posted on 18-Dec-2014 13:55:02
| | [ #53 ] |
|
|
|
Cult Member |
Joined: 15-Dec-2010 Posts: 667
From: Unknown | | |
|
| Ubuntu MATE is available for our AMIGA one X1000.
Ubuntu MATE with kernel 3.18:
_________________ www.amigalinux.org |
|
Status: Offline |
|
|