How to change the mfgtool output from console1 to console0

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

How to change the mfgtool output from console1 to console0

1,047 Views
wangvictor
Contributor III

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!

Labels (5)
0 Kudos
11 Replies

847 Views
Rita_Wang
NXP TechSupport
NXP TechSupport

Hi,

Which version of BSP are you using?

Have a nice day

Rita

0 Kudos

847 Views
wangvictor
Contributor III

This is the version of my Yocto Project.

L4.1.15_1.0.0

0 Kudos

847 Views
tengri
Contributor IV

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

0 Kudos

847 Views
wangvictor
Contributor III

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.

0 Kudos

847 Views
tengri
Contributor IV

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  

0 Kudos

847 Views
wangvictor
Contributor III

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?

0 Kudos

847 Views
tengri
Contributor IV

Yes !!

0 Kudos

847 Views
wangvictor
Contributor III

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.

0 Kudos

847 Views
wangvictor
Contributor III

I'm using meta-fsl-arm.

Is this what you mean BSP?

0 Kudos

847 Views
Rita_Wang
NXP TechSupport
NXP TechSupport

Is this board you designed yourself or the reference board from NXP?

0 Kudos

847 Views
wangvictor
Contributor III

Yes, we do customize board.

0 Kudos