From: Peter Korsgaard <jacmet@uclibc.org>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 2/4] nitrogen6x: use 6x_bootscript/6x_upgrade instead of older 6q_ versions
Date: Thu, 26 Sep 2013 16:37:09 +0200 [thread overview]
Message-ID: <87r4cb7ip6.fsf@dell.be.48ers.dk> (raw)
In-Reply-To: <1380136072-9879-3-git-send-email-eric.nelson@boundarydevices.com> (Eric Nelson's message of "Wed, 25 Sep 2013 12:07:50 -0700")
>>>>> "Eric" == Eric Nelson <eric.nelson@boundarydevices.com> writes:
Hi Eric,
Eric> Signed-off-by: Eric Nelson <eric.nelson@boundarydevices.com>
Eric> +++ b/board/boundarydevices/nitrogen6x/post-build.sh
Eric> @@ -1,18 +1,20 @@
Eric> #!/bin/sh
Eric> # post-build fixups
Eric> -# for furthe details, see
Eric> -# http://boundarydevices.com/u-boot-conventions-for-i-mx6-nitrogen6x-and-sabrelite/
Eric> +# for further details, see
Eric> +#
Eric> +# http://boundarydevices.com/u-boot-on-i-mx6/
Eric> +#
Eric> TARGET_DIR=$1
Eric> IMAGES_DIR=$1/../images
Eric> BOARD_DIR="$(dirname $0)"
Eric> # bd u-boot looks for bootscript here
Eric> -cp $BOARD_DIR/6q_bootscript $TARGET_DIR
Eric> +cp $BOARD_DIR/6x_bootscript $TARGET_DIR
Eric> # u-boot / update script for bd upgradeu command
Eric> -if [ -e $IMAGES_DIR/u-boot.bin ];
Eric> +if [ -e $IMAGES_DIR/u-boot.imx ];
Eric> then
Eric> - cp $IMAGES_DIR/u-boot.bin $TARGET_DIR
Eric> - cp $BOARD_DIR/6q_upgrade $TARGET_DIR
Eric> + cp $IMAGES_DIR/u-boot.imx $TARGET_DIR
Eric> + cp $BOARD_DIR/6x_upgrade $TARGET_DIR
Hmm, how is that supposed to work? I don't know the details of the imx6
boot sequence, but:
- We don't currently have an option in the u-boot package to install
u-boot.imx to IMAGES_DIR/, so this will never run
- Comparing 6q_upgrade and 6x_upgrade I see we used to write the raw
u-boot.bin to offset 0 in the spi flash, and now are writing
u-boot.imx (which presumably is u-boot.bin with a freescale header) to
offset 1K. I see that the .imx file is 4K bigger than the .bin
file, so that's presumably the size of the freescale header.
I'll go and add a option for u-boot.imx to the u-boot package, but would
like to hear if 6x_upgrade is doing the right thing here.
--
Bye, Peter Korsgaard
next prev parent reply other threads:[~2013-09-26 14:37 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-09-25 19:07 [Buildroot] [PATCH 0/4] i.MX6 and Nitrogen6x updates Eric Nelson
2013-09-25 19:07 ` [Buildroot] [PATCH 1/4] nitrogen6x: bump U-Boot to latest production version (2013.07) Eric Nelson
2013-09-26 19:19 ` Peter Korsgaard
2013-09-25 19:07 ` [Buildroot] [PATCH 2/4] nitrogen6x: use 6x_bootscript/6x_upgrade instead of older 6q_ versions Eric Nelson
2013-09-26 14:37 ` Peter Korsgaard [this message]
2013-09-26 15:13 ` Eric Nelson
2013-09-26 19:10 ` Peter Korsgaard
2013-09-26 20:20 ` Eric Nelson
2013-09-26 19:20 ` Peter Korsgaard
2013-09-25 19:07 ` [Buildroot] [PATCH 3/4] nitrogen6x: bump kernel to latest version (3.0.35-4.1.0) Eric Nelson
2013-09-26 19:20 ` Peter Korsgaard
2013-09-25 19:07 ` [Buildroot] [PATCH 4/4] i.MX6: Update Freescale hardware-acceleration bits to latest versions Eric Nelson
2013-09-26 19:36 ` Peter Korsgaard
2013-09-26 20:41 ` Eric Nelson
2013-10-01 6:20 ` Arnout Vandecappelle
2013-10-01 14:07 ` Eric Nelson
2013-10-01 19:42 ` Thomas Petazzoni
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=87r4cb7ip6.fsf@dell.be.48ers.dk \
--to=jacmet@uclibc.org \
--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