U-Boot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot-Users] i.MX support for scb9328 cleaned up
@ 2005-05-12 14:32 Konstantin Kletschke
  2005-10-08 23:17 ` Wolfgang Denk
  0 siblings, 1 reply; 13+ messages in thread
From: Konstantin Kletschke @ 2005-05-12 14:32 UTC (permalink / raw)
  To: u-boot

I cleaned up board support for the scb9328 board.
I did changes to the scb9328.h, it is very much more readable more.
Many timings have been tuned, the system is much faster now.

Also the board/scb9328/flash.c is removed, the patch will delete it!
The cfi_flash.c is used now.

If anybody is interested, it is at
http://www.ludenkalle.de/u-boot-1.1.2-imx1/u-boot-1.1.2-imx1.diff

It contains the code unlocking intel k3 devices.
splitdiff output is at 
http://www.ludenkalle.de/u-boot-1.1.2-imx1/u-boot-1.1.2_*
(directory viewing on http://www.ludenkalle.de/u-boot-1.1.2-imx1/ is
allowed).

May be I could get advice what still looks odd so I can fix it, so the
stuff could be apllied. Or it can be applied as is...

Regards, Konsti


-- 
GPG KeyID EF62FCEF
Fingerprint: 13C9 B16B 9844 EC15 CC2E  A080 1E69 3FDA EF62 FCEF

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

* [U-Boot-Users] i.MX support for scb9328 cleaned up
  2005-05-12 14:32 [U-Boot-Users] i.MX support for scb9328 cleaned up Konstantin Kletschke
@ 2005-10-08 23:17 ` Wolfgang Denk
  2005-10-11  7:49   ` Sascha Hauer
  2005-10-11 18:25   ` Konstantin Kletschke
  0 siblings, 2 replies; 13+ messages in thread
From: Wolfgang Denk @ 2005-10-08 23:17 UTC (permalink / raw)
  To: u-boot

Dear Konstantin,

in message <20050512143238.GB4333@synertronixx3> you wrote:
> I cleaned up board support for the scb9328 board.
> I did changes to the scb9328.h, it is very much more readable more.
> Many timings have been tuned, the system is much faster now.

Ummm... we don't have an entry in the official <MAINTAINERS file, but
it seems Sascha Hauer is "responsible" for the scb9328 board. Did you
nbegotiate your patch with him?

> Also the board/scb9328/flash.c is removed, the patch will delete it!
> The cfi_flash.c is used now.
> 
> If anybody is interested, it is at
> http://www.ludenkalle.de/u-boot-1.1.2-imx1/u-boot-1.1.2-imx1.diff

I reject this patch. It violates the  coding  style  (trailing  white
space, indenation not by TABs, etc.), and some of your changes to the
scb9328.h   file   don't   look  clean  to  me.  Your  definition  of
CONFIG_COMMANDS is error prone. Go figure what happens when  somebody
add's  a  new  command  which is not supported by your board. He will
probably not bother to update your config file.

> It contains the code unlocking intel k3 devices.

This is another reason for rejecting it. See the rpevious  discussion
about this issue.

> May be I could get advice what still looks odd so I can fix it, so the
> stuff could be apllied. Or it can be applied as is...

Please clean up and submit as patch here on the list.

Best regards,

Wolfgang Denk

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
"Data is a lot like humans: It is  born.  Matures.  Gets  married  to
other  data, divorced. Gets old. One thing that it doesn't do is die.
It has to be killed."                                 - Arthur Miller

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

* [U-Boot-Users] i.MX support for scb9328 cleaned up
  2005-10-08 23:17 ` Wolfgang Denk
@ 2005-10-11  7:49   ` Sascha Hauer
  2005-10-11  8:11     ` Wolfgang Denk
  2005-10-11 18:25   ` Konstantin Kletschke
  1 sibling, 1 reply; 13+ messages in thread
From: Sascha Hauer @ 2005-10-11  7:49 UTC (permalink / raw)
  To: u-boot

On Sun, Oct 09, 2005 at 01:17:18AM +0200, Wolfgang Denk wrote:
> Dear Konstantin,
> 
> in message <20050512143238.GB4333@synertronixx3> you wrote:
> > I cleaned up board support for the scb9328 board.
> > I did changes to the scb9328.h, it is very much more readable more.
> > Many timings have been tuned, the system is much faster now.
> 
> Ummm... we don't have an entry in the official <MAINTAINERS file, but
> it seems Sascha Hauer is "responsible" for the scb9328 board. Did you
> nbegotiate your patch with him?

No, he did not. But since he actively develops with this board and I
only occasionally use it, it is ok.

Sascha Hauer

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

* [U-Boot-Users] i.MX support for scb9328 cleaned up
  2005-10-11  7:49   ` Sascha Hauer
@ 2005-10-11  8:11     ` Wolfgang Denk
  2005-10-11  9:47       ` Sascha Hauer
                         ` (2 more replies)
  0 siblings, 3 replies; 13+ messages in thread
From: Wolfgang Denk @ 2005-10-11  8:11 UTC (permalink / raw)
  To: u-boot

Hello,

in message <20051011074941.GA8818@herry.saufen> you wrote:
>
> No, he did not. But since he actively develops with this board and I
> only occasionally use it, it is ok.

So should I add Konstantin as Maintainer?

Konstantin, is this OK with you?

Best regards,

Wolfgang Denk

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Leave bigotry in your quarters; there's no room for it on the bridge.
	-- Kirk, "Balance of Terror", stardate 1709.2

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

* [U-Boot-Users] i.MX support for scb9328 cleaned up
  2005-10-11  8:11     ` Wolfgang Denk
@ 2005-10-11  9:47       ` Sascha Hauer
  2005-10-11 10:21       ` Konstantin Kletschke
  2005-10-11 12:56       ` Konstantin Kletschke
  2 siblings, 0 replies; 13+ messages in thread
From: Sascha Hauer @ 2005-10-11  9:47 UTC (permalink / raw)
  To: u-boot

On Tue, Oct 11, 2005 at 10:11:47AM +0200, Wolfgang Denk wrote:
> Hello,
> 
> in message <20051011074941.GA8818@herry.saufen> you wrote:
> >
> > No, he did not. But since he actively develops with this board and I
> > only occasionally use it, it is ok.
> 
> So should I add Konstantin as Maintainer?

Yes, he has more knowledge about this board then me.

regards,
  Sascha
  

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

* [U-Boot-Users] i.MX support for scb9328 cleaned up
  2005-10-11  8:11     ` Wolfgang Denk
  2005-10-11  9:47       ` Sascha Hauer
@ 2005-10-11 10:21       ` Konstantin Kletschke
  2005-10-11 12:56       ` Konstantin Kletschke
  2 siblings, 0 replies; 13+ messages in thread
From: Konstantin Kletschke @ 2005-10-11 10:21 UTC (permalink / raw)
  To: u-boot

At Tue, 11 Oct 2005 10:11:47 +0200,
Wolfgang Denk <wd@denx.de> wrote:

> Konstantin, is this OK with you?

Yes. 

kletschke at synertronixx.de

What a funny coincidence! Actually I am preparing a new patch with
some small new features and a cleaned up flash support now.
The port uses cfi now and not board/scb9328/flash.c anymore.
This is lightning fast compared to the old way due to buffered writing.

Konstantin Kletschke

-- 
GPG KeyID EF62FCEF
Fingerprint: 13C9 B16B 9844 EC15 CC2E  A080 1E69 3FDA EF62 FCEF

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

* [U-Boot-Users] i.MX support for scb9328 cleaned up
  2005-10-11  8:11     ` Wolfgang Denk
  2005-10-11  9:47       ` Sascha Hauer
  2005-10-11 10:21       ` Konstantin Kletschke
@ 2005-10-11 12:56       ` Konstantin Kletschke
  2005-10-11 13:38         ` Wolfgang Denk
  2 siblings, 1 reply; 13+ messages in thread
From: Konstantin Kletschke @ 2005-10-11 12:56 UTC (permalink / raw)
  To: u-boot

As I see 1.1.3 is released so actual code improvements should be done
in there, is that right?

At
http://www.ludenkalle.de/u-boot/u-boot-1.1.2-imx2/
is the revised scb9328 i.MX BS apllying against 1.1.2.

If anybody is interested, he could take a look into it and advise in
my coding while I adapt the stuff to 1.1.3.

@Sascha: This patch actually contains cmd_burst.c and should compile
now :-)

Regards, Konsti

-- 
GPG KeyID EF62FCEF
Fingerprint: 13C9 B16B 9844 EC15 CC2E  A080 1E69 3FDA EF62 FCEF

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

* [U-Boot-Users] i.MX support for scb9328 cleaned up
  2005-10-11 12:56       ` Konstantin Kletschke
@ 2005-10-11 13:38         ` Wolfgang Denk
  2005-10-11 15:50           ` Konstantin Kletschke
  0 siblings, 1 reply; 13+ messages in thread
From: Wolfgang Denk @ 2005-10-11 13:38 UTC (permalink / raw)
  To: u-boot

In message <87ll10jjpf.wl%kletschke@synertronixx.de> you wrote:
> 
> As I see 1.1.3 is released so actual code improvements should be done
> in there, is that right?

No. Code improvements should be always done against the HEAD  version
in the git repository (or the top of tree in CVS).


Best regards,

Wolfgang Denk

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
The most exciting phrase to hear in science, the one that heralds new
discoveries, is not "Eureka!" (I found it!) but "That's funny ..."
                                                      -- Isaac Asimov

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

* [U-Boot-Users] i.MX support for scb9328 cleaned up
  2005-10-11 13:38         ` Wolfgang Denk
@ 2005-10-11 15:50           ` Konstantin Kletschke
  2005-10-11 20:21             ` Wolfgang Denk
  0 siblings, 1 reply; 13+ messages in thread
From: Konstantin Kletschke @ 2005-10-11 15:50 UTC (permalink / raw)
  To: u-boot

At Tue, 11 Oct 2005 15:38:24 +0200,
Wolfgang Denk <wd@denx.de> wrote:

> in the git repository (or the top of tree in CVS).

Here we go:

http://www.ludenkalle.de/u-boot/u-boot-git-20051011/

Compiles and runs well.

Regards Konsti

-- 
GPG KeyID EF62FCEF
Fingerprint: 13C9 B16B 9844 EC15 CC2E  A080 1E69 3FDA EF62 FCEF

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

* [U-Boot-Users] i.MX support for scb9328 cleaned up
  2005-10-08 23:17 ` Wolfgang Denk
  2005-10-11  7:49   ` Sascha Hauer
@ 2005-10-11 18:25   ` Konstantin Kletschke
  2005-10-11 20:34     ` Wolfgang Denk
  1 sibling, 1 reply; 13+ messages in thread
From: Konstantin Kletschke @ 2005-10-11 18:25 UTC (permalink / raw)
  To: u-boot

Oops, sorry, I overlooked this e-mail!

At Sun, 09 Oct 2005 01:17:18 +0200,
Wolfgang Denk <wd@denx.de> wrote:

> Ummm... we don't have an entry in the official <MAINTAINERS file, but
> it seems Sascha Hauer is "responsible" for the scb9328 board. Did you
> nbegotiate your patch with him?

Hm, he did the initial port. Now I tune this and that and Sascha is
testing my images or patches from time to time.
The scb9328 is developed sold in our company whereas Sascha works
somewhere else now.

> I reject this patch. It violates the  coding  style  (trailing  white
> space, indenation not by TABs, etc.), and some of your changes to

Ouch! I will fix this. I even found linebreaks replaced by
TAB+linebreak.
Do you have seen this by accident or do you search for such things
with your editor?

> scb9328.h   file   don't   look  clean  to  me.  Your  definition  of
> CONFIG_COMMANDS is error prone. 

Ok, how should I do it right?

> Go figure what happens when  somebody
> add's  a  new  command  which is not supported by your board. He will
> probably not bother to update your config file.

I don't get it. May be I have blinders on now. But how breaks a new
config command my setup (and not the others, I saw this construction
somewhere else).

> > It contains the code unlocking intel k3 devices.
> 
> This is another reason for rejecting it. See the rpevious  discussion
> about this issue.

This stuff I removed again in the git diff (not fully I realized now,
two defines...).
I use "protect off" and for normal use
userspace tools does this from linux-mtd.

> Please clean up and submit as patch here on the list.

No Problem.


Konsti

-- 
GPG KeyID EF62FCEF
Fingerprint: 13C9 B16B 9844 EC15 CC2E  A080 1E69 3FDA EF62 FCEF

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

* [U-Boot-Users] i.MX support for scb9328 cleaned up
  2005-10-11 15:50           ` Konstantin Kletschke
@ 2005-10-11 20:21             ` Wolfgang Denk
  0 siblings, 0 replies; 13+ messages in thread
From: Wolfgang Denk @ 2005-10-11 20:21 UTC (permalink / raw)
  To: u-boot

In message <87hdbojbn1.wl%kletschke@synertronixx.de> you wrote:
>
> Here we go:
> 
> http://www.ludenkalle.de/u-boot/u-boot-git-20051011/
> 
> Compiles and runs well.

Ummm.... there are 15 files with somewhat funny,  but  non-desriptive
names in this directory. What am I to do with this?

Best regards,

Wolfgang Denk

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
It is dangerous to be right on a subject  on  which  the  established
authorities are wrong.                                    -- Voltaire

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

* [U-Boot-Users] i.MX support for scb9328 cleaned up
  2005-10-11 18:25   ` Konstantin Kletschke
@ 2005-10-11 20:34     ` Wolfgang Denk
  2005-10-12  7:59       ` Konstantin Kletschke
  0 siblings, 1 reply; 13+ messages in thread
From: Wolfgang Denk @ 2005-10-11 20:34 UTC (permalink / raw)
  To: u-boot

In message <87achfykq2.wl%konsti@ku-gbr.de> you wrote:
> 
> Ouch! I will fix this. I even found linebreaks replaced by
> TAB+linebreak.

Does that mean that I should  ignore  the  link  you  posted  earlier
today?

> Do you have seen this by accident or do you search for such things
> with your editor?

I scan most patches, escpecially from new or untrusted posters, and I
regularly scan (and cleanup) the whole code tree.

> > scb9328.h   file   don't   look  clean  to  me.  Your  definition  of
> > CONFIG_COMMANDS is error prone. 
> 
> Ok, how should I do it right?

Make sure to include or exactly the needed features only. "all but X"
is asking for problems when a new feature Y gets added which  is  not
supported  by  your  board. Rather use "default - M - N + X + Y".

> I don't get it. May be I have blinders on now. But how breaks a new
> config command my setup (and not the others, I saw this construction
> somewhere else).

Yes, there are several of these stupidly configured  boards  which  I
have to cleanup nearly each time a new command gets added. See above.


Best regards,

Wolfgang Denk

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Applying computer technology is simply finding the  right  wrench  to
pound in the correct screw.

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

* [U-Boot-Users] i.MX support for scb9328 cleaned up
  2005-10-11 20:34     ` Wolfgang Denk
@ 2005-10-12  7:59       ` Konstantin Kletschke
  0 siblings, 0 replies; 13+ messages in thread
From: Konstantin Kletschke @ 2005-10-12  7:59 UTC (permalink / raw)
  To: u-boot

At Tue, 11 Oct 2005 22:34:24 +0200,
Wolfgang Denk <wd@denx.de> wrote:

> Does that mean that I should  ignore  the  link  you  posted  earlier
> today?

I cleared up the structure now.

http://www.ludenkalle.de/u-boot/

Has my last clean up effort and the old stuff in deprecated.
The u-boot-git-20051012.diff is a diff between yesterdays git checkout
and my actual modifications. the directory content of
u-boot-git-20051012/ is the same splittet with splitdiff vor viewing
convenience on a per file basis (so pretty redundant).

> Make sure to include or exactly the needed features only. "all but X"
> is asking for problems when a new feature Y gets added which  is  not
> supported  by  your  board. Rather use "default - M - N + X + Y".

But is

+#define CONFIG_COMMANDS \
	 (CONFIG_CMD_DFL\
	& ~CFG_CMD_NET\
	& ~CFG_CMD_IMLS\

[...]

	& ~CFG_CMD_MISC\
	| CFG_CMD_CACHE)

not your described way to do this?

> Yes, there are several of these stupidly configured  boards  which  I
> have to cleanup nearly each time a new command gets added. See

Do you have an example in mind where I should have a look at?

Regards, Konsti

-- 
GPG KeyID EF62FCEF
Fingerprint: 13C9 B16B 9844 EC15 CC2E  A080 1E69 3FDA EF62 FCEF

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

end of thread, other threads:[~2005-10-12  7:59 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-05-12 14:32 [U-Boot-Users] i.MX support for scb9328 cleaned up Konstantin Kletschke
2005-10-08 23:17 ` Wolfgang Denk
2005-10-11  7:49   ` Sascha Hauer
2005-10-11  8:11     ` Wolfgang Denk
2005-10-11  9:47       ` Sascha Hauer
2005-10-11 10:21       ` Konstantin Kletschke
2005-10-11 12:56       ` Konstantin Kletschke
2005-10-11 13:38         ` Wolfgang Denk
2005-10-11 15:50           ` Konstantin Kletschke
2005-10-11 20:21             ` Wolfgang Denk
2005-10-11 18:25   ` Konstantin Kletschke
2005-10-11 20:34     ` Wolfgang Denk
2005-10-12  7:59       ` Konstantin Kletschke

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