Navigation

    全志在线开发者论坛

    • Register
    • Login
    • Search
    • Categories
    • Tags
    • 在线文档
    • 社区主页

    请问谁有AIC600E3的DRAM初始化代码?

    其它全志芯片讨论区
    3
    4
    2055
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • L
      lvjun0728 LV 5 last edited by

      在网上买了几片AIC800E3芯片,DRAM启动错误,谁有SPL的DRAM初始化代码?

      A 1 Reply Last reply Reply Quote Share 0
      • A
        awwwwa LV 8 @lvjun0728 last edited by

        @lvjun0728 主线(u-boot)不支持AIC600E3的DRAM初始化,请向ArtInChip联系获得支持。

        由于AIC600E3修改了 DRAM 的 pinmux 线序,如没有原厂支持测试这个mux需要尝试20w次以上

        D 1 Reply Last reply Reply Quote Share 0
        • D
          dingdong LV 2 @awwwwa last edited by

          @awwwwa

          Mainline u-boot now has support for T113-S3.... for the T113-S4 you need to apply this patch to the DRAM initialization to change mapping from 5 to no remapping. Then T113-S4 DRAM is initialized correctly as 256MB

          diff --git a/drivers/ram/sunxi/dram_sun20i_d1.c b/drivers/ram/sunxi/dram_sun20i_d1.c
          index 25005ceefb..258d854f7f 100644
          --- a/drivers/ram/sunxi/dram_sun20i_d1.c
          +++ b/drivers/ram/sunxi/dram_sun20i_d1.c
          @@ -674,7 +674,7 @@ static void mctl_phy_ac_remapping(dram_para_t *para)
           			switch (fuse) {
           			case 8: cfg = ac_remapping_tables[2]; break;
           			case 9: cfg = ac_remapping_tables[3]; break;
          -			case 10: cfg = ac_remapping_tables[5]; break;
          +			case 10: cfg = ac_remapping_tables[0]; break;
           			case 11: cfg = ac_remapping_tables[4]; break;
           			default:
           			case 12: cfg = ac_remapping_tables[1]; break;
          
          A 1 Reply Last reply Reply Quote Share 1
          • A
            awwwwa LV 8 @dingdong last edited by

            @dingdong AIC600E3 is a different chip with t113-s4

            1 Reply Last reply Reply Quote Share 0
            • 1 / 1
            • First post
              Last post

            Copyright © 2024 深圳全志在线有限公司 粤ICP备2021084185号 粤公网安备44030502007680号

            行为准则 | 用户协议 | 隐私权政策