Other Parts Discussed in Thread: DRA742
Hello,
I am trying to change the default debug console on the AM5728 from UART3 to UART8. I have followed some of the forums that are already on here, but am still having issues with getting the uboot and Linux kernel to boot up the board. I have detailed below the links that I have been following and the code changes that I have made. Please let me know If I am missing something. Thank you!
Links I have been referencing:
https://e2e.ti.com/support/processors/f/791/t/560432
https://e2e.ti.com/support/processors/f/791/t/485474?AM5728-debug-console
https://e2e.ti.com/support/processors/f/791/t/556788
https://e2e.ti.com/support/processors/f/791/t/666062?Linux-AM3351-Changing-debug-UART
Downloaded sdk:
~/ti-processor-sdk-linux-am57xx-evm-06.02.00.81
Code Changes I made:
Changes in /ti-processor-sdk-linux-am57xx-evm-06.02.00.81/board-support/u-boot-2019.01+gitAUTOINC+a141f7abfd-ga141f7abfd/arch/arm/dts/am57xx-beagle-x15-common.dtsi
Line 25: Changed uart3 to uart8
chosen {
stdout-path = &uart8;
};
Line 395: Changed uart3 to uart8
&uart8 {
status = "okay";
interrupts-extended = <&crossbar_mpu GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH>,
<&dra7_pmx_core 0x3f8>;
};
Changes in /ti-processor-sdk-linux-am57xx-evm-06.02.00.81/board-support/u-boot-2019.01+gitAUTOINC+a141f7abfd-ga141f7abfd/arch/arm/dts/am57xx-sbc-am57x.dts
Line 25: Commented out UART3 pins and added uart8 pins found in technical reference manual
&dra7_pmx_core {
uart8_pins_default: uart8_pins_default {
pinctrl-single,pins = <
/*DRA7XX_CORE_IOPAD(0x3648, PIN_INPUT_SLEW | MUX_MODE0)*/ /* uart3_rxd */
/*DRA7XX_CORE_IOPAD(0x364c, PIN_INPUT_SLEW | MUX_MODE0)*/ /* uart3_txd */
DRA7XX_CORE_IOPAD(0x37d0, PIN_INPUT_SLEW | MUX_MODE2) /* uart8_rxd */
DRA7XX_CORE_IOPAD(0x37d4, PIN_INPUT_SLEW | MUX_MODE2) /* uart8_txd */
>;
};
Line 82: Changed uart3 to uart8
&uart8 {
status = "okay";
interrupts-extended = <&crossbar_mpu GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH>,
<&dra7_pmx_core 0x3f8>;
pinctrl-names = "default";
pinctrl-0 = <&uart8_pins_default>;
};
Changes in /ti-processor-sdk-linux-am57xx-evm-06.02.00.81/board-support/u-boot-2019.01+gitAUTOINC+a141f7abfd-ga141f7abfd/arch/arm/dts/am57xx-idk-common.dts
Line 17: Changed the chosen path from uart3 to uart8
chosen {
stdout-path = &uart8;
};
Line 421: Commented out DCAN1 which uses the same pins as uart8
/*&dcan1 {
status = "okay";
pinctrl-names = "default", "sleep", "active";
pinctrl-0 = <&dcan1_pins_sleep>;
pinctrl-1 = <&dcan1_pins_sleep>;
pinctrl-2 = <&dcan1_pins_default>;
};*/
Note: The following is only for uboot, I am trying to atleast get the uboot running first, right now I am seeing nothing on the console, it is a custom board, and we have verified that the serial terminal works with other boards.
Please let me know if there are other questions or clarifications