Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Ulf Samuelsson <ulf.samuelsson@atmel.com>
To: buildroot@busybox.net
Subject: [Buildroot] svn commit: trunk/buildroot/target/u-boot
Date: Tue, 06 Jan 2009 17:06:38 +0100	[thread overview]
Message-ID: <1231257998.32308.158.camel@elrond.atmel.com> (raw)
In-Reply-To: <87r63gqzm9.fsf@macbook.be.48ers.dk>

tis 2009-01-06 klockan 15:26 +0100 skrev Peter Korsgaard:
> >>>>> "ulf" == ulf  <ulf@uclibc.org> writes:
> 
>  ulf> Author: ulf
>  ulf> Date: 2009-01-06 14:16:27 +0000 (Tue, 06 Jan 2009)
>  ulf> New Revision: 24697
> 
>  ulf> Log:
>  ulf> Use PROJECT-u-boot-VERSION-DATE.bin as u-boot target
>  ulf> Provide link using "u-boot.bin"
> 
> Ohh, didn't we just discuss it? I don't think this belongs in
> buildroot.
> 

I see that now, I did not read emails for an hour or so.

> If you really want it, couldn't you then do it in you
> copy-to-tftp-thingy?

I really want everything that simplifies the process of 
bringing the board up and running in the fastest possible time
and removes possible causes of errors.

?If a part of bringing up the board requires manual typing,
which can be replaced by a simple recipe in buildroot,
then I consider it to be a good candidate
for having support in buildroot.

When information is coming from the buildroot .config file,
then definitely I consider it to be ripe.
?This implies exporting relevant information from Buildroot.


---------------

I have pointed out the problem of copying stuff
to the tftpboot directory.

You have pointed out that you do not like it,
but you have not given any motivation why.
Obviously breaking the build is a good one,
but otherwise I have seen no real motivation.
Some features are not needed by everybody,
but that is not a good reason to block other
people to use this feature.

Doing it in a COPY_TO part will solve the problem
if you copy it directly, but if you 
take the BINAIRES file and send to someone
by mail, then they will have the problem,
so it is essential that the file has the 
correct file name which makes people understand
what it is.

Commercial linux companies like Timesys adopt
the same type of scheme when they deliver packages.
Using simple names like uImage and u-boot.bin
simply does not cut it in a more demanding environment.

I would not mind to replace the link to u-boot.bin
with a real file, if that is the worry.

-----------------




>  
>  ulf> +menuconfig BR2_TARGET_UBOOT_DEFAULT_ENV
>  ulf> +	bool "Generate a default environment"
>  ulf> +	default n
>  ulf> +	depends on BR2_TARGET_UBOOT
>  ulf> +	help
> 
> default n is implied, so don't add that.

OK.

> Isn't this all within the if BR2_TARGET_UBOOT section, so you don't
> need the depends?
> 
>  ulf> -	echo setenv linux $(BOARD_NAME)-linux-$(LINUX26_VERSION)-$(DATE).gz >> $(U_BOOT_AUTOSCRIPT)
>  ulf> +	echo setenv linux $(LINUX26_KERNEL_NAME).gz >> $(U_BOOT_AUTOSCRIPT)
> 
> Why .gz?
> 

to indicate that it is compressed.

>  ulf>  	echo setenv kernel-version $(LINUX26_VERSION) >> $(U_BOOT_AUTOSCRIPT)
>  ulf>  	echo setenv kernel-date $(DATE) >> $(U_BOOT_AUTOSCRIPT)
>  ulf>  	echo setenv hostname $(TARGET_HOSTNAME) >> $(U_BOOT_AUTOSCRIPT)
>  ulf>  	echo setenv fs-date $(DATE) >> $(U_BOOT_AUTOSCRIPT)
>  ulf> -	echo setenv rd-1 rootfs.$(BR2_ARCH)-$(DATE).ext2 >> $(U_BOOT_AUTOSCRIPT)
>  ulf> -	echo setenv rd-2 rootfs.$(BR2_ARCH)-$(DATE).jffs2 >> $(U_BOOT_AUTOSCRIPT)
>  ulf> +	echo setenv rd-1 rootfs.$(ARCH)-$(DATE).ext2 >> $(U_BOOT_AUTOSCRIPT)
>  ulf> +	echo setenv rd-2 rootfs.$(ARCH)-$(DATE).jffs2 >> $(U_BOOT_AUTOSCRIPT)
> 
> Why .ext2 and .jffs2? This doesn't seem very generic.

These are the two of the most used filesystems.
If a user needs to use a different file name, then
it is easy for them to do a "setenv rd-3 <filename>"
from within u-boot.

> 
> Please fix.
> 

  reply	other threads:[~2009-01-06 16:06 UTC|newest]

Thread overview: 69+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-06 14:16 [Buildroot] svn commit: trunk/buildroot/target/u-boot ulf at uclibc.org
2009-01-06 14:26 ` Peter Korsgaard
2009-01-06 16:06   ` Ulf Samuelsson [this message]
  -- strict thread matches above, loose matches on Subject: below --
2009-02-10 15:19 jacmet at uclibc.org
2009-02-10 15:19 jacmet at uclibc.org
2009-02-10 15:19 jacmet at uclibc.org
2009-02-07  6:57 jacmet at uclibc.org
2009-02-04 23:15 jacmet at uclibc.org
2009-01-26 14:49 jacmet at uclibc.org
2009-01-26 14:49 jacmet at uclibc.org
2009-01-26 14:04 jacmet at uclibc.org
2009-01-26 11:46 ulf at uclibc.org
2009-01-22 18:46 ulf at uclibc.org
2009-01-22 10:15 jacmet at uclibc.org
2009-01-21 15:49 jacmet at uclibc.org
2009-01-20  8:11 ulf at uclibc.org
2009-01-11 21:39 ulf at uclibc.org
2009-01-24  8:21 ` Peter Korsgaard
2009-01-24 10:55   ` Ulf Samuelsson
2009-01-24 11:43     ` Peter Korsgaard
2009-01-24 15:27   ` Dan Lyke
2009-01-08 14:58 jacmet at uclibc.org
2009-01-08 14:58 jacmet at uclibc.org
2009-01-05 16:16 jacmet at uclibc.org
2009-01-05 16:12 jacmet at uclibc.org
2009-01-05 18:12 ` Ulf Samuelsson
2009-01-05 18:16   ` Ulf Samuelsson
2009-01-05 20:14     ` Peter Korsgaard
2009-01-05 20:12   ` Peter Korsgaard
2009-01-06 12:50     ` Ulf Samuelsson
2009-01-06 12:59       ` Peter Korsgaard
2009-01-05 15:52 jacmet at uclibc.org
2009-01-03 15:03 nkukard at uclibc.org
2009-01-03  0:02 ulf at uclibc.org
2009-01-03 20:46 ` Peter Korsgaard
2009-01-03 20:18   ` Ulf Samuelsson
2009-01-03  0:00 ulf at uclibc.org
2009-01-03 20:28 ` Peter Korsgaard
2009-01-03 20:37   ` Ulf Samuelsson
2008-08-20 20:04 jacmet at uclibc.org
2008-08-20 20:04 jacmet at uclibc.org
2008-08-20 20:04 jacmet at uclibc.org
2008-07-08 10:53 jacmet at uclibc.org
2008-07-04 22:18 ulf at uclibc.org
2008-07-07 13:27 ` Peter Korsgaard
2008-06-17  8:04 jacmet at uclibc.org
2008-06-13 13:46 jacmet at uclibc.org
2008-06-12  7:27 jacmet at uclibc.org
2008-06-11 13:07 jacmet at uclibc.org
2008-06-12  5:14 ` Hamish Moffatt
2008-06-12  7:28   ` Peter Korsgaard
2008-04-23 14:52 jacmet at uclibc.org
2008-04-23 14:59 ` Thiago A. Corrêa
2008-04-23 15:20   ` Peter Korsgaard
2008-04-23 16:22   ` Ulf Samuelsson
2008-04-23 17:35     ` Bernhard Fischer
2008-04-23 17:39       ` Ulf Samuelsson
2008-04-23 18:37         ` Bernhard Fischer
2008-04-23 18:29       ` Peter Korsgaard
2008-04-23 14:52 jacmet at uclibc.org
2008-04-23 13:03 jacmet at uclibc.org
2008-04-23 16:09 ` Ulf Samuelsson
2008-04-23 18:05   ` Peter Korsgaard
2008-04-23 18:35     ` Ulf Samuelsson
2008-04-23 13:03 jacmet at uclibc.org
2008-04-23 13:03 jacmet at uclibc.org
2008-04-23 10:30 jacmet at uclibc.org
2008-04-09  7:02 jacmet at uclibc.org
2008-04-09  7:02 jacmet at uclibc.org

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=1231257998.32308.158.camel@elrond.atmel.com \
    --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