please choosego to mobile | Continue to access the PC version
Author: loboris

Linux Distributions for Orange PI H3 boards

  [Copy link]

0

threads

16

posts

82

credits

Registered member

Rank: 2

credits
82
Published in 2015-8-26 16:06:45 | Show all floors
Thank you loboris you are super hero

7

threads

100

posts

647

credits

Senior member

Rank: 4

credits
647
Published in 2015-8-26 18:46:48 | Show all floors
Is it possible to give a tutorial how to install the System to the emmc chip

Thank you

3

threads

38

posts

223

credits

Intermediate member

Rank: 3Rank: 3

credits
223
Published in 2015-8-27 10:21:33 | Show all floors
Hello !

@loboris thank you for your great job.

I am using lubuntu image with mate desktop from mega. I am trying to use OV5640 CSI camera, but without success. .

When I issue modprobe ov5640, and modptobe vfe_v4l2 - dmesg says:

[  981.379644] [VFE]cci probe start cci_sel = 0!
[  981.379751] [VFE]cci probe end cci_sel = 0!
[  981.380111] [VFE]cci_init end
[ 1004.006508] [VFE]Welcome to Video Front End driver
[ 1004.006843] [VFE]pdev->id = 0
[ 1004.006852] [VFE]dev->mipi_sel = 0
[ 1004.006860] [VFE]dev->vip_sel = 0
[ 1004.006866] [VFE]dev->isp_sel = 0
[ 1004.012996] [VFE_WARN]vfe vpu clock is null
[ 1004.020716] [VFE]..........................vfe clk open!.......................
[ 1004.020745] [ISP] isp platform_id = 5!
[ 1004.020882] [VFE]vfe_init end
[ 1004.030122] [VFE]probe_work_handle start!
[ 1004.030145] [VFE]v4l2 subdev register input_num = 0
[ 1004.030157] [VFE]vfe sensor detect start! input_num = 0
[ 1004.030172] [VFE]Find sensor name is "gc2035", i2c address is 78, type is "YUV" !
[ 1004.030184] [VFE]Sub device register "gc2035" i2c_addr = 0x78 start!
[ 1004.030196] [VFE_ERR]Error registering v4l2 subdevice No such device!
[ 1004.037382] [VFE_ERR]vfe sensor register check error at input_num = 0
[ 1004.044902] [VFE]V4L2 device registered as video0
[ 1004.044936] [VFE]..........................vfe clk close!.......................
[ 1004.044961] [VFE]probe_work_handle end!
[ 1004.051036] [VFE]vfe_open
[ 1004.051059] [VFE]..........................vfe clk open!.......................
[ 1004.051094] [VFE]vfe_open ok
[ 1004.051284] [VFE]vfe_close
[ 1004.051297] [VFE]vfe select input flag = 0, s_input have not be used .
[ 1004.051315] [VFE]..........................vfe clk close!.......................
[ 1004.051344] [VFE]vfe_close end

It seems that modules are loaded:

root@OrangePI:/home/orangepi# lsmod
Module                  Size  Used by
vfe_v4l2              680171  0
videobuf_dma_contig     4189  1 vfe_v4l2
videobuf_core          16552  2 vfe_v4l2,videobuf_dma_contig
ov5640                 27249  0
vfe_subdev              4495  2 vfe_v4l2,ov5640
vfe_os                  4137  2 vfe_v4l2,vfe_subdev
cci                    22135  2 vfe_v4l2,ov5640
8189es                887631  0  

So I tried to compile kernel from h3-lichee-1.0.tar with patch from mega - lichee.tar using scripts to configure and build.
Building is succesful but uimage is 88 megabytes and rootfs.cpio.gz - 83 megabytes (is this initrd?) so I had to resize my BOOT partition on sd card. Why it is so big?

The original uimage boots without problems, but if I try to boot my big uimage - uboot complainsthat it has no script.bin.

I copied one from mega but it still fails to boot - some mmc setings and reboots.

Could you help plesae ?

2

threads

22

posts

92

credits

Registered member

Rank: 2

credits
92
Published in 2015-8-27 11:08:19 | Show all floors

RE: Debian Jessie & Ubuntu Vivid images

Edited by Niarbagem at 2015-8-27 11:12
loboris replied at 2015-8-25 21:18
I received my OPI-PLUS yesterday (thanks @zhao_steven), and I'm fixing the issues related to it.
I' ...

Please add NFS server support to kernel (for debian image) , if it possible.

I had tested internal sata to usb bridge by hdparm:
max speed 27Mb/s
av speed 12Mb/s

External (hdd box usb 2.0):
max 31Mb/s
av 25Mb/s

max speed - as soon as possible after reboot
av speed - periodical tests for 24hrs

Want to buy sata to usb 3.0, may be speed will be increase for some.


P.S. image  debian-server

10

threads

448

posts

5109

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
5109
 Author| Published in 2015-8-27 16:37:42 | Show all floors
Sitheek replied at 2015-8-27 03:21
Hello !

@loboris thank you for your great job.

Your uImage is way to big, it shouldn't be more than 8MB. (uImage is kernel+initramfs).
I'll upload the new kernels and images later today or tomorrow.

10

threads

448

posts

5109

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
5109
 Author| Published in 2015-8-27 17:08:32 | Show all floors
Niarbagem replied at 2015-8-27 04:08
Please add NFS server support to kernel (for debian image) , if it possible.

I had tested internal ...

I think NFS server support is already in my kernel, but I'll check.
You can't expect much higher USB speed on USB 2.0. On my main PC I get max 42 MB/s on USB 2.0, so ~30 MB/s on OPI isn't that bad.
You won't get higher speed using sata to USB 3.0, I've tested it.
You can probably get higher speed using two usb drives in raid configuration, I'll test it.

2

threads

37

posts

382

credits

Intermediate member

Rank: 3Rank: 3

credits
382
Published in 2015-8-27 17:32:35 | Show all floors
Edited by derrickyee81 at 2015-8-27 17:36

@loboris,

Just wondering if you can you host the NO_BUDGET_COOLING Kernel in your server and update the update script so we can update it in the new img...

Cheers

3

threads

38

posts

223

credits

Intermediate member

Rank: 3Rank: 3

credits
223
Published in 2015-8-27 20:25:40 | Show all floors
Have somebody tried to connect OV5640 CSI camera?
Any success?

10

threads

448

posts

5109

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
5109
 Author| Published in 2015-8-28 01:27:22 | Show all floors
derrickyee81 replied at 2015-8-27 10:32
@loboris,

Just wondering if you can you host the NO_BUDGET_COOLING Kernel in your server and update ...

I'll do that.

10

threads

448

posts

5109

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
5109
 Author| Published in 2015-8-28 01:31:18 | Show all floors
@Sitheek (So I tried to compile kernel ....)
Have you made any changes to the kernel (config and/or source) ?
If yes, could you send me the changes, I can compile the kernel for you.

You need to log in before you can reply login | Register

Points Rule

Quick reply Top Return list