Re: [U-Boot] [PATCH 08/08] include/configs: Better utilize CONFIG_SYS_NO_FLASH

2012-04-13 Thread Wolfgang Denk
Dear Tom Rini, In message <1334355606-16491-9-git-send-email-tr...@ti.com> you wrote: > In config files which it is clear when CONFIG_SYS_NO_FLASH will be set s/which it is clear when/where it is clear that/ ? > (either unconditionally or based on logic that can happen early in the > config file

Re: [U-Boot] [PATCH] mx6qsabresd: Add basic support

2012-04-13 Thread Dirk Behme
On 14.04.2012 01:04, Fabio Estevam wrote: On Fri, Apr 13, 2012 at 7:36 PM, Fabio Estevam wrote: So, would it be OK to use 0x1000 - 0x177f as the memory range for mtest? Looks like I forgot the relocation. So the range for mtest would be from 0x1000 until 0x1080 - 1, right?

Re: [U-Boot] [PATCH] mx6qsabresd: Add basic support

2012-04-13 Thread Fabio Estevam
On Fri, Apr 13, 2012 at 7:36 PM, Fabio Estevam wrote: > So, would it be OK to use 0x1000 - 0x177f as the memory range for > mtest? Looks like I forgot the relocation. So the range for mtest would be from 0x1000 until 0x1080 - 1, right? Thanks, Fabio Estevam ___

Re: [U-Boot] [PATCH] mx6qsabresd: Add basic support

2012-04-13 Thread Fabio Estevam
On Fri, Apr 13, 2012 at 1:14 PM, Dirk Behme wrote: > Regarding the exception vectors: > > I would think that the code of the U-Boot exception vectors are located at > > #define CONFIG_SYS_TEXT_BASE           0x1780 > > and > > #define CONFIG_LOADADDR                        0x1080 Thanks,

Re: [U-Boot] FW: P4080 target has 16G memory stability issues ...

2012-04-13 Thread Wolfgang Denk
Dear Robert, please note: it is NOT a good idea to post the same message to several mailing lists separately. Normally such cross-posts should be avoided completely; if they appear to make sense, you should really cross-post, so threading works, and people are aware that this is a message they h

[U-Boot] [PATCH 08/08] include/configs: Better utilize CONFIG_SYS_NO_FLASH

2012-04-13 Thread Tom Rini
In config files which it is clear when CONFIG_SYS_NO_FLASH will be set (either unconditionally or based on logic that can happen early in the config file), ensure that we set that _before_ we include config_cmd_default.h so that the logic in that file will not enable CONFIG_CMD_(FLASH|IMLS). This

[U-Boot] [PATCH 07/08] include/configs: Remove CONFIG_SYS_64BIT_STRTOUL

2012-04-13 Thread Tom Rini
This define does not control anything, remove it. Signed-off-by: Tom Rini --- include/configs/P1023RDS.h |2 -- include/configs/P2020COME.h|1 - include/configs/p1_p2_rdb_pc.h |2 -- 3 files changed, 0 insertions(+), 5 deletions(-) diff --git a/include/configs/P1023RDS.h b/i

[U-Boot] [PATCH 06/08] include/configs: Remove CONFIG_SYS_64BIT_VSPRINTF

2012-04-13 Thread Tom Rini
This define does not control anything, remove it. Signed-off-by: Tom Rini --- include/configs/P1023RDS.h |1 - include/configs/P2020COME.h|1 - include/configs/am3517_crane.h |1 - include/configs/am3517_evm.h |2 -- include/configs/at91sam9263ek.h|

[U-Boot] [PATCH 05/08] omap3: Introduce weak misc_init_r

2012-04-13 Thread Tom Rini
Introduce a __weak misc_init_r function that just runs dieid_num_r(). Remove misc_init_r from cm_t35, mcx, omap3_logic and mt_ventoux as this was all they did for misc_init_r. Cc: Igor Grinberg Cc: Ilya Yanok Cc: Peter Barada Cc: Stefano Babic Signed-off-by: Tom Rini --- arch/arm/cpu/armv7/o

[U-Boot] [PATCH 04/08] omap730p2: Remove empty misc_init_r

2012-04-13 Thread Tom Rini
We had a do-nothing misc_init_r, remove along with CONFIG_MISC_INIT_R Signed-off-by: Tom Rini --- board/ti/omap730p2/omap730p2.c |6 -- include/configs/omap730p2.h|2 -- 2 files changed, 0 insertions(+), 8 deletions(-) diff --git a/board/ti/omap730p2/omap730p2.c b/board/ti/omap7

[U-Boot] [PATCH 03/08] omap5912osk: Remove empty misc_init_r

2012-04-13 Thread Tom Rini
We had a do-nothing misc_init_r, remove along with CONFIG_MISC_INIT_R Signed-off-by: Tom Rini --- board/ti/omap5912osk/omap5912osk.c |7 --- include/configs/omap5912osk.h |2 -- 2 files changed, 0 insertions(+), 9 deletions(-) diff --git a/board/ti/omap5912osk/omap5912osk.c b/

[U-Boot] [PATCH 01/08] omap4: Remove CONFIG_SYS_MMC_SET_DEV

2012-04-13 Thread Tom Rini
This is only used on !CONFIG_GENERIC_MMC which is false here. Signed-off-by: Tom Rini --- include/configs/omap4_common.h |1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/include/configs/omap4_common.h b/include/configs/omap4_common.h index 01b4d6c..4ace07b 100644 --- a/in

[U-Boot] [PATCH 02/08] omap4+: Remove CONFIG_ARCH_CPU_INIT

2012-04-13 Thread Tom Rini
OMAP4/5 had an empty arch_cpu_init() so drop that along with CONFIG_ARCH_CPU_INIT Signed-off-by: Tom Rini --- arch/arm/cpu/armv7/omap-common/hwinit-common.c | 10 -- include/configs/omap4_common.h |1 - include/configs/omap5_evm.h|1 - 3 file

[U-Boot] [PATCH 00/08]: Config cleanups

2012-04-13 Thread Tom Rini
Hey all, As part of the RFC config cleanups I sent a while ago, I've come up with a number of related cleanups that should be done. This series does that. It's mostly OMAP* stuff except for the last one which fixes the case of using config_cmd_default.h and NOT setting CONFIG_SYS_NO_FLASH before

Re: [U-Boot] Status of fsl_elbc_nand driver and 4k page NAND / 4bit ECC

2012-04-13 Thread Rafael Beims
On Wed, Apr 11, 2012 at 9:22 PM, Scott Wood wrote: > On 04/11/2012 07:14 PM, Rafael Beims wrote: > >> Hello Scott, >> On Wed, Apr 11, 2012 at 6:54 PM, Scott Wood > > wrote: >> >>On 04/11/2012 04:28 PM, Rafael Beims wrote: >> >>Hello, >>I work

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

2012-04-13 Thread Scott Wood
On 04/13/2012 04:22 PM, Stephen Warren wrote: On 04/13/2012 03:21 PM, Scott Wood wrote: On 04/13/2012 03:58 PM, Stephen Warren wrote: On 04/13/2012 12:43 PM, Scott Wood wrote: On 04/13/2012 01:29 PM, Simon Glass wrote: Add a NAND controller along with a bindings file for review. Signed-off-b

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

2012-04-13 Thread Stephen Warren
On 04/13/2012 03:21 PM, Scott Wood wrote: > On 04/13/2012 03:58 PM, Stephen Warren wrote: >> On 04/13/2012 12:43 PM, Scott Wood wrote: >>> On 04/13/2012 01:29 PM, Simon Glass wrote: Add a NAND controller along with a bindings file for review. Signed-off-by: Simon Glass >> +++ b/

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

2012-04-13 Thread Scott Wood
On 04/13/2012 03:58 PM, Stephen Warren wrote: On 04/13/2012 12:43 PM, Scott Wood wrote: On 04/13/2012 01:29 PM, Simon Glass wrote: Add a NAND controller along with a bindings file for review. Signed-off-by: Simon Glass +++ b/doc/device-tree-bindings/nand/nvidia-nand.txt +wp-gpio : GPIO o

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

2012-04-13 Thread Scott Wood
On 04/13/2012 04:05 PM, Stephen Warren 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 +++ b/doc/device-tree-bindings/nand/nvidia-nand.txt I'd prefer this be called nvidia,tegra20-nand.txt so filename

[U-Boot] FW: P4080 target has 16G memory stability issues ...

2012-04-13 Thread Robert Sciuk
Dear list(s), Our P4080 target board is using 2 SODIMM's on each of 2 Controllers (4x4G DDR3), and we are seeing some memory problems (linux panics) when beating up large amounts of memory (just under the 16G), on multiple threads (7 or 8 CPUs). Our DDR3 configuration is derived from the SPD d

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

2012-04-13 Thread Stephen Warren
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 > +++ b/doc/device-tree-bindings/nand/nvidia-nand.txt I'd prefer this be called nvidia,tegra20-nand.txt so filenames are named according to compatible value.

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

2012-04-13 Thread Stephen Warren
On 04/13/2012 12:43 PM, Scott Wood wrote: > On 04/13/2012 01:29 PM, Simon Glass wrote: >> Add a NAND controller along with a bindings file for review. >> >> Signed-off-by: Simon Glass >> +++ b/doc/device-tree-bindings/nand/nvidia-nand.txt >> +wp-gpio : GPIO of write-protect line, three cells in

Re: [U-Boot] usb ethernet working on panda?

2012-04-13 Thread Gary Thomas
On 2012-02-28 23:17, Govindraj wrote: On Wed, Feb 29, 2012 at 4:47 AM, Kumar Gala wrote: Does anyone have usb ethernet working on top of git tree on a panda board? yes. If so any gotcha's or details on how you have it working. I use following commands: setenv usbethaddr 0:0:1:2:3:4;usb s

Re: [U-Boot] Regression due to: arm: Add Prep subcommand support to bootm

2012-04-13 Thread Stephen Warren
On 04/13/2012 09:07 AM, Tom Rini wrote: > On Thu, Apr 12, 2012 at 10:52:43AM -0600, Stephen Warren wrote: > >> I just tried the latest u-boot/master, at commit: >> >> 3f0675d Merge branch 'marek.va...@gmail.com' of >> git://git.denx.de/u-boot-staging >> >> This fails to boot a Linux kernel on my A

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

2012-04-13 Thread Simon Glass
Hi Scott, On Fri, Apr 13, 2012 at 12:17 PM, Scott Wood wrote: > On 04/13/2012 01:52 PM, Simon Glass wrote: >> Hi Scott, >> >> On Fri, Apr 13, 2012 at 11:37 AM, Scott Wood wrote: >>> On 04/13/2012 01:29 PM, Simon Glass wrote: The NAND layer needs to use cache-aligned buffers by default. Towa

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

2012-04-13 Thread Scott Wood
On 04/13/2012 01:52 PM, Simon Glass wrote: > Hi Scott, > > On Fri, Apr 13, 2012 at 11:37 AM, Scott Wood wrote: >> On 04/13/2012 01:29 PM, Simon Glass wrote: >>> The NAND layer needs to use cache-aligned buffers by default. Towards this >>> goal. align the default buffers and their members accordi

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

2012-04-13 Thread Simon Glass
Hi Scott, On Fri, Apr 13, 2012 at 12:07 PM, Scott Wood wrote: > On 04/13/2012 02:01 PM, Simon Glass wrote: >> Hi Scott, >> >> On Fri, Apr 13, 2012 at 11:43 AM, Scott Wood wrote: >>> On 04/13/2012 01:29 PM, Simon Glass wrote: Add a NAND controller along with a bindings file for review.

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

2012-04-13 Thread Scott Wood
On 04/13/2012 02:01 PM, Simon Glass wrote: > Hi Scott, > > On Fri, Apr 13, 2012 at 11:43 AM, Scott Wood wrote: >> On 04/13/2012 01:29 PM, Simon Glass wrote: >>> Add a NAND controller along with a bindings file for review. >>> >>> Signed-off-by: Simon Glass >>> --- >>> Changes in v2: >>> - Update

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

2012-04-13 Thread Simon Glass
Hi Scott, On Fri, Apr 13, 2012 at 11:43 AM, Scott Wood wrote: > On 04/13/2012 01:29 PM, Simon Glass wrote: >> Add a NAND controller along with a bindings file for review. >> >> Signed-off-by: Simon Glass >> --- >> Changes in v2: >> - Update NAND binding to add "nvidia," prefix >> >>  arch/arm/dt

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

2012-04-13 Thread Simon Glass
Hi Scott, On Fri, Apr 13, 2012 at 11:37 AM, Scott Wood wrote: > On 04/13/2012 01:29 PM, Simon Glass wrote: >> 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 a

Re: [U-Boot] [PATCH 5/6] tegra: nand: Add Tegra NAND driver

2012-04-13 Thread Simon Glass
Hi Scott, On Fri, Apr 13, 2012 at 11:47 AM, Scott Wood wrote: > On 04/13/2012 01:45 PM, Simon Glass wrote: >> Hi Scott, >> >> On Fri, Apr 13, 2012 at 11:34 AM, Scott Wood wrote: >>> On 04/13/2012 01:25 PM, Simon Glass wrote: >>> Has this binding been accepted into Linux's documentation or an

Re: [U-Boot] [PATCH 5/6] tegra: nand: Add Tegra NAND driver

2012-04-13 Thread Scott Wood
On 04/13/2012 01:45 PM, Simon Glass wrote: > Hi Scott, > > On Fri, Apr 13, 2012 at 11:34 AM, Scott Wood wrote: >> On 04/13/2012 01:25 PM, Simon Glass wrote: >> Has this binding been accepted into Linux's documentation or another >> canonical source? > > No It would be go

Re: [U-Boot] [PATCH 5/6] tegra: nand: Add Tegra NAND driver

2012-04-13 Thread Simon Glass
Hi Scott, On Fri, Apr 13, 2012 at 11:34 AM, Scott Wood wrote: > On 04/13/2012 01:25 PM, Simon Glass wrote: >> Hi Scott, >> >> On Fri, Apr 13, 2012 at 11:09 AM, Scott Wood wrote: >>> On 04/13/2012 12:42 PM, Simon Glass wrote: I am not keen on adding cache alignment into every driver - IMO th

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

2012-04-13 Thread Scott Wood
On 04/13/2012 01:29 PM, Simon Glass wrote: > Add a NAND controller along with a bindings file for review. > > Signed-off-by: Simon Glass > --- > Changes in v2: > - Update NAND binding to add "nvidia," prefix > > arch/arm/dts/tegra20.dtsi |6 ++ > doc/device-tree-bindings

Re: [U-Boot] [PATCH 4/9] imx: nand: Place BBT patterns into free OOB region

2012-04-13 Thread Timo Ketola
On 13.04.2012 21:17, Scott Wood wrote: It looks like Linux wants the BBT to be at offset zero. I have not dug too deeply into the BBT logic in kernel but maybe it could be possible to place BBT patterns over the factory markers. Then, when the code scans for BBT blocks, it should ignore facto

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

2012-04-13 Thread Scott Wood
On 04/13/2012 01:29 PM, Simon Glass wrote: > 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 > --- > Changes in v2:

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

2012-04-13 Thread Simon Glass
From: Jim Lin 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 Signed-off-by: Simon Glass --- Changes in v2: - Added comment about the behaviour of

Re: [U-Boot] [PATCH 5/6] tegra: nand: Add Tegra NAND driver

2012-04-13 Thread Scott Wood
On 04/13/2012 01:25 PM, Simon Glass wrote: > Hi Scott, > > On Fri, Apr 13, 2012 at 11:09 AM, Scott Wood wrote: >> On 04/13/2012 12:42 PM, Simon Glass wrote: >>> I am not keen on adding cache alignment into every driver - IMO this >>> should happen at the level above as with MMC, USB, etc. A fairl

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

2012-04-13 Thread Simon Glass
This enables NAND support for the Seaboard. Signed-off-by: Simon Glass --- 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 --- a/include/configs/seab

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

2012-04-13 Thread Simon Glass
Add a flash node to handle the NAND, including memory timings and page / block size information. Signed-off-by: Simon Glass --- Changes in v2: - Update NAND binding to add "nvidia," prefix board/nvidia/dts/tegra2-seaboard.dts | 15 +++ 1 files changed, 15 insertions(+), 0 deletion

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

2012-04-13 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 --- Changes in v2: - Add new patch to align default buffers in nand_base d

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

2012-04-13 Thread Simon Glass
Add a NAND controller along with a bindings file for review. Signed-off-by: Simon Glass --- Changes in v2: - Update NAND binding to add "nvidia," prefix arch/arm/dts/tegra20.dtsi |6 ++ doc/device-tree-bindings/nand/nvidia-nand.txt | 68 + 2 fil

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

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

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

2012-04-13 Thread Simon Glass
Add selection of NAND flash pins to the funcmux. Signed-off-by: Simon Glass Acked-by: Stephen Warren --- arch/arm/cpu/armv7/tegra2/funcmux.c|7 +++ arch/arm/include/asm/arch-tegra2/funcmux.h |3 +++ 2 files changed, 10 insertions(+), 0 deletions(-) diff --git a/arch/arm/cp

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

2012-04-13 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 HY27U

Re: [U-Boot] [PATCH 8/9] imx: nand: Don't invent new configuration variable

2012-04-13 Thread Timo Ketola
On 13.04.2012 20:21, Scott Wood wrote: On 04/13/2012 06:21 AM, Timo Ketola wrote: There is already CONFIG_SYS_NAND_BASE (or CONFIG_SYS_NAND_BASE_LIST) which must be defined for nand.c. Use that. nand.c sets IO_ADDR_R with that. ... Actually, I'd rather we go the other direction and deprecate C

Re: [U-Boot] [PATCH 5/6] tegra: nand: Add Tegra NAND driver

2012-04-13 Thread Simon Glass
Hi Scott, On Fri, Apr 13, 2012 at 11:09 AM, Scott Wood wrote: > On 04/13/2012 12:42 PM, Simon Glass wrote: >> Hi Scott, >> >> On Fri, Jan 20, 2012 at 2:55 PM, Scott Wood wrote: >>> On 01/13/2012 05:10 PM, Simon Glass wrote: +struct nand_info nand_ctrl; >>> >>> static (or better, dynamic). >

Re: [U-Boot] [PATCH 4/9] imx: nand: Place BBT patterns into free OOB region

2012-04-13 Thread Scott Wood
On 04/13/2012 01:12 PM, Timo Ketola wrote: > On 13.04.2012 20:19, Scott Wood wrote: >> On 04/13/2012 06:20 AM, Timo Ketola wrote: >>> First two bytes of the first OOB of erase block are reserved for factory >>> bad block marking, usually. >>> >>> Signed-off-by: Timo Ketola >>> --- >>> drivers/mtd

Re: [U-Boot] [PATCH 4/9] imx: nand: Place BBT patterns into free OOB region

2012-04-13 Thread Timo Ketola
On 13.04.2012 20:19, Scott Wood wrote: On 04/13/2012 06:20 AM, Timo Ketola wrote: First two bytes of the first OOB of erase block are reserved for factory bad block marking, usually. Signed-off-by: Timo Ketola --- drivers/mtd/nand/mxc_nand.c | 35 +++ 1 file

Re: [U-Boot] [PATCH 5/6] tegra: nand: Add Tegra NAND driver

2012-04-13 Thread Scott Wood
On 04/13/2012 12:42 PM, Simon Glass wrote: > Hi Scott, > > On Fri, Jan 20, 2012 at 2:55 PM, Scott Wood wrote: >> On 01/13/2012 05:10 PM, Simon Glass wrote: >>> +struct nand_info nand_ctrl; >> >> static (or better, dynamic). > > Done, what is dynamic? Allocate the structure dynamically in your i

Re: [U-Boot] device tree compilation problems.

2012-04-13 Thread Simon Glass
Hi Wolfgang, On Mon, Jan 23, 2012 at 12:08 AM, Wolfgang Denk wrote: > Dear Simon Glass, > > In message > you > wrote: >> >> >  $(DT_BIN): $(TOPDIR)/board/$(VENDOR)/dts/$(DEVICE_TREE).dts >> > -       cat $< | $(CPP) -P $(DTS_CPPFLAGS) - >$@.tmp >> > -       $(DTC) -R 4 -p 0x1000 -O dtb -o ${DT

Re: [U-Boot] [PATCH 3/6] tegra: fdt: Add NAND controller binding and definitions

2012-04-13 Thread Simon Glass
Hi Stephen, On Thu, Jan 19, 2012 at 5:03 PM, Stephen Warren wrote: > On 01/13/2012 04:10 PM, Simon Glass wrote: >> Add a NAND controller along with a bindings file for review. > > A few questions to start with: > >> diff --git a/doc/device-tree-bindings/nand/nvidia-nand.txt >> b/doc/device-tree-

Re: [U-Boot] [PATCH 5/6] tegra: nand: Add Tegra NAND driver

2012-04-13 Thread Simon Glass
Hi Scott, On Fri, Jan 20, 2012 at 2:55 PM, Scott Wood wrote: > On 01/13/2012 05:10 PM, Simon Glass wrote: >> +/* Information about an attached NAND chip */ >> +struct fdt_nand { >> +     struct nand_ctlr *reg; >> +     int enabled;            /* 1 to enable, 0 to disable */ >> +     struct fdt_gp

Re: [U-Boot] [PATCH 5/6] tegra: nand: Add Tegra NAND driver

2012-04-13 Thread Simon Glass
Hi Stephen, On Fri, Jan 20, 2012 at 9:31 AM, Stephen Warren wrote: > On 01/13/2012 04:10 PM, Simon Glass wrote: >> From: Jim Lin >> >> 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

Re: [U-Boot] [PATCH 8/9] imx: nand: Don't invent new configuration variable

2012-04-13 Thread Scott Wood
On 04/13/2012 06:21 AM, Timo Ketola wrote: > There is already CONFIG_SYS_NAND_BASE (or CONFIG_SYS_NAND_BASE_LIST) which > must be defined for nand.c. Use that. nand.c sets IO_ADDR_R with that. > > Signed-off-by: Timo Ketola > --- > drivers/mtd/nand/mxc_nand.c |2 +- > 1 files changed, 1 inse

Re: [U-Boot] [PATCH 4/9] imx: nand: Place BBT patterns into free OOB region

2012-04-13 Thread Scott Wood
On 04/13/2012 06:20 AM, Timo Ketola wrote: > First two bytes of the first OOB of erase block are reserved for factory > bad block marking, usually. > > Signed-off-by: Timo Ketola > --- > drivers/mtd/nand/mxc_nand.c | 35 +++ > 1 files changed, 35 insertions(+),

Re: [U-Boot] [PATCH] mx6qsabresd: Add basic support

2012-04-13 Thread Dirk Behme
On 13.04.2012 17:56, Fabio Estevam wrote: On Wed, Apr 11, 2012 at 6:36 PM, Wolfgang Denk wrote: Does testing just the first 64 KiB of RAM make any sense? Not to me. Ok, I will expand the mtest range. BTW: where are the exception vectors located? I don't know actually, but would like to l

Re: [U-Boot] [PATCH] mx6qsabresd: Add basic support

2012-04-13 Thread Fabio Estevam
On Wed, Apr 11, 2012 at 6:36 PM, Wolfgang Denk wrote: > Does testing just the first 64 KiB of RAM make any sense? Not to me. Ok, I will expand the mtest range. > BTW: where are the exception vectors located? I don't know actually, but would like to learn about it. Looked at the generated u-boo

[U-Boot] [PATCH] configs: Remove unused symbol CONFIG_DISCOVER_PHY

2012-04-13 Thread Fabio Estevam
CONFIG_DISCOVER_PHY is not used anywhere, so remove it from config files. Signed-off-by: Fabio Estevam --- include/configs/flea3.h|1 - include/configs/m28evk.h |1 - include/configs/mx28evk.h |1 - include/configs/mx35pdk.h |1 - include/configs/mx51evk.h |1 - incl

Re: [U-Boot] u-boot.bin is so large

2012-04-13 Thread Wolfgang Denk
Dear NiuHu, In message you wrote: > >I have compiled the u-boot(MPC8349EMDS) successfully. but the result > u-boot.bin is so large, extend 0xfe00 If I modify the TEXT_BASE value > in board/mpc8349emds/config.mk , the u-boot.bin size is changed. >The u-boot code version is 1.1.6 an

[U-Boot] Question: exported function

2012-04-13 Thread Mark McGahan
I'm using the exported functions in u-boot-2011.12. In include/_exports.h, udelay is exported, but the exported function declared in include/exports.h is __udelay. Why the difference? Thanks. Mark McGahan ___ U-Boot mailing list U-Boot@lists.denx.

[U-Boot] u-boot.bin is so large

2012-04-13 Thread NiuHu
Hi, I have compiled the u-boot(MPC8349EMDS) successfully. but the result u-boot.bin is so large, extend 0xfe00 If I modify the TEXT_BASE value in board/mpc8349emds/config.mk , the u-boot.bin size is changed. The u-boot code version is 1.1.6 and eldk version is 5.1 Following the in

Re: [U-Boot] Regression due to: arm: Add Prep subcommand support to bootm

2012-04-13 Thread Tom Rini
On Thu, Apr 12, 2012 at 10:52:43AM -0600, Stephen Warren wrote: > I just tried the latest u-boot/master, at commit: > > 3f0675d Merge branch 'marek.va...@gmail.com' of > git://git.denx.de/u-boot-staging > > This fails to boot a Linux kernel on my ARM Tegra board; the boot log is: > > ==

Re: [U-Boot] [PATCH v2 09/20] tegra: Add EMC support for optimal memory timings

2012-04-13 Thread Simon Glass
Hi Stephen, On Thu, Jan 19, 2012 at 4:10 PM, Stephen Warren wrote: > On 01/19/2012 04:59 PM, Simon Glass wrote: >> Hi Stephen, >> >> On Thu, Jan 19, 2012 at 1:58 PM, Stephen Warren wrote: >>> On 01/13/2012 02:35 PM, Simon Glass wrote: From: Jimmy Zhang Add support for setting up

Re: [U-Boot] U-boot customized

2012-04-13 Thread Graeme Russ
Hi Allyson, A) Please keep the mailing list Cc'd - I don't know much about ARM and nothing about the at91rm9200 - I'm just trying to be helpful :) B) Please don't top-post On 04/13/2012 09:30 PM, Allyson Pereira wrote: > Hi Graeme, > > Well... > > I'm running U-Boot 2011.03. > The compile proc

[U-Boot] [PATCH 9/9] imx: Add u-boot.imx as target for ARM9 i.MX SOCs

2012-04-13 Thread Timo Ketola
Signed-off-by: Timo Ketola --- arch/arm/cpu/arm926ejs/config.mk |6 ++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/arch/arm/cpu/arm926ejs/config.mk b/arch/arm/cpu/arm926ejs/config.mk index ffb2e6c..6a3a1bb 100644 --- a/arch/arm/cpu/arm926ejs/config.mk +++ b/arch/arm/cpu

[U-Boot] [PATCH 8/9] imx: nand: Don't invent new configuration variable

2012-04-13 Thread Timo Ketola
There is already CONFIG_SYS_NAND_BASE (or CONFIG_SYS_NAND_BASE_LIST) which must be defined for nand.c. Use that. nand.c sets IO_ADDR_R with that. Signed-off-by: Timo Ketola --- drivers/mtd/nand/mxc_nand.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/mtd/nand/

[U-Boot] [PATCH 7/9] imx: esdhc: Needed to use in imx-regs.h defined address

2012-04-13 Thread Timo Ketola
One might want to define CONFIG_SYS_FSL_ESDHC_ADDR with the macro already define in imx-regs.h, e.g. with IMX_MMC_SDHC1_BASE. Then the header must be included here. Signed-off-by: Timo Ketola --- drivers/mmc/fsl_esdhc.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/dri

[U-Boot] [PATCH 6/9] imx: usb: There is no such register

2012-04-13 Thread Timo Ketola
The reference manual of i.MX25 (nor i.MX31) does not define such register. This seems to access read only UH2_CAPLENGTH register (if CONFIG_MXC_USB_PORT is zero). Signed-off-by: Timo Ketola --- drivers/usb/host/ehci-mxc.c |2 -- 1 files changed, 0 insertions(+), 2 deletions(-) diff --git a/

[U-Boot] [PATCH 2/9] i.MX25: This architecture has a GPIO4 too

2012-04-13 Thread Timo Ketola
Signed-off-by: Timo Ketola --- drivers/gpio/mxc_gpio.c |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/drivers/gpio/mxc_gpio.c b/drivers/gpio/mxc_gpio.c index df6..3e94ac3 100644 --- a/drivers/gpio/mxc_gpio.c +++ b/drivers/gpio/mxc_gpio.c @@ -40,7 +40,8 @@ static un

[U-Boot] [PATCH 5/9] i.MX25: This architecture has almost the same USB-controller as i.MX31

2012-04-13 Thread Timo Ketola
Signed-off-by: Timo Ketola --- drivers/usb/host/ehci-mxc.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/usb/host/ehci-mxc.c b/drivers/usb/host/ehci-mxc.c index 61dbccd..65f40a4 100644 --- a/drivers/usb/host/ehci-mxc.c +++ b/drivers/usb/host/ehci-mxc.c @@ -125,

[U-Boot] [PATCH 4/9] imx: nand: Place BBT patterns into free OOB region

2012-04-13 Thread Timo Ketola
First two bytes of the first OOB of erase block are reserved for factory bad block marking, usually. Signed-off-by: Timo Ketola --- drivers/mtd/nand/mxc_nand.c | 35 +++ 1 files changed, 35 insertions(+), 0 deletions(-) diff --git a/drivers/mtd/nand/mxc_nand.c

[U-Boot] [PATCH 3/9] imx: fec: Resolve speed before configuring gasket

2012-04-13 Thread Timo Ketola
Gasket needs a different configuration for 10BaseT than for higher speeds. Signed-off-by: Timo Ketola --- drivers/net/fec_mxc.c | 43 --- 1 files changed, 24 insertions(+), 19 deletions(-) diff --git a/drivers/net/fec_mxc.c b/drivers/net/fec_mxc.c index

[U-Boot] [PATCH 1/9] i.MX25: esdhc: Add mxc_get_clock infrastructure

2012-04-13 Thread Timo Ketola
Defining CONFIG_FSL_ESDHC brings in a call to get_clocks, so let's implement get_clocks function. This is how it seems to be implemented elsewhere. Signed-off-by: Timo Ketola --- arch/arm/cpu/arm926ejs/mx25/generic.c | 27 +++ arch/arm/include/asm/arch-mx25/clock.h |

[U-Boot] [PATCH 0/9 v2] i.MX25: Miscellaneus fixes

2012-04-13 Thread Timo Ketola
These are the fixes I needed to do to get my board going. Changes in v2: - Rebased to u-boot-imx next - Patch 2: Fixed too long lines - Patch 3: Try not to break Gbit ether Changed configuration option putting gasket into RMII mode to CONFIG_RMII I'm not too sure how this should be done.

Re: [U-Boot] ARM Cortex 9 AMP mode support

2012-04-13 Thread Tushar K
Can anyone help me for below query. Tushar On Mon, Apr 9, 2012 at 2:22 PM, Tushar K wrote: > Hi, > > I would like to know whether u-boot has support for AMP mode for ARM > Cortex A9. If yes can you provide me the details on how to boot > multiple OS using u-boot? > If not, can I know what change

Re: [U-Boot] using different architecture / toolchain for SPL build

2012-04-13 Thread Måns Rullgård
Allen Martin writes: >> > only option I found that worked was to use an armv4 toolchain for >> > the armv4 bits and armv7 toolchain for the armv7 bits. >> I'm not an expert in this area, but this cannot be the right >> approach. Did you try asking on the binutils mailing list? This is >> where

Re: [U-Boot] [PATCH] i.MX6: arm2: Add AXI cache and Qos setting

2012-04-13 Thread Stefano Babic
On 13/04/2012 09:10, Liu Hui-R64343 wrote: >> -Original Message- >> From: Dirk Behme [mailto:dirk.be...@de.bosch.com] >> Sent: Friday, April 13, 2012 2:46 PM >> To: u-boot@lists.denx.de >> Cc: Dirk Behme; Jason Chen; Liu Hui-R64343; Stefano Babic; Fabio Estevam >> Subject: [PATCH] i.MX6: ar

Re: [U-Boot] [PATCH v5 4/4] ARM: SAMSUNG: support sdhci controller

2012-04-13 Thread Minkyu Kang
On 13 April 2012 15:30, Graeme Russ wrote: > Hi Prabhakar, > > On Fri, Apr 13, 2012 at 4:16 PM, Prabhakar Lad > wrote: >> Hi Jaehoon, >> > > [snip] > >>    There is no consistency for the #define  CONFIG_S5P_SDHCI, >>    few have been assigned to value 1, And looking at the patchset >>    the val

[U-Boot] [PATCH] i.MX6: Add ANATOP regulator init

2012-04-13 Thread Dirk Behme
Init the core regulator voltage to 1.2V. This is required for the correct functioning of the GPU and when the ARM LDO is set to 1.225V. This is a workaround to fix some memory clock jitter. Note: This should be but can't be done in the DCD. The bootloader prevents access to the ANATOP regist

Re: [U-Boot] [PATCH] i.MX6: arm2: Add AXI cache and Qos setting

2012-04-13 Thread Liu Hui-R64343
>-Original Message- >From: Dirk Behme [mailto:dirk.be...@de.bosch.com] >Sent: Friday, April 13, 2012 2:46 PM >To: u-boot@lists.denx.de >Cc: Dirk Behme; Jason Chen; Liu Hui-R64343; Stefano Babic; Fabio Estevam >Subject: [PATCH] i.MX6: arm2: Add AXI cache and Qos setting > >Do the same AXI ca