gahabana

Members
  • Content Count

    36
  • Joined

  • Last visited

 Content Type 

Forums

Member Map

Store

Crowdfunding

Raffles

Applications

Posts posted by gahabana


  1. hi, i have a problem not being able to build for Odroid-N2.

    To isolate the issue i created new copy of git ... it fails on kernel build. all defaults.

    zh@acus:~/git$ git clone https://github.com/armbian/build.git armbian
    Cloning into 'armbian'...
    remote: Enumerating objects: 151, done.
    remote: Counting objects: 100% (151/151), done.
    remote: Compressing objects: 100% (121/121), done.
    remote: Total 49101 (delta 83), reused 65 (delta 30), pack-reused 48950
    Receiving objects: 100% (49101/49101), 325.95 MiB | 8.33 MiB/s, done.
    Resolving deltas: 100% (32873/32873), done.
    Checking out files: 100% (2951/2951), done.
    zh@acus:~/git$ cd armbian
    zh@acus:~/git/armbian$ ./compile.sh docker BOARD=odroidn2 KERNEL_ONLY=yes KERNEL_CONFIGURE=no  BRANCH=default > ~/armbian.odroidn2-deefault-kernel-only.txt

    and last few lines of the build output look like this:

     

      CC [M]  drivers/net/wireless/rtl8812au/hal/phydm/halrf/rtl8814a/halrf_8814a_ce.o
      CC [M]  drivers/net/wireless/rtl8812au/hal/phydm/rtl8814a/phydm_rtl8814a.o
      CC [M]  drivers/net/wireless/rtl8812au/hal/phydm/txbf/haltxbf8814a.o
      CC [M]  drivers/net/wireless/rtl8812au/hal/btc/halbtc8723bwifionly.o
      CC [M]  drivers/net/wireless/rtl8812au/hal/btc/halbtc8822bwifionly.o
      CC [M]  drivers/net/wireless/rtl8812au/hal/btc/halbtc8821cwifionly.o
      CC [M]  drivers/net/wireless/rtl8812au/core/rtw_mp.o
      LD [M]  drivers/net/wireless/rtl8812au/88XXau.o
      LD      drivers/net/wireless/built-in.o
      LD      drivers/net/built-in.o
      LD      drivers/built-in.o
      GEN     .version
      LD      vmlinux.o
      MODPOST vmlinux.o
      CHK     include/generated/compile.h
      UPD     include/generated/compile.h
      CC      init/version.o
      LD      init/built-in.o
      KSYM    .tmp_kallsyms1.o
      KSYM    .tmp_kallsyms2.o
      LD      vmlinux
      SORTEX  vmlinux
      SYSMAP  System.map
      OBJCOPY arch/arm64/boot/Image
      Building modules, stage 2.
      MODPOST 1431 modules
    scripts/Makefile.modpost:107: recipe for target '__modpost' failed
    Makefile:1329: recipe for target 'modules' failed
    [ error ] ERROR in function compile_kernel [ compilation.sh:407 ]
    [ error ] Kernel was not built [ @host ]
    [ o.k. ] Process terminated

    All other boards i can build well. -Build host is Ubuntu 18.04, i tried native (above is in docker container) but in that case download of linaro fails for some reason ... but that is not the issue in docker container.

    My guess is it is very easy to reproduce. would appreciate if someone could check it out ?

     .... ] downloading using http(s) network [ gcc-linaro-aarch64-none-elf-4.8-2013.11_linux.tar.xz ]
    [#5fb5ad 4.6MiB/24MiB(18%) CN:1 DL:6.3MiB ETA:3s]
    [#5fb5ad 13MiB/24MiB(53%) CN:1 DL:7.7MiB ETA:1s]
    [#5fb5ad 22MiB/24MiB(90%) CN:1 DL:8.3MiB]
    
    [ error ] ERROR in function download_and_verify [ general.sh:869 ]
    [ error ] verification failed

    thank you !

     


  2. On 6/27/2018 at 8:30 PM, Igor said:

     


    Workaround. Manually download

    
    wget https://dl.armbian.com/_toolchains/gcc-linaro-arm-linux-gnueabihf-4.8-2014.04_linux.tar.xz

    and unpack into cache/toolchains

    hi @Igor

    have done that and it stills tries to download - see here:

    Spoiler

    zh@acus:~/armbian/cache/toolchains$ ll
    total 48
    drwxr-xr-x 8 root root 4096 Jun 23 13:54 gcc-linaro-4.9.4-2017.01-x86_64_aarch64-linux-gnu/
    drwxr-xr-x 8 root root 4096 Jun 23 13:54 gcc-linaro-4.9.4-2017.01-x86_64_arm-linux-gnueabi/
    drwxr-xr-x 8 root root 4096 Jun 23 13:55 gcc-linaro-4.9.4-2017.01-x86_64_arm-linux-gnueabihf/
    drwxr-xr-x 8 root root 4096 Jun 23 13:55 gcc-linaro-5.5.0-2017.10-x86_64_aarch64-linux-gnu/
    drwxr-xr-x 8 root root 4096 Jun 23 13:56 gcc-linaro-5.5.0-2017.10-x86_64_arm-linux-gnueabi/
    drwxr-xr-x 8 root root 4096 Jun 23 13:57 gcc-linaro-5.5.0-2017.10-x86_64_arm-linux-gnueabihf/
    drwxr-xr-x 8 root root 4096 Jun 23 13:59 gcc-linaro-6.4.1-2017.11-x86_64_aarch64-linux-gnu/
    drwxr-xr-x 8 root root 4096 Jun 23 13:58 gcc-linaro-6.4.1-2017.11-x86_64_arm-linux-gnueabihf/
    drwxr-xr-x 8 root root 4096 Jun 23 14:01 gcc-linaro-7.2.1-2017.11-x86_64_aarch64-linux-gnu/
    drwxr-xr-x 8 root root 4096 Jun 23 14:03 gcc-linaro-7.2.1-2017.11-x86_64_arm-eabi/
    drwxr-xr-x 8 root root 4096 Jun 23 14:02 gcc-linaro-7.2.1-2017.11-x86_64_arm-linux-gnueabihf/
    drwxr-xr-x 7 root root 4096 Apr 16  2014 gcc-linaro-arm-linux-gnueabihf-4.8-2014.04_linux/
    zh@acus:~/armbian/cache/toolchains$ cd
    zh@acus:~$ cd armbian
    zh@acus:~/armbian$ ./compile.sh
    [ o.k. ] Using config file [ config-default.conf ]
    [ warn ] This script requires root privileges, trying to use sudo
    [ o.k. ] Using config file [ config-default.conf ]
    [ o.k. ] This script will try to update
    Already up to date.
    Already on 'master'
    Your branch is up to date with 'origin/master'.
    [ o.k. ] Preparing [ host ]
    [ o.k. ] Build host OS release [ bionic ]
    [ o.k. ] Syncing clock [ host ]
    [ .... ] Downloading [ gcc-linaro-arm-linux-gnueabihf-4.8-2014.04_linux ]
    #=#=-  #       #                                                                                                                                                                                                                                               ##############################################################################################

     


  3. hi @Igor

    though i still have everdownloading problem with toolchain but that just makes build wee bit slower - no matter what i do i always have issues when i assume target environment is build that Armbian build process can not get to resolve 'ports.ubuntu.com'

    I tried in the docker environment as well ... 

    What did make a difference - if i add to customize-image.sh line that says 'echo 8.8.8.8 > /etc/resolv.conf' then subsuquent downloads / updates etc do NOT fail. It means that on Ubuntu 18.04 in SOME cases something is wrong with DNS resolution ... not sure if that has any impact on key verification error ... as everything else i run on the machine does not have any issues with name resolution.

     

    any ideas ?

     

    Spoiler

    pkg-deb: building package 'linux-firmware-image-next-odroidxu4' in '../linux-firmware-image-next-odroidxu4_5.49_armhf.deb'.
    dpkg-deb: building package 'linux-dtb-next-odroidxu4' in '../linux-dtb-next-odroidxu4_5.49_armhf.deb'.
    dpkg-deb: building package 'linux-headers-next-odroidxu4' in '../linux-headers-next-odroidxu4_5.49_armhf.deb'.
    dpkg-deb: building package 'linux-image-next-odroidxu4' in '../linux-image-next-odroidxu4_5.49_armhf.deb'.
    dpkg-genchanges: warning: unknown substitution variable ${kernel:debarch}
    dpkg-genchanges: warning: package linux-libc-dev-next-odroidxu4 in control file but not in files list
    dpkg-genchanges: info: binary-only upload (no source code included)
    dpkg-deb: building package 'linux-source-4.9.108-next-odroidxu4' in '/home/zh/armbian/.tmp/linux-source-next-odroidxu4_5.49_all.deb'.
    [ o.k. ] Creating board support package [ odroidxu4 next ]
    [ .... ] Fingerprinting
    [ o.k. ] Building package [ linux-xenial-root-next-odroidxu4 ]
    [ o.k. ] Building desktop package [ armbian-xenial-desktop_5.49_all ]
    [ o.k. ] Starting rootfs and image building process for [ odroidxu4 xenial ]
    [ o.k. ] Extracting xenial-ng-armhf.4d9...90d.tar.lz4 [ 3 days old ]
    xenial-ng-armhf.4d9...90d.tar.lz4:  369MiB [ 251MiB/s] [=================================================================================================================================================================================================>] 100%
    [ o.k. ] Applying distribution specific tweaks for [ xenial ]
    [ o.k. ] Applying common tweaks
    [ .... ] Installing [ linux-image-next-odroidxu4_5.49_armhf.deb ]
    [ .... ] Installing [ linux-u-boot-next-odroidxu4_5.49_armhf.deb ]
    [ .... ] Installing [ linux-dtb-next-odroidxu4_5.49_armhf.deb ]
    [ .... ] Installing [ linux-xenial-root-next-odroidxu4_5.49_armhf.deb ]
    [ o.k. ] Installing extra applications and drivers
    [ o.k. ] Building deb [ armbian-config ]
    [ o.k. ] Checking git sources [ armbian-config master ]
    [ .... ] Fetching updates
    remote: Counting objects: 4, done.
    remote: Compressing objects: 100% (4/4), done.
    remote: Total 4 (delta 1), reused 3 (delta 0), pack-reused 0
    Unpacking objects: 100% (4/4), done.
    From https://github.com/armbian/config
     * branch            master     -> FETCH_HEAD
     + 0df799e...b717d18 master     -> origin/master  (forced update)
    [ .... ] Checking out
    Reading package lists...
    Building dependency tree...
    Reading state information...
    expect is already the newest version (5.45-7).
    iperf3 is already the newest version (3.0.11-1).
    The following additional packages will be installed:
      libassuan0 libksba8 libnpth0
    The following NEW packages will be installed:
      debconf-utils dirmngr html2text libassuan0 libksba8 libnpth0
    0 upgraded, 6 newly installed, 0 to remove and 0 not upgraded.
    Need to get 450 kB of archives.
    After this operation, 1,049 kB of additional disk space will be used.
    Err:1 http://ports.ubuntu.com xenial/universe armhf debconf-utils all 1.5.58ubuntu1
      Could not resolve 'ports.ubuntu.com'
    Err:2 http://ports.ubuntu.com xenial/main armhf libassuan0 armhf 2.4.2-2
      Could not resolve 'ports.ubuntu.com'
    Ign:3 http://ports.ubuntu.com xenial-updates/main armhf libksba8 armhf 1.3.3-1ubuntu0.16.04.1
    Err:4 http://ports.ubuntu.com xenial/main armhf libnpth0 armhf 1.2-3
      Could not resolve 'ports.ubuntu.com'
    Ign:5 http://ports.ubuntu.com xenial-updates/main armhf dirmngr armhf 2.1.11-6ubuntu2.1
    Err:6 http://ports.ubuntu.com xenial/universe armhf html2text armhf 1.3.2a-18
      Could not resolve 'ports.ubuntu.com'
    Err:3 http://ports.ubuntu.com xenial-updates/main armhf libksba8 armhf 1.3.3-1ubuntu0.16.04.1
      Could not resolve 'ports.ubuntu.com'
    Err:5 http://ports.ubuntu.com xenial-updates/main armhf dirmngr armhf 2.1.11-6ubuntu2.1
      Could not resolve 'ports.ubuntu.com'
    E: Failed to fetch http://ports.ubuntu.com/pool/universe/d/debconf/debconf-utils_1.5.58ubuntu1_all.deb  Could not resolve 'ports.ubuntu.com'

    E: Failed to fetch http://ports.ubuntu.com/pool/main/liba/libassuan/libassuan0_2.4.2-2_armhf.deb  Could not resolve 'ports.ubuntu.com'

    E: Failed to fetch http://ports.ubuntu.com/pool/main/libk/libksba/libksba8_1.3.3-1ubuntu0.16.04.1_armhf.deb  Could not resolve 'ports.ubuntu.com'

    E: Failed to fetch http://ports.ubuntu.com/pool/main/n/npth/libnpth0_1.2-3_armhf.deb  Could not resolve 'ports.ubuntu.com'

    E: Failed to fetch http://ports.ubuntu.com/pool/main/g/gnupg2/dirmngr_2.1.11-6ubuntu2.1_armhf.deb  Could not resolve 'ports.ubuntu.com'

    E: Failed to fetch http://ports.ubuntu.com/pool/universe/h/html2text/html2text_1.3.2a-18_armhf.deb  Could not resolve 'ports.ubuntu.com'

    E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
    [ .... ] Installing [ armbian-config_5.49_all.deb ]
    [ o.k. ] Merging and packaging linux firmware [ @host ]
    [ o.k. ] Checking git sources [ armbian-firmware-git master ]
    [ .... ] Up to date
    [ o.k. ] Merging and packaging linux firmware [ @host ]
    [ o.k. ] Checking git sources [ armbian-firmware-git master ]
    [ .... ] Up to date
    [ o.k. ] Checking git sources [ armbian-firmware-full/lib/firmware master ]
    [ .... ] Creating local copy
    [ .... ] Fetching updates
    remote: Counting objects: 1753, done.
    remote: Compressing objects: 100% (1183/1183), done.
    Receiving objects:  75% (1315/1753), 92.56 MiB | 12.47 MiB/s

     


  4. hi guidol, 

        yes I have updated ubunutu in a way you proposed.

     

    I have also tried what you suggest ... additional packages installed do not seem to make a difference - i get the same message (verification failed):

    below you can see what gets removed or installed with dirmngr:

     

    Spoiler

    zh@acus:~$ sudo apt-get purge dirmngr
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    The following packages will be REMOVED:
      aptly* dirmngr* gnupg* gpg-wks-client*
    0 upgraded, 0 newly installed, 4 to remove and 0 not upgraded.
    After this operation, 23.5 MB disk space will be freed.
    Do you want to continue? [Y/n] y
    (Reading database ... 391471 files and directories currently installed.)
    Removing aptly (1.2.0) ...
    Removing gnupg (2.2.4-1ubuntu1.1) ...
    Removing gpg-wks-client (2.2.4-1ubuntu1.1) ...
    Removing dirmngr (2.2.4-1ubuntu1.1) ...
    Processing triggers for install-info (6.5.0.dfsg.1-2) ...
    Processing triggers for man-db (2.8.3-2) ...
    (Reading database ... 391425 files and directories currently installed.)
    Purging configuration files for dirmngr (2.2.4-1ubuntu1.1) ...
    zh@acus:~$ sudo apt update
    Hit:1 https://download.docker.com/linux/ubuntu bionic InRelease
    Get:2 http://security.ubuntu.com/ubuntu bionic-security InRelease [83.2 kB]
    Hit:3 http://es.archive.ubuntu.com/ubuntu bionic InRelease
    Get:4 http://es.archive.ubuntu.com/ubuntu bionic-updates InRelease [83.2 kB]
    Get:5 http://es.archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB]
    Hit:6 http://repo.aptly.info squeeze InRelease
    Get:7 http://security.ubuntu.com/ubuntu bionic-security/main amd64 DEP-11 Metadata [204 B]
    Get:8 http://security.ubuntu.com/ubuntu bionic-security/universe amd64 DEP-11 Metadata [2,456 B]
    Get:9 http://es.archive.ubuntu.com/ubuntu bionic-updates/main i386 Packages [148 kB]
    Get:10 http://es.archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages [162 kB]
    Get:11 http://es.archive.ubuntu.com/ubuntu bionic-updates/main amd64 DEP-11 Metadata [113 kB]
    Get:12 http://es.archive.ubuntu.com/ubuntu bionic-updates/main DEP-11 48x48 Icons [25.1 kB]
    Get:13 http://es.archive.ubuntu.com/ubuntu bionic-updates/main DEP-11 64x64 Icons [44.5 kB]
    Get:14 http://es.archive.ubuntu.com/ubuntu bionic-updates/universe i386 Packages [105 kB]
    Get:15 http://es.archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages [105 kB]
    Get:16 http://es.archive.ubuntu.com/ubuntu bionic-updates/universe amd64 DEP-11 Metadata [121 kB]
    Get:17 http://es.archive.ubuntu.com/ubuntu bionic-updates/universe DEP-11 48x48 Icons [113 kB]
    Get:18 http://es.archive.ubuntu.com/ubuntu bionic-updates/universe DEP-11 64x64 Icons [193 kB]
    Get:19 http://es.archive.ubuntu.com/ubuntu bionic-backports/universe amd64 DEP-11 Metadata [5,100 B]
    Fetched 1,379 kB in 1s (983 kB/s)
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    All packages are up to date.
    zh@acus:~$ sudo apt upgrade
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    Calculating upgrade... Done
    0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
    zh@acus:~$ sudo apt-get install dirmngr --install-recommends
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    The following additional packages will be installed:
      gnupggpg-wks-client
    Suggested packages:
      tor parcimoniexloadimage
    The following NEW packages will be installed:
      dirmngrgnupggpg-wks-client
    0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
    Need to get 0 B/657 kB of archives.
    After this operation, 1,497 kB of additional disk space will be used.
    Do you want to continue? [Y/n] y
    Selecting previously unselected package dirmngr.
    (Reading database ... 391426 files and directories currently installed.)
    Preparing to unpack .../dirmngr_2.2.4-1ubuntu1.1_amd64.deb ...
    Unpacking dirmngr (2.2.4-1ubuntu1.1) ...
    Selecting previously unselected package gpg-wks-client.
    Preparing to unpack .../gpg-wks-client_2.2.4-1ubuntu1.1_amd64.deb ...
    Unpacking gpg-wks-client (2.2.4-1ubuntu1.1) ...
    Selecting previously unselected package gnupg.
    Preparing to unpack .../gnupg_2.2.4-1ubuntu1.1_amd64.deb ...
    Unpacking gnupg (2.2.4-1ubuntu1.1) ...
    Processing triggers for install-info (6.5.0.dfsg.1-2) ...
    Processing triggers for man-db (2.8.3-2) ...
    Setting up dirmngr (2.2.4-1ubuntu1.1) ...
    Setting up gpg-wks-client (2.2.4-1ubuntu1.1) ...
    Setting up gnupg (2.2.4-1ubuntu1.1) ...

     


  5. 1 hour ago, Igor said:

    sudo apt-get install dirmngr

    yeah tried that. already insalled. tried removing it with apt-get purge as well. and then reinstalling/installing again.  the only 'odd' thing but that is same in your build is 'aptly' gets downgraded to v1.2 from 1.3 ... but that does not make a difference in the end.

     

    Spoiler

    zh@acus:~/tmp/build$ ./compile.sh
    [ o.k. ] Using config file [ config-default.conf ]
    [ warn ] This script requires root privileges, trying to use sudo
    [ o.k. ] Using config file [ config-default.conf ]
    [ o.k. ] This script will try to update
    Already up to date.
    Already on 'master'
    Your branch is up to date with 'origin/master'.
    [ o.k. ] Preparing [ host ]
    [ o.k. ] Build host OS release [ bionic ]
    The following packages will be DOWNGRADED:
      aptly
    0 upgraded, 0 newly installed, 1 downgraded, 0 to remove and 0 not upgraded.
    Need to get 6,329 kB of archives.
    After this operation, 682 kB disk space will be freed.
    dpkg: warning: downgrading aptly from 1.3.0 to 1.2.0
    (Reading database ... 391473 files and directories currently installed.)
    Preparing to unpack .../archives/aptly_1.2.0_amd64.deb ...
    Unpacking aptly (1.2.0) over (1.3.0) ...
    Processing triggers for man-db (2.8.3-2) ...
    Setting up aptly (1.2.0) ...
    [ o.k. ] Syncing clock [ host ]
    [ .... ] Downloading [ gcc-linaro-arm-linux-gnueabihf-4.8-2014.04_linux ]
    ########################################################################################################################################################################### 100.0%
    ########################################################################################################################################################################### 100.0%
    [ .... ] Verifying
    gpg: error reading key: No public key
    gpg: connecting dirmngr at '/home/zh/tmp/build/cache/.gpg/S.dirmngr' failed: IPC connect call failed
    gpg: keyserver receive failed: No dirmngr
    gpg: assuming signed data in 'gcc-linaro-arm-linux-gnueabihf-4.8-2014.04_linux.tar.xz'
    gpg: Signature made Wed 16 Apr 2014 08:29:14 PM CEST
    gpg:                using RSA key D47877808F427EAF
    gpg: Can't check signature: No public key
    [ warn ] Verification failed
    [ .... ] Downloading [ gcc-linaro-6.4.1-2017.11-x86_64_arm-linux-gnueabihf ]

     

     


  6. i tried it again (clone git). my machine is running bionic 18.04 and has latest updates on it. so compared to yours ( i guess virtual machine Igor) - the only difference is that it did not need to upgrade the running system.

     

    here it is:

    Spoiler
    
    
    zh@acus:~/tmp$ git clone https://github.com/armbian/build
    Cloning into 'build'...
    remote: Counting objects: 37126, done.
    remote: Compressing objects: 100% (31/31), done.
    remote: Total 37126 (delta 17), reused 22 (delta 14), pack-reused 37080
    Receiving objects: 100% (37126/37126), 283.82 MiB | 4.39 MiB/s, done.
    Resolving deltas: 100% (24638/24638), done.
    Checking out files: 100% (2764/2764), done.
    zh@acus:~/tmp$ cd build/
    zh@acus:~/tmp/build$ ./compile.sh
    [ o.k. ] Using config file [ config-default.conf ]
    [ warn ] This script requires root privileges, trying to use sudo
    [sudo] password for zh:
    Sorry, try again.
    [sudo] password for zh:
    [ o.k. ] Using config file [ config-default.conf ]
    [ o.k. ] This script will try to update
    Already up to date.
    Already on 'master'
    Your branch is up to date with 'origin/master'.
    [ o.k. ] Preparing [ host ]
    [ o.k. ] Build host OS release [ bionic ]
    [ o.k. ] Syncing clock [ host ]
    [ .... ] Downloading [ gcc-linaro-arm-linux-gnueabihf-4.8-2014.04_linux ]
    ######################################################################################################################################################################################################################### 100.0%
    ######################################################################################################################################################################################################################### 100.0%
    [ .... ] Verifying
    gpg: keybox '/home/zh/tmp/build/cache/.gpg/pubring.kbx' created
    gpg: /home/zh/tmp/build/cache/.gpg/trustdb.gpg: trustdb created
    gpg: error reading key: No public key
    gpg: connecting dirmngr at '/home/zh/tmp/build/cache/.gpg/S.dirmngr' failed: IPC connect call failed
    gpg: keyserver receive failed: No dirmngr
    gpg: assuming signed data in 'gcc-linaro-arm-linux-gnueabihf-4.8-2014.04_linux.tar.xz'
    gpg: Signature made Wed 16 Apr 2014 08:29:14 PM CEST
    gpg:                using RSA key D47877808F427EAF
    gpg: Can't check signature: No public key
    [ warn ] Verification failed
    [ .... ] Downloading [ gcc-linaro-4.9.4-2017.01-x86_64_aarch64-linux-gnu ]

     

     

     

     


  7. hi, 

    i have latest Armbian environment pulled from github running on Ubuntu Bionic 18.04.

    There are 2 issues that are bugging me. Not sure

    It does produce in most cases images but i think they are incomplete. Tried even secondary copy (another clone) that i would run in docker containers just to see if that was the issue but outcome seems to be the same. 

     

    1. Every time i start ./compile it pulls Linaro toolchain and fails to verify its signature. Looking at the files https://dl.armbian.com/_toolchains/ it seems that linaro toolchain has GPG signature in ASC file where as others have checksum.  Am not sure ...

     

    zh@acus:~/armbian$ ./compile.sh
    [ o.k. ] Using config file [ config-default.conf ]
    [ warn ] This script requires root privileges, trying to use sudo
    [ o.k. ] Using config file [ config-default.conf ]
    [ o.k. ] This script will try to update
    Already up to date.
    Already on 'master'
    Your branch is up to date with 'origin/master'.
    [ o.k. ] Preparing [ host ]
    [ o.k. ] Build host OS release [ bionic ]
    [ o.k. ] Syncing clock [ host ]
    [ .... ] Downloading [ gcc-linaro-arm-linux-gnueabihf-4.8-2014.04_linux ]
    ######################################################################################################################################################################################################################### 100.0%
    ######################################################################################################################################################################################################################### 100.0%
    [ .... ] Verifying
    gpg: error reading key: No public key
    gpg: connecting dirmngr at '/home/zh/armbian/cache/.gpg/S.dirmngr' failed: IPC connect call failed
    gpg: keyserver receive failed: No dirmngr
    gpg: assuming signed data in 'gcc-linaro-arm-linux-gnueabihf-4.8-2014.04_linux.tar.xz'
    gpg: Signature made Wed 16 Apr 2014 08:29:14 PM CEST
    gpg:                using RSA key D47877808F427EAF
    gpg: Can't check signature: No public key
    [ warn ] Verification failed
     Armbian building script, http://www.armbian.com | Author: Igor Pecovnik

    2nd issue is when building for OdroidC2 or XU4 'development' branch (kernel) - kernel is built up just fine ... and even resulting image works however some updates in the image are not there as during the build Armbian can not seem to get to 'ports.ubuntu.com' ... same issue when running Armbian build on native machine (18.04 Ubuntu) as well as in the Docker container.

    For some reasons this problem does NOT happen when building 'next' or 'default' kernels.

    I believe it has to do with DNS/name resolution.

    BTW - am building entire OS wihtout Desktop/X-Windows just CLI.

    [ o.k. ] Checking git sources [ armbian-config master ]
    [ .... ] Up to date
    Reading package lists...
    Building dependency tree...
    Reading state information...
    expect is already the newest version (5.45-7).
    iperf3 is already the newest version (3.0.11-1).
    The following additional packages will be installed:
      libassuan0 libksba8 libnpth0
    The following NEW packages will be installed:
      debconf-utils dirmngr html2text libassuan0 libksba8 libnpth0
    0 upgraded, 6 newly installed, 0 to remove and 0 not upgraded.
    Need to get 450 kB of archives.
    After this operation, 1,049 kB of additional disk space will be used.
    
    Err:1 http://ports.ubuntu.com xenial/universe armhf debconf-utils all 1.5.58ubuntu1
      Could not resolve 'ports.ubuntu.com'
    Err:2 http://ports.ubuntu.com xenial/main armhf libassuan0 armhf 2.4.2-2
      Could not resolve 'ports.ubuntu.com'
    Ign:3 http://ports.ubuntu.com xenial-updates/main armhf libksba8 armhf 1.3.3-1ubuntu0.16.04.1
    Err:4 http://ports.ubuntu.com xenial/main armhf libnpth0 armhf 1.2-3
      Could not resolve 'ports.ubuntu.com'
    			Ign:5 http://ports.ubuntu.com xenial-updates/main armhf dirmngr armhf 2.1.11-6ubuntu2.1
    Err:6 http://ports.ubuntu.com xenial/universe armhf html2text armhf 1.3.2a-18
      Could not resolve 'ports.ubuntu.com'
    Err:3 http://ports.ubuntu.com xenial-updates/main armhf libksba8 armhf 1.3.3-1ubuntu0.16.04.1
      Could not resolve 'ports.ubuntu.com'
    Err:5 http://ports.ubuntu.com xenial-updates/main armhf dirmngr armhf 2.1.11-6ubuntu2.1
      Could not resolve 'ports.ubuntu.com'
    E: Failed to fetch http://ports.ubuntu.com/pool/universe/d/debconf/debconf-utils_1.5.58ubuntu1_all.deb  Could not resolve 'ports.ubuntu.com'
    
    E: Failed to fetch http://ports.ubuntu.com/pool/main/liba/libassuan/libassuan0_2.4.2-2_armhf.deb  Could not resolve 'ports.ubuntu.com'
    
    E: Failed to fetch http://ports.ubuntu.com/pool/main/libk/libksba/libksba8_1.3.3-1ubuntu0.16.04.1_armhf.deb  Could not resolve 'ports.ubuntu.com'
    
    E: Failed to fetch http://ports.ubuntu.com/pool/main/n/npth/libnpth0_1.2-3_armhf.deb  Could not resolve 'ports.ubuntu.com'
    
    E: Failed to fetch http://ports.ubuntu.com/pool/main/g/gnupg2/dirmngr_2.1.11-6ubuntu2.1_armhf.deb  Could not resolve 'ports.ubuntu.com'
    
    E: Failed to fetch http://ports.ubuntu.com/pool/universe/h/html2text/html2text_1.3.2a-18_armhf.deb  Could not resolve 'ports.ubuntu.com'
    
    E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
    [ .... ] Installing [ armbian-config_5.48_all.deb ]

     

    Hope this helps and appreciate the efforts !!!

     


  8. I've foudn solution to be commenting of the line where MAC address is assigned on OdroidC2 in /etc/network/interfafces

    It should not cause a problem but my guess is something is causing incompatibility recently and if user defined MAC address is asigned to the adapter (so that it would get always same DHCP IP address) ... things are going awry. Not sure if it is caused by some changes in Kernel over last 1-2 months or something else ... but that is the solution ... my OdroidC2 seems to show always same MAC address upon boot so i don't need it.


  9. 37 minutes ago, tkaiser said:

     

    https://github.com/armbian/build/blob/8b4d703f415de214e2de7af467a448ead7a93a18/packages/bsp/common/etc/init.d/firstrun#L126-L130

     

    Ugly hack, not even needed with legacy kernel and breaking network on 2nd boot.

    hi @tkaiser - it worked well when i edited /etc/network/interfaces on the card and commented that line. i tried changing it to 'MAC' address (my odroid-c2 seems to have one) ... but either way - ANY 'hwaddress aa:bb:cc:dd:ee:ff value seems to stop it from reaching network upon boot.

    Could it be that something else changed and assigning MAC address on Odroid-C2 simply does not work any more ?

     


  10. hi all, 

        i have the same problem. After 1st reboot Odroid-c2 does not show up on a network. Just tried 2 different builds (one recreated from scratcth armbian environment) ... tried 2 different SD-cards too ... all good on 1st/initial powerup - ssh works, 1234 as a password, generate admin ID and PWD ... wait over a minute (just in case) ... sync; reboot

    Did not try update/upgrade before 1st reboot .... 

    something is definitely broken (December 25th).


  11. 1 hour ago, Igor said:

    No, those are first testing build of RT kernel for XU4, not very well tested. I will try to look into this when possible.

    Thanks Igor !

    For what it is worth - i tried building it 2-3 weeks ago with then current RT-patch that is included in Armbian and yesterday with latest from rt-patches repository (for 4.9.61 kernel at https://www.kernel.org/pub/linux/kernel/projects/rt/4.9/patches-4.9.61-rt61.tar.gz ).

    Either one (self built/latest) behave the same ... if it helps :)

    thank you !


  12.  

    hi @Igor

    thank you for the tip !

    Did go and download XU4 RT kernel .debs installed and at reboot did not get usual blue-light kernel heart-beat.

     

    Thought maybe something was wrong with my image (built using instructions) and i downloaded the one https://dl.armbian.com/odroidxu4/Ubuntu_xenial_next.7z burned, booted, all usual - added user, rebooted one more time and then installed realtime kernel.

    When i power it on afterwards - same issue - blue light changes every 10-15seconds from off to on (no heaertbeat). can not ping it.

    Is there a tested scenario where you did get RT kernel to work on that i could try to replicate please ?

     

    thanks so much !

     


  13. hi, 

    I am VERY happy with how 4.9 is running odroid-xu4. as i use it as media server and player wanted to see if i could get latencies (poitential) down by  applying latest RT patches that are in line with current xu4-next kernel sources.

     

    added pathes to userpatches/kernel/odoirdxu4-next directory,  build process went fine, have selected FULL-RT but it does not boot (final image)


    source: https://github.com/hardkernel/linux/tre ... dxu4-4.9.y
    rt-patches: https://www.kernel.org/pub/linux/kernel ... ts/rt/4.9/

    it compiles ok but it does not boot ... has anyone looked at what the issue might be ? i don't have serial debuigger yet, have ordered but need someone else with more brains to help out in the process ?

    Thank you !!!


  14. hi @tkaiser, 

    look i don't know ... it is really weird. Bought a new SD-Card ... burn same armbian image to it ... to both (both are 16GB SanDisk) ... old one is slow (<1MB/sec) and new one is just fine (10-20MB/sec). Old one works fine on a PC but not in OdroidC2. New one of course works well on both. 

    So the only conclusion i have - old one works not so well with -next/-dev kernels (though no errors in the kernel log) ... am too lazy to try with -default (3.14) kernel ... but guess card is somewhat 'kaput' ;(


  15. hi, 

    here are the performance numbers using same sd-card now in an Intel PC (via USB 3.0 SDcard adapter).

    I do get sometimes 15MB/sec ... most of the time 10-13MB/s ... which is lot more then in the Odroid-C2

    is there any other known setting ... i saw that armhwinfo service changed io-schedule to noop ... but that should be perfect one for SD cards so am not sure what else to look into ?

    thank you !!!

    zh@smc:/media/sdcard$ uname -a
    Linux smc 4.10.0-37-generic #41~16.04.1-Ubuntu SMP Fri Oct 6 22:42:59 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
    zh@smc:/media/sdcard$ dd if=/dev/zero of=./testfile bs=10M count=1 oflag=direct; time sync
    1+0 records in
    1+0 records out
    10485760 bytes (10 MB, 10 MiB) copied, 0.907064 s, 11.6 MB/s
    
    real	0m0.080s
    user	0m0.000s
    sys	0m0.000s
    zh@smc:/media/sdcard$ dd if=/dev/zero of=./testfile bs=10M count=1 oflag=direct; time sync
    1+0 records in
    1+0 records out
    10485760 bytes (10 MB, 10 MiB) copied, 0.936801 s, 11.2 MB/s
    
    real	0m0.164s
    user	0m0.000s
    sys	0m0.000s
    zh@smc:/media/sdcard$ dd if=/dev/zero of=./testfile bs=1M count=1 oflag=direct; time sync
    1+0 records in
    1+0 records out
    1048576 bytes (1.0 MB, 1.0 MiB) copied, 0.0769396 s, 13.6 MB/s
    
    real	0m0.066s
    user	0m0.004s
    sys	0m0.000s
    zh@smc:/media/sdcard$ dd if=/dev/zero of=./testfile bs=1M count=1 oflag=direct; time sync
    1+0 records in
    1+0 records out
    1048576 bytes (1.0 MB, 1.0 MiB) copied, 0.0821423 s, 12.8 MB/s
    
    real	0m0.060s
    user	0m0.000s
    sys	0m0.000s

     


  16. hi all, 

    as mainline kernel options for Odroid-C2 are still not ready (USB not recognising DAC unless externall HDD connected during boot) .. have just switched back to 'default' build.  I noticed system to be much slower then usual .... esp. when involving any writes. SD-Card is Sandisk 16GB and is working very well in OdroidXU4 and NanoPi NEO.

     

    When copying a few 100kB file takes few seconds:

    time cp  /usr/bin/ssh ~/ ; time sync
    real    0m0.012s
    user    0m0.000s
    sys    0m0.010s
    real    0m2.982s
    user    0m0.000s
    sys    0m0.010s
    

    I tried with 'dd' command to see how fast simple writes are going and got at best 200kB/sec .... Does anyone have suggestions what to do ?

    Armbian is : ARMBIAN 5.33 user-built Ubuntu 16.04.3 LTS 3.14.79-odroidc2 ... no kernel modifications :

     

    zh@odroidc2's password:
      ___      _           _     _    ____ ____
     / _ \  __| |_ __ ___ (_) __| |  / ___|___ \
    | | | |/ _` | '__/ _ \| |/ _` | | |     __) |
    | |_| | (_| | | | (_) | | (_| | | |___ / __/
     \___/ \__,_|_|  \___/|_|\__,_|  \____|_____|
    
    
    Welcome to ARMBIAN 5.33 user-built Ubuntu 16.04.3 LTS 3.14.79-odroidc2
    System load:   0.83 0.35 0.16  	Up time:       21:20 hours
    Memory usage:  10 % of 1718MB 	IP:            192.168.1.99
    CPU temp:      37°C
    Usage of /:    10% of 15G
    
    [ General system configuration: armbian-config ]
    
    Last login: Mon Oct 16 06:35:37 2017 from 192.168.1.62
    
    
    zh@odroidc2:~$ dd if=/dev/zero of=~/testfile bs=10M count=1 oflag=direct
    1+0 records in
    1+0 records out
    10485760 bytes (10 MB, 10 MiB) copied, 51.8837 s, 202 kB/s
    
    zh@odroidc2:~$ dd if=/dev/zero of=~/testfile bs=10M count=1 oflag=direct
    1+0 records in
    1+0 records out
    10485760 bytes (10 MB, 10 MiB) copied, 17.0363 s, 615 kB/s
    
    zh@odroidc2:~$ dd if=/dev/zero of=~/testfile bs=4K count=2 oflag=direct
    2+0 records in
    2+0 records out
    8192 bytes (8.2 kB, 8.0 KiB) copied, 0.414244 s, 19.8 kB/s
    
    zh@odroidc2:~$ dd if=/dev/zero of=~/testfile bs=4K count=100 oflag=direct
    100+0 records in
    100+0 records out
    409600 bytes (410 kB, 400 KiB) copied, 20.2592 s, 20.2 kB/s

     


  17. hi, 

    here is the log file requested (i checked and i also do not have libpython2.7-dev installed). btw, am running ubuntu 16.04.2 on build machine.

    Displaying message: Command line: setting BRANCH to dev info
    Displaying message: Command line: setting BOARD to nanopineo info
    Displaying message: Command line: setting KERNEL_ONLY to no info
    Displaying message: Command line: setting PROGRESS_DISPLAY to plain info
    Displaying message: Command line: setting RELEASE to xenial info
    Displaying message: Command line: setting CLEAN_LEVEL to alldebs,make info
    Displaying message: Command line: setting BUILD_DESKTOP to NO info
    Displaying message: Command line: setting KERNEL_CONFIGURE to no info
    Displaying message: Command line: setting KERNEL_KEEP_CONFIG to no info
    Displaying message: Command line: setting USE_CCACHE to yes info
    Displaying message: Preparing host info
    Displaying message: Build host OS release xenial info
    Displaying message: Using user configuration override userpatches/lib.config info
    ## BUILD SCRIPT ENVIRONMENT
    
    Version: dd47a9447211624dfb04c052d33f20b2981174b1
    
    ## BUILD CONFIGURATION
    
    Build target:
    Board: nanopineo
    Branch: dev
    Desktop: no
    
    Kernel configuration:
    Repository: https://github.com/megous/linux/
    Branch: branch:orange-pi-4.11
    Config file: linux-sun8i-dev
    
    U-boot configuration:
    Repository: git://git.denx.de/u-boot.git
    Branch: tag:v2017.03
    Config file: nanopi_neo_defconfig
    
    Partitioning configuration:
    Root partition type: ext4
    Boot partition type: (none)
    User provided boot partition size: 0
    Offset: 1
    
    CPU configuration:
    240000 - 912000 with ondemand
    Displaying message: Syncing clock host info
    Displaying message: Downloading sources  info
    Displaying message: Checking git sources u-boot v2017.03 info
    Displaying message: Checking out
    Displaying message: Checking git sources linux-sun8i-mainline orange-pi-4.11 info
    Displaying message: Up to date
    Displaying message: Checking git sources sunxi-tools master info
    Displaying message: Up to date
    Displaying message: Cleaning output/debs info
    Displaying message: Cleaning u-boot/v2017.03 info
    Displaying message: Compiling u-boot 2017.03 info
    Displaying message: Compiler version arm-linux-gnueabihf-gcc 6.3.1 info
    Displaying message: Checking out sources
    Displaying message: Cleaning u-boot/v2017.03 info
    Displaying message: Started patching process for u-boot sun8i-nanopineo-dev 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 succeeded info
    Displaying message: ... [\e[32ml\e[0m][\e[32mc\e[0m] Merrii_Hummingbird_A20.patch succeeded info
    Displaying message: ... [\e[32ml\e[0m][\e[32mc\e[0m] a10-a20-lower-dram-clk.patch succeeded info
    Displaying message: ... [\e[32ml\e[0m][\e[32mc\e[0m] add-awsom-defconfig.patch succeeded info
    Displaying message: ... [\e[32ml\e[0m][\e[32mc\e[0m] add-bpi-m2plus.patch succeeded info
    Displaying message: ... [\e[32ml\e[0m][\e[32mc\e[0m] add-defconfig-options-orangepizero.patch succeeded info
    Displaying message: ... [\e[32ml\e[0m][\e[32mc\e[0m] add-lime2-emmc.patch succeeded info
    Displaying message: ... [\e[32ml\e[0m][\e[32mc\e[0m] add-nanopi-air.patch succeeded info
    Displaying message: ... [\e[32ml\e[0m][\e[32mc\e[0m] add-nanopi-m1.patch succeeded info
    Displaying message: ... [\e[32ml\e[0m][\e[32mc\e[0m] add-nanopi-m1plus.patch succeeded info
    Displaying message: ... [\e[32ml\e[0m][\e[32mc\e[0m] add-opizeroplus2-h3.patch succeeded info
    Displaying message: ... [\e[32ml\e[0m][\e[32mc\e[0m] add-orangepi-plus2.patch succeeded info
    Displaying message: ... [\e[32ml\e[0m][\e[32mc\e[0m] addjust-nanopi-neo-cpufreq.patch succeeded info
    Displaying message: ... [\e[32ml\e[0m][\e[32mc\e[0m] disable-usb-keyboards.patch succeeded info
    Displaying message: ... [\e[32ml\e[0m][\e[32mc\e[0m] emmc-for-cubieboard2.patch succeeded info
    Displaying message: ... [\e[32ml\e[0m][\e[32mc\e[0m] enable-DT-overlays-support.patch succeeded info
    Displaying message: ... [\e[32ml\e[0m][\e[32mc\e[0m] fix-cubieboard1-defconfig.patch succeeded info
    Displaying message: ... [\e[32ml\e[0m][\e[32mc\e[0m] h3-Fix-PLL1-setup-to-never-use-dividers.patch succeeded info
    Displaying message: ... [\e[32ml\e[0m][\e[32mc\e[0m] h3-add-disp2-video-driver-configs.patch succeeded info
    Displaying message: ... [\e[32ml\e[0m][\e[32mc\e[0m] h3-add-disp2-video-driver-jernej.patch succeeded info
    Displaying message: ... [\e[32ml\e[0m][\e[32mc\e[0m] h3-adjust-dram-frequency.patch succeeded info
    Displaying message: ... [\e[32ml\e[0m][\e[32mc\e[0m] h3-enable-power-led.patch succeeded info
    Displaying message: ... [\e[32ml\e[0m][\e[32mc\e[0m] h3-set-safe-axi_apb-clock-dividers.patch succeeded info
    Displaying message: ... [\e[32ml\e[0m][\e[32mc\e[0m] sun8i-set-machid.patch succeeded info
    Displaying message: ... [\e[32ml\e[0m][\e[32mc\e[0m] sunxi-boot-splash.patch succeeded info
    Displaying message: ERROR in function compile_uboot common.sh:97 err
    Displaying message: U-boot compilation failed  err
    Displaying message: Process terminated  info

     


  18. hi, 

    as of this morning, i tried updating my NanoPi Neo build (kernel=dev, os=ubuntu xenial,  type=no graphics/server).

    Has been building fine for months. I think problem is in U-Boot (header missing ?)

    LDFLAGS="" python ./lib/libfdt/setup.py \
    	"-Wall -Wstrict-prototypes -O2 -fomit-frame-pointer    -include ./include/libfdt_env.h -idirafterinclude -idirafter./arch/arm/include -I./lib/libfdt -I./tools -DUSE_HOSTCC -D__KERNEL_STRICT_NAMES -D_GNU_SOURCE " lib/libfdt/fdt.c lib/libfdt/fdt_ro.c lib/libfdt/fdt_rw.c lib/libfdt/fdt_strerror.c lib/libfdt/fdt_wip.c lib/libfdt/fdt_region.c lib/libfdt/fdt_sw.c tools/libfdt_wrap.c
    tools/libfdt_wrap.c:147:21: fatal error: Python.h: No such file or directory
    compilation terminated.
    error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
    tools/Makefile:123: recipe for target 'tools/_libfdt.so' failed
    make[1]: *** [tools/_libfdt.so] Error 1
    Makefile:1229: recipe for target 'tools' failed
    make: *** [tools] Error 2
    [ error ] ERROR in function compile_uboot [ common.sh:97 ]
    [ error ] U-boot compilation failed
    [ o.k. ] Process terminated
    
    real	1m23.452s

     


  19. hi all 

    i had armbian build running with 'dev' kernel (4.9.0) and armbian 5.24 which worked PERFECT over a month.

    decided 2 days ago to build from scratch, armbian build system pulled all latest updates and i got 5.24 with kernel 4.9.3 (2 days ago) and 4.9.4 today. None of those would boot properly (ie. can not ping/access the board). I also tried downloading nightly build and that one is not working any more. 

    Iknow these builds are not supported but since it worked very well i think something got broken either in kernel or uboot or in armbian so might be worth a look.

     

    tx in advance !


  20. hi all, @bzrfp, 

    finally got last weekend NanoPi NEO. 

    Went to my Armbian directory, fired it up, said i'd like Ubuntu Xenial with devt kernel console and 20 mins later i had the image. I have customized image build for my odroid-c2 (added squeezelite package to lib.config file under userpatches directory and i added roon endpoint install script (slightly modified)) to avoid having to type couple of commands into produced image once its made.

    So my Armbian build process is really plain Armbian build plus install of squeezelite (for LMS server) and Roon Endpoint.

     

    Anyhow, burnt the image, tested it - rebooted, put in a case,connected usb dac and ethernet again and it's been working for a week with 0 hicups. Both as squeezelite player and roon endpoint. boots in less then 20 seconds ... but as i said did it only twice week ago ;)

     

    I do have CPU cooler that i ordered with NanoPI NEO ... the ONLY change i made was put CPU in performance mode running at 1.2 GHz. .... worked well with less then 1Ghz as well ... Roon needs no CPU really (i can only test up to 192khz/24bit with my Benchmark DAC2) and squeezelite has no trouble with even converting DSD64 stream to PCM 192khz ... CPU utilisation in one of the cores jumps to 100% for a while but there are no dropouts.

     

    I do have Intona USB Isolator connected after it (its about 10 times bigger then NanoPI itself ;) but i hear no major difference (nothing bad) compared to OdroidC2 nor the PC i used to have before as endpoint.

    for 15$ doesnt get much better :)

     

    Thanks to Armbian guys this is really easy !!!!!!!


  21. hi @bzfrp, 

    yes, audio streamer (squeezelite and roon) - that is great news - have ordered NanoPI NEO and am looking forward !!!

    Have Odroid-C2 which i liked cause it was running 64bit linux and it does work well with Squeezelite and also runs Roon endpoint (though had to isntall 32bit libraries as it's armv7 32-bit binary) and it does work well ... but every now and then i get some warnings in kernel log (which have no impact on operations, but i get annoyed). So i thought more updated kernel on a board would do just fine.

     

    Btw, Odroid-c2 can manage running squeezelite to resample/upsample all the content to either 192khz or 176.4khz from any sample rate (incuding DSD) ... it does peak to 100% CPU utilitsation with DSD64 material but no dropouts or any issues.

     

    NanopI Neo might not be too far from that - will share once i get it and install everything. 

     

    As for Roon or non-resampling squeezelite - all CPUs today on all boards are way more then capable of being audio streamers :)

     

    thank you !!!