P2020 uboot spl problem

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

P2020 uboot spl problem

1,386件の閲覧回数
su007
Contributor I

hello,

i have a custom p2020 board.

i use sd boot and have checked the spl code, the boot hung once set law for

ddr space. board/Freescale/p1_p2_rdb/spl.c and ddr.c is the code file.

I comment the ddr initialization, it also hung once set law for ddr. I think set law is not related with ddr.

i also try other law set. It’s ok.

can the problem is tlb related?

so strange problem.

 

Waiting for your reply!

 

0 件の賞賛
返信
2 返答(返信)

1,358件の閲覧回数
yipingwang
NXP TechSupport
NXP TechSupport

The following code is in board/freescale/p1_p2_rdb_pc/ddr.c.

if (set_ddr_laws(CONFIG_SYS_DDR_SDRAM_BASE,
ddr_size, LAW_TRGT_IF_DDR_1) < 0) {
printf("ERROR setting Local Access Windows for DDR\n");
return 0;
};

Please check whether the message "ERROR setting Local Access Windows for DDR" is printed after running set_ddr_laws(CONFIG_SYS_DDR_SDRAM_BASE, ddr_size, LAW_TRGT_IF_DDR_1) < 0

Please check whether DDR LAW configuration is overlapped with other LAWs configuration.

0 件の賞賛
返信

1,382件の閲覧回数
su007
Contributor I

one more thing:

should I print all tlb entries for debug?

0 件の賞賛
返信