This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

PROCESSOR-SDK-AM64X: How to copy filesystem to EMMC

Part Number: PROCESSOR-SDK-AM64X

Hi

Just to give a background, I am working  on AM64x EVM  remotely due to covid situation.  Now I am able to load U-boot through UART and transfer all the U-boot binaries to EMMC from U-boot console. I am also able to boot Linux by using the RAMDISK filesystem as I don't have an SD card on the board to use as a filesystem.

But now I want our filesystem to be in EMMC. The filesystem provided in SDK is too large for the RAM. 

1)As per my understanding, it is required to format the rootfs partition of EMMC as ext4 file system and then write rootfs to it. I have already created 2 partions for EMMC in U-boot. In one partition I have loaded U-boot binaries and the other partition is for rootfs. How do I format the rootfs partition of EMMC?

2)How do we transfer the filesystem to EMMC? We can't transfer it to RAM and then to EMMC as it is too big for RAM. Can we transfer the file system directly from host PC to EMMC over ethernet?

Thanks

Himansu