User avatar
Akeo
Posts: 58
Joined: Wed Aug 14, 2019 7:17 pm
Contact: Website

Re: Guide: Installation of *VANILLA* Debian 11 (or later) on a Raspberry Pi 4

Tue Jun 15, 2021 11:43 am

kpf wrote:
Tue Jun 15, 2021 10:17 am
The only 'hiccup' in the installation process was that the installer claimed one of the system devices needed non-free firmware (brcm/brcmfmac43455-sdio.bin), and I told it to load from the USB drive, but it could not do so.

Yes, these are the WiFi firmware blobs. They are provided in the UEFI archive, but it looks like the Debian Installer needs a bit more bugfixes, as it's unable to detect that they are provided, at the expected location, unless you unplug and replug the USB.

Also, parts of D-I seems to choke on spaces in the blobs name, even though it does generate these names itself. For instance, it's supposed to generate a request for brcmfmac43455-sdio.Raspberry Pi Foundation-Raspberry Pi 4 Model B.txt (I believe it generates this from the ACPI data) but the chokes on the first space and asks for brcmfmac43455-sdio.Raspberry.
This didn't impact the installation though, the wired Ethernet connection worked just fine.

Indeed. It's only for WiFi, which I don't think has a stable kernel driver anyway (last time I tried after I made D-I accept all the blobs by unplugging/replugging the USB, it still wasn't able to connect to WiFi).
One small note: in the post-install section about eliminating the 3GB RAM limit, the raspberry logo displayed by the UEFI firmware is now in color, not black-and-white :)

Good point. The logo changed since I first wrote the guide. I have now updated it.

geev03
Posts: 265
Joined: Thu Jun 07, 2012 12:40 pm
Location: London, UK

Re: Guide: Installation of *VANILLA* Debian 11 (or later) on a Raspberry Pi 4

Thu Jun 17, 2021 4:32 pm

There is a new ""UEFI Firmware v1.28 date: 06/16/2021"

Code: Select all

System:
  Kernel: 5.10.0-7-arm64 aarch64 bits: 64 compiler: gcc v: 10.2.1 
  Desktop: Xfce 4.16.0 tk: Gtk 3.24.24 info: xfce4-panel wm: xfwm4 
  dm: LightDM 1.26.0 Distro: Debian GNU/Linux 11 (bullseye) 
Machine:
  Type: Embedded-pc System: Raspberry Pi Foundation 
  product: Raspberry Pi 4 Model B v: D03114 serial: <filter> 
  Chassis: Sony UK type: 34 v: Raspberry Pi 4 Model B serial: <filter> 
  Mobo: Sony UK model: Raspberry Pi 4 Model B v: D03114 serial: <filter> 
  UEFI: https://github.com/pftf/RPi4 v: UEFI Firmware v1.28 date: 06/16/2021 
CPU:
  Info: Quad Core model: N/A bits: 64 type: MCP arch: ARMv8 rev: 3 
  bogomips: 432 
  Speed: N/A min/max: N/A volts: 5.0 V 
  Core speeds (MHz): No speed data found for 4 cores. 
  Features: asimd cpuid crc32 evtstrm fp 
Graphics:
  Message: No ARM data found for this feature. 
  Display: x11 server: X.Org 1.20.11 driver: loaded: fbdev 
  unloaded: modesetting resolution: 1920x1080~50Hz s-dpi: 96 
  OpenGL: renderer: llvmpipe (LLVM 11.0.1 128 bits) v: 4.5 Mesa 20.3.4 
  compat-v: 3.1 direct render: Yes 
Audio:
  Message: No ARM data found for this feature. 
Network:
  Message: No ARM data found for this feature. 
  IF-ID-1: enabcm6e4ei0 state: up speed: 100 Mbps duplex: full mac: <filter> 
Drives:
  Local Storage: total: 232.83 GiB used: 4.18 GiB (1.8%) 
  ID-1: /dev/sda type: USB model: USB3.0 Generic USB Device size: 232.83 GiB 
  serial: <filter> rev: 8105 scheme: GPT 
Partition:
  ID-1: / size: 226.8 GiB used: 3.83 GiB (1.7%) fs: ext4 dev: /dev/sda2 
  ID-2: /boot/efi size: 382.2 MiB used: 351.4 MiB (91.9%) fs: vfat 
  dev: /dev/sda1 
Swap:
  ID-1: swap-1 type: partition size: 976 MiB used: 0 KiB (0.0%) priority: -2 
  dev: /dev/sda3 
Sensors:
  System Temperatures: cpu: 54.0 C mobo: N/A 
  Fan Speeds (RPM): N/A 
Info:
  Processes: 212 Uptime: 1h 12m Memory: 7.62 GiB used: 1.63 GiB (21.4%) 
  Init: systemd v: 247 runlevel: 5 Compilers: gcc: N/A Packages: apt: 1384 
  Shell: Bash v: 5.1.4 running in: xfce4-terminal inxi: 3.3.01 


 

Pudi_Pudi
Posts: 1
Joined: Fri Jul 09, 2021 10:20 am

Re: Guide: Installation of *VANILLA* Debian 11 (or later) on a Raspberry Pi 4

Fri Jul 09, 2021 11:32 am

Hello everyone,

Just bought a Pi 4 and tried this guide (really love the idea of keeping things "vanilla").

I tried combining multiple firmware 1.28/1.22/1.26/1.27 and iso versions daily/weekly builds/alpha/rc2... none worked except :
- the 2021-06-28 weekly,
- with firmware 1.28,
- using a minimal install (not sure of the name, well not the graphical anyway),
- without networking,
- using a random 32Gb stick I had laying around (probably USB 2.0).

Thing is I was trying to install the OS on a spare m.2 Sata SSD I had laying around (original 'no name' that came with my Asus laptop and ended up never using as I changed it on arrival).

To plug this SDD in the Pi I tried an Oricon USB 3.0 enclosure and a dedicated Raspberry expansion board (X200 something on aliexpress, sata version of course).

In both cases the m.2 is recognized, and is able to launch the installer after being written with Rufus 14.0 (with the oricon enclosure, Windows 10, using GPT, iso to esp mode). Using all the automatic partitionning options.

The problem seems to be at the "basic system" installation (sorry don't know the exact name in the installer, I use the french version), when it tries to unpack/decompress the files. At some point it just freezes and never complete the install.
Also the freeze isn't always happening at the same step/percentage.

The error state (sorry I'm translating some parts) : "bootstrap warning" - "warning : failure while unpacking required packages. This will be attempted up to five times"
And after some more attempts : "the deboostrap program has ended with an error (return value 1)." "Please see file /var/log/syslog or the fourth virtual console for more informations".

Booting the Pi with a raspbian SD card, I see that there's no syslog file.

I also use another daughter board like in the Argon ONE, to have all the plugs at the back (and regular HDMI) and an on/off switch between the official Pi 4 3A charger and the Pi 4. Could it be sucking power and not giving enough to the SSD ? Don't think so but I'm trying to keep all options open.

Any idea as to where I should look to make it work ?

EDIT :

Finally got it to work using @botpet method (page 4) !

Only difference is, I had to run on last fdisk write on the disk after the dd command (something about GPT not being the right size).

As he did :
- I installed Debian on my 32Gb stick,
- added the "usb-storage.quirks" to the grub,
- clone the drive with a 'dd' command,
- run 'fdisk' on the ssd and just write it with 'w'.

Now it seems to boot perfectly and faster using the ssd drive.

Bonus question : I'm not familiar with the blobs issues mentionned in the first post concerning the wifi, is it manually fixable once the OS is running ?

stafwag
Posts: 1
Joined: Sun Jul 25, 2021 8:38 am

Re: Guide: Installation of *VANILLA* Debian 11 (or later) on a Raspberry Pi 4

Sun Jul 25, 2021 9:23 am

Is cpu frequency scaling working for somebody?

I loaded the raspberrypi_cpufreq & cpufreq_dt kernel modules.

root@debpi001:~# lsmod | grep -i cpu
raspberrypi_cpufreq 16384 0
cpufreq_dt 20480 0
root@debpi001:~#

But cpupower frequency-info, lscpu, /proc don't report the cpu frequency

root@debpi001:~# cpupower frequency-info
analyzing CPU 0:
no or unknown cpufreq driver is active on this CPU
CPUs which run at the same hardware frequency: Not Available
CPUs which need to have their frequency coordinated by software: Not Available
maximum transition latency: Cannot determine or is not supported.
Not Available
available cpufreq governors: Not Available
Unable to determine current policy
current CPU frequency: Unable to call hardware
current CPU frequency: Unable to call to kernel
root@debpi001:~#


root@debpi001:~# lscpu
Architecture: aarch64
CPU op-mode(s): 32-bit, 64-bit
Byte Order: Little Endian
CPU(s): 4
On-line CPU(s) list: 0-3
Thread(s) per core: 1
Core(s) per socket: 4
Socket(s): 1
NUMA node(s): 1
Vendor ID: ARM
Model: 3
Model name: Cortex-A72
Stepping: r0p3
BogoMIPS: 108.00
L1d cache: 128 KiB
L1i cache: 192 KiB
L2 cache: 1 MiB
NUMA node0 CPU(s): 0-3
Vulnerability Itlb multihit: Not affected
Vulnerability L1tf: Not affected
Vulnerability Mds: Not affected
Vulnerability Meltdown: Not affected
Vulnerability Spec store bypass: Not affected
Vulnerability Spectre v1: Mitigation; __user pointer sanitization
Vulnerability Spectre v2: Mitigation; Branch predictor hardening
Vulnerability Srbds: Not affected
Vulnerability Tsx async abort: Not affected
Flags: fp asimd evtstrm crc32 cpuid
root@debpi001:~#

root@debpi001:~# ls -l /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq
ls: cannot access '/sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq': No such file or directory
root@debpi001:~#

herbthom
Posts: 22
Joined: Sun Mar 10, 2013 6:10 pm

Re: Guide: Installation of *VANILLA* Debian 11 (or later) on a Raspberry Pi 4

Thu Jul 29, 2021 11:36 pm

@Akeo, Thank you for posting your guide. Following the approach outlined in your guide I was able to install the bullseye release candidate 2 and get wifi working by adding a few extra steps. I'm using it, running Gnome and wifi, to submit this post.

In case it might be helpful to someone else, the exact steps I used to prepare the installation media are listed below. These steps were performed on a Pi4 running RPi OS.

Code: Select all

# --- !!! BEWARE: This procedure will wipe out the contents of /dev/sdX !!! --- #
# --- !!! If the meaning of /dev/sdXY is not obvious to you, then this procedure is not for you. !!! --- #

# --- Get files --- #

wget https://cdimage.debian.org/cdimage/bullseye_di_rc2/arm64/iso-cd/debian-bullseye-DI-rc2-arm64-netinst.iso

wget https://github.com/pftf/RPi4/releases/download/v1.28/RPi4_UEFI_Firmware_v1.28.zip

# --- Prepare the USB media --- #

sudo wipefs -a /dev/sdX

sudo gdisk /dev/sdX
n<Enter>
1<Enter>
<Enter>
400M<Enter>
ef00<Enter>
w<Enter>
y<Enter>

sudo mkfs.fat -F32 /dev/sdXY

# --- Copy netinst & firmware to USB media --- #

sudo mount /dev/sdXY /mnt

mkdir /tmp/temploop

sudo mount debian-bullseye-DI-rc2-arm64-netinst.iso /tmp/temploop

sudo cp -prTL /tmp/temploop /mnt  # --- Ignore the "cp: cannot copy cyclic symbolic link '/tmp/temploop/debian'" message after this step. --- #

sudo unzip -d/mnt RPi4_UEFI_Firmware_v1.28.zip

sudo eject /dev/sdX

# --- Copy wifi blobs etc. to second USB device so that wifi can be enabled during the installation process --- #

unzip -d/tmp RPi4_UEFI_Firmware_v1.28.zip firmware/brcm/*

cp -pr /tmp/firmware/brcm /media/<MOUNTPOINT_FOR_USB_FOR_BRCM>

Installation Notes:
(1) When the installer prompts for wifi firmware, plug-in the second usb device prepared above.
(2) It is necessary to click "yes" several times for the installer to copy all of the necessary wifi related files.
(3) After the installation of the wifi files is complete remove the second USB device so that it is not seen by the installer at the partitioning stage of the installation.

User avatar
Akeo
Posts: 58
Joined: Wed Aug 14, 2019 7:17 pm
Contact: Website

Re: Guide: Installation of *VANILLA* Debian 11 (or later) on a Raspberry Pi 4

Sun Aug 15, 2021 9:01 pm

Note that I now updated the ISO download link to the formal Debian 11 ISO, that was just released today (finally!!! :D)
herbthom wrote: I was able to install the bullseye (...) and get wifi working by adding a few extra steps.
That's weird, I still have to manage to get Wifi working, even though we should be using the same base files.
I've been including the WiFi firmware blobs into the RPi4 UEFI firmware archive, in the hope that they would work (and it seems that they do for you), but I have yet to be successful with those on my side, even with an RPi4 sitting relatively close to the Access Point.

One thing I should point out is that you don't have to prepare a second USB drive with the WiFi firmware blobs. You can manage with the same drive as long as you unplug and replug the media each time the Debian installer asks for a new blob.

It seems that the Debian maintainers never really took into account that the blobs may reside on a drive that's already plugged in. Or, possibly, they have an issue detecting files on an ESP unless the drive is re-plugged. Still, if you just replug the drive, the installer seems to find the firmware blob it needs.

I guess I'd be interested to hear from other people who managed to get their WiFi working using the firmware blobs from the UEFI firmware archive...

geev03
Posts: 265
Joined: Thu Jun 07, 2012 12:40 pm
Location: London, UK

Re: Guide: Installation of *VANILLA* Debian 11 (or later) on a Raspberry Pi 4

Mon Aug 16, 2021 8:46 am

Debian 11 on rPi4 - Wifi connection possible only with Ethernet cable connected !

Code: Select all

geev03@rpi4-20210718
--------------------
OS: Debian GNU/Linux 11 (bullseye) aarch64
Host: Raspberry Pi 4 Model B Rev 1.4
Kernel: 5.10.0-8-arm64
Uptime: 40 mins
Packages: 1205 (dpkg)
Shell: sh
Resolution: 1920x1080
Terminal: /dev/pts/3
CPU: (4) @ 1.500GHz
Memory: 502MiB / 7808MiB

Code: Select all

$ ip address
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host
       valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
    link/ether dc:a6:32:d9:e6:4d brd ff:ff:ff:ff:ff:ff
    inet 192.168.1.129/24 brd 192.168.1.255 scope global dynamic eth0
       valid_lft 83933sec preferred_lft 83933sec
    inet6 fdaa:bbcc:ddee:0:dea6:32ff:fed9:e64d/64 scope global dynamic mngtmpaddr
       valid_lft forever preferred_lft forever
    inet6 fe80::dea6:32ff:fed9:e64d/64 scope link
       valid_lft forever preferred_lft forever
3: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
    link/ether dc:a6:32:d9:e6:4e brd ff:ff:ff:ff:ff:ff
    inet 192.168.1.218/24 brd 192.168.1.255 scope global dynamic noprefixroute wlan0
       valid_lft 84203sec preferred_lft 84203sec
    inet6 fdaa:bbcc:ddee:0:9936:32a7:aaff:dbb7/64 scope global noprefixroute
       valid_lft forever preferred_lft forever
    inet6 fe80::75ae:5e99:19ff:fe3a/64 scope link noprefixroute
       valid_lft forever preferred_lft forever
$

Code: Select all

$ ip address
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host
       valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
    link/ether dc:a6:32:d9:e6:4d brd ff:ff:ff:ff:ff:ff
    inet 192.168.1.129/24 brd 192.168.1.255 scope global dynamic eth0
       valid_lft 83894sec preferred_lft 83894sec
    inet6 fdaa:bbcc:ddee:0:dea6:32ff:fed9:e64d/64 scope global dynamic mngtmpaddr
       valid_lft forever preferred_lft forever
    inet6 fe80::dea6:32ff:fed9:e64d/64 scope link
       valid_lft forever preferred_lft forever
3: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
    link/ether dc:a6:32:d9:e6:4e brd ff:ff:ff:ff:ff:ff
    inet 192.168.1.218/24 brd 192.168.1.255 scope global dynamic noprefixroute wlan0
       valid_lft 84164sec preferred_lft 84164sec
    inet6 fdaa:bbcc:ddee:0:9936:32a7:aaff:dbb7/64 scope global noprefixroute
       valid_lft forever preferred_lft forever
    inet6 fe80::75ae:5e99:19ff:fe3a/64 scope link noprefixroute
       valid_lft forever preferred_lft forever
$



Attachments
rPi_BullsEye_WiFi_connection_works only when eth0 is coonected!.jpg
rPi_BullsEye_WiFi_connection_works only when eth0 is coonected!.jpg (98.94 KiB) Viewed 1236 times

User avatar
Akeo
Posts: 58
Joined: Wed Aug 14, 2019 7:17 pm
Contact: Website

Re: Guide: Installation of *VANILLA* Debian 11 (or later) on a Raspberry Pi 4

Mon Aug 16, 2021 1:05 pm

According to your screenshot, you are connecting through eth0 (the wired connection) and not wlan0 (WiFi).

192.168.1.129 is the IPv4 address of your eth0 interface, whereas 192.168.1.218 is the IPv4 address of your wlan0 interface, so ssh <user_name>@192.168.1.129 is not using WiFi at all (hence the reason why you need the cable plugged in).

However, the fact that you got an IP for wlan0 seems to indicate that WiFi should work. What happens if you ssh to 192.168.1.218 with the ethernet cable unplugged?

e_tews
Posts: 1
Joined: Tue Aug 17, 2021 1:17 pm

Re: Guide: Installation of *VANILLA* Debian 11 (or later) on a Raspberry Pi 4

Wed Aug 18, 2021 6:46 pm

Hi

I would like to share my experience. I managed to install Debian 11 on a Raspberry Pi 4 on the SD card with the proposed methods. I used the UEFI Firmware 1.29 and the current (2-3 days ago) Debian installer snapshot. I prepared a USB flash drive with the installer as described in the initial post and formatted my SD card. With both plugged in, my Pi booted the installer form the USB flash drive and I could then pick the SD card as the target device for the installer. At the end, I had a ESP partition (for the firmware, FAT) and a boot partition (ext2) and then a partition for the remaining data.

The only issue I had was that the Pi didn't boot, but all I had to do to fix this was to extract the UEFI firmware to the SD card EFI partition and then also when the Pi booted from the SD card the first time, I created a new boot entry in the UEFI firmware pointing to the Grub bootloader there.

So I think it should be fine to update the FAQ and say that the SD card is also supported now.

There is one question I still have for the audience here: Is it possible to create this boot entry for the UEFI firmware by editing a file on the ESP partition? When that would be possible, then I could also do the entire install also via a network console or we could even have a full automated install on a Pi.

Erik

luke-par
Posts: 1
Joined: Sat Aug 21, 2021 3:37 pm

Re: Guide: Installation of *VANILLA* Debian 11 (or later) on a Raspberry Pi 4

Sat Aug 21, 2021 3:44 pm

Hello,

Thanks for your great tutorial.
I successfully installed the latest Debian 11 with the Raspberry Pi 4 UEFI firmware v1.29 today.

Now I need access to the GPIOs.
Unfortunately, the access works neither via Python nor directly via sysfs. I also installed the package rpi.gpio-common, but this did not work either.
Do I have to set any parameters in config.txt or does the access not work in general?

Also, I keep getting the following message:
brcmfmac mmc0:0001:1: firmware failed to load brcm/brcmfmac43455-sdio.bin
firmware-class: See https://wiki.debian.org/firmware for missing firmware
brcmfmac: brcmf_sdio_htclk: HT Avail timeout (1000000): clkctl 0x50
mmcl: Timeout waiting for hardware cmd interrupt
sdhci register dump....

Is there anything I can do to disable it?

Thanks in advance.
Luke

ljfriese
Posts: 1
Joined: Fri Sep 03, 2021 8:27 pm

Re: Guide: Installation of *VANILLA* Debian 11 (or later) on a Raspberry Pi 4

Fri Sep 03, 2021 8:31 pm

Hey,

This might be a bit too novice-level, but I'm trying to get set up with a Raspberry Pi 4B with Debian Bullseye, and I'm finding that the Pi won't boot from the USB. The guide is thorough, and I'm able to get the USB set up (128 gig 3.0). I see your note referring to EEPROM, but I have no idea what to do with that.

I've previously booted from SD in a different project, so I know the Pi works fine.

Am I missing something obvious/How do I update the EEPROM thing to rule that out as the point of failure?

_______

Edit: This problem is simply solved by following the first 8 steps in this guide: https://www.tomshardware.com/how-to/boo ... y-pi-4-usb

Thanks,

Lucas
Last edited by ljfriese on Fri Sep 03, 2021 9:12 pm, edited 1 time in total.

llamborda
Posts: 3
Joined: Sat Sep 04, 2021 3:35 pm

Re: Guide: Installation of *VANILLA* Debian 11 (or later) on a Raspberry Pi 4

Sat Sep 04, 2021 4:12 pm

e_tews wrote:
Wed Aug 18, 2021 6:46 pm
Hi

I would like to share my experience. I managed to install Debian 11 on a Raspberry Pi 4 on the SD card with the proposed methods. I used the UEFI Firmware 1.29 and the current (2-3 days ago) Debian installer snapshot. I prepared a USB flash drive with the installer as described in the initial post and formatted my SD card. With both plugged in, my Pi booted the installer form the USB flash drive and I could then pick the SD card as the target device for the installer. At the end, I had a ESP partition (for the firmware, FAT) and a boot partition (ext2) and then a partition for the remaining data.

The only issue I had was that the Pi didn't boot, but all I had to do to fix this was to extract the UEFI firmware to the SD card EFI partition and then also when the Pi booted from the SD card the first time, I created a new boot entry in the UEFI firmware pointing to the Grub bootloader there.

So I think it should be fine to update the FAQ and say that the SD card is also supported now.

There is one question I still have for the audience here: Is it possible to create this boot entry for the UEFI firmware by editing a file on the ESP partition? When that would be possible, then I could also do the entire install also via a network console or we could even have a full automated install on a Pi.

Erik

@Akeo, thank you for this very useful tutorial. I think the possibility of having vanilla Debian 11 on Raspberry Pi 4 it’s a great step forward!
Here I’m writing because I would like to have such installation directly on the RPi SD card, instead then a USB drive. Following the message by @e_tews, using UEFI Firmware 1.30 I managed to create a bootable USB drive and install Debian 11 on a Raspberry Pi 4 SD card. Unfortunately after installation I cannot boot from the SD card. @e_tews, could you please explain in more detail your procedure? I think it would be very interesting for the community. Especially I have the following doubts:

1. How did you initially formatted the SD card along with the bootable USB drive?
2. Why it is needed an extra (ext2) boot partition? It gives me error if I try to mark this one as the bootable partition during the Debian 11 installation.
3. What do you mean with “I could pick the SD card as the target device for the installer”? Can you please explain that better?
4. What did you do exactly after having installed Debian 11 on SD card in order to make it bootable from there? Can you please elaborate more on this?

It would be great if @e_tews or somebody else can help in clarifying these issues so to have a step-by-step procedure for installing Debian 11 on Raspberry Pi 4 SD card. I’m sure the community would appreciate it.
Thanks in advance for any help.

User avatar
Akeo
Posts: 58
Joined: Wed Aug 14, 2019 7:17 pm
Contact: Website

Re: Guide: Installation of *VANILLA* Debian 11 (or later) on a Raspberry Pi 4

Mon Sep 06, 2021 8:56 pm

Note that I have updated the guide for SD card install. You have to jump through a few more hoops than USB, so I still wouldn't recommend it. But if you do follow the guide, you should be able to get Debian 11 running from SD.

llamborda
Posts: 3
Joined: Sat Sep 04, 2021 3:35 pm

Re: Guide: Installation of *VANILLA* Debian 11 (or later) on a Raspberry Pi 4

Wed Sep 08, 2021 5:05 pm

Akeo wrote:
Mon Sep 06, 2021 8:56 pm
Note that I have updated the guide for SD card install. You have to jump through a few more hoops than USB, so I still wouldn't recommend it. But if you do follow the guide, you should be able to get Debian 11 running from SD.
Dear Akeo, thank you very much for your reply and especially for having updated your guide to include also the SD card install. I think this will be useful for the community.
I followed your instruction but unfortunately I was not able booting from the SD card. After pressing “Esc” upon switching on the Raspberry I can access the boot options. There I see 2 UEFI PXE options, 2 UEFI HTT, UEFI Shell and finally “SD/MMC on Arasan SDHCI”. If I try to boot from this last, the screen get kind of refreshed (i.e. it blinks 1 time) and nothing happens. I don’t have much experience so probably I’m doing something wrong. The problem should not be that of the non-updated EEPROM you mentioned, because following your instruction I can correctly boot from an USB drive.
Do you have some idea why this happens? I really would like to figure this out.
I appreciate any help.
Cheers

User avatar
Akeo
Posts: 58
Joined: Wed Aug 14, 2019 7:17 pm
Contact: Website

Re: Guide: Installation of *VANILLA* Debian 11 (or later) on a Raspberry Pi 4

Thu Sep 09, 2021 6:12 pm

You may want to try with the newly released v1.31 of the Pi 4 UEFI firmware, as we have reverted some of the Pi Foundation support files to their 2021.06.08 version, on account that multiple regressions, including one that seems to affect SD card access, have been introduced since, that have yet to be fixed.

But if that doesn't work, and USB does, then it might be an issue with your SD card. I'd start by running a bad blocks check on it...

llamborda
Posts: 3
Joined: Sat Sep 04, 2021 3:35 pm

Re: Guide: Installation of *VANILLA* Debian 11 (or later) on a Raspberry Pi 4

Fri Sep 10, 2021 9:43 am

Akeo wrote:
Thu Sep 09, 2021 6:12 pm
You may want to try with the newly released v1.31 of the Pi 4 UEFI firmware, as we have reverted some of the Pi Foundation support files to their 2021.06.08 version, on account that multiple regressions, including one that seems to affect SD card access, have been introduced since, that have yet to be fixed.

But if that doesn't work, and USB does, then it might be an issue with your SD card. I'd start by running a bad blocks check on it...
Great. I can confirm that Vanilla Debian 11 can be installed directly on the SD card of Raspberry Pi 4 by using the Pi 4 UEFI firmware v1.31 by simply following your update guide. I think this is a great step forward for Raspberry users!
Thanks to all the contributors.

Return to “Debian”