Hello,
I am starting another thread, since the u-boot issue was resolved. I am trying to change the debug console from uart3 to uart8. I was successfully able to do that or u-boot, and the u-boot boots up until it says
"starting kernel" at which point it freezes. I understand that we have to change the console for uart3 to uart8 in the linux kernel as well. I have outlined below the changes that I have made. I am still not seeing the linux kernel boot up. I am using the ti-processor-sdk-linux-am57xx-evm-06.02.00.81 sdk.
File: <ti-processor>/board-support/linux-4.19.79+gitAUTOINC+77dfab56c6-g77dfab56c6/arch/arm/boot/dts/am57xx-beagle-x15-common.dtsi
chosen {
- stdout-path = &uart3;
+ stdout-path = &uart8;
};
+&uart8 {
+ status = "okay";
+};
I changed the uart3 path to uart8, and added the uart8 node, the same way I did in u-boot.
File: <ti-processor>/board-support/linux-4.19.79+gitAUTOINC+77dfab56c6-g77dfab56c6/arch/arm/boot/dts/am57xx-idk-common.dtsi
diff --git a/arch/arm/boot/dts/am57xx-idk-common.dtsi b/arch/arm/boot/dts/am57xx-idk-common.dtsi
index d58c08419d..863ad52af7 100644
--- a/arch/arm/boot/dts/am57xx-idk-common.dtsi
+++ b/arch/arm/boot/dts/am57xx-idk-common.dtsi
@@ -18,7 +18,7 @@
};
chosen {
- stdout-path = &uart1;
+ stdout-path = &uart8;
};
vmain: fixedregulator-vmain {
@@ -196,21 +196,6 @@
};
};
-&dra7_pmx_core {
- dcan1_pins_default: dcan1_pins_default {
- pinctrl-single,pins = <
- DRA7XX_CORE_IOPAD(0x37d0, PIN_OUTPUT_PULLUP | MUX_MODE0) /* dcan1_tx */
- DRA7XX_CORE_IOPAD(0x37d4, PIN_INPUT_PULLUP | MUX_MODE0) /* dcan1_rx */
- >;
- };
-
- dcan1_pins_sleep: dcan1_pins_sleep {
- pinctrl-single,pins = <
- DRA7XX_CORE_IOPAD(0x37d0, MUX_MODE15 | PULL_UP) /* dcan1_tx.off */
- DRA7XX_CORE_IOPAD(0x37d4, MUX_MODE15 | PULL_UP) /* dcan1_rx.off */
- >;
- };
-};
&i2c1 {
status = "okay";
@@ -491,16 +476,14 @@
};
};
-&uart1 {
+&uart8 {
status = "okay";
- interrupts-extended = <&crossbar_mpu GIC_SPI 67 IRQ_TYPE_LEVEL_HIGH
- &dra7_pmx_core 0x3e0>;
};
&rtc {
@@ -565,14 +548,6 @@
no-1-8-v;
};
-&dcan1 {
- status = "okay";
- pinctrl-names = "default", "sleep", "active";
- pinctrl-0 = <&dcan1_pins_sleep>;
- pinctrl-1 = <&dcan1_pins_sleep>;
- pinctrl-2 = <&dcan1_pins_default>;
-};
I changed the path from uart3 to uart8, added the uart8 nodes, and removed any dcan1 nodes that are the same pins used for uart8.
Are there clock definitions that I am missing? please let me know.
Thank you,
Tia Basak