Please select To the mobile version | Continue to access the desktop computer version

OrangePi

 Login            
 Register            
Search
Hot search: orangepi
Author: loboris

Linux Distributions for Orange PI H3 boards

  [Copy link]
Post time 2015-7-30 02:16:57 | Show all posts
Edited by bronco at 2015-7-30 02:22
goldenfenix replied at 2015-7-29 16:35
Good day.
I have a problem when i trying to compile kernel with script  build_linux_kernel.sh from  ...

Have you tried to set up a working standalone cross-compiler toolchain (eg. from Linaro) to avoid problems?

Get http://releases.linaro.org/14.11 ... ux-gnueabihf.tar.xz and unpack it below /usr/local.

Then prior to starting the script do a
  1. export PATH="/usr/local/gcc-linaro-4.9-2014.11-x86_64_arm-linux-gnueabihf/bin/:$PATH"
Copy the Code
and then as usual. Report back please.
Post time 2015-7-30 02:21:29 | Show all posts
GreyWolf replied at 2015-7-28 22:51
cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
1536000

And what about /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq ?

0

Threads

18

Posts

292

Credits

Intermediate member

Rank: 3Rank: 3

Credits
292
Post time 2015-7-30 12:30:59 | Show all posts
Edited by goldenfenix at 2015-7-30 12:32
bronco replied at 2015-7-30 02:16
Have you tried to set up a working standalone cross-compiler toolchain (eg. from Linaro) to avoid p ...

Done how in the instruction, but the  same error.

unrecognized command line option ‘--min_array_alignment=4’
unrecognized command line option ‘--no_unaligned_access’


5

Threads

355

Posts

2328

Credits

Moderator

Rank: 7Rank: 7Rank: 7

Credits
2328
Post time 2015-7-30 14:00:52 | Show all posts
@goldenfenix
You need to patch source before you compile!
http://www.cyberciti.biz/faq/appy-patch-file-using-patch-command/
http://jungels.net/articles/diff-patch-ten-minutes.html

Without patch you can only compile this kernel source with included SDK binary toolchain (4.6) or for example (maybe simpler) with ubuntu 12.04and installing toolchain (4.6.4) with apt-get install.
Boards:
orangepi plus, olinuxino A20, cubieboard A10, mele A2000 .....

0

Threads

18

Posts

292

Credits

Intermediate member

Rank: 3Rank: 3

Credits
292
Post time 2015-7-30 14:03:18 | Show all posts
fritz replied at 2015-7-30 14:00
@goldenfenix
You need to patch source before you compile!
http://www.cyberciti.biz/faq/appy-patch-fi ...

Thanks it was good help.

0

Threads

6

Posts

715

Credits

Senior member

Rank: 4

Credits
715
Post time 2015-7-30 21:36:18 | Show all posts
bronco replied at 2015-7-29 21:21
And what about /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq ?

CPU0:
scaling_max_freq 1536000
scaling_cur_freq 480000
CPU1:
scaling_max_freq 1536000
scaling_cur_freq 480000
CPU2:
scaling_max_freq 1536000
scaling_cur_freq 480000
CPU3:
scaling_max_freq 1536000
scaling_cur_freq 480000

10

Threads

448

Posts

4255

Credits

Moderator

Rank: 7Rank: 7Rank: 7

Credits
4255
 Author| Post time 2015-7-30 22:50:23 | Show all posts
GreyWolf replied at 2015-7-30 14:36
CPU0:
scaling_max_freq 1536000
scaling_cur_freq 480000

scaling_cur_freq changes constantly...
try to run some cpu intensive program and at the same check scaling_cur_freq, it will go to scaling_max_freq.
Or install CPU frequency applet...
480000 (480MHz) is the minimal CPU freq.

0

Threads

6

Posts

715

Credits

Senior member

Rank: 4

Credits
715
Post time 2015-7-30 23:34:16 | Show all posts
loboris replied at 2015-7-30 17:50
scaling_cur_freq changes constantly...
try to run some cpu intensive program and at the same check ...

Why do this ?
For different tasks will be different loading cores.
Post time 2015-7-31 00:41:16 | Show all posts
GreyWolf replied at 2015-7-30 21:36
CPU0:
scaling_max_freq 1536000
scaling_cur_freq 480000

So you reported thermal values when your system was totally idle. BTW: I don't know how it's on H3 but on others sunxi SoCs you only have to query the values of CPU0 since cpufreq settings always apply to all cores.

Would be interesting to "apt-get install stress" and then put significant load on the system: "stress -t 900 -c 4 -m 2 -i 2" (if it survives the 15 min. then your heatsink helps)

10

Threads

448

Posts

4255

Credits

Moderator

Rank: 7Rank: 7Rank: 7

Credits
4255
 Author| Post time 2015-7-31 00:47:59 | Show all posts
Edited by loboris at 2015-7-30 17:50
bronco replied at 2015-7-30 17:41
So you reported thermal values when your system was totally idle. BTW: I don't know how it's on H3 ...

with heatsink and fan it can survive stress indefinitely...

You have to log in before you can reply Login | Register

Points Rules

Archiver|Mobile edition|Darkroom|OrangePi En ( 粤ICP备14086627号-2

2021-12-7 23:43 GMT+8 , Processed in 0.038685 second(s), 20 queries .

Powered by Discuz! X3.2

© 2014-2015 orangepibbs en.

Quick Reply To Top Return to the list