kissste

Trying to compile Pine H64

Recommended Posts

Try to get armbian compiled for PineH64.

 

Unfortunately, hitting this roadblock.

 

drivers/net/wireless/xradio/sdio.c:17:10: fatal error: asm/mach-types.h: No such file or directory
 #include <asm/mach-types.h>
          ^~~~~~~~~~~~~~~~~~
compilation terminated.
scripts/Makefile.build:312: recipe for target 'drivers/net/wireless/xradio/sdio.o' failed
make[4]: *** [drivers/net/wireless/xradio/sdio.o] Error 1
scripts/Makefile.build:559: recipe for target 'drivers/net/wireless/xradio' failed
make[3]: *** [drivers/net/wireless/xradio] Error 2
scripts/Makefile.build:559: recipe for target 'drivers/net/wireless' failed
make[2]: *** [drivers/net/wireless] Error 2
scripts/Makefile.build:559: recipe for target 'drivers/net' failed
make[1]: *** [drivers/net] Error 2
Makefile:1060: recipe for target 'drivers' failed
make: *** [drivers] Error 2
[ error ] ERROR in function compile_kernel [ compilation.sh:337 ]
[ error ] Kernel was not built [ @host ]
[ o.k. ] Process terminated

Any suggestions? 

 

Is this even needed - xradio. I will try to exclude it from the build.

 

Thank you

Share this post


Link to post
Share on other sites

This is what I get after excluding xradio driver from the build.

 

 CC      drivers/of/configfs.o
drivers/of/configfs.c: In function ‘create_overlay’:
drivers/of/configfs.c:67:8: error: implicit declaration of function ‘of_overlay_create’; did you mean ‘of_overlay_remove’? [-Werror=implicit-function-declaration]
  err = of_overlay_create(overlay->overlay);
        ^~~~~~~~~~~~~~~~~
        of_overlay_remove
drivers/of/configfs.c: In function ‘cfs_overlay_release’:
drivers/of/configfs.c:218:3: error: implicit declaration of function ‘of_overlay_destroy’; did you mean ‘of_overlay_remove’? [-Werror=implicit-function-declaration]
   of_overlay_destroy(overlay->ov_id);
   ^~~~~~~~~~~~~~~~~~
   of_overlay_remove
cc1: some warnings being treated as errors
scripts/Makefile.build:312: recipe for target 'drivers/of/configfs.o' failed
make[2]: *** [drivers/of/configfs.o] Error 1
scripts/Makefile.build:559: recipe for target 'drivers/of' failed
make[1]: *** [drivers/of] Error 2
Makefile:1060: recipe for target 'drivers' failed
make: *** [drivers] Error 2
[ error ] ERROR in function compile_kernel [ compilation.sh:337 ]
[ error ] Kernel was not built [ @host ]
[ o.k. ] Process terminated

 

Share this post


Link to post
Share on other sites

on the orange pi download section there are debian jessie images with xfce 4 desktop. I mean for Orange pi one plus and lite2. Both H6 CPU.

GPU driver exist, because they must have used it. Only audio is not supported. I have to used usb external audio card. These boards addicted only for server because 1 GB of RAM.

Share this post


Link to post
Share on other sites
3 minutes ago, constantius said:

on the orange pi download section there are debian jessie images with xfce 4 desktop. I mean for Orange pi one plus and lite2. Both H6 CPU.

GPU driver exist, because they must have used it.

uname -r will tell you that they use a old bsp kernel (3.x forgot which one). Armbian doesn't deal with bsp kernels for this board. Mainline only, means what's not mainlined is for sure not supported yet (and probably nobody has an interest in fixing the BSP-Kernel). Keep in mind, this board is in early (early early early) stage. If you expect something which can be used 'productive' --> that's (at the moment) the wrong SoC if you want use Armbian. Probably every other SoC is better supported at the moment. I think Igor uploaded those Images so that people try to test and fix things not use them productive. @Igor maybe we should write a big red reminder in the downloadsection? 

Quote
  • Don't use this Images for productive they're only provided for testing!
  • serial console only
  • Bootlog

 

I know it has a bunch of red flags there.. but this seems no be enough. 

Share this post


Link to post
Share on other sites
23 minutes ago, chwe said:

maybe we should write a big red reminder in the downloadsection? 


I don't think so. It's already impossible to miss those signs. Sometimes people just ignore them or choose to ignore them. Or make wrong assumptions based on weak/wrong technical knowledge or some belief. This entire project helps to understand. Remember the school days. Even teacher explained everything and wrote things on the table, somebody or more, usually always the same people, needed extra clarification.   :P

 

Just add remarks to the "WWW update wish list" and something can be done. Perhaps Javascript popup on nightly/preview images when clicking the download button.

Share this post


Link to post
Share on other sites
18 minutes ago, Igor said:

I don't think so. It's already impossible to miss those signs.

challenge-accepted-women-s-t-shirt.png :rolleyes: :P

 

provide them only via dl.armbian.com might help. but then they see no red flags and come up with other questions.. Let's hope that @Icenowy keeps interest in mainlining the H6. :)

 

Share this post


Link to post
Share on other sites
6 minutes ago, chwe said:

provide them only via dl.armbian.com might help. but then they see no red flags and come up with other questions..


Exactly. It's good as is.

Now, with a new website, things are done better and this should not be a problem. And I don't think we have one.  All those signs, flags and rules are in their essence to limit (repeating) questions but its impossible to suppress them.

 

7 minutes ago, chwe said:

Let's hope

 

The development progress is slow. Much much slower and way more time is consumed than the average person thinks. Only education can change this perception.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now