Author: loboris

Linux Distributions for Orange PI H3 boards

  [Copy link]

2

threads

34

posts

225

credits

Intermediate member

Rank: 3Rank: 3

credits
225
Published in 2015-11-11 10:15:35 | Show all floors
Video acceleration is cioming along
https://www.youtube.com/watch?v=Qjg7fDYuABg

1

threads

116

posts

708

credits

Senior member

Rank: 4

credits
708
Published in 2015-11-11 16:00:13 | Show all floors
That looks more like 2d/3d acceleration, than actual video acceleration.

1

threads

24

posts

169

credits

Registered member

Rank: 2

credits
169
Published in 2015-11-12 00:11:29 | Show all floors
lymon replied at 2015-11-11 03:55
yes the driver was compiled for a different version.

I have recompiled the driver for kernel vers ...

Now it is working. Thanks!

11

threads

59

posts

326

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
326
Published in 2015-11-13 04:17:38 | Show all floors
Are you by any chance working on a H3 FC23 image?
Would be nice.

Thanks for the good work!

You can also reach me on freenode irc, channel #orangepi username eFfeM

5

threads

31

posts

1156

credits

Gold member

Rank: 6Rank: 6

credits
1156
Published in 2015-11-13 20:36:52 | Show all floors
Hello loboris,

things I miss in OrangePI-PC_Ubuntu_Vivid_Mate.img:
-------------------------------------------------- --------
-script to replace HDMI resolution without typing.
-virtual Keypad from the start.
-change spanish language utf-8 (locales fails).
-ffmplay you not have sound, bug?.
-acceleration graphics included !!.
-autologin optional.
-kodi easily installable.
-is it possible that the LEDs can be turned off so you do not bother?
-kernel 4x is possible?
THX!

0

threads

1

posts

130

credits

Registered member

Rank: 2

credits
130
Published in 2015-11-14 00:45:36 | Show all floors
@loboris
Nice job, thank you.

A little request (if I may): in the next kernel release enable iotop requirements please:
  1. orangepi@OrangePI:~$ sudo iotop
  2. Could not run iotop as some of the requirements are not met:
  3. - Linux >= 2.6.20 with
  4.   - I/O accounting support (CONFIG_TASKSTATS, CONFIG_TASK_DELAY_ACCT, CONFIG_TASK_IO_ACCOUNTING)
Copy code

0

threads

2

posts

50

credits

Registered member

Rank: 2

credits
50
Published in 2015-11-14 01:25:55 | Show all floors
Edited by mgmuras at 2015-11-14 02:03

Hi guys
First of all, thank you loboris for this great thread. I'm using Ubuntu 14.04.3 on OrangePI Plus booting and running linux partition on emmc memory. I wished to backup my current linux setup on sd card, but install_to_sdcard gives me an error. As you can see in below output sd card is correctly formated but then scripts stops with mount error. I'm using the newest kernel, script.bin and lib modules. SD card has 64GB capacity so it's not a problem and it's working correctly because I ran linux from it and used install_to_emmc after. Could you give me some assistance with complete this task?


  1. sudo install_to_sdcard

  2. Fri Nov 13 17:10:31 UTC 2015
  3. =================================
  4. Installing Linux system to sdcard
  5. =================================


  6. WARNING: SD CARD WILL BE ERASED !, Continue (y/N)?  y
  7. Erasing SD CARD ...
  8. Creating new filesystem on SD CARD ...
  9.   New filesystem created on /dev/mmcblk1.
  10. Partitioning SD CARD ...
  11.   Creating boot & linux partitions
  12.   OK.
  13. Formating fat partition ...
  14.   fat partition formated.
  15. Formating linux partition (ext4), please wait ...
  16.   linux partition formated.

  17. Instaling u-boot to SD CARD ...

  18. Mounting SD CARD partitions...
  19. mount: wrong fs type, bad option, bad superblock on /dev/mmcblk1p2,
  20.        missing codepage or helper program, or other error
  21.        In some cases useful info is found in syslog - try
  22.        dmesg | tail  or so

  23. ERROR mounting linux partitions...
Copy code
  1. dmesg | tail
  2. [  711.785374]  mmcblk1:
  3. [  714.552416]  mmcblk1: p1 p2
  4. [  737.320168] ==> rtl8188e_iol_efuse_patch
  5. [  737.595588] RTL871X: nolinked power save leave
  6. [  738.900077] RTL871X: nolinked power save enter
  7. [  800.320180] ==> rtl8188e_iol_efuse_patch
  8. [  800.563601] RTL871X: nolinked power save leave
  9. [  801.870242] RTL871X: nolinked power save enter
  10. [  836.710280] JBD2: no valid journal superblock found
  11. [  836.710301] EXT4-fs (mmcblk1p2): error loading journal
Copy code
  1. df -h
  2. Filesystem      Size  Used Avail Use% Mounted on
  3. /dev/mmcblk0p2  7.1G  2.0G  4.8G  30% /
  4. none            4.0K     0  4.0K   0% /sys/fs/cgroup
  5. udev             10M  4.0K   10M   1% /dev
  6. tmpfs           502M     0  502M   0% /tmp
  7. tmpfs           201M  500K  201M   1% /run
  8. none            5.0M     0  5.0M   0% /run/lock
  9. none            502M  4.0K  502M   1% /run/shm
  10. none            100M     0  100M   0% /run/user
  11. /dev/mmcblk0p1   64M   37M   28M  58% /media/boot
  12. /dev/sda1       291G  2.2G  289G   1% /media/usb
Copy code
  1. fdisk -l

  2. Disk /dev/sda: 320.1 GB, 320072931328 bytes
  3. 255 heads, 63 sectors/track, 38913 cylinders, total 625142444 sectors
  4. Units = sectors of 1 * 512 = 512 bytes
  5. Sector size (logical/physical): 512 bytes / 512 bytes
  6. I/O size (minimum/optimal): 512 bytes / 512 bytes
  7. Disk identifier: 0x1cf7bff2

  8.    Device Boot      Start         End      Blocks   Id  System
  9. /dev/sda1            2048   608757759   304377856    7  HPFS/NTFS/exFAT
  10. /dev/sda2       608757760   625141759     8192000    b  W95 FAT32

  11. Disk /dev/mmcblk0: 7818 MB, 7818182656 bytes
  12. 4 heads, 16 sectors/track, 238592 cylinders, total 15269888 sectors
  13. Units = sectors of 1 * 512 = 512 bytes
  14. Sector size (logical/physical): 512 bytes / 512 bytes
  15. I/O size (minimum/optimal): 512 bytes / 512 bytes
  16. Disk identifier: 0x7c9bee75

  17.         Device Boot      Start         End      Blocks   Id  System
  18. /dev/mmcblk0p1           40960      172031       65536    b  W95 FAT32
  19. /dev/mmcblk0p2          172032    15269887     7548928   83  Linux

  20. Disk /dev/mmcblk0boot1: 4 MB, 4194304 bytes
  21. 4 heads, 16 sectors/track, 128 cylinders, total 8192 sectors
  22. Units = sectors of 1 * 512 = 512 bytes
  23. Sector size (logical/physical): 512 bytes / 512 bytes
  24. I/O size (minimum/optimal): 512 bytes / 512 bytes
  25. Disk identifier: 0x00000000

  26. Disk /dev/mmcblk0boot1 doesn't contain a valid partition table

  27. Disk /dev/mmcblk0boot0: 4 MB, 4194304 bytes
  28. 4 heads, 16 sectors/track, 128 cylinders, total 8192 sectors
  29. Units = sectors of 1 * 512 = 512 bytes
  30. Sector size (logical/physical): 512 bytes / 512 bytes
  31. I/O size (minimum/optimal): 512 bytes / 512 bytes
  32. Disk identifier: 0x00000000

  33. Disk /dev/mmcblk0boot0 doesn't contain a valid partition table

  34. Disk /dev/mmcblk1: 64.9 GB, 64906854400 bytes
  35. 4 heads, 16 sectors/track, 1980800 cylinders, total 126771200 sectors
  36. Units = sectors of 1 * 512 = 512 bytes
  37. Sector size (logical/physical): 512 bytes / 512 bytes
  38. I/O size (minimum/optimal): 512 bytes / 512 bytes
  39. Disk identifier: 0xa8340c8c

  40.         Device Boot      Start         End      Blocks   Id  System
  41. /dev/mmcblk1p1           40960      172031       65536    b  W95 FAT32
  42. /dev/mmcblk1p2          172032   126771199    63299584   83  Linux
Copy code
  1. cat /etc/fstab
  2. # OrangePI fstab
  3. /dev/mmcblk0p2  /  ext4  errors=remount-ro,noatime,nodiratime  0 1
  4. /dev/mmcblk0p1  /media/boot  vfat  defaults  0 0
  5. tmpfs /tmp  tmpfs nodev,nosuid,mode=1777  0 0
  6. /dev/sda1  /media/usb ntfs   nofail,uid=gmuras,gid=orangepi   0   0
Copy code



10

threads

448

posts

5043

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
5043
 Author| Published in 2015-11-14 03:41:24 | Show all floors
FransM replied at 2015-11-12 21:17
Are you by any chance working on a H3 FC23 image?
Would be nice.

Not for now, but I'll probably will ...

10

threads

448

posts

5043

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
5043
 Author| Published in 2015-11-14 03:42:57 | Show all floors
barquerito replied at 2015-11-13 13:36
Hello loboris,

things I miss in OrangePI-PC_Ubuntu_Vivid_Mate.img:

Thanks for the suggestions, all except for the kernel 4.x can be done ...

10

threads

448

posts

5043

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
5043
 Author| Published in 2015-11-14 03:44:05 | Show all floors
an0024 replied at 2015-11-13 17:45
@loboris
Nice job, thank you.

I'll try it ...

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

Points Rule

Quick reply Top Return list