Hi Platon,
I have done the following modifications in ppa.c:
if defined(CONFIG_SYS_LS_PPA_FW_IN_NAND)
nand_info_t nand_info[CONFIG_SYS_MAX_NAND_DEVICE];
size_t fw_length = CONFIG_SYS_QE_FMAN_FW_LENGTH;
void *fit_hdr = malloc(CONFIG_SYS_QE_FMAN_FW_LENGTH);
rc = nand_read(&nand_info[0], (loff_t)CONFIG_SYS_LS_PPA_FW_ADDR,
&fw_length, (u_char *)fit_hdr);
if (rc == -EUCLEAN) {
printf("NAND read of PPA at offset 0x%x failed %d\n",
CONFIG_SYS_LS_PPA_FW_ADDR, rc);
}
But it seems like it does not work.Is there any other way to do it?
Pls help