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]

5

Threads

355

Posts

2328

Credits

Moderator

Rank: 7Rank: 7Rank: 7

Credits
2328
Post time 2015-8-15 00:06:48 | Show all posts
I think that this will not happen.
@Jacer We can make a bet?
Boards:
orangepi plus, olinuxino A20, cubieboard A10, mele A2000 .....

18

Threads

200

Posts

862

Credits

Moderator

Rank: 7Rank: 7Rank: 7

Credits
862
Post time 2015-8-16 02:31:23 | Show all posts
blindpet replied at 2015-8-6 01:00
Can you link to the heatsink and fan unit you bought and a quick how to on how to install it? whic ...

http://www.orangepi.org/orangepi ... 4&fromuid=23438
Orange PI 2
www.orangepi.pp.ua

1

Threads

15

Posts

81

Credits

Registered member

Rank: 2

Credits
81
Post time 2015-8-16 16:20:54 | Show all posts
I'm happy to say Ive been using the Base Image (Ubuntu). Been running beautifully as my Minecraft server. Its nice to see the system idling at less than 50Mb of ram used. (more ram for Minecraft!)

I noticed that the system was only running at 1.2ghz. Looking back in this thread I learned that its the budget cooling option. Unfortunately with my level of knowledge I did not know how to re-compile my own ulmage file. Luckily I noticed its in the make_linux file that loboris uploaded. Its in this directory from mega: make_linux.tar.gz\make_linux.tar\make_linux\orange\ulimage_OPI_NO_BUDGET_COOLING, I swapped the ulimage out (by inserting the SDcard into my windows machine; yes I know don't kill me, I know scripts were provided by loboris for that too.) Now its running at the full 1.53gHz; I've been monitoring the temperature also to make sure its not overheating; thus far no issues.

1

Threads

47

Posts

189

Credits

Registered member

Rank: 2

Credits
189
Post time 2015-8-17 00:54:10 | Show all posts
doubleatheman replied at 2015-8-16 16:20
I'm happy to say Ive been using the Base Image (Ubuntu). Been running beautifully as my Minecraft se ...

About the CPU clock, I looked at it while generating a vanillia kernel on my OPI2 with Debian (loboris version - lichee kernel).
When nothing runs (before generation), the clock is 480MHz.
As soon as the generation starts (by 'make uImage', without -j2 or -j4 - I have no external cooler), the clock is set to 1520MHz.
During the generation, the temperature may raise up to 65°, and the clock may be changed to 1008 or 480MHz.
Blowing on the board to lower the temperature makes the clock raise back to 1520MHz.
When the generation is done (after about 45mn with my USB HD), the clock falls back to 480MHz.
So, I think that this behaviour is correct and that there is no need to force the clock to be always 1520MHz.

1

Threads

47

Posts

189

Credits

Registered member

Rank: 2

Credits
189
Post time 2015-8-17 01:19:23 | Show all posts
loboris replied at 2015-6-22 04:48
I will soon upload new images and desktop installation scripts and you will be able to enable the  ...
In Debian nano and some other commands works only if executed as sudo. I don't know the reason yet.
That was hard to find!
This is due to the value of CONFIG_DEFAULT_MMAP_MIN_ADDR (65538).
Changing it to 4096 makes all programs run.
With the actual kernel, you may test it doing (as root):
  1. echo 4096 > /proc/sys/vm/mmap_min_addr
Copy the Code


1

Threads

15

Posts

81

Credits

Registered member

Rank: 2

Credits
81
Post time 2015-8-17 02:27:20 | Show all posts
Edited by doubleatheman at 2015-8-17 02:31
moinejf replied at 2015-8-17 00:54
About the CPU clock, I looked at it while generating a vanillia kernel on my OPI2 with Debian (lob ...

I still let my CPU downclock all the way to 480mhz. I have not forced it to stay at 1.53ghz. With the image I was using from this thred, the scaling max freq would automatically go to 1.2ghz, and I could not change it to any higher value untill I swapped out my ulimage (Budget_Cooling was on in the kernal). My Issue was the CPU was not going up to 1.53ghz with 100% loads, reguardless of temperatures. (I was well below the 70*C trip temp)

5

Threads

355

Posts

2328

Credits

Moderator

Rank: 7Rank: 7Rank: 7

Credits
2328
Post time 2015-8-17 03:10:17 | Show all posts
@moinejf
Good catch!


.............The CONFIG_DEFAULT_MMAP_MIN_ADDR was set to 65536 in mxs_defconfig,
this caused severe breakage of userland applications since the upper
limit for ARM is 32768. By default CONFIG_DEFAULT_MMAP_MIN_ADDR is
set to 4096 and can also be changed via /proc/sys/vm/mmap_min_addr
if needed...........


but:

................A lot of kernel structures are larger than 4k, and so NULL-pointer
dereferences
could still be exploitable.

index 46bc204..7a9fe0d 100755 (executable)
--- a/arch/arm/configs/msm_defconfig
+++ b/arch/arm/configs/msm_defconfig
@@ -292,7 +292,7 @@ CONFIG_ZONE_DMA_FLAG=0
CONFIG_VIRT_TO_BUS=y
CONFIG_UNEVICTABLE_LRU=y
CONFIG_ALIGNMENT_TRAP=y
-CONFIG_DEFAULT_MMAP_MIN_ADDR=4096
+CONFIG_DEFAULT_MMAP_MIN_ADDR=32768 ............


Does it work with 32768?


Boards:
orangepi plus, olinuxino A20, cubieboard A10, mele A2000 .....

10

Threads

448

Posts

4255

Credits

Moderator

Rank: 7Rank: 7Rank: 7

Credits
4255
 Author| Post time 2015-8-17 04:07:28 | Show all posts
Edited by loboris at 2015-8-16 23:55
moinejf replied at 2015-8-16 18:19
That was hard to find!
This is due to the value of CONFIG_DEFAULT_MMAP_MIN_ADDR (65538).
Changing ...

Great finding. Thank you. It works.
I'll test it more, and I'll upload the recompiled kernel in a couple of days.

@fritz, it works with 32768.

2

Threads

34

Posts

305

Credits

Intermediate member

Rank: 3Rank: 3

Credits
305
Post time 2015-8-18 02:35:16 | Show all posts
Hi Loboris,

First thanks a lot for producing proper images for the OPi2 and Plus. Much appreciated!

I am currently running the Ubuntu Vivid base image "OrangePI_Ubuntu_vivid_base.img" with your latest kernel on my OPi Plus but cannot see the eMMC.

orangepi@OrangePI:~$ uname -a
Linux OrangePI 3.4.39 #1 SMP PREEMPT Sat Jun 20 18:09:29 CEST 2015 armv7l armv7l armv7l GNU/Linux

orangepi@OrangePI:~$ sudo blkid
/dev/mmcblk0: PTUUID="b3c944ad" PTTYPE="dos"
/dev/mmcblk0p1: LABEL="BOOT" UUID="8160-DEA6" TYPE="vfat" PARTUUID="b3c944ad-01"

/dev/mmcblk0p2: LABEL="linux" UUID="514753c0-41db-4bbc-88f5-73149cbf377c" TYPE="ext4" PARTUUID="b3c944ad-02"



Any ideas? Happy to test newer kernels on my Pi Plus if you don't have access to the hardware.


5

Threads

355

Posts

2328

Credits

Moderator

Rank: 7Rank: 7Rank: 7

Credits
2328
Post time 2015-8-18 05:49:49 | Show all posts
@loboris
You still build your kernels with the lichee SDK from the Download section?

Boards:
orangepi plus, olinuxino A20, cubieboard A10, mele A2000 .....
You have to log in before you can reply Login | Register

Points Rules

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

2021-12-8 00:03 GMT+8 , Processed in 0.045647 second(s), 22 queries .

Powered by Discuz! X3.2

© 2014-2015 orangepibbs en.

Quick Reply To Top Return to the list