AnsweredAssumed Answered

imx6ull Mfg image issue

Question asked by Biju Nair on Oct 4, 2018
Latest reply on Oct 13, 2018 by Biju Nair

Hi,

We have build a platform using iMX6ULL where we are using UART5 as the debug console port. We are now in the process of creating a partition in the eMMC device. As part of this, we wanted to use Mfgtool to partition the eMMC device. So we first changed the u-boot sources which comes as part of Freescale Manufacturing tool to map the debug port from UART1 to UART5. Now when we try to use the Mfgtool , we see u-boot logs getting printed into our console. We also see the message "Starting kernel..." . But after this, nothing is coming to the debug console.

 

I thought that this may be because we are using a .dtb file which came with the Mfgtool and i decoded the dtb file and found the following.

 

chosen {
stdout-path = "/soc/aips-bus@02000000/spba-bus@02000000/serial@02020000";
};

serial@02020000 {
compatible = "fsl,imx6ul-uart", "fsl,imx6q-uart", "fsl,imx21-uart";
reg = <0x2020000 0x4000>;
interrupts = <0x0 0x1a 0x4>;
clocks = <0x1 0xbd 0x1 0xbe>;
clock-names = "ipg", "per";
status = "okay";
pinctrl-names = "default";
pinctrl-0 = <0xa>;
};

 

Then i changed the contents from the above to the following and tried to use Mfgtool again. But again i dont see anything coming to the console. So can someone help me in having the right settings for UART5 here ? Also any documentation on how to decode the following property will be really useful.

 

serial@02020000 {
compatible = "fsl,imx6ul-uart", "fsl,imx6q-uart", "fsl,imx21-uart";
reg = <0x21f4000 0x4000>;
interrupts = <0x0 0x1a 0x4>;
clocks = <0x1 0xbd 0x1 0xbe>;
clock-names = "ipg", "per";
status = "okay";
pinctrl-names = "default";
pinctrl-0 = <0xa>;
};

 

Appreciate a response.

 

Regards, Biju

Outcomes