Hi All
My kernel is 5.4.70 and use imx8mq-evk.
I can use the command setenv under uboot to change the content of fdtfile from
imx8mq-evk.dtb to imx8mq-evk-dcss-adv7535.dtb and run.
I want the build image to be fixed in imx8mq-evk-dcss-adv7535.dtb after booting.
I looked for u-boot-imx/1_2020.04-r0/git/include/configs/imx8mq_evk.h file but the
content only saw fdt_file=imx8mq-evk.dtb and no fdtfile.
Which file should I modify?Thanks.
已解决! 转到解答。
I cannot use the file you provided for burning. It will stay at the stage shown in the picture below.
However, after I used bitbake-image-multimedia to replace the file in the uuu folder with the imx-boot-imx8mqevk-sd.bin-flash_evk generated, I could successfully see that fdt_file was set to imx8mq-evk-dcss-adv7535.dtb after booting.
Thank you very much
Hi, @Ichi_
It is strange, i have tested this on my EVK board, It works fine. Please use the "devtool modify u-boot-imx" command change your code. Or you can compile the Uboot separately.
B.R
Thank you for your continued attention to this issue.
I tried compiling uboot separately but got the same result(fdtfile=imx8mq-evk.dtb).
In addition, I got information from imx8mq evk
"Loading Environment from MMC... *** Warning - bad CRC, using default environment"
Complete information as attachments.
Which bsp version do you use? Has the same warning occurred?
Thanks.
hi @Ichi_
Sorry, my server has some issue now, so i can not reproduce your question.
Could you please use our latest BSP code and retry?
repo init -u https://github.com/nxp-imx/imx-manifest -b imx-linux-scarthgap -m imx-6.6.36-2.1.0.xml
repo sync
bitbake imx-image-multimedia
B.R
My environment has a newer version Linux 6.6.23_2.0.0.
I have modified fdtfile=imx8mq-evk-dvss-adv7535.dtb in imx8mq_evk.h as shown below:
the imx8mq_evk.h path is build-wayland/tmp/work/imx8mqevk-poky-linux/
u-boot-imx/2024.04/inxlude/config/imx8mq_evk.h
But the situation is the same as before. read the fdtfile from uboot is imx8mq-evk.dtb
The kernel is imx-yocto-L5.4.70_2.3.0
After modifying the imx8mq_evk.h file I executed the following command:
1 bitbake -c cleanall imx-image-multimedia
2 bitbake -c compile -f u-boot-imx
3 bitbake -c deploy -f u-boot-imx
4 bitbake -c compile -f linux-imx
5 bitbake -c deploy -f linux-imx
6 bitbake imx-image-multimedia
And I use uuu tool for programming, the command is sudo uuu uuu.auto
In addition, I can use this process to enable panel and touch drivers and actions.
thank you very much
Thank you for your reply.
As mentioned before I found the u-boot-imx/1_2020.04-r0/git/include/configs/imx8mq_evk.h file, but the content only shows fdt_file=imx8mq-evk.dtb, no fdtfile.
Thank you for your reply.
What I want is that the fdtfile after bitbake imx-image-multimedia is imx8mq-evk-dcss-adv7535.dtb without having to modify it through uboot commands.
Do you know how to modify it?