Go to advanced search

by dennyfmn
Sat Nov 23, 2019 9:25 pm
Forum: Advanced users
Topic: Image File Utilities - Addon - image-backup-boot
Replies: 2
Views: 282

Re: Image File Utilities - Addon - image-backup-boot

I would call these sparse image files: [email protected]:/data2/images-pi/pi4-183a# ls -lsh total 8.9G 8.8G -rw-r--r-- 1 root root 14G Nov 22 10:54 pi4web-183a.bin 40M -rw-r--r-- 1 root root 261M Nov 22 10:43 pi4web-183a-boot.bin [email protected]:/data2/images-pi/pi4webssd# ls -lsh total 9.5G 9.5G -rw-r--r--...
by dennyfmn
Sat Nov 23, 2019 1:52 pm
Forum: Advanced users
Topic: Image File Utilities
Replies: 92
Views: 9630

Re: Image File Utilities

RonR wrote: I'm a firm believer that the SD card should remain an intact standalone bootable entity. Your image-backup-boot omits the root partition and renders the SD card unbootable. The image-backup provided in the first post of this topic is perfectly suitable for backing up the SD card which wi...
by dennyfmn
Sat Nov 23, 2019 1:23 pm
Forum: Advanced users
Topic: Image File Utilities - Addon - image-backup-boot
Replies: 2
Views: 282

Image File Utilities - Addon - image-backup-boot

After downloading and testing RonR's excellent Image File Utilities found at https://www.raspberrypi.org/forums/viewtopic.php?f=29&t=247568 , I wanted to address the issue of restoring or cloning a hybrid boot system like a Pi4 that boots from an SD card and runs /root from a very large SSD or other...
by dennyfmn
Thu Nov 21, 2019 1:25 pm
Forum: Advanced users
Topic: Image File Utilities
Replies: 92
Views: 9630

Re: Image File Utilities

Hi RonR, Instead of downloading and using an image from the Pi repository, I modified a copy of image-backup to only backup the /boot partition, calling it image-backup-boot. This way it can be written to a very small SD card and will be in sync with the kernel version of the /root backup created wi...
by dennyfmn
Tue Nov 19, 2019 10:39 pm
Forum: Advanced users
Topic: Image File Utilities
Replies: 92
Views: 9630

Re: Image File Utilities

Right, but the /boot partition needs to be on a new (small) SD card, not on the new SSD. It doesn't hurt anything for the SSD to also have the /boot partition, but the system needs /boot on an SD card to boot. This is a cloning operation to new bare metal, not a restore operation. The question is ho...
by dennyfmn
Tue Nov 19, 2019 9:45 pm
Forum: Advanced users
Topic: Image File Utilities
Replies: 92
Views: 9630

Re: Image File Utilities

RonR - thanks for the great Image file utilities! I have a question about cloning a new system from an image created by image-backup. It is simple to use Etcher to write the image to a new device as long as the /boot and /root in the image were originally on the same device, i.e. both on an SD card ...
by dennyfmn
Thu Sep 28, 2017 10:25 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Convert Arduino i2c Diver to Pi
Replies: 3
Views: 1272

Re: Convert Arduino i2c Diver to Pi

Are you still looking for a driver for the Si7051 that runs on the Pi? I was able to modify an example I found at the pigpio site for the Si7021, which is a temperature and humidity sensor, for the Si7051. It turns out the temperature registers are the same for both parts. I just stripped out all th...
by dennyfmn
Tue Aug 30, 2016 11:48 am
Forum: Camera board
Topic: RPi Web Cam Interface - Time Lapse Failures - More Info
Replies: 8
Views: 2131

Re: RPi Web Cam Interface - Time Lapse Failures - More Info

I use my own python code to capture timelapses, and write them to temporary files which I then move to their final location in a separate process, if you used a small ram disc to write the temporary files (there should only ever be a couple there), you could then move them to a network drive withou...
by dennyfmn
Tue Aug 30, 2016 11:41 am
Forum: Camera board
Topic: RPi Web Cam Interface - Time Lapse Failures - More Info
Replies: 8
Views: 2131

Re: RPi Web Cam Interface - Time Lapse Failures - More Info

More testing on the Pi 3. I used raspistill to write 9999 frames at 2 second intervals, to the mounted USB drive and to a network share. I did each one two times, removing the frames taken after each test run. There were no failures in any of the 4 runs. Here is the command I used; the /pics/test di...
by dennyfmn
Sun Aug 21, 2016 2:51 pm
Forum: Camera board
Topic: RPi Web Cam Interface - Time Lapse Failures - More Info
Replies: 8
Views: 2131

Re: RPi Web Cam Interface - Time Lapse Failures - More Info

Now that I am actually writing the image files to /var/www/html/media on the SD card, I have made two test runs. Both runs recorded a frame every 4 seconds for 9999 frames without failing. So, it looks like the destination *does* matter. As reported above, each previous test run, on a Raspberry Pi 3...
by dennyfmn
Fri Aug 19, 2016 9:57 pm
Forum: Camera board
Topic: RPi Web Cam Interface - Time Lapse Failures - More Info
Replies: 8
Views: 2131

Re: RPi Web Cam Interface - Time Lapse Failures - More Info

Edit - This morning when I reviewed the session, I saw that I had inadvertently written this test to the local USB drive, instead of the SD card. The observation about the destination not mattering is unproven at this point. I am retesting now, and actually writing to the SD card. I will post the re...
by dennyfmn
Fri Aug 19, 2016 4:22 pm
Forum: Camera board
Topic: RPi Web Cam Interface - Time Lapse Failures - More Info
Replies: 8
Views: 2131

Re: RPi Web Cam Interface - Time Lapse Failures - More Info

Thanks for your reply. Yes, I will write the images directly to the SD card in /var/www/html/media and post the results. Would it be possible to add some error detection and recovery code to raspimjpeg to detect issues with slower storage and recover? In the case of timelapse, the precise timing int...
by dennyfmn
Thu Aug 18, 2016 8:35 pm
Forum: Camera board
Topic: RPi Web Cam Interface - Time Lapse Failures - More Info
Replies: 8
Views: 2131

RPi Web Cam Interface - Time Lapse Failures - More Info

Please see posting https://www.raspberrypi.org/forums/viewtopic.php?p=1019461#p1019461 for previous testing on a B+. This posting has details about how I am testing and logging. I have done additional testing with a Raspberry Pi 3 and Rpi Web Cam Interface, version 6.2.16 . The image files were writ...
by dennyfmn
Thu Aug 18, 2016 8:28 pm
Forum: Camera board
Topic: RPi Cam Web Interface
Replies: 5109
Views: 1419802

Re: RPi Cam Web Interface

Time Lapse Failures - More Information Please see posting https://www.raspberrypi.org/forums/viewtopic.php?p=1019461#p1019461 for previous testing on a B+. I have done additional testing with a Raspberri Pi 3 and Rpi Web Cam Interface, version 6.2.16 . The image files were written to either a remote...
by dennyfmn
Thu Aug 04, 2016 10:20 pm
Forum: Camera board
Topic: RPi Cam Web Interface
Replies: 5109
Views: 1419802

Random Timelapse Stalls and Stops

I gave been trying to troubleshoot this problem through several versions of the Rpi Cam Web Interface. What I see are random stalls and stops while doing timelapses. Back in the 6.0 series, the buttons for timelapse would stay greyed out until you restarted the camera. The 6.2 series now times out a...
by dennyfmn
Sun Apr 19, 2015 9:57 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Multiple one-wire busses - need help with Device Tree
Replies: 15
Views: 6433

Multiple one-wire busses - need help with Device Tree

Summary - All examples below are run on a Raspberry Pi B ver 2: Standard kernel: One-wire temp sensors work as expected with the stock 3.18.10-v7+ kernel on the single bus provided as long as you add the dtoverlay line in /boot/config.txt. If the dtoverlay line is not there, the bus is not detected,...
by dennyfmn
Mon Oct 20, 2014 10:49 pm
Forum: Troubleshooting
Topic: [Resolved] Watchdog - Can't Get Broadcast Ping to Work
Replies: 7
Views: 4939

Re: [Resolved] Watchdog - Can't Get Broadcast Ping to Work

Here is a workaround to only trigger a reboot if several systems fail to respond to pings. Watchdog supports local test/repair scripts. A more thorough explanation than what is covered in the man pages can be found at: http://www.sat.dundee.ac.uk/psc/watchdog/watchdog-configure.html The discussion b...
by dennyfmn
Sat Oct 18, 2014 8:47 pm
Forum: Troubleshooting
Topic: [Resolved] Watchdog - Can't Get Broadcast Ping to Work
Replies: 7
Views: 4939

Re: Watchdog - Can't Get Broadcast Ping to Work

The fact that .67 doesn't reply is a "don't care". I'm interested in pinging other hosts on the network, not myself. Here's a little test script: #!/bin/bash # test-broadcast-ping.sh ping -b -c 1 192.168.1.255 result=$? echo echo "Result code = " $result The script completes with success, exit 0 roo...
by dennyfmn
Sat Oct 18, 2014 8:07 pm
Forum: Troubleshooting
Topic: [Resolved] Watchdog - Can't Get Broadcast Ping to Work
Replies: 7
Views: 4939

Re: Watchdog - Can't Get Broadcast Ping to Work

hmmm... Looks to me like ping -b works on eth0. [email protected]:~# ifconfig eth0 Link encap:Ethernet HWaddr xx:xx:xx:xx:xx inet addr:192.168.1.67 Bcast:192.168.1.255 Mask:255.255.255.0 [email protected]:~# ping -b 192.168.1.255 WARNING: pinging broadcast address PING 192.168.1.255 (192.168.1.255) 56(84) bytes...
by dennyfmn
Sat Oct 18, 2014 3:22 pm
Forum: Troubleshooting
Topic: [Resolved] Watchdog - Can't Get Broadcast Ping to Work
Replies: 7
Views: 4939

[Resolved] Watchdog - Can't Get Broadcast Ping to Work

[Edit] In order to work around the issue with broadcast ping, I wrote a test/repair script that will ping as many hosts as you like and only signal an error to watchdog if *all* systems do not respond. See the post below for details. [Original Post] I am running the latest raspbian uname -a Linux my...
by dennyfmn
Sat Sep 20, 2014 10:32 pm
Forum: Camera board
Topic: Control Camera LED on B+
Replies: 7
Views: 3306

Re: Control Camera LED on B+

Great! I had to disable the "disable_camera_led=1" line in config.txt and reboot before the scripts with BCM GPIO32 worked. The blink script blinks the LED when either clighton.py or clightoff.py is active. The sense of the IO pin is reversed from what is shown in the article above. clighton.py disa...
by dennyfmn
Sat Sep 20, 2014 9:50 pm
Forum: Camera board
Topic: Control Camera LED on B+
Replies: 7
Views: 3306

Re: Control Camera LED on B+

GPIO BOARD pin 32 corresponds to BCM GPIO12. When I modify the scripts to define
CAMLED = 12
it still doesn't work. Am I missing something? The LED is still disabled with the kernel setting in config.txt.

GPIO BOARD pin 29 on the B+ is BCM GPIO5.

Thanks...
by dennyfmn
Sat Sep 20, 2014 9:10 pm
Forum: Camera board
Topic: Control Camera LED on B+
Replies: 7
Views: 3306

Control Camera LED on B+

I'm trying to enable/disable the camera LED as described in http://www.raspberrypi-spy.co.uk/2013/05/how-to-disable-the-red-led-on-the-pi-camera-module/ on a fresh install of Raspbian on a B+. rpi-update has been run. The kernel is now Linux mypi8 3.12.28+ #713 PREEMPT All applications and libraries...
by dennyfmn
Fri May 10, 2013 2:45 pm
Forum: Troubleshooting
Topic: USB/serial converters (not very) broken on Pi
Replies: 162
Views: 112743

Re: USB/serial converters (not very) broken on Pi

Axel, Interestingly enough, the combination of an Insteon serial PLM (Power Line Modem), model number 2413S, connected to either of my Prolific Technology Inc. pl2303 based USB to serial adapters, an old one and a new one, run without hanging. These tests were run on a Raspberry Pi with kernel #250 ...
by dennyfmn
Mon Apr 22, 2013 2:48 pm
Forum: Troubleshooting
Topic: USB/serial converters (not very) broken on Pi
Replies: 162
Views: 112743

Re: USB/serial converters (not very) broken on Pi

Great, thanks!
Glad to see you are making progress...

Go to advanced search