1. ~/Xilinx-ZC706-2016.3/subsystems/linux/configs/u-boot/config 파일에서
# CONFIG_CMD_MMC is not set
# CONFIG_ZYNQ_SDHCI is not set
2. platform-auto.h에서
/* sdio - ps7_sd_0 */
#if 0
#define CONFIG_ZYNQ_SDHCI0 0xE0100000
#define CONFIG_MMC
#define CONFIG_GENERIC_MMC
#define CONFIG_SDHCI
#define CONFIG_SUPPORT_VFAT
#define CONFIG_DOS_PARTITION
#define CONFIG_FAT_WRITE
#define CONFIG_ZYNQ_SDHCI_MAX_FREQ 52000000
#endif
3. ReBuild
#!/bin/bash
petalinux-build -c u-boot
petalinux-package --boot --fsbl /home/shlee/shlee_zc706/shlee_zc706.sdk/shlee_zc706_fsbl/Debug/shlee_zc706_fsbl.elf --fpga /home/shlee/shlee_zc706/shlee_zc706.runs/impl_1/designz_main_wrapper.bit --uboot --force -o images/linux/BOOT.BIN
cp images/linux/BOOT.BIN /tftpboot
'개발 > Xilinx Zynq' 카테고리의 다른 글
QSPI Kernel Booting (0) | 2016.11.17 |
---|---|
DTSI수정하여 UART0 살리기 (0) | 2016.11.16 |
petalinux 정리 (1) | 2016.11.08 |
SDK에서 JTAG으로 리눅스 부팅 (0) | 2016.11.08 |
petalinux build zc706 & 플래쉬 writing (0) | 2016.11.08 |