Help with assembly android from source

Discussion in 'Android' started by tararasss, Dec 9, 2013.

  1. tararasss

    tararasss New Member

    Joined:
    Nov 29, 2013
    Messages:
    10
    Likes Received:
    0
    Help with assembly android from source
    as written in the wiki http://www.elinux.org/UDOO_compile_andr ... om_sources
    but get an error when creating the image.
    What I doing wrong?

    rea@ubuntu:~$ make bootimage
    ============================================
    PLATFORM_VERSION_CODENAME=REL
    PLATFORM_VERSION=4.2.2
    TARGET_PRODUCT=udoo
    TARGET_BUILD_VARIANT=eng
    TARGET_BUILD_TYPE=release
    TARGET_BUILD_APPS=
    TARGET_ARCH=arm
    TARGET_ARCH_VARIANT=armv7-a-neon
    HOST_ARCH=x86
    HOST_OS=linux
    HOST_OS_EXTRA=Linux-2.6.32-24-generic-x86_64-with-Ubuntu-10.04-lucid
    HOST_BUILD_TYPE=release
    BUILD_ID=1.0.0-rc3
    OUT_DIR=out
    ============================================
    Checking build tools versions...
    build/core/base_rules.mk:525: .local/share/Trash/files/external/mtd-utils/new-utils/Android.mk: Module "ubinize" has useless module tags: eng. It will be installed anyway.
    find: `frameworks/base/core/java/android': No such file or directory
    find: `frameworks/base/graphics/java/android': No such file or directory
    find: `frameworks/base/location/java/android': No such file or directory
    find: `frameworks/base/media/java/android': No such file or directory
    find: `frameworks/base/media/mca/effect/java/android': No such file or directory
    find: `frameworks/base/media/mca/filterfw/java/android': No such file or directory
    find: `frameworks/base/media/mca/filterpacks/java/android': No such file or directory
    find: `frameworks/base/drm/java/android': No such file or directory
    find: `frameworks/base/opengl/java/android': No such file or directory
    find: `frameworks/base/opengl/java/javax/microedition/khronos': No such file or directory
    find: `frameworks/base/sax/java/android': No such file or directory
    find: `frameworks/base/telephony/java/android': No such file or directory
    find: `frameworks/base/wifi/java/android': No such file or directory
    find: `frameworks/base/keystore/java/android': No such file or directory
    find: `frameworks/base/icu4j/java/android': No such file or directory
    find: `frameworks/base/voip/java/android': No such file or directory
    find: `frameworks/base/core/java/android': No such file or directory
    find: `frameworks/base/graphics/java/android': No such file or directory
    find: `frameworks/base/location/java/android': No such file or directory
    find: `frameworks/base/media/java/android': No such file or directory
    find: `frameworks/base/media/mca/effect/java/android': No such file or directory
    find: `frameworks/base/media/mca/filterfw/java/android': No such file or directory
    find: `frameworks/base/media/mca/filterpacks/java/android': No such file or directory
    find: `frameworks/base/drm/java/android': No such file or directory
    find: `frameworks/base/opengl/java/android': No such file or directory
    find: `frameworks/base/opengl/java/javax/microedition/khronos': No such file or directory
    find: `frameworks/base/sax/java/android': No such file or directory
    find: `frameworks/base/telephony/java/android': No such file or directory
    find: `frameworks/base/wifi/java/android': No such file or directory
    find: `frameworks/base/keystore/java/android': No such file or directory
    find: `frameworks/base/icu4j/java/android': No such file or directory
    find: `frameworks/base/voip/java/android': No such file or directory
    find: `../../vendor/unbundled_google/libs/gcm/gcm-client/src': No such file or directory
    find: `../../vendor/unbundled_google/libs/gcm/gcm-server/src': No such file or directory
    find: `../../vendor/unbundled_google/libs/gcm/gcm-client/src': No such file or directory
    find: `../../vendor/unbundled_google/libs/gcm/gcm-server/src': No such file or directory
    find: `src': No such file or directory
    build/core/base_rules.mk:130: *** abi/cpp: MODULE.TARGET.SHARED_LIBRARIES.libgabi++ already defined by .local/share/Trash/files/abi/cpp. Stop.
    rea@ubuntu:~$
     
  2. Lifeboat_Jim

    Lifeboat_Jim New Member

    Joined:
    Sep 16, 2013
    Messages:
    399
    Likes Received:
    1
    'TARGET_ARCH_VARIANT=armv7-a-neon'

    Well, that doesn't look good to start with, seeing as UDOO is ARM 9.
     
  3. tararasss

    tararasss New Member

    Joined:
    Nov 29, 2013
    Messages:
    10
    Likes Received:
    0
    where to change this setting?
    'TARGET_ARCH_VARIANT=armv7-a-neon'


    Wiki is misspelled?
    HOST $ export ARCH = arm
    HOST $ export CROSS_COMPILE = $ PWD/prebuilts/gcc/linux-x86/arm/arm-eabi-4.6-bin/arm-eabi-
    HOST $ export PATH = $ PWD / bootable / bootloader / u-boot-imx / tools: $ PATH
    HOST $. build / envsetup.sh

    as it should be?
     
  4. kjhoremans

    kjhoremans New Member

    Joined:
    May 30, 2014
    Messages:
    3
    Likes Received:
    0
    Did you ever get some help on this issue? I'm trying to build from source as well, and can get the build to compile, etc (4.3 Android source), but I can't get the SD to boot. I'm wondering if its the android VARIANT noted below, but I can't find anywhere where the correct variant would be specified, if that is the issue.

    Obviously the UDOO team has built for Android, as the img file is posted. Could someone from the team publish the steps and configuration they use for that build??
     
  5. mjdousti

    mjdousti New Member

    Joined:
    Jun 26, 2014
    Messages:
    3
    Likes Received:
    0
    I think you haven't run
    Code:
    ./setup udoo-eng
    before issuing the make command.

    Also the comment of Lifeboat_Jim is clearly incorrect, since ARM v7 is different from ARM 7. The first one refers to the instruction set architecture (ISA), whereas the latter is an implementation of this ISA. Hence, no problem here.
     

Share This Page