kernel default configuration on raspberry pi zero failed

Open
#3,903 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
c, linux, raspberry-pi

Research direction

Start by reproducing make bcmrpi_defconfig from the kernel tree, using the Raspberry Pi Zero environment and build commands in the report. Inspect drivers/gpu/drm/Kconfig, the referenced drivers/gpu/drm/i915/Kconfig path, and scripts/kconfig/Makefile; done means explaining or correcting why the default configuration cannot be generated.

Written by the indexing model from the issue text.

Description

Waiting for external input

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 bcmrpi_defconfig

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: bcmrpi_defconfig] Error 2

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

Leyuan

Dominant language
C
Stars
13.2k
Forks
5.5k
Avg merge
2d 21h
Merged PRs (30d)
21

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from raspberrypi/linux

All issues in raspberrypi/linux

Similar issues

More C issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.