Navigation

    全志在线开发者论坛

    • Register
    • Login
    • Search
    • Categories
    • Tags
    • 在线文档
    • 社区主页
    1. Home
    2. elliott
    E
    • Profile
    • Following 1
    • Followers 0
    • my integral 661
    • Topics 1
    • Posts 15
    • Best 1
    • Groups 0

    elliottLV 4

    @elliott

    661
    integral
    1
    Reputation
    1
    Profile views
    15
    Posts
    0
    Followers
    1
    Following
    Joined Last Online

    elliott Unfollow Follow

    Best posts made by elliott

    • Reply: 2G内存D1开发板源码编译的镜像启动错误:DRAM: Unhandled exception: Store/AMO access fault

      更新一下修复方案:

      问题发生在u-boot-2018/common/board_f.c文件的reserve_board()函数的memset()进行写内存时;
      原512M内存的代码在U-Boot运行会出现错误,是由于opensbi的PMP设置中,0xbfxxxxxx地址没有访问权限,故触发异常错误

      支持D1 2G内存的主要patch在opensbi的sunxi_platform.c文件sunxi_pmp_region_info()函数中的PMP设置;

      正常运行的opensbi:

      MIDELEG : 0x0000000000000222
      MEDELEG : 0x000000000000b1ff
      PMP0    : 0x0000000040000000-0x000000004001ffff (A)
      PMP1    : 0x0000000040000000-0x000000007fffffff (A,R,W,X)
      PMP2    : 0x0000000080000000-0x00000000bfffffff (A,R,W,X)
      PMP3    : 0x0000000000020000-0x0000000000027fff (A,
      

      异常:

      MIDELEG : 0x0000000000000222
      MEDELEG : 0x000000000000b1ff
      PMP0    : 0x0000000040000000-0x000000004001ffff (A)
      PMP1    : 0x0000000040000000-0x000000007fffffff (A,R,W,X)
      PMP2    : 0x0000000000000000-0x0000000007ffffff (A,R,W)
      PMP3    : 0x0000000009000000-0x000000000901ffff (
      
      posted in D1系列-RISC-V
      E
      elliott

    Latest posts made by elliott

    • Reply: 2G内存D1开发板源码编译的镜像启动错误:DRAM: Unhandled exception: Store/AMO access fault

      更新一下修复方案:

      问题发生在u-boot-2018/common/board_f.c文件的reserve_board()函数的memset()进行写内存时;
      原512M内存的代码在U-Boot运行会出现错误,是由于opensbi的PMP设置中,0xbfxxxxxx地址没有访问权限,故触发异常错误

      支持D1 2G内存的主要patch在opensbi的sunxi_platform.c文件sunxi_pmp_region_info()函数中的PMP设置;

      正常运行的opensbi:

      MIDELEG : 0x0000000000000222
      MEDELEG : 0x000000000000b1ff
      PMP0    : 0x0000000040000000-0x000000004001ffff (A)
      PMP1    : 0x0000000040000000-0x000000007fffffff (A,R,W,X)
      PMP2    : 0x0000000080000000-0x00000000bfffffff (A,R,W,X)
      PMP3    : 0x0000000000020000-0x0000000000027fff (A,
      

      异常:

      MIDELEG : 0x0000000000000222
      MEDELEG : 0x000000000000b1ff
      PMP0    : 0x0000000040000000-0x000000004001ffff (A)
      PMP1    : 0x0000000040000000-0x000000007fffffff (A,R,W,X)
      PMP2    : 0x0000000000000000-0x0000000007ffffff (A,R,W)
      PMP3    : 0x0000000009000000-0x000000000901ffff (
      
      posted in D1系列-RISC-V
      E
      elliott
    • Reply: 【开源开发板】D1s-Nezha开发板全全开源上架(内含购买链接和全部软硬件资料)

      全开源的板子,赞!

      posted in D1系列-RISC-V
      E
      elliott
    • Reply: 分析Tina打包流程,并在buildroot上来实现打包生成tina镜像,支持PhoenixSuit烧写。

      好帖。自定义制作镜像很有帮助。

      posted in D1系列-RISC-V
      E
      elliott
    • Reply: D1 uart2功能可以用在PD1和PC1引脚上吗?

      uart2串口通信请问下目前正常了吗?

      posted in D1系列-RISC-V
      E
      elliott
    • Reply: 发现 D1 的串口可以交换RX/TX了, 手滑党可以不用割线飞线了,美中不足非同一组UART,需要改一下软件。

      功能复用吗?mark一下回头试验试验

      posted in D1系列-RISC-V
      E
      elliott
    • Reply: 全志D1裸奔工具XFEL

      @whycan 我使用的是标准的D1板子.
      请问spi nor的存储D1默认没有,需要手动焊接的吗?

      posted in D1系列-RISC-V
      E
      elliott
    • Reply: 全志D1裸奔工具XFEL

      @whycan 在 全志D1裸奔工具XFEL 中说:

      xfel 写 spi nor flash

      在尝试xfel写spinor flash时,检测spinor失败,而nand正常。
      请问是哪里的问题呢?

      $ xfel version
      AWUSBFEX soc=0x00185900(D1/F133) 0x00000001 ver=0x0001 0x44 0x08 scratchpad=0x00045000
      $ xfel spinand
      Found spi nand flash 'MX35LF2GE4AD' with 268435456 bytes
      $ xfel spinor
      The spi nor flash '0xffc226' is not yet supported
      Can't detect any spi nor flash
      
      posted in D1系列-RISC-V
      E
      elliott
    • Reply: D1怎么使用JTAG?

      @tigger 多谢啦

      posted in D1系列-RISC-V
      E
      elliott
    • Reply: D1怎么使用JTAG?

      @damon 在 D1怎么使用JTAG? 中说:

      disable dts文件中的sdc0配置

      请问下,“disable dts文件中的sdc0配置”具体应该注释哪些呢?

      posted in D1系列-RISC-V
      E
      elliott
    • Reply: 请问淘宝上面的cklink可以调试d1吗?

      @whycan 大佬,俺想买用的这种tf卡槽转接jtag调试器的调试板,您那里有淘宝店没?

      posted in D1系列-RISC-V
      E
      elliott