raspberrypi / linux

Kernel source tree for Raspberry Pi-provided kernel builds. Issues unrelated to the linux kernel should be posted on the community forum at https://forums.raspberrypi.com/
Other
11.09k stars 4.96k forks source link

kernel default configuration on raspberry pi zero failed #3903

Open Ailsamly opened 3 years ago

Ailsamly commented 3 years ago

I am following the official guide to locally build kernel to my raspberry pi zero https://www.raspberrypi.org/documentation/linux/kernel/building.md#default_configuration (my environment: pi@raspberrypi:~ $ cat /etc/rpi-issue Raspberry Pi reference 2020-08-20 Generated using pi-gen, https://github.com/RPi-Distro/pi-gen, 9a3a10bf1019ebb2d59053564dc6b90068bad27d, stage4 pi@raspberrypi:~ $ vcgencmd version Aug 19 2020 17:40:15 Copyright (c) 2012 Broadcom version e90cba19a98a0d1f2ef086b9cafcbca00778f094 (clean) (release) (start) pi@raspberrypi:~ $ uname -a Linux raspberrypi 5.4.51+ #1333 Mon Aug 10 16:38:02 BST 2020 armv6l GNU/Linux)

But when it came to preparing the default configuration by running the following commands, _cd linux KERNEL=kernel make bcmrpidefconfig it failed and showed: _drivers/gpu/drm/Kconfig:246: can't open file "drivers/gpu/drm/i915/Kconfig" make[1]: [scripts/kconfig/Makefile:90: bcmrpi_defconfig] Error 1 make: [Makefile:590: bcmrpidefconfig] Error 2

Does anybody know the problem and how to deal with this? Thanks!

Leyuan

6by9 commented 3 years ago

Did the git clone complete successfully? It sounds like you've run out of storage space for the kernel tree and the clone has aborted part way through.

Ailsamly commented 3 years ago

Did the git clone complete successfully? It sounds like you've run out of storage space for the kernel tree and the clone has aborted part way through.

@6by9 yes, that was done successfully

pelwell commented 3 years ago

What does git status show?