[U-Boot] 16 bit I2c read write on omap4 ?

2014-02-26 Thread Vikram Singh Shekhawat
Hi all,

I have a doubt how to do 16 bit read write on i2c bus at u-boot.

I am working on i2c sensor(of address accessing is 16 bit read/write). I
want to configure this sensor at u-boot but i dont know how to do 16 bit
i2c md/mw or i2c read/write. I seen the i2c md/mw commands they do not
support 16 bit i2c read write, how can i enable 16 bit i2c access at u-boot.

One more doubt :
If i make a my own i2c command for 16 bit read or write, Is i2c driver
inside u-boot supports 16 bit data read or write?If not how can i make it
to do 16 bit read or write?

Thanks  Regards
Vikram
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


Re: [U-Boot] OMAP4: NAND support (confusion)

2013-12-09 Thread Vikram Singh Shekhawat
Hi all,

Please help me to solve NAND issue in OMAP4.Waiting for your valuable reply.

Regards
Vikram singh


On Thu, Dec 5, 2013 at 3:27 PM, Vikram Singh Shekhawat 
vikram.si...@vvdntech.com wrote:

 hi all,

 I am looking into nand for omap4, i have added patches for nand support in
 omap4 but have some doubts.

 1) In thease patches we are not using CONFIG's register for chip select,
 we define that in arch/arm/include/asm/arch-omap4/mem.h(as copied from
 omap3's mem.h) but thease are not uses in
 arch/arm/cpu/armv7/omap-common/mem.c or any other place in u-boot for omap4.

 Is it possible without adding thease CONFIG's register, NAND will works
 properly.

 2) I am not understanding what is the meaning of GPMC_SIZE_256M ,
 GPMC_SIZE_128M , GPMC_SIZE_64M , GPMC_SIZE_32M,

GPMC_SIZE_16M.Defined in arch/arm/include/asm/arch-omap4/mem.h. I have
 a MT29F4G08ABBD(NAND with 4 GB space) which gpmc size configuration i need
 for this nand chip.


 Thanks  regards
 Vikram singh shekhawat


___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


[U-Boot] OMAP4: NAND support (confusion)

2013-12-05 Thread Vikram Singh Shekhawat
hi all,

I am looking into nand for omap4, i have added patches for nand support in
omap4 but have some doubts.

1) In thease patches we are not using CONFIG's register for chip select, we
define that in arch/arm/include/asm/arch-omap4/mem.h(as copied from omap3's
mem.h) but thease are not uses in arch/arm/cpu/armv7/omap-common/mem.c or
any other place in u-boot for omap4.

Is it possible without adding thease CONFIG's register, NAND will works
properly.

2) I am not understanding what is the meaning of GPMC_SIZE_256M ,
GPMC_SIZE_128M , GPMC_SIZE_64M , GPMC_SIZE_32M,

   GPMC_SIZE_16M.Defined in arch/arm/include/asm/arch-omap4/mem.h. I have a
MT29F4G08ABBD(NAND with 4 GB space) which gpmc size configuration i need
for this nand chip.


Thanks  regards
Vikram singh shekhawat
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


[U-Boot] Compiling a debug version of u-boot on panda board

2013-12-02 Thread Vikram Singh Shekhawat
Hi all,

I want to compile a u-boot with debug enable.But i am getting some problem
in that.

I am using omap4460 panda board. When i am enabling DEBUG in config
file(include/configs/omap4_panda.h). I am getting error that .rodaata not
fit in region .sram ,  sram overflowed (might be because the size of spl
image is larger then expected).

Is there any way to enable DEBUG to whole u-boot source code.

Waiting for your views on this problem.
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot