Date: Tue, 19 May 2020 23:42:59 +0200 From: "Herbert J. Skuhra" <herbert@gojira.at> To: freebsd-arm@freebsd.org Subject: Re: rpi4 headless experience Message-ID: <20200519214259.GA16253@mail.bsd4all.net> In-Reply-To: <alpine.GSO.2.20.2005191521340.14202@localhost.local> References: <alpine.GSO.2.20.2005191521340.14202@localhost.local>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, May 19, 2020 at 03:32:07PM -0500, Dan Mack wrote: > Just tried the latest FreeBSD on RPI image on my rpi4-4GB system. Here's > what I experienced in case anyone else is interested: > > - Install method - I just dd'd the unxz'd image from the download site > onto a new microSD card. > > - used a serial port connected RPI to another RPI using a ttl to usb cable. > > - powered on, freebsd booted up just fine. > > root@generic:~ # uname -a ; df -h ; sysctl hw | grep physmem > FreeBSD generic 13.0-CURRENT FreeBSD 13.0-CURRENT #0 r361019: Thu May 14 > 09:12:43 UTC 2020 > root@releng1.nyi.freebsd.org:/usr/obj/usr/src/arm64.aarch64/sys/GENERIC arm64 > > Filesystem Size Used Avail Capacity Mounted on > /dev/ufs/rootfs 29G 2.6G 24G 10% / > devfs 1.0K 1.0K 0B 100% /dev > /dev/msdosfs/MSDOSBOOT 50M 25M 25M 50% /boot/msdos > tmpfs 50M 4.0K 50M 0% /tmp > > > hw.physmem: 973434880 > > I pluged in a USB connected SSD and it was not recognized on either USB2 or > USB3 ports. > > And the memory size is not reporting the full 4GB as can be seen above. > > Ethernet is working without any changes (dhcp kicked in by default) and > seems to work. > > Not sure about the on-board WiFI. > > That's it, if anyone knows the status of the USB support or how to get the > system to see all the memory, let me know :-) Hmm, I am running r360723 (GENERIC) on my RPi4 and it shows "hw.physmem: 4127662080". I can confirm that USB (and Wifi) is not working: usb_nop_xceiv0: <USB NOP PHY> on ofwbus0 simplebus0: <usb@7e980000> mem 0x7e980000-0x7e98ffff,0x7e00b200-0x7e00b3ff irq 44,45 disabled compat brcm,bcm2708-usb (no driver attached) usb_needs_explore_all: no devclass Powerd reports "no cpufreq(4) support". No idea if it runs at full speed or not. I have two issues with the ethernet adapter (genet0): 1. Apparently, my RPi4 is sending icmp replies to the wrong destination!? Ping from laptop to RPi4: % ping -c 1 192.168.0.9 PING 192.168.0.9 (192.168.0.9) 56(84) bytes of data. --- 192.168.0.9 ping statistics --- 1 packets transmitted, 0 received, 100% packet loss, time 0ms tcpdump on laptop: 23:20:22.244458 IP 192.168.0.2 > 192.168.0.9: ICMP echo request, id 14, seq 1, length 64 23:20:22.244651 IP 192.168.0.9 > 192.168.255.191: ICMP echo reply, id 14, seq 1, length 64 tcpdump on RPi4: 23:20:22.247490 IP 192.168.0.2 > 192.168.0.9: ICMP echo request, id 14, seq 1, length 64 23:20:22.247562 IP 192.168.0.9 > 192.168.0.2: ICMP echo reply, id 14, seq 1, length 64 Ping from RPi4 is OK. 2. IPv6 (accept_rtadv) is not working. And the RPi does not reboot. -- Herbert
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20200519214259.GA16253>