linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* arch/powerpc/boot/.gitignore questions
@ 2008-09-10 19:24 Randy Dunlap
  2008-09-10 20:40 ` Sean MacLennan
  0 siblings, 1 reply; 7+ messages in thread
From: Randy Dunlap @ 2008-09-10 19:24 UTC (permalink / raw)
  To: linuxppc-dev; +Cc: paulus

Hi,

I was looking at the arch/powerpc/boot/.gitignore file.
Why are all of those non-local-directory files listed there?
E.g., empty.c, inf*.c, inf*.h, zconf.h, zlib.h, zutil.h, etc.

And what is "dtc"?  I see a dtc-src directory, but "dtc" is MIA.
Same for kernel-vmlinux.strip.*

Thanks,
~Randy

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

* Re: arch/powerpc/boot/.gitignore questions
  2008-09-10 19:24 arch/powerpc/boot/.gitignore questions Randy Dunlap
@ 2008-09-10 20:40 ` Sean MacLennan
  2008-09-10 20:49   ` Wolfgang Denk
  2008-09-10 21:37   ` Randy Dunlap
  0 siblings, 2 replies; 7+ messages in thread
From: Sean MacLennan @ 2008-09-10 20:40 UTC (permalink / raw)
  To: Randy Dunlap; +Cc: linuxppc-dev, paulus

On Wed, 10 Sep 2008 12:24:05 -0700
"Randy Dunlap" <randy.dunlap@oracle.com> wrote:

> Hi,
> 
> I was looking at the arch/powerpc/boot/.gitignore file.
> Why are all of those non-local-directory files listed there?
> E.g., empty.c, inf*.c, inf*.h, zconf.h, zlib.h, zutil.h, etc.
> 
> And what is "dtc"?  I see a dtc-src directory, but "dtc" is MIA.

./arch/powerpc/boot/dtc

I believe if the dts is built into u-boot, the dtc is not built.

> Same for kernel-vmlinux.strip.*

I don't see a vmlinux.strip.* rule. I ignore vmlinux.strip.

Cheers,
   Sean

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

* Re: arch/powerpc/boot/.gitignore questions
  2008-09-10 20:40 ` Sean MacLennan
@ 2008-09-10 20:49   ` Wolfgang Denk
  2008-09-10 20:52     ` Scott Wood
  2008-09-10 21:37   ` Randy Dunlap
  1 sibling, 1 reply; 7+ messages in thread
From: Wolfgang Denk @ 2008-09-10 20:49 UTC (permalink / raw)
  To: Sean MacLennan; +Cc: Randy Dunlap, linuxppc-dev, paulus

Dear Sean MacLennan,

In message <20080910164046.4813753b@wally.pikatech.com> you wrote:
> 
> I believe if the dts is built into u-boot, the dtc is not built.

This is never the case. The device tree is considered to be  part  of
and provided to the boot loader by the kernel.


Best regards,

Wolfgang Denk

-- 
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@denx.de
Mr. Cole's Axiom:
        The sum of the intelligence on the planet is a constant;
        the population is growing.

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

* Re: arch/powerpc/boot/.gitignore questions
  2008-09-10 20:49   ` Wolfgang Denk
@ 2008-09-10 20:52     ` Scott Wood
  0 siblings, 0 replies; 7+ messages in thread
From: Scott Wood @ 2008-09-10 20:52 UTC (permalink / raw)
  To: Wolfgang Denk; +Cc: Randy Dunlap, linuxppc-dev, paulus, Sean MacLennan

Wolfgang Denk wrote:
> Dear Sean MacLennan,
> 
> In message <20080910164046.4813753b@wally.pikatech.com> you wrote:
>> I believe if the dts is built into u-boot, the dtc is not built.
> 
> This is never the case. The device tree is considered to be  part  of
> and provided to the boot loader by the kernel.

No, it's provided to the kernel by the firmware.  That the repository 
for the files that the user provides to u-boot for this purpose happens 
to live in the Linux source tree is irrelevant.

-Scott

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

* Re: arch/powerpc/boot/.gitignore questions
  2008-09-10 20:40 ` Sean MacLennan
  2008-09-10 20:49   ` Wolfgang Denk
@ 2008-09-10 21:37   ` Randy Dunlap
  2008-09-10 21:44     ` Scott Wood
  1 sibling, 1 reply; 7+ messages in thread
From: Randy Dunlap @ 2008-09-10 21:37 UTC (permalink / raw)
  To: Sean MacLennan; +Cc: linuxppc-dev, paulus

Sean MacLennan wrote:
> On Wed, 10 Sep 2008 12:24:05 -0700
> "Randy Dunlap" <randy.dunlap@oracle.com> wrote:
> 
>> Hi,
>>
>> I was looking at the arch/powerpc/boot/.gitignore file.
>> Why are all of those non-local-directory files listed there?
>> E.g., empty.c, inf*.c, inf*.h, zconf.h, zlib.h, zutil.h, etc.

Why would these files be listed in arch/powerpc/boot/.gitignore ??


>> And what is "dtc"?  I see a dtc-src directory, but "dtc" is MIA.
> 
> ./arch/powerpc/boot/dtc

Where do you see that?  That's not in 2.6.27-rc6 nor in the current
powerpc.git tree.  They both have:

> pwd
/var/linsrc/lin2627-rc6/arch/powerpc/boot
> ls -ld dt*
drwxr-xr-x 2 rdunlap users 4096 Jul 13 14:51 dtc-src/
drwxr-xr-x 2 rdunlap users 4096 Sep  9 19:33 dts/


which leads me to believe that the .gitignore entry should be either
dts or dtc-src or both, but not "dtc".


> I believe if the dts is built into u-boot, the dtc is not built.
> 
>> Same for kernel-vmlinux.strip.*
> 
> I don't see a vmlinux.strip.* rule. I ignore vmlinux.strip.

again, where are you looking?
This is in the current arch/powerpc/boot/.gitignore file.

~Randy

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

* Re: arch/powerpc/boot/.gitignore questions
  2008-09-10 21:37   ` Randy Dunlap
@ 2008-09-10 21:44     ` Scott Wood
  2008-09-10 21:48       ` Randy Dunlap
  0 siblings, 1 reply; 7+ messages in thread
From: Scott Wood @ 2008-09-10 21:44 UTC (permalink / raw)
  To: Randy Dunlap; +Cc: linuxppc-dev, paulus, Sean MacLennan

Randy Dunlap wrote:
>>> I was looking at the arch/powerpc/boot/.gitignore file.
>>> Why are all of those non-local-directory files listed there?
>>> E.g., empty.c, inf*.c, inf*.h, zconf.h, zlib.h, zutil.h, etc.
> 
> Why would these files be listed in arch/powerpc/boot/.gitignore ??

Because they're created when building a bootwrapper?

>>> And what is "dtc"?  I see a dtc-src directory, but "dtc" is MIA.
>> ./arch/powerpc/boot/dtc
> 
> Where do you see that?  That's not in 2.6.27-rc6 nor in the current
> powerpc.git tree.  They both have:

Of course not -- it wouldn't be in gitignore if it weren't a generated file.

>> pwd
> /var/linsrc/lin2627-rc6/arch/powerpc/boot
>> ls -ld dt*
> drwxr-xr-x 2 rdunlap users 4096 Jul 13 14:51 dtc-src/
> drwxr-xr-x 2 rdunlap users 4096 Sep  9 19:33 dts/
> 
> 
> which leads me to believe that the .gitignore entry should be either
> dts or dtc-src or both, but not "dtc".

Why would we want to ignore source directories?  dtc is the binary that 
is built from dtc-src.

-Scott

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

* Re: arch/powerpc/boot/.gitignore questions
  2008-09-10 21:44     ` Scott Wood
@ 2008-09-10 21:48       ` Randy Dunlap
  0 siblings, 0 replies; 7+ messages in thread
From: Randy Dunlap @ 2008-09-10 21:48 UTC (permalink / raw)
  To: Scott Wood; +Cc: linuxppc-dev, paulus, Sean MacLennan

Scott Wood wrote:
> Randy Dunlap wrote:
>>>> I was looking at the arch/powerpc/boot/.gitignore file.
>>>> Why are all of those non-local-directory files listed there?
>>>> E.g., empty.c, inf*.c, inf*.h, zconf.h, zlib.h, zutil.h, etc.
>>
>> Why would these files be listed in arch/powerpc/boot/.gitignore ??
> 
> Because they're created when building a bootwrapper?
> 
>>>> And what is "dtc"?  I see a dtc-src directory, but "dtc" is MIA.
>>> ./arch/powerpc/boot/dtc
>>
>> Where do you see that?  That's not in 2.6.27-rc6 nor in the current
>> powerpc.git tree.  They both have:
> 
> Of course not -- it wouldn't be in gitignore if it weren't a generated
> file.
> 
>>> pwd
>> /var/linsrc/lin2627-rc6/arch/powerpc/boot
>>> ls -ld dt*
>> drwxr-xr-x 2 rdunlap users 4096 Jul 13 14:51 dtc-src/
>> drwxr-xr-x 2 rdunlap users 4096 Sep  9 19:33 dts/
>>
>>
>> which leads me to believe that the .gitignore entry should be either
>> dts or dtc-src or both, but not "dtc".
> 
> Why would we want to ignore source directories?  dtc is the binary that
> is built from dtc-src.

Thanks.  Got it.

~Randy

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

end of thread, other threads:[~2008-09-10 22:43 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-09-10 19:24 arch/powerpc/boot/.gitignore questions Randy Dunlap
2008-09-10 20:40 ` Sean MacLennan
2008-09-10 20:49   ` Wolfgang Denk
2008-09-10 20:52     ` Scott Wood
2008-09-10 21:37   ` Randy Dunlap
2008-09-10 21:44     ` Scott Wood
2008-09-10 21:48       ` Randy Dunlap

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).