Author: loboris

Linux Distributions for Orange PI H3 boards

  [Copy link]

1

threads

39

posts

137

credits

Registered member

Rank: 2

credits
137
Published in 2015-6-27 22:18:09 | Show all floors
Still no success on building my own kernel. Just trying to build the source modified with your changes and no changes of my own.
Here are the errors I get:

  CC      arch/arm/mach-sunxi/power/brom/resume_head.o
arm-linux-gnueabi-gcc: error: unrecognized command line option ‘--min_array_alignment=4’
arm-linux-gnueabi-gcc: error: unrecognized command line option ‘--no_unaligned_access’
make[3]: *** [arch/arm/mach-sunxi/power/brom/resume_head.o] Error 1
make[2]: *** [arch/arm/mach-sunxi/power/brom/resumes.code] Error 2
make[1]: *** [arch/arm/mach-sunxi/power] Error 2
make: *** [arch/arm/mach-sunxi] Error 2
make: *** Waiting for unfinished jobs....

It contiunes with several hundered lines (Some warnings) then stops here:
  LD      fs/nfsd/built-in.o
  LD      fs/built-in.o
  DEPMOD  3.4.39
cp: cannot stat ‘arch/arm/boot/uImage’: No such file or directory

Is something still missing or is my environment not right yet.
Running an x86 install of ubuntustudio:
mark@mark-ubuntu:~$ uname -a
Linux mark-ubuntu 3.16.0-34-lowlatency #47~14.04.1-Ubuntu SMP PREEMPT Fri Apr 10 18:18:14 UTC 2015 i686 athlon i686 GNU/Linux

Any ideas?

1

threads

76

posts

519

credits

Senior member

Rank: 4

credits
519
Published in 2015-6-27 23:21:43 | Show all floors
Hi,

I did some tests, and the main problem is in uImages I used all file system from zacho_seven (dir structure) and works but without emmc and FTDI.

1

threads

39

posts

137

credits

Registered member

Rank: 2

credits
137
Published in 2015-6-27 23:27:30 | Show all floors
Is the resume_head.o an expected/acceptable error?

There is no linux-3.4/arch/boot directory.  A tar -tfv does not show this directory in the h3-lichee* or liche* gz files.  Should there be one, or does that need to be manually created?

Mark

2

threads

37

posts

382

credits

Intermediate member

Rank: 3Rank: 3

credits
382
Published in 2015-6-28 10:30:18 | Show all floors
@loboris,

Sorry but can you include AP mode for your next release??? Ok still can't get it working...

If any m8 managed to get it working, please share... Thanks

1

threads

47

posts

189

credits

Registered member

Rank: 2

credits
189
Published in 2015-6-28 14:35:11 | Show all floors
markwinger replied at 2015-6-27 22:18
Still no success on building my own kernel. Just trying to build the source modified with your chang ...

I am also generating my own kernel with gcc 4.9.2 on a ARM machine and there are a lot of problems:
ia64 binary (@loboris thanks for the brom directory), section mismatch errors, relocation problem with 2G/2G memory, Makefile errors with out-of-tree building ...
I will give the source patches as soon as I have a working kernel.

1

threads

76

posts

519

credits

Senior member

Rank: 4

credits
519
Published in 2015-6-28 15:42:11 | Show all floors
Hi,

I am trying and trying to run FTDI and may be someone can recognize a problem, when I tried to start through modprobe I have such info:

/sbin/rmmod
root@orangepi:~# /sbin/rmmod ftdi_sio
rmmod: ERROR: Module ftdi_sio is builtin.
root@orangepi:~# modprobe ftdi_sio vendor=0x0403 product=0x6001
modprobe: ERROR: ../libkmod/libkmod.c:507 kmod_lookup_alias_from_builtin_file() could not open builtin file '/lib/modules/3.4.39/modules.builtin.bin'
root@orangepi:~#

0

threads

6

posts

78

credits

Registered member

Rank: 2

credits
78
Published in 2015-6-29 02:58:12 | Show all floors
Edited by Petr at 2015-6-28 20:01
loboris replied at 2015-6-25 13:02
I don't know what could be the problem with mounting sata drive from fstab.
If you don't need it e ...

Thank you.

I think that Plex is problem. It use a lot of system resources. It crashes while I am playing movie from it, sync or randomly. Could someone please test the Plex Media Server on loboris Debian? Can be installed from http://www.htpcguides.com/instal ... lubuntu-and-debian/ where is "Install Plex Media Server on ODROID using Repository". I used it on Raspberry Pi 2 without any problems (wheezy version).


Last thing, loboris, could you please prepare Ubuntu Server for orange pi plus? It is possible? http://www.ubuntu.com/download/server/arm

Thank you very much.

Best regards,
Petr

10

threads

448

posts

5181

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
5181
 Author| Published in 2015-6-29 03:51:24 | Show all floors
Edited by loboris at 2015-6-29 04:32
roblad replied at 2015-6-28 15:42
Hi,

I am trying and trying to run FTDI and may be someone can recognize a problem, when I tried to  ...

FTDI and other USB serial modules are buit in my kernel, no need for insmod, just plug in:

[   49.020404] usb 2-1.2: new full-speed USB device number 5 using sunxi-ehci
[   49.201918] usbcore: registered new interface driver ftdi_sio
[   49.202014] USB Serial support registered for FTDI USB Serial Device
[   49.202479] ftdi_sio 2-1.2:1.0: FTDI USB Serial Device converter detected
[   49.202654] usb 2-1.2: Detected FT232RL
[   49.202665] usb 2-1.2: Number of endpoints 2
[   49.202676] usb 2-1.2: Endpoint 1 MaxPacketSize 64
[   49.202686] usb 2-1.2: Endpoint 2 MaxPacketSize 64
[   49.202696] usb 2-1.2: Setting MaxPacketSize 64
[   49.203468] usb 2-1.2: FTDI USB Serial Device converter now attached to ttyUSB0
[   49.203544] ftdi_sio: v1.6.0:USB FTDI Serial Converters Driver
orangepi@OrangePI:~$

Example on minimal ubuntu vivid.

10

threads

448

posts

5181

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
5181
 Author| Published in 2015-6-29 03:55:30 | Show all floors
Petr replied at 2015-6-29 02:58
Thank you.

I think that Plex is problem. It use a lot of system resources. It crashes while I am p ...

There is nothing special to prepare for Ubuntu Server. Take the minimal image and install the server packages you need ...

10

threads

448

posts

5181

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
5181
 Author| Published in 2015-6-29 04:21:16 | Show all floors
derrickyee81 replied at 2015-6-28 10:30
@loboris,

Sorry but can you include AP mode for your next release??? Ok still can't get it working. ...

I think AP can work on OrangePI. There are many tutorials how to set it up. For now I have very little free time to test it, sorry. Maybe next week.

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

Points Rule

Quick reply Top Return list