Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] raspberry3_defconfig error
@ 2016-07-10 18:04 Foxtrot Mike
  2016-07-10 18:26 ` Yann E. MORIN
  0 siblings, 1 reply; 5+ messages in thread
From: Foxtrot Mike @ 2016-07-10 18:04 UTC (permalink / raw)
  To: buildroot

Hi

I am trying to create a customized linux for raspberry pi 3. I have 
installed buildroot2016.5 with all the dependencies. I am trying to 
compile everything with the default configuration file by executing:

$ make raspberrypi3_defconfig
$ make

It fails with the following errors:

========================================================================

 >>> linux-headers 26f3b72a9c049be10e6af196252283e1f6ab9d1f Downloading
Doing full clone
Cloning into bare repository 
'linux-headers-26f3b72a9c049be10e6af196252283e1f6ab9d1f'...
remote: Counting objects: 5034470, done.
remote: Compressing objects: 100% (2553/2553), done.
  error: RPC failed; curl 56 SSL read: 
error:00000000:lib(0):func(0):reason(0), errno 104
fatal: The remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed
--2016-07-11 01:48:20-- 
http://sources.buildroot.net/linux-26f3b72a9c049be10e6af196252283e1f6ab9d1f.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
2016-07-11 01:48:22 ERROR 404: Not Found.

package/pkg-generic.mk:113: recipe for target 
'/home/foxtrot/Downloads/buildroot-2016.05/output/build/linux-headers-26f3b72a9c049be10e6af196252283e1f6ab9d1f/.stamp_downloaded' 
failed
make: *** 
[/home/foxtrot/Downloads/buildroot-2016.05/output/build/linux-headers-26f3b72a9c049be10e6af196252283e1f6ab9d1f/.stamp_downloaded] 
Error 1


=========================================================================

The default config file is:

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

BR2_arm=y
BR2_cortex_a7=y
BR2_ARM_EABIHF=y
BR2_ARM_FPU_NEON_VFPV4=y

BR2_TOOLCHAIN_BUILDROOT_CXX=y

BR2_SYSTEM_DHCP="eth0"

# Linux headers same as kernel, a 4.4 series
BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_4=y

BR2_LINUX_KERNEL=y
BR2_LINUX_KERNEL_CUSTOM_GIT=y
BR2_LINUX_KERNEL_CUSTOM_REPO_URL="https://github.com/raspberrypi/linux.git"
BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="26f3b72a9c049be10e6af196252283e1f6ab9d1f"
BR2_LINUX_KERNEL_DEFCONFIG="bcm2709"

# Build the DTB from the kernel sources
BR2_LINUX_KERNEL_DTS_SUPPORT=y
BR2_LINUX_KERNEL_INTREE_DTS_NAME="bcm2710-rpi-3-b"

BR2_PACKAGE_RPI_FIRMWARE=y
# BR2_PACKAGE_RPI_FIRMWARE_INSTALL_DTB_OVERLAYS is not set

# Required tools to create the SD image
BR2_PACKAGE_HOST_DOSFSTOOLS=y
BR2_PACKAGE_HOST_GENIMAGE=y
BR2_PACKAGE_HOST_MTOOLS=y

# Filesystem / image
BR2_TARGET_ROOTFS_EXT2=y
BR2_TARGET_ROOTFS_EXT2_4=y
# BR2_TARGET_ROOTFS_TAR is not set
BR2_ROOTFS_POST_BUILD_SCRIPT="board/raspberrypi3/post-build.sh"
BR2_ROOTFS_POST_IMAGE_SCRIPT="board/raspberrypi3/post-image.sh"

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

I tried this procedure twice, using 'make distclean' for a clean 
restart. Got the same error.

It is my first time experimenting with customized linux. Any help would 
be appreciated!

Regards,
Fulcrum

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Buildroot] raspberry3_defconfig error
  2016-07-10 18:04 Foxtrot Mike
@ 2016-07-10 18:26 ` Yann E. MORIN
  2016-07-12  8:46   ` Peter Korsgaard
  0 siblings, 1 reply; 5+ messages in thread
From: Yann E. MORIN @ 2016-07-10 18:26 UTC (permalink / raw)
  To: buildroot

Mike, All,

On 2016-07-10 18:04 +0000, Foxtrot Mike spake thusly:
> I am trying to create a customized linux for raspberry pi 3. I have 
> installed buildroot2016.5 with all the dependencies. I am trying to 
> compile everything with the default configuration file by executing:
> 
> $ make raspberrypi3_defconfig
> $ make
> 
> It fails with the following errors:
> 
>  >>> linux-headers 26f3b72a9c049be10e6af196252283e1f6ab9d1f Downloading

A common reason for the RPi kernel to fail downloading is that upstream
often rebase their branches. However, I just checked, and the commit we
reference is still present in the RPi Linux tree.

> Doing full clone
> Cloning into bare repository 
> 'linux-headers-26f3b72a9c049be10e6af196252283e1f6ab9d1f'...
> remote: Counting objects: 5034470, done.
> remote: Compressing objects: 100% (2553/2553), done.
>   error: RPC failed; curl 56 SSL read: 
> error:00000000:lib(0):func(0):reason(0), errno 104
> fatal: The remote end hung up unexpectedly
> fatal: early EOF
> fatal: index-pack failed

cURL error 56 is "Failure in receiving network data." so probably a
network issue between you and github.

Did that error happen in both of your build tests?

Did it happen right when starting downloading, or did it happen after a
while?

> --2016-07-11 01:48:20-- 
> http://sources.buildroot.net/linux-26f3b72a9c049be10e6af196252283e1f6ab9d1f.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
> 2016-07-11 01:48:22 ERROR 404: Not Found.

Indeed, s.b.o. does not cache those files.

Regards,
Yann E. MORIN.

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Buildroot] raspberry3_defconfig error
       [not found] <HK2PR0401MB13294C8912D14A1661BA2510B33E0@HK2PR0401MB1329.apcprd04.prod.outlook.com>
@ 2016-07-10 19:20 ` Foxtrot Mike
  2016-07-10 21:02   ` Yann E. MORIN
  0 siblings, 1 reply; 5+ messages in thread
From: Foxtrot Mike @ 2016-07-10 19:20 UTC (permalink / raw)
  To: buildroot



On 07/11/2016 02:26 AM, Yann E. MORIN wrote:
Thanks for the quick reply.
>
> cURL error 56 is "Failure in receiving network data." so probably a
> network issue between you and github.

I have no problem connecting to github using browsers. AFAIK, there 
shouldn't be any network issue.

>
> Did that error happen in both of your build tests?
>
> Did it happen right when starting downloading, or did it happen after a
> while?

I got this same error both times. I can't tell if the error appeared at 
the beginning or after a while as I was using another workspace at that 
time.


Regards,
Fulcrum

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Buildroot] raspberry3_defconfig error
  2016-07-10 19:20 ` [Buildroot] raspberry3_defconfig error Foxtrot Mike
@ 2016-07-10 21:02   ` Yann E. MORIN
  0 siblings, 0 replies; 5+ messages in thread
From: Yann E. MORIN @ 2016-07-10 21:02 UTC (permalink / raw)
  To: buildroot

Mike, All,

On 2016-07-10 19:20 +0000, Foxtrot Mike spake thusly:
> On 07/11/2016 02:26 AM, Yann E. MORIN wrote:
> Thanks for the quick reply.
> >
> > cURL error 56 is "Failure in receiving network data." so probably a
> > network issue between you and github.
> 
> I have no problem connecting to github using browsers. AFAIK, there 
> shouldn't be any network issue.

Well, I just tried this defconfig, and I could download the sources
without issue from here (except it takes a bit of time). Maybe your
network is too slow and you got disconneted somehow?

> > Did that error happen in both of your build tests?
> >
> > Did it happen right when starting downloading, or did it happen after a
> > while?
> 
> I got this same error both times. I can't tell if the error appeared at 
> the beginning or after a while as I was using another workspace at that 
> time.

It would be nice if you could check, please.

Regards,
Yann E. MORIN.

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Buildroot] raspberry3_defconfig error
  2016-07-10 18:26 ` Yann E. MORIN
@ 2016-07-12  8:46   ` Peter Korsgaard
  0 siblings, 0 replies; 5+ messages in thread
From: Peter Korsgaard @ 2016-07-12  8:46 UTC (permalink / raw)
  To: buildroot

>>>>> "Yann" == Yann E MORIN <yann.morin.1998@free.fr> writes:

Hi,

 >> --2016-07-11 01:48:20-- 
 >> http://sources.buildroot.net/linux-26f3b72a9c049be10e6af196252283e1f6ab9d1f.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
 >> 2016-07-11 01:48:22 ERROR 404: Not Found.

 > Indeed, s.b.o. does not cache those files.

FYI, I've now manually mirrored this specific tarball on
sources.buildroot.org.

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2016-07-12  8:46 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <HK2PR0401MB13294C8912D14A1661BA2510B33E0@HK2PR0401MB1329.apcprd04.prod.outlook.com>
2016-07-10 19:20 ` [Buildroot] raspberry3_defconfig error Foxtrot Mike
2016-07-10 21:02   ` Yann E. MORIN
2016-07-10 18:04 Foxtrot Mike
2016-07-10 18:26 ` Yann E. MORIN
2016-07-12  8:46   ` Peter Korsgaard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox