Raspberry Pi Zero W earmv6hf notes

John Klos <[email protected]>
Newsgroups gmane.os.netbsd.ports.arm
Message-ID <[email protected]>
Hi, all,

earmv6hf on the Raspberry Pi Zero W works well, including changing the CPU 
frequency while using the serial console. Wifi works out of the box, too, 
although I haven't used it extensively yet.

I just built netbsd-10, both the OS and kernel, for the Pi on the Pi, with 
interesting results:

Kernel:
build.sh started:    Wed Jul 17 15:42:02 UTC 2024
build.sh ended:      Wed Jul 17 18:56:58 UTC 2024
11697.03 real      9622.98 user      1111.49 sys

netbsd-10:
build.sh started:    Fri Jul 12 08:01:19 UTC 2024
build.sh ended:      Wed Jul 17 09:56:20 UTC 2024

/usr/bin/time -l told us:

    438902.38 real    358555.20 user     44338.02 sys
     285228  maximum resident set size
-1704612098  average shared memory size
          2  average unshared data size
          1  average unshared stack size
  470963930  page reclaims
     129300  page faults
          0  swaps
      58797  block input operations
     188118  block output operations
          0  messages sent
          0  messages received
       5498  signals received
    3875196  voluntary context switches
   11400005  involuntary context switches


Love the average shared memory size :D

Interestingly, it took about 122 hours for the Pi to compile netbsd-10, 
where a single core of a Ryzen 5500 took about 1.85 hours. This makes the 
Ryzen about 66 times faster than the Pi, or a little more than 16 times 
faster adjusted for clock speed (1 GHz compared with between 3.6 and 4.2 
GHz).

Regardless, it works and makes for a stable and happy mail server. Much 
thanks to everyone working on NetBSD on ARM :)

John
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.