Re: [U-Boot] [U-Boot-Users] Re: Ethernet loopback command

2012-04-17 Thread Ramu
Stefan Roese sr at denx.de writes: On Monday 16 April 2012 08:00:42 Ramappa Hugar wrote: I'm testing the ethernet loopback test on POWERPC 460EX canyonlands Board. I'm making the ethernet loopback mode by programming the phy control register.(mii w 0 0 5140) Then i'm running the

Re: [U-Boot] [U-Boot-Users] Re: Ethernet loopback command

2012-04-17 Thread Stefan Roese
On Tuesday 17 April 2012 07:47:35 Ramu wrote: I suggest that you take a look at the POST (Power On Self Test) framework. It has support for ethernet loopback test for PPC4xx. E.g. board sequoia. Look for CONFIG_SYS_POST_ETHER and take a look at the following file:

[U-Boot] Switching CPU between SPL and non-SPL build

2012-04-17 Thread Allen Martin
Changing the subject line since this thread isn't really about toolchains any more. The problem I'm having with the SPL build is that a single entry in boards.cfg can have exactly one architecture and CPU model. So But you can define any tye of CONFIG_ settings, both in boards.cfg and in

[U-Boot] [PATCH v2 2/3] usb:gadget:composite: Support for composite at gadget.h

2012-04-17 Thread Lukasz Majewski
Add device data pointer to the USB gadget's device struct. Wrapper for extracting usb_gadget from Linux's usb device Signed-off-by: Lukasz Majewski l.majew...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com Cc: Marek Vasut ma...@denx.de --- Changes for v2: - Two separate

[U-Boot] [PATCH v2 3/3] usb:udc:samsung Add functions for storing private gadget data in UDC driver

2012-04-17 Thread Lukasz Majewski
This commit adds support for storing private data to Samsung's UDC driver. This data is afterward used by usb gadget. Signed-off-by: Lukasz Majewski l.majew...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com Cc: Marek Vasut ma...@denx.de --- drivers/usb/gadget/s3c_udc_otg.c |

[U-Boot] [PATCH v2 0/3] usb:gadget:composite: Support for composite gadget framework

2012-04-17 Thread Lukasz Majewski
This patch set provides support for composite gadget framework. Files from Linux kernel (2.6.36) - namely composite.{c|h} have been ported to u-boot. Code supporting this framework has been added to gadget.h and Samsung's UDC driver as well. --- Changes for v2: - Squash the kernel files

[U-Boot] [PATCH v2 1/3] usb:gadget:composite USB composite gadget support

2012-04-17 Thread Lukasz Majewski
USB Composite gadget implementation for u-boot. It builds on top of USB UDC drivers. This commit is based on following files from Linux Kernel v2.6.36: ./include/linux/usb/composite.h ./drivers/usb/gadget/composite.c SHA1: d187abb9a83e6c6b6e9f2ca17962bdeafb4bc903 Signed-off-by: Lukasz Majewski

Re: [U-Boot] [PATCH v2 3/3] usb:udc:samsung Add functions for storing private gadget data in UDC driver

2012-04-17 Thread Marek Vasut
Dear Lukasz Majewski, This commit adds support for storing private data to Samsung's UDC driver. This data is afterward used by usb gadget. Signed-off-by: Lukasz Majewski l.majew...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com Cc: Marek Vasut ma...@denx.de ---

Re: [U-Boot] [PATCH v2 1/3] usb:gadget:composite USB composite gadget support

2012-04-17 Thread Marek Vasut
Dear Lukasz Majewski, USB Composite gadget implementation for u-boot. It builds on top of USB UDC drivers. This commit is based on following files from Linux Kernel v2.6.36: ./include/linux/usb/composite.h ./drivers/usb/gadget/composite.c SHA1: d187abb9a83e6c6b6e9f2ca17962bdeafb4bc903

[U-Boot] MXS NAND: DMA read error

2012-04-17 Thread Lauri Hintsala
Hello, I'm trying to compile latest U-Boot to mx28evk (rev D) with NAND support. U-Boot boots up but NAND chip is not detected and DMA read error is popped up. Here is console output: U-Boot 2012.04-rc2-dirty (Apr 17 2012 - 10:58:50) Freescale i.MX28 family at 454 MHz DRAM: 128 MiB NAND:

Re: [U-Boot] MXS NAND: DMA read error

2012-04-17 Thread Marek Vasut
Dear Lauri Hintsala, Hello, I'm trying to compile latest U-Boot to mx28evk (rev D) with NAND support. U-Boot boots up but NAND chip is not detected and DMA read error is popped up. MX28 EVK has no NAND, right? Otherwise, check if you have APBH DMA enabled in your include/configs/mx28evk.h

Re: [U-Boot] MXS NAND: DMA read error

2012-04-17 Thread Lauri Hintsala
Hi Marek, On 04/17/2012 11:17 AM, Marek Vasut wrote: I'm trying to compile latest U-Boot to mx28evk (rev D) with NAND support. U-Boot boots up but NAND chip is not detected and DMA read error is popped up. MX28 EVK has no NAND, right? MX28 EVK has NAND slot and I have installed NAND chip on

Re: [U-Boot] MXS NAND: DMA read error

2012-04-17 Thread Marek Vasut
Dear Lauri Hintsala, Hi Marek, On 04/17/2012 11:17 AM, Marek Vasut wrote: I'm trying to compile latest U-Boot to mx28evk (rev D) with NAND support. U-Boot boots up but NAND chip is not detected and DMA read error is popped up. MX28 EVK has no NAND, right? MX28 EVK has NAND slot

Re: [U-Boot] MXS NAND: DMA read error

2012-04-17 Thread Lauri Hintsala
On 04/17/2012 11:29 AM, Marek Vasut wrote: On 04/17/2012 11:17 AM, Marek Vasut wrote: I'm trying to compile latest U-Boot to mx28evk (rev D) with NAND support. U-Boot boots up but NAND chip is not detected and DMA read error is popped up. MX28 EVK has no NAND, right? MX28 EVK has NAND slot

Re: [U-Boot] MXS NAND: DMA read error

2012-04-17 Thread Marek Vasut
Dear Lauri Hintsala, On 04/17/2012 11:29 AM, Marek Vasut wrote: On 04/17/2012 11:17 AM, Marek Vasut wrote: I'm trying to compile latest U-Boot to mx28evk (rev D) with NAND support. U-Boot boots up but NAND chip is not detected and DMA read error is popped up. MX28 EVK has no NAND,

Re: [U-Boot] [PATCH v7] kirkwood: add NAS62x0 board support

2012-04-17 Thread Prafulla Wadaskar
-Original Message- From: u-boot-boun...@lists.denx.de [mailto:u-boot- boun...@lists.denx.de] On Behalf Of Simon Baatz Sent: 17 April 2012 04:34 To: u-boot@lists.denx.de; drea...@doukki.net; Luka Perkov Subject: Re: [U-Boot] [PATCH v7] kirkwood: add NAS62x0 board support Hi,

Re: [U-Boot] MXS NAND: DMA read error

2012-04-17 Thread Lauri Hintsala
Hi Marek, On 04/17/2012 12:05 PM, Marek Vasut wrote: Lauri, as much as I'd love to help you, MX28EVK is Fabio's board. So let's see what he has to say ;-) I found the solution myself. The issue was caused by the missing iomuxing. I'll do the patch... Thank you for your friendly and fast

Re: [U-Boot] MXS NAND: DMA read error

2012-04-17 Thread Marek Vasut
Dear Lauri Hintsala, Hi Marek, On 04/17/2012 12:05 PM, Marek Vasut wrote: Lauri, as much as I'd love to help you, MX28EVK is Fabio's board. So let's see what he has to say ;-) I found the solution myself. The issue was caused by the missing iomuxing. I'll do the patch... Can you

[U-Boot] [PATCH] mx28evk: add NAND support

2012-04-17 Thread Lauri Hintsala
NAND support is not enabled by default because Eval Kit is not delivered with NAND chip. To enable NAND support add CONFIG_CMD_NAND to board config. Signed-off-by: Lauri Hintsala lauri.hints...@bluegiga.com --- board/freescale/mx28evk/iomux.c | 21 +

Re: [U-Boot] [PATCH] drivers/mtd/onenand/onenand_base.c: fix build warning

2012-04-17 Thread Lukasz Majewski
Hi Anatolij, Fix: onenand_base.c: In function 'onenand_probe': onenand_base.c:2577:6: warning: variable 'maf_id' set but not used [-Wunused-but-set-variable] Signed-off-by: Anatolij Gustschin ag...@denx.de Cc: Lukasz Majewski l.majew...@samsung.com ---

Re: [U-Boot] [PATCH] mx28evk: add NAND support

2012-04-17 Thread Marek Vasut
Dear Lauri Hintsala, NAND support is not enabled by default because Eval Kit is not delivered with NAND chip. To enable NAND support add CONFIG_CMD_NAND to board config. Signed-off-by: Lauri Hintsala lauri.hints...@bluegiga.com Acked-by: Marek Vasut ma...@denx.de I think we can schedule it

Re: [U-Boot] [PATCH] drivers/mtd/onenand/onenand_base.c: fix build warning

2012-04-17 Thread Anatolij Gustschin
Hi Lukasz, On Tue, 17 Apr 2012 13:15:41 +0200 Lukasz Majewski l.majew...@samsung.com wrote: ... Is this a regression for -rc or the current master branch (recently Wolfgang has pull some onenand related code)? This patch should be applied to current master. Since Wolfgang has pulled

Re: [U-Boot] [PATCH] drivers/mtd/onenand/onenand_base.c: fix build warning

2012-04-17 Thread Lukasz Majewski
Hi Anatolij, Hi Lukasz, On Tue, 17 Apr 2012 13:15:41 +0200 Lukasz Majewski l.majew...@samsung.com wrote: ... Is this a regression for -rc or the current master branch (recently Wolfgang has pull some onenand related code)? This patch should be applied to current master. Since

Re: [U-Boot] [PATCH v2 1/3] usb:gadget:composite USB composite gadget support

2012-04-17 Thread Lukasz Majewski
Hi Marek, +int usb_string_ids_n(struct usb_composite_dev *c, unsigned n) +{ + unsigned next = c-next_string_id; + if (unlikely(n 254 || (unsigned)next + n 254)) This unlikely() call is unlikely part of uboot :) Nope, but will be removed :-) + +static void

[U-Boot] MTD Partitioning does not work.

2012-04-17 Thread Axel Beierlein
Sorry for Crossposting but i think it better fits here. Hello, i have compiled a 3.1.5 Kernel for a TQM5200 Board. But what i missed is the correct partitioning of the flash after the boot. Do i have to use another way as with Kernel 2.4.25? With Kernel 2.4.25 i define the cmdline like:

Re: [U-Boot] [PATCH] mx28evk: add NAND support

2012-04-17 Thread Fabio Estevam
On 4/17/12, Marek Vasut ma...@denx.de wrote: Dear Lauri Hintsala, NAND support is not enabled by default because Eval Kit is not delivered with NAND chip. To enable NAND support add CONFIG_CMD_NAND to board config. Signed-off-by: Lauri Hintsala lauri.hints...@bluegiga.com Acked-by: Marek

[U-Boot] Pull request (additional): u-boot-arm/master

2012-04-17 Thread Albert ARIBAUD
Hi Wolfgang, The following changes since commit f5cdc11775c4b7fdbf52a6dd2f463d329804ab11: Prepare v2012.04-rc2; minor Coding Style cleanup (2012-04-16 23:13:51 +0200) are available in the git repository at: git://git.denx.de/u-boot-arm master Dirk Behme (1): i.MX6: arm2: Add AXI

Re: [U-Boot] Pull request: u-boot-imx

2012-04-17 Thread Albert ARIBAUD
Hi Stefano, Le 17/04/2012 07:35, Stefano Babic a écrit : Hi Albert, please pull from u-boot-imx. Last fix before release, I hope. The following changes since commit 2f002eceae44c21656b7f596624c636157ffdf1c: MX35: mx35pdk: wrong board revision (2012-04-16 14:53:59 +0200) are available in

[U-Boot] [PATCH v3 0/3] usb:gadget:composite: Support for composite gadget framework

2012-04-17 Thread Lukasz Majewski
This patch set provides support for composite gadget framework. Files from Linux kernel (2.6.36) - namely composite.{c|h} have been ported to u-boot. Code supporting this framework has been added to gadget.h and Samsung's UDC driver as well. --- Changes for v2: - Squash the kernel files with

[U-Boot] [PATCH v3 2/3] usb:gadget:composite: Support for composite at gadget.h

2012-04-17 Thread Lukasz Majewski
Add device data pointer to the USB gadget's device struct. Wrapper for extracting usb_gadget from Linux's usb device Signed-off-by: Lukasz Majewski l.majew...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com Cc: Marek Vasut ma...@denx.de --- Changes for v2: - Two separate

[U-Boot] [PATCH v3 3/3] usb:udc:samsung Add functions for storing private gadget data in UDC driver

2012-04-17 Thread Lukasz Majewski
This commit adds support for storing private data to Samsung's UDC driver. This data is afterward used by usb gadget. Signed-off-by: Lukasz Majewski l.majew...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com Cc: Marek Vasut ma...@denx.de --- drivers/usb/gadget/s3c_udc_otg.c |

[U-Boot] [PATCH v3 1/3] usb:gadget:composite USB composite gadget support

2012-04-17 Thread Lukasz Majewski
USB Composite gadget implementation for u-boot. It builds on top of USB UDC drivers. This commit is based on following files from Linux Kernel v2.6.36: ./include/linux/usb/composite.h ./drivers/usb/gadget/composite.c SHA1: d187abb9a83e6c6b6e9f2ca17962bdeafb4bc903 Signed-off-by: Lukasz Majewski

Re: [U-Boot] [PATCH] mx28evk: add NAND support

2012-04-17 Thread Marek Vasut
Dear Fabio Estevam, On 4/17/12, Marek Vasut ma...@denx.de wrote: Dear Lauri Hintsala, NAND support is not enabled by default because Eval Kit is not delivered with NAND chip. To enable NAND support add CONFIG_CMD_NAND to board config. Signed-off-by: Lauri Hintsala

Re: [U-Boot] [PATCH] mx28evk: add NAND support

2012-04-17 Thread Stefano Babic
On 17/04/2012 13:21, Marek Vasut wrote: Dear Lauri Hintsala, NAND support is not enabled by default because Eval Kit is not delivered with NAND chip. To enable NAND support add CONFIG_CMD_NAND to board config. Signed-off-by: Lauri Hintsala lauri.hints...@bluegiga.com Acked-by: Marek

[U-Boot] [PATCH] i.MX28: Shut down the LCD controller before reset

2012-04-17 Thread Marek Vasut
If the LCD controller is on before the CPU goes into reset, the traffic on LCDIF data pins interferes with the BootROM's boot mode sampling. So shut the controller down. Signed-off-by: Marek Vasut ma...@denx.de Cc: Wolfgang Denk w...@denx.de Cc: Detlev Zundel d...@denx.de Cc: Stefano Babic

Re: [U-Boot] [PATCH] mx28evk: add NAND support

2012-04-17 Thread Marek Vasut
Dear Stefano Babic, On 17/04/2012 13:21, Marek Vasut wrote: Dear Lauri Hintsala, NAND support is not enabled by default because Eval Kit is not delivered with NAND chip. To enable NAND support add CONFIG_CMD_NAND to board config. Signed-off-by: Lauri Hintsala

Re: [U-Boot] [PATCH v3 1/3] usb:gadget:composite USB composite gadget support

2012-04-17 Thread Marek Vasut
Dear Lukasz Majewski, USB Composite gadget implementation for u-boot. It builds on top of USB UDC drivers. This commit is based on following files from Linux Kernel v2.6.36: ./include/linux/usb/composite.h ./drivers/usb/gadget/composite.c SHA1: d187abb9a83e6c6b6e9f2ca17962bdeafb4bc903

Re: [U-Boot] FW: I want to use Barebox

2012-04-17 Thread ANDY KENNEDY
1)  I have a concern that barebox is not mainstream enough yet. I don't think 'maintstream' is the right focal point. Have a look at (for both busybox and U-Boot) - How often a patches committed to the public repository - What is the patch review procedure - Has it changed recently?

[U-Boot] [PATCH] mxs-i2c: Fix internal address byte order

2012-04-17 Thread Torsten Fleischer
Large EEPROMs, e.g. 24lc32, need 2 byte to address the internal memory. These devices require that the high byte of the internal address has to be written first. The mxs_i2c driver currently writes the address' low byte first. The following patch fixes the byte order of the internal address that

Re: [U-Boot] MTD Partitioning does not work.

2012-04-17 Thread Wolfgang Denk
Dear Axel Beierlein, In message 4f8d679b.5080...@freenet.de you wrote: Sorry for Crossposting but i think it better fits here. No, you are off topic here. This is a Linux issue only. U-Boot can just pass the boot arguments; the rest is a Linux thing. My actual U-Boot Parameters for mtdpart:

Re: [U-Boot] [PATCH v2 4/7] tegra: fdt: Add NAND controller binding and definitions

2012-04-17 Thread Simon Glass
Hi Stephen, On Fri, Apr 13, 2012 at 2:05 PM, Stephen Warren swar...@wwwdotorg.org wrote: On 04/13/2012 12:29 PM, Simon Glass wrote: Add a NAND controller along with a bindings file for review. Signed-off-by: Simon Glass s...@chromium.org +++ b/doc/device-tree-bindings/nand/nvidia-nand.txt

Re: [U-Boot] [PATCH v2 4/7] tegra: fdt: Add NAND controller binding and definitions

2012-04-17 Thread Scott Wood
On 04/17/2012 01:33 PM, Simon Glass wrote: Hi Stephen, On Fri, Apr 13, 2012 at 2:05 PM, Stephen Warren swar...@wwwdotorg.org wrote: On 04/13/2012 12:29 PM, Simon Glass wrote: +nand-controller@0x70008000 { + compatible = nvidia,tegra20-nand; + wp-gpios = gpio 59 0;/*

[U-Boot] [PATCH v3 0/7] tegra: Add NAND flash support

2012-04-17 Thread Simon Glass
This series adds NAND flash support to Tegra and enables it on Seaboard. Included here is a proposed device tree binding with most of the properties private to nvidia,. The binding includes information about the NAND controller as well as the connected NAND device. The Seaboard has a Hynix

Re: [U-Boot] [PATCH v2 4/7] tegra: fdt: Add NAND controller binding and definitions

2012-04-17 Thread Simon Glass
Hi, On Tue, Apr 17, 2012 at 11:38 AM, Scott Wood scottw...@freescale.com wrote: On 04/17/2012 01:33 PM, Simon Glass wrote: Hi Stephen, On Fri, Apr 13, 2012 at 2:05 PM, Stephen Warren swar...@wwwdotorg.org wrote: On 04/13/2012 12:29 PM, Simon Glass wrote: +nand-controller@0x70008000 { +  

Re: [U-Boot] [PATCH v2 4/7] tegra: fdt: Add NAND controller binding and definitions

2012-04-17 Thread Scott Wood
On 04/17/2012 01:44 PM, Simon Glass wrote: Hi, On Tue, Apr 17, 2012 at 11:38 AM, Scott Wood scottw...@freescale.com wrote: On 04/17/2012 01:33 PM, Simon Glass wrote: Hi Stephen, On Fri, Apr 13, 2012 at 2:05 PM, Stephen Warren swar...@wwwdotorg.org wrote: On 04/13/2012 12:29 PM, Simon

Re: [U-Boot] [PATCH v7] kirkwood: add NAS62x0 board support

2012-04-17 Thread Luka Perkov
Hi Simon! Hi Prafulla! On Tue, Apr 17, 2012 at 02:14:23AM -0700, Prafulla Wadaskar wrote: #define IDE_BUS(dev) (dev / (CONFIG_SYS_IDE_MAXDEVICE / CONFIG_SYS_IDE_MAXBUS)) in ide.h fixes the problem for me and detects both the internal hard disk and the hard disk at the eSATA port. Yes,

Re: [U-Boot] [PATCH v2 4/7] tegra: fdt: Add NAND controller binding and definitions

2012-04-17 Thread Simon Glass
Hi Scott, On Tue, Apr 17, 2012 at 11:45 AM, Scott Wood scottw...@freescale.com wrote: On 04/17/2012 01:44 PM, Simon Glass wrote: Hi, On Tue, Apr 17, 2012 at 11:38 AM, Scott Wood scottw...@freescale.com wrote: On 04/17/2012 01:33 PM, Simon Glass wrote: Hi Stephen, On Fri, Apr 13, 2012 at

Re: [U-Boot] [PATCH v3 0/7] tegra: Add NAND flash support

2012-04-17 Thread Simon Glass
On Tue, Apr 17, 2012 at 11:38 AM, Simon Glass s...@chromium.org wrote: This series adds NAND flash support to Tegra and enables it on Seaboard. Sorry, please ignore this email, will re-issue. - Simon Included here is a proposed device tree binding with most of the properties private to

[U-Boot] [PATCH v3 0/7] tegra: Add NAND flash support

2012-04-17 Thread Simon Glass
This series adds NAND flash support to Tegra and enables it on Seaboard. Included here is a proposed device tree binding with most of the properties private to nvidia,. The binding includes information about the NAND controller as well as the connected NAND device. The Seaboard has a Hynix

[U-Boot] [PATCH v3 1/7] nand: Try to align the default buffers

2012-04-17 Thread Simon Glass
The NAND layer needs to use cache-aligned buffers by default. Towards this goal. align the default buffers and their members according to the minimum DMA alignment defined for the architecture. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v2: - Add new patch to align default

[U-Boot] [PATCH v3 2/7] fdt: Add debugging to fdtdec_get_int/addr()

2012-04-17 Thread Simon Glass
The new debugging shows the value of integers and addresses read from the device tree. Signed-off-by: Simon Glass s...@chromium.org --- lib/fdtdec.c | 22 -- 1 files changed, 16 insertions(+), 6 deletions(-) diff --git a/lib/fdtdec.c b/lib/fdtdec.c index 42c3e89..3885634

[U-Boot] [PATCH v3 4/7] tegra: fdt: Add NAND controller binding and definitions

2012-04-17 Thread Simon Glass
Add a NAND controller along with a bindings file for review. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v2: - Update NAND binding to add nvidia, prefix Changes in v3: - Add reg property for unit address (should be used for chip select) - Change note in fdt binding about the need

[U-Boot] [PATCH v3 3/7] tegra: Add NAND support to funcmux

2012-04-17 Thread Simon Glass
Add selection of NAND flash pins to the funcmux. Signed-off-by: Simon Glass s...@chromium.org Acked-by: Stephen Warren swar...@nvidia.com --- arch/arm/cpu/armv7/tegra2/funcmux.c|7 +++ arch/arm/include/asm/arch-tegra2/funcmux.h |3 +++ 2 files changed, 10 insertions(+), 0

[U-Boot] [PATCH v3 5/7] tegra: fdt: Add NAND definitions to fdt

2012-04-17 Thread Simon Glass
Add a flash node to handle the NAND, including memory timings and page / block size information. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v2: - Update NAND binding to add nvidia, prefix Changes in v3: - Add reg property for unit address (should be used for chip select) -

[U-Boot] [PATCH v3 7/7] tegra: Enable NAND on Seaboard

2012-04-17 Thread Simon Glass
This enables NAND support for the Seaboard. Signed-off-by: Simon Glass s...@chromium.org --- include/configs/seaboard.h |9 + 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/include/configs/seaboard.h b/include/configs/seaboard.h index 5d33dc5..3306622 100644 ---

[U-Boot] [PATCH v3 6/7] tegra: nand: Add Tegra NAND driver

2012-04-17 Thread Simon Glass
From: Jim Lin ji...@nvidia.com A device tree is used to configure the NAND, including memory timings and block/pages sizes. If this node is not present or is disabled, then NAND will not be initialized. Signed-off-by: Jim Lin ji...@nvidia.com Signed-off-by: Simon Glass s...@chromium.org ---

[U-Boot] [PATCH v4 0/10] tegra: Enable keyboard with matrix keyboard driver

2012-04-17 Thread Simon Glass
Tegra2 has a built-in a keyboard controller which we can use to scan a matrix keyboard. This series brings in a driver for this and adds support for the QUERTY keyboard on Seaboard as an example. This version uses the keyboard device-tree definition here:

[U-Boot] [PATCH v4 01/10] fdt: Add fdtdec functions to read byte array

2012-04-17 Thread Simon Glass
From: Anton Staff robot...@chromium.org Sometimes we don't need a full cell for each value. This provides a simple function to read a byte array, both with and without copying it. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v2: - Use correct name for get_prop_check_min_len()

[U-Boot] [PATCH v4 02/10] input: Add linux/input.h for key code support

2012-04-17 Thread Simon Glass
We want to able to decode Linux fdt keymaps, so bring part of this enormous header file over to U-Boot. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v3: - Bring in linux/input.h header file in new patch include/linux/input.h | 155

[U-Boot] [PATCH v4 03/10] input: Add generic keyboard input handler

2012-04-17 Thread Simon Glass
Add a module which understands converting key codes (or scan codes) to ASCII characters. It includes FIFO support and can call back to drivers to read new characters when its FIFO is empty. Keycode maps are provided for un-modified, shift and ctrl keys. The plan is to use this module where such

[U-Boot] [PATCH v4 09/10] tegra: Switch on console mux and use environment for console

2012-04-17 Thread Simon Glass
All tegra boards will use these options by default. Signed-off-by: Simon Glass s...@chromium.org --- include/configs/tegra2-common.h |9 - 1 files changed, 8 insertions(+), 1 deletions(-) diff --git a/include/configs/tegra2-common.h b/include/configs/tegra2-common.h index

[U-Boot] [PATCH v4 06/10] tegra: fdt: Add keyboard controller definition

2012-04-17 Thread Simon Glass
From: Anton Staff robot...@chromium.org The Tegra keyboard controller provides a simple interface to a matrix keyboard. Signed-off-by: Simon Glass s...@chromium.org --- arch/arm/dts/tegra20.dtsi |5 + 1 files changed, 5 insertions(+), 0 deletions(-) diff --git

[U-Boot] [PATCH v4 04/10] input: Add support for keyboard matrix decoding from an fdt

2012-04-17 Thread Simon Glass
From: Bernie Thompson bhthomp...@chromium.org Matrix keyboards require a key map to be set up, and must also deal with key ghosting. Create a keyboard matrix management implementation which can be leveraged by various keyboard drivers. This includes code to read the keymap from the FDT and

[U-Boot] [PATCH v4 10/10] tegra: Enable keyboard for Seaboard

2012-04-17 Thread Simon Glass
This enables the standard keyboard on Seaboard. Signed-off-by: Simon Glass s...@chromium.org --- include/configs/seaboard.h |9 + 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/include/configs/seaboard.h b/include/configs/seaboard.h index 3306622..1ee7e12 100644 ---

[U-Boot] [PATCH v4 07/10] tegra: fdt: Add keyboard definitions for Seaboard

2012-04-17 Thread Simon Glass
From: Anton Staff robot...@chromium.org Seaboard uses a QUERTY keyboard. We add key codes for this to enable key scanning to work. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v2: - Remove status = okay since this is the default anyway Changes in v3: - Move to new Linux device

[U-Boot] [PATCH v4 08/10] tegra: Add tegra keyboard driver

2012-04-17 Thread Simon Glass
From: Rakesh Iyer ri...@nvidia.com Add support for internal matrix keyboard controller for Nvidia Tegra platforms. This driver uses the fdt decode function to obtain its key codes. Support for the Ctrl modifier is provided. The left and right ctrl keys are dealt with in the same way. This uses

[U-Boot] [PATCH] fix IDE_BUS(dev) macro

2012-04-17 Thread Luka Perkov
IDE_BUS assumes that each bus has two devices and thus returns the first bus even when the second one should be probed. Signed-off-by: Simon Baatz gmbno...@gmail.com Tested-by: Luka Perkov ub...@lukaperkov.net --- Simon discovered this while adding support for new board IB NAS6210. More info

Re: [U-Boot] [PATCH v3 4/7] tegra: fdt: Add NAND controller binding and definitions

2012-04-17 Thread Scott Wood
On 04/17/2012 01:50 PM, Simon Glass wrote: diff --git a/doc/device-tree-bindings/nand/nvidia,tegra20-nand.txt b/doc/device-tree-bindings/nand/nvidia,tegra20-nand.txt new file mode 100644 index 000..2484556 --- /dev/null +++ b/doc/device-tree-bindings/nand/nvidia,tegra20-nand.txt @@

[U-Boot] [PATCH v4 05/10] tegra: Add keyboard support to funcmux

2012-04-17 Thread Simon Glass
Add funcmux support for the default keyboard mapping. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v3: - Use funcmux to set up keyboard pinmux arch/arm/cpu/armv7/tegra2/funcmux.c | 16 1 files changed, 16 insertions(+), 0 deletions(-) diff --git

[U-Boot] [PATCH v8] kirkwood: add NAS62x0 board support

2012-04-17 Thread Luka Perkov
Add support for new boards RaidSonic ICY BOX NAS6210 and NAS6220. NAS6210 has 1 SATA and 1 eSATA port while NAS6220 has 2 SATA ports. More information about the boards can be found here: http://www.raidsonic.de/en/products/nas-systems.php?we_objectID=7036

Re: [U-Boot] [PATCH v7] kirkwood: add NAS62x0 board support

2012-04-17 Thread David Purdy
On Tue, Apr 17, 2012 at 1:47 PM, Luka Perkov ub...@lukaperkov.net wrote: Hi Simon! Hi Prafulla! On Tue, Apr 17, 2012 at 02:14:23AM -0700, Prafulla Wadaskar wrote: #define IDE_BUS(dev) (dev / (CONFIG_SYS_IDE_MAXDEVICE / CONFIG_SYS_IDE_MAXBUS)) in ide.h fixes the problem for me and

Re: [U-Boot] [PATCH v7] kirkwood: add NAS62x0 board support

2012-04-17 Thread Luka Perkov
On Tue, Apr 17, 2012 at 02:19:16PM -0500, David Purdy wrote: On Tue, Apr 17, 2012 at 1:47 PM, Luka Perkov ub...@lukaperkov.net wrote: Any chance this same patch would similarly help other Kirkwood boxes that have two SATA ports? Yes. If you have another board to test please do so and give your

[U-Boot] [PATCH V2] Add support for Mini2440

2012-04-17 Thread Gabriel Huau
A little review of my first patch. As you can see, I removed some unnecessary modifications that I did in arm920t directory ... (I don't really remember why I did it), and some modifications on drivers (nand and i2c) that was unnecessary because I am not currently supporting theses features. I

Re: [U-Boot] [PATCH v3 4/7] tegra: fdt: Add NAND controller binding and definitions

2012-04-17 Thread Simon Glass
+Jim, who wrote the driver originally Hi Scott, On Tue, Apr 17, 2012 at 12:06 PM, Scott Wood scottw...@freescale.com wrote: On 04/17/2012 01:50 PM, Simon Glass wrote: diff --git a/doc/device-tree-bindings/nand/nvidia,tegra20-nand.txt b/doc/device-tree-bindings/nand/nvidia,tegra20-nand.txt

Re: [U-Boot] [PATCH] mxs-i2c: Fix internal address byte order

2012-04-17 Thread Marek Vasut
Dear Torsten Fleischer, Large EEPROMs, e.g. 24lc32, need 2 byte to address the internal memory. These devices require that the high byte of the internal address has to be written first. The mxs_i2c driver currently writes the address' low byte first. The following patch fixes the byte

Re: [U-Boot] [PATCH v3 4/7] tegra: fdt: Add NAND controller binding and definitions

2012-04-17 Thread Scott Wood
On 04/17/2012 03:18 PM, Simon Glass wrote: +Jim, who wrote the driver originally Hi Scott, On Tue, Apr 17, 2012 at 12:06 PM, Scott Wood scottw...@freescale.com wrote: + - nvidia,page-data-bytes : Number of bytes in the data area + - nvidia,page-spare-bytes : Number of bytes in spare area

Re: [U-Boot] [PATCH v3 4/7] tegra: fdt: Add NAND controller binding and definitions

2012-04-17 Thread Simon Glass
Hi Scott, On Tue, Apr 17, 2012 at 1:31 PM, Scott Wood scottw...@freescale.com wrote: On 04/17/2012 03:18 PM, Simon Glass wrote: +Jim, who wrote the driver originally Hi Scott, On Tue, Apr 17, 2012 at 12:06 PM, Scott Wood scottw...@freescale.com wrote: + - nvidia,page-data-bytes : Number of

Re: [U-Boot] [PATCH v2] Add support for MINI2440 (s3c2440). Documentation about the product can be found on: http://www.friendlyarm.net/products/mini2440

2012-04-17 Thread Marek Vasut
Dear Gabriel Huau, --- Changes for v2: - Coding style cleanup - Remove unnecessary files modification - Remove unnecessary board configuration set --- arch/arm/include/asm/arch-s3c24x0/s3c24x0.h | 51 +- board/friendlyarm/mini2440/Makefile | 45 +

Re: [U-Boot] [PATCH v3 4/7] tegra: fdt: Add NAND controller binding and definitions

2012-04-17 Thread Scott Wood
On 04/17/2012 03:36 PM, Simon Glass wrote: Hi Scott, On Tue, Apr 17, 2012 at 1:31 PM, Scott Wood scottw...@freescale.com wrote: On 04/17/2012 03:18 PM, Simon Glass wrote: On Tue, Apr 17, 2012 at 12:06 PM, Scott Wood scottw...@freescale.com wrote: Doesn't the number of cells depend on the

Re: [U-Boot] FW: I want to use Barebox

2012-04-17 Thread Graeme Russ
Hi Andy, On Wed, Apr 18, 2012 at 2:11 AM, ANDY KENNEDY andy.kenn...@adtran.com wrote: 1)  I have a concern that barebox is not mainstream enough yet. [snip] 2)  I have a feeling we will always be porting everyone's bsp (that    already has a working u-boot) to barebox. Which should not

Re: [U-Boot] [PATCH v4] AT91SAM9*: Change kernel address in dataflash to match u-boot's size

2012-04-17 Thread Ulf Samuelsson
On 2012-04-09 10:15, Wolfgang Denk wrote: Dear Andreas, In message4f82835f.2030...@googlemail.com you wrote: Where are these odd sizes like #define CONFIG_ENV_SIZE 0x4200 coming from? Has a size of 0x4200 any special maning on these systems? please read Ulfs mail:

[U-Boot] [PATCH] sh: ecovec: Change macro from BOARD_LATE_INIT to CONFIG_BOARD_LATE_INIT

2012-04-17 Thread Nobuhiro Iwamatsu
When calling board_late_init, we need to define CONFIG_BOARD_LATE_INIT. The latest ecovec config defines BOARD_LATE_INIT, board_late_init is not called. Signed-off-by: Nobuhiro Iwamatsu nobuhiro.iwamatsu...@renesas.com --- include/configs/ecovec.h |2 +- 1 files changed, 1 insertions(+), 1

Re: [U-Boot] [PATCH] mmc:fix Call mmc_init() when executing mmc_get_dev()

2012-04-17 Thread Minkyu Kang
Hi Lukasz, On 3 April 2012 23:24, Lukasz Majewski l.majew...@samsung.com wrote: This code adds call to mmc_init(), for partition related commands (e.g. fatls, fatinfo etc.). It is safe to call mmc_init() multiple times since mmc-has_init flag prevents from multiple initialization. The FAT

[U-Boot] [PATCH] nds32: Change macro from BOARD_LATE_INIT to CONFIG_BOARD_LATE_INIT

2012-04-17 Thread Nobuhiro Iwamatsu
With almost all the architecture and board BOARD_LATE_INIT does not use. CONFIG_BOARD_LATE_INIT is used instead. This changed CONFIG_BOARD_LATE_INIT from BOARD_LATE_INIT. Signed-off-by: Nobuhiro Iwamatsu nobuhiro.iwamatsu...@renesas.com CC: Macpaul Lin macp...@andestech.com ---

[U-Boot] [PATCH] arm: ea20: Change macro from BOARD_LATE_INIT to CONFIG_BOARD_LATE_INIT

2012-04-17 Thread Nobuhiro Iwamatsu
With almost all the architecture and board BOARD_LATE_INIT does not use. CONFIG_BOARD_LATE_INIT is used instead. This changed CONFIG_BOARD_LATE_INIT from BOARD_LATE_INIT. Signed-off-by: Nobuhiro Iwamatsu nobuhiro.iwamatsu...@renesas.com CC: Stefano Babic sba...@denx.de ---

[U-Boot] [PATCH] arm: cam_enc_4xx: Change macro from BOARD_LATE_INIT to CONFIG_BOARD_LATE_INIT

2012-04-17 Thread Nobuhiro Iwamatsu
With almost all the architecture and board BOARD_LATE_INIT does not use. CONFIG_BOARD_LATE_INIT is used instead. This changed CONFIG_BOARD_LATE_INIT from BOARD_LATE_INIT. Signed-off-by: Nobuhiro Iwamatsu nobuhiro.iwamatsu...@renesas.com CC: Heiko Schocher h...@denx.de ---

[U-Boot] Pull request: u-boot-sh

2012-04-17 Thread Nobuhiro Iwamatsu
Dear Wolfgang Denk, Please pull some fixes for v2012.04. The following changes since commit f5cdc11775c4b7fdbf52a6dd2f463d329804ab11: Prepare v2012.04-rc2; minor Coding Style cleanup (2012-04-16 23:13:51 +0200) are available in the git repository at: git://git.denx.de/u-boot-sh.git master

Re: [U-Boot] FW: I want to use Barebox

2012-04-17 Thread Mike Frysinger
On Tuesday 17 April 2012 19:40:08 Graeme Russ wrote: On Wed, Apr 18, 2012 at 2:11 AM, ANDY KENNEDY wrote: But you fall into the trap of thinking that driver porting from Linux is trivial - I doubt this is the case as you do not have the feature rich kernel API (locks, mutexes, memory

[U-Boot] [PATCH] PowerPC: Change -fpic flag to -fPIC flag in the config.mk

2012-04-17 Thread Chunhe Lan
The -fPIC/-fpic flag belongs with -mrelocatable. The -fpic flag can limit the size of the GOT and produce smaller binaries, so it causes some GOT entries to be lost in the gcc 4.6 version. But -fPIC flag allows the maximum possible size of the GOT entries. However, currently -mrelocatable