0

I have Raspberry Pi 3 B+ and I tried to apply some answer in GitHub for a problem that I faced before. https://github.com/adafruit/Adafruit_Python_DHT/issues/63

The problem is that when I run these commends

sudo rpi-update 52241088c1da59a359110d39c1875cda56496764
sudo reboot

My raspberry pi doesn't connect at all and only red light turn on and off. I tried to use TTL-to-USB cable.

I will appreciate any help.

I_Al-thamary
  • 113
  • 6

1 Answers1

1

"In normal circumstances there is NEVER a need to run rpi-update as it always gets you to the leading edge firmware and kernel and because that may be a testing version it could leave your RPi unbootable". https://www.raspberrypi.org/forums/viewtopic.php?p=916911#p916911 Even the rpi-update documentation now warns "Even on Raspbian you should only use this with a good reason. This gets you the latest bleeding edge kernel/firmware."

sudo apt-get update; sudo apt-get install --reinstall raspberrypi-bootloader raspberrypi-kernel will put it back to the latest supported kernel/bootcode.

You COULD try rebooting to a root shell and can repair most such problems on the Pi.

  1. Append init=/bin/sh at the end of cmdline.txt and reboot.
  2. After booting you will be at the prompt in a root shell.
  3. Your root file system is mounted as readonly now, so remount it as read/write mount -n -o remount,rw /

You can then edit files or restore kernel/bootcode.

Milliways
  • 62,573
  • 32
  • 113
  • 225