Warning: the PMIC image for this board must be updated. Please edit io_vxxxf.txt stored in \MB\HB10364A\ and set MBPMIC: to pms_0V85.bin
Press any key to continue...
What exactly did you do to your board to get to that point? MBPMIC is supposed to be 80_1_86G.bin on Morello r0p1 (and r0p2) systems, not pms_0V85.bin.
i took new board out of its cardboard box and powered it onrepo init -u https://git,morello-project.org/morello/manifest.git -b morello/release-1.3 -g bsprepo syncbuild-scripts/build-all.sh -p soc -f nonesudo mount /dev/sda1 /mntsudo rm -rf /mnt/*sudo cp -r output/soc/firmware/* /mnt/SOFTWARE
I thought i also didsudo cp -r bsp/board-firmware/* /mntbut maybe forgot
It was 80_1_86G.bin and that is what MCC was complaining about - dunno what code was producing the complaint or whether it was doing the right thing - rather unwisely i just followed its advice and edited the config - i guess i should put it back and find out how to remove the warning (which interupts the boot)?
Nick Lewis said:morello/release-1.3
Why 1.3? It's 1.5 years old.
Nick Lewis said:sudo rm -rf /mnt/*sudo cp -r output/soc/firmware/* /mnt/SOFTWARE
There are directories (and top-level files) on the SD card other than SOFTWARE, so you blew those away.
Nick Lewis said:sudo cp -r bsp/board-firmware/* /mnt
This should restore them, but will also overwrite the SOFTWARE you just built with pre-built ones (for the same source). If you did that then as far as I can tell things should have worked. If you didn't then I have no clue as to the consequences, but it 100% won't boot. I wouldn't be surprised if the MCC catches various errors and dumps out that bogus error message on hitting them given the Morello firmware is mostly a tweaked version of the N1SDP's, as far as I know. Unfortunately the MCC firmware itself is closed-source.
All you need is the contents of board-firmware on the SD card (see https://ctsrd-cheri.github.io/cheribsd-getting-started/morello-firmware/index.html).
i followed the documentation from ARMdeveloper.arm.com/.../Building-the-Morello-software-stacklinks to:git.morello-project.org/.../user-guide.rst
i will try the rel1.5 of the user-guide and see if that works better than the rel1.3:
Sorry for the confusion Nick, that guide shouldn't have pointed to a fixed release. We are in the process of moving the documentation to a new home, which will hopefully make things clearer. To update the firmware, these instructions are up-to-date: https://linux.morello-project.org/docs/user-guide/#morello-hardware-1 (it boils down to cloning the board-firmware repo somewhere and copying the files to the SD card).
the instructions from the user guide in release 1.5 worked ok but i will follow the user guide in its new location (i did wonder why there was no user guide in releases newer than 1.5) to get the latest fixes
hopefully the link in https://developer.arm.com/documentation/den0132/0100/Building-the-Morello-software-stack?lang=en will be updated to point to the user guide in the new location so others do not risk experiencing the same issue
thanks for your help
Great! Yes I raised this issue internally, we will make sure to update that guide.
The getting started guide has now been updated: developer.arm.com/.../Building-the-Morello-software-stack