Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.sys.raspberry-pi > #25806 > unrolled thread

green LED flashes 4 times - rpi B 3+ but works USB-boot

Started byBjörn Lundin <b.f.lundin@gmail.com>
First post2021-01-12 22:03 +0100
Last post2021-01-13 19:10 +0100
Articles 3 — 2 participants

Back to article view | Back to comp.sys.raspberry-pi


Contents

  green LED flashes 4 times - rpi B 3+ but works USB-boot Björn Lundin <b.f.lundin@gmail.com> - 2021-01-12 22:03 +0100
    Re: green LED flashes 4 times - rpi B 3+ but works USB-boot Chris Elvidge <chris@mshome.net> - 2021-01-13 14:07 +0000
      Re: green LED flashes 4 times - rpi B 3+ but works USB-boot Björn Lundin <b.f.lundin@gmail.com> - 2021-01-13 19:10 +0100

#25806 — green LED flashes 4 times - rpi B 3+ but works USB-boot

FromBjörn Lundin <b.f.lundin@gmail.com>
Date2021-01-12 22:03 +0100
Subjectgreen LED flashes 4 times - rpi B 3+ but works USB-boot
Message-ID<rtl2rb$spr$1@dont-email.me>
Hi!

I have for a long time run a rpi 3B+ by having

/boot
/

on the SD card
and all application specific stuff on a small
(80 GB) USB-disk 2.5" spinning metal

So the other day I bought a 120 GB SSD disk at amazon 
<https://www.amazon.se/dp/B077QTGTDV?ref_=pe_20773151_507143461_E_301_dt_1>

And I use gparted on another Linux box to
- clean out the new SSD
- copy /boot from SD card and paste on SSD
- copy / from sdcard  and paste on SSD
- copy /bnlbot from old USB-drive and paste on SSD

The whole procedure was very smooth - I did not know of copy/paste 
within gparted before.

in /boot/cmdlie,txt I changed the root UUID
in /etc/fstab I did the same, changing UUID and PARTITIONUUID
to new values.

Nice - unmount from PC and put SSD in rpi via USB - with no SD card
Power on

LED flashes 4 times - seem to mean
<https://elinux.org/R-Pi_Troubleshooting#Green_LED_blinks_in_a_specific_pattern>

* 4 flashes: start.elf not launched

But - the PI works,
I can SSH to it
the database works,  my applications has started.

dmesg confirms boot from USB (well there is no SD-card so)

Everything but the LED seems fine

Why does it flash?
I cannot google an answer to make it not flash


-- 
Björn

[toc] | [next] | [standalone]


#25838

FromChris Elvidge <chris@mshome.net>
Date2021-01-13 14:07 +0000
Message-ID<rtmuru$3sr$1@dont-email.me>
In reply to#25806
On 12/01/2021 09:03 pm, Björn Lundin wrote:
> 
> Hi!
> 
> I have for a long time run a rpi 3B+ by having
> 
> /boot
> /
> 
> on the SD card
> and all application specific stuff on a small
> (80 GB) USB-disk 2.5" spinning metal
> 
> So the other day I bought a 120 GB SSD disk at amazon 
> <https://www.amazon.se/dp/B077QTGTDV?ref_=pe_20773151_507143461_E_301_dt_1>
> 
> And I use gparted on another Linux box to
> - clean out the new SSD
> - copy /boot from SD card and paste on SSD
> - copy / from sdcard  and paste on SSD
> - copy /bnlbot from old USB-drive and paste on SSD
> 
> The whole procedure was very smooth - I did not know of copy/paste 
> within gparted before.
> 
> in /boot/cmdlie,txt I changed the root UUID
> in /etc/fstab I did the same, changing UUID and PARTITIONUUID
> to new values.
> 
> Nice - unmount from PC and put SSD in rpi via USB - with no SD card
> Power on
> 
> LED flashes 4 times - seem to mean
> <https://elinux.org/R-Pi_Troubleshooting#Green_LED_blinks_in_a_specific_pattern> 
> 
> 
> * 4 flashes: start.elf not launched
> 
> But - the PI works,
> I can SSH to it
> the database works,  my applications has started.
> 
> dmesg confirms boot from USB (well there is no SD-card so)
> 
> Everything but the LED seems fine
> 
> Why does it flash?
> I cannot google an answer to make it not flash
> 
> 

 From the above reference:

Note that 4-flashes may point to a defective SD-card holder, if one or 
more of the data contacts is intermittent it can lead to this problem.

"No SD card" probably can't be differentiated from "Bad SD card holder" 
as no contact with SD card.



-- 
Chris Elvidge
England

[toc] | [prev] | [next] | [standalone]


#25848

FromBjörn Lundin <b.f.lundin@gmail.com>
Date2021-01-13 19:10 +0100
Message-ID<rtnd37$fst$1@dont-email.me>
In reply to#25838
Den 2021-01-13 kl. 15:07, skrev Chris Elvidge:
> 
>  From the above reference:
> 
> Note that 4-flashes may point to a defective SD-card holder, if one or 
> more of the data contacts is intermittent it can lead to this problem.
> 
> "No SD card" probably can't be differentiated from "Bad SD card holder" 
> as no contact with SD card.


Well, yes, hmm how could I miss that?

the boot order is at 
<https://www.raspberrypi.org/documentation/hardware/raspberrypi/bootmodes/bootflow.md>

with a comment

"If there is no SD card inserted, the SD boot mode takes five seconds to 
fail. To reduce this and fall back to USB more quickly, you can either 
insert an SD card with nothing on it or use the GPIO bootmode OTP 
setting described above to only enable USB."

So I halted, inserted a small empty one and boot and now no more 
flashing. Thanks


-- 
Björn

[toc] | [prev] | [standalone]


Back to top | Article view | comp.sys.raspberry-pi


csiph-web