[PATCH 0/3] AM62x SK EVM DT Sync + OSPI Support

Dhruva Gole d-gole at ti.com
Thu Oct 27 17:15:17 CEST 2022


On 27/10/22 20:23, Dhruva Gole wrote:
> * Sync the AM62x DTS files with the linux kernel.
> * Also add configs necessary to enable ospi in uboot
> * Add support for booting from OSPI Flash.
>
> All changes have been tested on the AM62x SK EVM and the board
> successfully reached u-boot prompt using OSPI Flash:
>
> ```
> U-Boot SPL 2022.10-00677-g160b1b2cd007-dirty (Oct 27 2022 - 14:24:55
> +0530)
> SYSFW ABI: 3.1 (firmware rev 0x0008 '8.4.7--v08.04.07 (Jolly Jellyfi')
> Trying to boot from SPI
> Starting ATF on ARM64 core...
>
> NOTICE:  BL31: v2.7(release):v2.7.0-dirty
> NOTICE:  BL31: Built : 00:19:16, Sep 24 2022
>
> U-Boot SPL 2022.10-00677-g160b1b2cd007-dirty (Oct 27 2022 - 14:25:21
> +0530)
> SYSFW ABI: 3.1 (firmware rev 0x0008 '8.4.7--v08.04.07 (Jolly Jellyfi')
> Trying to boot from SPI
>
>
> U-Boot 2022.10-00677-g160b1b2cd007-dirty (Oct 27 2022 - 14:25:21 +0530)
>
> SoC:   AM62X SR1.0 GP
> Model: Texas Instruments AM625 SK
> DRAM:  2 GiB
> Core:  47 devices, 18 uclasses, devicetree: separate
> MMC:   mmc at fa10000: 0, mmc at fa00000: 1, mmc at fa20000: 2
> Loading Environment from nowhere... OK
> In:    serial at 2800000
> Out:   serial at 2800000
> Err:   serial at 2800000
> Net:   No ethernet found.
> Hit any key to stop autoboot:  0
> ```
>
> Also the board was tested to boot till linux kernel after the DT sync
> changes. Hence verifying that the changes are valid.
Additionally, it is also worth noting that this effort of syncing the DT 
with upstream linux kernel seems to have also gotten the am62x-sk evm's 
on-board emmc to work (which is mmc dev 0).

I have tested the same after booting to uboot prompt from the SD Card 
and then selecting mmc dev 0.

I tested erase, write and read operations and then compared the data 
written to and from the mmc dev 0 and the data remained intact.

>
> Dhruva Gole (3):
>    arm: dts: k3-am62x: sync dt with linux kernel
>    arm: dts: Add OSPI support for AM62-SK
>    configs: enable OSPI related configs in AM62x
>
>   arch/arm/dts/k3-am62-main.dtsi       |  54 ++++
>   arch/arm/dts/k3-am62-mcu.dtsi        |  28 +++
>   arch/arm/dts/k3-am62.dtsi            |   1 +
>   arch/arm/dts/k3-am625-r5-sk.dts      |   5 +
>   arch/arm/dts/k3-am625-sk-u-boot.dtsi |  24 ++
>   arch/arm/dts/k3-am625-sk.dts         | 354 +++++++++++++++++++++++++++
>   configs/am62x_evm_a53_defconfig      |  19 ++
>   configs/am62x_evm_r5_defconfig       |  22 ++
>   8 files changed, 507 insertions(+)
>
-- 
Best regards,
Dhruva Gole
Texas Instruments Incorporated



More information about the U-Boot mailing list