Re: [U-Boot] am335x board i2c_probe fails from nand boot

2017-01-04 Thread matti kaasinen
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. Compil

Re: [U-Boot] am335x board i2c_probe fails from nand boot

2017-01-03 Thread matti kaasinen
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? > I think this message is coming because I have ejected mmc (sd card) in order to boot from nand. However, I went thro

Re: [U-Boot] am335x board i2c_probe fails from nand boot

2017-01-03 Thread Lokesh Vutla
On Tuesday 03 January 2017 08:07 PM, matti kaasinen wrote: > "The Expected Linux image was not found. Please check your NAND > configuration" message is coming from: > common/spl/spl_nand.c > In practice this message seems coming from the fact that header of > kernel image can't be identified fro

Re: [U-Boot] am335x board i2c_probe fails from nand boot

2017-01-03 Thread matti kaasinen
"The Expected Linux image was not found. Please check your NAND configuration" message is coming from: common/spl/spl_nand.c In practice this message seems coming from the fact that header of kernel image can't be identified from offset after executing: nand_spl_load_image(CONFIG_SYS_NAND_SPL_KERNE

Re: [U-Boot] am335x board i2c_probe fails from nand boot

2017-01-03 Thread matti kaasinen
2017-01-03 14:33 GMT+02:00 matti kaasinen : > One reason why I2C configuration is wrong in nand mode could be the fact > that I have CONFIG_TI_I2C_BOARD_DETECT variable is undefined (because I do > not have that eeprom). But it looks that do_board_detect runs > enable_i2c0_pin_mux() that I do not

Re: [U-Boot] am335x board i2c_probe fails from nand boot

2017-01-03 Thread matti kaasinen
2017-01-03 13:16 GMT+02:00 Lokesh Vutla : > > Would anyone have idea why spl boot fails in i2c_probe when running from > > nand but not when running from mmc card or anything at all to check? > > Do you have different mux configurations for different boot modes?(Just > wondering if mux is properly

Re: [U-Boot] am335x board i2c_probe fails from nand boot

2017-01-03 Thread Lokesh Vutla
On Tuesday 03 January 2017 02:56 PM, matti kaasinen wrote: > Hi! > > Would anyone have idea why spl boot fails in i2c_probe when running from > nand but not when running from mmc card or anything at all to check? Do you have different mux configurations for different boot modes?(Just wondering

Re: [U-Boot] am335x board i2c_probe fails from nand boot

2017-01-03 Thread matti kaasinen
I could try that, but how does it work properly when I run it from mmc. Does reading spl from mmc touch I2C somehow (interrupt, speed or anything) or does reading spl from nand do that. 2017-01-03 13:05 GMT+02:00 Yegor Yefremov : > On Tue, Jan 3, 2017 at 12:02 PM, matti kaasinen > wrote: > > > >

Re: [U-Boot] am335x board i2c_probe fails from nand boot

2017-01-03 Thread Yegor Yefremov
On Tue, Jan 3, 2017 at 12:02 PM, matti kaasinen wrote: > > 2017-01-03 12:56 GMT+02:00 Yegor Yefremov : >> >> What PMIC are you using? > > It is TPS65217, so probe command is: > i2c_probe(TPS65217_CHIP_PM) I had some problems with tps65910. Anyway try to reduce I2C speed up to 1000. The kernel ca

Re: [U-Boot] am335x board i2c_probe fails from nand boot

2017-01-03 Thread matti kaasinen
2017-01-03 12:56 GMT+02:00 Yegor Yefremov : > What PMIC are you using? > It is TPS65217, so probe command is: i2c_probe(TPS65217_CHIP_PM) ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] am335x board i2c_probe fails from nand boot

2017-01-03 Thread Yegor Yefremov
Hi Matti, On Tue, Jan 3, 2017 at 10:26 AM, matti kaasinen wrote: > Hi! > > Would anyone have idea why spl boot fails in i2c_probe when running from > nand but not when running from mmc card or anything at all to check? > > My card is am335x based board with u-boot coming from u-boot-it v2016.05.

[U-Boot] am335x board i2c_probe fails from nand boot

2017-01-03 Thread matti kaasinen
Hi! Would anyone have idea why spl boot fails in i2c_probe when running from nand but not when running from mmc card or anything at all to check? My card is am335x based board with u-boot coming from u-boot-it v2016.05. Spl boot crashes when it tries to run i2c_probe getting timeout in omap24.._