i.MX8MQ-EVK: enable distro_bootcmd in u-boot

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

i.MX8MQ-EVK: enable distro_bootcmd in u-boot

762 Views
vipulkumar
Contributor III

I wanted to enable distro_bootcmd in u-boot for imx8mq-evk board.

As per this link https://source.codeaurora.org/external/imx/uboot-imx/tree/doc/README.distro?h=imx_v2019.04_4.19.35_1...

I have made changes in u-boot.

Now I need to set following some environment variable:

1. fdt_addr and fdt_addr_r

2. ramdisk_addr_r

3. kernel_addr_r

4. pxefile_addr_r

5. scriptaddr

Where can i get memory adresses of these variables for imx8mq-evk ?

Labels (1)
0 Kudos
3 Replies

752 Views
joanxie
NXP TechSupport
NXP TechSupport

have you download or build uboot for imx8mq, if yes, when you boot up the board, you can find them in the uboot command, when the board boot up, enter any key, and use the "printenv" to check the current uboot environment

 

 

0 Kudos

744 Views
vipulkumar
Contributor III

Thanks for your reply.

I am building core-image-minimal for imx8mq-evk using instructions mentioned here:

https://source.codeaurora.org/external/imx/imx-manifest/tree/README?h=imx-linux-warrior

I will check.

Is imx8mq-evk supports distro_bootcmd by default ?

0 Kudos

724 Views
joanxie
NXP TechSupport
NXP TechSupport

default is bootcmd, you can download prebuilt uboot to the board, after board boot up, press any key to stop it, and use "printenv" to check the uboot environment

0 Kudos