RE: [PATCH 0/2] arm: dts: J721E Hyperbus Fixes

Gadiyar, Anand
2023-03-30T17:43:58Z

> From: Achath, Vaishnav <vaishnav.a@ti.com>
>
> J721E SoC has a hyperbus controller and OSPI controller muxed and only
> one of the controllers should be active at a time
>
> While enabling support for hyperflash in J721E, the hyperbus controller
> was enabled by default in SoC DTS and was kept disabled in board DTS.
> For J721E SK, the board level DTS does not disable the hyperbus node
> which causes OSPI and Hyperbus controllers to be active at the same time
> thus causing boot failure on J721E SK, to avoid situations like this keep
> the hyperbus controller disabled by default in SoC DTS. Also the fixups for
> hyperflash enable according to DIP switch settings on EVM is relevant only
> to J721E EVM and J7200 EVM, thus disable those fixups for other platforms.
>
> Since the hyperbus node is not present in kernel DTS, manual update is
> needed to fix the issue( J721E SK Boot failure). J721E SK boot failure
> needs additional fixes on the board DTS which will be sent separately,
> but hyperbus and OSPI controller being active was also one of the issues
> causing boot failure.
>
> Changes were tested on J721E EVM and J721E SK for basic boot and hyperflash
> functionality(EVM).
>
> Vaishnav Achath (2):
> arm: dts: k3-j721e-mcu-wakeup: Disable hyperbus controller node
> board: ti: j721e: Disable hyperflash fixup for J721E SK
>
> arch/arm/dts/k3-j721e-mcu-wakeup.dtsi | 1 +
> board/ti/j721e/evm.c | 6 ++++++
> 2 files changed, 7 insertions(+)
>

For what it's worth, these were independently tested by me on both J721e EVM
and SK boards off the v2023.04-rc5 tag.

An additional patchset is needed for the SK board to boot - it seems to have
been broken since at least March 2022, if not earlier. I'll send that out shortly.

Tested-by: Anand Gadiyar <gadiyar@ti.com>