What USB device are you trying to boot? Does it have a small primary FAT partition with bootcode.bin (and the other firmware stuff) on it?
Can you try a simple USB stick which has a dd'd copy if Raspbian Jessie 2017-04-10 on it?
Have you checked it thoroughly?NoNameHere wrote:Considering that Ethernet boot also shows no signs of working (Cable plugged in, but leds on Ethernet port never light up), i guess my RPi just can't boot from USB/Ethernet.
I tried adding program_gpio_bootmode=1 to /boot/config.txt and OTP changed correctly, I pulled GPIO 22 to low and checked it with gpio readall. According to boot flow description, GPIO 22 should correspond to SD1 bootmode, and pulling it to low should disable it, yet RPi just boots from an SDcard instead of doing nothing.sarahgad wrote:Have you checked it thoroughly?NoNameHere wrote:Considering that Ethernet boot also shows no signs of working (Cable plugged in, but leds on Ethernet port never light up), i guess my RPi just can't boot from USB/Ethernet.
Code: Select all
pi@raspberrypi:~ $ vcgencmd otp_dump | grep 17
17:3030000a
I did exactly that, gpio readall confirmed that both GPIO 22 and 23 are at low (22 is at high by default). Yet RPi ignores that and boots from SDcard. If SDcard is not inserted, RPi just never powers on USB (No 5V power at ports).DougieLawson wrote:...pull GPIO 22 & 23 LOW (connected to a GND pin) to prevent it trying to read any SDCards.
When is June 61st? July 30th?DougieLawson wrote:"Midsummer Raspbian" 2017-06-61?
Tried that, but it didn't visibly affect anything, gpio readall confirms that both pins are high. If SDcard is inserted RPi boots from it, otherwise RPi dosn't do anything, USB ports never power on.DougieLawson wrote:What happens if you connect GPIO 22 & 23 to 3V3 (pin#1 or pin#17 with a 10K current limiting resistor)?
I blame it on visiting The Doctor Who Experience in Cardiff on Thursday.rpdom wrote:When is June 61st? July 30th?DougieLawson wrote:"Midsummer Raspbian" 2017-06-61?
Lucky you! There's not long left for that place (unless you have a TARDIS and can visit it earlier). We're hoping to be able to get there before it closes.DougieLawson wrote:I blame it on visiting The Doctor Who Experience in Cardiff on Thursday.
We were in Cardiff for Robbie Williams at the Principality Stadium on Wednesday. Dr Who and lunch with a good friend on Thurs. I hope someone can workout how to get a reprieve for the Dr Who exhibit, they've got so much that was rescued from BBC Lime Grove and from BBC Television Centre.rpdom wrote:Lucky you! There's not long left for that place (unless you have a TARDIS and can visit it earlier). We're hoping to be able to get there before it closes.DougieLawson wrote:I blame it on visiting The Doctor Who Experience in Cardiff on Thursday.
to add the required line to config.txt OKecho program_usb_boot_mode=1 | sudo tee -a /boot/config.txt
to check to see if the config has changed as it should. However, it reports back$ vcgencmd otp_dump | grep 17:
instead of the17:1020000a
which is what we require.17:3020000a
Code: Select all
echo program_usb_boot_mode=1 | sudo tee -a /boot/config.txt
Code: Select all
vcgencmd top_dump | grep 17:
That's not true. You need it on the SDCard /boot/config.txt for the last boot you do from SDCard before you attempt to boot from USB. I have three raspberries that boot from USB and do not have program_usb_boot_mode in any config.txt.lorccan wrote:I discovered what I was missing - needed to add the program_usb_boot_mode=1 to the end of /boot/config.txt on the USB drive as well
You've not explained how you copied 2017-06-21 Raspbian to your HDD. It should be a complete dd from if=/dev/mmcblk0p1 to of=/dev/sda nothing special, no mucking about.lorccan wrote: Do you see any variance between what I posted as my steps and the instructions you referred to (which are the ones I followed)?
Code: Select all
dd bs=4m if=/<path>/2017-06-21-raspbian-jessie.img of=/dev/disk7