Go to advanced search

by elkberry
Thu Mar 23, 2017 4:29 pm
Forum: Troubleshooting
Topic: [SOLVED] Pi0W: gadget mode: ssh connection refused for usb0
Replies: 1
Views: 316

Re: Pi0W: gadget mode: ssh connection refused for usb0

It's one of those "what did I wrong the last time" situations; so I must have done something wrong, as when I tested again this day, I could successfully ssh into my Pi0W over the USB connection. So, link-local IPv4 addresses (AIPA) can be used with ssh, it would have been strange if they weren't us...
by elkberry
Wed Mar 22, 2017 9:58 pm
Forum: Troubleshooting
Topic: [SOLVED] Pi0W: gadget mode: ssh connection refused for usb0
Replies: 1
Views: 316

[SOLVED] Pi0W: gadget mode: ssh connection refused for usb0

So I got USB ether gadget mode working on one of my Pi0Ws. SSH is enabled, as I've ssh'd into the Pi0W via WLAN. But when I try to ssh via the usb0 interface, then ssh on the client side says: "connection refused". Is there something special to configure so I can ssh into my Pi0W via the usb0 networ...
by elkberry
Wed Mar 22, 2017 9:34 pm
Forum: Troubleshooting
Topic: [SOLVED] Pi0W: gadget mode: dwc2_hsotg_enqueue_setup: faile
Replies: 6
Views: 1016

Re: Pi0W: gadget mode: Ethernet: dwc2_hsotg_enqueue_setup: f

I've checked with a second Pi0W luckily I could get my hands on ... and guess: the other Pi0W works as advertised. Looks as if there are faulty batches in the pipeline. Grrr. UPDATE: looks like there is now a driver fix (whatever), because previously non-working RPi0W's start to work for me. See bel...
by elkberry
Wed Mar 22, 2017 9:12 pm
Forum: Troubleshooting
Topic: [SOLVED] Pi0W: gadget mode: dwc2_hsotg_enqueue_setup: faile
Replies: 6
Views: 1016

[SOLVED] Pi0W: gadget mode: dwc2_hsotg_enqueue_setup: faile

I'm using the recent Raspbian image with support for the Raspberry Pi Zero W. It has wifi set up and connects to my home wireless LAN. So far, so good. Next, I wanted to add USB ethernet gadget support. So I followed these instructions given here: https://gist.github.com/gbaman/975e2db164b3ca2b51ae1...
by elkberry
Sun Mar 19, 2017 9:07 am
Forum: Troubleshooting
Topic: Possible fried wifi on Pi 3?
Replies: 2
Views: 540

Re: Possible fried wifi on Pi 3?

The mSD card overheating could aslo be just a symptom of a Pi hardware failure. But as you didn't wrote that a replacement card also overheated, your first mSD seems to have failed -- which is not much of a surprise I would think, as mSD failures are not that uncommon. Personally, I would ask myself...
by elkberry
Mon Mar 13, 2017 6:42 pm
Forum: Advanced users
Topic: Boot order using GPIO
Replies: 18
Views: 4138

Re: Boot order using GPIO

John, thank you very much for your concise explanation! Sounds sound.
by elkberry
Sat Mar 11, 2017 9:04 am
Forum: Advanced users
Topic: Boot order using GPIO
Replies: 18
Views: 4138

Re: Boot order using GPIO

John, why do you need to disable USB boot, and then enable it through the GPIO pin? What use case do you have in mind? My application is dev lab use, where I want to avoid mSD cards and use USB thumb drives so I can easily swap in and out different OS configurations. My guess then would be to disabl...
by elkberry
Sat Mar 11, 2017 8:56 am
Forum: Advanced users
Topic: Boot order using GPIO
Replies: 18
Views: 4138

Re: Boot order using GPIO

Yes, it's my impression too, that we still got hold on only half the picture. But at least it's a step forward, with the missing piece being the precise OTP bit definitions. It's like pulling roots from the earth, I'm afraid.
by elkberry
Thu Mar 09, 2017 8:38 pm
Forum: Advanced users
Topic: Boot order using GPIO
Replies: 18
Views: 4138

Re: Boot order using GPIO

Now, how can I implement a switch that determines the boot order without removing the SD card? I have implemented the circuit attached, which will pull GPIO 22 high only when the button is pressed. I can verify this because the LED will light up. However, the boot process remains unchanged regardle...
by elkberry
Thu Mar 09, 2017 8:35 pm
Forum: Advanced users
Topic: Boot order using GPIO
Replies: 18
Views: 4138

Re: Boot order using GPIO

DougieLawson wrote:Set the PIN high and that completely overrides whatever setting the OTP bit has so the system will boot from the device mapped by the PIN.

Sorry, I don't know how to explain it better.
Now that is crystal clear. Thank you very much!
by elkberry
Thu Mar 09, 2017 4:58 pm
Forum: Advanced users
Topic: Boot order using GPIO
Replies: 18
Views: 4138

Re: Boot order using GPIO

Override in which sense? Boolean AND or OR? I don't understand why only terse tidbits are thrown in, why not talking clearly to us, in an understandable manner. Sorry, but this is ... exasperating. :roll:
by elkberry
Wed Mar 08, 2017 1:47 pm
Forum: Advanced users
Topic: Boot order using GPIO
Replies: 18
Views: 4138

Re: Boot order using GPIO

Since program_gpio_bootmode is another OTP bit then you really don't want to set that until you're sure you'd never want to revert to booting from an SDCard. GPIO22 through to GPIO26 are available on a RPi3 so you can pull those high to control it regardless of the OTP bits but that will be a major...
by elkberry
Tue Mar 07, 2017 8:57 pm
Forum: Advanced users
Topic: Boot order using GPIO
Replies: 18
Views: 4138

Re: Boot order using GPIO

Well, according to https://www.raspberrypi.org/documentation/hardware/raspberrypi/bootmodes/bootflow.md it's possible to disable booting from primary and secondard [m?]SD, see the boot flow description at the end of that link. If users don't know how program_gpio_bootmode and program_gpio_bootpos wo...
by elkberry
Tue Mar 07, 2017 4:11 pm
Forum: HATs and other add-ons
Topic: Power Connector/Adapter
Replies: 7
Views: 1581

Re: Power Connector/Adapter

The Raspberry Pis are extremely sensitive to under-voltage. Not without reason, the official USB 2.5A power supply runs at 5.1V, see their spec here: https://www.raspberrypi.org/documentation/hardware/raspberrypi/power/README.md USB power supplies are hit and miss, but mostly on the miss side, much ...
by elkberry
Tue Mar 07, 2017 3:55 pm
Forum: Networking and servers
Topic: NAT64 on Raspbian?
Replies: 0
Views: 341

NAT64 on Raspbian?

Has anyone successfully installed a NAT64 on Raspbian, such as Jool?
by elkberry
Tue Mar 07, 2017 3:36 pm
Forum: Advanced users
Topic: Boot order using GPIO
Replies: 18
Views: 4138

Re: Boot order using GPIO

I would also like to finally get concise information about "program_gpio_bootmode". As the situation currently is, there isn't any usable information on how to correctly use program_gpio_bootmode; in particular, there's the inherent danger of bricking my Pis. So please, finally document program_gpio...
by elkberry
Tue Mar 07, 2017 1:49 pm
Forum: Raspbian
Topic: Raspberry 3B not booting after cloning SD card
Replies: 6
Views: 2475

Re: Raspberry 3B not booting after cloning SD card

Use piclone, which is available (only) on the Raspberry Pi/Raspbian only. Use a standard Raspbian installation with Pixel desktop environment. In the main menu, under "tools" you should see the "SD card copier" (or something similar). That's piclone. You can either use piclone to clone the mSD you b...
by elkberry
Tue Mar 07, 2017 7:02 am
Forum: Advanced users
Topic: STICKY: HOWTO: Move the filesystem to a USB stick/Drive
Replies: 339
Views: 508229

Re: HOWTO: Move the filesystem to a USB stick/Drive [updated

Well, it may be a flash write performance issue or a crappy flash controller thing, too. There are several factors in the game, so it's difficult to guess beforehand. I had multiple Lexar USB 3.0 thumb drives, which performed fair, but have broken flash controllers: flashing an image with a few sect...
by elkberry
Mon Mar 06, 2017 8:18 pm
Forum: Raspbian
Topic: Does the speed of SD cards actually make a real word diff
Replies: 13
Views: 4749

Re: Does the speed of SD cards actually make a real word dif

A Seagate ST4096 MFM might not exactly bode too well against even the most cheap mSD these days. But maybe someone can come up with the ST506 interface via GPIO??? Oh these there the days...!
by elkberry
Mon Mar 06, 2017 8:07 pm
Forum: Official Foundation Display
Topic: White Screen LCD
Replies: 4
Views: 1888

Re: White Screen LCD

Well, OP even fails to mention which Raspberry Pi model he is using, and what Distribution and firmware. Maybe he's using the official 7" touch, maybe not, but then he is asking for guidance. So please, give us details about your setup. Did the OP check the DSI cable that it's properly seated? Did t...
by elkberry
Sat Mar 04, 2017 7:08 pm
Forum: Advanced users
Topic: STICKY: HOWTO: Move the filesystem to a USB stick/Drive
Replies: 339
Views: 508229

Re: HOWTO: Move the filesystem to a USB stick/Drive [updated

Now that USB boot is also supported on the rpi-update main branch, I've successfully converted three Raspberry Pi 3s to USB boot from USB 3.0 memory thumb drives (16GB). Thank you very much for this useful feature! Because my Raspberry Pis are demonstration systems to show and test certain network a...
by elkberry
Fri Feb 17, 2017 6:07 pm
Forum: Official Foundation Display
Topic: Display going white?
Replies: 3
Views: 1036

Re: Display going white?

Someone else here in the forum actually had a faulty RPi 3 in that the DSI connector did not work reliably. Everything else worked, including HDMI, just the DSI LCD didn't work on that particular RPi 3. In the end, a slight misaligned connector gave a first visual clue that there may be something fa...
by elkberry
Fri Feb 17, 2017 6:01 pm
Forum: Official Foundation Display
Topic: Ribbon Cable
Replies: 3
Views: 1167

Re: Ribbon Cable

To the best of my knowledge, the DSI LCD cable is the same as the camera cable. So you can use any camera cable, but I prefer the 75mm ones, that are hard to get. Also, I used 50mm cables, but then you cannot change the mSD anymore without unscrewing the RPi from the LCD. 100mm work too, but give a ...
by elkberry
Thu Feb 16, 2017 8:00 pm
Forum: Official Foundation Display
Topic: Display going white?
Replies: 3
Views: 1036

Re: Display going white?

How did you connect the DSI cable? Did you try it with the metal contact facing the other direction into their sockets? There may be cables with the printing on the opposite side I've read in this forum.
tmp_21307-cable lcd-1595173338.jpg
tmp_21307-cable lcd-1595173338.jpg (59.39 KiB) Viewed 1005 times
Are you using a recent Rasbian version?
by elkberry
Sat Feb 11, 2017 5:49 pm
Forum: Networking and servers
Topic: Hostapd starting before Dnsmasq is ready
Replies: 9
Views: 3477

Re: Hostapd starting before Dnsmasq is ready

Dependencies in systemd may not exactly work out you may want them to, because systemd often cannot tell when a service unit really is ready, but only when it has started and daemonized. My understanding is that this also applies to initd also to some extent, albeit aggressive parallelism in systemd...

Go to advanced search