Hi,
I am developing a custom board with 66ak2g12 and at the moment I am executing some test with the k2g-evm with linux-rt as OS, the sdk release is v.06_01_00_08. One of my taskes is to Flash QSPI via DFU. Generally the custom board will boot with QSPI but when a software modification is required, the boot will be executed via USB with DFU that shall flash the QSPI for the next boots.
After connecting to USB1 port and DB9 connector (UART0) from the board to PC and set SW3 for USB boot mode (0110), I sent the command "dfu-util.exe -l" and I obtained the following
Found DFU: [0451:bb06] devnum=0, cfg=1, intf=0, alt=0, name="UNDEFINED"
After sending the command "dfu-util.exe -c 1 -i 0 -a 0 -D u-boot.img"; I accessed to u-boot and executed the following steps:
> env default -a
## Resetting to default environment
=> setenv dfu_alt_info ${dfu_alt_info_qspi}
=> sf probe 4:0
SF: Detected s25fl512s_256k with page size 256 Bytes, erase size 256 KiB, total 64 MiB
=> dfu 0 sf "4:0"
SF support not available!
DFU entities configuration failed!
(partition table does not match dfu_alt_info?)
How I can resolve this issue?
Before executing this steps I rebuilt the u-boot doing the following modifications:
I added #include <environment/ti/dfu.h> in /include/configs/k2g_evm.h;
I added DFU_ALT_INFO_QSPI under #define DFUARGS in /include/configs/ti_armv7_keystone2.h
and commented #define DFU_ALT_INFO_MMC because is already defined in dfu.h.
Thanks to this modification I resolved a previuos error in u-boot "Unknown command 'dfu_alt_info_qspi' - try 'help'"
Please I wait for a feedback to understand the problem and resolve it.
Regards
Graziano Rufolo
Hardware/Firmware Engineer
Hitachi Rail