Date: Sat, 30 May 2020 01:23:27 -0700 From: Mark Millard <marklmi@yahoo.com> To: YAMAMOTO Shigeru <shigeru@os-hackers.jp>, =?utf-8?Q?Klaus_K=C3=BCchemann?= <maciphone2@googlemail.com> Cc: freebsd-arm <freebsd-arm@freebsd.org> Subject: Re: RaspberryPi 4B 8G model not boot Message-ID: <50DC156A-CA39-4809-85B7-02A5180DAB63@yahoo.com> In-Reply-To: <D174CF68-09DC-48E0-A25A-321D2018908D@googlemail.com> References: <20200530.130909.120260481726933388.shigeru@os-hackers.jp> <D174CF68-09DC-48E0-A25A-321D2018908D@googlemail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 2020-May-29, at 22:49, Klaus K=C3=BCchemann via freebsd-arm = <freebsd-arm at freebsd.org> wrote: > Am 30.05.2020 um 06:09 schrieb YAMAMOTO Shigeru <shigeru at = os-hackers.jp>: >>=20 >>=20 >> Hi all, >>=20 >> I buy new RaspberryPi 4B 8Gbyte model. This model has differences, such as what eeprom has the VL805 material: QUOTE ( https://github.com/raspberrypi/rpi-eeprom/tags for = v2020.05.28-137ad ) Newer board revisions do not have a dedicated VL805 EEPROM. Instead, the VL805 firmware is loaded from the bootloader EEPROM. END QUOTE None of sysutils/rpi-firmware , sysutils/u-boot-rpi[34] , and/or FreeBSD's kernel have been updated for such differences. > my seller isn=E2=80=99t very responsive so I=E2=80=99m still waiting = :-) >>=20 >> I make SD card image from current snapshot for RaspberryPi 3. >> = https://download.freebsd.org/ftp/snapshots/ISO-IMAGES/13.0/FreeBSD-13.0-CU= RRENT-arm64-aarch64-RPI3-20200528-r361567.img.xz >>=20 >> 1. write image to SD card >=20 > O.K. >=20 >> 2. download *.dat, *.elf, bootcode.bin, bcm2711-rpi-4-b.dtb from = https://github.com/raspberrypi/firmware >> 3. replace *.dat, *.elf, bootcode.bin, bcm2711-rpi-4-b.dtb >=20 > You can leave the msdos-partition as it is, those files are already = there. It may be that the files should not be updated. But the content of the files need not be the same. https://github.com/raspberrypi/firmware shows the master branch by default but allows, for example, selecting a tagged build instead. The original message did not make clear which branch's/tag's material was used. FreeBSD's sysutils/rpi-firmware port shows 1.20190925.g20200109 in its Makefile, which would match tag 1.20190925 . Since then there has also been more tags added as things were updated: 1.202000114 1.202000205 1.202000210 1.202000212 The master branch is even more updated than those. It is not necessarily obvious that the sysutils/u-boot-rpi[34] ports or the FreeBSD kernel would be well matched to the more recent https://github.com/raspberrypi/firmware/ materials. >> 4. cp config_rpi4.txt config.txt >=20 > don`t do: 'mv config_rpi4.txt config.txt=E2=80=98 , leave all as it = is =E2=80=A6=E2=80=A6 # diff -u /mnt/config.txt /mnt/config_rpi4.txt --- /mnt/config.txt 2020-05-27 22:07:36.000000000 -0700 +++ /mnt/config_rpi4.txt 2020-05-27 22:07:36.000000000 -0700 @@ -1,7 +1,7 @@ arm_control=3D0x200 -dtparam=3Daudio=3Don,i2c_arm=3Don,spi=3Don -dtoverlay=3Dmmc -dtoverlay=3Dpwm +arm_64bit=3D1 dtoverlay=3Ddisable-bt +dtoverlay=3Dmmc device_tree_address=3D0x4000 kernel=3Du-boot.bin +armstub=3Darmstub8-gic.bin (Note the different/special armstub for an RPi4.) Looking at my builds of u-boot.bin for the rpi3 and rpi4: # ls -ldT /usr/local/share/u-boot/u-boot-rpi[34]/u-boot.bin -rw-r--r-- 1 root wheel 499824 Apr 25 00:16:54 2020 = /usr/local/share/u-boot/u-boot-rpi3/u-boot.bin -rw-r--r-- 1 root wheel 506360 Apr 25 13:28:34 2020 = /usr/local/share/u-boot/u-boot-rpi4/u-boot.bin they are not even the same size. It does not appear that testing a rpi3 based configuration is the same as testing a rpi4 based configuration, even if the rpi4 could run the rpi3 configuration without problems. > if you=E2=80=99re interested in testing pcie/USB on the 8GB-model just = reply here and you will get answer from=20 > the author of the pcie-driver(R. Crowston), thanks in advance for = testing his driver ;-) I've no clue what configuration(s) R. Crowston is targeting or testing. >> 5. cp /usr/local/share/u-boot/u-boot-rpi4/u-boot.bin . >>=20 >> I try to boot from SD card. >> But u-boot not booting, I can see a color test patter at booting = rpi4. >>=20 >> It seems me to update u-boot-rpi4. >>=20 =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?50DC156A-CA39-4809-85B7-02A5180DAB63>