Hexxeh / rpi-firmware

Firmware files for the Raspberry Pi
Other
775 stars 207 forks source link

bcm2711 runningconfig is diffent from bcm2711_defconfig on armv7l #210

Closed howardqiao closed 4 years ago

howardqiao commented 4 years ago

sudo modprobe configs zcat /proc/config.gz > bcm2711_runtimeconfig When the runtime configuration and the bcm2711_defconfig are different (the git_hash of rpi-firmware is the same as the git version of the raspberr pi's offical linux kernel source), there is a problem when compiling the external module and inserting the kernel. After replacing the default configuration with the runtime configuration, it is normal to compile and install the external module.This only happens in the v7l+ kernel

pelwell commented 4 years ago

defconfigs are always different from full configs - they only include the differences from the defaults. You need to compare the .config you get from running "make bcm2711_defconfig" with the output from config.gz. If you do this and they are still different then you'll need to report the kernel version for the running system (uname -a) and for the tree you are building - git log --oneline | head -1 is probably most useful.