Tuesday, August 21, 2018

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

Alessio,


thanks for your job ! :)

I am using arch aarch64 and not armv7hl, and it is also working with a
few changes.


1/ dtb are available into directory /boot/dtb/broadcom ( and not /boot/dtb )

    that's where we have to cp the new dtb file.

2/ dts and dtsi seem to be avaible into the same directory as for
aarch64 I found a "includes" from arm directory.

    am I wrong on this ?

3/ I was not able to apply patch bcm283x.dtsi.patch using patch, but I
was able to apply it "by hand"

    by the way I tried to use command : "patch -p0 < <patchfile>", is
that the good one ?

4/ at the end I have the /dev/spidev0.[0.1] files after reboot and all
tests are OK. :)

   the gpiomem stuff was easy except for the <TAB> into Makefile, I had
to read it twice :)


5/ finally I was trying to make unicornhathd work so I tried all the
stuff from github. https://github.com/pimoroni/unicorn-hat-hd

    dnf install -y python3-pip python3-numpy # numpy is used into examples

    pip3 install unicornhathd (this will download/compile
python3-spidev that is not package into fedora repos - at least I did
not find it :) )

    git clone https://github.com/pimoroni/unicorn-hat-hd

    cd  unicorn-hat-hd/examples

    python3 ./demo.py

    and that's it, it works fine !!


6/ is all this the same for raspberry pi 3B+ for the dtb generation ? I
guess so but I am not sure. :)

7/ how can we make all this stuff "official" and by default ?

Thanks !!!

_______________________________________________
arm mailing list -- arm@lists.fedoraproject.org
To unsubscribe send an email to arm-leave@lists.fedoraproject.org
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/arm@lists.fedoraproject.org/message/RBT3DTYZQDILO3OMWDO6IN36JDG3TBBJ/

No comments:

Post a Comment