freebsd / crochet

Build FreeBSD images for RaspberryPi, BeagleBone, PandaBoard, and others.
BSD 2-Clause "Simplified" License
608 stars 187 forks source link

Instructions for ports u-boot install incorrect #286

Open MaverickEsq opened 4 years ago

MaverickEsq commented 4 years ago

When attempting to use ports to install the appropriate u-boot for the board, crochet assumes u-boot.img is placed in/usr/local/share/u-boot/$BOARD_TYPE however ports place it in /usr/ports/sysutils/u-boot-$BOARD_TYPE/work/u-boot-YYYY.MM/u-boot.img

This results in crochet repeatedly saying the appropriate u-boot is not installed.

Possibly instructions should be changed to include copying over the u-boot.img from ports or checking there for it if its not in /usr/local/share/u-boot/$BOARD_TYPE/u-boot.img

I have only confirmed this issue with u-boot-orangepi-one and u-boot-orangepi-zero, not sure if its specific to them though.

tuaris commented 3 years ago

Is u-boot.img unique for each board type? or is it generic?

The corresponding sysutils/u-boot-* ports need to be updated/fixed depending on the answer.