Jump to content

OpenglMan

Members
  • Posts

    29
  • Joined

  • Last visited

Posts posted by OpenglMan

  1. Hello,

     

    I get an error when i try to use the PH5 pin as digital output.

     

    PH5 is the number 229 according to the following equation:  (8-1)*32+5 = 229

     

    echo 229 > /sys/class/gpio/export

    -bash: echo: write error: Device or resource busy 

     

    If i use other pins like PH13, PH19, PH20 or PH21, all work correctly. For example, for PH13 as digital output:

    echo 237 > /sys/class/gpio/export
    echo "out" > /sys/class/gpio/gpio237/direction
    echo "1" > /sys/class/gpio/gpio237/value
    echo "0" > /sys/class/gpio/gpio237/value
    echo 237 > /sys/class/gpio/unexport

     

    I get the same error in the Cubieboard2 and the Lime A20 board.

     

    Can someone help me ?

    Thanks in advance

     

     

     

     

  2. Thank you Igor for your quick response.

     

    I show below the content of the output.log file:

     

    Spoiler
    
    ## BUILD CONFIGURATION
    Build target:
    Board: lime
    Branch: next
    Desktop: 
    Kernel configuration:
    Repository: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git
    Branch: branch:linux-4.13.y
    Config file: linux-sunxi-next
    U-boot configuration:
    Repository: git://git.denx.de/u-boot.git
    Branch: tag:v2017.09
    Config file: A20-OLinuXino-Lime_defconfig
    Partitioning configuration:
    Root partition type: ext4
    Boot partition type: (none)
    User provided boot partition size: 0
    Offset: 1
    CPU configuration:
    480000 - 960000 with ondemand
    Displaying message: Downloading sources  info
    Displaying message: Checking git sources u-boot v2017.09 info
    Displaying message: Checking out
    Displaying message: Checking git sources linux-mainline linux-4.13.y info
    Displaying message: Up to date
    Displaying message: Checking git sources sunxi-tools master info
    Displaying message: Up to date
    Displaying message: Checking git sources armbian-config dev info
    Displaying message: Up to date
    Displaying message: Checking git sources rkbin-tools master info
    Displaying message: Up to date
    Displaying message: Checking git sources marvell-tools A3700_utils-armada-17.10 info
    Displaying message: Up to date
    Displaying message: Checking git sources odroidc2-blobs master info
    Displaying message: Up to date
    Displaying message: Cleaning output/debs for lime next info
    Displaying message: Cleaning u-boot/v2017.09 info
    Displaying message: Compiling u-boot 2017.09 info
    Displaying message: Compiler version arm-linux-gnueabihf-gcc 7.1.1 info
    Displaying message: Checking out sources
    Displaying message: Cleaning u-boot/v2017.09 info
    Displaying message: Started patching process for u-boot sunxi-lime-next info
    Displaying message: Looking for user patches in userpatches/u-boot/u-boot-sunxi info
    Displaying message: * [\e[32ml\e[0m][\e[32mc\e[0m] 4kfix-limit-screen-to-full-hd.patch  info
    Displaying message: * [\e[32ml\e[0m][\e[32mc\e[0m] a10-a20-lower-dram-clk.patch  info
    Displaying message: * [\e[32ml\e[0m][\e[32mc\e[0m] add-a20-olinuxino-micro-emmc-support.patch  info
    Displaying message: * [\e[32ml\e[0m][\e[32mc\e[0m] add-cubieboard2-emmc.patch  info
    Displaying message: * [\e[32ml\e[0m][\e[32mc\e[0m] add-cubietruck-emmc.patch  info
    Displaying message: * [\e[32ml\e[0m][\e[32mc\e[0m] add-nanopi-air-emmc.patch  info
    Displaying message: * [\e[32ml\e[0m][\e[32mc\e[0m] add-nanopineoplus2.patch  info
    Displaying message: * [\e[32ml\e[0m][\e[32mc\e[0m] add-orangepi-plus2-emmc.patch  info
    Displaying message: * [\e[32ml\e[0m][\e[32mc\e[0m] add-orangepi-zeroplus2_h3.patch  info
    Displaying message: * [\e[32ml\e[0m][\e[32mc\e[0m] add-pinebook-defconfig.patch  info
    Displaying message: * [\e[32ml\e[0m][\e[32mc\e[0m] adjust-nanopi-neo-cpufreq.patch  info
    Displaying message: * [\e[32ml\e[0m][\e[32mc\e[0m] adjust-opi-zero-cpufreq.patch  info
    Displaying message: * [\e[32ml\e[0m][\e[32mc\e[0m] disable-usb-keyboards.patch  info
    Displaying message: * [\e[32ml\e[0m][\e[32mc\e[0m] enable-DT-overlays-support.patch  info
    Displaying message: * [\e[32ml\e[0m][\e[32mc\e[0m] fdt-setprop-fix-unaligned-access.patch  info
    Displaying message: * [\e[32ml\e[0m][\e[32mc\e[0m] fix-sopine-defconfig.patch  info
    Displaying message: * [\e[32ml\e[0m][\e[32mc\e[0m] fix-spi-spl-fit-support.patch  info
    Displaying message: * [\e[32ml\e[0m][\e[32mc\e[0m] fix-sunxi-gpio-driver.patch  info
    Displaying message: * [\e[32ml\e[0m][\e[32mc\e[0m] fix-usb-phy-probe.patch  info
    Displaying message: * [\e[32ml\e[0m][\e[32mc\e[0m] fix-usb1-vbus-opiwin.patch  info
    Displaying message: * [\e[32ml\e[0m][\e[32mc\e[0m] h3-Fix-PLL1-setup-to-never-use-dividers.patch  info
    Displaying message: * [\e[32ml\e[0m][\e[32mc\e[0m] h3-adjust-dram-frequency.patch  info
    Displaying message: * [\e[32ml\e[0m][\e[32mc\e[0m] h3-enable-power-led.patch  info
    Displaying message: * [\e[32ml\e[0m][\e[32mc\e[0m] h3-set-safe-axi_apb-clock-dividers.patch  info
    Displaying message: * [\e[32ml\e[0m][\e[32mc\e[0m] sun8i-set-machid.patch  info
    Displaying message: * [\e[32ml\e[0m][\e[32mc\e[0m] sunxi-boot-splash.patch  info
    Displaying message: Building deb linux-u-boot-next-lime_5.33_armhf.deb info
    dpkg-deb: error: el directorio de control tiene permisos erróneos 777
    (debe ser >=0755 y <=0775)
    Displaying message: ERROR in function compile_uboot compilation.sh:232 err
    Displaying message: Building u-boot package failed  err
    Displaying message: Process terminated  info

     

     

    Thank you very much

  3. Hello, I'm newbie to armbian,

     

    I am trying to build my own image, and i following the steps of this link: 

    https://docs.armbian.com/Developer-Guide_Build-Preparation/

    (i am not using Virtualvox)

     

    My OS is:

    Distributor ID:    Ubuntu
    Description:    Ubuntu 16.04.3 LTS
    Release:    16.04
    Codename:    xenial

     

    And my GCC version:

    gcc (Ubuntu 5.4.0-6ubuntu1~16.04.5) 5.4.0 20160609
     

    I apologize, since I'll probably be asking some nonsense.

    I follow the steps to build my own image, and I get the following error:

     

    [ o.k. ] Building deb [ linux-u-boot-next-lime_5.33_armhf.deb ]
    [ error ] ERROR in function compile_uboot [ compilation.sh:232 ]
    [ error ] Building u-boot package failed 

     

    Can you help me to identify what is wrong?

     

    I wait for your answer, and thank you very much in advance

     

     

     

     

×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines