Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Ulf Samuelsson <ulf.samuelsson@atmel.com>
To: buildroot@busybox.net
Subject: [Buildroot] What's up with the kernel names? (Again)
Date: Fri, 6 Feb 2009 09:56:46 +0100	[thread overview]
Message-ID: <D071C392448744ECA7A451C54A46ABE6@aeglos> (raw)
In-Reply-To: 87eiycarei.fsf@macbook.be.48ers.dk



----- Original Message ----- 
From: "Peter Korsgaard" <jacmet@uclibc.org>
To: <ulf.samuelsson@atmel.com>
Cc: "Peter Korsgaard" <jacmet@uclibc.org>; "Thiago A.Corr?a" 
<thiago.correa@gmail.com>; <buildroot@uclibc.org>
Sent: Friday, February 06, 2009 9:41 AM
Subject: Re: [Buildroot] What's up with the kernel names? (Again)


>>>>>> "Ulf" == Ulf Samuelsson <ulf.samuelsson@atmel.com> writes:
>
> >> To me the sane thing would just be for the files to be named whatever
> >> the kernel names them (uImage/zImage/bzImage/..), but even if we don't
> >> do that we should atleast make the 2 Linux types use the same style.
>
> >> We can add BR2_KERNEL_PREFIX/SUFFIX (defaulting to "") if people
> >> really to do something special.
> >>
> >> Ulf, what do you say?
> >>
>
> Ulf> I think that we should have a symbolic link to xImage as we do for
> Ulf> u-boot.bin for those that do not like the more complex filenames.
> Ulf> Then there is no need for a
>
> I think the suggestion to either use the rootfs suffix/prefix or
> introduce a kernel version of them makes more sense than adding more
> clutter with symlinks (and the potential problems they give)
>
> Ulf> uImage really does not give you *any* information on the contents.
>
> Similar to rootfs.powerpc.squashfs doesn't tell you much about what
> files you have in there.

> When people see uImage or u-boot.bin, it's
> completely clear what type of image format it is, as that's what they
> are used to from compiling the kernel/u-boot/whatever by hand.
>

Yes, but again, when you work on multiple boards, it is a useless name
If you look at commercial linux support (aty least Timesys), they do not 
distribute
files called "uImage", their naming is similar to the current.

If symlinks are no good, and I dont understand why, then a duplicate would 
work for me.

> Ulf> When testing several configurations for the same kernel,
> Ulf> adding some kind of revision information is important.
> Ulf> THat is why the date is there, a little simplistic, but
> Ulf> it works for me.
>
> That's the point I guess - It's a pretty random decission that
> obviously doesn't work for others.
>
> This unstable kernel name doesn't work very well with scripts - E.G. I
> have an updatelinux script in U-Boot which downloads a fixed filename
> from tftp and writes it to flash.
>
> But sure, we can support *_SUFFIX set to $(DATE) for the people who
> wants something like that.
>
> -- 
> Bye, Peter Korsgaard
>

Can we agree on
$(PROJECT)-linux-$(LINUX_VERSION)$(<XXX>_SUFFIX).$(<XXX>_EXT)

and leave $(DATE) in SUFFIX?

This is a stable name, and also gives the information I require.


Best Regards
Ulf Samuelsson

  reply	other threads:[~2009-02-06  8:56 UTC|newest]

Thread overview: 46+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-02-04  1:49 [Buildroot] What's up with the kernel names? (Again) Thiago A. Corrêa
2009-02-04  7:39 ` Peter Korsgaard
2009-02-04 12:29 ` Peter Korsgaard
2009-02-05  2:33   ` Thiago A. Corrêa
2009-02-05 13:23     ` Peter Korsgaard
2009-02-05 20:37       ` Ulf Samuelsson
2009-02-06  2:28         ` Thiago A. Corrêa
2009-02-06  6:16           ` Ulf Samuelsson
2009-02-06  8:49             ` Peter Korsgaard
2009-02-06  9:06               ` Ulf Samuelsson
2009-02-06 12:30                 ` Peter Korsgaard
2009-02-06  8:45           ` Peter Korsgaard
2009-02-06  8:58             ` Ulf Samuelsson
2009-02-06  8:44         ` Peter Korsgaard
2009-02-05 20:23   ` Ulf Samuelsson
2009-02-06  8:41     ` Peter Korsgaard
2009-02-06  8:56       ` Ulf Samuelsson [this message]
2009-02-06 12:27         ` Peter Korsgaard
2009-02-06 14:31         ` Thiago A. Corrêa
2009-02-06 15:18           ` Thiago A. Corrêa
2009-02-09 17:24           ` Ulf Samuelsson
2009-02-09 19:34             ` Peter Korsgaard
2009-02-09 22:52               ` Ulf Samuelsson
2009-02-10  1:25                 ` Thiago A. Corrêa
2009-02-10  8:02                   ` Ulf Samuelsson
2009-02-10  9:28                     ` Peter Korsgaard
2009-02-10 10:32                       ` Ulf Samuelsson
2009-02-10  9:17                 ` Peter Korsgaard
2009-02-10 10:16                   ` Ulf Samuelsson
2009-02-10 12:51                     ` Peter Korsgaard
2009-02-10 13:50                       ` Ulf Samuelsson
2009-02-10 16:34                         ` Thiago A. Corrêa
2009-02-10 17:17                           ` Thiago A. Corrêa
2009-02-10 17:42                             ` Ulf Samuelsson
2009-02-10 18:48                               ` Thiago A. Corrêa
2009-02-11 20:03                                 ` Ulf Samuelsson
2009-02-11 20:15                                   ` Peter Korsgaard
2009-02-12 18:16                                     ` Ulf Samuelsson
2009-02-16 22:21                                       ` Thiago A. Corrêa
2009-02-17 11:26                                         ` Peter Korsgaard
2009-02-10 18:26                           ` Ulf Samuelsson
2009-02-10 18:50                           ` Ulf Samuelsson
2009-02-10 20:06                             ` Thiago A. Corrêa
2009-02-10 18:59                           ` Ulf Samuelsson
2009-02-10 19:49                           ` Ulf Samuelsson
2009-02-10 20:06                             ` Peter Korsgaard

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=D071C392448744ECA7A451C54A46ABE6@aeglos \
    --to=ulf.samuelsson@atmel.com \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox