crochet icon indicating copy to clipboard operation
crochet copied to clipboard

Instructions for ports u-boot install incorrect

Open MaverickEsq opened this issue 6 years ago • 1 comments

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.

MaverickEsq avatar Oct 29 '19 09:10 MaverickEsq

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.

  • If it's unique for each board type then each one of the ports need to add it as an installed file.
  • If it's one generic image file, then a new port should be made to install it in generic location.

tuaris avatar Oct 10 '20 09:10 tuaris