From: Alexey Brodkin <Alexey.Brodkin@synopsys.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] wandboard: Use HTTP for accessing Linux kernel and U-Boot git repos
Date: Mon, 4 Jul 2016 09:54:42 +0000 [thread overview]
Message-ID: <1467626012.31417.12.camel@synopsys.com> (raw)
In-Reply-To: <87wpl9ofm0.fsf@dell.be.48ers.dk>
Hi Peter,
On Tue, 2016-06-28 at 10:57 +0200, Peter Korsgaard wrote:
> >
> > >
> > > >
> > > > >
> > > > > >
> > > > > > "Alexey" == Alexey Brodkin <Alexey.Brodkin@synopsys.com> writes:
> ?>> So I've changed it to use the release tarball instead.
>
> ?> Thanks for that.
>
> ?> Now I'm trying to get Wandboard working from the most recent upstream
> ?> kernel and U-Boot. If it all works I'll update that defconfig again :)
>
> Great, thanks!
So I wanted to do another fixup to Wandboard very similar to what I did
for Cubieboard but looks like it requires patching of U-Boot.
What happens with the most recent U-Boot (I think I tried 2016.05 and 2016.07-rc2)
in Buildroot U-Boot's image happens to be a little bit too large.
Wandboard's SD-card layout is as follows:
1. SPL with offset 1k
2. U-Boot itself with offset 69k
3. U-Boot's environment with offset 384k
And because of u-boot.img being?323032 bytes long it simply doesn't fit in
those 315kB left before U-Boot env. That's what I see in my build console:
-------------------------->8-----------------------
hdimage(sdcard.img): part u-boot-env overlaps with previous partition
Makefile:672: recipe for target 'target-post-image' failed
make[1]: *** [target-post-image] Error 1
Makefile:16: recipe for target '_all' failed
make: *** [_all] Error 2
-------------------------->8-----------------------
Note here we cannot fix the issue with changes in "board/wandboard/genimage.cfg"
because U-Boot's environment position is hardcoded in U-Boot's "include/configs/wandboard.h",
see?http://git.denx.de/?p=u-boot.git;a=blob;f=include/configs/wandboard.h#l184
Let me discuss this problem on U-Boot's mailing list first and then we either
backport upstream patch or we'll cook something out if the tree.
Interesting enough if I compile U-Boot for WB form the same sources but with ARM
toolchian available in my Fedora 23 host distro u-boot.img becomes a little bit more
compact and squeezes in its "partition" in SD-card image.
-Alexey?
next prev parent reply other threads:[~2016-07-04 9:54 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-06-28 7:45 [Buildroot] [PATCH] wandboard: Use HTTP for accessing Linux kernel and U-Boot git repos Alexey Brodkin
2016-06-28 8:26 ` Peter Korsgaard
2016-06-28 8:28 ` Alexey Brodkin
2016-06-28 8:57 ` Peter Korsgaard
2016-07-04 9:54 ` Alexey Brodkin [this message]
2016-07-04 12:41 ` 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=1467626012.31417.12.camel@synopsys.com \
--to=alexey.brodkin@synopsys.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