Hi, Aik Eu.
Thanks for your comments.
Okay, I understand that you mentioned.
core.rbf: related to FPGA design
periph.rbf: related to DDR to work first in order to boot up properly.
I previously mentioned that there is an error in u-boot.
The logic of uploading rbf files was skipped because of mismatch configuration name. But error log is not printed.
(u-boot-socfpga/drivers/fpga/socfpga_arria10.c)
static int first_loading_rbf_to_buffer(struct udevice *dev,
struct fpga_loadfs_info *fpga_loadfs,
u32 *buffer, size_t *buffer_bsize,
size_t *buffer_bsize_ori)
{
//...
for (i = 0; i < count; i++) {
images_noffset = fit_conf_get_prop_node_index(buffer_p,
confs_noffset,
FIT_FPGA_PROP, i);
uname = fit_get_name(buffer_p, images_noffset, NULL);
if (uname) {
debug("FPGA: %s\n", uname);
if (strstr(uname, "fpga-periph") && // "fpga-periph-1" in fit_spl_fpga.its
(!is_fpgamgr_early_user_mode() ||
is_fpgamgr_user_mode() ||
is_periph_program_force())) {
fpga_node_name = uname;
printf("FPGA: Start to program ");
printf("peripheral/full bitstream ...\n");
break;
} else if (strstr(uname, "fpga-core") && // "fpga-core-1" in fit_spl_fpga.its
(is_fpgamgr_early_user_mode() &&
!is_fpgamgr_user_mode())) {
fpga_node_name = uname;
printf("FPGA: Start to program core ");
printf("bitstream ...\n");
break;
}
}
schedule();
}
if (!fpga_node_name) {//foga_node_name is null.
debug("FPGA: No suitable bitstream was found, count: %d.\n", i);//because of log level, this log is not printed.
return 1;
}
//...
}
Don't care about that.
I am trying to upload rbf files using u-boot command.
This is related to #option1 that you mentioned.
The documentation explains how to upload rbf files using sd card.
But, I can't use sdmmc dauter card, and I am using QSPI boot mode.
So, Is there any way to load rbf files using usb?
Thank you.
Regards,
Jung.