Yocto: Create custom MACHINE based on ls1028ardb

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Yocto: Create custom MACHINE based on ls1028ardb

442件の閲覧回数
mikelooijmans
Contributor IV

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...

タグ(2)
0 件の賞賛
返信
1 返信

408件の閲覧回数
LFGP
NXP TechSupport
NXP TechSupport
Please review the section "4 Getting started with Layerscape LDP" at the LLDP User guide, you can download it from the NXP web page.
 
You can modify our BSP as your preference.
0 件の賞賛
返信