Information related to RCW file used in FRWY-LS1012A evaluation board.
Hello team,
I'm Dhanyalakshmi,
We have designed a custom board based on the FRWY-LS1012A evaluation board, with minimal changes. The main differences are the removal of the audio jack, Micro-Click connectors, and Ethernet ports, while all other components remain the same. I successfully flashed the U-Boot firmware ( firmware_ls1012afrwy_uboot_qspiboot.img ) onto the custom board’s QSPI NOR flash, and the board is booting correctly with console output as expected.
The next step was to load the OS from a micro-SDHC card. I formatted the card and copied both the OS image ( ls-image-main-ls1012afrwy-20240806042644.rootfs.tar.gz ) and the bootloader firmware ( firmware_ls1012afrwy_uboot_qspiboot.img ) onto it.
*Note:* The same micro-SDHC card successfully loads the OS on the evaluation board.
However, on the custom board, the micro-SDHC card is not detected. I used the mmc info command to verify this. While the card is detected on the evaluation board, it is not recognized on the custom board.
I would like to review the RCW file to understand the functionality of multifunctional pins, particularly those related to the SD card interface. I have tried searching for it, but I need to know how to identify which RCW file is included in the firmware_ls1012afrwy_uboot_qspiboot.img firmware image that provides information about the SD card pin configuration.
Additionally, I would like to understand how RCW files are written and configured. Could you please assist me with these queries?
Thank you.
Hi,
Quoted 7 lines · dhanyalakshmi.k via lists.yoctoproject.org
Hello team,
I'm Dhanyalakshmi,
We have designed a custom board based on the FRWY-LS1012A evaluation board, with minimal changes. The main differences are the removal of the audio jack, Micro-Click connectors, and Ethernet ports, while all other components remain the same. I successfully flashed the U-Boot firmware ( firmware_ls1012afrwy_uboot_qspiboot.img ) onto the custom board’s QSPI NOR flash, and the board is booting correctly with console output as expected.The next step was to load the OS from a micro-SDHC card. I formatted the card and copied both the OS image ( ls-image-main-ls1012afrwy-20240806042644.rootfs.tar.gz ) and the bootloader firmware ( firmware_ls1012afrwy_uboot_qspiboot.img ) onto it.
Very wild guess, but it's possible the qspiboot image isn't supposed to be able to be booted from SD card but only QSPI? I can tell you for sure that the U-Boot SPI image for Rockchip cannot be booted from SD card (at least on RK33xx SoCs) for example as it's a different format expected by the BootROM.
I would highly recommend to get Yocto out of the way and make sure that manually compiled U-Boot images actually do work. Once that's known working, then you can check what's going in with Yocto, if there really is an issue there.
Cheers,
Quentin
Hi Quentin,
Thank You for your reply.
Sorry for the confusion,I have copied the bootpartition image and OS image onto the micro-SDHC card not the U-Boot firmware. Custom board successfully boots from QSPI NOR flash where I have already flashed U-Boot firmware. As my next task is to load the OS onto the board from the micro-SDHC card, I checked that our custom board isn't detecting the micro-SDHC card. So I thought of going through the RCW file of the FRWY-LS1012A eval board.
So my query is how to find the RCW file of FRWY-LS1012A eval board which gives info related to micro-SDHC card pins functionality and about the SD card.
I hope this clears my issue. Looking forward to hearing from you soon
Thank You.
Quoted 33 lines · Quentin Schulz
Hi,
Quoted 3 lines · dhanyalakshmi.k via lists.yoctoproject.org
Hello team,
I'm Dhanyalakshmi,
We have designed a custom board based on the FRWY-LS1012A evaluationboard, with minimal changes. The main differences are the removal of the audio jack, Micro-Click connectors, and Ethernet ports, while all other components remain the same.
Quoted 1 line
I successfully flashed the U-Boot firmware (
firmware_ls1012afrwy_uboot_qspiboot.img ) onto the custom board’s QSPI NOR flash, and the board is booting correctly with console output as expected.
Quoted 2 lines
The next step was to load the OS from a micro-SDHC card. I formatted the
card and copied both the OS image ( ls-image-main-ls1012afrwy-20240806042644.rootfs.tar.gz ) and the bootloader firmware ( firmware_ls1012afrwy_uboot_qspiboot.img ) onto it.
Quoted 1 line
Very wild guess, but it's possible the qspiboot image isn't supposed to be able to be booted from SD card but only QSPI? I can tell you for sure that the U-Boot SPI image for Rockchip cannot be booted from SD card (at least on RK33xx SoCs) for example as it's a different format expected by the BootROM.
I would highly recommend to get Yocto out of the way and make sure that manually compiled U-Boot images actually do work. Once that's known working, then you can check what's going in with Yocto, if there really is an issue there.
Cheers,
Quentin