public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot-Users] [PATCH] Motorola i.MX support (1/2)
@ 2004-06-17 11:57 Sascha Hauer
  2004-06-18 11:20 ` Steven Scholz
  0 siblings, 1 reply; 18+ messages in thread
From: Sascha Hauer @ 2004-06-17 11:57 UTC (permalink / raw)
  To: u-boot


Hello  List,

These patches add Motorola MM1 support for U-boot. The patches are
against U-boot-1.1.1 and add support for two custom boards and the
Davicom dm9000 ethernet chip.

All comments and feedback welcome,


Sascha Hauer

patch-u-boot-1.1.1-imx.bz2     - Motorola MX1 support
patch-u-boot-1.1.1-mx1fs2.bz2  - mx1fs2 board support
patch-u-boot-1.1.1-scb9328.bz2 - scb9328 board support
patch-u-boot-1.1.1-dm9000.bz2  - dm9000 network driver support (used in
 scb9328)
 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch-u-boot-1.1.1-imx.bz2
Type: application/octet-stream
Size: 12124 bytes
Desc: not available
Url : http://lists.denx.de/pipermail/u-boot/attachments/20040617/dbdb413e/attachment.obj 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch-u-boot-1.1.1-mx1fs2.bz2
Type: application/octet-stream
Size: 13165 bytes
Desc: not available
Url : http://lists.denx.de/pipermail/u-boot/attachments/20040617/dbdb413e/attachment-0001.obj 

^ permalink raw reply	[flat|nested] 18+ messages in thread

* [U-Boot-Users] [PATCH] Motorola i.MX support (1/2)
  2004-06-17 11:57 [U-Boot-Users] [PATCH] Motorola i.MX support (1/2) Sascha Hauer
@ 2004-06-18 11:20 ` Steven Scholz
  2004-06-18 13:19   ` Wolfgang Denk
  0 siblings, 1 reply; 18+ messages in thread
From: Steven Scholz @ 2004-06-18 11:20 UTC (permalink / raw)
  To: u-boot

Sascha Hauer wrote:

> Hello  List,
> 
> These patches add Motorola MM1 support for U-boot. The patches are
> against U-boot-1.1.1 and add support for two custom boards and the
> Davicom dm9000 ethernet chip.

Looks like there are at least three (!) ports for Motorola's DragonBall i.MX 
(MC9328MX1/L) now:

1.) Ming-Len Wu <minglen_wu@techware.com.tw>
	already in CVS without (announcing on the list)
2.) Sascha Hauer <sascha@saschahauer.de>
	posted on 2004-06-17
3.) Bryan Larsen <bryan.larsen@lumenera.com>
	mentioned on list on 2003-09-19

Is that correct, Wolfgang?

Steven

^ permalink raw reply	[flat|nested] 18+ messages in thread

* [U-Boot-Users] [PATCH] Motorola i.MX support (1/2)
  2004-06-18 11:20 ` Steven Scholz
@ 2004-06-18 13:19   ` Wolfgang Denk
  2004-06-18 14:23     ` Robert Schwebel
  0 siblings, 1 reply; 18+ messages in thread
From: Wolfgang Denk @ 2004-06-18 13:19 UTC (permalink / raw)
  To: u-boot

Dear Steven,

in message <40D2D012.80807@imc-berlin.de> you wrote:
> 
> > These patches add Motorola MM1 support for U-boot. The patches are
> > against U-boot-1.1.1 and add support for two custom boards and the
> > Davicom dm9000 ethernet chip.

[I didn't check these patyches yet; I just put them on my stack ;-) ]

> Looks like there are at least three (!) ports for Motorola's DragonBall i.MX 
> (MC9328MX1/L) now:
> 
> 1.) Ming-Len Wu <minglen_wu@techware.com.tw>
> 	already in CVS without (announcing on the list)

Correct. Checked in some time ago.

> 2.) Sascha Hauer <sascha@saschahauer.de>
> 	posted on 2004-06-17

Sasha, I think it makes sense that you check what's in the CVS first.
Then let's discuss how to proceed. I think for now I  will  just  put
your  patches  on hold, as they seem obsoleted by the current code in
CVS (sorry, but this is why ESR says "release early, release often").

> 3.) Bryan Larsen <bryan.larsen@lumenera.com>
> 	mentioned on list on 2003-09-19

But I haven't seen any actual code from him, AFAICT.

> Is that correct, Wolfgang?

Yes, it is.

Best regards,

Wolfgang Denk

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd at denx.de
Intel told us the Pentium would have "RISK" features...

^ permalink raw reply	[flat|nested] 18+ messages in thread

* [U-Boot-Users] [PATCH] Motorola i.MX support (1/2)
  2004-06-18 13:19   ` Wolfgang Denk
@ 2004-06-18 14:23     ` Robert Schwebel
  2004-06-18 15:02       ` Wolfgang Denk
  0 siblings, 1 reply; 18+ messages in thread
From: Robert Schwebel @ 2004-06-18 14:23 UTC (permalink / raw)
  To: u-boot

On Fri, Jun 18, 2004 at 03:19:37PM +0200, Wolfgang Denk wrote:
> [I didn't check these patyches yet; I just put them on my stack ;-) ]

You should ;) 

> Sasha, I think it makes sense that you check what's in the CVS first.
> Then let's discuss how to proceed. I think for now I  will  just  put
> your  patches  on hold, as they seem obsoleted by the current code in
> CVS (sorry, but this is why ESR says "release early, release often").

The design in CVS is crap. i.MX is not a separate CPU architecture, it
is just ARM920T. There is no reason for a new directory in cpu/.

Robert 
-- 
 Dipl.-Ing. Robert Schwebel | http://www.pengutronix.de
 Pengutronix - Linux Solutions for Science and Industry
   Handelsregister:  Amtsgericht Hildesheim, HRA 2686
     Hornemannstra?e 12,  31137 Hildesheim, Germany
    Phone: +49-5121-28619-0 |  Fax: +49-5121-28619-4

^ permalink raw reply	[flat|nested] 18+ messages in thread

* [U-Boot-Users] [PATCH] Motorola i.MX support (1/2)
  2004-06-18 14:23     ` Robert Schwebel
@ 2004-06-18 15:02       ` Wolfgang Denk
  2004-06-18 15:21         ` Robert Schwebel
  0 siblings, 1 reply; 18+ messages in thread
From: Wolfgang Denk @ 2004-06-18 15:02 UTC (permalink / raw)
  To: u-boot

In message <20040618142346.GG24767@pengutronix.de> you wrote:
>
> > [I didn't check these patyches yet; I just put them on my stack ;-) ]
> 
> You should ;) 

I will. As time permits.

> The design in CVS is crap. i.MX is not a separate CPU architecture, it
> is just ARM920T. There is no reason for a new directory in cpu/.

Maybe you want to submit a patch to clean this up (after  negotiating
with the current maintainer, of course) ?

Best regards,

Wolfgang Denk

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd at denx.de
There's another way to survive.  Mutual trust -- and help.
	-- Kirk, "Day of the Dove", stardate unknown

^ permalink raw reply	[flat|nested] 18+ messages in thread

* [U-Boot-Users] [PATCH] Motorola i.MX support (1/2)
  2004-06-18 15:02       ` Wolfgang Denk
@ 2004-06-18 15:21         ` Robert Schwebel
  2004-06-18 15:59           ` Wolfgang Denk
  0 siblings, 1 reply; 18+ messages in thread
From: Robert Schwebel @ 2004-06-18 15:21 UTC (permalink / raw)
  To: u-boot

On Fri, Jun 18, 2004 at 05:02:57PM +0200, Wolfgang Denk wrote:
> Maybe you want to submit a patch to clean this up (after  negotiating
> with the current maintainer, of course) ?

Well, Sascha's patch was our attempt to clean it up ;) 

Robert
-- 
 Dipl.-Ing. Robert Schwebel | http://www.pengutronix.de
 Pengutronix - Linux Solutions for Science and Industry
   Handelsregister:  Amtsgericht Hildesheim, HRA 2686
     Hornemannstra?e 12,  31137 Hildesheim, Germany
    Phone: +49-5121-28619-0 |  Fax: +49-5121-28619-4

^ permalink raw reply	[flat|nested] 18+ messages in thread

* [U-Boot-Users] [PATCH] Motorola i.MX support (1/2)
  2004-06-18 15:21         ` Robert Schwebel
@ 2004-06-18 15:59           ` Wolfgang Denk
  2004-06-18 19:30             ` Sascha Hauer
  0 siblings, 1 reply; 18+ messages in thread
From: Wolfgang Denk @ 2004-06-18 15:59 UTC (permalink / raw)
  To: u-boot

In message <20040618152118.GA27424@pengutronix.de> you wrote:
>
> Well, Sascha's patch was our attempt to clean it up ;) 

But AFAICT they are against an OLD version of U-Boot, which  did  not
yet include Ming-Len Wu's patches.

So what is your suggestion? 

We can:

(1) add your patch
(2) add your patch and revert Ming-Len Wu's patch
(3) use Ming-Len Wu's code as base for which you submit fixes/improvements

(1) means that we have the same architecture / board supported  twice
    differently. Not good. rejected.

^ permalink raw reply	[flat|nested] 18+ messages in thread

* [U-Boot-Users] [PATCH] Motorola i.MX support (1/2)
  2004-06-18 15:59           ` Wolfgang Denk
@ 2004-06-18 19:30             ` Sascha Hauer
  2004-06-19  8:21               ` Robert Schwebel
  2004-06-21  6:10               ` Steven Scholz
  0 siblings, 2 replies; 18+ messages in thread
From: Sascha Hauer @ 2004-06-18 19:30 UTC (permalink / raw)
  To: u-boot

I've just had a look at the i.MX (MC9328 MX1, or however this thing is
called) Port in current CVS. The main differences are:

- Like Robert said, my patch introduces less duplication of code
- the serial driver in CVS supports only a fixed (hardcoded) baudrate
- the architecture include file from cvs only has register definitions
  while my port also has bitmasks for most registers as well as a
  convenience function imx_gpio_mode which lets you set the gpio
  primary/alternate functions without having to play with hex values.
- different boards supported. Two custom boards <-> MX1ADS. Adding
  support for MX1ADS should be no problem, though, since we only have 
  to rewrite some register definitions. Unfortunately I don't
  have the hardware.

On Fri, Jun 18, 2004 at 05:59:13PM +0200, Wolfgang Denk wrote:
> In message <20040618152118.GA27424@pengutronix.de> you wrote:
> >
> > Well, Sascha's patch was our attempt to clean it up ;) 
> 
> But AFAICT they are against an OLD version of U-Boot, which  did  not
> yet include Ming-Len Wu's patches.
> 

No problem, I can send a patch against current CVS.

> So what is your suggestion? 
> 
> We can:
> 
> (1) add your patch
> (2) add your patch and revert Ming-Len Wu's patch
> (3) use Ming-Len Wu's code as base for which you submit fixes/improvements
> 
> (1) means that we have the same architecture / board supported  twice
>     differently. Not good. rejected.
> 
> >From your posting it seems clear that your position is (2) [is  it?];

So I would prefer position (2), too.

Greetings


  Sascha Hauer

^ permalink raw reply	[flat|nested] 18+ messages in thread

* [U-Boot-Users] [PATCH] Motorola i.MX support (1/2)
  2004-06-18 19:30             ` Sascha Hauer
@ 2004-06-19  8:21               ` Robert Schwebel
  2004-06-19 11:05                 ` Sascha Hauer
  2004-06-21  6:13                 ` Steven Scholz
  2004-06-21  6:10               ` Steven Scholz
  1 sibling, 2 replies; 18+ messages in thread
From: Robert Schwebel @ 2004-06-19  8:21 UTC (permalink / raw)
  To: u-boot

Hi, 

On Fri, Jun 18, 2004 at 09:30:20PM +0200, Sascha Hauer wrote:
> I've just had a look at the i.MX (MC9328 MX1, or however this thing is
> called) Port in current CVS. The main differences are:

I would prefer imx for the architecture - it's i.MX, not only MC9328 or
even MX1. 

> - different boards supported. Two custom boards <-> MX1ADS. Adding
>   support for MX1ADS should be no problem, though, since we only have 
>   to rewrite some register definitions. Unfortunately I don't
>   have the hardware.

Having support for the ADS would definitely a Good Thing (TM). 

> > (1) add your patch
> > (2) add your patch and revert Ming-Len Wu's patch
> > (3) use Ming-Len Wu's code as base for which you submit fixes/improvements
> > 
> > (1) means that we have the same architecture / board supported  twice
> >     differently. Not good. rejected.
> > 
> > >From your posting it seems clear that your position is (2) [is  it?];
> 
> So I would prefer position (2), too.

I would prefer to do (2) with a little bit of (3) ;) It shouldn't be too
much work to port Mng-Len Wu's port to the more generic variant. 

Robert
-- 
 Dipl.-Ing. Robert Schwebel | http://www.pengutronix.de
 Pengutronix - Linux Solutions for Science and Industry
   Handelsregister:  Amtsgericht Hildesheim, HRA 2686
     Hornemannstra?e 12,  31137 Hildesheim, Germany
    Phone: +49-5121-28619-0 |  Fax: +49-5121-28619-4

^ permalink raw reply	[flat|nested] 18+ messages in thread

* [U-Boot-Users] [PATCH] Motorola i.MX support (1/2)
  2004-06-19  8:21               ` Robert Schwebel
@ 2004-06-19 11:05                 ` Sascha Hauer
  2004-06-21  6:13                 ` Steven Scholz
  1 sibling, 0 replies; 18+ messages in thread
From: Sascha Hauer @ 2004-06-19 11:05 UTC (permalink / raw)
  To: u-boot

On Sat, Jun 19, 2004 at 10:21:22AM +0200, Robert Schwebel wrote:
> 
> Having support for the ADS would definitely a Good Thing (TM).

I just got a mail from Ming-Len Wu. He will have a look at our code so
we can get the pieces together.

Sascha

^ permalink raw reply	[flat|nested] 18+ messages in thread

* [U-Boot-Users] [PATCH] Motorola i.MX support (1/2)
  2004-06-18 19:30             ` Sascha Hauer
  2004-06-19  8:21               ` Robert Schwebel
@ 2004-06-21  6:10               ` Steven Scholz
  2004-06-23  8:41                 ` Steven Scholz
  1 sibling, 1 reply; 18+ messages in thread
From: Steven Scholz @ 2004-06-21  6:10 UTC (permalink / raw)
  To: u-boot

Sascha Hauer wrote:

> I've just had a look at the i.MX (MC9328 MX1, or however this thing is
> called) Port in current CVS. The main differences are:
> 
> - Like Robert said, my patch introduces less duplication of code
> - the serial driver in CVS supports only a fixed (hardcoded) baudrate
> - the architecture include file from cvs only has register definitions
>   while my port also has bitmasks for most registers as well as a
>   convenience function imx_gpio_mode which lets you set the gpio
>   primary/alternate functions without having to play with hex values.
> - different boards supported. Two custom boards <-> MX1ADS. Adding
>   support for MX1ADS should be no problem, though, since we only have 
>   to rewrite some register definitions. Unfortunately I don't
>   have the hardware.

We will have one in the next few days. I'd love to help testing it.

Steven

^ permalink raw reply	[flat|nested] 18+ messages in thread

* [U-Boot-Users] [PATCH] Motorola i.MX support (1/2)
  2004-06-19  8:21               ` Robert Schwebel
  2004-06-19 11:05                 ` Sascha Hauer
@ 2004-06-21  6:13                 ` Steven Scholz
  2004-06-21  6:54                   ` Wolfgang Denk
                                     ` (2 more replies)
  1 sibling, 3 replies; 18+ messages in thread
From: Steven Scholz @ 2004-06-21  6:13 UTC (permalink / raw)
  To: u-boot

Robert Schwebel wrote:

> Hi, 
> 
> On Fri, Jun 18, 2004 at 09:30:20PM +0200, Sascha Hauer wrote:
> 
>>I've just had a look at the i.MX (MC9328 MX1, or however this thing is
>>called) Port in current CVS. The main differences are:
> 
> 
> I would prefer imx for the architecture - it's i.MX, not only MC9328 or
> even MX1. 

How do you seperate the MX1 from the MXL?
Maybe it's not neccessary for U-Boot. We will hardly support the BlueTooth 
stuff in U-Boot... On the other hand the MX1 got one more UART...

BTW: Does anyone got a working BDI2000 config file for the MC9328MX1/L?
I want to be able to burn the flash when we got the ADS board...

Thanks a million!

-- 
Steven Scholz

^ permalink raw reply	[flat|nested] 18+ messages in thread

* [U-Boot-Users] [PATCH] Motorola i.MX support (1/2)
  2004-06-21  6:13                 ` Steven Scholz
@ 2004-06-21  6:54                   ` Wolfgang Denk
  2004-06-21  6:57                   ` llandre
  2004-06-21  7:53                   ` Robert Schwebel
  2 siblings, 0 replies; 18+ messages in thread
From: Wolfgang Denk @ 2004-06-21  6:54 UTC (permalink / raw)
  To: u-boot

In message <40D67C99.5040102@imc-berlin.de> you wrote:
> 
> Maybe it's not neccessary for U-Boot. We will hardly support the BlueTooth 
> stuff in U-Boot... On the other hand the MX1 got one more UART...

Don't count on that. We have funny  things  in  U-Boot  -  like  VLAN
support or a console over USB on a mobile phone...


Best regards,

Wolfgang Denk

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd at denx.de
I distrust all systematisers, and avoid them. The will  to  a  system
shows a lack of honesty.
- Friedrich Wilhelm Nietzsche _G?tzen-D?mmerung [The Twilight of  the
Idols]_ ``Maxims and Missiles'' no. 26

^ permalink raw reply	[flat|nested] 18+ messages in thread

* [U-Boot-Users] [PATCH] Motorola i.MX support (1/2)
  2004-06-21  6:13                 ` Steven Scholz
  2004-06-21  6:54                   ` Wolfgang Denk
@ 2004-06-21  6:57                   ` llandre
  2004-06-21  7:53                   ` Robert Schwebel
  2 siblings, 0 replies; 18+ messages in thread
From: llandre @ 2004-06-21  6:57 UTC (permalink / raw)
  To: u-boot

>Robert Schwebel wrote:
>
>>Hi,
>>On Fri, Jun 18, 2004 at 09:30:20PM +0200, Sascha Hauer wrote:
>>
>>>I've just had a look at the i.MX (MC9328 MX1, or however this thing is
>>>called) Port in current CVS. The main differences are:
>>
>>I would prefer imx for the architecture - it's i.MX, not only MC9328 or
>>even MX1.
>
>How do you seperate the MX1 from the MXL?
>Maybe it's not neccessary for U-Boot. We will hardly support the BlueTooth 
>stuff in U-Boot... On the other hand the MX1 got one more UART...
>
>BTW: Does anyone got a working BDI2000 config file for the MC9328MX1/L?
>I want to be able to burn the flash when we got the ADS board...
>
>Thanks a million!

Hi Steven,

I have a M9328MXLADS 2.0 board right on my desktop.
If the time permits, I'll be able to give some help about testing the code 
in the next weeks.



Regards,

llandre

DAVE Electronics System House - R&D Department
www.dave-tech.it 

^ permalink raw reply	[flat|nested] 18+ messages in thread

* [U-Boot-Users] [PATCH] Motorola i.MX support (1/2)
  2004-06-21  6:13                 ` Steven Scholz
  2004-06-21  6:54                   ` Wolfgang Denk
  2004-06-21  6:57                   ` llandre
@ 2004-06-21  7:53                   ` Robert Schwebel
  2004-06-21  8:17                     ` Steven Scholz
  2 siblings, 1 reply; 18+ messages in thread
From: Robert Schwebel @ 2004-06-21  7:53 UTC (permalink / raw)
  To: u-boot

On Mon, Jun 21, 2004 at 08:13:45AM +0200, Steven Scholz wrote:
> How do you seperate the MX1 from the MXL? Maybe it's not neccessary
> for U-Boot. We will hardly support the BlueTooth stuff in U-Boot... On
> the other hand the MX1 got one more UART...

... which has the same register layout (well, at least that ones you
need in u-boot) as the other ones. The basic serial support in
cpu/arm920t/imx_serial.c (well, not exactly a good place for a serial
driver, but that's how it was done for the other ports) can easily be
extended to support more than two serial ports.   

> BTW: Does anyone got a working BDI2000 config file for the
> MC9328MX1/L?  I want to be able to burn the flash when we got the ADS
> board...

Attached. I'm not sure about the memory situation on the ADS board, our
board has 32 Bit flash.  

Robert
-- 
 Dipl.-Ing. Robert Schwebel | http://www.pengutronix.de
 Pengutronix - Linux Solutions for Science and Industry
   Handelsregister:  Amtsgericht Hildesheim, HRA 2686
     Hornemannstra?e 12,  31137 Hildesheim, Germany
    Phone: +49-5121-28619-0 |  Fax: +49-5121-28619-4
-------------- next part --------------
; bdiGDB configuration for Motorola M9328MX1ADS board
; ---------------------------------------------------
;
[INIT]
;
; Initialize DragonBall MX1 ADS Rev 0.1 board when using JTAG
; so SRAM and SDRAM are downloadable
;
WM32    0x0021b000  0x2f00ac03	;Select CLKO mux to output HCLK(BCLK)
WM32    0x0021b000  0x2f008403  ;48MHz System Clock
WM32    0x00220000  0x00008C00  ;CS0 - boot flash, 32 wait states, 8-bit
WM32    0x00220004  0x22222601
WM32    0x00220008  0x00000a00  ;CS1 - SRAM, 10 wait states, 32-bit
WM32    0x0022000c  0x11110601
WM32    0x00220020  0x00000a00  ;CS4 - External UART, 10 wait states, 8-bit
WM32    0x00220024  0x11110301
;
;Init SDRAM 16Mx16x2 IAM0 CS2 CL2
;
WM32    0x00221000  0x92120200  ;Set Precharge Command
WM32    0x08200000  0x00000000  ;Issue Precharge all Command
WM32    0x00221000  0xa2120200  ;Set AutoRefresh Command
WM32    0x08000000  0x00000000  ;Issue AutoRefresh Command
WM32    0x08000000  0x00000000
WM32    0x08000000  0x00000000
WM32    0x08000000  0x00000000
WM32    0x08000000  0x00000000
WM32    0x08000000  0x00000000
WM32    0x08000000  0x00000000
WM32    0x08000000  0x00000000
WM32    0x00221000  0xb2120200  ;Set Mode Register
WM32    0x08111800  0x00000000  ;Issue Mode Register Command, Burst Length = 8
WM32    0x00221000  0x82124200  ;Set to Normal Mode
;

[TARGET]
CPUTYPE     ARM920T
CLOCK       1                   ;JTAG clock
WAKEUP      750                ;because of slow rising reset line
RESET       HARD 100               ;beause of heavy capacitive load on reset line
TRST        PUSHPULL
ENDIAN      LITTLE              ;memory model (LITTLE | BIG)
BREAKMODE   SOFT 0xDFFFDFFF     ;SOFT or HARD, ARM / Thumb break code
;VECTOR      CATCH 0x1f          ;catch D_Abort, P_Abort, SWI, Undef and Reset
SIO         7 115200            ;Enable SIO via TCP port 7 at 115200
;DCC         7                   ;TCP port for DCC I/O


[HOST]
IP          213.252.143.162
FORMAT      BIN
LOAD        MANUAL

[FLASH]
CHIPTYPE    AM29F               ; Flash type
CHIPSIZE    0x800000            ; The size of one flash chip in bytes
BUSWIDTH    32			; The width of the flash memory bus in bits (8 | 16 | 32)
FORMAT      BIN 0x10060000	; Binary, to be flashed to 0x1006'0000
FILE        Image		; which file to flash if no name is given to 'prog'
WORKSPACE   0x09FFF000
ERASE       0x10060000		; Erase space for kernel
ERASE       0x10080000
ERASE       0x100A0000
ERASE       0x100C0000
ERASE       0x100E0000
ERASE       0x10100000
ERASE       0x10120000
ERASE       0x10140000
ERASE       0x10160000
ERASE       0x10180000
ERASE       0x101A0000
ERASE       0x101C0000
ERASE       0x101E0000

^ permalink raw reply	[flat|nested] 18+ messages in thread

* [U-Boot-Users] [PATCH] Motorola i.MX support (1/2)
  2004-06-21  7:53                   ` Robert Schwebel
@ 2004-06-21  8:17                     ` Steven Scholz
  2004-06-21  8:52                       ` Robert Schwebel
  0 siblings, 1 reply; 18+ messages in thread
From: Steven Scholz @ 2004-06-21  8:17 UTC (permalink / raw)
  To: u-boot

Robert Schwebel wrote:
> On Mon, Jun 21, 2004 at 08:13:45AM +0200, Steven Scholz wrote:
> 
>>How do you seperate the MX1 from the MXL? Maybe it's not neccessary
>>for U-Boot. We will hardly support the BlueTooth stuff in U-Boot... On
>>the other hand the MX1 got one more UART...
> 
> ... which has the same register layout (well, at least that ones you
> need in u-boot) as the other ones. The basic serial support in
> cpu/arm920t/imx_serial.c (well, not exactly a good place for a serial
> driver, but that's how it was done for the other ports)...
Bad excuse for doing the same bad thing... ;-)

But where would be a goog place to store such code?
The same goes for the serial driver of the AT91RM9200 (which is ARM9 too).
Wolfgang?

> 
>>BTW: Does anyone got a working BDI2000 config file for the
>>MC9328MX1/L?  I want to be able to burn the flash when we got the ADS
>>board...

Thanks a million for the config. I'll test it with the ADS as soon as we get it.

Steven

^ permalink raw reply	[flat|nested] 18+ messages in thread

* [U-Boot-Users] [PATCH] Motorola i.MX support (1/2)
  2004-06-21  8:17                     ` Steven Scholz
@ 2004-06-21  8:52                       ` Robert Schwebel
  0 siblings, 0 replies; 18+ messages in thread
From: Robert Schwebel @ 2004-06-21  8:52 UTC (permalink / raw)
  To: u-boot

On Mon, Jun 21, 2004 at 10:17:27AM +0200, Steven Scholz wrote:
> Bad excuse for doing the same bad thing... ;-)
> 
> But where would be a goog place to store such code?  The same goes for
> the serial driver of the AT91RM9200 (which is ARM9 too).

It would probably belong into something like drivers/serial. The
question is what else had to be changed when we do something like this. 

Robert
-- 
 Dipl.-Ing. Robert Schwebel | http://www.pengutronix.de
 Pengutronix - Linux Solutions for Science and Industry
   Handelsregister:  Amtsgericht Hildesheim, HRA 2686
     Hornemannstra?e 12,  31137 Hildesheim, Germany
    Phone: +49-5121-28619-0 |  Fax: +49-5121-28619-4

^ permalink raw reply	[flat|nested] 18+ messages in thread

* [U-Boot-Users] [PATCH] Motorola i.MX support (1/2)
  2004-06-21  6:10               ` Steven Scholz
@ 2004-06-23  8:41                 ` Steven Scholz
  0 siblings, 0 replies; 18+ messages in thread
From: Steven Scholz @ 2004-06-23  8:41 UTC (permalink / raw)
  To: u-boot

Steven Scholz wrote:

> Sascha Hauer wrote:
> 
>> I've just had a look at the i.MX (MC9328 MX1, or however this thing is
>> called) Port in current CVS. The main differences are:
>>
>> - Like Robert said, my patch introduces less duplication of code
>> - the serial driver in CVS supports only a fixed (hardcoded) baudrate
>> - the architecture include file from cvs only has register definitions
>>   while my port also has bitmasks for most registers as well as a
>>   convenience function imx_gpio_mode which lets you set the gpio
>>   primary/alternate functions without having to play with hex values.
>> - different boards supported. Two custom boards <-> MX1ADS. Adding
>>   support for MX1ADS should be no problem, though, since we only have 
>>   to rewrite some register definitions. Unfortunately I don't
>>   have the hardware.
> 
> 
> We will have one in the next few days. I'd love to help testing it.

I just got my brand new toy! :o)

So any news on the U-Boot i.MX support?

Steven

^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2004-06-23  8:41 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-06-17 11:57 [U-Boot-Users] [PATCH] Motorola i.MX support (1/2) Sascha Hauer
2004-06-18 11:20 ` Steven Scholz
2004-06-18 13:19   ` Wolfgang Denk
2004-06-18 14:23     ` Robert Schwebel
2004-06-18 15:02       ` Wolfgang Denk
2004-06-18 15:21         ` Robert Schwebel
2004-06-18 15:59           ` Wolfgang Denk
2004-06-18 19:30             ` Sascha Hauer
2004-06-19  8:21               ` Robert Schwebel
2004-06-19 11:05                 ` Sascha Hauer
2004-06-21  6:13                 ` Steven Scholz
2004-06-21  6:54                   ` Wolfgang Denk
2004-06-21  6:57                   ` llandre
2004-06-21  7:53                   ` Robert Schwebel
2004-06-21  8:17                     ` Steven Scholz
2004-06-21  8:52                       ` Robert Schwebel
2004-06-21  6:10               ` Steven Scholz
2004-06-23  8:41                 ` Steven Scholz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox