LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - ARM
User Name
Password
Slackware - ARM This forum is for the discussion of Slackware ARM.

Notices


Reply
  Search this Thread
Old 11-23-2017, 05:43 PM   #1
aihaike
Member
 
Registered: Feb 2006
Location: Paris, France
Distribution: Slackware, CentOS
Posts: 270

Rep: Reputation: 20
Question hummingboard : selecting kernel after upgrade


Dear all,

I have a cubox (hummingboard) running Slackware 14.2.
The kernel as been recently upgraded (to 4.13.5) using slackpkg current but I just realized that it still booting on the original one (3.14.14).
I'm not an expert in kernel, especially on arms.
That;d be wonderful with you could help me one this matter.
Here are some info you may need:

Code:
uname -a
Linux sanguo 3.14.14-armv7 #19 SMP Sun Mar 15 19:02:55 GMT 2015 armv7l Freescale i.MX6 Quad/DualLite (Device Tree) GNU/Linux
Code:
ls -ltr /boot/
total 39556
-rw------- 1 root root      309 Jan  1  1980 uEnv.txt
-rw------- 1 root root    34097 Mar  8  2015 imx6q-hummingboard.dtb
-rw------- 1 root root    33568 Mar  8  2015 imx6q-cubox-i.dtb
-rw------- 1 root root    32624 Mar  8  2015 imx6dl-hummingboard.dtb
-rw------- 1 root root    32095 Mar  8  2015 imx6dl-cubox-i.dtb
-rw------- 1 root root  5992680 Mar 15  2015 zImage
-rw------- 1 root root     5120 Mar 15  2015 README
-rw------- 1 root root     2530 Sep 26  2016 README-kernels.txt
-rw------- 1 root root  4500640 Oct  6 15:37 zImage-armv7-4.13.5
-rw------- 1 root root 11168364 Oct  6 15:37 uinitrd-armv7-4.13.5
-rw------- 1 root root  4500704 Oct  6 15:37 uImage-armv7-4.13.5
-rw------- 1 root root 11168300 Oct  6 15:37 initrd-armv7-4.13.5
-rw------- 1 root root   205654 Oct  6 15:37 config-armv7-4.13.5
-rw------- 1 root root  2757600 Oct  6 15:37 System.map-armv7-4.13.5
drwx------ 2 root root    55296 Oct  6 15:41 dtb-4.13.5


Code:
ls -ltr /usr/src/
total 12
drwxrwxr-x 24 root root 4096 Jan 11  2016 linux-4.4
drwxr-xr-x  3 root root 4096 Sep 19  2016 linux-4.7.2
drwxr-xr-x 24 root root 4096 Oct  6 13:47 linux-4.13.5
lrwxrwxrwx  1 root root   12 Oct  8 20:12 linux -> linux-4.13.5
Code:
ls -l /lib/modules/
total 8
drwxr-xr-x 3 root root 4096 Nov 23 22:29 3.14.14-armv7
drwxr-xr-x 3 root root 4096 Oct  8 19:38 4.13.5-armv7

How can I actually boot using kernel 4.13.5 ?

Thank you.
 
Old 11-25-2017, 05:38 AM   #2
drmozes
Slackware Contributor
 
Registered: Apr 2008
Distribution: Slackware
Posts: 1,661

Rep: Reputation: 1361Reputation: 1361Reputation: 1361Reputation: 1361Reputation: 1361Reputation: 1361Reputation: 1361Reputation: 1361Reputation: 1361Reputation: 1361
Quote:
Originally Posted by aihaike View Post
The kernel as been recently upgraded (to 4.13.5) using slackpkg current but I just realized that it still booting on the original one (3.14.14).
The Hummingboard isn't officially supported, and the Kernel shipped with 14.2 was the 4.4 series (the version in patches is 4.4.92).
You shouldn't use packages from -current within 14.2 - they aren't compatible.

Presumably the official kernel in 14.2 didn't support the Hummingboard, so the Kernel you're running must be somebody's from the community perhaps? Have a look at the instructions you followed initially and see if there's a Kernel update there.
 
1 members found this post helpful.
Old 11-26-2017, 02:35 AM   #3
Exaga
SARPi Maintainer
 
Registered: Nov 2012
Distribution: Slackware ARM, AArch64
Posts: 1,071

Rep: Reputation: 687Reputation: 687Reputation: 687Reputation: 687Reputation: 687Reputation: 687
Quote:
Originally Posted by aihaike View Post
Dear all,

I have a cubox (hummingboard) running Slackware 14.2.
The kernel as been recently upgraded (to 4.13.5) using slackpkg current but I just realized that it still booting on the original one (3.14.14).

How can I actually boot using kernel 4.13.5 ?

Thank you.
hi aihaike,

I'm guessing by the kernel version(s) you're dealing with you've initially used SolidRun's Ignition installer tool or you've visited humbo.fatdog.eu at some point in order to install Slackware ARM on the Cubox. "The latest HumBo installer was released on Sunday 15th March 2015 and uses kernel 3.14.14-armv7." The Ignition installer tool uses the same installer image that FatDog.eu provides. Or used to, at least. The HumBo installer is for Slackware ARM 14.2 and not Slackware ARM -current. What Mozes said, "You shouldn't use packages from -current within 14.2 - they aren't compatible." is very important! You're in for a world of pain if you attempt to mix and match -current (hard float port) and 14.2 (soft float port) packages.

Slackware, being the wonderful and highly configurable system that it is, allows you to achieve results in many different ways. But (un)fortunately, there's no 'rpi-update' for the Hummingboard/Cubox to make it easy when upgrading the kernel. So, a back-to-basics approach is required. It means you're going to learn something other than where to point and click or which 'apt-get -y install' type command to use.

You've used 'slackpkg' to upgrade the kernel. I've never done this. On Slackware ARM I've always done it by the old-school method and compiled my own kernel(s).

Is the HumBo project on FatDog.eu going to be updated? In a word, "No." Or at least not by me. Back in 2014/2015 when I worked on this project there was fantastic support from SolidRun. Their technical director is a fan of Slackware (it was the first Linux distro he'd used) and he wanted Slackware ARM to be included in the list of available OS for the Hummingboard. Since then, although SolidRun are still keen to promote Slackware, there has been no interest or activity in the HumBo project from users or the community as a whole. When I say no interest, I mean zero/nada/zilch/nought. I bet /dev/null has more interest in it!

Anyway, unless somebody else has released an updated kernel, I suspect you're going to have to compile your own kernel in order to be successful. As a wiser man than I once said to me, "Time to roll your sleeves up and be prepared for some hard work!"
 
1 members found this post helpful.
Old 11-26-2017, 07:14 AM   #4
aihaike
Member
 
Registered: Feb 2006
Location: Paris, France
Distribution: Slackware, CentOS
Posts: 270

Original Poster
Rep: Reputation: 20
Thumbs up

Exaga, drmozes,

Thank you so munch for you useful replies.
Yes, I use the the instructions from humbo.fatdog.eu.
It's pretty much clear now and I understand my mistake.
Thanks again.
 
Old 11-26-2017, 08:47 AM   #5
Exaga
SARPi Maintainer
 
Registered: Nov 2012
Distribution: Slackware ARM, AArch64
Posts: 1,071

Rep: Reputation: 687Reputation: 687Reputation: 687Reputation: 687Reputation: 687Reputation: 687
Quote:
Originally Posted by aihaike View Post
Exaga, drmozes,

Thank you so munch for you useful replies.
Yes, I use the the instructions from humbo.fatdog.eu.
It's pretty much clear now and I understand my mistake.
Thanks again.
Je vous en pris.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Slackware ARM on a HummingBoard Exaga Slackware - ARM 1 03-15-2015 04:38 PM
LXer: Xiki shell Kickstarter, HummingBoard computer, and more LXer Syndicated Linux News 0 07-11-2014 11:11 AM
Selecting A Kernel During Wheezy Install carlosinfl Debian 3 10-12-2011 12:23 PM
Confused Over Selecting Kernel Package TeddyB Debian 4 12-10-2007 11:55 AM
Selecting kernel image JJX Debian 3 10-16-2005 04:40 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - ARM

All times are GMT -5. The time now is 04:45 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration