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]

3

Threads

28

Posts

151

Credits

Registered member

Rank: 2

Credits
151
Post time 2015-9-3 14:38:53 | Show all posts
Hi Loboris!
I wanted to boot from USBFlash
I downloaded the  all new archives
save sd "Debian_jessie_mini.img"
load sd card,
"sudo install_to_usb /dev/sda1 [btrfs]|[noformat]"
"sudo: install_to_usb: command not found"

Could you describe in more detail
I'm not really an expert.


10

Threads

448

Posts

3017

Credits

Moderator

Rank: 7Rank: 7Rank: 7

Credits
3017
 Author| Post time 2015-9-3 15:52:23 | Show all posts
blindpet replied at 2015-9-3 06:23
That is strange, which board has USB 3.0? To be clear I am not interested in dd tests, I am interes ...

The Orange PI-PLUS has SATA connector only which is connected to the SATA2USB bridge. Quote from sunxi:
Be aware that the H3 SoC used on the Orange Pi Plus isn't SATA capable and therefore the SATA port is provided by an USB-to-SATA-bridge. This means you can neither expect SATA performance nor full SATA functionality. While the used GL830 bridge supports S.M.A.R.T. attributes it does not support S.M.A.R.T. status notification (overall health indicator of the disk – instead of PASSED or FAILED you will only get SMART Status not supported: Incomplete response, ATA output registers missing).
If you wish to connect a SATA drive (2.5" mobile harddisk or SSD) to the Orange Pi Plus: Make sure your power supply is connected to the "DC-IN" port, and can deliver sufficient current (e.g. 5V/2000mA). Using the OTG port or an inadequate power supply might result in your board not being working.
None of the OPI boards has USB 3.0.

If you need the board with with USB 3.0 you can try Odroid XU4, it has no SATA, but the drives attached to USB 3.0 port works at ~150 MB/sec.

10

Threads

448

Posts

3017

Credits

Moderator

Rank: 7Rank: 7Rank: 7

Credits
3017
 Author| Post time 2015-9-3 16:15:29 | Show all posts
Edited by loboris at 2015-9-3 13:53
Vladimir55 replied at 2015-9-3 07:38
Hi Loboris!
I wanted to boot from USBFlash
I downloaded the  all new archives

It is realy hard to describe in more details, but let me try.

You must have Linux installed on your OPI.
Boot to it.
Download script_kernel.tar.gz extract to BOOT (fat) partition.
if you have OPI-2 or OPI-PC copy uImage_OPI-2 to uImage
  1. sudo cp /media/boot/uImage_OPI-2 /media/boot/uImage
Copy the Code
if you have OPI-PLUS copy uImage_OPI-PLUS to uImage
  1. sudo cp /media/boot/uImage_OPI-PLUS /media/boot/uImage
Copy the Code

Download desktop_scripts.tar.gz, extract to /usr/local/bin
Run install_to_usb :
sudo install_to_usb /dev/sda1                   to format /dev/sda1 as ext4 and copy your Linux installation to it, OR
sudo install_to_usb /dev/sda1 btrfs          to format /dev/sda1 as btrfs and copy your Linux installation to it, OR
sudo install_to_usb /dev/sda1 noformat   to copy your Linux installation to /dev/sda1 without formating it

Your USB drive must already have the partition created (if not, you can create one with fdisk or gparted)

2

Threads

22

Posts

86

Credits

Registered member

Rank: 2

Credits
86
Post time 2015-9-3 16:19:52 | Show all posts
blindpet replied at 2015-9-3 13:23
That is strange, which board has USB 3.0? To be clear I am not interested in dd tests, I am interes ...

It seems BananaPi has true SATA (100-120 Mb/s), bad to see.

I had 31 Mb/s through external USB<>SATA bridge (Innostor IS621) Seagate 2TB (SEAGATE Surveillance ST2000VX003).
27 Mb/s  through internal USB<>SATA (GL830).

3

Threads

28

Posts

151

Credits

Registered member

Rank: 2

Credits
151
Post time 2015-9-3 16:49:41 | Show all posts
loboris replied at 2015-9-3 16:15
It is realy hard to describe in more details, but let me try.

You must have Linux installed on you ...

Hi loboris!
Absolutely agree,
explain or write instructions (for non-specialist)
more complex than the problem itself.
I will try to do for  instruction.
thank you for your support
P.S.
I will write later.


10

Threads

448

Posts

3017

Credits

Moderator

Rank: 7Rank: 7Rank: 7

Credits
3017
 Author| Post time 2015-9-3 17:23:13 | Show all posts
Edited by loboris at 2015-9-3 10:47
Niarbagem replied at 2015-9-3 09:19
It seems BananaPi has true SATA (100-120 Mb/s), bad to see.

I had 31 Mb/s through external USBSAT ...

On OPI-PLUS I had max of 36 MB/sec transfer with USB 3.0 drives (Toshiba 1TB HD, SanDisk UltraFit 64GB Flash drive, dd read with 1M block size).
When I tested simultaneous with drives connected to the same USB channel (internal hub), I had the total speed of ~45 MB/sec.
With drives connected to the two USB channel (usbhost & usb otg), I had the total speed of ~72 MB/sec.
So, using 3 separate USB drives in raid 0 configuration (on usbhost + usb otg + internal usb2sata), we could get the speed close to 90 MB/sec (36 x 3 x 0.85)

Orange PI-PC has 3 USB host connectors on 3 separate USB channels ( + usb OTG) !

2

Threads

22

Posts

86

Credits

Registered member

Rank: 2

Credits
86
Post time 2015-9-3 19:50:35 | Show all posts
loboris replied at 2015-9-3 17:23
On OPI-PLUS I had max of 36 MB/sec transfer with USB 3.0 drives (Toshiba 1TB HD, SanDisk UltraFit 6 ...

So i must to have 3x2T HDD to get speed up to 90 Mb/s ? And configure program RAID0 to get it?! Very FUN )
Price for 3 HDD is equal to HP Microserver H8.

P.S. I have found BananaPi m1 board - will try to test speed on it.

3

Threads

28

Posts

151

Credits

Registered member

Rank: 2

Credits
151
Post time 2015-9-3 19:58:09 | Show all posts
Edited by Vladimir55 at 2015-9-3 19:59
loboris replied at 2015-9-3 16:15
It is realy hard to describe in more details, but let me try.

You must have Linux installed on you ...

Hi Loboris!
I do..
1 .script_kernel.tar.gz extract to --> /media/boot/ ???
2. desktop_scripts.tar.gz, extract to -->/usr/local/bin
3.  sudo cp /media/boot/uImage_OPI-2 media/boot/uImage

sudo: unable to resolve host OrangePI
cp: cannot create regular file ‘media/boot/uImage’: No such file or directory
root@OrangePI:~#

what I'm doing wrong?








10

Threads

448

Posts

3017

Credits

Moderator

Rank: 7Rank: 7Rank: 7

Credits
3017
 Author| Post time 2015-9-3 20:35:43 | Show all posts
Niarbagem replied at 2015-9-3 12:50
So i must to have 3x2T HDD to get speed up to 90 Mb/s ? And configure program RAID0 to get it?! Ve ...

I've only stated what you can get.
And you can have 3x300MB or 3x500MB hd (in raid0 configuration total capacity = sum of each drive capacity)
And you must know how to choose the hardware according to your needs.
And yes, I think solving problems is fun , and working with raid configurations is even more fun....


10

Threads

448

Posts

3017

Credits

Moderator

Rank: 7Rank: 7Rank: 7

Credits
3017
 Author| Post time 2015-9-3 20:52:02 | Show all posts
Edited by loboris at 2015-9-3 14:07
Vladimir55 replied at 2015-9-3 12:58
Hi Loboris!
I do..
1 .script_kernel.tar.gz extract to --> /media/boot/ ???

Have you extracted script_kernel.tar.gz to /media/boot ( why ???  "/media/boot/ ??? "
There was missing / in "
sudo cp /media/boot/uImage_OPI-2 media/boot/uImage" it must be
  1. sudo cp /media/boot/uImage_OPI-2 /media/boot/uImage
Copy the Code
but you should realy be able to know that it was the mistake.
You don't need to use sudo if you are logged in as root.





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

Points Rules

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

2017-5-26 19:17 GMT+8 , Processed in 0.032743 second(s), 22 queries .

Powered by Discuz! X3.2

© 2014-2015 orangepibbs en.

Quick Reply To Top Return to the list