Comments for Exploring Raspberry Pi https://www.exploringrpi.com Companion Site for the book Exploring Raspberry Pi Fri, 27 Apr 2018 02:56:25 +0000 hourly 1 https://wordpress.org/?v=5.0.1 Comment on Chapter 7: Cross-Compilation and the Eclipse IDE by Sud https://www.exploringrpi.com/chapter7/#comment-363 Fri, 27 Apr 2018 02:56:25 +0000 https://www.exploringrpi.com/?page_id=321#comment-363 Hello, I’m not finding any .dtb files in overlays directory
id@debian930:~/linux/arch/arm/boot/dts/overlays$ ls *.dtb
ls: cannot access ‘*.dtb’: No such file or directory

Did anyone encounter this ? if so how to resolve this.

Thanks in advance.

]]>
Comment on Chapter 6: Interfacing to the Raspberry Pi Input/Outputs by Victor https://www.exploringrpi.com/chapter6/#comment-361 Tue, 24 Apr 2018 19:04:06 +0000 https://www.exploringrpi.com/?page_id=283#comment-361 Is it possible to reset the GPIO port to its original state without having to reset the pasperry? Is there any command for it?

es posible restablecer el puerto GPIO a su estado original sin tener que restablecer la pasperry? existe algún comando para ello?

]]>
Comment on Chapter 7: Cross-Compilation and the Eclipse IDE by Sud https://www.exploringrpi.com/chapter7/#comment-359 Sat, 14 Apr 2018 03:51:18 +0000 https://www.exploringrpi.com/?page_id=321#comment-359 I’m getting an error when I run (page 300) make -j 6 ARCH=arm CROSS_COMPILE=${CC} zImage modules dtbs

It says Cannot use CONFIG_CC_STACKPROTECTOR_STRONG: -fstack-protector-strong not protected by compiler

]]>
Comment on Chapter 7: Cross-Compilation and the Eclipse IDE by RR https://www.exploringrpi.com/chapter7/#comment-357 Mon, 09 Apr 2018 01:58:18 +0000 https://www.exploringrpi.com/?page_id=321#comment-357 Brendan — You are a lifesaver. This even worked within Eclipse IDE.

]]>
Comment on Chapter 14: Raspberry Pi with a Rich User Interface by Maykow https://www.exploringrpi.com/chapter14/#comment-355 Fri, 06 Apr 2018 13:30:29 +0000 https://www.exploringrpi.com/?page_id=487#comment-355 Hello Derek. Congrats on this amazing book! Your focus on using C and C++ is really helpful and change minds (almost everybody is using Python for Raspberry). I’m running the HellowWorld example (the very first one for the Qt5 in this chapter) and I’m getting the message ” ‘label’ was not declared in this scope” in function ‘int main(int, char**). I believe I must change something at Header and .pro file. Any library missing or additional configuration required? Thanks!

]]>
Comment on Chapter 7: Cross-Compilation and the Eclipse IDE by Idan https://www.exploringrpi.com/chapter7/#comment-353 Thu, 05 Apr 2018 10:53:06 +0000 https://www.exploringrpi.com/?page_id=321#comment-353 I think this one is obsolete for debian 9 (strech)
and instead , people should try this one:
https://wiki.debian.org/Multiarch/HOWTO
(or keep using the Linaro toolchain)

]]>
Comment on Chapter 2: Raspberry Pi Software by Idan https://www.exploringrpi.com/chapter2/#comment-349 Fri, 23 Mar 2018 20:16:42 +0000 https://www.exploringrpi.com/?page_id=203#comment-349 On windows, after installing bonjour print services, ping raspberrypi.local worked

But on the linux (virtual machine) it didn’t. What package/tool should I install and run on it ?

]]>
Comment on Chapter 2: Raspberry Pi Software by Idan https://www.exploringrpi.com/chapter2/#comment-347 Fri, 23 Mar 2018 18:00:23 +0000 https://www.exploringrpi.com/?page_id=203#comment-347 page 29:
pi@raspberrypi:~ $ systemctl status avahi-daemon
gives the following output and gets stuck ( I have to stop to continue typing)

● avahi-daemon.service – Avahi mDNS/DNS-SD Stack
Loaded: loaded (/lib/systemd/system/avahi-daemon.service; enabled; vendor preset: enabled)
Active: active (running) since Fri 2018-03-23 17:48:09 UTC; 1min 9s ago
Main PID: 367 (avahi-daemon)
Status: “avahi-daemon 0.6.32 starting up.”
CGroup: /system.slice/avahi-daemon.service
├─367 avahi-daemon: running [raspberrypi.local]
└─369 avahi-daemon: chroot helper

Mar 23 17:48:09 raspberrypi systemd[1]: Started Avahi mDNS/DNS-SD Stack.
Mar 23 17:48:09 raspberrypi avahi-daemon[367]: Network interface enumeration completed.
Mar 23 17:48:09 raspberrypi avahi-daemon[367]: Server startup complete. Host name is raspberrypi.local. Local
Mar 23 17:48:09 raspberrypi avahi-daemon[367]: Service “raspberrypi” (/services/multiple.service) successfull
Mar 23 17:48:12 raspberrypi avahi-daemon[367]: Joining mDNS multicast group on interface eth0.IPv6 with addre
Mar 23 17:48:12 raspberrypi avahi-daemon[367]: New relevant interface eth0.IPv6 for mDNS.
Mar 23 17:48:12 raspberrypi avahi-daemon[367]: Registering new address record for fe80::5511:d56a:ccaa:f71f o
Mar 23 17:48:16 raspberrypi avahi-daemon[367]: Joining mDNS multicast group on interface eth0.IPv4 with addre
Mar 23 17:48:16 raspberrypi avahi-daemon[367]: New relevant interface eth0.IPv4 for mDNS.
Mar 23 17:48:16 raspberrypi avahi-daemon[367]: Registering new address record for 192.168.3.102 on eth0.IPv4.
~
~
~
Therefore , trying to ssh with the domain name / ping raspberrypi.local from the linux machine says the it couldn’t find this host name

what can I do?

]]>
Comment on Chapter 3: Exploring Embedded Linux Systems by Idan https://www.exploringrpi.com/chapter3/#comment-345 Fri, 23 Mar 2018 12:30:42 +0000 https://www.exploringrpi.com/?page_id=219#comment-345 What does these commands do?
root@debian:~# apt-get install build-essential module-assistant
root@debian:~# m-a prepare

]]>
Comment on Chapter 7: Cross-Compilation and the Eclipse IDE by KrzysztofK https://www.exploringrpi.com/chapter7/#comment-343 Sat, 17 Mar 2018 05:49:24 +0000 https://www.exploringrpi.com/?page_id=321#comment-343 Brendan,
Many thanks for your tip! It worked in my case. The first time I reproduced chapter with Eclipse and QEMU cross compilation worked, then stopped with the error:
/lib/ld-linux-armhf.so.3: No such file or directory
Adding export QEMU_LD_PREFIX=/usr/arm-linux-gnueabihf to ~/bashrc fixed the problem.

]]>