[PATCH] board: rockchip: unblock CAN bus in spl_board_init on Jaguar
Quentin Schulz
quentin.schulz at cherry.de
Tue Jun 17 11:20:49 CEST 2025
Hi Jakob,
On 6/17/25 10:42 AM, Jakob Unterwurzacher wrote:
> GPIO0_B7 is routed to TXI of the on-board CAN transceiver. The
> line has a pull-down per SoC default.
>
> This means the CAN transceiver transmits a dominant zero
> and blocks the CAN bus until Linux boots and reconfigures the pin.
>
> Let's switch to pull-up as soon as we can (i.e. in SPL).
> This cuts down the "bus is blocked" time from 10 seconds to < 1 second.
>
> Of course, to this needs CONFIG_SPL_BOARD_INIT, so enable it
-this
(No need to send a v2 just for that)
> the Jaguar defconfig.
>
> Signed-off-by: Jakob Unterwurzacher <jakob.unterwurzacher at cherry.de>
Reviewed-by: Quentin Schulz <quentin.schulz at cherry.de>
If we ever have an open DRAM init in U-Boot, we should move this to TPL
so it's as early as possible in the boot process.
Thanks!
Quentin
More information about the U-Boot
mailing list