라즈베리파이 커널 다운로드
Yocto recipes 파일의 커널 파일을 찾아보자
/home/kj/RPI3/AGL_RPI3/meta-raspberrypi/recipes-kernel/linux
해당 파일들은 다음과 같다.
linux-raspberrypi linux-raspberrypi_4.9.bb linux-raspberrypi-dev linux-raspberrypi-dev.bb linux-raspberrypi.inc linux-rpi.inc
FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}-${PV}:" LINUX_VERSION ?= "4.9.50" SRCREV = "46e2d4d1bd2c17e2f84dd90768321ee0bbaa6b8a" SRC_URI = "git://github.com/raspberrypi/linux.git;branch=rpi-4.9.y" require linux-raspberrypi.inc # A LOADADDR is needed when building a uImage format kernel. This value is not # set by default in rpi-4.8.y and later branches so we need to provide it # manually. This value unused if KERNEL_IMAGETYPE is not uImage. KERNEL_EXTRA_ARGS += "LOADADDR=0x00008000" |
ERNEL_EXTRA_ARGS += "LOADADDR=0x00008000"
defconfig 파일을 참조하며
라즈베리파이3의 경우 KERNEL_DEFCONFIG_raspberrypi3-64 ?= "bcmrpi3_defconfig" 파일을 참조한다.