please choosego to mobile | Continue to access the PC version
Author: igorpec

Orange PI with 4.2.2 and 3.4.109

[Copy link]

13

threads

197

posts

791

credits

Senior member

Rank: 4

credits
791
Published in 2015-10-1 15:53:14 | Show all floors
Is it suitable for OrangePI PC?

9

threads

634

posts

4429

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
4429
 Author| Published in 2015-10-2 04:01:31 | Show all floors
Nope, there is no support for this chip (H3) in community or vanilla kernel. It might soon be usable in Vanilla (4.3.x) but for server operations only.

13

threads

197

posts

791

credits

Senior member

Rank: 4

credits
791
Published in 2015-10-5 04:52:31 | Show all floors
Suitable for OrangePi PC?

9

threads

634

posts

4429

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
4429
 Author| Published in 2015-10-7 04:17:05 | Show all floors
Sorry, no.

Orange Pi + or PC with chip H3 is not supported.

1

threads

12

posts

73

credits

Registered member

Rank: 2

credits
73
Published in 2015-10-7 18:02:28 | Show all floors
Has anyone tried to run 4.3 kernel? I have compiled latest one with H3 enabled but resulting uImage didn't boot. I am new to this, so maybe you have some hints how to prepare kernel to boot with OrangePi PC ?

Thanks

1

threads

12

posts

73

credits

Registered member

Rank: 2

credits
73
Published in 2015-10-16 23:27:07 | Show all floors
I have built 4.3 kernel, but OrangePi PC is not booting. Probably device tree is missing. Anyone has dtb file for OrangePi PC ?

  1. Starting kernel ...

  2. Uncompressing Linux... done, booting the kernel.

  3. Error: unrecognized/unsupported machine ID (r1 = 0x00001029).

  4. Available machine support:

  5. ID (hex)        NAME
  6. ffffffff        Generic DT based system
  7. ffffffff        Allwinner sun9i Family
  8. ffffffff        Allwinner sun8i Family
  9. ffffffff        Allwinner sun7i (A20) Family
  10. ffffffff        Allwinner sun6i (A31) Family
  11. ffffffff        Allwinner A1X (Device Tree)

  12. Please check your kernel config and/or bootloader.
Copy code

9

threads

634

posts

4429

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
4429
 Author| Published in 2015-10-16 23:57:00 | Show all floors
Edited by igorpec at 2015-10-16 16:59

There is absolutely no support for H3 in mainline kernel. Unfortunately

http://irclog.whitequark.org/linux-sunxi/2015-10-15
Published in 2015-10-17 17:38:03 | Show all floors
elcct replied at 2015-10-16 23:27
I have built 4.3 kernel, but OrangePi PC is not booting. Probably device tree is missing. Anyone has ...

What about
https://github.com/jemk/u-boot-s ... 3-orangepi-plus.dts

?
Orange PI PC

1

threads

47

posts

189

credits

Registered member

Rank: 2

credits
189
Published in 2015-10-17 18:06:59 | Show all floors
darqoq replied at 2015-10-17 17:38
What about
https://github.com/jemk/u-boot-sunxi/blob/sunxi/h3/arch/arm/dts/sun8i-h3-orangepi-plus ...

It works with kernel 4.2, not with 4.3.

1

threads

12

posts

73

credits

Registered member

Rank: 2

credits
73
Published in 2015-10-17 18:25:20 | Show all floors
Thanks, I found this file earlier today and started playing with it.

My kernel is now booting, but is not going far. I guess I would need to look at OrangePI PC schematics. Do you know where I can find them?

  1. Uncompressing Linux... done, booting the kernel.
  2. [    0.000000] Booting Linux on physical CPU 0x0
  3. [    0.000000] Initializing cgroup subsys cpu
  4. [    0.000000] Initializing cgroup subsys cpuacct
  5. [    0.000000] Linux version 4.3.0-rc5 (root@kernel) (gcc version 4.7.3 (Ubuntu/Linaro 4.7.3-11ubuntu1) ) #12 SMP PREEMPT Sat Oct 17 05:43:08 EDT 2015
  6. [    0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c5387d
  7. [    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
  8. [    0.000000] Machine model: Xunlong Orange Pi PC
  9. [    0.000000] bootconsole [earlycon0] enabled
  10. [    0.000000] Memory policy: Data cache writealloc
  11. [    0.000000] On node 0 totalpages: 524288
  12. [    0.000000] free_area_init_node: node 0, pgdat c11becc0, node_mem_map ee7f8000
  13. [    0.000000]   Normal zone: 1520 pages used for memmap
  14. [    0.000000]   Normal zone: 0 pages reserved
  15. [    0.000000]   Normal zone: 194560 pages, LIFO batch:31
  16. [    0.000000]   HighMem zone: 329728 pages, LIFO batch:31
  17. [    0.000000] PERCPU: Embedded 13 pages/cpu @ee7b2000 s23232 r8192 d21824 u53248
  18. [    0.000000] pcpu-alloc: s23232 r8192 d21824 u53248 alloc=13*4096
  19. [    0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3
  20. [    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 522768
  21. [    0.000000] Kernel command line: earlyprintk=ttyS0,115200 loglevel=8 initcall_debug=0 console=ttyS0,115200 console=tty0 init=/init
  22. [    0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
  23. [    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
  24. [    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
  25. [    0.000000] Memory: 2060780K/2097152K available (8781K kernel code, 557K rwdata, 2480K rodata, 6368K init, 665K bss, 36372K reserved, 0K cma-reserved, 1318912K highmem)
  26. [    0.000000] Virtual kernel memory layout:
  27. [    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
  28. [    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
  29. [    0.000000]     vmalloc : 0xf0000000 - 0xff000000   ( 240 MB)
  30. [    0.000000]     lowmem  : 0xc0000000 - 0xef800000   ( 760 MB)
  31. [    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
  32. [    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
  33. [    0.000000]       .text : 0xc0008000 - 0xc0b079cc   (11263 kB)
  34. [    0.000000]       .init : 0xc0b08000 - 0xc1140000   (6368 kB)
  35. [    0.000000]       .data : 0xc1140000 - 0xc11cb414   ( 558 kB)
  36. [    0.000000]        .bss : 0xc11ce000 - 0xc12744ac   ( 666 kB)
  37. [    0.000000] Preemptible hierarchical RCU implementation.
  38. [    0.000000]         Build-time adjustment of leaf fanout to 32.
  39. [    0.000000] NR_IRQS:16 nr_irqs:16 16
  40. [    0.000000] Architected cp15 timer(s) running at 24.00MHz (phys).
  41. [    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
  42. [    0.000005] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
  43. [    0.008085] Switching to timer-based delay loop, resolution 41ns
  44. [    0.014298] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
  45. [    0.023857] Console: colour dummy device 80x30
  46. [    0.028386] console [tty0] enabled
  47. [    0.031883] bootconsole [earlycon0] disabled
Copy code
You need to log in before you can reply login | Register

Points Rule

Quick reply Top Return list