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
Single-Board Computers
  • Products
  • Dev Tools
  • Single-Board Computers
  • More
  • Cancel
Single-Board Computers
Forum which u-boot file in yocto can I burn into emmc for imx8mqevk board (maaxboard) using uuu tool?
  • Blog
  • Forum
  • Documents
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Single-Board Computers to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • Replies 5 replies
  • Subscribers 57 subscribers
  • Views 3024 views
  • Users 0 members are here
  • yocto
  • uboot
  • uuu
  • imx8mqevk
  • maaxboard
Related

which u-boot file in yocto can I burn into emmc for imx8mqevk board (maaxboard) using uuu tool?

gonewtinwind
gonewtinwind over 4 years ago

hi all,

now I am playing maaxboard emmc version which porting from   imx8mqevk board .

I use uuu tool to burn image into emmc. it's not like sd card, I can use  balenaEtcher to burn all files in sd card with file :fsl-image-validation-imx-imx8mqevk-20201124152610.rootfs.sdcard.bz2(after  unzip is fsl-image-validation-imx-imx8mqevk-20201124152610.rootfs.sdcard)

 

it seems uuu tool can not burn all files together, it need to burn u-boot separately as below script:

****

uuu_version 1.3.154

 

SDP: boot -f u-boot-imx8m-uuu.imx

# This command will be run when use SPL

SDPU: delay 1000

SDPU: write -f u-boot-imx8m-uuu.imx -offset 0x57c00

SDPU: jump

# This command will be run when ROM support stream mode

SDPS: boot -f download/u-boot.imx

 

FB: ucmd printenv

FB: ucmd mmc dev

FB: ucmd setenv fastboot_dev mmc

FB: ucmd setenv mmcdev ${emmc_dev}

FB: ucmd mmc dev ${emmc_dev}

# erase environment variables of uboot

FB: ucmd mmc erase 0x2000 0x8

 

FB: flash -raw2sparse all download/fsl-image-validation-imx-imx8mqevk-20201124152610.rootfs.sdcard

 

FB: flash bootloader download/u-boot-imx8mqevk.bin.   ##(maybe not this file)

FB: ucmd mmc partconf ${emmc_dev} 0 1 0

FB: done

*****

 

but I do not know which one is the u-boot image I can separately burn it

in yocto image folder ,there are some files:

tmp/deploy/images/imx8mqevk

 

u-boot.bin     u-boot-imx8mqevk.bin     u-boot-sd-2018.03-r0.bin  u-boot-spl.bin-imx8mqevk                           u-boot-spl.bin-imx8mqevk-sd

u-boot.bin-sd  u-boot-imx8mqevk.bin-sd  u-boot-spl.bin            u-boot-spl.bin-imx8mqevk-2018.03-r0-sd-2018.03-r0  u-boot-spl.bin-sd

 

 

my u-boot support optee in sd card.

 

my question:

1. which is the correct u-boot image?

2. can I use  one file fsl-image-validation-imx-imx8mqevk-20201124152610.rootfs.sdcard to burn into emmc  with uuu tool same as  burning sdcard? if possible,  what is  the script?

 

I asked my question there too,.

https://community.nxp.com/t5/i-MX-Processors/which-u-boot-file-in-yocto-can-I-burn-into-emmc-for-imx8mqevk/m-p/1191786#M…

and some  one let me to come here and ask at here

 

Thank you.

  • Sign in to reply
  • Cancel

Top Replies

  • jafoste4
    jafoste4 over 4 years ago +2
    Hi Peter, Have you tested the fsl-image-validation-imx-imx8mqevk-20201124152610.rootfs.sdcard on the MaaXBoard SD card variant as of yet? I just wanted to make sure all the MaaXBoard specific changes to…
  • jafoste4
    jafoste4 over 4 years ago

    Hi Peter,

     

    Have you tested the fsl-image-validation-imx-imx8mqevk-20201124152610.rootfs.sdcard on the MaaXBoard SD card variant as of yet? I just wanted to make sure all the MaaXBoard specific changes to port from the Development Kit to the MaaXBoard SBC. If so great!

     

    In terms of using  fsl-image-validation-imx-imx8mqevk-20201124152610.rootfs.sdcard , yes you can just use this file. This is what I would reccomend using.

     

    Check out section 4.1 of this Yocto Development User Guide for install instructions. https://www.dropbox.com/sh/1nsney48e4xiz9q/AADNBCl1G_KjodzYdWRuXhYYa/01Doc/EN?dl=0&preview=MaaXBoard-Linux-Yocto-Lite-De…

     

    (I am working on getting this document published to E14)

     

    -Josh

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • Cancel
  • gonewtinwind
    gonewtinwind over 4 years ago in reply to jafoste4

    Hi Jose

    I ported avnet company's kernel and uboot source code to yocto (not use  the yocto source code at here  https://github.com/Avnet/meta-maaxboard. not use avnet updated yocto source code in  dropbox )  a  few months ago, I posted  here How can I build an image for the MaaxBoard myself?

     

    fsl-image-validation-imx-imx8mqevk-20201124152610.rootfs.sdcard.  works well in SD card (my uboot can support optee)

    ---

     

    but how burn it in to  emmc ?

     

    I used the sudo ./uuu uuu_emmc_linux.lst to burn,  rootsf,kernel image, dtb  are works well, but it need to burn  download/u-boot.imx . this one is not my u-boot image, it can start up, but can not support optee.

     

    so I need to find a separated u-boot image of mine   in yocto to  burn inot emmc.

    which is the separated u-boot image ?

     

     

     

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • gonewtinwind
    gonewtinwind over 4 years ago in reply to jafoste4

    thank you

    after read the your suggestion pdf 4.1

    it seems the separated u-boot data of mine is imx-boot-imx8mqevk-sd.bin-flash_ddr4_em

     

    in the guide is 4.2.1  : imx-boot-maaxboard-ddr4-2g-sdcard-sd.bin-flash_ddr4_em

     

    let me try

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • gonewtinwind
    gonewtinwind over 4 years ago in reply to gonewtinwind

    a few week ago, I added spi rtc board on maaxboard. I find in the extension port dts, the spi cs  pin define is wrong.

    I  told the technical supporter.

    update to now I do not find some errors else.

    I tried to built yocto  following here: https://github.com/Avnet/meta-maaxboard but can not pass, so I gave up. I still use my own yocto I built before.

    Maybe later I will following the guide to build again if possible

     

    my own yocto I posted before works well

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • gonewtinwind
    gonewtinwind over 4 years ago in reply to gonewtinwind

    yes!

    the separated u-boot data of mine is imx-boot-imx8mqevk-sd.bin-flash_ddr4_em

    thank you

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • 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