카테고리 없음

[rpi3] Kernel Download

깡죠 2018. 7. 20. 10:07


라즈베리파이 커널 다운로드


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



linux-raspberrypi_4.9.bb 파일의 내용

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"



리눅스 버전 4.9.50

ERNEL_EXTRA_ARGS += "LOADADDR=0x00008000"


defconfig 파일을 참조하며 

라즈베리파이3의 경우 KERNEL_DEFCONFIG_raspberrypi3-64 ?= "bcmrpi3_defconfig" 파일을 참조한다.



require linux-rpi.inc
inherit linux-raspberrypi-base
파일을 참조한다.

커널 옵션 defconfig  활성화를 아래와같이 변경하는 것으로 추정된다.
kernel_configure_variable INET y