/var/log/messages

debugging with sixth sense

RPi Kernel Compilation (2)

昨晩だかに以下の対応をしていた模様。

1. Get the latest raspberrypi kernel source (https://github.com/raspberrypi/linux)
3. Get the latest raspberrypi compiler (git clone https://github.com/raspberrypi/tools)

で、先程以下なあたりを云々して make を kickoff してます。

2. Set an environment variable KERNEL_SRC to point to the location of the source ( e.g. KERNEL_SRC=/home/me/linux/ )
4. Set an environment variable CCPREFIX to point to the location of tools ( e.g. CCPREFIX=/home/me/tools/arm-bcm2708/arm-bcm2708-linux-gnueabi/bin/arm-bcm2708-linux-gnueabi- )
5. From the kernel clone location, clean the kernel source with "make mrproper"
6. Pull the /proc/config.gz from the running Raspbian installation
8. Modify the kernel config by either modifying the .config file or using "ARCH=arm CROSS_COMPILE=${CCPREFIX} make menuconfig"
9. Build the new kernel by using "ARCH=arm CROSS_COMPILE=${CCPREFIX} make"

今 make 中。デフォで rt2x00 なソレも M になってました。最初からこの方法採用しておけ、ってことだったのかどうか。

Comments