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 ?
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
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 ?
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