We're creating a custom board around an LS1027 chip. To experiment, we have a ls1028ardb board.
In preparation for supporting our custom board, I'm creating our own "machine" in Yocto (as I've done numerous times before for other vendor's layers). At this point, this machine should just be the same thing under a different name.
Made a copy of the ls1028ardb.conf into "my1028.conf".
Attempting to build fails on the RCW and ATF recipes. Which are sort of unique to this platform.
The RCW issues I could work around in s rcv_git.bbappend so it uses the same files:
BOARD_TARGETS:my1028 = "ls1028ardb"
RCW_FOLDER:my1028 = "ls1028ardb"
I tried the same trick with the ATF, so I created a qoriq-atf_%.bbappend with:
PLATFORM:my1028 = "ls1028ardb"
This doesn't get anywhere, it fails with:
| cp: cannot stat '*.pbl': No such file or directory
| WARNING: /.../qoriq-atf/2.6+AUTOINC+atf-r0/temp/run.do_install.30031:150 exit 1 from 'cp *.pbl /.../qoriq-atf/2.6+AUTOINC+atf-r0/image/boot/atf/'
| WARNING: Backtrace (BB generated script):
Apparently the compile step doesn't really output anything useful.
Do I really need to fork the ATF to get this to work? Is there some meta-freescale specific guide to create new boards? I assume dozens of developers have been down this path before...