OPI 備忘録 Kernel UPdate

loboris さんのスクリプトで、kernel を3.4.39-01-lobo にあげたので備忘録。

 

root@OrangePI:/usr/local/src# wget http://loboris.eu/update_kernel.sh
root@OrangePI:/usr/local/src# chmod 755 update_kernel.sh 
root@OrangePI:/usr/local/src# ./update_kernel.sh 

Unpacking ...
Files unpacked.
==============================================
Select the OrangePI board you want to upgrade:
  1   OrangePI 2
  2   OrangePI PLUS
  3   OrangePI PC
?  3
Updating OrangePI PC

===============================
Select hdmi display resolution:
  1   1080p 60Hz
  2   1080p 50Hz
  3    720p 60Hz
  4    720p 50Hz
?  1

Selected 1080p 60Hz

=====================================
Do you have HDMI->DVI adapter, (y/N)?  N
HDMI interface selected

================
CONTINUE, (y/N)?  y

kernel, script.bin and /lib/modules updated, please REBOOT.
AFTER REBOOT RUN:  sudo depmod -a
===========================================================

root@OrangePI:/usr/local/src# 

★リブート後

junkhack@OrangePI:~# sudo depmod -a

root@OrangePI:/usr/local/src/UnixBench# ./Run -c 4
========================================================================
   BYTE UNIX Benchmarks (Version 5.1.3)

   System: OrangePI: GNU/Linux
   OS: GNU/Linux -- 3.4.39-01-lobo -- #1 SMP PREEMPT Sun Oct 25 14:46:41 CET 2015
   Machine: armv7l (armv7l)
   Language: en_US.utf8 (charmap="UTF-8", collate="UTF-8")
   19:49:11 up 3 min,  3 users,  load average: 0.38, 0.34, 0.15; runlevel 5

------------------------------------------------------------------------
Benchmark Run: Sun Dec 13 2015 19:49:11 - 20:17:47
0 CPUs in system; running 4 parallel copies of tests

Dhrystone 2 using register variables       18592638.3 lps   (10.0 s, 7 samples)
Double-Precision Whetstone                     2982.9 MWIPS (10.6 s, 7 samples)
Execl Throughput                               1728.9 lps   (29.4 s, 2 samples)
File Copy 1024 bufsize 2000 maxblocks        159573.1 KBps  (30.0 s, 2 samples)
File Copy 256 bufsize 500 maxblocks           44372.0 KBps  (30.0 s, 2 samples)
File Copy 4096 bufsize 8000 maxblocks        435389.5 KBps  (30.0 s, 2 samples)
Pipe Throughput                             1057156.0 lps   (10.0 s, 7 samples)
Pipe-based Context Switching                 102252.4 lps   (10.0 s, 7 samples)
Process Creation                               5051.4 lps   (30.0 s, 2 samples)
Shell Scripts (1 concurrent)                   3683.5 lpm   (60.0 s, 2 samples)
Shell Scripts (8 concurrent)                    495.0 lpm   (60.3 s, 2 samples)
System Call Overhead                        2557956.5 lps   (10.0 s, 7 samples)

System Benchmarks Index Values               BASELINE       RESULT    INDEX
Dhrystone 2 using register variables         116700.0   18592638.3   1593.2
Double-Precision Whetstone                       55.0       2982.9    542.3
Execl Throughput                                 43.0       1728.9    402.1
File Copy 1024 bufsize 2000 maxblocks          3960.0     159573.1    403.0
File Copy 256 bufsize 500 maxblocks            1655.0      44372.0    268.1
File Copy 4096 bufsize 8000 maxblocks          5800.0     435389.5    750.7
Pipe Throughput                               12440.0    1057156.0    849.8
Pipe-based Context Switching                   4000.0     102252.4    255.6
Process Creation                                126.0       5051.4    400.9
Shell Scripts (1 concurrent)                     42.4       3683.5    868.7
Shell Scripts (8 concurrent)                      6.0        495.0    824.9
System Call Overhead                          15000.0    2557956.5   1705.3
                                                                   ========
System Benchmarks Index Score                                         616.2