element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Freescale i.MX6 Development Platforms
  • Products
  • Dev Tools
  • Single-Board Computers
  • Freescale i.MX6 Development Platforms
  • More
  • Cancel
Freescale i.MX6 Development Platforms
Forum Build Android for i.MX Issue 2
  • Blog
  • Forum
  • Documents
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Freescale i.MX6 Development Platforms to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Suggested Answer
  • Replies 8 replies
  • Answers 1 answer
  • Subscribers 5 subscribers
  • Views 1681 views
  • Users 0 members are here
  • android
  • freescale
  • imx6q
  • sabre_lite
Related

Build Android for i.MX Issue 2

Former Member
Former Member over 11 years ago

Hi,

 

When I type this command I get this error.

 

$ make mx6q-sabrelite_android_config

make: *** No rule to make target `mx6q-sabrelite_android_config'.  Stop.

 

How do I fix this? I can not type

 

$ make

after that because I get:

 

System not configured - see README

make: *** [all] Error 1

 

How do I fix this? Please help.

image image image

Thanks,

  • Sign in to reply
  • Cancel
  • Former Member
    0 Former Member over 11 years ago

    We'd need more information to even try to answer.  what exactly are you trying to build?  where did you get the source code?  are you in the correct directory?  Is your command correct (no silly typos or anything similar)?

     

    If I type your first make command in a completely empty directory I get exactly the same message, so it really doesn't tell us anything.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Former Member
    0 Former Member over 11 years ago in reply to Former Member

    Hi,

     

    I am trying to build a u-boot image per the "Freescale Sabre Lite User Manual V1.3":

     

    $ cd ~/ android-imx6-r13.3/bootable/bootloader/uboot-imx

    $ export ARCH=arm

    $ export CROSS_COMPILE=~/android-imx6-r13.3/prebuilt/linux-x86/toolchain/arm-eabi-

    4.4.3/bin/arm-eabi-

     

    Command to build for i.MX6Q Sabrelite board is:

     

    $ make distclean

    $ make mx6q-sabrelite_android_config

    $ make

     

    So here is what I did:

     

    now@Here:~$ cd mydroid/sabre/android-imx6-r13.3/bootable/bootloader/uboot-imx

    now@Here:~/mydroid/sabre/android-imx6-r13.3/bootable/bootloader/uboot-imx$ export ARCH=arm

    now@Here:~/mydroid/sabre/android-imx6-r13.3/bootable/bootloader/uboot-imx$ export CROSS_COMPILE=~/android-imx6-r13.3/prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/arm-eabi-

    now@Here:~/mydroid/sabre/android-imx6-r13.3/bootable/bootloader/uboot-imx$ make distclean

    now@Here:~/mydroid/sabre/android-imx6-r13.3/bootable/bootloader/uboot-imx$ make mx6q-sabrelite_android_config

    make: *** No rule to make target `mx6q-sabrelite_android_config'.  Stop.

    now@Here:~/mydroid/sabre/android-imx6-r13.3/bootable/bootloader/uboot-imx$

     

    And, of course if I try to continue and type:

     

    now@Here:~/mydroid/sabre/android-imx6-r13.3/bootable/bootloader/uboot-imx$ make

    System not configured - see README

    make: *** [all] Error 1

    now@Here:~/mydroid/sabre/android-imx6-r13.3/bootable/bootloader/uboot-im

     

    It is because  of "make: *** No rule to make target `mx6q-sabrelite_android_config'.  Stop." The source code is from this site at Freescale i.MX6 Development Platforms Software Download Center (SABRE Lite).

    I am not sure how to fix this.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Former Member
    0 Former Member over 11 years ago in reply to Former Member

    Ok, in the u-boot directory you'll probably find a file called boards.cfg. Look in that for a line that has mx6q-sabrelite_android

     

    In recent versions of u-boot the line looks something like this:

    Active arm armv7 mx6 boundary nitrogen6x mx6qsabrelite nitrogen6x:IMX_CONFIG=bo

     

    but you'll need one where the bold part is mx6q-sabrelite_android

     

    Exactly how it's defined will depend on how old the version of u-boot you're trying to build is and what vendor patches have been done to it.

     

    I'd probably also suggest having a look at the Boundarydevices.com blog. There's a lot more information on sabre-lite there and I believe they also have pre-built android images if that's of use to you.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • Former Member
    0 Former Member over 11 years ago in reply to Former Member

    Hey alright. I'll look into it.

     

    Thanks,

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Former Member
    0 Former Member over 11 years ago in reply to Former Member

    So assuming you're not bothered about building the source yourself, perhaps a combination of these two might get you a running system

    http://boundarydevices.com/u-boot-2014-04-release-mx6/

    http://boundarydevices.com/bluetooth-on-jellybean/

     

    I've not tried either of these as I don't use Android, but the boundarydevices people are very good with this stuff, so I'd be surprised if there are problems.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Former Member
    0 Former Member over 11 years ago in reply to Former Member

    Awesome...I bookmarked them. This helps a lot.

    I built two roms for my tablet; both from the source, one rooted JB4.3. The second is Paranoid Android. I have not been able to get the tablet to even come on. These are both using the sabresd. The sabresd and the sabrelite are almost identical, right? I would think the roms would work. I guess I have to try debugging (usb to TTL).

    Any thoughts?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Former Member
    0 Former Member over 11 years ago in reply to Former Member

    While there are probably similarities between sabre-lite and sabresd I think there may also be enough differences that it won't work.

    The reason I think that is that there are different configs in u-boot for these two boards.

     

    Getting access to the serial console on both boards is really a requirement if you want to try debugging anything like this as it tends to be where all of the u-boot messages are sent and often where any early boot messages from linux or android go to as well

     

    I don't have a sabresd myself, so I'm not really in a position to give you much help with it, however getting boot logs from the serial console might let us at least point you in some general directions on where to start looking.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Former Member
    0 Former Member over 11 years ago

    Well by your response, it looks like I was thinking in the right direction. I will most likely set up the device tree for the sabrelite and build from the source. I will go from there and debug.

    Thank you for all your help.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube