Hi All,
I'm using i.MX6 sabresd to build my image.
I have Mfgtool which will print log via console1.
I wanna change it to console0.
But after I do "bitbake u-boot-imx-mfgtool", I don't know what to do next.
I wanna ask how can I change the out put from console1 to console0?
Or any User guide for me to study.
Thanks in Advanced!
Hi,
Which version of BSP are you using?
Have a nice day
Rita
This is the version of my Yocto Project.
L4.1.15_1.0.0
I think this should be done in u-boot. You can specify which UARTx is used for console in u-boot. And this will be passed to the kernel. The correct UARTx IO settings should also be there in the board dts file !
Anuradha
The place u-boot is to change the console for rebooting.
I can't find any file that is related to Mfgtool in that folder.
To best of my knowledge, mfgtool loads the binary file of the u-boot to the boot ROM. The debug console parameter is actually extracted from u-boot binary image. So if it's been correctly specified in u-boot sources, IMX will prompt u-boot as soon as the binary file is loaded.
Regards
Anuradha
Yes, mfgtool will burn the u-boot to the boot ROM and rootfs to emmc block.
But what I mean is that when I burning the u-boot and rootfs there should put the debug message out from console.
It is no problem to print kernel message and u-boot settings after burning image and rebooting the system.
So if i had modified the u-boot file then mfgtool will print the debug message out when burning image.
Is this what you mean?
Yes !!
I can show the kernel and uboot log out when rebooting.
But what I facing the problem is when I using Mfgtool to burn my image I need to see the log but I can't.
I used to use console1 and it can print the log out when I using Mfgtool.
But nowadays our layout had changed the debug port to console0 so I need to change the console.
It is no problem to print the kernel and uboot out when rebooting.
The problem is I can't see any log when I using Mfgtool.
I'm using meta-fsl-arm.
Is this what you mean BSP?
Is this board you designed yourself or the reference board from NXP?
Yes, we do customize board.