adafruit / Adafruit-Pi-Kernel-o-Matic

https://learn.adafruit.com/raspberry-pi-kernel-o-matic
94 stars 16 forks source link

kernel does not use device-tree #12

Closed ctc closed 9 years ago

ctc commented 9 years ago

python RPi.GPIO fails and there is no /proc/device-tree

the kernel needs to be marked dt-aware with mkknlimg V1: replace "cp arch/arm/boot/Image $PKG_DIR/boot/kernel.img" with "/opt/rpi_tools/mkimage/mkknlimg arch/arm/boot/Image /$PKG_DIR/boot/kernel.img" V2: replace "cp arch/arm/boot/Image $PKG_DIR/boot/kernel.img" with "/opt/rpi_tools/mkimage/mkknlimg arch/arm/boot/Image /$PKG_DIR/boot/kernel7.img"

toddtreece commented 9 years ago

@ctc thanks!