Author: loboris

Linux Distributions for Orange PI H3 boards

  [Copy link]

2

threads

11

posts

97

credits

Registered member

Rank: 2

credits
97
Published in 2015-12-4 14:41:49 | Show all floors
Hello

Could somebody help my to compile this driver? http://sourceforge.net/projects/libwebcam/
I would like to use it with my webcam.

Thank you!

4

threads

25

posts

266

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
266
Published in 2015-12-7 08:08:36 | Show all floors
I use debian wheezy img. How can enable support for xfs, jfs ?
Published in 2015-12-7 13:19:22 | Show all floors
cyryllo replied at 2015-12-7 08:08
I use debian wheezy img. How can enable support for xfs, jfs ?

You should first do a google search for 'xfs arm bug' to get the idea what might happen with enabled XFS. And then it's time to rebuild the kernel:

https://github.com/loboris/Orang ... fconfig#L3085-L3086

I fear you're planning to use these settings for your 'NAS distribution'? Bad idea. Really bad idea.

4

threads

25

posts

266

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
266
Published in 2015-12-7 18:27:39 | Show all floors
bronco replied at 2015-12-7 06:19
You should first do a google search for 'xfs arm bug' to get the idea what might happen with enabl ...

Why bad idea? I do not understand why enabled xfs is a bad idea.
Thanks for the link options ;)
Published in 2015-12-7 18:39:42 | Show all floors
cyryllo replied at 2015-12-7 18:27
Why bad idea? I do not understand why enabled xfs is a bad idea.
Thanks for the link options ;)

Maybe because neither data loss nor data corruption are that great? Here's another link: http://lmgtfy.com/?q=xfs+arm+bug

Also, the ARM compiler chain is suspect - we've got evidence that gcc from 4.6 through to 4.9 miscompile various different bits of XFS code (kernel and userspace) due to a combination of bad optimisations and broken (and unfixed) kernel asm code (e.g. the do_div() implementation).

IOWs, it's not a good investment in time to be chasing ARM specific XFS corruptions until the known problems with the toolchain and platform support are fixed up first.

And now guess what? The compiler you're using is a scruffy 4.6:
  1. root@opennms:~# /var/git/H3/OrangePI-Kernel/brandy/gcc-linaro/arm-linux-gnueabi/bin/gcc --version
  2. gcc (crosstool-NG linaro-1.13.1-2012.02-20120222 - Linaro GCC 2012.02) 4.6.3 20120201 (prerelease)
  3. Copyright (C) 2011 Free Software Foundation, Inc.
  4. This is free software; see the source for copying conditions.  There is NO
  5. warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Copy code


While choosing XFS on big iron is sometimes a good idea (when using Mainline kernel I would always prefer btrfs/zfs these days) it's a really bad choice in your environment. And since you provide an OMV distributions the data of users relying on your work is at high risk. Please stop including dangerous 'features'!

0

threads

2

posts

22

credits

Novice

Rank: 1

credits
22
Published in 2015-12-7 20:39:39 | Show all floors
I'm having a small problem here. I'm using an Arduino connected to /dev/ttyS2 so i can get some remote sensors. All works decently unless i'm actively using smbd. As this orange pi PC is doubling as a DB and my media server i'm trying to get to the bottom of this.

If the PI PC is idle uart2 works as it should (im using python to collect data). If i'm streaming something using smbd (cpu never goes higher than 0.50) uart2 just stops receiving data. I tried directly connecting to uart2 via minicom and screen and the data simply stops coming.

I tried to use one of the other ports, but are the apparently disabled in the latest kernel ?
Published in 2015-12-7 21:13:49 | Show all floors
brakeline replied at 2015-12-7 20:39
I'm having a small problem here. I'm using an Arduino connected to /dev/ttyS2 so i can get some remo ...

Maybe it's a timing problem. Without knowing your cpufreq settings and the contents of /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq when being idle and when smbd starts to work it's a bit hard to help...

4

threads

25

posts

266

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
266
Published in 2015-12-8 04:20:19 | Show all floors
bronco replied at 2015-12-7 11:39
Maybe because neither data loss nor data corruption are that great? Here's another link: http://lmg ...

Ok. Bug , bug is everywhere ;)

0

threads

6

posts

289

credits

Intermediate member

Rank: 3Rank: 3

credits
289
Published in 2015-12-11 15:46:29 | Show all floors
At first loboris thanks for your work. I finally get the Orange pi plus to work with a hdmi to dvi cable
I have a question... How i can change the resolution? There is any guide to how to change the script.bin? My monitor says that the optimal mode is 1680x1050 60 Hz.

Thanks

3

threads

23

posts

354

credits

Intermediate member

Rank: 3Rank: 3

credits
354
Published in 2015-12-12 23:52:40 from mobile | Show all floors
hi i need change the resolution script.bin likeyou gipsy
You need to log in before you can reply login | Register

Points Rule

Quick reply Top Return list