Date: Wed, 20 May 2020 00:39:09 +0000 From: Robert Crowston <crowston@protonmail.com> To: Dan Mack <mack@macktronics.com>, freebsd-arm@freebsd.org Subject: Re: rpi4 headless experience Message-ID: <qAj2hj_TvFriQz3R0xh-iPAZ9vA9XjIqNaT0pIp_25LZsoxbOtTXdEzDSDhyGj4OQJSaV_m5ZFe9XPPjTTR7R-x8aPo1obRUYY1RoG34jEI=@protonmail.com> In-Reply-To: <alpine.GSO.2.20.2005191521340.14202@localhost.local>
index | next in thread | previous in thread | raw e-mail
USB is an ordinary VIA chip attached by pci-e. But the pci-e controller is proprietary and there is little documentation. I have been working on a driver for some time, with limited success—I can see the USB controller and enumerate the ports on it, but it doesn’t start properly. I know some other folks have been looking at directly accessing USB without initializing the pci-e controller. openBSD 6.7 has pci-e for rpi4. It uses TianoCore instead of u-boot. I believe TianoCore does the hard part of the pci-e initialization like configuring the inbound system memory view. Another mailing list contributor is working on wifi. On Tue, May 19, 2020 at 21:32, Dan Mack <mack@macktronics.com> 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 :-) > > Dan > > _______________________________________________ > freebsd-arm@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-arm > To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org"help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?qAj2hj_TvFriQz3R0xh-iPAZ9vA9XjIqNaT0pIp_25LZsoxbOtTXdEzDSDhyGj4OQJSaV_m5ZFe9XPPjTTR7R-x8aPo1obRUYY1RoG34jEI=>
