m-tmatma / yocto-raspberry-pi

yocto for raspberry pi
0 stars 0 forks source link

raspberry カーネルビルド #16

Open m-tmatma opened 5 years ago

m-tmatma commented 5 years ago

カーネルビルド調査

m-tmatma commented 5 years ago
$ find -type f | grep -v build-warrior | xargs grep -s -I linux-raspberrypi
./meta-raspberrypi/conf/machine/include/rpi-default-providers.inc:PREFERRED_PROVIDER_virtual/kernel ?= "linux-raspberrypi"
./meta-raspberrypi/conf/machine/include/rpi-default-versions.inc:PREFERRED_VERSION_linux-raspberrypi ??= "4.14.%"
./meta-raspberrypi/docs/extra-build-config.md:* Set this 3 kernel variables (in kernel's do_configure_prepend in linux-raspberrypi.inc after the line kernel_configure_variable LOCALVERSION "\"\""
./meta-raspberrypi/recipes-kernel/linux/linux-raspberrypi_4.19.bb:FILESEXTRAPATHS_prepend := "${THISDIR}/linux-raspberrypi:"
./meta-raspberrypi/recipes-kernel/linux/linux-raspberrypi_4.19.bb:require linux-raspberrypi.inc
./meta-raspberrypi/recipes-kernel/linux/linux-raspberrypi.inc:    # - In linux-raspberrypi, we add do_configure_prepend, which tweaks
./meta-raspberrypi/recipes-kernel/linux/linux-raspberrypi-rt_4.14.bb:require linux-raspberrypi.inc
./meta-raspberrypi/recipes-kernel/linux/linux-raspberrypi-dev.bb:    if "linux-raspberrypi-dev" not in d.getVar("PREFERRED_PROVIDER_virtual/kernel"):
./meta-raspberrypi/recipes-kernel/linux/linux-raspberrypi-dev.bb:        msg = "Skipping linux-raspberrypi-dev as it is not the preferred " + \
./meta-raspberrypi/recipes-kernel/linux/linux-raspberrypi-dev.bb:FILESEXTRAPATHS_prepend := "${THISDIR}/linux-raspberrypi:"
./meta-raspberrypi/recipes-kernel/linux/linux-raspberrypi-dev.bb:require linux-raspberrypi.inc
./meta-raspberrypi/recipes-kernel/linux/linux-raspberrypi_4.14.bb:require linux-raspberrypi.inc
./meta-rpi/conf/local.conf.sample:PREFERRED_VERSION_linux-raspberrypi = "4.19.%"
./meta-rpi/recipes-kernel/linux/linux-rpi.inc:    # - In linux-raspberrypi, we add do_configure_prepend, which tweaks
m-tmatma commented 5 years ago

https://stackoverflow.com/questions/25853722/how-to-suppress-binary-file-matching-results-in-grep https://stackoverflow.com/questions/6426363/how-can-i-have-grep-not-print-out-no-such-file-or-directory-errors

m-tmatma commented 5 years ago

https://kernhack.hatenablog.com/entry/2015/12/25/003543

m-tmatma commented 5 years ago

https://yoctobbq.lineo.co.jp/?q=node/41

m-tmatma commented 5 years ago

https://www.slideshare.net/kazuya-nisimura/raspberrypi-31554187

m-tmatma commented 5 years ago

https://weblog.metacircular-evaluator.org/blog/2014/11/25/building-raspi-kernel-and-debugging/

m-tmatma commented 5 years ago

How to use an own kernel configuration for a raspberry pi in yocto? 2.3.2. Generating Configuration Files

bitbake linux-raspberrypi -c menuconfig