[U-Boot-Users] [PATCH] DataFlash AT45DB021 support

2008-05-20 Thread Sergey Lapin
Some boards based on AT91SAM926X-EK use smaller DF chips to keep bootstrap, u-boot and its environment, using NAND or other external storage for kernel and rootfs. This patch adds support for small 1024x263 chip. Signed-off-by: Sergey Lapin <[EMAIL PROTECTED]> --- drivers/mtd/dataflash.c

Re: [U-Boot-Users] [PATCH] DataFlash AT45DB021 support

2008-05-21 Thread Sergey Lapin
Hi, all! On Tue, May 20, 2008 at 10:51 PM, Sergey Lapin <[EMAIL PROTECTED]> wrote: > Some boards based on AT91SAM926X-EK use smaller DF chips to keep > bootstrap, u-boot and its environment, using NAND or other external > storage for kernel and rootfs. This patch adds support for &

[U-Boot-Users] [PATCH][Re-Submit] DataFlash AT45DB021 support

2008-05-22 Thread Sergey Lapin
Some boards based on AT91SAM926X-EK use smaller DF chips to keep bootstrap, u-boot and its environment, using NAND or other external storage for kernel and rootfs. This patch adds support for small 1024x263 chip. Signed-off-by: Sergey Lapin <[EMAIL PROTECTED]> --- drivers/mtd/dataflash.c

[U-Boot-Users] [AT91] Problems configuring bit-banged I2C

2008-05-23 Thread Sergey Lapin
Hi, all! I use the following patch on my AT91SAM9260-based custom board to configure bit-banged I2C: diff --git a/board/atmel/at91sam9260ek/at91sam9260ek.c b/board/atmel/at91sam9260ek/at91sam9260ek.c index b30aad8..99fc2bd 100644 --- a/board/atmel/at91sam9260ek/at91sam9260ek.c +++ b/board/atmel/

Re: [U-Boot-Users] [AT91] Re: [PATCH] DataFlash AT45DB021 support

2008-05-28 Thread Sergey Lapin
On Mon, May 26, 2008 at 02:03:42PM -0400, Matt Gessner wrote: Hi, all! > I added code to handle the 011 chip, but I really didn't think anyone > would be interested in it. > If someone wants it, I can post it. > > Wolfgang, are these simple patches of any interest to the general > community, when

Re: [U-Boot-Users] [AT91] Problems configuring bit-banged I2C

2008-05-29 Thread Sergey Lapin
On Sat, May 24, 2008 at 05:24:00PM +0200, Haavard Skinnemoen wrote: > Sergey Lapin <[EMAIL PROTECTED]> wrote: > > But I'm unable to read proper values from lines - they always > > return 0s. Any ideas on fixing? > > Linux i2c-gpio driver works perfectly. >

Re: [U-Boot-Users] [AT91] Problems configuring bit-banged I2C

2008-05-30 Thread Sergey Lapin
> Why don't you use the gpio function? Well, I tried to use them but that lead to same result. > > + > void at91sam9260_i2c_init(void) > { > at91_set_GPIO_periph(AT91_PIN_PA23, 0); > at91_set_multi_drive(AT91_PIN_PA23, 1); > > at91_set_A_periph(AT91_PIN_PA24, 0); Why? > a

[U-Boot-Users] [PATCH][AT91][Re-submit] DataFlash AT45DB021 support

2008-06-05 Thread Sergey Lapin
Some boards based on AT91SAM926X-EK use smaller DF chips to keep bootstrap, u-boot and its environment, using NAND or other external storage for kernel and rootfs. This patch adds support for small 1024x263 chip. Signed-off-by: Sergey Lapin <[EMAIL PROTECTED]> --- drivers/mtd/dataflash.c

[U-Boot-Users] [AT91] hardware ECC support for NAND

2008-06-16 Thread Sergey Lapin
Hi, all! Is there a way in u-boot to support at91sam926x ECC controller or write JFFS2 images compatible with Linux driver for ECC controller? Currently I'm only able to use software ECC with images written in u-boot. Thanks a lot, S.

Re: [U-Boot-Users] [PATCH][AT91][Re-submit] DataFlash AT45DB021 support

2008-06-17 Thread Sergey Lapin
Hi, all! > > On 11:06 Thu 05 Jun , Sergey Lapin wrote: > > > Some boards based on AT91SAM926X-EK use smaller DF chips to keep > > > bootstrap, u-boot and its environment, using NAND or other external > > > storage for kernel and rootfs. This patch adds supp