please choosego to mobile | Continue to access the PC version
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 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

5036

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
5036
 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

5036

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
5036
 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

5036

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
5036
 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.

1

threads

76

posts

519

credits

Senior member

Rank: 4

credits
519
Published in 2015-6-29 04:34:20 | Show all floors
Edited by roblad at 2015-6-29 05:29

Hi,

But I tried many imgs from mega on OPI+ only base vivid starts but FTDI does not work.
Ater plug:

usb2-1.4 device not accepting addres 10, error -32   ...  -71 Unable to enumerate etc.

[   30.941129] usb 5-1.4: new full-speed USB device number 4 using sunxi-ohci
[   36.415131] usb 5-1.4: USB disconnect, device number 4
[   36.751125] usb 5-1.4: new full-speed USB device number 5 using sunxi-ohci
[   37.983133] usb 5-1.4: USB disconnect, device number 5
[   41.501127] usb 5-1.4: new full-speed USB device number 6 using sunxi-ohci
[   43.071132] usb 5-1.4: USB disconnect, device number 6
[  425.150385] usb 5-1.4: new full-speed USB device number 7 using sunxi-ohci
[  425.614402] hub 5-1:1.0: unable to enumerate USB device on port 4
[  448.860940] usb 5-1.3: new full-speed USB device number 9 using sunxi-ohci
[  449.114946] hub 5-1:1.0: unable to enumerate USB device on port 3
[  449.580931] usb 5-1.3: new full-speed USB device number 10 using sunxi-ohci
[  459.832781] usb 5-1.3: USB disconnect, device number 10
[  461.320768] usb 5-1.3: new full-speed USB device number 11 using sunxi-ohci
[  461.840755] usb 5-1.3: new full-speed USB device number 12 using sunxi-ohci
[  462.360734] usb 5-1.3: new full-speed USB device number 13 using sunxi-ohci
[  462.870735] usb 5-1.3: new full-speed USB device number 14 using sunxi-ohci
[  463.312742] hub 5-1:1.0: unable to enumerate USB device on port 3
[  467.960638] usb 5-1.3: new full-speed USB device number 15 using sunxi-ohci
[  468.214643] hub 5-1:1.0: unable to enumerate USB device on port 3
[  469.630852] usb 5-1.3: new full-speed USB device number 16 using sunxi-ohci
[  469.884620] hub 5-1:1.0: unable to enumerate USB device on port 3
[  470.210599] usb 5-1.3: new full-speed USB device number 17 using sunxi-ohci
[  470.770601] usb 5-1.3: new full-speed USB device number 18 using sunxi-ohci
[  471.330582] usb 5-1.3: new full-speed USB device number 19 using sunxi-ohci
[  471.870575] usb 5-1.3: new full-speed USB device number 20 using sunxi-ohci
[  472.310608] hub 5-1:1.0: unable to enumerate USB device on port 3
[  479.930456] usb 5-1.3: new full-speed USB device number 21 using sunxi-ohci
[  480.470436] usb 5-1.3: new full-speed USB device number 22 using sunxi-ohci
[  481.010436] usb 5-1.3: new full-speed USB device number 23 using sunxi-ohci
[  481.550408] usb 5-1.3: new full-speed USB device number 24 using sunxi-ohci
[  481.990447] hub 5-1:1.0: unable to enumerate USB device on port 3
[  482.920398] usb 5-1.3: new full-speed USB device number 25 using sunxi-ohci
[  486.840338] usb 5-1.3: USB disconnect, device number 25
[  496.441185] usb 5-1.3: new full-speed USB device number 26 using sunxi-ohci
[  507.256027] usb 5-1.3: USB disconnect, device number 26
[  511.290967] usb 5-1.4: new full-speed USB device number 27 using sunxi-ohci

Arduino shows nothing as well



7

threads

19

posts

228

credits

Intermediate member

Rank: 3Rank: 3

credits
228
Published in 2015-7-7 16:46:13 | Show all floors
Edited by jslav at 2015-7-7 16:49

I Build kernel from the latest sources:
Building sequence is:

1. Extract sources

  1. > mkdir sandbox
  2. > cd sandbox
  3. > tar xvzf ../h3-lichee-1.0.tar.gz # got [b]lichee[/b] directory
  4. > cd lichee
  5. > tar xvzf ../../lichee.tar.gz # kind of patch. Files from ../../lichee.tar.gz are copied to linux-3.4 directory
Copy code
>

2. Build sources AS IS
>./build_linux_kernel.sh
The fiirst error message happens here:


  1.   CC      arch/arm/mach-sunxi/power/brom/resume_head.o
  2. arm-linux-gnueabi-gcc: error: unrecognized command line option ‘--min_array_alignment=4’
  3. arm-linux-gnueabi-gcc: error: unrecognized command line option ‘--no_unaligned_access’
  4. make[3]: *** [arch/arm/mach-sunxi/power/brom/resume_head.o] Error 1
  5. make[2]: *** [arch/arm/mach-sunxi/power/brom/resumes.code] Error 2
  6. make[1]: *** [arch/arm/mach-sunxi/power] Error 2
  7. make[1]: *** Waiting for unfinished jobs....
  8.   CC      ipc/util.o
  9.   CC      security/commoncap.o
  10. make: *** [arch/arm/mach-sunxi] Error 2
  11. make: *** Waiting for unfinished jobs....
Copy code


What is wrong?
Why command line options ‘--min_array_alignment=4’ and ‘--no_unaligned_access’ can be unrecognized?
You need to log in before you can reply login | Register

Points Rule

Quick reply Top Return list