porting BSP to custom board

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

porting BSP to custom board

1,382件の閲覧回数
caohaifeng
Contributor IV

Hello, I have two questions about porting BSP to my custom board.

Question1.

chapter 11.3.3 of i.MX53 System Development User’s Guide, board_init() is implemented inside board/freescale/mx53_loco/mx53_loco.c

gd->bd->bi_arch_number = MACH_TYPE_MX53_LOCO,

If I port u-boot to my custom board(imx534 based), Does it should be changed to MACH_TYPE_MX53_<custom signal>, and how?

Should I add an item like MACH_TYPE_MX53_XXX 3274 in linux/arch/arm/tools/mach-types.h ?

Question2.

I copied two files in  linux/../mach-mx5 directory, mx53_loco.c and mx53_loco_pmic_mc34708.c, and renamed them. Further more,I replace all loco in these two files to my custom signal. When I compiled it ,got some error messages at xxx_susend_enter、machine_is_mx53_xxx etc.

error:MACH_TYPE_MX53_XXX undeclared here

error:implicit declaration of funtion 'mx53_xxx_init_mc34708'

I will appreciate if anyone can reply.

Regards,

Haifeng

ラベル(2)
タグ(3)
0 件の賞賛
返信
2 返答(返信)

1,002件の閲覧回数
caohaifeng
Contributor IV

I have solved it.

0 件の賞賛
返信

1,002件の閲覧回数
ottawa-imx6
Contributor IV

If you could... Please provide your solution and mark it as solved. That way the forums can benefit others.

Thank you.

0 件の賞賛
返信