Switch No. | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
SW8 | OFF | OFF | OFF | OFF | ON | OFF | ON | OFF | OFF | OFF |
SW9 | OFF | ON | ON | OFF | OFF | OFF | OFF | OFF | OFF | OFF |
SW3 | OFF | ON | ON | ON | OFF | OFF | ON | OFF | ON | OFF |
Other Parts Discussed in Thread: DRA821U
Hello,
I am trying to boot out of the OSPI on the J7200 SDK 8.02, but first I am trying to flash through u-boot on the SD.
I am trying to use the J7200 with the DRA821U mounted on it. I am booting with the SD card, then using u-boot to sf probe and sf update with TFTP as shown below.
After having no apparent issues flashing, I am not able to boot. I have set the boot switches to:
The sf commands seem to run correctly, but when switching boot modes to OSPI, nothing shows up on the UART.
I have a theory, but have not been able to confirm as the ospi_phy_pattern is in the dev kit already and sf erase is erroring.
With our custom hardwarel, the phy pattern is not in the OSPI yet. I added a printout in sf probe that shows what is in memory at where the probe is looking (0x3fc0000). After some investigating, I found that the ospi_phy_pattern was written 1 byte later than it is supposed to be and with that we lose the last byte at the end. When reading back in while trying to configure, starting at 0x3fc0000 the order goes 0x00 0xFE 0xFF.... in stead of going right into 0xFE 0xFF..... With the same printout on the dev kit, the read back shows 0xFE 0xFF.... I did try to update it again and got the same results. Also, when running sf probe, shows a failed to find configuration file error directly related to this.
I think this is why the OSPI boot is not working as I believe it is looking at offset 0x0 in the OSPI for the first file, and it is being written one byte later.
Is there something I need to do differently or something that I am missing when flashing? Also, is sf update supposed to start one byte later than the address given to it?