Q: After flashing a multi-core uboot.ldr which is combined with mcapi_send_recv_Core1_sc589.dxe and u-boot and init file on ADSP-SC5xx EZ-Kit board, the console gives out a message "Warning – bad CRC , using default environment", the board will not boot on next power on or reset.
A: This issue is mostly because elfloader.exe does not support the "punchit" feature as of now, save command will write into Flash and break the dual core u-boot.ldr image on it. For users prefer to use save command to change the environment on fly in dual core application, we recommend a workaround as following:
Change the u-boot source file as following, note in this example the location for saving environment variable on Flash will start from 0x70000, you will need to increase it more if the size of your combined u-boot.ldr is larger than that, but make sure to update your usage of MTD table in Linux kernel accordingly so that your MTD partion does not get overwritten by accident.
diff --git a/include/configs/sc589-ezkit.h b/include/configs/sc589-ezkit.h