UP Squared SBC and PCI devices



  • Hi all,
    I've been testing out the Up-Squared SBC for the last couple of weeks. Trialled it as my flex server, which it excelled in (on top of windows 10). Don't have any 4k content so can't comment on that.
    I'm going to repurpose it as a PfSense box and having a little bit of difficulty installing to the internal MMC storage device. Happy to just proceed with USB stick in the interim. And so….

    Does anyone know how to modify my installation such that it disables PCI devices? My up-squared doesn't play nice. Takes about five minutes to boot due to PCI controller timeout.

    Cheers


  • Netgate Administrator

    Does it eventually boot? You just need to disable the PCI bus scan?

    Or is it hanging on some particular PCI device?

    Can it run with no PCI devices?

    Steve


  • Netgate Administrator

    If in fact you're seeing:

    sdhci_pci0-slot0: Controller Timeout
    

    …a few times. Then try adding the following line to /boot/device.hints

    hint.sdhci_pci.0.disabled="1"
    

    Steve



  • Thank you! That was exactly my problem!



  • So how did you get it to actually SEE the internal eMMC?

    Mine gets the same error messages then it will continue with the installation process but it doesn't see the eMMC. Going over to a console and running "gpart show" only lists the USB stick I'm using as the install source.

    Do you add another USB stick, mSATA or SATA drive as the target install destination?

    Seems that maybe my inability to see the eMMC is because of this PCI bus scanning error.

    FWIW, Windows 10 sees the hardware just fine so I know it's not busted.

    Thanks,
    Brad


  • Netgate Administrator

    There appears to be an issue with the controller for the SD card on that board. I doubt it will work until something in FreeBSD is patched to work with it correctly unfortunately.

    Steve



  • The error you're seeing also explains why you can't use the eMMC, that's the SDHC controller's attachment.



  • Thanks for the confirmation. I'm resigned to using an mSATA or plain SATA drive until Up^2 places nicely with FreeBSD.

    At least my eMMC wont get hammered with writes…  :-\