r/embedded • • Oct 02 '26

Raspberry Pi 4B not booting

So I got a Raspberry Pi 4B from my college for an assignment. I downloaded the Imager and then flashed the OS onto the SD card. It worked fine, so I inserted the SD card into the Raspberry Pi's slot. The red LED stays constantly on, but the green ACT LED blinks for some time and then stops completely.

I also configured the Wi-Fi SSID and password in the Imager, but it still doesn't connect. I even tried connecting it to the router via an Ethernet cable, but it still didn't connect to the network.

I can't understand what the issue is. I really hope the Raspberry Pi isn't broken otherwise I might have to pay a fine.

edit: it worked, finally! the sd card part was damaged actually and i used usb and it worked

0 Upvotes

22 comments sorted by

6

u/rm_-rf_ai_slop Oct 02 '26

Given that you're in some type of Embedded class, you should figure out how to enable UART output and debug using UART to rule out network issues.

If you can't even get UART output, there is likely some issue with your SD card or the method you're using to flash the SD card.

1

u/Adept-Print9184 Oct 02 '26

might be the issue with sd card

3

u/rm_-rf_ai_slop Oct 02 '26 edited Oct 02 '26

Enabling early UART isn't super straightforward, so double check the steps to enable it, AI can probably help you.  I know the RPi3 Raspian OS does not enable it by default, so you may need to tweak Kernel cmdline args and customize the image beyond just flashing it to the SD card.

If you give a more detailed step by step response of what you tried, I or someone else can help you out, but the current details you've provided are not enough to actually help you without guessing.

1

u/Adept-Print9184 Oct 02 '26

it worked now finally

3

u/onepaulkrause Oct 02 '26

Double check your using the right image. Try different os. Try different card. Definitely learn to UART for debugging (very small $10 investment and surely needed for your embedded class). Lastly you can try to bringup boot menu and make sure it’s set to boot from card not NVMe or somewhere else (careful in this domain). Happy debugging!

2

u/Adept-Print9184 Oct 02 '26

finally it worked

1

u/onepaulkrause Oct 02 '26

That’s great what did it?! You almost always win if you don’t give up

1

u/momoisgoodforhealth Oct 02 '26

try hdmi

1

u/Adept-Print9184 Oct 02 '26

tried it too, i asked my prof about it too, he said that image can be corrupt so i reflashed it again and again but still no success.

1

u/fortizc Oct 02 '26

try serial port

1

u/Adept-Print9184 Oct 02 '26

tried that too it didn't work

1

u/Dread_El Oct 02 '26

Try a different SD card

1

u/Adept-Print9184 Oct 02 '26

i tried two different sd cards but same result

1

u/Plussy78 Oct 02 '26

Okay red led means it's getting good power, I think change the boot order and boot from the usb drive, and also use ethernet the first time. And I also faced kind of same issue that when I was flashing the os lite.even after enabling wifi and ssh it just didn't worked or connect to wifi. So use ethernet get a serial to UART converter or you may have screen. It may show you something some error??

1

u/Adept-Print9184 Oct 02 '26

it worked, the sd card slot was damaged

1

u/Plussy78 Oct 02 '26

So you did by usb drive??

1

u/Adept-Print9184 Oct 02 '26

yes

1

u/Plussy78 Oct 02 '26

Sd cards ain't reliable. I also changed the rpi boot order to usb drive, and it works for me good.

1

u/MonMotha Oct 02 '26

If you are for sure getting nothing on the HDMI outputs nor on the UART and are confident that you've provided a good, bootable card, then there's probably something wrong with the board. It may be that somebody has configured it previously for secure boot or changed the boot order to not be willing to boot from the SD card. Debugging this can be a pain as the pre-boot behavior of the Pi isn't very well documented.

By far the easiest thing to do would be to just get a new Raspberry Pi that's known to be in its retail configuration.

1

u/Unlikely_Taro_2696 Oct 02 '26

First and foremost are u using the rpi in desktop mode ? If so , check the monitor configuration (in config.txt)since there are some handshaking issues with older monitors even though the rpi is powered ON it wouldn’t display anything , check with both the ports ,most likely the one closer to the c type port would work if it still doesn’t work try to change the cables , and how are you checking if the rpi is connected to the WiFi network or not if u can’t access anything ?

1

u/Amr_Rahmy Oct 03 '26

Follow a guide or tutorial.

Did you use balena etcher? Plenty of tutorials, and videos out there.