Re: latest method for freebsd on raspberry pi 4 (8GB)

tech-lists <[email protected]>
Newsgroups gmane.os.freebsd.devel.arm
Message-ID <[email protected]>
On Wed, Nov 11, 2020 at 05:42:21PM +0000, tech-lists wrote:

[snipped]

managed to get it booted again like this. Thought I'd post in case anyone got
where I was and couldn't work out what to do at first. Some file locations
have changed between this time and last and inbetween those times I ran
raspabian-64bit on it, and upgraded the firmware. What follows below allows
the rpi4 to boot as of today, from the micro sdcard. I tried writing the
modified image to a 32GB usb key but it would not boot.

1. get latest -current snapshot for rpi3. I got
https://download.freebsd.org/ftp/snapshots/ISO-IMAGES/13.0/FreeBSD-13.0-CURRENT-arm64-aarch64-RPI3-20201105-ef87bd449eb.img.xz
(I don't know if 12.2-release or -stable would work)

2. unxz the file
3. mdconfig -f the file and mount the msdos part
4. cd into the mount

5. wget https://sourceforge.net/projects/rpi4uboot202010-fbsdonly-klaus/files/u-boot.bin/download -O u-boot.bin
6. fetch https://github.com/raspberrypi/firmware/raw/master/boot/fixup4.dat
7. fetch https://github.com/raspberrypi/firmware/raw/master/boot/start4.elf
8. cd ..
9. sync
10. umount the msdos part
11. mdconfig -d -u 0
12. put the card in the pi and boot
-- 
J.
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAABCAAdFiEE8n3tWhxW11Ccvv9/s8o7QhFzNAUFAl+sYoEACgkQs8o7QhFz
NAU1ww//XHCIjnX6hfFNV4tQaY7I2S+idgLGRMsUdpKnygBzLNS1ZnPuHa5FGZ5u
7rHa/y9Nm8jm5yp3SQ5frU7VEkpX1jQVzw2m3fDUdpV8fkzqcaZedwX8Gad/YTba
1n4V2h41y7MoH2sXpUKhnbkXsi4H/B0goY3utHSaepE6FIlTb5O2pbrI50nX7xgM
73qzldlk6smC6dZi11TEvvgvbDAabbtQpQt/AnXwK1JSUi4V/oqhxVukxxoufBDs
1NBZsfE7pD5TK3zdagqbPGP2oZ9L0osOp3JbWQaWnaGA5G0U1vL+semfKf0J07Rx
SEPhEupc9D0t28bl+DzQic7lfoGeH1/Sr7Zc+XK6sIw8GgvPl6ZO3YCAVPw5OuuA
8QgagCK1Cv1HFBBZ2J5/bX6GdQxovTU/G3hH0VoxpjzrsPSMI5VW3A57NLWTUmwf
3sIpLnih+4Y7NOktuEmTl7d4a2uTgyWsP6ab2yOzL9PM6sSwyGfWnRSEdtf0/Ga2
Hnm8Yr2xAFgeiWAMf2dChJgJLnriaRKpimpeP5zwr5dpW0gfbmMgsLRyqutRgLmH
JChqnu7EczD51UG79IgT0CupHVc0Y71FSBSJR00316PtitrTr+wRYkiXTvNjnFam
6XjKm25UU0YSBEfhNpZRpHISEYJYyzkyPUT1kC1d66/tQqiBJuM=
=xMVc
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.