Problems building for Olimex A13. A new user enquires ...
First off: Thanks for Buildroot.
Second: Building on a Xubuntu 14.04 Virtual Box guest using Buildroot 2014-05-RC1
Thirdly: Please advise If there is a better place (to ask questions :))
I have set up a .config (attached if this helps) which builds quite happily from scratch until the board specific u-boot. The u-boot URL has been changed to https://github.com/linux-sunxi/u-boot-sunxi.git.
This is possibly a slightly odd combination as I'm trying to build using a board-specific u-boot with the mainline kernel sources (3.14.4).
The symptoms of the problem are below. I note this:
http://stackoverflow.com/questions/17216067/git-clone-b-tag-results-in-warni
ng-remote-branch-not-found-in-upstream-origi
How best to fix/resolve this? Is it a .config problem?
Many thanks.
Jerry.
--------------------------snip------------------------------ make[1]: Leaving directory `/home/jevans/olimex/buildroot'
Quoted 1 line
Quoted 1 line
Quoted 1 line
uboot Downloading
Doing shallow clone
Cloning into 'uboot-'...
warning: Could not find remote branch --bare to clone.
fatal: Remote branch --bare not found in upstream origin Unexpected end of command stream
Doing full clone
Cloning into bare repository 'uboot-'...
remote: Reusing existing pack: 261244, done.
remote: Counting objects: 52, done.
remote: Compressing objects: 100% (52/52), done.
remote: Total 261296 (delta 29), reused 2 (delta 0) Receiving objects: 100% (261296/261296), 72.68 MiB | 228.00 KiB/s, done. Resolving deltas: 100% (205455/205455), done.
Checking connectivity... done.
usage: git archive [options] <tree-ish> [<path>...]
or: git archive --list
or: git archive --remote <repo> [--exec <cmd>] [options] <tree-ish>
[<path>...]
or: git archive --remote <repo> [--exec <cmd>] --list
--format <fmt> archive format
--prefix <prefix> prepend prefix to each pathname in the archive
-o, --output <file> write the archive to this file --worktree-attributes
read .gitattributes in working directory
-v, --verbose report archived files on stderr
-0 store only
-1 compress faster
-9 compress better
-l, --list list supported archive formats
--remote <repo> retrieve the archive from remote repository <repo>
--exec <command> path to the remote git-upload-archive command
--2014-05-19 01:03:33-- http://sources.buildroot.net/uboot-.tar.gz
Resolving sources.buildroot.net (sources.buildroot.net)... 176.9.16.109 Connecting to sources.buildroot.net (sources.buildroot.net)|176.9.16.109|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2014-05-19 01:03:33 ERROR 404: Not Found.
make: *** [/home/jevans/olimex/buildroot/output/build/uboot-/.stamp_downloaded] Error 1
jevans at xub64:~/olimex/buildroot$
jevans at xub64:~/olimex/buildroot/output/build$ make
make: *** No targets specified and no makefile found. Stop. jevans at xub64:~/olimex/buildroot/output/build$
Hi Jerry,
Quoted 8 lines · On Mon, May 19, 2014 at 01:40:42AM +0100, g4 at novadsp.com wrote:
First off: Thanks for Buildroot.
Second: Building on a Xubuntu 14.04 Virtual Box guest using Buildroot 2014-05-RC1
Thirdly: Please advise If there is a better place (to ask questions :))
I have set up a .config (attached if this helps)
Is it? I couldn't find one (and it really helps).
baruch
Quoted 69 lines
which builds quite happily
from scratch until the board specific u-boot. The u-boot URL has been changed to https://github.com/linux-sunxi/u-boot-sunxi.git.This is possibly a slightly odd combination as I'm trying to build using a board-specific u-boot with the mainline kernel sources (3.14.4).
The symptoms of the problem are below. I note this:
http://stackoverflow.com/questions/17216067/git-clone-b-tag-results-in-warni
ng-remote-branch-not-found-in-upstream-origiHow best to fix/resolve this? Is it a .config problem?
Many thanks.
Jerry.
--------------------------snip------------------------------ make[1]: Leaving directory `/home/jevans/olimex/buildroot'
Quoted 1 line
Quoted 1 line
Quoted 1 line
uboot Downloading
Doing shallow clone
Cloning into 'uboot-'...
warning: Could not find remote branch --bare to clone.
fatal: Remote branch --bare not found in upstream origin Unexpected end of command stream
Doing full clone
Cloning into bare repository 'uboot-'...
remote: Reusing existing pack: 261244, done.
remote: Counting objects: 52, done.
remote: Compressing objects: 100% (52/52), done.
remote: Total 261296 (delta 29), reused 2 (delta 0) Receiving objects: 100% (261296/261296), 72.68 MiB | 228.00 KiB/s, done. Resolving deltas: 100% (205455/205455), done.
Checking connectivity... done.
usage: git archive [options] <tree-ish> [<path>...]
or: git archive --list
or: git archive --remote <repo> [--exec <cmd>] [options] <tree-ish>
[<path>...]
or: git archive --remote <repo> [--exec <cmd>] --list--format <fmt> archive format --prefix <prefix> prepend prefix to each pathname in the archive -o, --output <file> write the archive to this file--worktree-attributes
read .gitattributes in working directory
-v, --verbose report archived files on stderr
-0 store only
-1 compress faster
-9 compress better-l, --list list supported archive formats
--remote <repo> retrieve the archive from remote repository <repo>
--exec <command> path to the remote git-upload-archive command--2014-05-19 01:03:33-- http://sources.buildroot.net/uboot-.tar.gz
Resolving sources.buildroot.net (sources.buildroot.net)... 176.9.16.109 Connecting to sources.buildroot.net (sources.buildroot.net)|176.9.16.109|:80... connected.
HTTP request sent, awaiting response... 404 Not Found2014-05-19 01:03:33 ERROR 404: Not Found.make: *** [
/home/jevans/olimex/buildroot/output/build/uboot-/.stamp_downloaded] Error 1
jevans at xub64:~/olimex/buildroot$
jevans at xub64:~/olimex/buildroot/output/build$ make
make: *** No targets specified and no makefile found. Stop. jevans at xub64:~/olimex/buildroot/output/build$
Signature · 3 lines
http://baruch.siach.name/blog/ ~. .~ Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
- baruch at tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -Hello,
Quoted 3 lines · On Mon, 19 May 2014 01:40:42 +0100, g4 at novadsp.com wrote:
--------------------------snip------------------------------ make[1]: Leaving directory `/home/jevans/olimex/buildroot'
Quoted 1 line
Quoted 1 line
Quoted 1 line
uboot Downloading
There is no U-Boot version specified. I'd say your Buildroot configuration might be wrong.
Quoted 7 lines
Doing shallow clone
Cloning into 'uboot-'...
warning: Could not find remote branch --bare to clone.
fatal: Remote branch --bare not found in upstream origin Unexpected end of command stream
Doing full clone
Cloning into bare repository 'uboot-'...
Quoted 8 lines
remote: Reusing existing pack: 261244, done.
remote: Counting objects: 52, done.
remote: Compressing objects: 100% (52/52), done.
remote: Total 261296 (delta 29), reused 2 (delta 0) Receiving objects: 100% (261296/261296), 72.68 MiB | 228.00 KiB/s, done. Resolving deltas: 100% (205455/205455), done.
Checking connectivity... done.
usage: git archive [options] <tree-ish> [<path>...]
Which /might/ explain why git archive is failing (but not sure).
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com
Hello Baruch.
Attached as A13.config. Modified to set up as follows:
BR2_TARGET_UBOOT_CUSTOM_REPO_VERSION="sunxi"
BR2_TARGET_UBOOT_VERSION="sunxi"
Even though I can pull and build u-boot on its own Buildroot still fails as shown below. I realize this is bound to be user error so thanks again.
inux-uclibcgnueabi-" ARCH=arm A13-Olimex_config
make[1]: Entering directory /home/jevans/olimex/buildroot/output/build/uboot-b5bd4c92b2' make[1]: Leaving directory /home/jevans/olimex/buildroot/output/build/uboot-b5bd4c92b2' make[1]: Entering directory `/home/jevans/olimex/buildroot/output/build/uboot-b5bd4c92b2'
make: *** No rule to make target `A13-Olimex_config'. Stop. make[1]: *** [A13-Olimex_config] Error 1
make[1]: Leaving directory `/home/jevans/olimex/buildroot/output/build/uboot-b5bd4c92b2'
make: *** [/home/jevans/olimex/buildroot/output/build/uboot-b5bd4c92b2/.stamp_configur ed] Error 2
-----Original Message-----
From: Baruch Siach [mailto:baruch at tkos.co.il]
Sent: 19 May 2014 03:56
To: g4 at novadsp.com
Cc: buildroot at uclibc.org
Subject: Re: [Buildroot] Problems building for Olimex A13. A new user enquires ...
Hi Jerry,
Quoted 9 lines · On Mon, May 19, 2014 at 01:40:42AM +0100, g4 at novadsp.com wrote:
First off: Thanks for Buildroot.
Second: Building on a Xubuntu 14.04 Virtual Box guest using Buildroot 2014-05-RC1
Thirdly: Please advise If there is a better place (to ask questions :))
I have set up a .config (attached if this helps)
Is it? I couldn't find one (and it really helps).
baruch
Quoted 49 lines
which builds quite happily
from scratch until the board specific u-boot. The u-boot URL has been changed to https://github.com/linux-sunxi/u-boot-sunxi.git.This is possibly a slightly odd combination as I'm trying to build using a board-specific u-boot with the mainline kernel sources (3.14.4).
The symptoms of the problem are below. I note this:
http://stackoverflow.com/questions/17216067/git-clone-b-tag-results-in
-warni ng-remote-branch-not-found-in-upstream-origiHow best to fix/resolve this? Is it a .config problem?
Many thanks.
Jerry.
--------------------------snip------------------------------ make[1]: Leaving directory `/home/jevans/olimex/buildroot'
Quoted 1 line
Quoted 1 line
Quoted 1 line
uboot Downloading
Doing shallow clone
Cloning into 'uboot-'...
warning: Could not find remote branch --bare to clone.
fatal: Remote branch --bare not found in upstream origin Unexpected end of command stream Doing full clone Cloning into bare repository 'uboot-'...
remote: Reusing existing pack: 261244, done.
remote: Counting objects: 52, done.
remote: Compressing objects: 100% (52/52), done.
remote: Total 261296 (delta 29), reused 2 (delta 0) Receiving objects:
100% (261296/261296), 72.68 MiB | 228.00 KiB/s, done. Resolving deltas: 100% (205455/205455), done.
Checking connectivity... done.
usage: git archive [options] <tree-ish> [<path>...]
or: git archive --list
or: git archive --remote <repo> [--exec <cmd>] [options] <tree-ish>
[<path>...]
or: git archive --remote <repo> [--exec <cmd>] --list--format <fmt> archive format --prefix <prefix> prepend prefix to each pathname in the archive -o, --output <file> write the archive to this file--worktree-attributes
read .gitattributes in working directory
-v, --verbose report archived files on stderr
-0 store only
-1 compress faster
-9 compress better
Quoted 3 lines
-l, --list list supported archive formats
--remote <repo> retrieve the archive from remote repository
<repo>
Quoted 17 lines
--exec <command> path to the remote git-upload-archive command
--2014-05-19 01:03:33-- http://sources.buildroot.net/uboot-.tar.gz
Resolving sources.buildroot.net (sources.buildroot.net)... 176.9.16.109 Connecting to sources.buildroot.net (sources.buildroot.net)|176.9.16.109|:80... connected. HTTP request sent, awaiting response... 404 Not Found2014-05-19 01:03:33 ERROR 404: Not Found.make: *** [
/home/jevans/olimex/buildroot/output/build/uboot-/.stamp_downloaded] Error
1
jevans at xub64:~/olimex/buildroot$
jevans at xub64:~/olimex/buildroot/output/build$ make
make: *** No targets specified and no makefile found. Stop. jevans at xub64:~/olimex/buildroot/output/build$
Signature · 10 lines
http://baruch.siach.name/blog/ ~. .~ Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
- baruch at tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -
-------------- next part --------------
A non-text attachment was scrubbed...
Name: a13.config
Type: application/xml
Size: 43094 bytes
Desc: not available
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20140519/276dbf2f/attachment.wsdl>Hi,
Quoted 11 lines · On Mon, May 19, 2014 at 10:52:58AM +0100, g4 at novadsp.com wrote:
Hello Baruch.
Attached as A13.config. Modified to set up as follows:
BR2_TARGET_UBOOT_CUSTOM_REPO_VERSION="sunxi"
BR2_TARGET_UBOOT_VERSION="sunxi"Even though I can pull and build u-boot on its own Buildroot still fails as shown below. I realize this is bound to be user error so thanks again.
inux-uclibcgnueabi-" ARCH=arm A13-Olimex_config
You have to set BR2_TARGET_UBOOT_BOARDNAME to A13-OLinuXino.
Maxime
Signature · 10 lines
Maxime Ripard, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: Digital signature URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20140519/713f428f/attachment.asc>
Quoted 1 line
You have to set
BR2_TARGET_UBOOT_BOARDNAMEto A13-OLinuXino.
Ah!.
Merci bien Maxime.
Quoted 10 lines · Thomas Petazzoni
Hello,
Quoted 3 lines · On Mon, 19 May 2014 01:40:42 +0100, g4 at novadsp.com wrote:
--------------------------snip------------------------------ make[1]: Leaving directory `/home/jevans/olimex/buildroot'
Quoted 1 line
Quoted 1 line
Quoted 1 line
uboot Downloading
There is no U-Boot version specified. I'd say your Buildroot configuration might be wrong.
So we should probably check for that...
Patch follows.
Regards,
Arnout
Quoted 21 lines
Quoted 16 lines
Doing shallow clone
Cloning into 'uboot-'...
warning: Could not find remote branch --bare to clone.
fatal: Remote branch --bare not found in upstream origin Unexpected end of command stream
Doing full clone
Cloning into bare repository 'uboot-'...
remote: Reusing existing pack: 261244, done.
remote: Counting objects: 52, done.
remote: Compressing objects: 100% (52/52), done.
remote: Total 261296 (delta 29), reused 2 (delta 0) Receiving objects: 100% (261296/261296), 72.68 MiB | 228.00 KiB/s, done. Resolving deltas: 100% (205455/205455), done.
Checking connectivity... done.
usage: git archive [options] <tree-ish> [<path>...]Which /might/ explain why git archive is failing (but not sure).
Thomas
Signature · 6 lines
Arnout Vandecappelle arnout at mind be Senior Embedded Software Architect +32-16-286500 Essensium/Mind http://www.mind.be G.Geenslaan 9, 3001 Leuven, Belgium BE 872 984 063 RPR Leuven LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle GPG fingerprint: 7CB5 E4CC 6C2E EFD4 6E3D A754 F963 ECAB 2450 2F1F