01-27-2021 06:22 AM
Hi,
I am using Zynq XC7Z020 board. I am facing some issues while flashing the boot files to EMMC.
STEP 1:
I have 5 files which I am trying to flash to emmc.
I am using uboot v2013.10
I have
BOOT.bin - 381kb,
uImage - 4.2Mb,
devicetree.dtb - 22kb,
fpga.bin - 4Mb,
uEnv.txt - 500bytes.
I tried the method given in the manual by putting those files in a memory card and flashing it by running updatesys.sh file. But I got an error that the fpga.bin cannot fit into mtd2. Because the size of the mtd are
/dev/mtd0 - 5Mb,
/dev/mtd1 - 4.5Mb,
/dev/mtd2 - 64kb,
/dev/mtd3 - 6Mb,
/dev/mtd4 - 448kb.
STEP 2:
So I tried using another uboot source - v2018.10 and tried manually flashing it using flashcp command.
So I came to know that the flow is different and I was able to boot till kernel.
I flashed
BOOT.bin - /dev/mtd0
uImage - /dev/mtd1
devicetree.dtb - /dev/mtd2
fpga.bin - /dev/mtd3
uEnv.txt - /dev/mtd4
Now the boot stops in the middle. I have attached the boot log of this process.
I am very confused on how to proceed with this.
I want to know the files which is actually required to flash into emmc/qspi.
I also want to know the size of the files which are to be flashed because I am facing size issue in STEP 1.
I will also attach the boot log, uEnv and devicetree.dts files as text files.
Please Help me, Its very urgent.
Regards,
Vibhu S.