1 1
lagerschaden

[orangepione] [kernel 4.11.12.sun8i]

Recommended Posts

Today i compiled for my Orange Pi One the kernel 4.11.12-sun8i from the sources. The kernel works with only 1 (one) core.

 / _ \ _ __ __ _ _ __   __ _  ___  |  _ \(_)  / _ \ _ __   ___ 
| | | | '__/ _` | '_ \ / _` |/ _ \ | |_) | | | | | | '_ \ / _ \
| |_| | | | (_| | | | | (_| |  __/ |  __/| | | |_| | | | |  __/
 \___/|_|  \__,_|_| |_|\__, |\___| |_|   |_|  \___/|_| |_|\___|
                       |___/                                   

Welcome to ARMBIAN 5.31 stable Debian GNU/Linux 8 (jessie) 4.11.12-sun8i   
System load:   1.11 0.26 0.09  	Up time:       0 min		
Memory usage:  10 % of 464MB  	IP:            192.168.3.156
CPU temp:      43°C           	
Usage of /:    5% of 29G    	

[ General system configuration: armbian-config ]
Last login: Fri Nov 24 22:47:42 2017 from xxxxs-ubuntu.fritz.box

pi@pi-gf:~$ uname -a
Linux pi-gf 4.11.12-sun8i #1 SMP Fri Nov 24 20:16:44 CET 2017 armv7l GNU/Linux
pi@pi-gf:~$ cat /proc/cpuinfo
processor	: 0
model name	: ARMv7 Processor rev 5 (v7l)
BogoMIPS	: 5.71
Features	: half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm 
CPU implementer	: 0x41
CPU architecture: 7
CPU variant	: 0x0
CPU part	: 0xc07
CPU revision	: 5

Hardware	: Allwinner sun8i Family
Revision	: 0000
Serial		: 02c0008193c47201
pi@pi-gf:~$

Also htop show only one core.

Share this post


Link to post
Share on other sites

I compiled Kernel and U-Boot linux-u-boot-dev-orangepione_5.35_armhf.deb

I choosed "U-boot and kernel packages" -> "show a kernel configuration ..." -> "orangepione" -> "dev"

 

Now I will try "next" (mainline)

 

Share this post


Link to post
Share on other sites

I got kernel 4.11.12-sun8i via apt-get update && apt-get dist-upgrade.
Previous kernel was 4.11.5-sun8i.


Boot hangs now because "script.bin" is missing -- It is dead link to "bin/orangepiplus.bin" which was not installed during the upgrade.

 

Installation is on internal eMMC
Board: OrangePi plus 2
 

Share this post


Link to post
Share on other sites

also Kernel 4.13.16 uses only one (1) core on the Orangepi-One

  ___                               ____  _    ___             
 / _ \ _ __ __ _ _ __   __ _  ___  |  _ \(_)  / _ \ _ __   ___ 
| | | | '__/ _` | '_ \ / _` |/ _ \ | |_) | | | | | | '_ \ / _ \
| |_| | | | (_| | | | | (_| |  __/ |  __/| | | |_| | | | |  __/
 \___/|_|  \__,_|_| |_|\__, |\___| |_|   |_|  \___/|_| |_|\___|
                       |___/                                   

Welcome to ARMBIAN 5.31 stable Debian GNU/Linux 8 (jessie) 4.13.16-sunxi   
System load:   0.96 0.36 0.13  	Up time:       1 min		
Memory usage:  11 % of 493MB  	IP:            192.168.3.156
CPU temp:      40°C           	
Usage of /:    6% of 29G    	

[ General system configuration: armbian-config ]
Last login: Sat Nov 25 14:42:16 2017 from xxxxs-ubuntu.fritz.box

pi@pi-gf:~$ uname -a
Linux pi-gf 4.13.16-sunxi #1 SMP Sat Nov 25 14:21:44 CET 2017 armv7l GNU/Linux
pi@pi-gf:~$ cat /proc/cpuinfo
processor	: 0
model name	: ARMv7 Processor rev 5 (v7l)
BogoMIPS	: 11.42
Features	: half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm 
CPU implementer	: 0x41
CPU architecture: 7
CPU variant	: 0x0
CPU part	: 0xc07
CPU revision	: 5

Hardware	: Allwinner sun8i Family
Revision	: 0000
Serial		: 02c0008193c47201
pi@pi-gf:~$ 

when installing the new kernel i used

sudo dpkg --force-all -i linux-dtb-next-sunxi_5.35_armhf.deb linux-headers-next-sunxi_5.35_armhf.deb linux-image-next-sunxi_5.35_armhf.deb linux-u-boot-next-orangepione_5.35_armhf.deb

because there is a conflict

linux-u-boot-orangepione-next conflicts with armbian-u-boot
  linux-u-boot-orangepione-default provides armbian-u-boot and is present and installed.

is it a bug or a feature ?

 

L.

Share this post


Link to post
Share on other sites
58 minutes ago, lagerschaden said:

is it a bug or a feature ?

 

Neither/nor, it's you trying to combine legacy u-boot with next or dev kernel. Expected result: Only one CPU core active. Use -f with dpkg to get linux-u-boot-orangepione-default out of your way and you're done (or better start from scratch with a fresh next image -- it always feels strange reading threads popping up discussing issues that are solved since ages)

Share this post


Link to post
Share on other sites
50 minutes ago, tkaiser said:

... trying to combine legacy u-boot with next or dev kernel...

As you can see I installed also the linux-u-boot-next (same line as above):

sudo dpkg --force-all -i linux-dtb-next-sunxi_5.35_armhf.deb linux-headers-next-sunxi_5.35_armhf.deb linux-image-next-sunxi_5.35_armhf.deb linux-u-boot-next-orangepione_5.35_armhf.deb

first I got the conflict and then I used --force-all to override the conflict ...

Share this post


Link to post
Share on other sites
5 minutes ago, lagerschaden said:

I had Armbian_5.30_Orangepione_Debian_jessie_default_3.4.113.img installed before and it boots with 4 cores.

I know since that's what's to be expected and tested. But I was asking for something else: whether the 5.35 next image for Orange Pi One from last night boots correctly or not. That's all I'm interested in and I thought I could save some time asking users for help instead of searching for the board, downloading the image...

Share this post


Link to post
Share on other sites
17 minutes ago, lagerschaden said:

I had Armbian_5.30_Orangepione_Debian_jessie_default_3.4.113.img installed before and it boots with 4 cores.

And if you simply installed the mainline kernel packages on top of that image (or other legacy kernel based image) without cleaning up old packages and without adjusting the boot script and environment it's not surprising that you had issues.

Share this post


Link to post
Share on other sites
35 minutes ago, tkaiser said:

Does this image boot with 1 or 4 CPU cores?

 

4 cores:

  ___                               ____  _    ___             
 / _ \ _ __ __ _ _ __   __ _  ___  |  _ \(_)  / _ \ _ __   ___ 
| | | | '__/ _` | '_ \ / _` |/ _ \ | |_) | | | | | | '_ \ / _ \
| |_| | | | (_| | | | | (_| |  __/ |  __/| | | |_| | | | |  __/
 \___/|_|  \__,_|_| |_|\__, |\___| |_|   |_|  \___/|_| |_|\___|
                       |___/                                   

Welcome to ARMBIAN 5.35 user-built Debian GNU/Linux 8 (jessie) 3.4.113-sun8i   
System load:   0.37 0.24 0.10  	Up time:       2 min		
Memory usage:  10 % of 494MB  	IP:            192.168.3.157
CPU temp:      41°C           	
Usage of /:    82% of 1.1G   	

Last login: Sat Nov 25 16:49:11 2017 from xxxxs-ubuntu.fritz.box

pi@orangepione:~$ uname -a
Linux orangepione 3.4.113-sun8i #4 SMP PREEMPT Wed Nov 22 13:45:28 CET 2017 armv7l GNU/Linux
pi@orangepione:~$ cat /proc/cpuinfo
Processor	: ARMv7 Processor rev 5 (v7l)
processor	: 0
BogoMIPS	: 1942.85

processor	: 1
BogoMIPS	: 1942.85

processor	: 2
BogoMIPS	: 1942.85

processor	: 3
BogoMIPS	: 1942.85

Features	: swp half thumb fastmult vfp edsp thumbee neon vfpv3 tls vfpv4 idiva idivt 
CPU implementer	: 0x41
CPU architecture: 7
CPU variant	: 0x0
CPU part	: 0xc07
CPU revision	: 5

Hardware	: sun8i
Revision	: 0000
Serial		: 540078678620542709ce
pi@orangepione:~$ 

 

Share this post


Link to post
Share on other sites
6 minutes ago, lagerschaden said:

4 cores

 

Thanks for confirming. As @zador.blood.stained already explained without taking a lot of care it's not possible to 'crossgrade' from a legacy to a next (and especially a dev) image. We tried to support this in the past but stopped since we're not able to support this level of complexity. The 'google site search' when fed with 'only one cpu core' will answer the question why different boot stuff is needed...

Share this post


Link to post
Share on other sites

Thank you! I purged linux-image-sun8i and run the upgrade again.
Kernel 4.11.12-sun8i is running now -- with 4 cores.
 

1 hour ago, tkaiser said:

it always feels strange reading threads popping up discussing issues that are solved since ages


Isn't it an issue with the package dependencies/conflicts? You answered this question while I was typing

Share this post


Link to post
Share on other sites
11 minutes ago, ChrisGCode said:

Kernel 4.11.12-sun8i is running now

 

Just why? Our next branch is at 4.13 already and the old dev branch has been trashed few hours ago: https://github.com/armbian/build/commit/376fcd218689186ae23ba7baa2db0ce0d65308e5

 

And when you tomorrow update your installation from beta repo it will break anyway. There exist not that many reasons to choose dev branch (unless you want to improve Armbian of course and provide constructive feedback)

Share this post


Link to post
Share on other sites
12 minutes ago, tkaiser said:

Just why? Our next branch is at 4.13 already

I executed: apt-get update && apt-get dist-upgrade
and then 4.11.12-sun8i was installed.

When I run: apt-get update && apt-cache search linux-image-dev-sun8i
I get the following output:

 

Quote

# apt-get update
Hit:3 http://apt.armbian.com jessie InRelease                                  
Hit:5 http://apt.armbian.com stretch InRelease                                 
Ign:1 http://cdn-fastly.deb.debian.org/debian stretch InRelease                              
Hit:2 http://cdn-fastly.deb.debian.org/debian stretch-updates InRelease                      
Hit:4 http://cdn-fastly.deb.debian.org/debian stretch-backports InRelease
Hit:6 http://cdn-fastly.deb.debian.org/debian stretch Release            
Hit:7 http://security.debian.org stretch/updates InRelease
Reading package lists... Done                      

# apt-cache search linux-image-dev-sun8i
linux-image-dev-sun8i - Linux kernel, version 4.11.12-sun8i


# apt-cache search linux-image-sun8i
linux-image-sun8i - Linux kernel, version 3.4.113-sun8i

 

Share this post


Link to post
Share on other sites
30 minutes ago, ChrisGCode said:

dev

Is not supported and as already said it makes absolutely no sense at all to use the dev branch if you do not want to contribute to Armbian in a reasonable way :)

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
1 1