Other Parts Discussed in Thread: DRA829,
Tool/software:
Hello experts,
I am evaluating an SK-AM62P-LP evm board for our next gen device. We want to boot from OSPI as on the DRA829 SoC.
When I try to write and read from the OSPI I get failed results:
=> sf probe SF: Detected s28hs512t with page size 256 Bytes, erase size 4 KiB, total 64 MiB => mtd list List of MTD devices: * nor0 - device: flash@0 - parent: spi@fc40000 - driver: jedec_spi_nor - path: /bus@f0000/bus@fc00000/spi@fc40000/flash@0 - type: NOR flash - block size: 0x1000 bytes - min I/O: 0x1 bytes - 0x000000000000-0x000004000000 : "nor0" - 0x000000000000-0x000000080000 : "ospi.tiboot3" - 0x000000080000-0x000000280000 : "ospi.tispl" - 0x000000280000-0x000000680000 : "ospi.u-boot" - 0x000000680000-0x0000006c0000 : "ospi.env" - 0x0000006c0000-0x000000700000 : "ospi.env.backup" - 0x000000800000-0x000003fc0000 : "ospi.rootfs" - 0x000003fc0000-0x000004000000 : "ospi.phypattern" => setenv dfu_alt_info ${dfu_alt_info_ospi_asb3} => pri dfu_alt_info dfu_alt_info=tiboot3 raw 0x0 0x80000; tispl raw 0x80000 0x200000; u-boot raw 0x280000 0x400000; env raw 0x680000 0x40000; env.backup raw 0x6c0000 0x40000; manufacture raw 0x700000 0x40000; knut-settings raw 0x740000 0x40000; pmem raw 0x780000 0x40000; misc raw 0x7c0000 0x40000; secret raw 0x800000 0x40000; dfubootflag raw 0x3f80000 0x40000; phypattern raw 0x3fc0000 0x40000 => dfu 0 sf 0:0 (sending files from host computer) ###############################################################################DOWNLOAD ... OK Ctrl+C to exit ... ##################################################################################################################################################################################################################################################################################################################DOWNLOAD ... OK Ctrl+C to exit ... ##################################################################################################################################################################################################################################################################################################################################################DOWNLOAD ... OK Ctrl+C to exit ... => sf read 0x82000000 0 100 device 0 offset 0x0, size 0x100 SF: 256 bytes @ 0x0 Read: OK => md.b 82000000 100 82000000: 00 00 00 00 00 f0 ff ff ff ff ff ff ff ff ff ff ................ 82000010: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................ 82000020: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................ 82000030: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................ 82000040: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................ 82000050: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................ 82000060: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................ 82000070: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................ 82000080: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................ 82000090: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................ 820000a0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................ 820000b0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................ 820000c0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................ 820000d0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................ 820000e0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................ 820000f0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
SDK version 10. (U-Boot 2024.04). I notice a difference from running the pre-built binaries from the SD-card:
=> sf probe SF: Detected s28hs512t with page size 256 Bytes, erase size 256 KiB, total 64 MiB
The erase size is 256 KiB. On my (non working) build it is 4 KiB. This is U-Boot 2025.01
Best regards,
/Bo