tag:blogger.com,1999:blog-8361942945221983453.post3565139741884463560..comments2024-03-24T13:09:14.304+00:00Comments on Pete's Blog: Installing Debian ARM64 on a Raspberry Pi 3 in UEFI modePetehttp://www.blogger.com/profile/00656449482260202625noreply@blogger.comBlogger43125tag:blogger.com,1999:blog-8361942945221983453.post-83195229334929907912022-02-24T16:42:26.171+00:002022-02-24T16:42:26.171+00:00I noticed exactly the same. any solutions yet?I noticed exactly the same. any solutions yet?FishMaanhttps://www.blogger.com/profile/10890875861555839660noreply@blogger.comtag:blogger.com,1999:blog-8361942945221983453.post-63393720245003703232021-12-27T21:17:52.995+00:002021-12-27T21:17:52.995+00:004: Alternatively, from the terminal:
$ sudo mount...4: Alternatively, from the terminal:<br /><br />$ sudo mount /dev/sdb1 /mnt/hd<br />$ cd /mnt/hd/<br />$ sudo unzip ~/Downloads/RPi4_UEFI_Firmware_v1.32.zip <br />$ cd -<br />$ sudo umount /mnt/hd<br />alxhttps://www.blogger.com/profile/16553448216727032300noreply@blogger.comtag:blogger.com,1999:blog-8361942945221983453.post-32071095299760502952021-12-27T10:20:24.632+00:002021-12-27T10:20:24.632+00:00Hi! After successful installation I get an error &...Hi! After successful installation I get an error "Synchronous Exception at 0x17FFFFFA9402E831" on black screen. Looks like UEFI produce the error. Any ideas?Vadimhttps://www.blogger.com/profile/17708830601631321579noreply@blogger.comtag:blogger.com,1999:blog-8361942945221983453.post-63966976294959726232021-11-15T18:17:14.656+00:002021-11-15T18:17:14.656+00:00Hey ! you have a problem with the bootloader, abov...Hey ! you have a problem with the bootloader, above they wrote maybe the boot files are missing on your sd. But you can easily boot using any usb flash card. insert it into a free port and upload the raspberryAnonymoushttps://www.blogger.com/profile/08487251738862349002noreply@blogger.comtag:blogger.com,1999:blog-8361942945221983453.post-33779721495220772742021-11-09T19:29:03.431+00:002021-11-09T19:29:03.431+00:00i'm frustrating to get this to work... I choos...i'm frustrating to get this to work... I choose 1st partition to be 500 cause newer images are bigger. At first dhcp or manual setup didn't work from eth interface. Then I changed to wireless and setup was completed. Then at boot after firmware logo i get a black screen with message Synchronous exception at 0x17FFFF....Georgehttps://www.blogger.com/profile/16130017154244659277noreply@blogger.comtag:blogger.com,1999:blog-8361942945221983453.post-72146515612423407742021-09-11T20:42:21.142+01:002021-09-11T20:42:21.142+01:00The guide for RPi4 bullseye installation can be fo...The guide for RPi4 bullseye installation can be found at https://www.raspberrypi.org/forums/viewtopic.php?f=50&t=282839. Also, the reason it's asking for the same firmware is because, when using USB media, it appears that the Debian installer assumes the firmware not to already be present when it asks for it, and is looking for a USB plug event to detect content changes. So you need to unplug-replug the USB for each firmware blob you are asked if you find it appears to be stuck in a loop.Pete Batardhttps://www.blogger.com/profile/09315085625194033420noreply@blogger.comtag:blogger.com,1999:blog-8361942945221983453.post-33780624826060745622021-09-11T20:16:10.779+01:002021-09-11T20:16:10.779+01:00Hi Pete,
I've used your tutorial many times n...Hi Pete,<br /><br />I've used your tutorial many times now, and it works perfectly! It's nice to have a plain debian x64 variant for management purposes, and in my use case, the 64 bit variant seems to be also slightly faster, maybe because I'm using Python a fair amount.<br />My diskpart command is 'create partition primary align=1024 size=511', since the newer isos are slightly over 300MB, and it aligns the sectors nicely at powers of 2. No idea if the latter helps, I didn't notice any performance influence but well, with SD-card sizes nowadays..<br />I wanted to thank you for this work. I don't have any RPI4s, but I just saw the Github also has RPI4 firmware, so that's interesting for when I do. <br />Oh, when trying this method using the iso for Debian 11 bullseye, it keeps asking for the same firmware during the 'Load missing firmware from removable media' step, and it'll never be able to get any (both wired and wifi) network interface to work on both 3B and 3B+. I just install 10, and then immediately update through changing '/etc/apt/sources.list'. It's not a major issue, and seeing as there's no difference in the firmware used, it's probably due to a difference in included drivers on the iso.<br />Anyway, thanks for the tutorial!Stryhttps://www.blogger.com/profile/14492632139056036803noreply@blogger.comtag:blogger.com,1999:blog-8361942945221983453.post-18648857153874361332021-08-12T17:29:43.923+01:002021-08-12T17:29:43.923+01:00"is this article also applicable to raspberry..."is this article also applicable to raspberry pi 400?" No it isn't. This article is ONLY for Pi 3. For Pi 4 and derivatives, you may find something like https://www.raspberrypi.org/forums/viewtopic.php?f=50&t=282839 useful, but that was written for Pi 4B, so your mileage with Pi 400 may vary.<br />Also, the firmwares are different. You can't use the Pi 3 UEFI firmware and expect it to work on the Pi 4.Pete Batardhttps://www.blogger.com/profile/09315085625194033420noreply@blogger.comtag:blogger.com,1999:blog-8361942945221983453.post-89035967375724256242021-08-12T16:51:59.181+01:002021-08-12T16:51:59.181+01:00I liked the way this article is composed. I have b...I liked the way this article is composed. I have been using various linux distros on PC (x86)... and this article contains all the details that are needed for reader with that background. All the hardwork that goes in it, and level of details, is highly appreciated. <br /><br />I have stumbled across a very peculiar problem. is this article also applicable to raspberry pi 400 ? As I read, https://github.com/pftf/RPi4 is still in experimental. Also pi 4B vs pi 400 have different processors so wonder if firmware would be different or not. Are they both referred as aarch64 ? milindkkulkarnihttps://www.blogger.com/profile/09160761336692750892noreply@blogger.comtag:blogger.com,1999:blog-8361942945221983453.post-49925682451011054252021-01-24T22:38:07.211+00:002021-01-24T22:38:07.211+00:00https://uefi.org/sites/default/files/resources/UEF...https://uefi.org/sites/default/files/resources/UEFI%20Spec%202.8B%20May%202020.pdf<br /><br />That's way too specific a question for me to invest the time trying to provide an answer, without being contracted for it. Sorry.Pete Batardhttps://www.blogger.com/profile/09315085625194033420noreply@blogger.comtag:blogger.com,1999:blog-8361942945221983453.post-28980706581702560182021-01-24T22:24:11.123+00:002021-01-24T22:24:11.123+00:00thanks. and yet one question, maybe you can hint. ...thanks. and yet one question, maybe you can hint. what is the most guaranteed way of finding the Simple Text Output Protocol (STOP) on the UART/serial? When searching the ConOut variable, is searching for the node Type 3 Subtype 14 (Messaging, UART) a guaranteed way of finding a STOP instance on the serial port? Because, there is yet Type 2 (ACPI Device Path) SubType: 1 (ACPI Device Path) HID=PNP0501, "Serial" node. Or maybe searching for Type 3, Subtype 10, (Vendor) and checking for any of the defined GUIDs for all kinds of terminals is the best? I mean, if it's a serial port, then Type 3, Subtype 14 (UART) always should be there and is thus the most guaranteed sign of the serial console DP?valerahttps://www.blogger.com/profile/00487943784279723256noreply@blogger.comtag:blogger.com,1999:blog-8361942945221983453.post-57275240777242414592021-01-24T12:49:30.084+00:002021-01-24T12:49:30.084+00:00The best Pi to pick for UEFI would be the Pi 4, no...The best Pi to pick for UEFI would be the Pi 4, not because it's most complete but because, it's the most up to date platform, and therefore the one UEFI developers are focusing on. As to whether it will feat your need, it's up to you to read the firmware notes and see if that is likely to be the case, as noone can answer that question but you.<br /><br />"Why they did so?" I'm not the right person to ask. I'm just reporting what I found empirically here. I tried various things, and found that FAT16 led to better detection as ESP by the Debian Installer than FAT32. So the whole point is not "You can't use FAT32" but "If you deviate from what I am advising above, then you are likely to have to perform extra steps to make it work, so, if you don't want to have to waste your time going through extra actions, just follow the guide".Pete Batardhttps://www.blogger.com/profile/09315085625194033420noreply@blogger.comtag:blogger.com,1999:blog-8361942945221983453.post-70809862182053570432021-01-23T23:33:07.865+00:002021-01-23T23:33:07.865+00:00Hi, Pete. playing with my boards, all having uboot...Hi, Pete. playing with my boards, all having uboot with ... [sigh] incomplete UEFI support, I realized, that I need yet one ARM SBC, but this time, with decent UEFI onboard. And I found out, that it's RPis with your work put there. Could you please tell me what is better RPi to pick, if I want the most complete, stable, compliant UEFI? In other words RPi 3 B/B+ or RPi 4 UEFI is already mature enough to use it without frustration? the use case is writing a UEFI OS Loader (not linux related).<br /><br />and yet, a couple of notes. you wrote: "it MUST be FAT16 and not FAT32, as the Debian partition manager will not detect it as ESP otherwise". I understand, this is to overcome quirks of a particular program (debian installer), but just out of curiosity - why they did so? UEFI spec. clearly says, that ESP is FAT32. always. and also, you mentioned several times the CPU ROM code inability to understand GPT/ESP. I am wondering, why not using an ordinary, non-ESP FAT volume then? UEFI happily loads OSLs from such volumes. And even Load Options, pointing to such volumes, could be created and will be recognized and managed by the UEFI Boot Manager. is this something again, related to the quirky "debian installer"? or it's just purism ("there should be ESP!")? :)valerahttps://www.blogger.com/profile/00487943784279723256noreply@blogger.comtag:blogger.com,1999:blog-8361942945221983453.post-32806913760077009102020-12-12T03:04:40.119+00:002020-12-12T03:04:40.119+00:00Any success with getting onboard sound to work or ...Any success with getting onboard sound to work or maybe an add-on HAT? Also I found that it will hand on a reboot, but a shut down and start up work just fine. Thanks for your development effort and making this available. Trinidad Scorpionhttps://www.blogger.com/profile/15028031315114422974noreply@blogger.comtag:blogger.com,1999:blog-8361942945221983453.post-43686955008937843972020-12-07T16:04:33.396+00:002020-12-07T16:04:33.396+00:00Having the exact GRUB error might help. The first ...Having the exact GRUB error might help. The first thing I would do, when that error happens, is that the boot/efi partition is properly mounted read/write. The size of the microSD shouldn't matter.Pete Batardhttps://www.blogger.com/profile/09315085625194033420noreply@blogger.comtag:blogger.com,1999:blog-8361942945221983453.post-31354768489698694872020-12-07T03:07:54.298+00:002020-12-07T03:07:54.298+00:00Hello. I followed the steps and it seems to be wor...Hello. I followed the steps and it seems to be working fine up to the point of grub installation. I get an error that goes like "grub-install dummy failed". my disk layout is the same/similar as this one<br /><br />MMC/SD card #1 (mmcblk0) - 16.0 GB SD 2WCGO<br /> #1 primary 314.6 MB B K ESP<br /> #2 primary 1.0 GB f swap swap<br /> #3 primary 14.7 GB f ext4 /<br /><br />the only difference is that I'm using a much larger microSD. any ideas?Anonymoushttps://www.blogger.com/profile/14503813967241827726noreply@blogger.comtag:blogger.com,1999:blog-8361942945221983453.post-62399495656206131992020-11-07T12:17:16.605+00:002020-11-07T12:17:16.605+00:00Sorry but you'll have to do your own research....Sorry but you'll have to do your own research. And, no, these instructions are designed SPECIFICALLY for the Raspberry Pi 3. If you use something else, you are 100% on your own.Pete Batardhttps://www.blogger.com/profile/09315085625194033420noreply@blogger.comtag:blogger.com,1999:blog-8361942945221983453.post-15501308763914062842020-11-07T02:45:16.245+00:002020-11-07T02:45:16.245+00:00Hey I want to thank you for your patience, I'v...Hey I want to thank you for your patience, I've not been bringing my A-game. I'm currently installing Cinnamon. I like the look and feel, but it's taking a long time to install. I'm mostly interested in web server option is there a smaller install that you could recommend? Lastly I have two odroid boards XU4 and C4 and a rock 64 will these instructions work for any of those??? Thanks again fot your tutorial.<br />Trinidad Scorpionhttps://www.blogger.com/profile/15028031315114422974noreply@blogger.comtag:blogger.com,1999:blog-8361942945221983453.post-10974999541424583112020-11-05T20:18:24.038+00:002020-11-05T20:18:24.038+00:00Yes. The first part is titled "Windows",...Yes. The first part is titled "Windows", so it is clearly for Windows.Pete Batardhttps://www.blogger.com/profile/09315085625194033420noreply@blogger.comtag:blogger.com,1999:blog-8361942945221983453.post-6098113880799468042020-11-05T20:15:26.372+00:002020-11-05T20:15:26.372+00:00Thanks for getting back to me, I wasn't sure i...Thanks for getting back to me, I wasn't sure if anybody would... the instructions in appendix A is that for Windows?Trinidad Scorpionhttps://www.blogger.com/profile/15028031315114422974noreply@blogger.comtag:blogger.com,1999:blog-8361942945221983453.post-84584573505820412732020-11-05T12:39:22.134+00:002020-11-05T12:39:22.134+00:00You may have a defective SD card (SD cards are a l...You may have a defective SD card (SD cards are a lot less reliable than people think!). Or you may want to ditch using EaseUS Partition Manager and follow Appendix A.Pete Batardhttps://www.blogger.com/profile/09315085625194033420noreply@blogger.comtag:blogger.com,1999:blog-8361942945221983453.post-20658869658156972392020-11-05T12:35:50.901+00:002020-11-05T12:35:50.901+00:00Thought I was on my way to success, but then reali...Thought I was on my way to success, but then reality struck again! After I type device file the way it is posted above the install fails. Seems can't read or access for some reason. From a shell access I see mmcblk0p1 listed as a device. I partitioned in fat on a windows 10 machine using a partition app- EaseUS Partition Master.Trinidad Scorpionhttps://www.blogger.com/profile/15028031315114422974noreply@blogger.comtag:blogger.com,1999:blog-8361942945221983453.post-16521131354162921622020-09-03T15:20:46.987+01:002020-09-03T15:20:46.987+01:00You may want to try this then:
1. Edit /boot/grub...You may want to try this then:<br /><br />1. Edit /boot/grub/grub.cfg on the bootable media and add a set timeout=5 line under:<br /> set menu_color_highlight=white/blue<br /> (This is needed because the default of GRUB is to wait for keypress forever)<br /> <br />2. Still in /boot/grub/grub.cfg locate the menuentry 'Install' { section (first one) and change:<br /> linux /install.a64/vmlinuz --- quiet<br /> to<br /> linux /install.a64/vmlinuz auto=true file=/cdrom/preseed.txt --- quiet<br /> This way, automated install is triggered and that preseed.txt from the media will be used.<br /> <br />3. At the top level of the media, create a preseed.txt with the following content:<br /><br /> d-i debian-installer/locale string en_IE.UTF-8<br /> d-i keyboard-configuration/xkb-keymap select irish<br /> d-i netcfg/get_hostname string unassigned-hostname<br /> d-i netcfg/get_domain string unassigned-domain<br /> d-i netcfg/hostname string pi3<br /> d-i anna/choose_modules string network-console<br /> d-i network-console/password password r00tme<br /> d-i network-console/password-again password r00tme<br /><br /> Note that I'm using an Irish locale, so you'll have to change for yours. But if you do that<br /> you should be able to connect to the installer as 'pi3' through ssh and proceed from there.<br />Pete Batardhttps://www.blogger.com/profile/09315085625194033420noreply@blogger.comtag:blogger.com,1999:blog-8361942945221983453.post-13891300230527936452020-09-03T14:19:25.116+01:002020-09-03T14:19:25.116+01:00ok thx
I'll try and then report.
appreciate ...ok thx<br /><br />I'll try and then report.<br /><br />appreciate your helppareclohttps://www.blogger.com/profile/17588349882289256075noreply@blogger.comtag:blogger.com,1999:blog-8361942945221983453.post-6625635291084584252020-09-03T14:10:05.651+01:002020-09-03T14:10:05.651+01:00You can configure Debian with preseed for automate...You can configure Debian with preseed for automated installation. If you do that properly, there's no need for display or keyboard. See https://www.debian.org/releases/stable/example-preseed.txtPete Batardhttps://www.blogger.com/profile/09315085625194033420noreply@blogger.com