라즈베리파이 커널 컴파일
크로스 컴파일 설치
root@li:/home/li# apt-get install gcc-4.6-arm-linux-gnueabi
라스베리파이 소스 및 툴체인 다운로드
root@li:/opt/rpi2# git clone https://github.com/raspberrypi/tools.git
For 64bit, use /tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian-x64/bin. 패스를 걸어줘야 한다고한다.
bashrc
root@li:/opt/rpi2/kernel# git clone https://github.com/raspberrypi/linux.git
라즈베리파이투 make bcm2709_defconfig 원 : make bcmrpi_defconfig
컴파일 중 에러
/bin/sh: 1: bc: not found apt-get install bc |
공식 사시트 : https://www.raspberrypi.org/documentation/linux/kernel/building.md
https://learn.adafruit.com/raspberry-pi-kernel-o-matic/build-a-kernel