How to get started with i.Mx 8 ?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to get started with i.Mx 8 ?

3,818 Views
anaseem
Contributor IV

I just purchased and powered up i.MX 8QuadXPlus MEK CPU Board.  I'm interfacing with the board from host terminal.  On powerup, U-Boot runs.  Name of CPU, memory size and lots of information is displayed on the terminal.  Then, it says, Starting kernel . . .  lots of information is displayed such as Virtual kernel memory layout.  Then, it says

Welcome to NXP i.MX Release Distro 4.14-sumo (sumo) !    What does this mean?

I cannot tell if Linux mounted a root file system.

After displaying lot more information, I get login prompt as follows:

imx8qxpmek login:

Is Kernel done executing, I don't see any indication that User init program is running?  Is the board shipped with user init program?

My goal is to use this board to develop embedded USB Host.  What do I need to learn about Linux to get started?  What's my next step?

I entered <root> at login prompt.  Now I get following prompt:

root@imx8qxpmek:~#

What do I enter at this prompt?

7 Replies

3,019 Views
marcomadrigal
Contributor III

Hi,

You have already reached the file system and now you are at the system prompt. All the information you saw after "Starting kernel" is the kernel booting and now you are ready to go. At that point, you can start using it as any other (or almost) Linux computer. For some customizations and custom user applications you might require to build and install your own Yocto image. This might be a good start point for you:

iMX8 Application Media Processor | iMX8 Processor | RidgeRun 

Best Regards,

-Marco

https://www.ridgerun.com

3,019 Views
anaseem
Contributor IV

Hello,

I'm not ready to create custom user applications yet.  This means I won't need Yocto yet.

First, I want to create and run simple 'C' language "Hello World" program in MEK.  What are my options for doing that?

0 Kudos

3,019 Views
igorpadykov
NXP Employee
NXP Employee

one can look at SDK_MEK-MIMX8QX (attached document Getting Started with

MCUXpresso SDK for i.MX 8QuadXPlus.pdf describes Hello World example)

Welcome | MCUXpresso SDK Builder 

Best regards
igor

3,019 Views
anaseem
Contributor IV

>> one can look at SDK_MEK-MIMX8QX (document Getting Started with

     MCUXpresso SDK for i.MX 8QuadXPlus.pdf

Please provide link to this document

0 Kudos

3,019 Views
igorpadykov
NXP Employee
NXP Employee

3,019 Views
anaseem
Contributor IV

I haven't developed in Linux before.  Is Yocto image Linux distribution?

How do I get started with embedded Linux based development using MEK development platform?  What software tools do I use to ?  What is system address space? where do I place my application code?

What documentation do I need?

0 Kudos

3,019 Views
igorpadykov
NXP Employee
NXP Employee

Hi Amer

below links may be useful

i.MX 8QXP MEK launch and preview - i.MXDev Blog 

i.MX 8X Applications Processors| Arm® Cortex®-A35, Cortex-M4 | NXP 

Linux documentation
i.MX Software | NXP 

look at bottom of below page for useful linux porting links

Porting Linux to a new board — Christian's Blog 

Best regards
igor

0 Kudos