From mboxrd@z Thu Jan 1 00:00:00 1970 From: matti kaasinen Date: Wed, 4 Jan 2017 12:23:03 +0200 Subject: [U-Boot] am335x board i2c_probe fails from nand boot In-Reply-To: <5f15e470-d12f-e3ea-d393-5cb6e0c700cd@ti.com> References: <672491fd-cf35-dedf-bc8a-975f16d43dca@ti.com> <5f15e470-d12f-e3ea-d393-5cb6e0c700cd@ti.com> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 2017-01-04 6:46 GMT+02:00 Lokesh Vutla : > > "Card did not respond to voltage select!" is coming from: > > drivers/mmc/mmc.c > > Can you check if mmc mux is being done properly? This is one subject I had to fight lately. I just can't figure out how I can feed my own dtb for u-boot usage. Compilation report complains that CONFIG_DEFAULT_DEVICE_TREE is not set. If I set it in am335x_evm.h, i'll get more complaints telling that it has already been set. If I #undef it and then define it as "mydtb", it does not get produced and you will get that first complaint. If I replace "am335x-evm.dtb" with "mydtb.dtb" mmc boot still does not work because card present pin is not correctly mapped because it is coming from gpio told in "mydtb.dtb". Therefore, I had to modify drivers/mmc/omap_hsmmc.c by removing getdc and getwp methods from omap_hsmmc_ops. After that mmc boot started to work. This can now be dtb related problem in some other place. So, what is the correct method feeding modified dtb? Thanks, Matti