树莓派2装FreeBSD14.1 Raspberry Pi2 install FreeBSD14.1 00000121:error:0A000086:SSL
树莓派2代的Model B采用Broadcom BCM2836 900MHz的四核SoC,1GB内存,是新一代开拓者,兼容1代B+。相比之下,树莓派2的性能比1代提升6倍,内存翻了一番。Raspberry Pi 2不仅能跑全系列ARM GNU/Linux发行版,而且支持Snappy Ubuntu Core及Windows 10 [1]IoT Core(物联网版本)
一台非常老的树莓派2开发板,一直以为坏掉了,原来是mini SD卡坏了,换了一张卡就好了。装FreeBSD14.1 。启动后,pkg安装软件报错:
pkg install wget
The package management tool is not yet installed on your system.
Do you want to fetch and install it now? [y/N]: y
Bootstrapping pkg from pkg+https://pkg.FreeBSD.org/FreeBSD:14:armv7/quarterly, please wait...
Certificate verification failed for /CN=pkg.freebsd.org
00000121:error:0A000086:SSL routines:tls_post_process_server_certificate:certificate verify failed:/usr/src/crypto/openssl/ssl/statem/statem_clnt.c:1890:
Certificate verification failed for /CN=pkg.freebsd.org
00000121:error:0A000086:SSL routines:tls_post_process_server_certificate:certificate verify failed:/usr/src/crypto/openssl/ssl/statem/statem_clnt.c:1890:
Certificate verification failed for /CN=pkg.freebsd.org
00000121:error:0A000086:SSL routines:tls_post_process_server_certificate:certificate verify failed:/usr/src/crypto/openssl/ssl/statem/statem_clnt.c:1890:
Certificate verification failed for /CN=pkg.freebsd.org
00000121:error:0A000086:SSL routines:tls_post_process_server_certificate:certificate verify failed:/usr/src/crypto/openssl/ssl/statem/statem_clnt.c:1890:
Certificate verification failed for /CN=pkg.freebsd.org
00000121:error:0A000086:SSL routines:tls_post_process_server_certificate:certificate verify failed:/usr/src/crypto/openssl/ssl/statem/statem_clnt.c:1890:
Certificate verification failed for /CN=pkg.freebsd.org
00000121:error:0A000086:SSL routines:tls_post_process_server_certificate:certificate verify failed:/usr/src/crypto/openssl/ssl/statem/statem_clnt.c:1890:
pkg: Error fetching https://pkg.FreeBSD.org/FreeBSD:14:armv7/quarterly/Latest/pkg.txz: Authentication error
A pre-built version of pkg could not be found for your system.
Consider changing PACKAGESITE or installing it from ports: 'ports-mgmt/pkg'.
这时候系统里面ports也没有,git也没有,就卡在这里了。
百度搜搜,有人说是不是时钟的问题,查看系统时间:
date
Fri May 31 11:59:53 UTC 2024
时间确实不对,设置时间:
date 2411211600
Thu Nov 21 16:00:00 UTC 2024
好了,pkg更新好了:
pkg update
The package management tool is not yet installed on your system.
Do you want to fetch and install it now? [y/N]: y
Bootstrapping pkg from pkg+https://pkg.FreeBSD.org/FreeBSD:14:armv7/quarterly, please wait...
Verifying signature with trusted certificate pkg.freebsd.org.2013102301... done
Installing pkg-1.21.3...
Extracting pkg-1.21.3: 100%
这时候就可以使用pkg search xx来寻找自己喜欢的pkg包了。当然arm 7板子的pkg包类型比较少。
安装xfce4试试:
pkg install xfce4-conf
安装ports系统
pkg install git
git clone --depth 1 https://git.FreeBSD.org/ports.git /usr/ports
抽空到ports系统里去看看pkg。大约是比pkg多一点。
pip 安装fastapi的时候,编译pydantic-core==2.27.0失败。尝试安装rust试试,安装失败。
尝试安装摄像头和gpio支持:
pip3 install picamera RPi.GPIO
尝试失败。。。。
算了,还是不用FreeBSD,老老实实去用树莓派官方的系统了。