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]

10

Threads

448

Posts

4282

Credits

Moderator

Rank: 7Rank: 7Rank: 7

Credits
4282
 Author| Post time 2015-8-20 21:06:45 | Show all posts
ledongthuc replied at 2015-8-20 13:37
hi @loboris, I have an other question. Could you give us some comment how to build uImage for your i ...

You can download lichee.tar.gz from Mega (see 1st post). It contains the scripts I use to build u-boot (toots/pack subdirectory).
It is the old version, but it should work.

1

Threads

15

Posts

81

Credits

Registered member

Rank: 2

Credits
81
Post time 2015-8-21 01:36:12 | Show all posts
loboris replied at 2015-8-20 21:06
You can download lichee.tar.gz from Mega (see 1st post). It contains the scripts I use to build u- ...

Good to know, I was also trying to modify my uImage last night, and I could not figure out why the scripts were not working.

Thanks.

0

Threads

16

Posts

82

Credits

Registered member

Rank: 2

Credits
82
Post time 2015-8-25 11:20:48 | Show all posts
Hi

Currently i attached 64gb usb pendrive to OrangePi Plus using Ubuntu Vivid images, the performance of the pen drive is very very slow.

Tester with hdparm output attached at OrangePiPlus Ubuntu Vivid images.
#sudo hdparm -t /dev/sdb1
/dev/sdb1:
Timing buffered disk reads:   4 MB in  4.23 seconds = 967.56 kB/sec

same pen drive at pc
#hdparm -t /dev/sdd1
/dev/sdd1:
Timing buffered disk reads:  84 MB in  3.04 seconds =  27.68 MB/sec

Even tested USB protable hardisk the output show same Timing buffered disk reads:   4 MB in  4.23 seconds = 967.56 kB/sec.
Tested on all four ports.

Do i need to do some configuration ? Please help.

Tks

10

Threads

448

Posts

4282

Credits

Moderator

Rank: 7Rank: 7Rank: 7

Credits
4282
 Author| Post time 2015-8-25 21:18:45 | Show all posts
Edited by loboris at 2015-8-25 14:24
raid3868 replied at 2015-8-25 04:20
Hi

Currently i attached 64gb usb pendrive to OrangePi Plus using Ubuntu Vivid images, the performan ...

I received my OPI-PLUS yesterday (thanks @zhao_steven), and I'm fixing the issues related to it.
I've allready fixed USB drive issue (USB speed is now >30 MB/sec measured with hdparm -t, as expected) and installation to emmc.
I'll upload the new kernel (and images) soon.

orangepi@OrangePI:~$ sudo dd if=/dev/zero of=/media/orangepi/USBlobo/xxxx bs=1M count=100 oflag=direct
[sudo] password for orangepi:
100+0 records in
100+0 records out
104857600 bytes (105 MB) copied, 3.23009 s, 32.5 MB/s
orangepi@OrangePI:~$ sudo dd if=/dev/zero of=/media/orangepi/USBlobo/xxxx bs=10M count=20 oflag=direct
20+0 records in
20+0 records out
209715200 bytes (210 MB) copied, 5.7754 s, 36.3 MB/s
orangepi@OrangePI:~$
orangepi@OrangePI:~$ sudo hdparm -t /dev/sda1

/dev/sda1:
Timing buffered disk reads:  98 MB in  3.06 seconds =  32.06 MB/sec
orangepi@OrangePI:~$


0

Threads

16

Posts

82

Credits

Registered member

Rank: 2

Credits
82
Post time 2015-8-26 16:06:45 | Show all posts
Thank you loboris you are super hero

7

Threads

100

Posts

647

Credits

Senior member

Rank: 4

Credits
647
Post time 2015-8-26 18:46:48 | Show all posts
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
Post time 2015-8-27 10:21:33 | Show all posts
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
Post time 2015-8-27 11:08:19 | Show all posts

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

4282

Credits

Moderator

Rank: 7Rank: 7Rank: 7

Credits
4282
 Author| Post time 2015-8-27 16:37:42 | Show all posts
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

4282

Credits

Moderator

Rank: 7Rank: 7Rank: 7

Credits
4282
 Author| Post time 2015-8-27 17:08:32 | Show all posts
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.

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

Points Rules

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

2022-1-26 15:42 GMT+8 , Processed in 0.035362 second(s), 20 queries .

Powered by Discuz! X3.2

© 2014-2015 orangepibbs en.

Quick Reply To Top Return to the list