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 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 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

Re: [U-Boot] [PATCH 3/3] iMX31: Add support to iMX31PDK board boots from NAND Flash

2008-10-22 Thread Magnus Lilja
>> I can't rebase [PATCH 3/3] on u-boot-arm/master because it applies over >> Magnus Lilja's patch "i.MX31: Add basic support for Freescale's i.MX31 >> PDK board." (968614d8c3f17eb834838de9a390ef4879fb1e77) >> >> Can you please pull this patch from u-boot-arm/testing to >> u-boot-arm/master ? > > N

Re: [U-Boot] [PATCH 3/3] iMX31: Add support to iMX31PDK board boots from NAND Flash

2008-10-22 Thread Magnus Lilja
Wolfgang, 2008/10/22 Wolfgang Denk <[EMAIL PROTECTED]>: > Dear Magnus, > > In message <[EMAIL PROTECTED]> you wrote: >> >> I've updated the patch and it now almost compiles. There's a problem >> at the last link stage where gnu-ld complains about multiple __udivsi3 >> definitions and incompatible

Re: [U-Boot] [PATCH 3/3] iMX31: Add support to iMX31PDK board boots from NAND Flash

2008-10-22 Thread Magnus Lilja
2008/10/22 Magnus Lilja <[EMAIL PROTECTED]>: > Wolfgang, > > > 2008/10/22 Wolfgang Denk <[EMAIL PROTECTED]>: >> Dear Magnus, >> >> In message <[EMAIL PROTECTED]> you wrote: >>> >>> I've updated the patch and it now alm

[U-Boot] [PATCH 1/2] i.MX31: Use do_div for some calculations.

2008-10-23 Thread Magnus Lilja
Use do_div in TICK_TO_TIME in order to get the code through the compiler when CONFIG_MX31_CLK32 is 32768. Signed-off-by: Magnus Lilja <[EMAIL PROTECTED]> --- This is a quick patch to get the i.MX31 PDK patch to compile. If someone has a better solution to this problem please submit a patc

[U-Boot] [PATCH 2/2] i.MX31: Add basic support for Freescale's i.MX31 PDK board.

2008-10-23 Thread Magnus Lilja
Add support for the Freescale i.MX31 PDK (a.k.a 3DS) board. Ethernet and MC13873 RTC support is enabled by this patch. Booting from NAND is not supported yet so U-boot relies on some other initial boot loader to set up SDRAM and clocks and copying U-boot to SDRAM. Signed-off-by: Magnus Lilja

Re: [U-Boot] [PATCH 3/3] iMX31: Add support to iMX31PDK board boots from NAND Flash

2008-10-23 Thread Magnus Lilja
> Yes, I confirmed with the schematics. There is a 32768kHz crystal connected > to the PMIC that drives the MX31 clock. > > Regards, > > Fabio Estevam > >> I haven't tried my new patch on real hardware yet, but >> I'll do that >> tomorrow and post a patch (without the do_div() fix though, >> perha

Re: [U-Boot] [PATCH 2/3] iMX31: Add support to copy NAND Flash code to RAM

2008-10-23 Thread Magnus Lilja
2008/10/24 Wolfgang Denk <[EMAIL PROTECTED]>: > Dear Alan, > > In message <[EMAIL PROTECTED]> you wrote: >> >> > Last time Scott Wood suggested to use nand_spl you replied "I think using >> > nand_spl is the best approach, but it will needs more effort to complete." >> > and "Anyway, right now we c

Re: [U-Boot] [PATCH] [ARM] Apollon UBI support v3

2008-10-29 Thread Magnus Lilja
Dear Kyungmin Park, 2008/10/28 Kyungmin Park <[EMAIL PROTECTED]>: > Now you can use the UBI at apollon board > > Signed-off-by: Kyungmin Park <[EMAIL PROTECTED]> > --- > diff --git a/board/apollon/Makefile b/board/apollon/Makefile > index 9bac9a6..4c3e57f 100644 > --- a/board/apollon/Makefile > ++

Re: [U-Boot] [PATCH] [UBI] UBI command support v3

2008-10-31 Thread Magnus Lilja
2008/10/28 Kyungmin Park <[EMAIL PROTECTED]>: > It supports basic operation such as create, remove, read, and write. > > Signed-off-by: Kyungmin Park <[EMAIL PROTECTED]> Would it be possible to have the U-boot environment in the part of the flash managed by UBI? I suppose it involves creating a U-

Re: [U-Boot] [PATCH] [ARM] Apollon UBI support v3

2008-11-02 Thread Magnus Lilja
Dear Kyungmin Park, I've now used your patch series to add UBI support to the i.MX31 Litekit board (in the NAND device present on that board) and have some additional comments on the series. 2008/10/28 Kyungmin Park <[EMAIL PROTECTED]>: > Now you can use the UBI at apollon board > > Signed-off-by

Re: [U-Boot] [PATCH] [UBI] UBI command support v3

2008-11-02 Thread Magnus Lilja
Dear Kyungmin Park, Some more comments. 2008/10/28 Kyungmin Park <[EMAIL PROTECTED]>: > It supports basic operation such as create, remove, read, and write. > > Signed-off-by: Kyungmin Park <[EMAIL PROTECTED]> > --- > diff --git a/common/cmd_ubi.c b/common/cmd_ubi.c > new file mode 100644 > index

Re: [U-Boot] [PATCH] [UBI] Basic Unsorted Block Image (UBI) support v3 (#1)

2008-11-02 Thread Magnus Lilja
Dear Kyungmin Park, Some more comments after testing your patches. 2008/10/28 Kyungmin Park <[EMAIL PROTECTED]>: > UBI (Latin: "where?") stands for "Unsorted Block Images". It is a volume > management system for flash devices which manages multiple logical volumes on > a single physical flash d

Re: [U-Boot] [PATCH] [UBI] Basic Unsorted Block Image (UBI) support v3 (#5)

2008-11-02 Thread Magnus Lilja
Dear Kyungmin Park, 2008/10/28 Kyungmin Park <[EMAIL PROTECTED]>: > UBI (Latin: "where?") stands for "Unsorted Block Images". It is a volume > management system for flash devices which manages multiple logical volumes on > a single physical flash device and spreads the I/O load (i.e, wear-leveli

Re: [U-Boot] [PATCH] [UBI] Basic Unsorted Block Image (UBI) support v3 (#1)

2008-11-02 Thread Magnus Lilja
2008/11/3 Kyungmin Park <[EMAIL PROTECTED]>: > On Mon, Nov 3, 2008 at 6:01 AM, Magnus Lilja <[EMAIL PROTECTED]> wrote: >>> + ubi_msg("attached mtd%d to ubi%d", mtd->index, ubi_num); >>> + ubi_msg("MTD device name:\"

Re: [U-Boot] [PATCH-OMAP3] OMAP3: Plain numbers don't need parens

2008-11-04 Thread Magnus Lilja
Dear Wolfgang, 2008/11/4 Wolfgang Denk <[EMAIL PROTECTED]>: > Dear Dirk, > > In message <[EMAIL PROTECTED]> you wrote: >> >> Use a consistent style. Plain numbers don't need parens. Proposed by >> Wolfgang Denk. >> >> Signed-off-by: Dirk Behme <[EMAIL PROTECTED]> > ... > > But... > >> /* GPMC CS

Re: [U-Boot] [PATCH v2] Freescale NFC NAND driver

2008-11-05 Thread Magnus Lilja
Hi 2008/11/5 John Rigby <[EMAIL PROTECTED]>: > Reworked MPC5121 NAND driver. > Attempted to address all the problems listed by Scott Wood. > Driver is now board independent. Will still need more > work to be SOC independent. > > Driver for the NAND controller on MPC5121. > > This driver has been

Re: [U-Boot] [PATCH 11/11 v4] ARM: Add Apollon UBI support

2008-11-19 Thread Magnus Lilja
Hi 2008/11/19 Stefan Roese <[EMAIL PROTECTED]>: > From: Kyungmin Park <[EMAIL PROTECTED]> > > To enable UBI on Apollon you need to uncomment the CONFIG_SYS_USE_UBI > macro. > > Signed-off-by: Kyungmin Park <[EMAIL PROTECTED]> > Signed-off-by: Stefan Roese <[EMAIL PROTECTED]> > --- > board/apollon

Re: [U-Boot] [PATCH] nand booting support (SPL) for phyCORE-i.MX31

2008-11-29 Thread Magnus Lilja
Hi 2008/11/29 user <[EMAIL PROTECTED]>: > nand booting support (SPL) for phyCORE-i.MX31 > > This patch allows Phytec phyCORE-i.MX31 based system to boot from embed > NAND-flash memory.It not add support for NAND cmd and/or driver for U-BOOT, > it is only SPL for U-BOOT. For NAND support in U-BOOT

Re: [U-Boot] Fwd: [PATCH] nand booting support (SPL) for phyCORE-i.MX31

2008-12-01 Thread Magnus Lilja
Hi 2008/12/1 Maxim Artamonov <[EMAIL PROTECTED]>: > Hello, Magnus > > 29.11.08, 12:59, "Magnus Lilja" <[EMAIL PROTECTED]>: > >> Your patch seems to have some trailing whitespaces here and there. > It is require to correct in according codestyle?

Re: [U-Boot] [PATCH] usb: fix wait_ms declaration

2008-12-13 Thread Magnus Lilja
2008/12/13 Wolfgang Denk : > Dear Jean-Christophe PLAGNIOL-VILLARD, > > In message <1229198787-24017-1-git-send-email-plagn...@jcrosoft.com> you > wrote: > ... >> +static void __inline__ wait_ms(unsigned long ms) >> +{ >> + while(ms-->0) > > White space before and after the '>', please. And w

Re: [U-Boot] [PATCH] i.MX31: switch to CFG_HZ=1000

2008-08-12 Thread Magnus Lilja
epending on the > CONFIG_MX31_TIMER_HIGH_PRECISION flag. Measured with stop-watch on 100s > boot-delay. > > Signed-off-by: Guennadi Liakhovetski <[EMAIL PROTECTED]> > --- > > Based on the current arm/next + the "i.MX31: Add reset_timer() and modify > get_timer_masked()"

Re: [U-Boot] [U-Boot-Users] [PATCH RFC 3/5] i.MX31: Add i.MX31 NAND Flash Controller driver.

2008-08-13 Thread Magnus Lilja
Hi On Wed, Aug 6, 2008 at 2:19 PM, Magnus Lilja <[EMAIL PROTECTED]> wrote: > Imported from Freescale's Linux NFC driver from the i.MX31 BSP > release 5 (Linux 2.6.22.5) and the i.MX31 PDK BSP (Linux 2.6.24). > > The code has been changed to conform (better) with the coding

Re: [U-Boot] [U-Boot-Users] [PATCH RFC 3/5] i.MX31: Add i.MX31 NAND Flash Controller driver.

2008-08-13 Thread Magnus Lilja
Hi Stefan, On Wed, Aug 13, 2008 at 9:37 AM, Stefan Roese <[EMAIL PROTECTED]> wrote: > Hi Magnus, > > On Wednesday 13 August 2008, Magnus Lilja wrote: >> > cpu/arm1136/mx31/Makefile |4 +- >> > cpu/arm1136/mx31/mxc_nd.c | 1172 >> > cpu/arm1136/

[U-Boot] [PATCH v2 1/6] i.MX31: Add NFC_BASE_ADDR definition.

2008-08-18 Thread Magnus Lilja
Signed-off-by: Magnus Lilja <[EMAIL PROTECTED]> --- include/asm-arm/arch-mx31/mx31-regs.h | 11 +++ 1 files changed, 11 insertions(+), 0 deletions(-) diff --git a/include/asm-arm/arch-mx31/mx31-regs.h b/include/asm-arm/arch-mx31/mx31-regs.h index b04a718..769c1e8 100644 --- a/i

[U-Boot] [PATCH v2 5/6] i.MX31: Make the SPI bus and chip select configurable for MC13783

2008-08-18 Thread Magnus Lilja
CONFIG_MC13783_SPI_CS. Signed-off-by: Magnus Lilja <[EMAIL PROTECTED]> --- drivers/rtc/mc13783-rtc.c |6 -- include/configs/imx31_litekit.h |3 +++ include/configs/mx31ads.h |3 +++ 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/drivers/rtc/mc13783-rtc.c b/d

[U-Boot] [PATCH v2 0/6] i.MX31: Add NAND support and new PDK board.

2008-08-18 Thread Magnus Lilja
Hi again This series of patches adds support for the NAND flash controller in the i.MX31 device and also introduces the Freescale i.MX31 PDK board. Changes since v1: - Moved PDK board to boards/freescale/mx31pdk - Moved mxc_nd.c to driver/mtd/nand/mx31_nand.c - Moved contents of mxc_nd.h to mx31

[U-Boot] [PATCH v2 6/6] i.MX31: Add basic support for Freescale's i.MX31 PDK board.

2008-08-18 Thread Magnus Lilja
Add support for NAND and ethernet on the Freescale i.MX31 PDK (a.k.a. 3DS) board. Booting from NAND is not supported yet so U-boot relies on some other initial boot loader to set up SDRAM and clocks and copying U-boot to SDRAM. Signed-off-by: Magnus Lilja <[EMAIL PROTECTED]> --- M

[U-Boot] [PATCH v2 4/6] i.MX31: Add NAND support in the i.MX31 Litekit config file.

2008-08-18 Thread Magnus Lilja
Signed-off-by: Magnus Lilja <[EMAIL PROTECTED]> --- include/configs/imx31_litekit.h | 12 1 files changed, 12 insertions(+), 0 deletions(-) diff --git a/include/configs/imx31_litekit.h b/include/configs/imx31_litekit.h index c476333..493ec8e 100644 --- a/include/c

[U-Boot] [PATCH v2 3/6] i.MX31: Add i.MX31 NAND Flash Controller driver.

2008-08-18 Thread Magnus Lilja
ed on i.MX31 Litekit (small page NAND) and i.MX31 PDK (large page NAND). Both boards have 8 bit wide NAND devices. 16 bit NAND devices have not been tested and probably requires a minor code change. Signed-off-by: Magnus Lilja <[EMAIL PROTECTED]> --- drivers/mtd/nand/Makefile |1

[U-Boot] [PATCH v2 2/6] i.MX31: Add reset_timer() and modify get_timer_masked().

2008-08-18 Thread Magnus Lilja
This patch adds the reset_timer() function (needed by nand_base.c) and modifies the get_timer_masked() to work in the same way as the omap24xx function. Signed-off-by: Magnus Lilja <[EMAIL PROTECTED]> --- cpu/arm1136/mx31/interrupts.c | 22 ++ 1 files changed, 18 inse

Re: [U-Boot] [PATCH v2 1/6] i.MX31: Add NFC_BASE_ADDR definition.

2008-08-19 Thread Magnus Lilja
Hi 2008/8/18 Jean-Christophe PLAGNIOL-VILLARD <[EMAIL PROTECTED]>: > On 11:30 Mon 18 Aug , Magnus Lilja wrote: >> Signed-off-by: Magnus Lilja <[EMAIL PROTECTED]> >> --- >> include/asm-arm/arch-mx31/mx31-regs.h | 11 +++ >> 1 files

Re: [U-Boot] [PATCH v2 2/6] i.MX31: Add reset_timer() and modify get_timer_masked().

2008-08-19 Thread Magnus Lilja
Hi 2008/8/18 Jean-Christophe PLAGNIOL-VILLARD <[EMAIL PROTECTED]>: > On 11:30 Mon 18 Aug , Magnus Lilja wrote: >> This patch adds the reset_timer() function (needed by nand_base.c) and >> modifies the get_timer_masked() to work in the same way as the omap24xx >> fu

Re: [U-Boot] [PATCH v2 5/6] i.MX31: Make the SPI bus and chip select configurable for MC13783

2008-08-19 Thread Magnus Lilja
2008/8/19 Jean-Christophe PLAGNIOL-VILLARD <[EMAIL PROTECTED]>: > On 11:30 Mon 18 Aug , Magnus Lilja wrote: >> The i.MX31 has three SPI buses and each bus has several chip selects >> and the MC13783 chip can be connected to any of these. The current >> RTC driver f

Re: [U-Boot] [PATCH v2 0/6] i.MX31: Add NAND support and new PDK board.

2008-08-28 Thread Magnus Lilja
Hi 2008/8/28 Jean-Christophe PLAGNIOL-VILLARD <[EMAIL PROTECTED]>: > On 11:30 Mon 18 Aug , Magnus Lilja wrote: >> Hi again >> >> This series of patches adds support for the NAND flash controller in the >> i.MX31 device and also introduces the Freescale i.MX31

[U-Boot] [PATCH v3 0/6] i.MX31: Add NAND support and new PDK board.

2008-08-29 Thread Magnus Lilja
Hi again This series of patches adds support for the NAND flash controller in the i.MX31 device and also introduces the Freescale i.MX31 PDK board. Changes since v2: - Added doc/README.mx31 (contains MC13783 SPI config documentation) - Split the PDK patch into two patches, the first introduces t

[U-Boot] [PATCH v3 2/6] i.MX31: Make the SPI bus and chip select configurable for MC13783

2008-08-29 Thread Magnus Lilja
CONFIG_MC13783_SPI_CS. Signed-off-by: Magnus Lilja <[EMAIL PROTECTED]> --- doc/README.mx31 | 19 +++ drivers/rtc/mc13783-rtc.c |6 -- include/configs/imx31_litekit.h |3 +++ include/configs/mx31ads.h |3 +++ 4 files changed, 29 insertions

[U-Boot] [PATCH v3 1/6] i.MX31: Add reset_timer() and modify get_timer_masked().

2008-08-29 Thread Magnus Lilja
This patch adds the reset_timer() function (needed by nand_base.c) and modifies the get_timer_masked() to work in the same way as the omap24xx function. Signed-off-by: Magnus Lilja <[EMAIL PROTECTED]> --- cpu/arm1136/mx31/interrupts.c | 24 1 files chang

[U-Boot] [PATCH v3 5/6] i.MX31: Add NAND support in the i.MX31 Litekit config file.

2008-08-29 Thread Magnus Lilja
Signed-off-by: Magnus Lilja <[EMAIL PROTECTED]> --- include/configs/imx31_litekit.h | 12 1 files changed, 12 insertions(+), 0 deletions(-) diff --git a/include/configs/imx31_litekit.h b/include/configs/imx31_litekit.h index 62a03fa..da155cf 100644 --- a/include/c

[U-Boot] [PATCH v3 3/6] i.MX31: Add basic support for Freescale's i.MX31 PDK board.

2008-08-29 Thread Magnus Lilja
Add support for the Freescale i.MX31 PDK (a.k.a 3DS) board. Ethernet and MC13873 RTC support is enabled by this patch. Booting from NAND is not supported yet so U-boot relies on some other initial boot loader to set up SDRAM and clocks and copying U-boot to SDRAM. Signed-off-by: Magnus Lilja

[U-Boot] [PATCH v3 6/6] i.MX31: Enable NAND driver for i.MX31 PDK board.

2008-08-29 Thread Magnus Lilja
Signed-off-by: Magnus Lilja <[EMAIL PROTECTED]> The U-Boot environment is placed in NAND. --- include/configs/mx31pdk.h | 26 -- 1 files changed, 24 insertions(+), 2 deletions(-) diff --git a/include/configs/mx31pdk.h b/include/configs/mx31pdk.h index 6df1a00..b

[U-Boot] [PATCH v3 4/6] i.MX31: Add i.MX31 NAND Flash Controller driver.

2008-08-29 Thread Magnus Lilja
ed on i.MX31 Litekit (small page NAND) and i.MX31 PDK (large page NAND). Both boards have 8 bit wide NAND devices. 16 bit NAND devices have not been tested and probably requires a minor code change. Signed-off-by: Magnus Lilja <[EMAIL PROTECTED]> --- Issues regarding non-standard OOB/Bad

Re: [U-Boot] [PATCH v3 0/6] i.MX31: Add NAND support and new PDK board.

2008-09-03 Thread Magnus Lilja
Hi, 2008/8/29 Magnus Lilja <[EMAIL PROTECTED]>: > Hi again > > This series of patches adds support for the NAND flash controller in the > i.MX31 device and also introduces the Freescale i.MX31 PDK board. > > Changes since v2: > > - Added doc/README.mx31 (contains MC

Re: [U-Boot] [PATCH v3 0/6] i.MX31: Add NAND support and new PDK board.

2008-09-03 Thread Magnus Lilja
>> Is there are chance that the first couple of patches in the series can >> be merged into the official tree? I'm talking about the following >> patches: >> [PATCH v3 1/6] i.MX31: Add reset_timer() and modify get_timer_masked(). > yes >> [PATCH v3 2/6] i.MX31: Make the SPI bus and chip select conf

Re: [U-Boot] [REGRESSION] commit b502611b51... "Change env_get_char from a..." breaks imx31_phycore

2008-09-05 Thread Magnus Lilja
Hi, 2008/9/5 Joakim Tjernlund <[EMAIL PROTECTED]>: > >> -Original Message- >> From: Guennadi Liakhovetski [mailto:[EMAIL PROTECTED] >> Sent: den 5 september 2008 20:01 >> To: U-Boot@lists.denx.de >> Cc: Joakim Tjernlund >> Subject: [REGRESSION] commit b502611b51... "Change env_get_char fro

Re: [U-Boot] [REGRESSION] commit b502611b51... "Change env_get_char from a..." breaks imx31_phycore

2008-09-06 Thread Magnus Lilja
2008/9/6 Guennadi Liakhovetski <[EMAIL PROTECTED]>: > On Sat, 6 Sep 2008, Wolfgang Denk wrote: > >> Dear Guennadi Liakhovetski, >> >> In message <[EMAIL PROTECTED]> you wrote: >> > >> > Hence the question: shell we set GD_FLG_RELOC centrally really for all >> > boards or are there boards out there

[U-Boot] NET: Updated SMSC LAN9x1x EEPROM program?

2008-09-08 Thread Magnus Lilja
Hi Is there an up to date smsc9111x_eeprom.c floating around somewhere? I found Mike Frysinger's post from March '08 but it needs updating to compile and work with current mainline U-boot, has anyone already done this? Thanks, Magnus ___ U-Boot mailing

Re: [U-Boot] [PATCH] i.MX31: switch to CFG_HZ=1000

2008-09-14 Thread Magnus Lilja
Hi 2008/8/12 Guennadi Liakhovetski <[EMAIL PROTECTED]>: > Switch to the standard CFG_HZ=1000 value, while at it, minor white-space > cleanup, remove CFG_CLKS_IN_HZ from config-headers. Tested on mx31ads, > provides 2% or 0.4% precision depending on the > CONFIG_MX31_TIMER_HIGH_PRECISION flag. Meas

Re: [U-Boot] [REGRESSION] commit b502611b51... "Change env_get_char from a..." breaks imx31_phycore

2008-09-14 Thread Magnus Lilja
Hi 2008/9/7 Guennadi Liakhovetski <[EMAIL PROTECTED]>: > On Sat, 6 Sep 2008, Wolfgang Denk wrote: > >> Dear Guennadi Liakhovetski, >> >> In message <[EMAIL PROTECTED]> you wrote: >> > >> > Was this patch correct then? >> > >> > http://lists.denx.de/pipermail/u-boot/2008-July/037375.html >> > >> >

Re: [U-Boot] [PATCH 04/11 v1] ARM: OMAP3: Add assembly startup and sys_info common files

2008-09-14 Thread Magnus Lilja
Hi 2008/9/14 <[EMAIL PROTECTED]>: > From: Dirk Behme <[EMAIL PROTECTED]> > > Add assembly startup and sys_info common files > > Signed-off-by: Dirk Behme <[EMAIL PROTECTED]> > > --- > cpu/omap3/Makefile| 44 +++ > cpu/omap3/config.mk | 36 +++ > cpu/omap3/lowlevel_init.S | 360

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-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

[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-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

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-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] [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] [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] [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] 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-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 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-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-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] 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] [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] [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] 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] 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

[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

[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] 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 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 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 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 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 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 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 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 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

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

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

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] 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

[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

[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 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 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

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. >> >>

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-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] 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] [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-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

[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] 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] [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] 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

  1   2   3   >