2017-01-04 6:46 GMT+02:00 Lokesh Vutla <lokeshvu...@ti.com>: > > "Card did not respond to voltage select!" is coming from: > > drivers/mmc/mmc.c > > Can you check if mmc mux is being done properly? >
I think this message is coming because I have ejected mmc (sd card) in order to boot from nand. However, I went through include/configs/am335x_evm.h that I have patched very moderately - ionly two changes: 1) disable card detect 2) feed own fdt file. I noticed some nand related values that I'm not sure if they are correct. I get following nand partition listed from mmc boot: [ 1.230539] Creating 10 MTD partitions on "8000000.nand": [ 1.236229] 0x000000000000-0x000000020000 : "NAND.SPL" [ 1.243121] 0x000000020000-0x000000040000 : "NAND.SPL.backup1" [ 1.250614] 0x000000040000-0x000000060000 : "NAND.SPL.backup2" [ 1.258121] 0x000000060000-0x000000080000 : "NAND.SPL.backup3" [ 1.265515] 0x000000080000-0x0000000c0000 : "NAND.u-boot-spl-os" [ 1.273167] 0x0000000c0000-0x0000001c0000 : "NAND.u-boot" [ 1.280890] 0x0000001c0000-0x0000001e0000 : "NAND.u-boot-env" [ 1.288255] 0x0000001e0000-0x000000200000 : "NAND.u-boot-env.backup1" [ 1.296430] 0x000000200000-0x000000a00000 : "NAND.kernel" [ 1.309941] 0x000000a00000-0x000010000000 : "NAND.file-system" In am335x_evm.h there are following definitions: #define CONFIG_SYS_NAND_U_BOOT_OFFS 0x000c0000 So, this is pointing to NAND.u-boot-spl-os, i.e os parameters in nand, not u-boot #define CONFIG_CMD_SPL_NAND_OFS 0x00080000 /* os parameters */ This is pointing to NAND.SPL.backup3 #define CONFIG_SYS_NAND_SPL_KERNEL_OFFS 0x00200000 /* kernel offset */ This is pointing to NAND.u-boot-env.backup1, not kernel #define CONFIG_CMD_SPL_WRITE_SIZE 0x2000 0x2000 does not match with 0x80000 that is reserved for NAND.u-boot-spl-os partition. As you told, u-boot starts, so most likely these don't matter this time. Thanks, Matti _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot