[U-Boot] [PATCH v2] doc: fix documentation of out-of-tree build

2014-11-06 Thread Timo Ketola
Correct environment variable for output directory is KBUILD_OUTPUT. Signed-off-by: Timo Ketola t...@exertus.fi --- v2 changes: - Fixed the example in the doc/README.kwbimage file functionally correct README |6 +++--- doc/README.kwbimage |4 ++-- 2 files

Re: [U-Boot] [PATCH] doc: fix documentation of output directory

2014-11-05 Thread Timo Ketola
On 05.11.2014 09:16, Masahiro Yamada wrote: On Tue, 4 Nov 2014 12:56:50 +0200 Timo Ketola t...@exertus.fi wrote: make distclean make yourboard_config - make $BUILD_DIR/u-boot.kwb + make $KBUILD_OUTPUT/u-boot.kwb Should be make yourboard_defconfig make u-boot.kwb Sounds logical

[U-Boot] [PATCH] doc: fix documentation of output directory

2014-11-04 Thread Timo Ketola
Correct environment variable is KBUILD_OUTPUT. Signed-off-by: Timo Ketola t...@exertus.fi --- README |6 +++--- doc/README.kwbimage |4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README b/README index 7b5538e..c3a9dfc 100644 --- a/README +++ b/README

Re: [U-Boot] [PATCH 3/8] Build: Ignore build tree and IDE control file

2012-08-12 Thread Timo Ketola
On 09.08.2012 23:26, Wolfgang Denk wrote: Dear Timo Ketola, In message 1334223234-23383-4-git-send-email-t...@exertus.fi you wrote: Signed-off-by: Timo Ketola t...@exertus.fi --- .gitignore |4 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/.gitignore b

Re: [U-Boot] [PATCH] i.MX25: Prepare for LCD driver in board adaptation

2012-04-26 Thread Timo Ketola
On 26.04.2012 12:57, Anatolij Gustschin wrote: ... On Fri, 20 Apr 2012 14:01:48 +0300 Timo Ketola t...@exertus.fi wrote: ... What if I implement the driver in my board folder instead? ... I would prefer not including the driver in the board code. The disadvantage of using the video API

Re: [U-Boot] [PATCH] i.MX2: Support splash screen

2012-04-26 Thread Timo Ketola
Dear Anatolij, Thanks for the review. Everything else is clear, but... On 26.04.2012 14:51, Anatolij Gustschin wrote: ... +++ b/drivers/video/mx2fb.c @@ -0,0 +1,92 @@ Please add Copyright info here. ... +++ b/include/mx2fb.h ... Please consider Stefano's comment regarding copyright

Re: [U-Boot] 'run' no longer aborts on an error, can someone please verify

2012-04-23 Thread Timo Ketola
Hi again, On 23.04.2012 08:43, Timo Ketola wrote: ... I took a quick glance over command/main.c common/main.c, of course 1341 rc = cmd_process(flag, argc, argv, repeatable); This might fix it: - rc = cmd_process(flag, argc, argv, repeatable

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

2012-04-23 Thread Timo Ketola
On 23.04.2012 10:55, Stefano Babic wrote: Instead of using CONFIG_MII or CONFIG_RMII, we can make use of CONFIG_FEC_XCV_TYPE, as it was already introduced, but making it consistent for all boards. Second for that. -- Timo ___ U-Boot mailing list

Re: [U-Boot] 'run' no longer aborts on an error, can someone please verify

2012-04-23 Thread Timo Ketola
On 23.04.2012 11:20, Wolfgang Denk wrote: I cannot confirm a problem with the run' command; tested with v2012.04 in sandbox : $ echo 'setenv fail printenv foo;setenv bug echo === BUG ===;run fail bug; reset' | ./u-boot I can confirm it: EXE4026 setenv

[U-Boot] [PATCH] Fix the behaviour of the 'run' command

2012-04-23 Thread Timo Ketola
If one command fails, 'run' command should terminate and not execute any remaining variables. Signed-off-by: Timo Ketola t...@exertus.fi --- This is based on u-boot-imx.git next. I hope that doesn't cause too much trouble. common/main.c |3 ++- 1 files changed, 2 insertions(+), 1 deletions

Re: [U-Boot] 'run' no longer aborts on an error, can someone please verify

2012-04-22 Thread Timo Ketola
Dear Gray, Jason, Heiko, Simon, I added you, Jason, Heiko and Simon, into the CC-list because there is your commits in the history which seems somewhere to change the behaviour below: On 22.04.2012 00:55, Gray Remlin wrote: U-Boot v2012.04 Marvell setenv ipaddr '192.168.1.130' Marvell

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

2012-04-20 Thread Timo Ketola
Dear Stefano, Troy, Scott, On 20.04.2012 10:30, Stefano Babic wrote: On 20/04/2012 06:35, Timo Ketola wrote: [undeleted Stefano from CC-list] Hi Timo, hi Troy, On 20.04.2012 00:23, Troy Kisky wrote: On 4/19/2012 2:13 PM, Troy Kisky wrote: On 4/19/2012 1:18 PM, Timo Ketola wrote

[U-Boot] [PATCH] i.MX25: Prepare for LCD driver in board adaptation

2012-04-20 Thread Timo Ketola
Dear Stefano, Anatolij, Scott, On 18.04.2012 13:47, Stefano Babic wrote: On 18/04/2012 10:54, Timo Ketola wrote: Signed-off-by: Timo Ketola t...@exertus.fi ... diff --git a/drivers/video/mx2fb.c b/drivers/video/mx2fb.c new file mode 100644 index 000..9ee4a3e IMHO it is better if you

[U-Boot] [PATCH] i.MX25: lcdc: Add register definitions

2012-04-20 Thread Timo Ketola
Signed-off-by: Timo Ketola t...@exertus.fi --- arch/arm/include/asm/arch-mx25/imx-regs.h | 32 + 1 files changed, 32 insertions(+), 0 deletions(-) diff --git a/arch/arm/include/asm/arch-mx25/imx-regs.h b/arch/arm/include/asm/arch-mx25/imx-regs.h index cf925d7

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

2012-04-19 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 t...@exertus.fi --- Changes in v4: - Rewrapped commit message Changes in v2: - Rebased to u-boot-imx next arch/arm/cpu

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

2012-04-19 Thread Timo Ketola
Signed-off-by: Timo Ketola t...@exertus.fi --- Changes in v2: - Dropped patches 2 and 3 so this one changed from 4 to 2 - Rebased to u-boot-imx next - Fixed too long line drivers/gpio/mxc_gpio.c |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/drivers/gpio/mxc_gpio.c b

[U-Boot] [PATCH V4 0/8] i.MX25: Preparing new board with miscellaneus fixes

2012-04-19 Thread Timo Ketola
are covered in these patches. Timo Ketola (8): i.MX25: esdhc: Add mxc_get_clock infrastructure i.MX25: This architecture has a GPIO4 too imx: fec: Resolve speed before configuring gasket imx: nand: Support flash based BBT i.MX25: usb: Set PORTSCx register imx: usb

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

2012-04-19 Thread Timo Ketola
Gasket needs a different configuration for 10BaseT than for higher speeds. Signed-off-by: Timo Ketola t...@exertus.fi --- Changes in v4: - Rewrapped commit message Changes in v2: - Dropped patches 2 and 3 so this one changed from 5 to 3 - Rebased to u-boot-imx next - Removed the remove

[U-Boot] [PATCH V4 4/8] imx: nand: Support flash based BBT

2012-04-19 Thread Timo Ketola
Signed-off-by: Timo Ketola t...@exertus.fi --- Changes in v4: - Removed blank lines inside #ifdef - Manipulate 'this-options' with '|=' instead of '=' Changes in v3: - Changed the subject - Changed the BBT pattern offsets (patch 4); They are now zero as in Linux Changes in v2: - Dropped

[U-Boot] [PATCH V4 5/8] i.MX25: usb: Set PORTSCx register

2012-04-19 Thread Timo Ketola
The USB controller in i.MX25 has a PORTSCx registers which should be set. In this regard it is similar to the controller in i.MX31. As this file is compiled only with i.MX25 and -31, #ifdef check can be removed. Signed-off-by: Timo Ketola t...@exertus.fi --- Changes in v4: - Reworded subject

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

2012-04-19 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 t...@exertus.fi --- Changes in v4: - Rewrapped commit message Changes in v2: - New patch in this series

[U-Boot] [PATCH V4 7/8] i.MX2: Include asm/types.h in arch-mx25/imx-regs.h

2012-04-19 Thread Timo Ketola
it with IMX_MMC_SDHCx_BASE in board configuration file. This patch fixes the build in that case. Signed-off-by: Timo Ketola t...@exertus.fi --- Changes in v4: - Proper fix was found so this patch changes altogether - subject, message and touched file Changes in v2: - New patch in this series arch

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

2012-04-19 Thread Timo Ketola
Signed-off-by: Timo Ketola t...@exertus.fi --- Changes in v3: - Dropped old patch number 8 imx: nand: Don't invent new... so this one changed from 9 to 8 Changes in v2: - New patch in this series - Add .imx target in the spirit of commit 303838 arch/arm/cpu/arm926ejs/config.mk |6

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

2012-04-19 Thread Timo Ketola
On 19.04.2012 22:27, Troy Kisky wrote: On 4/19/2012 1:55 AM, Timo Ketola wrote: -#if !defined(CONFIG_MII) - /* configure gasket for RMII, 50 MHz, no loopback, and no echo */ - writew(MIIGSK_CFGR_IF_MODE_RMII,fec-eth-miigsk_cfgr); +#if defined(CONFIG_RMII) While this change seems to make sense

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

2012-04-19 Thread Timo Ketola
[undeleted Stefano from CC-list] On 20.04.2012 00:28, Troy Kisky wrote: On 4/19/2012 1:55 AM, Timo Ketola wrote: ... + if (speed != _10BASET) ... Can you fix 10BASET for non-reduced pin count boards as well? Are they broken? How? If they are, I'm afraid I don't have a board to test

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

2012-04-19 Thread Timo Ketola
[undeleted Stefano from CC-list] On 20.04.2012 00:23, Troy Kisky wrote: On 4/19/2012 2:13 PM, Troy Kisky wrote: On 4/19/2012 1:18 PM, Timo Ketola wrote: On 19.04.2012 22:27, Troy Kisky wrote: On 4/19/2012 1:55 AM, Timo Ketola wrote: -#if !defined(CONFIG_MII) - /* configure gasket for RMII

[U-Boot] [PATCH 0/8 v3] i.MX25: Miscellaneus fixes

2012-04-18 Thread Timo Ketola
These are the fixes I needed to do to get my board going. Changes in v3: - Dropped old patch number 8 imx: nand: Don't invent new... - Changed the subject of patch 4 - Changed the BBT pattern offsets (patch 4); They are now zero as in Linux Changes in v2: - Rebased to u-boot-imx next - Patch

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

2012-04-18 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 t...@exertus.fi --- arch/arm/cpu/arm926ejs/mx25/generic.c | 27 +++ arch/arm/include/asm/arch

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

2012-04-18 Thread Timo Ketola
Signed-off-by: Timo Ketola t...@exertus.fi --- 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

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

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

[U-Boot] [PATCH 4/9] imx: nand: Support flash based BBT

2012-04-18 Thread Timo Ketola
Signed-off-by: Timo Ketola t...@exertus.fi --- drivers/mtd/nand/mxc_nand.c | 35 +++ 1 files changed, 35 insertions(+), 0 deletions(-) diff --git a/drivers/mtd/nand/mxc_nand.c b/drivers/mtd/nand/mxc_nand.c index 35e89a0..d97e7c3 100644 --- a/drivers/mtd/nand

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

2012-04-18 Thread Timo Ketola
Signed-off-by: Timo Ketola t...@exertus.fi --- 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

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

2012-04-18 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 t...@exertus.fi --- drivers/usb/host/ehci-mxc.c |2 -- 1 files changed, 0 insertions(+), 2 deletions

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

2012-04-18 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 t...@exertus.fi --- drivers/mmc/fsl_esdhc.c |1 + 1 files changed, 1 insertions(+), 0 deletions

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

2012-04-18 Thread Timo Ketola
Signed-off-by: Timo Ketola t...@exertus.fi --- 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

Re: [U-Boot] [PATCH 0/8 v3] i.MX25: Miscellaneus fixes

2012-04-18 Thread Timo Ketola
Hi, Please, don't get confused about the subject lines which suggest that I sent nine patches. At the last second I dropped the last patch and decided to send it separately. Stefano, did you get the [PATCH 0/8 v3]... message as a CC. I don't see you in CC list in the bounce I got myself and

[U-Boot] [PATCH 0/1] i.MX2: Support splash screen

2012-04-18 Thread Timo Ketola
I based this on the work here: http://www.imxdev.org/wiki/index.php?title=I.MX25_PDK_U-boot_SplashScreen ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

[U-Boot] [PATCH] i.MX2: Support splash screen

2012-04-18 Thread Timo Ketola
Signed-off-by: Timo Ketola t...@exertus.fi --- arch/arm/include/asm/arch-mx25/imx-regs.h | 29 + drivers/video/Makefile|1 + drivers/video/mx2fb.c | 92 + include/lcd.h | 21

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

2012-04-18 Thread Timo Ketola
On 18.04.2012 11:43, Stefano Babic wrote: On 18/04/2012 09:57, Timo Ketola wrote: 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. ... diff --git a/drivers/mmc/fsl_esdhc.c b

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

2012-04-18 Thread Timo Ketola
On 18.04.2012 12:05, Stefano Babic wrote: As far as I can see, only MX31 and MX25 boards are using this file. Other i.MX have its own initialization file. So #if defined(CONFIG_MX31) || defined(CONFIG_MX25) is always true. So, would it be OK to remove this check altogether? However, where is

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

2012-04-18 Thread Timo Ketola
On 18.04.2012 12:23, Wolfgang Denk wrote: Dear Timo Ketola, In message1334735852-23415-2-git-send-email-t...@exertus.fi you wrote: 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. ... ... I

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

2012-04-18 Thread Timo Ketola
On 18.04.2012 13:30, Stefano Babic wrote: On 18/04/2012 11:11, Timo Ketola wrote: Ok, I was afraid about something like that and tried first to include it in board configuration but that broke something else (at least arm926ejs didn't compile any more). By the way, why do you need it if you

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

2012-04-18 Thread Timo Ketola
On 18.04.2012 18:05, Stefano Babic wrote: On 18/04/2012 13:05, Timo Ketola wrote: Stefano Babic wrote: Timo Ketola wrote: PPC seems to use a predefined macro from asm/immap_8xxx.h files. Where is that file included? It is a different way. The board configuration file includes the register

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

2012-04-18 Thread Timo Ketola
On 18.04.2012 19:27, Timo Ketola wrote: But if the board configuration file in include/configs is the correct place to include it, I shall then find the obstacle on that approach... Ok, including asm/arch/imx-regs.h in board configuration file *and* asm/types.h in asm/arch/imx-regs.h file

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

2012-04-16 Thread Timo Ketola
On 13.04.2012 21:17, Scott Wood wrote: It looks like Linux wants the BBT to be at offset zero. Is there any plan to fix that? The two really should match... Somewhere in the process I got an impression that BBT couldn't be placed over the area where factory markers would be. But you made me

Re: [U-Boot] Introducing myself

2012-04-15 Thread Timo Ketola
On 15.04.2012 11:11, Marek Vasut wrote: btw don't let some duds ward you off ;-) Reading a handful of technical lists I know what you mean, but, While I'm prepared for my fair share of impertinent feedback, all comments so far have been helpful and well-founded. And I'd like to thank

Re: [U-Boot] Introducing myself

2012-04-15 Thread Timo Ketola
On 15.04.2012 06:12, Mike Frysinger wrote: g'luck! Thanks! -- Timo ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

[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

[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 t...@exertus.fi --- arch/arm/cpu/arm926ejs/mx25/generic.c | 27 +++ arch/arm/include/asm/arch

[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 t...@exertus.fi --- drivers/net/fec_mxc.c | 43 --- 1 files changed, 24 insertions(+), 19 deletions(-) diff --git a/drivers/net/fec_mxc.c b/drivers/net

[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 t...@exertus.fi --- drivers/mtd/nand/mxc_nand.c | 35 +++ 1 files changed, 35 insertions(+), 0 deletions(-) diff --git a/drivers/mtd

[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 t...@exertus.fi --- 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

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

2012-04-13 Thread Timo Ketola
Signed-off-by: Timo Ketola t...@exertus.fi --- 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

[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 t...@exertus.fi --- drivers/usb/host/ehci-mxc.c |2 -- 1 files changed, 0 insertions(+), 2 deletions

[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 t...@exertus.fi --- drivers/mmc/fsl_esdhc.c |1 + 1 files changed, 1 insertions(+), 0 deletions

[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 t...@exertus.fi --- drivers/mtd/nand/mxc_nand.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git

[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 t...@exertus.fi --- 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

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 Ketolat...@exertus.fi --- drivers/mtd/nand/mxc_nand.c | 35

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

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

[U-Boot] Introducing myself

2012-04-12 Thread Timo Ketola
Dear u-boot, I'm about to cooperate more with you here in the U-Boot list and thought that introducing myself first would be in order. My name is Timo Ketola. I work for a smallish (17 fellows) finnish company called Exertus (www.exertus.fi). I have a 25 year career on embedded systems

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

2012-04-12 Thread Timo Ketola
These are the fixes I needed to do to get my board going. [PATCH 1/8] i.MX25: add mxc_get_clock infrastructure SD-controller (fsl_esdhc.c) needs a clock frequency in gd-sdhc_clk. I tried to follow the idea of other architectures. [PATCH 2/8] i.MX: Add target flashable to offset 0 Helps

[U-Boot] [PATCH 1/8] i.MX25: add mxc_get_clock infrastructure

2012-04-12 Thread Timo Ketola
Signed-off-by: Timo Ketola t...@exertus.fi --- arch/arm/cpu/arm926ejs/mx25/generic.c | 27 +++ arch/arm/include/asm/arch-mx25/clock.h | 23 +++ 2 files changed, 50 insertions(+), 0 deletions(-) diff --git a/arch/arm/cpu/arm926ejs/mx25/generic.c b

[U-Boot] [PATCH 3/8] Build: Ignore build tree and IDE control file

2012-04-12 Thread Timo Ketola
Signed-off-by: Timo Ketola t...@exertus.fi --- .gitignore |4 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/.gitignore b/.gitignore index e4e95e2..3f5eaa7 100644 --- a/.gitignore +++ b/.gitignore @@ -15,6 +15,9 @@ *.patch *.bin +# Build tree +/build-* + # # Top

[U-Boot] [PATCH 2/8] i.MX: Add target flashable to offset 0

2012-04-12 Thread Timo Ketola
.imx image directly from mkimage must be flashed at offset 0x400 into the nand. Thats a little hard with e.g. openocd. Signed-off-by: Timo Ketola t...@exertus.fi --- Makefile |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/Makefile b/Makefile index 1446131..b3f1279

[U-Boot] [PATCH 4/8] i.MX25: Has a GPIO4 too

2012-04-12 Thread Timo Ketola
Signed-off-by: Timo Ketola t...@exertus.fi --- drivers/gpio/mxc_gpio.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/gpio/mxc_gpio.c b/drivers/gpio/mxc_gpio.c index df6..b5972fd 100644 --- a/drivers/gpio/mxc_gpio.c +++ b/drivers/gpio/mxc_gpio.c @@ -40,7

[U-Boot] [PATCH 6/8] i.MX25: Add Exertus EXE4026 board

2012-04-12 Thread Timo Ketola
Signed-off-by: Timo Ketola t...@exertus.fi --- boards.cfg |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/boards.cfg b/boards.cfg index 28cc345..44e80ed 100644 --- a/boards.cfg +++ b/boards.cfg @@ -155,6 +155,7 @@ rd6281a arm arm926ejs

[U-Boot] [PATCH 5/8] MXC FEC: Resolve speed before configuring gasket

2012-04-12 Thread Timo Ketola
Signed-off-by: Timo Ketola t...@exertus.fi --- drivers/net/fec_mxc.c | 41 ++--- 1 files changed, 22 insertions(+), 19 deletions(-) diff --git a/drivers/net/fec_mxc.c b/drivers/net/fec_mxc.c index 1fdd071..5d11df2 100644 --- a/drivers/net/fec_mxc.c +++ b

[U-Boot] [PATCH 7/8] MXC NAND: Place BBT patterns into free OOB region

2012-04-12 Thread Timo Ketola
Signed-off-by: Timo Ketola t...@exertus.fi --- drivers/mtd/nand/mxc_nand.c | 35 +++ 1 files changed, 35 insertions(+), 0 deletions(-) diff --git a/drivers/mtd/nand/mxc_nand.c b/drivers/mtd/nand/mxc_nand.c index 35e89a0..73813a2 100644 --- a/drivers/mtd/nand

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

2012-04-12 Thread Timo Ketola
Signed-off-by: Timo Ketola t...@exertus.fi --- 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

Re: [U-Boot] [PATCH 6/8] i.MX25: Add Exertus EXE4026 board

2012-04-12 Thread Timo Ketola
On 12.04.2012 13:43, Fabio Estevam wrote: Please provide some more details in the commit message about this board, which peripherals are currently supported, where does it boot from, etc. Please also add an entry for your board in the MAINTAINERS file. You seem to have missed to do a git add

Re: [U-Boot] [PATCH 2/8] i.MX: Add target flashable to offset 0

2012-04-12 Thread Timo Ketola
On 12.04.2012 14:11, Stefano Babic wrote: On 12/04/2012 11:33, Timo Ketola wrote: +$(obj)u-boot-nand.imx: $(obj)u-boot.imx + dd if=$ of=$@ seek=2 + I wonder why we need this in u-boot code and to set this rule in the main Makefile. You can always do this after generating u-boot

Re: [U-Boot] [PATCH 3/8] Build: Ignore build tree and IDE control file

2012-04-12 Thread Timo Ketola
On 12.04.2012 14:13, Stefano Babic wrote: +/u-boot.geany What is this ? I do not find any occurency in u-boot tree. It is my IDE control file. I didn't want to publish this patch at all but I have still a lot of learning about git. -- Timo ___

Re: [U-Boot] [PATCH 3/8] Build: Ignore build tree and IDE control file

2012-04-12 Thread Timo Ketola
On 12.04.2012 15:00, Stefano Babic wrote: Can be helpful for you to define your global .gitignore ... OK, thanks for that tip! -- Timo ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH 6/8] i.MX25: Add Exertus EXE4026 board

2012-04-12 Thread Timo Ketola
On 12.04.2012 15:06, Stefano Babic wrote: +exe4026 arm arm926ejs exe4026 exertusmx25 exe4026:IMX_CONFIG=board/exertus/exe4026/imximage.cfg I assume you write also some code for this board. Maybe forgotten ? Yes, later. I have

Re: [U-Boot] [PATCH 4/8] i.MX25: Has a GPIO4 too

2012-04-12 Thread Timo Ketola
On 12.04.2012 15:10, Wolfgang Denk wrote: Please make sure to run your patches through checkpatch ! Sorry about that. Now I could use some help about how to best edit my commits... -- Timo ___ U-Boot mailing list U-Boot@lists.denx.de

Re: [U-Boot] [PATCH 5/8] MXC FEC: Resolve speed before configuring gasket

2012-04-12 Thread Timo Ketola
On 12.04.2012 15:05, Stefano Babic wrote: On 12/04/2012 11:33, Timo Ketola wrote: Signed-off-by: Timo Ketolat...@exertus.fi --- a/drivers/net/fec_mxc.c +++ b/drivers/net/fec_mxc.c Please consider to rebase your patch on u-boot-imx, next branch. There are already a couple of patches related

Re: [U-Boot] [PATCH 5/8] MXC FEC: Resolve speed before configuring gasket

2012-04-12 Thread Timo Ketola
On 12.04.2012 22:59, Troy Kisky wrote: On 4/12/2012 2:33 AM, Timo Ketola wrote: Signed-off-by: Timo Ketolat...@exertus.fi + if (speed == _100BASET) This will break gigabit speed. How about if (speed != _10BASET) Looks fine to me. I'll put it that way in v2. -- Timo

Re: [U-Boot] [PATCH 4/8] i.MX25: Has a GPIO4 too

2012-04-12 Thread Timo Ketola
On 12.04.2012 16:09, Detlev Zundel wrote: What works very nicely for me is to do the changes, do git add on them and then do a COMMIT=commit ; git commit --squash=$COMMIT ; git rebase -i --autosquash ${COMMIT}^ Thanks - thats the kind of handholding I'm missing... -- Timo