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
RIoTboard
  • Products
  • Dev Tools
  • Single-Board Computers
  • RIoTboard
  • More
  • Cancel
RIoTboard
Forum Riotboard Android - U-Boot 2015
  • Blog
  • Forum
  • Documents
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join RIoTboard to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Verified Answer
  • Replies 2 replies
  • Subscribers 23 subscribers
  • Views 570 views
  • Users 0 members are here
Related

Riotboard Android - U-Boot 2015

phil_94
phil_94 over 10 years ago

Hi guys,

 

I have successfully downloaded, compiled and flashed an Android BSP on the RIotboard following the instructions of RIotBoard user manual (https://www.dropbox.com/s/xap0b9am0bkbi1f/RIoTboard%20User%20Manual_V2.1.pdf?dl=0) . The thing is, it is using an old version of U-Boot (2009) with a custom booti implementation to load the boot.img in RAM, and I need to use last version of U-Boot (2015) for multi boot purposes and flat device tree support of newer kernels.

 

From what I've seen, the newest version of U-Boot has already built-in support for loading Android images if you define CONFIG_ANDROID_IMAGE flag ; so far I have managed to get it to load my boot.img blob, parse header / kernel / ramdisk files, starts the kernel but then nothing happens (it's stuck after Starting kernel... output) . Also I have checked that the  command line is ok so I don't think it's a kernel command line issue.

 

I also tried porting the u-boot 2009 custom booti function to u-boot 2015 ; it compiled ok but i get mmc read driver errors at execution (v7_dcache_inval_range - start address is not aligned - 0x4ffa703)

 

So my question is : has anyone successfully booted Android 4.4 for Riotboard with newest U-boot (2015) ?

 

Thanks for reading me

 

Phil

  • Sign in to reply
  • Cancel
Parents
  • phil_94
    0 phil_94 over 10 years ago

    OK I solved the issue ; seems like the arch number passed when calling the kernel was wrong : by default, when configuring u-boot 2015 with riotboard_defconfig, and running the bootm command on a preloaded android boot.img image, the linux arch number passed is 0, and the kernel expected 4000 (as defined in the freescale custom U-Boot 2009 include/asm-arm/mach-types.h :

     

    #define MACH_TYPE_MX6SOLO_RIoTboard4000


    After that the kernel starts ok. Hope this can be useful for anyone else.

     

    Phil

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

    Hey Phil,

     

    I'm trying to switch to the new U-Boot as well but I'm having some trouble.

     

    I've added:

    CONFIG_ANDROID_IMAGE=y

    to:

    u-boot/configs/riotboard_defconfig

     

    How do I set the arch_number?

     

    Also, what would the boot.scr look like?

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

    Hey Phil,

     

    I'm trying to switch to the new U-Boot as well but I'm having some trouble.

     

    I've added:

    CONFIG_ANDROID_IMAGE=y

    to:

    u-boot/configs/riotboard_defconfig

     

    How do I set the arch_number?

     

    Also, what would the boot.scr look like?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Children
No Data
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