Skip to contentSkip to conversation

u-boot sparc for leon3-altera-ep2s60-sdr working

U-Boot Fabio Giovagnini 4 participants 6 messages Feb 11, 2011 – Feb 12, 2011

lore
Share & tools
lore
#0 lore raw

Hi guys, I'd like to add the configuration for leon3-altera-ep2s60-sdr board. What could be the best working way to have an automatic patch generator?

Thanks

Fabio Giovagnini

#1 lore raw

Hi Fabio,

Le 11/02/2011 14:45, Fabio Giovagnini a ?crit :

Quoted 2 lines

Hi guys, I'd like to add the configuration for leon3-altera-ep2s60-sdr board. What could be the best working way to have an automatic patch generator?

Make one, I guess. :)

Seriously, though: what do you mean by "automatic patch generator"?

If you mean "I've done modifications to the official U-boot source code and now I need to create a diff patch between my curent source tree and the official U-boot source tree", then that's what git is for.

If you mean something else, please explain.

Quoted 3 lines

Thanks

Fabio Giovagnini

Amicalement,

Signature · 1 line
Albert.
#2 lore raw
Quoted 7 lines · On Saturday 12 February 2011 08:13:08 Albert ARIBAUD wrote:

Hi Fabio,

Le 11/02/2011 14:45, Fabio Giovagnini a ?crit :

Quoted 3 lines

Hi guys, I'd like to add the configuration for leon3-altera-ep2s60-sdr board. What could be the best working way to have an automatic patch generator?

Quoted 7 lines

Make one, I guess. :)

Seriously, though: what do you mean by "automatic patch generator"?

If you mean "I've done modifications to the official U-boot source code and now I need to create a diff patch between my curent source tree and the official U-boot source tree", then that's what git is for.

Exactly this.
I started to study git, so I'm doing some tests.

Thanks
Cheers

Quoted 8 lines

If you mean something else, please explain.

Quoted 3 lines

Thanks

Fabio Giovagnini

Amicalement,

Signature · 10 lines
Ing. Fabio Giovagnini

Aurion s.r.l.
P.I e C.F.
00885711200
skype: aurion.giovagnini
Tel. +39.051.594.78.24
Fax. +39.051.082.14.49
Cell. +39.335.83.50.919
www.aurion-tech.com
#3 lore raw
Quoted 10 lines · Fabio Giovagnini
Quoted 9 lines · On Saturday 12 February 2011 08:13:08 Albert ARIBAUD wrote:

Hi Fabio,

Le 11/02/2011 14:45, Fabio Giovagnini a ?crit :

Quoted 3 lines

Hi guys, I'd like to add the configuration for leon3-altera-ep2s60-sdr board. What could be the best working way to have an automatic patch generator?

Make one, I guess. :)

Quoted 8 lines
Quoted 5 lines

Seriously, though: what do you mean by "automatic patch generator"?

If you mean "I've done modifications to the official U-boot source code and now I need to create a diff patch between my curent source tree and the official U-boot source tree", then that's what git is for.

Exactly this.
I started to study git, so I'm doing some tests.

git format-patch is your friend :)

I would recommend stg (stacked git) - It will allow you to mess around with (and mess up) patches without polluting your git tree

It is really just a wrapper around git commands, but for me, it makes like a lot easier

Quoted 12 lines

Thanks
Cheers

Quoted 8 lines

If you mean something else, please explain.

Quoted 3 lines

Thanks

Fabio Giovagnini

Amicalement,

Regards,

Graeme

#4 lore raw

Where could I find stg? and its documentation?

Thanks

Quoted 42 lines · On Saturday 12 February 2011 10:33:05 Graeme Russ wrote:
Quoted 10 lines · Fabio Giovagnini
Quoted 9 lines · On Saturday 12 February 2011 08:13:08 Albert ARIBAUD wrote:

Hi Fabio,

Le 11/02/2011 14:45, Fabio Giovagnini a ?crit :

Quoted 3 lines

Hi guys, I'd like to add the configuration for leon3-altera-ep2s60-sdr board. What could be the best working way to have an automatic patch generator?

Make one, I guess. :)

Quoted 8 lines
Quoted 5 lines

Seriously, though: what do you mean by "automatic patch generator"?

If you mean "I've done modifications to the official U-boot source code and now I need to create a diff patch between my curent source tree and the official U-boot source tree", then that's what git is for.

Exactly this.
I started to study git, so I'm doing some tests.

git format-patch is your friend :)

I would recommend stg (stacked git) - It will allow you to mess around with (and mess up) patches without polluting your git tree

It is really just a wrapper around git commands, but for me, it makes like a lot easier

Quoted 10 lines

Thanks
Cheers

Quoted 7 lines

If you mean something else, please explain.

Quoted 3 lines

Thanks

Fabio Giovagnini

Amicalement,

Regards,

Graeme

Signature · 10 lines
Ing. Fabio Giovagnini

Aurion s.r.l.
P.I e C.F.
00885711200
skype: aurion.giovagnini
Tel. +39.051.594.78.24
Fax. +39.051.082.14.49
Cell. +39.335.83.50.919
www.aurion-tech.com
#5 lore raw
In reply to Graeme Russ

Dear Graeme Russ,

Quoted 6 lines · In message <[email protected]> you wrote:

I would recommend stg (stacked git) - It will allow you to mess around with (and mess up) patches without polluting your git tree

It is really just a wrapper around git commands, but for me, it makes like a lot easier

I tried stg a few times, but I guess it's a matter of taste. I never found anything there that I could not do as well (or even ina more "natural" way) using plain git - especially "git rebase -i", occasionally augmented with "git add -i".

The nice thing is that there are many compatible tools and everybody can try them out and find the ones that suit his mode of operation best.

Best regards,

Wolfgang Denk

Signature · 4 lines
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
You are in a maze of UUCP connections, all alike.