All of lore.kernel.org
 help / color / mirror / Atom feed
From: Denys Dmytriyenko <denys@ti.com>
To: "Maupin, Chase" <chase.maupin@ti.com>
Cc: "meta-arago@arago-project.org" <meta-arago@arago-project.org>,
	"Cooper Jr., Franklin" <fcooper@ti.com>
Subject: Re: [PATCH 1/5] ti-tisdk-makefile: Update U-boot makefile
Date: Thu, 6 Feb 2014 10:25:47 -0500	[thread overview]
Message-ID: <20140206152547.GH18784@edge> (raw)
In-Reply-To: <7D46E86EC0A8354091174257B2FED1015995037E@DLEE11.ent.ti.com>

On Thu, Feb 06, 2014 at 02:59:09PM +0000, Maupin, Chase wrote:
> >-----Original Message-----
> >From: Cooper Jr., Franklin
> >Sent: Thursday, February 06, 2014 9:53 AM
> >To: Maupin, Chase; meta-arago@arago-project.org
> >Subject: RE: [meta-arago] [PATCH 1/5] ti-tisdk-makefile: Update U-
> >boot makefile
> >
> >
> >
> >> -----Original Message-----
> >> From: Maupin, Chase
> >> Sent: Thursday, February 06, 2014 8:28 AM
> >> To: Cooper Jr., Franklin; meta-arago@arago-project.org
> >> Subject: RE: [meta-arago] [PATCH 1/5] ti-tisdk-makefile: Update
> >U-boot
> >> makefile
> >>
> >> >-----Original Message-----
> >> >From: meta-arago-bounces@arago-project.org [mailto:meta-arago-
> >> >bounces@arago-project.org] On Behalf Of Cooper Jr., Franklin
> >> >Sent: Thursday, February 06, 2014 10:35 AM
> >> >To: meta-arago@arago-project.org
> >> >Cc: Cooper Jr., Franklin
> >> >Subject: [meta-arago] [PATCH 1/5] ti-tisdk-makefile: Update U-
> >boot
> >> >makefile
> >> >
> >> >* Add echo statements to make U-boot make,clean,install steps
> >stand
> >> >out.
> >> >* Remove installing of U-boot files since installing them into
> >the file
> >> >system
> >> >  servers no purpose.
> >>
> >> I would argue that this doesn't hurt anything and having them on
> >the file system
> >> allows for people to update the bootloader from Linux itself.
> >[Franklin] I can see your point but I was worried about the
> >confusion it would cause especially since the all the kernel files
> >are now in the /boot directory. Is there a point in copying u-
> >boot.map also?
> 
> Not sure about that one.

I would agree with removing u-boot from rootfs - it's not needed, but rather 
nice to have, plus it takes up space. I know flash storage is getting cheaper 
and we are getting larger partitions, but there were/are/will-be platforms 
with limited storage. And it's not that hard to transfer u-boot to Linux for 
flashing purposes, instead of having it there all the time. Plus, it will 
quickly get stale, as it's safe to assume users would want to flash a more 
recent u-boot image later on, not the one we ship...


> >> >Signed-off-by: Franklin S. Cooper Jr <fcooper@ti.com>
> >> >---
> >> > .../ti-tisdk-makefile/Makefile_u-boot-spl          |   14
> >> >++++++++++----
> >> > .../ti-tisdk-makefile/ti-tisdk-makefile_1.0.bb     |    2 +-
> >> > 2 files changed, 11 insertions(+), 5 deletions(-)
> >> >
> >> >diff --git a/meta-arago-distro/recipes-tisdk/ti-tisdk-
> >makefile/ti-
> >> >tisdk-makefile/Makefile_u-boot-spl b/meta-arago-distro/recipes-
> >> >tisdk/ti-tisdk-makefile/ti-tisdk-makefile/Makefile_u-boot-spl
> >> >index 9ce6429..d2de7a9 100644
> >> >--- a/meta-arago-distro/recipes-tisdk/ti-tisdk-makefile/ti-
> >tisdk-
> >> >makefile/Makefile_u-boot-spl
> >> >+++ b/meta-arago-distro/recipes-tisdk/ti-tisdk-makefile/ti-
> >tisdk-
> >> >makefile/Makefile_u-boot-spl
> >> >@@ -4,14 +4,20 @@ u-boot-spl_clean: u-boot_clean
> >> > u-boot-spl_install: u-boot_install
> >> >
> >> > u-boot:
> >> >+	@echo ===================================
> >> >+	@echo    Building U-boot
> >> >+	@echo ===================================
> >> > 	$(MAKE) -j $(MAKE_JOBS) -C $(TI_SDK_PATH)/board-support/u-
> >> >boot-* CROSS_COMPILE=$(CROSS_COMPILE) $(UBOOT_MACHINE)
> >> > 	$(MAKE) -j $(MAKE_JOBS) -C $(TI_SDK_PATH)/board-support/u-
> >> >boot-* CROSS_COMPILE=$(CROSS_COMPILE)
> >> >
> >> > u-boot_clean:
> >> >+	@echo ===================================
> >> >+	@echo    Cleaining U-boot
> >> >+	@echo ===================================
> >> > 	$(MAKE) -C $(TI_SDK_PATH)/board-support/u-boot-*
> >> >CROSS_COMPILE=$(CROSS_COMPILE) clean
> >> >
> >> > u-boot_install:
> >> >-	install -d $(DESTDIR)/boot
> >> >-	install $(TI_SDK_PATH)/board-support/u-boot-*/u-boot.img
> >> >$(DESTDIR)/boot
> >> >-	install $(TI_SDK_PATH)/board-support/u-boot-*/MLO
> >> >$(DESTDIR)/boot
> >> >-	install $(TI_SDK_PATH)/board-support/u-boot-*/u-boot.map
> >> >$(DESTDIR)/boot
> >> >+	@echo ===================================
> >> >+	@echo    Installing U-boot
> >> >+	@echo ===================================
> >> >+	@echo "Nothing to do"
> >> >diff --git a/meta-arago-distro/recipes-tisdk/ti-tisdk-
> >makefile/ti-
> >> >tisdk-makefile_1.0.bb b/meta-arago-distro/recipes-tisdk/ti-
> >tisdk-
> >> >makefile/ti-tisdk-makefile_1.0.bb
> >> >index 30c2901..374fa81 100644
> >> >--- a/meta-arago-distro/recipes-tisdk/ti-tisdk-makefile/ti-
> >tisdk-
> >> >makefile_1.0.bb
> >> >+++ b/meta-arago-distro/recipes-tisdk/ti-tisdk-makefile/ti-
> >tisdk-
> >> >makefile_1.0.bb
> >> >@@ -34,7 +34,7 @@ SRC_URI = "\
> >> >     file://Makefile_dual-camera-demo \  "
> >> >
> >> >-PR = "r25"
> >> >+PR = "r26"
> >> >
> >> > MAKEFILES_COMMON = "linux \
> >> >                     matrix-gui \
> >> >--
> >> >1.7.0.4
> >> >
> >> >_______________________________________________
> >> >meta-arago mailing list
> >> >meta-arago@arago-project.org
> >> >http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
> _______________________________________________
> meta-arago mailing list
> meta-arago@arago-project.org
> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago


  reply	other threads:[~2014-02-06 15:25 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-02-06 15:34 [PATCH 1/5] ti-tisdk-makefile: Update U-boot makefile Franklin S. Cooper Jr
2014-02-06 14:28 ` Maupin, Chase
2014-02-06 14:52   ` Cooper Jr., Franklin
2014-02-06 14:59     ` Maupin, Chase
2014-02-06 15:25       ` Denys Dmytriyenko [this message]
2014-02-06 15:52         ` Cooper Jr., Franklin
2014-02-06 15:34 ` [PATCH 2/5] wl18xx-firmware: Add Makefile as a patch Franklin S. Cooper Jr
2014-02-06 15:34 ` [PATCH 3/5] Update recipes to pull in Makefile changes Franklin S. Cooper Jr
2014-02-06 15:20   ` Denys Dmytriyenko
2014-02-06 15:29     ` Cooper Jr., Franklin
2014-02-06 15:34 ` [PATCH 4/5] tisdk-install: Use updated environment variable Franklin S. Cooper Jr
2014-02-06 15:34 ` [PATCH 5/5] ti-tisdk-makefile: Update Makefile stubs Franklin S. Cooper Jr

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=20140206152547.GH18784@edge \
    --to=denys@ti.com \
    --cc=chase.maupin@ti.com \
    --cc=fcooper@ti.com \
    --cc=meta-arago@arago-project.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.