Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 30 Jul 2023 14:17:19 -0700
From:      Fred Finster <fred@thegalacticzoo.com>
To:        yklaxds@gmail.com, freebsd-arm@freebsd.org
Subject:   [SOLVED] July 002839 post: u-boot.bin Not Booting on Raspberry Pi 4B? Replace with older working version u-boot.bin
Message-ID:  <a9796a43-e899-557e-4695-743896f7a533@thegalacticzoo.com>

next in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.
--------------dVp08GWspIZYESi3v6e3bgRa
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit

Yes, I also had problems with booting latest FreeBSD 14.0-CURRENT 
snapshot on a Raspberry Pi 4B with 8 GB ram  SoC B0T version 1.2

https://lists.freebsd.org/archives/freebsd-arm/2023-July/002839.html 
Your post

https://lists.freebsd.org/archives/freebsd-arm/2023-July/002789.html My 
[SOLVED] answer to replace u-boot.bin with an older working version

https://ghostbsd-arm64.blogspot.com/2021/05/audit-your-boot-files-with-md5deep.html 
How to Audit your directories and files using MD5DEEP or HASH utility.

Read the comments section  verify what the MD5 checksum is on your 
u-boot.bin  file.  Replace that newer u-boot.bin file with an older 
version that does work to boot the RASPBERRY PI.

602552 71287bb1f4d4ceb9dc9cbf1efb0186a8 /media/msdos/u-boot.bin

Look at the size and the MD5 checksum value to determine a working 
version compared to a broken version

        root@Fred_RasPi4B:/mnt/rpifat32 # ls -l u*
        -rwxr-xr-x  1 root  wheel  568960 Oct 21  2021 u-boot.bin
        -rwxr-xr-x  1 root  wheel  602552 Jun 22 07:08 u-bootJune22_broken.bin
        root@Fred_RasPi4B:/mnt/rpifat32 #

        root@Fred_RasPi4B:/mnt/msdos # md5 u-boot.bin   # 568960 Oct 21 2021
        u-boot.bin  Working Older Copy
        MD5 (u-boot.bin) = 4c2998a9bd108775ada821a56e6362a7    # Working Older
        Copy of u-boot.bin

        -rwxr-xr-x  1 root  wheel   602552 Jun 22 07:08 u-boot.bin
        root@Fred_RasPi4B:/mnt/rpifat32 # md5 u-boot.bin    #
        MD5 (u-boot.bin) = be6c1637a6c775fad754efa723eff516      # Not booting
        June 22 2023 u-boot.bin replaced


FreeBSD-14.0-CURRENT-arm64-aarch64-RPI-20230706-884eaacd24bd-263985.img.xz

I would be glad for your testing assistance on Raspberry Pi 4B with 
FreeBSD software.

https://ghostbsd-arm64.blogspot.com/2022/09/freebsd-140-compiling-kernel-for.html

See the VCHIQ_AUDIO_PATCH_file.txt , https://reviews.freebsd.org/D37878  
This patch allows HDMI Audio to work on the speakers from your HDMI TV / 
Monitor.

https://reviews.freebsd.org/D37878?download=true  Get the Patch File 
text saved  HDMI_VCHIQ_sound_patch.txt (or filename 
patch_vchiq_D37878_diff.txt)

fred@generic-arm64:/usr $ ls -l pat*
-rw-r--r--  1 root  wheel 47621 Jul 30 19:27 patch_vchiq_D37878_diff.txt
fred@generic-arm64:/usr $ md5 patch*
MD5 (patch_vchiq_D37878_diff.txt) = 0d5f9016a8b07c5cdb1966e3486da376
fred@generic-arm64:/usr $ wc patch*
     1694    5413   47621 patch_vchiq_D37878_diff.txt

cd /usr/src

Does this match your usage work flow? I am asking you to verify the 
steps, so that I or others can duplicate those steps and have a working 
kernel to install. please modify, add, or update the steps below:

su root
cd /usr/src
patch -v <HDMI_VCHIQ_sound_patch.txt
time make -j4 buildkernel  KERNCONF=GENERIC-VCHIQ
time make -j4 installkernel  KERNCONF=GENERIC-VCHIQ
reboot FreeBSD operating system and use the newly compiled kernel

uname -aK    What is the presently running kernel version.

ls -l /boot/kernel      Look at the file sizes and file dates FYI

Now I expect that HDMI port #0 sound will work and output to my 
Television connected via HDMI cable to TV's HDMI input #2. So when my tv 
is displaying the Raspberry Pi 4B desktop screen. Opening FireFox 
version 104 browser to youtube.com will play some Video and AUDIO too.

Respectfully,

Fred L Finster


ps.

Giving a presentation at LinuxFestNorthWest  October 20-22 2023 
Bellingham Washington

https://dev.events/conferences/linux-fest-northwest-bellingham-9-2023

https://sessionize.com/app/speaker/session/500667


      Find Stability Using FreeBSD 14.0 O/S on your ARM64 Raspberry Pi
      4B device


        Description

Bring stable FreeBSD server & desktop software to YOUR HOME computer. 
How I stream YouTube video and hdmi audio on my RasPi4B to a HDMI 
screen. Some FreeBSD wifi device driver development notes, port OpenBSD 
wifi driver to FreeBSD 14.0
https://forums.raspberrypi.com/viewtopic.php?t=343233
Future look at FreeBSD on a Rock5 SBC wiki.radxa.com/rock5



--------------dVp08GWspIZYESi3v6e3bgRa
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: 8bit

<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>Yes, I also had problems with booting latest FreeBSD 14.0-CURRENT
      snapshot on a Raspberry Pi 4B with 8 GB ram  SoC B0T version 1.2</p>
    <p><a class="moz-txt-link-freetext" href="https://lists.freebsd.org/archives/freebsd-arm/2023-July/002839.html">https://lists.freebsd.org/archives/freebsd-arm/2023-July/002839.html</a> 
      Your post</p>
    <p><a class="moz-txt-link-freetext" href="https://lists.freebsd.org/archives/freebsd-arm/2023-July/002789.html">https://lists.freebsd.org/archives/freebsd-arm/2023-July/002789.html</a> 
      My [SOLVED] answer to replace u-boot.bin with an older working
      version<br>
    </p>
    <p><a class="moz-txt-link-freetext" href="https://ghostbsd-arm64.blogspot.com/2021/05/audit-your-boot-files-with-md5deep.html">https://ghostbsd-arm64.blogspot.com/2021/05/audit-your-boot-files-with-md5deep.html</a> 
      How to Audit your directories and files using MD5DEEP or HASH
      utility.<br>
    </p>
    <p>Read the comments section  verify what the MD5 checksum is on
      your u-boot.bin  file.  Replace that newer u-boot.bin file with an
      older version that does work to boot the RASPBERRY PI.</p>
    <p>602552 71287bb1f4d4ceb9dc9cbf1efb0186a8 /media/msdos/u-boot.bin</p>
    <p>Look at the size and the MD5 checksum value to determine a
      working version compared to a broken version<br>
    </p>
    <blockquote>
      <blockquote>
        <pre class="main">root@Fred_RasPi4B:/mnt/rpifat32 # ls -l u*
-rwxr-xr-x  1 root  wheel  568960 Oct 21  2021 u-boot.bin
-rwxr-xr-x  1 root  wheel  602552 Jun 22 07:08 u-bootJune22_broken.bin
root@Fred_RasPi4B:/mnt/rpifat32 #

root@Fred_RasPi4B:/mnt/msdos # md5 u-boot.bin   # 568960 Oct 21 2021 
u-boot.bin  Working Older Copy
MD5 (u-boot.bin) = 4c2998a9bd108775ada821a56e6362a7    # Working Older 
Copy of u-boot.bin

-rwxr-xr-x  1 root  wheel   602552 Jun 22 07:08 u-boot.bin
root@Fred_RasPi4B:/mnt/rpifat32 # md5 u-boot.bin    #
MD5 (u-boot.bin) = be6c1637a6c775fad754efa723eff516      # Not booting 
June 22 2023 u-boot.bin replaced


</pre>
      </blockquote>
    </blockquote>
    <p></p>
    <p>FreeBSD-14.0-CURRENT-arm64-aarch64-RPI-20230706-884eaacd24bd-263985.img.xz
    </p>
    <p>I would be glad for your testing assistance on Raspberry Pi 4B
      with FreeBSD software.</p>
    <p><a class="moz-txt-link-freetext" href="https://ghostbsd-arm64.blogspot.com/2022/09/freebsd-140-compiling-kernel-for.html">https://ghostbsd-arm64.blogspot.com/2022/09/freebsd-140-compiling-kernel-for.html</a></p>;
    <p>See the VCHIQ_AUDIO_PATCH_file.txt , 
      <a class="moz-txt-link-freetext" href="https://reviews.freebsd.org/D37878">https://reviews.freebsd.org/D37878</a>  This patch allows HDMI Audio
      to work on the speakers from your HDMI TV / Monitor.</p>
    <p><a class="moz-txt-link-freetext" href="https://reviews.freebsd.org/D37878?download=true">https://reviews.freebsd.org/D37878?download=true</a>  Get the Patch
      File text saved  HDMI_VCHIQ_sound_patch.txt (or filename
      patch_vchiq_D37878_diff.txt)<br>
    </p>
    <p><font size="4" face="monospace">fred@generic-arm64:/usr $ ls -l
        pat*</font><br>
      <font size="4"><font face="monospace">-rw-r--r--  1 root  wheel 
          47621 Jul 30 19:27 patch_vchiq_D37878_diff.txt</font></font><br>
      <font size="4"><font face="monospace">fred@generic-arm64:/usr $
          md5 patch*</font></font><br>
      <font size="4"><font face="monospace">MD5
          (patch_vchiq_D37878_diff.txt) =
          0d5f9016a8b07c5cdb1966e3486da376</font></font><br>
      <font size="4"><font face="monospace">fred@generic-arm64:/usr $ wc
          patch*</font></font><br>
      <font size="4"><font face="monospace">    1694    5413   47621
          patch_vchiq_D37878_diff.txt</font></font><br>
      <br>
    </p>
    <p>cd /usr/src</p>
    <pre class="main"><div style="text-align: left;">Does this match your usage work flow?  I am asking you to verify the steps, 
so that I or others can duplicate those steps and have a working kernel to install.
please modify, add, or update the steps below:</div>
su root
cd /usr/src
patch -v &lt;HDMI_VCHIQ_sound_patch.txt
time make -j4 buildkernel  KERNCONF=GENERIC-VCHIQ
time make -j4 installkernel  KERNCONF=GENERIC-VCHIQ
reboot FreeBSD operating system and use the newly compiled kernel</pre>
    <pre class="main">uname -aK    What is the presently running kernel version.</pre>
    <pre class="main">ls -l /boot/kernel      Look at the file sizes and file dates FYI</pre>
    <pre class="main">
</pre>
    <p style="text-align: left;">Now I expect that HDMI port #0 sound
      will work and output to my Television connected via HDMI cable to
      TV's HDMI input #2. So when my tv is displaying the Raspberry Pi
      4B desktop screen. Opening FireFox version 104 browser to
      youtube.com will play some Video and AUDIO too.</p>
    <p></p>
    <p>Respectfully,</p>
    <p>Fred L Finster</p>
    <p><br>
    </p>
    <p>ps.<br>
    </p>
    <p>Giving a presentation at LinuxFestNorthWest  October 20-22 2023
      Bellingham Washington<br>
    </p>
    <p><a class="moz-txt-link-freetext" href="https://dev.events/conferences/linux-fest-northwest-bellingham-9-2023">https://dev.events/conferences/linux-fest-northwest-bellingham-9-2023</a></p>;
    <p><a class="moz-txt-link-freetext" href="https://sessionize.com/app/speaker/session/500667">https://sessionize.com/app/speaker/session/500667</a></p>;
    <h3>Find Stability Using FreeBSD 14.0 O/S on your ARM64 Raspberry Pi
      4B device</h3>
    <h4>Description</h4>
    Bring stable FreeBSD server &amp; desktop software to YOUR HOME
    computer. How I stream YouTube video and hdmi audio on my RasPi4B to
    a HDMI screen. Some FreeBSD wifi device driver development notes,
    port OpenBSD wifi driver to FreeBSD 14.0<br>
    <a href="https://forums.raspberrypi.com/viewtopic.php?t=343233"
      target="_blank" class="moz-txt-link-freetext">https://forums.raspberrypi.com/viewtopic.php?t=343233</a><br>;
    Future look at FreeBSD on a Rock5 SBC wiki.radxa.com/rock5
    <p></p>
    <p><br>
    </p>
    <p><br>
    </p>
  </body>
</html>

--------------dVp08GWspIZYESi3v6e3bgRa--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?a9796a43-e899-557e-4695-743896f7a533>