Re: [RaspberryPI 3B] [unicorn Hat] [how to configure spi]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



fortunately you don't have to compile the kernel completely, just generate a single dtb in the sources
and that diff --git is just part of the output of a git diff, you need to: dnf install patch dtc gcc
cd /usr/src/kernel/4.16.3-300.fc28.aarch64/
patch -p1 < /tmp/bcm283x.dtsi.patch
cd arch/arm/boot/dts/
gcc -E -I../../../../include -P -x assembler-with-cpp bcm2837-rpi-3-b.dts | dtc -I dts -O dtb -o bcm2837-rpi-3-b.dtb -
cp bcm2837-rpi-3-b.dtb /boot/dtb-4.16.3-300.fc28.aarch64/broadcom/bcm2837-rpi-3-b.dtb
reboot, and then you should have two /dev/spi*
_______________________________________________
arm mailing list -- arm@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to arm-leave@xxxxxxxxxxxxxxxxxxxxxxx




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux ARM (Vger)]     [Linux ARM]     [ARM Kernel]     [Fedora User Discussion]     [Older Fedora Users Discussion]     [Fedora Advisory Board]     [Fedora Security]     [Fedora Maintainers]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Mentors]     [Fedora Package Announce]     [Fedora Package Review]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Coolkey]     [Yum Users]     [Tux]     [Yosemite News]     [Linux Apps]     [KDE Users]     [Fedora Tools]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]

Powered by Linux