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 05:51:47 | Show all floors
Thanks for posting a new lichee.tar.gz laboris, but there are still problems.  The lichee.tar.gz file is corrupt, I cannot extract the entire file:
......
linux-3.4/rootfs/root/
linux-3.4/rootfs/proc/
linux-3.4/rootfs/
linux-3.4/
tar: Exiting with failure status due to previous errors

If I try building with what I get it errors:

mark@orangepi:~/kernel-bld/lichee$ ./build_linux_kernel.sh
rm: cannot remove ‘rootfs-lobo.img.gz’: No such file or directory
15521 blocks
  HOSTCC  scripts/basic/fixdep
  HOSTCC  scripts/kconfig/conf.o
  SHIPPED scripts/kconfig/zconf.tab.c
  SHIPPED scripts/kconfig/zconf.lex.c
  SHIPPED scripts/kconfig/zconf.hash.c
  HOSTCC  scripts/kconfig/zconf.tab.o
  HOSTLD  scripts/kconfig/conf
#
# configuration written to .config
#
/home/mark/kernel-bld/lichee/brandy/gcc-linaro/bin/arm-linux-gnueabi-gcc: 1: /home/mark/kernel-bld/lichee/brandy/gcc-linaro/bin/arm-linux-gnueabi-gcc: Syntax error: "(" unexpected
scripts/kconfig/conf --silentoldconfig Kconfig
/home/mark/kernel-bld/lichee/brandy/gcc-linaro/bin/arm-linux-gnueabi-gcc: 1: /home/mark/kernel-bld/lichee/brandy/gcc-linaro/bin/arm-linux-gnueabi-gcc: Syntax error: "(" unexpected
  WRAP    arch/arm/include/generated/asm/auxvec.h
  WRAP    arch/arm/include/generated/asm/bitsperlong.h
  WRAP    arch/arm/include/generated/asm/cputime.h
  WRAP    arch/arm/include/generated/asm/emergency-restart.h
  WRAP    arch/arm/include/generated/asm/ioctl.h
  WRAP    arch/arm/include/generated/asm/errno.h
  WRAP    arch/arm/include/generated/asm/kdebug.h
  WRAP    arch/arm/include/generated/asm/irq_regs.h
  WRAP    arch/arm/include/generated/asm/local.h
  WRAP    arch/arm/include/generated/asm/local64.h
  WRAP    arch/arm/include/generated/asm/poll.h
  WRAP    arch/arm/include/generated/asm/percpu.h
  CHK     include/linux/version.h
  WRAP    arch/arm/include/generated/asm/resource.h
  WRAP    arch/arm/include/generated/asm/sections.h
  WRAP    arch/arm/include/generated/asm/siginfo.h
  WRAP    arch/arm/include/generated/asm/sizes.h
  UPD     include/linux/version.h
  CHK     include/generated/utsrelease.h
  UPD     include/generated/utsrelease.h
  HOSTCC  scripts/genksyms/genksyms.o
  SHIPPED scripts/genksyms/lex.lex.c
  SHIPPED scripts/genksyms/keywords.hash.c
  HOSTCC  scripts/kallsyms
  CC      scripts/mod/empty.o
  HOSTCC  scripts/mod/mk_elfconfig
/home/mark/kernel-bld/lichee/brandy/gcc-linaro/bin/arm-linux-gnueabi-gcc: 1: /home/mark/kernel-bld/lichee/brandy/gcc-linaro/bin/arm-linux-gnueabi-gcc: Syntax error: "(" unexpected
make[2]: *** [scripts/mod/empty.o] Error 2
make[2]: *** Waiting for unfinished jobs....
  HOSTCC  scripts/conmakehash
make[1]: *** [scripts/mod] Error 2
make[1]: *** Waiting for unfinished jobs....
  SHIPPED scripts/genksyms/parse.tab.h
  Generating include/generated/mach-types.h
  SHIPPED scripts/genksyms/parse.tab.c
  HOSTCC  scripts/genksyms/lex.lex.o
  HOSTCC  scripts/genksyms/parse.tab.o
  CC      kernel/bounds.s
/home/mark/kernel-bld/lichee/brandy/gcc-linaro/bin/arm-linux-gnueabi-gcc: 1: /home/mark/kernel-bld/lichee/brandy/gcc-linaro/bin/arm-linux-gnueabi-gcc: Syntax error: "(" unexpected
make[1]: *** [kernel/bounds.s] Error 2
make: *** [prepare0] Error 2
make: *** Waiting for unfinished jobs....
  HOSTLD  scripts/genksyms/genksyms
make: *** [scripts] Error 2
/home/mark/kernel-bld/lichee/brandy/gcc-linaro/bin/arm-linux-gnueabi-gcc: 1: /home/mark/kernel-bld/lichee/brandy/gcc-linaro/bin/arm-linux-gnueabi-gcc: Syntax error: "(" unexpected
cp: cannot stat ‘/home/mark/kernel-bld/lichee/linux-3.4/modules.builtin’: No such file or directory
make: *** [_modinst_] Error 1
cp: cannot stat ‘arch/arm/boot/uImage’: No such file or directory

I assume  because something is missing or incomplete due to the currupt lichee.tar.gz

10

threads

448

posts

5006

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
5006
 Author| Published in 2015-6-27 06:44:10 | Show all floors
markwinger replied at 2015-6-27 05:51
Thanks for posting a new lichee.tar.gz laboris, but there are still problems.  The lichee.tar.gz fil ...

lichee.tar.gz unpacking reports some errors, but unpacked files are just fine.

Only now I saw your command prompt: mark@orangepi:~/kernel-bld/lichee$
Are you building the kernel on OPI ? It is not going to work, not without some (many) changes !
And I wouldn't recommend it, even if you configure it right it will take many hours to complete (on my i7 machine it takes less then 5 min).

1

threads

39

posts

137

credits

Registered member

Rank: 2

credits
137
Published in 2015-6-27 07:06:12 | Show all floors
Ok,
I saw no mention about cross compiling so I assume it was native.  I will build on an x86 linux host.

Thanks.

10

threads

448

posts

5006

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
5006
 Author| Published in 2015-6-27 07:08:01 | Show all floors
Edited by loboris at 2015-6-27 07:11
roblad replied at 2015-6-27 05:28
Hi,

Could you prepare image for opi+ (that procedure with upload modules and writing dd as you spec ...

OPI2 and OPI+ images are identical, except for u-boot and kernel.

Only difference between emmc and sd card booting is that u-boot must know where to load rootfs from, and rootfs must know which partition to mount.
That's why I've asked you (twice) to tell me as which device you see emmc (is it mmcblk1  or something else ?)

I also have wlan0 and wlan1 on OPI2, but what is the problem with that if it works ?

1

threads

76

posts

519

credits

Senior member

Rank: 4

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


I am not able to start imgs from your mega in opi+ it hangs in boot playmouth-... error 1

2

threads

53

posts

1601

credits

Gold member

Rank: 6Rank: 6

credits
1601
Published in 2015-6-27 15:58:23 | Show all floors
If you using Ubuntu images on OPI+, you have to wait for about 90 seconds.
See
http://www.orangepi.org/orangepi ... 7&fromuid=16899
and
http://www.orangepi.org/orangepi ... 8&fromuid=16899

1

threads

76

posts

519

credits

Senior member

Rank: 4

credits
519
Published in 2015-6-27 18:24:00 | Show all floors
Hi,

It starts a long time wifi cause destroing my wifi router durring boot FTDI is not visable, emmc is not visable dd boot and u-boot for OPI+ destroing file system. Starts after long time with uImage for opi+ there is a horror. Sometimes it starts sometimes not, dd foru-boot and boot0 estroing card in OPI+

1

threads

76

posts

519

credits

Senior member

Rank: 4

credits
519
Published in 2015-6-27 19:28:35 | Show all floors
Hi,


J did every thing from begining and right now hangs on cleaning X2go -there is everything not compatible in OPI+

2

threads

37

posts

382

credits

Intermediate member

Rank: 3Rank: 3

credits
382
Published in 2015-6-27 19:54:58 | Show all floors
I believe steven have mailed a opi plus to loboris... He can better test the img for opi plus when he received... Let all be patient...

Cheers

1

threads

76

posts

519

credits

Senior member

Rank: 4

credits
519
Published in 2015-6-27 20:00:45 | Show all floors
ok,

But probably I will buy next rpi2 and ssd - it is a horror after 1 week, OPI+ should not be sold before  system will be ready.
You need to log in before you can reply login | Register

Points Rule

Quick reply Top Return list