Topics

Emulator tool for imx8m #yocto #linux #devtool


Amrun Nisha.R
 

Hi,

Actually I'm working on the DART-IMX8M board. I can able to build the image in linux machine and run it on the board. But for every build, i have to run the image on board. I have checked on the qemu but it is not supported for the machine imx8mq-var-dart. 
Is there any emulator can be used for imx8mq-var-dart?


Andy Pont
 

Hello!

Actually I'm working on the DART-IMX8M board. I can able to build the image in linux machine and run it on the board. But for every build, i have to run the image on board. I have checked on the qemu but it is not supported for the machine imx8mq-var-dart.
Is there any emulator can be used for imx8mq-var-dart?
Generally speaking, at the point when we get to working with boards we are needing to interact with the outside world so we have to run on the target hardware. Once U-Boot (or equivalent) is up and running then we speed the development process up using TFTP/NFS to boot the Linux kernel and mount the root file system.

It saves all the messing around programming on-board flash devices or SD cards whilst the image is in flux. It also means that all the application developers are using the same and the latest configuration rather than having flash devices with old versions potentially causing problems.

It might help a little!

-Andy.


Khem Raj
 

On Thu, Sep 17, 2020 at 6:43 AM Amrun Nisha.R <amrunnishar@...> wrote:

Hi,

Actually I'm working on the DART-IMX8M board. I can able to build the image in linux machine and run it on the board. But for every build, i have to run the image on board. I have checked on the qemu but it is not supported for the machine imx8mq-var-dart.
Is there any emulator can be used for imx8mq-var-dart?
closed you can get is qemuarm64, you can also use package management
in image and install/update/remove individual packages. something like
https://imxdev.gitlab.io/tutorial/How_to_apt-get_to_the_Yocto_Project_image/



Amrun Nisha.R
 

Thanks Andy,

I tried to boot the linux kernel using TFTP/NFS, i got this below error

BOOTP broadcast 1
DHCP client bound to address 10.78.216.7 (12 ms)
Using ethernet@30be0000 device
TFTP from server 199.63.127.45; our IP address is 10.78.216.7; sending through gateway 10.79.108.1
Filename 'boot\x86\wdsnbp.com'.
Load address: 0x42000000
Loading: *
ARP Retry count exceeded; starting again
Error: Bad gzipped data
fdt_file=fsl-imx8mq-var-dart.dtb
BOOTP broadcast 1
DHCP client bound to address 10.78.216.7 (17 ms)
Using ethernet@30be0000 device
TFTP from server 199.63.127.45; our IP address is 10.78.216.7; sending through gateway 10.79.108.1
Filename 'boot\x86\wdsnbp.com'.
Load address: 0x43000000
Loading: *
ARP Retry count exceeded; starting again
WARN: Cannot load the DT

is there any way to fix this issue?