Date: Fri, 9 Oct 2020 14:25:21 -0700 From: Mark Millard <marklmi@yahoo.com> To: Klaus Cucinauomo <maciphone2@googlemail.com> Cc: Robert Crowston <crowston@protonmail.com>, freebsd-arm <freebsd-arm@freebsd.org> Subject: Re: RPi4B: emmc2bus dma-range handling does not track the boot-time-FDT (u-boot based booting) Message-ID: <2FAA304E-045B-4B10-AA14-1E869FB6FD00@yahoo.com> In-Reply-To: <803EF261-1407-4331-AC56-1D49E05F8382@googlemail.com> References: <D8BDF95A-D6A8-4E95-A0CE-D53068E8355B.ref@yahoo.com> <D8BDF95A-D6A8-4E95-A0CE-D53068E8355B@yahoo.com> <ABE16EA6-49F1-461F-9B8A-6DAA7ED6A18D@googlemail.com> <98BC985D-EAAB-4AFB-AA8F-7391A45C4EBF@yahoo.com> <91324D35-B66A-4674-AE37-45F3DDB736FD@yahoo.com> <2B3F0409-88F2-4EBD-9C39-37929F973C77@yahoo.com> <B3133D77-FA24-4F42-B529-D0B56F48E790@yahoo.com> <CCEEC0AD-B874-4753-AAA1-B3B5B302A30C@googlemail.com> <E82AE086-837C-4CEA-92D5-78A39412F964@yahoo.com> <803EF261-1407-4331-AC56-1D49E05F8382@googlemail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 2020-Oct-9, at 13:28, Klaus Cucinauomo <maciphone2 at googlemail.com> = wrote: >=20 > Am 09.10.2020 um 21:25 schrieb Mark Millard <marklmi@yahoo.com>: >>=20 >>=20 >> Linux has its own dts/dtsi/... sources instead of using the .dtb = files >> from the RPi folks, not directly based on any vintage of the RPi .dtb >> files if I understand right=E2=80=A6=E2=80=A6=E2=80=A6=E2=80=A6=E2=80=A6= .. >=20 > FreeBSD imports the linux-dts : > = https://github.com/freebsd/freebsd/tree/master/sys/gnu/dts/arm64/broadcom FreeBSD imports lots of linux-dts material that it does not put to use. Only some of the imported material is used. release/arm64/RPI3.conf indicates use of: (There is not RPi4 release yet.) DTB_DIR=3D"/usr/local/share/rpi-firmware" DTB=3D"bcm2709-rpi-2-b.dtb bcm2710-rpi-3-b.dtb bcm2710-rpi-3-b-plus.dtb = bcm2711-rpi-4-b.dtb" . . . EMBEDDEDPORTS=3D"sysutils/u-boot-rpi3 sysutils/rpi-firmware" . . . UBOOT_DIR=3D"/usr/local/share/u-boot/u-boot-rpi3" . . . DTB_FILES=3D"armstub8.bin armstub8-gic.bin bootcode.bin = fixup_cd.dat \ fixup_db.dat fixup_x.dat fixup.dat LICENCE.broadcom \ start_cd.elf start_db.elf start_x.elf start.elf \ fixup4.dat fixup4cd.dat fixup4db.dat fixup4x.dat = start4.elf \ start4cd.elf start4db.elf start4x.elf ${DTB}" . . . for _UF in ${UBOOT_FILES}; do chroot ${CHROOTDIR} cp -p ${UBOOT_DIR}/${_UF} \ ${FATMOUNT}/${_UF} done for _DF in ${DTB_FILES}; do chroot ${CHROOTDIR} cp -p ${DTB_DIR}/${_DF} \ ${FATMOUNT}/${_DF} done chroot ${CHROOTDIR} cp -p ${DTB_DIR}/config_rpi4.txt \ ${FATMOUNT} chroot ${CHROOTDIR} cp -p ${DTB_DIR}/config_rpi3.txt \ ${FATMOUNT}/config.txt chroot ${CHROOTDIR} mkdir -p ${FATMOUNT}/overlays for _OL in ${OVERLAYS}; do chroot ${CHROOTDIR} cp -p ${OL_DIR}/${_OL} \ ${FATMOUNT}/overlays/${_OL} done It is not using sys/gnu/dts/arm64/broadcom/ material. >> =E2=80=A6=E2=80=A6=E2=80=A6. I use apt to update the ubuntu microsd = card once and a while. >=20 > I simply used the Raspberry Pi Imager(automatically updates itself to = latest) > to get a =E2=80=9Ereproducible" `latest`- msdos-partition of Ubuntu : The Raspberry Pi Imager is a way to install RaspiOS to media from Windows, macOS, ubuntu, or RaspiOS. It does not install Windows, macOS, or ubuntu but RaspiOS (an abbreviation of "Raspberry Pi OS"). > https://www.raspberrypi.org/downloads/ ubuntu's RPi* images are available via links from: https://ubuntu.com/download/raspberry-pi with arm64 links going to: = https://ubuntu.com/download/raspberry-pi/thank-you?version=3D20.04.1&archi= tecture=3Darm64+raspi These are not via the rpi organization's web site and www.raspberrypi.org does not provide the ubuntu image(s). > And it booted FreeBSD on the 4GB-model from SSD(w/o SD-card) (until = reported hang) > ( additionally I changed in config.txt from disable-bt to miniuart-bt) Looks to be that you were using RaspiOS's DTB and related materials directly, not ubuntu's materials. =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2FAA304E-045B-4B10-AA14-1E869FB6FD00>