Jump to content

A.Rahman.A

Validating
  • Posts

    2
  • Joined

  • Last visited

Posts posted by A.Rahman.A

  1. 19 hours ago, Igor said:


    AFAIK yes.

    Thanks for responding

    is there any user space lib for openGLES ,

    in friendlycore image there was libs and header file under  /usr/nexell  or /usr/nexell-lib

    but i can't find similar lib in armbian

     


    I also tried to build armbian through documents , using docker ( both kernel only and full OS )

    # ./compile.sh docker


    The only thing I checked/changed was support for arm mali400 in confige editor
    But kernel fails  to compile when i check mali gpu
    In normal situation , with default config no error happens

    here is a pice of compile.sh output:

     

     CC      drivers/gpu/arm/mali400/linux/mali_osk_atomics.o
      CC      lib/raid6/int1.o
      CC      drivers/gpu/arm/mali400/linux/mali_osk_irq.o
      CC      fs/debugfs/file.o
      CC [M]  net/bridge/br_device.o
      CC [M]  net/bridge/br_fdb.o
      CC      fs/btrfs/delayed-ref.o
      CC      drivers/gpu/arm/mali400/linux/mali_osk_wq.o
      AR      lib/xz/xz_dec.o
    scripts/Makefile.build:326: recipe for target 'drivers/gpu/arm/mali400/linux/mali_osk_atomics.o' failed
      CC      lib/raid6/int2.o
      AR      lib/xz/built-in.o
      CC [M]  fs/cifs/readdir.o
      CC [M]  fs/cifs/ioctl.o
    scripts/Makefile.build:326: recipe for target 'drivers/gpu/arm/mali400/linux/mali_osk_irq.o' failed
      CC      fs/btrfs/relocation.o
      CC [M]  sound/soc/codecs/es7134.o
      CC      net/core/sock.o
      CC      net/core/request_sock.o
    scripts/Makefile.build:326: recipe for target 'drivers/gpu/arm/mali400/linux/mali_osk_wq.o' failed
    scripts/Makefile.build:585: recipe for target 'drivers/gpu/arm/mali400' failed
    scripts/Makefile.build:585: recipe for target 'drivers/gpu/arm' failed
    scripts/Makefile.build:585: recipe for target 'drivers/gpu' failed
    Makefile:1054: recipe for target 'drivers' failed
    .
    .
    .
    .
    .
    
    [ error ] ERROR in function compile_kernel [ compilation.sh:378 ]
    [ error ] Kernel was not built [ @host ]
    [ o.k. ] Process terminated 
    

    here is compile log in output/debug/compilation.log:

    	== u-boot ==
    
    arch/arm/dts/s5p6818-drone.dtb: Warning (unit_address_vs_reg): Node /memory has a reg or ranges property, but no unit name
    arch/arm/dts/s5p6818-drone.dtb: Warning (unit_address_vs_reg): Node /usbhost@c0030000/phy has a reg or ranges property, but no unit name
    arch/arm/dts/s5p6818-nanopim3.dtb: Warning (unit_address_vs_reg): Node /memory has a reg or ranges property, but no unit name
    arch/arm/dts/s5p6818-nanopim3.dtb: Warning (unit_address_vs_reg): Node /usbhost@c0030000/phy has a reg or ranges property, but no unit name
    arch/arm/dts/s5p6818-nanopi-fire3.dtb: Warning (unit_address_vs_reg): Node /memory has a reg or ranges property, but no unit name
    arch/arm/dts/s5p6818-nanopi-fire3.dtb: Warning (unit_address_vs_reg): Node /usbhost@c0030000/phy has a reg or ranges property, but no unit name
    arch/arm/dts/s5p6818-artik710-raptor.dtb: Warning (unit_address_vs_reg): Node /memory has a reg or ranges property, but no unit name
    arch/arm/dts/s5p6818-artik710-raptor.dtb: Warning (unit_address_vs_reg): Node /usbhost@c0030000/phy has a reg or ranges property, but no unit name
    arch/arm/dts/s5p6818-artik710-raptor.dtb: Warning (unit_address_vs_reg): Node /i2c_gpio@1 has a unit name, but no reg property
    arch/arm/dts/s5p6818-artik710-raptor.dtb: Warning (unit_address_vs_reg): Node /i2c_gpio@2 has a unit name, but no reg property
    
    	== kernel ==
    
    In file included from drivers/gpu/arm/mali400/common/mali_osk.h:21,
                     from drivers/gpu/arm/mali400/linux/mali_osk_atomics.c:16:
    drivers/gpu/arm/mali400/linux/mali_osk_specific.h: In function ‘_mali_osk_copy_from_user’:
    drivers/gpu/arm/mali400/linux/mali_osk_specific.h:62:14: error: implicit declaration of function ‘copy_from_user’; did you mean ‘raw_copy_from_user’? [-Werror=implicit-function-declaration]
      return (u32)copy_from_user(to, from, (unsigned long)n);
                  ^~~~~~~~~~~~~~
                  raw_copy_from_user
    cc1: some warnings being treated as errors
    make[4]: *** [drivers/gpu/arm/mali400/linux/mali_osk_atomics.o] Error 1
    make[4]: *** Waiting for unfinished jobs....
    In file included from drivers/gpu/arm/mali400/common/mali_osk.h:21,
                     from drivers/gpu/arm/mali400/linux/mali_osk_irq.c:21:
    drivers/gpu/arm/mali400/linux/mali_osk_specific.h: In function ‘_mali_osk_copy_from_user’:
    drivers/gpu/arm/mali400/linux/mali_osk_specific.h:62:14: error: implicit declaration of function ‘copy_from_user’; did you mean ‘raw_copy_from_user’? [-Werror=implicit-function-declaration]
      return (u32)copy_from_user(to, from, (unsigned long)n);
                  ^~~~~~~~~~~~~~
                  raw_copy_from_user
    cc1: some warnings being treated as errors
    make[4]: *** [drivers/gpu/arm/mali400/linux/mali_osk_irq.o] Error 1
    In file included from drivers/gpu/arm/mali400/common/mali_osk.h:21,
                     from drivers/gpu/arm/mali400/linux/mali_osk_wq.c:21:
    drivers/gpu/arm/mali400/linux/mali_osk_specific.h: In function ‘_mali_osk_copy_from_user’:
    drivers/gpu/arm/mali400/linux/mali_osk_specific.h:62:14: error: implicit declaration of function ‘copy_from_user’; did you mean ‘raw_copy_from_user’? [-Werror=implicit-function-declaration]
      return (u32)copy_from_user(to, from, (unsigned long)n);
                  ^~~~~~~~~~~~~~
                  raw_copy_from_user
    cc1: some warnings being treated as errors
    make[4]: *** [drivers/gpu/arm/mali400/linux/mali_osk_wq.o] Error 1
    make[3]: *** [drivers/gpu/arm/mali400] Error 2
    make[2]: *** [drivers/gpu/arm] Error 2
    make[1]: *** [drivers/gpu] Error 2
    make: *** [drivers] Error 2
    make: *** Waiting for unfinished jobs....
    sound/soc/codecs/es8316.c:439:12: warning: ‘es8316_pcm_startup’ defined but not used [-Wunused-function]
     static int es8316_pcm_startup(struct snd_pcm_substream *substream,
                ^~~~~~~~~~~~~~~~~~
    fs/proc/task_mmu.c: In function ‘show_smap.isra.13’:
    fs/proc/task_mmu.c:764:7: warning: ‘last_vma’ may be used uninitialized in this function [-Wmaybe-uninitialized]
      bool last_vma;
           ^~~~~~~~

    can you please help?

×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines