I am trying to boot rootfs/ubuntu from a sdcard.
I built a custom Zynq Project in Vivado and created rootfs,kernel, u-boot using petalinux.
The bootargs are modified to mount root at /dev/mmcblk0p2
The SDCard is divided into two partitions.
1 GB Fat Partition(boot) and 14 GB ext4 partition(rootfs)
The BOOT.bin and image.ub end up in the boot partition. When the device is booted, I can get to the initramfs login but the kernel cannot find the SD Card.
u-boot complains of not being able to detect the SD Card but then it reads from the Fat partition.
sdhci@ff160000: 0 (SD)Card did not respond to voltage select!
What could be going wrong ?.