Re: [PATCH 16/16] arm: Remove mx31pdk_defconfig board

2020-07-08 Thread Magnus Lilja
On Wed, 8 Jul 2020 at 15:04, Jagan Teki wrote: > > On Sat, Jun 13, 2020 at 7:26 PM Jagan Teki wrote: > > > > DM, OF_CONTROL, DM_SPI and other driver model migration > > deadlines are expired for this board. > > > > Remove it. > > > > Patch

Re: [PATCH 00/16] spi: dm-conversion (part3)

2020-07-08 Thread Magnus Lilja
On Wed, 8 Jul 2020 at 14:55, Stefano Babic wrote: > > On 08.07.20 13:40, Jagan Teki wrote: > > On Sat, Jun 13, 2020 at 9:11 PM Tom Rini wrote: > >> > >> On Sat, Jun 13, 2020 at 07:24:39PM +0530, Jagan Teki wrote: > >> > >>> This series updated boards which are using mxc_spi > >>> driver. > >>> >

Re: [PATCH 2/7] mx31pdk: Move CONFIG_SPL_LDSCRIPT to defconfig

2020-02-24 Thread Magnus Lilja
On Mon, 24 Feb 2020 at 19:05, Tom Rini wrote: > As there is only one mx31pdk config file and with upcoming updates to > the Kconfig parsing logic, rather than have an entry in > board/freescale/mx31pdk/Kconfig, move this single setting to the > defconfig file. > > Cc: Magnus L

[U-Boot] [PATCH 1/2] mx31pdk: Convert CONFIG_MX31 flag to use Kconfig.

2018-05-11 Thread Magnus Lilja
Move CONFIG_MX31 from mx31pdk.h to mx31pdk_defconfig and introduce necessary Kconfig changes as well. Signed-off-by: Magnus Lilja --- arch/arm/Kconfig | 14 ++ arch/arm/mach-imx/mx3/Kconfig | 20 configs/mx31pdk_defconfig | 3 ++- include

[U-Boot] [PATCH 2/2] mx31: Convert MX31_HCLK_FREQ and MX31_CLK32 to Kconfig.

2018-05-11 Thread Magnus Lilja
Also remove the #ifdef's from clock.h since the Kconfig values defaults the to old default values in clock.h. Signed-off-by: Magnus Lilja --- arch/arm/include/asm/arch-mx31/clock.h | 8 arch/arm/mach-imx/mx3/Kconfig | 14 ++ 2 files changed, 14 insertions(

[U-Boot] [PATCH 0/2] i.MX31PDK: Move CONFIG_MX31* to Kconfig

2018-05-11 Thread Magnus Lilja
-boot with an old GCC v5 compiler in order to get it to boot. Seems like either something is broken with newer GCC or (more likely) something is broken in the U-boot code when using GCC >= 6 for the ARM1136/i.MX31PDK. Magnus Lilja (2): mx31pdk: Convert CONFIG_MX31 flag to use Kconfig. m

[U-Boot] Request for known good GCC toolchain for U-boot/ARM11

2018-05-10 Thread Magnus Lilja
Hi all, I'm trying to make sure that recent U-boot versions still boot on the i.MX31PDK board and have problems locating/building a toolchain based on GCC > v6 that produces working images. The i.MX31PDK uses a ARM1136 core. My old toolchain, which is a Code Sourcery toolchain for ARM 2014-0

Re: [U-Boot] [PATCH v2 4/4] autoboot.c: Add feature to stop autobooting via SHA256 encrypted password

2015-05-15 Thread Magnus Lilja
This feature is enabled by defined these config options: > CONFIG_AUTOBOOT_KEYED > CONFIG_AUTOBOOT_STOP_STR_SHA256 > > Signed-off-by: Stefan Roese > Cc: Simon Glass > Cc: Magnus Lilja > --- > v2: > - AUTOBOOT_STOP_STR_SHA256 is a string and not bool > - Add

Re: [U-Boot] [PATCH v1 4/4] autoboot.c: Add feature to stop autobooting via SHA256 encrypted password

2015-05-07 Thread Magnus Lilja
Hi Stefan On 7 May 2015 at 14:13, Stefan Roese wrote: > This patch adds the feature to only stop the autobooting, and therefor > boot into the U-Boot prompt, when the input string / password matches > a values that is encypted via a SHA256 hash and saved in the environment. > > This feature is en

Re: [U-Boot] [PATCH 07/14] mx31pdk: Use the default CONFIG_SYS_PBSIZE

2015-03-03 Thread Magnus Lilja
the error > message: > "Unknown command '' - try 'help'". > > Use the default CONFIG_SYS_PBSIZE definition from config_fallbacks.h to solve > this problem. > > Cc: Magnus Lilja > Signed-off-by: Fabio Estevam > --- > include/configs/mx31pdk

Re: [U-Boot] [PATCH 1/2] mx31: Fix boot hang by avoiding vector relocation

2015-02-24 Thread Magnus Lilja
Add a specific relocate_vectors macro that skips the vector relocation, as >> the >> i.MX31 SoC does not provide RAM at the high vectors address (0x), and >> (0x) maps to ROM. >> >> This allows mx31 to boot again. >> >> Cc: Anatolij Gustschi

Re: [U-Boot] [PATCH 1/2] arm: Make reset position-independent

2014-09-05 Thread Magnus Lilja
; to the reset routine. This new commit restores the original behavior, > which just performed a relative branch. This fixes the boot of mx31pdk > and tx25. > > Signed-off-by: Benoît Thébaudeau > Reported-by: Helmut Raiger > Cc: Albert Aribaud

Re: [U-Boot] SPL broken on i.mx31 platforms

2014-09-04 Thread Magnus Lilja
Hi On 4 September 2014 21:50, Benoît Thébaudeau wrote: > Hi Magnus, > v2014.10 is getting closer with the release of -rc2. It would be much better to get mx31pdk fixed for this release. Helmut, can you send a patch for the 'b reset' issue? If not, do you agree that someone else >>

Re: [U-Boot] SPL broken on i.mx31 platforms

2014-09-04 Thread Magnus Lilja
Hi On 3 September 2014 03:13, Tom Rini wrote: > On Wed, Sep 03, 2014 at 02:53:17AM +0200, Benoît Thébaudeau wrote: >> > IMHO, the 'b reset' and the 'nop nop nop' are two different issues, so >> > Helmut should create a formal patch for the 'b reset' issue right now, >> > which will fix mx31pdk (a

Re: [U-Boot] SPL broken on i.mx31 platforms

2014-08-15 Thread Magnus Lilja
Hi On 13 August 2014 14:01, Helmut Raiger wrote: > On 08/05/2014 02:32 PM, Magnus Lilja wrote: >> >> Hi Fabio, >> >> On 5 August 2014 14:28, Fabio Estevam wrote: >>> >>> Hi Magnus, >>> >> I would expect Helmut to create a formal

[U-Boot] [PATCH] i.MX31 PDK: Enable generic board for i.MX31 PDK

2014-08-05 Thread Magnus Lilja
Enable CONFIG_SYS_GENERIC_BOARD for the i.MX31 PDK board. Tested on actual hardware. Signed-off-by: Magnus Lilja --- Note: This was tested in a tree where the start.S issue discussed in the "SPL broken on i.mx31 platforms" thread has been fixed. include/configs/mx31pdk.h | 2

Re: [U-Boot] SPL broken on i.mx31 platforms

2014-08-05 Thread Magnus Lilja
Hi Fabio, On 5 August 2014 14:28, Fabio Estevam wrote: > Hi Magnus, > > On Mon, Aug 4, 2014 at 5:23 PM, Magnus Lilja wrote: > >> I have now done some tests on i.MX31 PDK: >> * v2013.04 and v2014.04 works >> * v2014.07 and "tip of tree as of this mail" d

Re: [U-Boot] SPL broken on i.mx31 platforms

2014-08-04 Thread Magnus Lilja
Hi On 15 July 2014 11:31, Helmut Raiger wrote: > Hi, > >thx Magnus for the test, could you possibly change the few lines of code > and test again: > > diff --git a/arch/arm/cpu/arm1136/start.S b/arch/arm/cpu/arm1136/start.S > index 1cfcca9..53bde12 100644 > --- a/arch/arm/cpu/arm1136/start.S

Re: [U-Boot] SPL broken on i.mx31 platforms

2014-07-11 Thread Magnus Lilja
Hi On 8 July 2014 10:05, Helmut Raiger wrote: > I meant, that the SPL is now doing the RAM init and copying of the SPL code > correctly. RAM is working, the SPL code is at 0x87dc after that (CRCed > it via JTAG). > I could not track it further (I have very limited development time right now >

Re: [U-Boot] SPL broken on i.mx31 platforms

2014-07-04 Thread Magnus Lilja
have access to i.MX31 board (PDK) and can definitely help testing any patch to this problem. However, I won't be able to do any verification until beginning of August. Regards, Magnus Lilja ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH 1/3] arm1136: Fix NAND boot

2011-02-13 Thread Magnus Lilja
On 02/12/2011 08:07 AM, Albert ARIBAUD wrote: > Le 11/02/2011 19:58, Magnus Lilja a écrit : >> Hi >> >> I've tested Fabio's patch series and it makes the i.MX31 PDK boot nicely >> from NAND again. So from my point of view I >> recommend to use thes

Re: [U-Boot] [PATCH 1/3] arm1136: Fix NAND boot

2011-02-11 Thread Magnus Lilja
Hi I've tested Fabio's patch series and it makes the i.MX31 PDK boot nicely from NAND again. So from my point of view I recommend to use these patches. Best regards, Magnus On 02/09/2011 12:17 PM, Fabio Estevam wrote: > Signed-off-by: Fabio Estevam > Signed-off-

Re: [U-Boot] [RFC] ARM: mx31pdk: Use the new relocation scheme

2011-02-08 Thread Magnus Lilja
n would be to change my patch somewhat to apply it first and then update Fabios patch to only touch the i.MX31-PDK specific files. I cannot work on that before Thursday or Friday though. Regards, Magnus Lilja ___ U-Boot mailing list U-Boot@lists.denx.de

[U-Boot] [PATCH] ARM: Fix startup code to make booting from NAND work again.

2011-02-08 Thread Magnus Lilja
Signed-off-by: Magnus Lilja --- Note: I do think that this patch requires Fabio Estevam's patch to be applied first since it touches the same lines ~269. arch/arm/cpu/arm1136/start.S | 16 1 files changed, 4 insertions(+), 12 deletions(-) diff --git a/arch/arm/cpu/ar

Re: [U-Boot] [RFC] ARM: mx31pdk: Use the new relocation scheme

2011-02-07 Thread Magnus Lilja
Hi On 2011-02-07 15:13, Stefano Babic wrote: >>> I have no idea if this breaks other boards but at least it's start >>> for further work. I tried it on the imx31 litekit (which boots from >>> NOR) but that board doesn't seem to boot even before applying >>> Fabios patch, I'll see if I can figure o

Re: [U-Boot] [RFC] ARM: mx31pdk: Use the new relocation scheme

2011-02-06 Thread Magnus Lilja
rk, perhaps someone with more insight in the mechanisms can figure out the correct assembler code. I have no idea if this breaks other boards but at least it's start for further work. I tried it on the imx31 litekit (which boots from NOR) but that board doesn't seem to boot even

Re: [U-Boot] [PATCH] i.MX31: Fix Litekit board to use new ARM relocation support.

2010-10-18 Thread Magnus Lilja
Hi Stefano, On 2010-10-18 10:30, Stefano Babic wrote: > On 10/16/2010 07:47 PM, Magnus Lilja wrote: >> Tested on hardware. Boots Linux nicely. >> >> Signed-off-by: Magnus Lilja >> --- > > Hi Magnus, > >> @@ -31,12 +31,18 @@ DECLARE_GLO

Re: [U-Boot] uboot imx31 nand boot

2010-10-16 Thread Magnus Lilja
p://git.denx.de/?p=u-boot.git;a=commitdiff;h=f3bb63a304c4e76010a2a4e99da61f7b6c77 broke support for booting from 8 bit NAND devices. The PDK board uses 16 bit NAND bus and works. Regards, Magnus Lilja ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

[U-Boot] [PATCH] i.MX31: Fix Litekit board to use new ARM relocation support.

2010-10-16 Thread Magnus Lilja
Tested on hardware. Boots Linux nicely. Signed-off-by: Magnus Lilja --- board/logicpd/imx31_litekit/config.mk |2 +- board/logicpd/imx31_litekit/imx31_litekit.c | 10 -- include/configs/imx31_litekit.h |7 +++ 3 files changed, 16 insertions(+), 3

Re: [U-Boot] [STATUS] v2010.09-rc2 is out / "next" branch available

2010-09-25 Thread Magnus Lilja
Hi Wolfgang On 2010-09-19 20:02, Wolfgang Denk wrote: > Hello everybody: > > * U-Boot v2010.09-rc2 was released on Sun, 19 Sep 2010. > > * Release "v2010.09" is scheduled in 18 days - on September 28, 2010. > > For details please see > http://www.denx.de/wiki/U-Boot/ReleaseCycle > > Please

Re: [U-Boot] [PATCH 00/26] arm: add full relocation / cache support

2010-08-12 Thread Magnus Lilja
someone makes a change he's responsible for updating all code that's affected by the change. Anyway, I hope that either you or Heiko Schocher ping all the maintainers of affected boards. If I was one, I would certainly easily miss this (don't rea

Re: [U-Boot] MX31PDK not booting with U-boot v2010.06

2010-07-01 Thread Magnus Lilja
estigated why that commit breaks small page booting and I doubt I will spend time on it before mid August. Regards, Magnus Lilja ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

[U-Boot] MX31PDK not booting with U-boot v2010.06

2010-06-30 Thread Magnus Lilja
Hi all, Has anyone tried the latest release on the i.MX31 PDK board? I downloaded it on my board, using U-boot v2010.03-rc1 to download and update U-boot, and after a reset it doesn't start. Since I don't have a debugger right now I don't know more than that. I'll get my hands on one and re-fl

[U-Boot] [PATCH] i.MX31: Activate NAND support for i.MX31 Litekit board.

2010-04-23 Thread Magnus Lilja
Signed-off-by: Magnus Lilja --- include/configs/imx31_litekit.h | 10 ++ 1 files changed, 10 insertions(+), 0 deletions(-) diff --git a/include/configs/imx31_litekit.h b/include/configs/imx31_litekit.h index 6131008..d58ca8a 100644 --- a/include/configs/imx31_litekit.h +++ b/include

Re: [U-Boot] [PATCH V2 2/6] MX: RTC13783 uses general function to access PMIC

2010-04-22 Thread Magnus Lilja
Hi On 04/19/2010 11:04 PM, Stefano Babic wrote: > The RTC is part of the Freescale's PMIC controller. > Use general function to access to PMIC internal registers. > > Signed-off-by: Stefano Babic > --- > > Changes since last version: configuration of the RTC must be > updated for the boards tha

Re: [U-Boot] [PATCH 1/6] MX: Added Freescale Power Management Driver

2010-04-19 Thread Magnus Lilja
for each function it appears in.) I applied your patches on top of the u-boot-imx-tree. Regards, Magnus Lilja ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

[U-Boot] [PATCH v3] SPI: Fix 32 bit transfers in mxc_spi.c

2010-02-09 Thread Magnus Lilja
and i.MX31 PDK using 32 bit transfers to the MC13783/ATLAS chip (using the 'date' command). Signed-off-by: Magnus Lilja --- Changes since v2: Changed bitlen != 32 to (bitlen % 32). drivers/spi/mxc_spi.c |9 + 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/dri

Re: [U-Boot] [PATCH v2] SPI: Fix 32 bit transfers in mxc_spi.c

2010-02-08 Thread Magnus Lilja
Tom skrev: > Magnus Lilja wrote: >> Commit f9b6a1575d9f1ca192e4cb60e547aa66f08baa3f, "i.MX31: fix SPI >> driver for shorter than 32 bit" broke 32 bit transfers. This patch >> makes single 32 bit transfer work again. >> >> Transfer lengths that are k

Re: [U-Boot] [STATUS] i.MX / Freescale ARM custodian needed

2010-02-05 Thread Magnus Lilja
Tom, Tom skrev: > Wolfgang Denk wrote: >> Hello, >> >> Fred Fan, our so-far custodian for the Freescale (i.MX) ARM >> architecture systems, just informed me that he cannot longer perform >> this work. >> >> Any volunteers to help out? >> >> Best regards, >> >> Wolfgang Denk >> > In the interim, I

Re: [U-Boot] [PATCH v2] SPI: Fix 32 bit transfers in mxc_spi.c

2010-01-23 Thread Magnus Lilja
Dear Feng and Tom, Is this in a queue somewhere to be merged? If not, could you please apply this and make a pull request for it? Bset regards, Magnus Lilja Wolfgang Denk skrev: > Dear Feng, > > can you please take care of this? > > In message <1263726375-4929-1-git-se

Re: [U-Boot] [PATCH-V2 4/9] Nand mxc_nand add v1.1 controller support

2010-01-20 Thread Magnus Lilja
Scott, Scott Wood skrev: > On Sat, Jan 16, 2010 at 09:50:22PM -0700, John Rigby wrote: >> Add support for version 1.1 of the nfc nand flash >> controller which is on the i.mx25 soc. >> >> Use CONFIG_NAND_MXC_V1 and CONFIG_NAND_MXC_V1_1 to >> differentiate between the two supported versions. >> >>

Re: [U-Boot] [PATCH-V2 4/9] Nand mxc_nand add v1.1 controller support

2010-01-19 Thread Magnus Lilja
John, Magnus Lilja skrev: >> Magnus, can you test this patch on MX31? > > Yes, but I'm not sure when. Wednesday or Thursday perhaps. I tried applying the whole series on Wolfgang's latest tree but I get errors from stgit when trying to apply this patch in the series

Re: [U-Boot] [PATCH-V2 4/9] Nand mxc_nand add v1.1 controller support

2010-01-18 Thread Magnus Lilja
Scott, Scott Wood skrev: > On Sat, Jan 16, 2010 at 09:50:22PM -0700, John Rigby wrote: >> Add support for version 1.1 of the nfc nand flash >> controller which is on the i.mx25 soc. >> >> Use CONFIG_NAND_MXC_V1 and CONFIG_NAND_MXC_V1_1 to >> differentiate between the two supported versions. >> >>

[U-Boot] [PATCH 1/2] MXC: Add large page oob layout for i.MX31 NAND controller.

2010-01-17 Thread Magnus Lilja
: Magnus Lilja --- drivers/mtd/nand/mxc_nand.c | 12 1 files changed, 12 insertions(+), 0 deletions(-) diff --git a/drivers/mtd/nand/mxc_nand.c b/drivers/mtd/nand/mxc_nand.c index 3ce3adb..800ee9c 100644 --- a/drivers/mtd/nand/mxc_nand.c +++ b/drivers/mtd/nand/mxc_nand.c @@ -149,6 +149,13

[U-Boot] [PATCH 2/2] MX31: Activate NAND environment on i.MX31 PDK board.

2010-01-17 Thread Magnus Lilja
Signed-off-by: Magnus Lilja --- include/configs/mx31pdk.h | 25 + 1 files changed, 21 insertions(+), 4 deletions(-) diff --git a/include/configs/mx31pdk.h b/include/configs/mx31pdk.h index fb61432..bee2f45 100644 --- a/include/configs/mx31pdk.h +++ b/include/configs

[U-Boot] [PATCH 0/2] i.MX31: Activate NAND support for PDK board.

2010-01-17 Thread Magnus Lilja
same layout as the latest Linux driver, for i.MX31 and finally activates general NAND support and specifically NAND environment for the i.MX31 PDK board. Magnus Lilja (2): MXC: Add large page oob layout for i.MX31 NAND controller. MX31: Activate NAND environment on i.MX31 PDK board. drivers

[U-Boot] [PATCH v2] SPI: Fix 32 bit transfers in mxc_spi.c

2010-01-17 Thread Magnus Lilja
and i.MX31 PDK using 32 bit transfers to the MC13783/ATLAS chip (using the 'date' command). Signed-off-by: Magnus Lilja --- As discussed on the mailing list, Guennadi Liakhovetski thinks that all transfers > 16 bits are broken. This patch fixes the 32 bit case and makes sure the user

Re: [U-Boot] [PATCH] SPI: Fix 32 bit transfers in mxc_spi.c

2010-01-11 Thread Magnus Lilja
Hi Guennadi Liakhovetski skrev: Hm, I'm afraid, I broke more than just that. Now that I look at this loop, looks like I broke not only 32-bit transfers, but also all transfers with bitlen > 16, and this fix is then incomplete - it doesn't fix cases with bitlen > 32. Magnus, loo

Re: [U-Boot] [PATCH] SPI: Fix 32 bit transfers in mxc_spi.c

2010-01-04 Thread Magnus Lilja
Hi Magnus Lilja skrev: > 2009/12/3 Guennadi Liakhovetski : >> On Wed, 2 Dec 2009, Wolfgang Denk wrote: >> >>> Dear Guennadi, >>> >>> In message <1257965907-5622-1-git-send-email-lilja.mag...@gmail.com> Magnus >>> Lilja wrote: >&g

Re: [U-Boot] [PATCH v2 0/3] MXC: Add NAND support for i.MX31

2010-01-04 Thread Magnus Lilja
Hi I received no further comments on these patches after posting v2 (the NAND part is ACK-ed by Scott Wood). Could someone pull these? I applied them to the current u-boot tip without any problems. Regads, Magnus Magnus Lilja skrev: > Hi all, > > This series adds NAND support for i.M

Re: [U-Boot] [PATCH] SPI: Fix 32 bit transfers in mxc_spi.c

2009-12-02 Thread Magnus Lilja
2009/12/3 Guennadi Liakhovetski : > On Wed, 2 Dec 2009, Wolfgang Denk wrote: > >> Dear Guennadi, >> >> In message <1257965907-5622-1-git-send-email-lilja.mag...@gmail.com> Magnus >> Lilja wrote: >> > diff --git a/drivers/spi/mxc_spi.c b/drivers/spi

[U-Boot] [PATCH v2 1/3] MX31: Add struct definition for clock control module in i.MX31.

2009-11-12 Thread Magnus Lilja
Signed-off-by: Magnus Lilja --- include/asm-arm/arch-mx31/mx31-regs.h | 39 + 1 files changed, 39 insertions(+), 0 deletions(-) diff --git a/include/asm-arm/arch-mx31/mx31-regs.h b/include/asm-arm/arch-mx31/mx31-regs.h index 51b02a2..6f6e9a4 100644 --- a

[U-Boot] [PATCH v2 2/3] mxc_nand: Update driver to work with i.MX31.

2009-11-12 Thread Magnus Lilja
Tested on i.MX31 Litekit. Signed-off-by: Magnus Lilja Acked-by: Scott Wood --- Change since v1: Renamed sc_regs variable for i.MX31 to cc_regs. drivers/mtd/nand/mxc_nand.c | 34 +++--- 1 files changed, 31 insertions(+), 3 deletions(-) diff --git a/drivers/mtd

[U-Boot] [PATCH v2 0/3] MXC: Add NAND support for i.MX31

2009-11-12 Thread Magnus Lilja
Hi all, This series adds NAND support for i.MX31 using the mxc_nand driver that was added for i.MX27. The same NAND flash controller is used in i.MX31. Tested on i.MX31 Litekit. MAKEALL ARM11&ARM9 performed. Changes since v1: Changed variable name in mxc_nand.c. Regards, Magnus Magnus L

[U-Boot] [PATCH v2 3/3] MX31: Activate NAND support for i.MX31 Litekit board.

2009-11-12 Thread Magnus Lilja
Signed-off-by: Magnus Lilja --- include/configs/imx31_litekit.h | 10 ++ 1 files changed, 10 insertions(+), 0 deletions(-) diff --git a/include/configs/imx31_litekit.h b/include/configs/imx31_litekit.h index 6131008..f413994 100644 --- a/include/configs/imx31_litekit.h +++ b/include

[U-Boot] [PATCH v1 0/3] MXC: Add NAND support for i.MX31

2009-11-11 Thread Magnus Lilja
Hi all, This series adds NAND support for i.MX31 using the mxc_nand driver that was added for i.MX27. The same NAND flash controller is used in i.MX31. Tested on i.MX31 Litekit. MAKEALL ARM11&ARM9 performed. Regards, Magnus Magnus Lilja (3): MX31: Add struct definition for clock con

[U-Boot] [PATCH v1 2/3] mxc_nand: Update driver to work with i.MX31.

2009-11-11 Thread Magnus Lilja
Tested on i.MX31 Litekit. Signed-off-by: Magnus Lilja --- drivers/mtd/nand/mxc_nand.c | 34 +++--- 1 files changed, 31 insertions(+), 3 deletions(-) diff --git a/drivers/mtd/nand/mxc_nand.c b/drivers/mtd/nand/mxc_nand.c index eb0323f..fc111b5 100644 --- a/drivers

[U-Boot] [PATCH v1 1/3] MX31: Add struct definition for clock control module in i.MX31.

2009-11-11 Thread Magnus Lilja
Signed-off-by: Magnus Lilja --- include/asm-arm/arch-mx31/mx31-regs.h | 39 + 1 files changed, 39 insertions(+), 0 deletions(-) diff --git a/include/asm-arm/arch-mx31/mx31-regs.h b/include/asm-arm/arch-mx31/mx31-regs.h index 51b02a2..6f6e9a4 100644 --- a

[U-Boot] [PATCH v1 3/3] MX31: Activate NAND support for i.MX31 Litekit board.

2009-11-11 Thread Magnus Lilja
Signed-off-by: Magnus Lilja --- include/configs/imx31_litekit.h | 10 ++ 1 files changed, 10 insertions(+), 0 deletions(-) diff --git a/include/configs/imx31_litekit.h b/include/configs/imx31_litekit.h index 6131008..f413994 100644 --- a/include/configs/imx31_litekit.h +++ b/include

[U-Boot] [PATCH] SPI: Fix 32 bit transfers in mxc_spi.c

2009-11-11 Thread Magnus Lilja
7;date' command). Signed-off-by: Magnus Lilja Cc: Guennadi Liakhovetski --- I don't think transfers larger than 32 bits will work. It seems like they worked in the original driver, but the above commit broke that. This patch does not try to fix that problem. drivers/spi/mxc_spi.c |

[U-Boot] [PATCH v2] RTC: Fix return code in MC13783 RTC driver.

2009-11-11 Thread Magnus Lilja
Signed-off-by: Magnus Lilja --- drivers/rtc/mc13783-rtc.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/rtc/mc13783-rtc.c b/drivers/rtc/mc13783-rtc.c index 05db2f1..416f50d 100644 --- a/drivers/rtc/mc13783-rtc.c +++ b/drivers/rtc/mc13783-rtc.c @@ -109,7 +109,7

[U-Boot] [PATCH v2] cmd_date: Fix spelling in error message.

2009-11-11 Thread Magnus Lilja
Signed-off-by: Magnus Lilja --- common/cmd_date.c |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/common/cmd_date.c b/common/cmd_date.c index 9f50f89..3141a39 100644 --- a/common/cmd_date.c +++ b/common/cmd_date.c @@ -71,9 +71,9 @@ int do_date (cmd_tbl_t *cmdtp, int

Re: [U-Boot] [PATCH] RTC: Fix return code in MC13783 RTC driver.

2009-11-10 Thread Magnus Lilja
Hi 2009/11/11 Fabio Estevam : > Magnus, > > --- On Tue, 11/10/09, Magnus Lilja wrote: > >> From: Magnus Lilja >> Subject: [U-Boot] [PATCH] RTC: Fix return code in MC13783 RTC driver. >> To: u-boot@lists.denx.de >> Date: Tuesday, November 10, 2009, 4:53 PM

Re: [U-Boot] [RFC 4/4] MXC: Reorganize 16 bit nand detection.

2009-11-10 Thread Magnus Lilja
Scott Wood skrev: > On Sun, Nov 08, 2009 at 11:55:39AM +0100, Magnus Lilja wrote: >> Alternative solution for supporting 16 bit NAND detection for the >> i.MX27 and i.MX31 SoCs. This moves the SoC specific code to the SoC header >> file leaving mxc_nand.c free from #ifd

[U-Boot] [PATCH] RTC: Fix return code in MC13783 RTC driver.

2009-11-10 Thread Magnus Lilja
--- drivers/rtc/mc13783-rtc.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/rtc/mc13783-rtc.c b/drivers/rtc/mc13783-rtc.c index 05db2f1..416f50d 100644 --- a/drivers/rtc/mc13783-rtc.c +++ b/drivers/rtc/mc13783-rtc.c @@ -109,7 +109,7 @@ int rtc_set(struct rtc_tim

[U-Boot] [PATCH] cmd_date: Fix spelling in error message.

2009-11-10 Thread Magnus Lilja
--- common/cmd_date.c |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/common/cmd_date.c b/common/cmd_date.c index 9f50f89..3141a39 100644 --- a/common/cmd_date.c +++ b/common/cmd_date.c @@ -71,9 +71,9 @@ int do_date (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[]

[U-Boot] [RFC 1/4] MX31: Add struct definition for clock control module in i.MX31.

2009-11-08 Thread Magnus Lilja
Comment: The struct is called system_control_registers only because the mxc_nand.c uses that name. For i.MX31 these registers are called "Clock Control Registers" so the struct name should be clock_control_registers, while for i.MX27 they are called "System Control Registers". --- include/asm-arm/

[U-Boot] [RFC 4/4] MXC: Reorganize 16 bit nand detection.

2009-11-08 Thread Magnus Lilja
Alternative solution for supporting 16 bit NAND detection for the i.MX27 and i.MX31 SoCs. This moves the SoC specific code to the SoC header file leaving mxc_nand.c free from #ifdef's (in this respect). Question: Is this approach acceptable/preferred over having #ifdef's for different SoCs in mxc_

[U-Boot] [RFC 0/4] MXC: Add NAND support for i.MX31

2009-11-08 Thread Magnus Lilja
any case, there may be things to import to u-boot. Regards, Magnus Magnus Lilja (4): MX31: Add struct definition for clock control module in i.MX31. mxc_nand: Update driver to work with i.MX31. MX31: Activate NAND support for i.MX31 Litekit board. MXC: Reorganize 16 bit nand detecti

[U-Boot] [RFC 3/4] MX31: Activate NAND support for i.MX31 Litekit board.

2009-11-08 Thread Magnus Lilja
--- include/configs/imx31_litekit.h | 11 +++ 1 files changed, 11 insertions(+), 0 deletions(-) diff --git a/include/configs/imx31_litekit.h b/include/configs/imx31_litekit.h index 6131008..7e8ddbb 100644 --- a/include/configs/imx31_litekit.h +++ b/include/configs/imx31_litekit.h @@ -89

[U-Boot] [RFC 2/4] mxc_nand: Update driver to work with i.MX31.

2009-11-08 Thread Magnus Lilja
Comment: Given how mxc_nand.c looks like (it was written with i.MX27 in mind), this is the straight forward way of adding i.MX31 support. Personally I don't like the #ifdef's and prefer the solution presented in a later patch in this series. --- drivers/mtd/nand/mxc_nand.c |8 +++- 1 files

Re: [U-Boot] My SPI driver not working in u-boot.

2009-10-22 Thread Magnus Lilja
>>  >>printf("%s:%d\n", __FILE__, __LINE__);? Given that printf and the UART >> >>works on your board that is. > > I tried with  this > printf("%s:%d\n", /drivers/spi/spi-new.c, 72); >  72 is the my line number but im gettin error . so what exactly should i > specify in __FILE_ and __LINE__ places

Re: [U-Boot] My SPI driver not working in u-boot.

2009-10-21 Thread Magnus Lilja
>> >>except that there's now a common SPI framework for you to use >> (drivers/spi/) >> >>as well as an already existing atmel_spi.c driver >> > Yeah exactly .  Its also there in u-boot-1.3.4. anyways im using the same > driver atmel_spi.c in  /drivers/spi/ . > atleast can u tell me how to printf t

Re: [U-Boot] CPU Sleep in ARM Cortex A8

2009-10-12 Thread Magnus Lilja
Hi 2009/10/12 akshay ts : > Hi, > I want to know what is the instruction for sleeping in ARM Cortex A8. > I did execute a WFI instruction seems to be a NOP. > void cpu_idle() > { >    unsigned long tmp = 0; >    asm("b 1f\n\t" >            ".align 5\n\t" >            "1:\n\t" >            "mcr p15

Re: [U-Boot] Freescale MXC: NAND UnCorrectable RS-ECC Error

2009-10-03 Thread Magnus Lilja
Hi 2009/10/2 alfred steele : > Thanks Magnus! >> Which MXC platform are you using and does it support 4K page size? And >> does mxc_nand.c support 4K page size? > I am using mx35 and the NAND flash controller therein supports 4K page > operations as evident from the manual. > from the code in "mxc

Re: [U-Boot] Freescale MXC: NAND UnCorrectable RS-ECC Error

2009-10-02 Thread Magnus Lilja
Hi 2009/10/2 alfred steele : > Hi  All, > > I am trying to introduce  a Samsung NAND flash part (K9F8G08U0M) to a > Freescale mxc platform. Looks like the device code used in the NAND > "read id" operation is already a part of  the > drivers/mtd/nand/nand_ids.c, looking at line "{"NAND 1GiB 3,3V 8

Re: [U-Boot] [PATCH] imx51:Add support basic boot code of freescale imx51 bbg board

2009-09-22 Thread Magnus Lilja
Hmm, for some reason "Reply" in gmail cut part of the qouted message so here's the rest of the followup. Fred Fan skrev: > Hi Magnus Liljia: > Thanks for your comments. > Best Regards > Fred > > 2009/9/22, Magnus Lilja : > >> Hi >> &g

Re: [U-Boot] [PATCH] imx51:Add support basic boot code of freescale imx51 bbg board

2009-09-22 Thread Magnus Lilja
Hi 2009/9/22 Fred Fan : > Hi Magnus Liljia: >     Thanks for your comments. > Best Regards > Fred > > 2009/9/22, Magnus Lilja : >> >> Hi >> >> >> I've scanned the patch briefly and have some comments below. >> >> gareat..

Re: [U-Boot] [PATCH v2] mx27ads: add support for iMX27ADS board from Freescale

2009-09-15 Thread Magnus Lilja
Hi Some minor below. Alan Carvalho de Assis skrev: > This patch adds support to iMX27ADS development board. This board has > 128MB RAM, 32MB NOR Flash and 128MB NAND Flash. Currently only > booting from NOR is supported. > > Signed-off-by: Alan Carvalho de Assis > --- > MAINTAINERS

Re: [U-Boot] RFC: split ARM repo and distribute workload

2009-09-07 Thread Magnus Lilja
Villard > > Freescale (i.MX)                Magnus Lilja? >                                Or are there any volunteers at Freescale? I don't have the time to handle this in a good way. It would be good if someone at Freescale could step in. Regards, Magnus

Re: [U-Boot] DDR initialization

2009-08-18 Thread Magnus Lilja
Hi 2009/8/19 alfred steele : > Hi all, > How do i go about the SDRAM/DDR initialization on my board. IS the > function partitoned  or is it just done in  a single place. > I would think that  board specifc dram_init is just a generic > function. There has to be a specific place where the SDRAM con

Re: [U-Boot] [PATCH] ARM: compiler options cleanup - improve tool chain support

2009-08-18 Thread Magnus Lilja
Wolfgang, 2009/8/17 Wolfgang Denk : > Dear Magnus Lilja, > > In message <59b21cf20908171317s10d7fdb5t631c37f06707e...@mail.gmail.com> you > wrote: >> >> >   This way we use a similar logic for the compile options as the >> >   Linux kenrel does. >&

Re: [U-Boot] [PATCH] ARM: compiler options cleanup - improve tool chain support

2009-08-17 Thread Magnus Lilja
in the >  new file lib_arm/eabi_compat.c > >  Note that lib_arm/config.mk gets parsed several times, so we must >  make sure to add eabi_compat.o only once to the linker list. > > Signed-off-by: Wolfgang Denk > Cc: Jean-Christophe PLAGNIOL-VILLARD > Cc: Dirk Behme > Cc: Ma

Re: [U-Boot] Incorrect board init with 256M RAM on MX31

2009-08-16 Thread Magnus Lilja
Hi 2009/8/16 alfred steele : > Hi All, > > When i use 128M  in my board configuration and pass the same to he > kernel using bd_info , the linux kernel just boots up fine.  But when > i change the config to put 256M which is the actual physical  DDR size > on our board, > the userspace crashes bec

Re: [U-Boot] How to start U-Boot for i.MX31 NAND out of RedBoot (out of RAM)

2009-07-23 Thread Magnus Lilja
Hi 2009/7/23 Ulrich Gerster : >> Not sure that I understand what "every program assumes..." means. > > I try to explain my problem in more detail. I had a working u-boot programed > in NAND-Flash. Then I wanted to update it. I used the nand write command and > wrote a the new image in the NAND-Fla

Re: [U-Boot] How to start U-Boot for i.MX31 NAND out of RedBoot (out of RAM)

2009-07-23 Thread Magnus Lilja
Hi 2009/7/22 Ulrich Gerster : > Hello > >>>>> Magnus Lilja 14.07.09 19.43 Uhr >>> >> Hi > >>>>>2009/7/14 Ulrich Gerster : >>> Hello. >>> >>>>>> Magnus Lilja 14.07.09 16.03 Uhr >>> >>>

Re: [U-Boot] How to start U-Boot for i.MX31 NAND out of RedBoot (out of RAM)

2009-07-14 Thread Magnus Lilja
Hi 2009/7/14 Ulrich Gerster : > Hello. > >>>> Magnus Lilja 14.07.09 16.03 Uhr >>> > >>> I used the patch from you out of this posting: >>> [U-Boot-Users] [PATCH RFC 3/5] i.MX31: Add i.MX31 NAND Flash Controller >>> driver. >>

Re: [U-Boot] How to start U-Boot for i.MX31 NAND out of RedBoot (out of RAM)

2009-07-14 Thread Magnus Lilja
Hi 2009/7/14 Ulrich Gerster : > Hello again, > >>>> Magnus Lilja 14.07.09 13.08 Uhr >>> >> Hi > >>> Another strange thing is the nand driver. I build my u-boot with: >>> #define CONFIG_MX31_NAND   1 >>> #define CONFIG_CMD_NAND >&g

Re: [U-Boot] How to start U-Boot for i.MX31 NAND out of RedBoot (out of RAM)

2009-07-14 Thread Magnus Lilja
Hi 2009/7/14 Ulrich Gerster : > Hello. > >>>> Magnus Lilja 09.07.09 19.08 Uhr >>> > >>> I made the defines you mentioned above and build the image with make >>> mx31guf_config (it's quite similar to the PDK >>> board). Then I loaded

Re: [U-Boot] How to start U-Boot for i.MX31 NAND out of RedBoot (out of RAM)

2009-07-09 Thread Magnus Lilja
Hi Could you please do reply-all and keep all addresses when replying to a mail? I don't read all mail from the list so it's easy to miss a followup. 2009/7/9 Ulrich Gerster : > Hello > >>>>> Magnus Lilja 08.07.09 17.42 Uhr >>> >> Hi >>

Re: [U-Boot] How to start U-Boot for i.MX31 NAND out of RedBoot (out of RAM)

2009-07-08 Thread Magnus Lilja
Hi 2009/7/8 Ulrich Gerster : > Hello, > > I have a board with a i.MX31, NAND-Flash and RAM. > On the Board a RedBoot is preinstalled and runs properly. > I want to replace the RedBoot with my U-Boot port. > > How can I test U-Boot out of RedBoot when I load the u-boot image in the RAM? > What do I

[U-Boot] [PATCH v5 1/1] MX31: Add NAND SPL boot support to i.MX31 PDK board.

2009-07-04 Thread Magnus Lilja
Signed-off-by: Magnus Lilja --- Applies to arm-master. Changes since v4: Fixed comments received from Jean-Christophe. MAKEALL |1 + Makefile| 12 +++- board/freescale/mx31pdk/config.mk |4 + board

Re: [U-Boot] [PATCH v4 6/6] MX31: Add NAND SPL boot support to i.MX31 PDK board.

2009-06-30 Thread Magnus Lilja
> > I don't think we should do anything differently from the rest of U-Boot > here. Well, that's not easy since the rest of U-boot does it in different ways, i.e. some boards have the debug stuff and some don't. As an example all boards in nand_spl/board/{amcc,samsung}/*

Re: [U-Boot] [PATCH v4 6/6] MX31: Add NAND SPL boot support to i.MX31 PDK board.

2009-06-30 Thread Magnus Lilja
Hi 2009/6/30 Jean-Christophe PLAGNIOL-VILLARD : >> >> + >> >> +#include >> >> +#include >> >> + >> >> +#define CCM_CCMR_SETUP               0x074B0BF5 >> >> +#define CCM_PDR0_SETUP_532MHZ        (PDR0_CSI_PODF(0x1ff) | >> >> PDR0_PER_PODF(7) | \ >> >> +                              PDR0_HSP_POD

Re: [U-Boot] [PATCH v4 6/6] MX31: Add NAND SPL boot support to i.MX31 PDK board.

2009-06-29 Thread Magnus Lilja
Hi 2009/6/29 Jean-Christophe PLAGNIOL-VILLARD : > On 20:50 Sat 13 Jun     , Magnus Lilja wrote: >> Signed-off-by: Magnus Lilja >> --- >>  MAKEALL                                     |    1 + >>  Makefile                                    |   14 +++- >>  

Re: [U-Boot] [PATCH v4 6/6] MX31: Add NAND SPL boot support to i.MX31 PDK board.

2009-06-29 Thread Magnus Lilja
2009/6/29 Jean-Christophe PLAGNIOL-VILLARD : > On 21:11 Mon 29 Jun     , Magnus Lilja wrote: >> Jean-Christpohe, >> >> Seems like you missed the last part in my series, could you apply this >> one as well? > I've not I've ask Fabio ack before continue the re

Re: [U-Boot] [PATCH v4 6/6] MX31: Add NAND SPL boot support to i.MX31 PDK board.

2009-06-29 Thread Magnus Lilja
Jean-Christpohe, Seems like you missed the last part in my series, could you apply this one as well? Regards, Magnus 2009/6/13 Magnus Lilja : > Signed-off-by: Magnus Lilja > --- >  MAKEALL                                     |    1 + >  Makefile                              

Re: [U-Boot] [PATCH 4/7] mxc_nand: add nand driver for MX2/MX3

2009-06-23 Thread Magnus Lilja
t col, rd_word; >> +     uint16_t __iomem *main_buf = >> +             (uint16_t __iomem *)host->regs->main_area0; >> +     uint16_t __iomem *spare_buf = >> +             (uint16_t __iomem *)host->regs->spare_area0; > > According to Magnus Lilja, "th

Re: [U-Boot] [PATCH v4 6/6] MX31: Add NAND SPL boot support to i.MX31 PDK board.

2009-06-23 Thread Magnus Lilja
Hi 2009/6/22 Ulrich Gerster : > Hello, > > I'm trying to boot from my board with a i.MX31 and small page (512Byte) NAND > Flash. I applied the patches in v4 which introduce the CONFIG_PRELOADER > macro. The only example I found where this macro is used is in part 6/6 of > the patch. There a sep

Re: [U-Boot] [PATCH v4 0/6] MX31: NAND boot for PDK boards.

2009-06-19 Thread Magnus Lilja
Support..." and later two patches with the same title and the > prefix [PATCH v2 0/6] and [PATCH v3 0/6] from Magnus Lilja. > In October Mr. Assis posted a patch regarding to this topic aswell. > In December and January Maxim Artamonov postet a patches to introduce NAND > SPL sup

  1   2   3   >