How to build OpenWRT image for NXP 1012A custom board?

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

How to build OpenWRT image for NXP 1012A custom board?

ソリューションへジャンプ
2,007件の閲覧回数
devstar1018
Contributor I

Hello. How are you?

Now I am building OpenWRT image for NXP 1012A custom board.

How can I build image for my board?

I read " Porting OpenWrt/LEDE on QorIQ Layerscape ARMv8 Platforms.pdf" already.

By the way, in that documentation, only target, bootloader and firmware parts are descirbed.

There are a lot of parts I have to consider.

Isnt needed to do rest setting?

Above settings, that is, target, bootlaoder and firmware is enough?

And then which model can I refer generally?

There are 2 models, 1012ARDB and 1012FRDB. 

I hope you provide general openwrt image building guide of NXP ARM boards.

I will wait your update.

Best regards.

Sun.

0 件の賞賛
返信
1 解決策
1,923件の閲覧回数
yipingwang
NXP TechSupport
NXP TechSupport

Hello Sun MingChen,

You need to customize u-boot, RCW, atf, dts file for you custom board.

u-boot source code in build_dir/target-aarch64_generic_musl/uboot-layerscape-<platform>/uboot-layerscape-lsdk-1903/, you need to modify board/freescale/ls1012ardb/ and include/configs/ls1012ardb.h.

RCW source code in build_dir/target-aarch64_generic_musl/ls-rcw-lsdk-1903/

You need to modify RCW in ls1012ardb/R_SPNH_3508/

ATF source code in build_dir/target-aarch64_generic_musl/tfa-layerscape-<platform>-sdboot/tfa-layerscape-lsdk-1903/

You need to modify /plat/nxp/soc-ls1012/ls1012ardb/ddr_init.c

Linux Kernel source code in build_dir/target-aarch64_generic_musl/linux-layerscape_armv8_64b/linux-<version>/

You need to modify dts file in arch/arm64/boot/dts/freescale/fsl-ls1012a-rdb.dts.

Thanks,

Yiping

元の投稿で解決策を見る

0 件の賞賛
返信
1 返信
1,924件の閲覧回数
yipingwang
NXP TechSupport
NXP TechSupport

Hello Sun MingChen,

You need to customize u-boot, RCW, atf, dts file for you custom board.

u-boot source code in build_dir/target-aarch64_generic_musl/uboot-layerscape-<platform>/uboot-layerscape-lsdk-1903/, you need to modify board/freescale/ls1012ardb/ and include/configs/ls1012ardb.h.

RCW source code in build_dir/target-aarch64_generic_musl/ls-rcw-lsdk-1903/

You need to modify RCW in ls1012ardb/R_SPNH_3508/

ATF source code in build_dir/target-aarch64_generic_musl/tfa-layerscape-<platform>-sdboot/tfa-layerscape-lsdk-1903/

You need to modify /plat/nxp/soc-ls1012/ls1012ardb/ddr_init.c

Linux Kernel source code in build_dir/target-aarch64_generic_musl/linux-layerscape_armv8_64b/linux-<version>/

You need to modify dts file in arch/arm64/boot/dts/freescale/fsl-ls1012a-rdb.dts.

Thanks,

Yiping

0 件の賞賛
返信