Author: loboris

Linux Distributions for Orange PI H3 boards

  [Copy link]

10

threads

448

posts

5201

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
5201
 Author| Published in 2015-10-16 17:13:20 | Show all floors
andreaok66 replied at 2015-10-16 09:34
I have an orangepi-PC so I have installed OrangePI-PC_Ubuntu_Vivid_Mate.img
All works well, but i do ...

What exactly "kernel headers problem" do you have ?

Published in 2015-10-16 19:56:31 | Show all floors
@loboris:
1. On github you created project from file posted on orangepi.org ?
2. Do you know maybe, is it connected with https://github.com/orangepi-xunlong/linux-sunxi or something any know source branch ?
I need to apply some patches but Is it possible to find where the branch come from and where started ?
Orange PI PC

18

threads

303

posts

110K

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
10351
Published in 2015-10-16 22:22:31 | Show all floors
loboris replied at 2015-10-16 08:05
Many other distros are missing too ...
It is basicaly easy to create the specific distro if it is  ...

Your Ubuntu distro for Orange Pi PC works great except the analog audio from the AV/CBVS jack is not working. No audio from this jack with Headphones plugged-in. On Android it is working. Any fix? I can only use the HDMI audio, it works great. Anyway we thank you for what you have done for the OrangePi community.

1

threads

90

posts

834

credits

Senior member

Rank: 4

credits
834
Published in 2015-10-16 22:41:52 | Show all floors
loboris replied at 2015-10-16 07:43
UPDATED GitHub sources.
The problem with kernel panic after building is now solved.
(As GitHub does  ...

Thanks, it works now.

1

threads

28

posts

191

credits

Registered member

Rank: 2

credits
191
Published in 2015-10-17 00:18:16 | Show all floors
@Loboris: Thanks for your response. This did the trick

Still got one question: there is a cpu freq applet in the debian taskbar, when i change the settings and go back to the desktop the settings are set back to default...
How can i make changes to the settings so that the cpu freq will change?
I need real time scheduling for audio purposes so i need max freq at all time. (I use a cpu cooler and fan)

1

threads

90

posts

834

credits

Senior member

Rank: 4

credits
834
Published in 2015-10-17 00:41:46 | Show all floors
mrroland replied at 2015-10-17 00:18
@Loboris: Thanks for your response. This did the trick

Still got one question: there is a cpu fr ...

you can try this to lock the cpu to max freq:

echo performance > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor

1

threads

10

posts

151

credits

Registered member

Rank: 2

credits
151
Published in 2015-10-17 02:04:22 | Show all floors
loboris replied at 2015-10-16 17:13
What exactly "kernel headers problem" do you have ?

Loboris,
I think that's referring to lymon's response (post #616) to my post (#615) back on page 62 in response to some weird linking within the /lib/modules/3.4.39/ directory:
Jazzmania replied at 2015-10-15 05:21
Cores (and Loboris),
I'm having issues with a Realtek driver as well.  Just installed the OrangePi ...


You will need kernel headers (this is the 'build' error you are getting) or build the kernel from source and include the drivers (if not already included in the kernel source tree)

loboris kernel source tree can be found here: https://github.com/loboris/OrangePI-Kernel
(but it seems to have 'kernel-panic' problems once compiled)



1

threads

28

posts

191

credits

Registered member

Rank: 2

credits
191
Published in 2015-10-17 03:41:13 from mobile | Show all floors
lymon replied at 2015-10-17 00:41
you can try this to lock the cpu to max freq:

echo performance > /sys/devices/system/cpu/cpu0/cpu ...

Thanks! That worked like a charm.

1

threads

8

posts

84

credits

Registered member

Rank: 2

credits
84
Published in 2015-10-17 06:37:03 | Show all floors
loboris replied at 2015-9-18 05:46
Complete kernel sources, configs, and build scripts I'm using are uploaded to Mega. (kernel_3.4.9.ta ...

@loboris,
/lib/modules/3.4.39/build points to /home/LoBo2_Razno/OrangePI/kernel_3.4.9/linux-3.4

I am trying to compile a wifi driver that does
make -C /lib/modules/3.4.39/build SUBDIRS=/home/orangepi/DPO_RT5572_LinuxSTA_2.6.1.3_20121022/os/linux modules

so it obviously doesn't work on my machine. Where should the link point and what should be in the directory it points to?


10

threads

448

posts

5201

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
5201
 Author| Published in 2015-10-17 07:14:11 | Show all floors
Edited by loboris at 2015-10-17 00:24
palmercr replied at 2015-10-16 23:37
@loboris,
/lib/modules/3.4.39/build points to /home/LoBo2_Razno/OrangePI/kernel_3.4.9/linux-3.4

/lib/modules/3.4.39/build symbolic link is created during the kernel build and it points to the linux kernel source root directory.
You can clone my github repo, there will be the linux-3.4 directory. You can create new /lib/modules/3.4.39/build pointing to that directory.

You can use build_mali_driver.sh script as an example how to build only specific modules.
You need to log in before you can reply login | Register

Points Rule

Quick reply Top Return list