Answer the question
In order to leave comments, you need to log in
How to switch the legs of the UART in u-boot, into which the boot log is displayed?
Good afternoon, we are
developing a custom board based on a TI SITARA processor, namely AM5728.
Their evaluation was bought to play around. They played enough with it, and when developing a custom board, the circuit engineer was told: "In order not to rewrite the UART firewood, connect it exactly the same as on the evaluation."
On evaluation, UART and Linux log output is implemented via UART3. But the legs of the C28 and D27 processor are used there.
Our frame hung UART3 on the legs of AB3 and Y1.
Haven't worked with fresh linux based on dts yet. Therefore, they shook it up thoroughly.
We dug up U-BOOT to such an interesting moment:
in the file arch/arm/dts/am57xx-beagle-x15.dts we found a choice of UART3 legs:
uart3_pins_default: uart3_pins_default {
pinctrl-single,pins = <
0x3f8 (PIN_INPUT_SLEW | MUX_MODE2) /* uart2_ctsn.uart3_rxd */
0x3fc (PIN_INPUT_SLEW | MUX_MODE1) /* uart2_rtsn.uart3_rxd */
>;
};
uart3_pins_default: uart3_pins_default {
pinctrl-single,pins = <
0x24c (PIN_OUTPUT_PULLUP | MUX_MODE0) /* uart3_txd.uart3_txd */
0x34c (PIN_INPUT_PULLUP | MUX_MODE4) /* mcasp_axr0.uart3_rxd */
0x3f8 (PIN_INPUT_SLEW | MUX_MODE15) /* uart2_ctsn.uart3_rxd */
0x3fc (PIN_INPUT_SLEW | MUX_MODE15) /* uart2_rtsn.uart3_txd */
>;
};
Answer the question
In order to leave comments, you need to log in
It turned out that we switched legs correctly.
But in the configuration of this evaluation, there is a check for compliance with the fit of the image
CONFIG_SPL_LOAD_FIT = y,
respectively, the check was disabled and u-boot booted.
Well, the same thing started with Linux))
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question