导航

    全志在线开发者论坛

    • 注册
    • 登录
    • 搜索
    • 版块
    • 话题
    • 在线文档
    • 社区主页
    1. 主页
    2. Huangwc
    3. 帖子
    H
    • 资料
    • 关注 0
    • 粉丝 0
    • 我的积分 336
    • 主题 1
    • 帖子 5
    • 最佳 0
    • 群组 0

    Huangwc 发布的帖子

    • 回复: 请问如何配置V3s 从spi nand flash启动 ? tina 3.5.1的LinuxSDK

      @huangwc
      ID 读成 0 0,原因找到了,flash 芯片没焊好。。。
      但还是烧录失败.

      发布在 RTOS
      H
      Huangwc
    • 回复: 请问如何配置V3s 从spi nand flash启动 ? tina 3.5.1的LinuxSDK

      burning_err_spi_nand_flash.log日志,是一开始使用 FORESEE的 F35SQA001G 时,烧录失败的打印。

      换成 MX35LF1G24AD Nand Flash后,也烧录不了,并且读到的ID成了 0 0.😂 😂
      ......
      NAND_UbootProbe start
      NB1 : enter phy init
      NandHwInit: Start Nand Hardware initializing .....
      uboot:nand version: 2 55 20190826 1130
      Reg 0x01c20848: 0x3333
      Reg 0x01c2085c: 0x55
      Reg 0x01c20864: 0x10
      uboot nand_request_tx_dma: reqest genernal dma for nand success, 0x42b90df0
      request general tx dma channel ok!
      uboot nand_request_tx_dma: reqest genernal dma for nand success, 0x42b90e0c
      request general rx dma channel ok!
      SPI nand ID: 0 0
      _SearchNandArchi fail
      [ERR]NandHwInit: SCN_AnalyzeNandSystem() failed!
      NandHwInit: End Nand Hardware initializing ..... FAIL!
      NB1 : nand phy init fail
      NB1 : enter phy Exit
      ......

      发布在 RTOS
      H
      Huangwc
    • 回复: 请问如何配置V3s 从spi nand flash启动 ? tina 3.5.1的LinuxSDK

      @whycan 晕哥? 我一开始就是用 h300, 但它默认用spi nor flash的。
      后来在whycan 上看到说用R11-pref1, 它默认是spi nand。
      但编译出来的固件都烧录不了。

      发布在 RTOS
      H
      Huangwc
    • 请问如何配置V3s 从spi nand flash启动 ? tina 3.5.1的LinuxSDK

      用荔枝派的开发板,焊接了一块MX35LF1G24AD Nand Flash. 编译出固件后烧录失败了。

      我参考了这个文档target\allwinner\r6-mic2\files_for_nand\README.txt

      1. 执行 make kernel_menuconfig

        1. [] Enable the block layer --> 选择 [] Support for large (2TB+) block devices and files
        2. Device Drivers --> [] Block devices --> 选择 <> sunxi nand flash driver
        3. Device Drivers --> 取消选择 < > Memory Technology Device (MTD) support
        4. File systems --> 选择 <*> The Extended 4 (ext4) filesystem
        5. File systems --> [*] Miscellaneous filesystems -->
          取消选择 < > Journalling Flash File System v2 (JFFS2) support (若没有可忽略)
      2. 执行 make menuconfig

        1. Utilities --> 取消选择 < > mtd-utils
        2. Utilities --> Filesystem --> 选择 <*> e2fsprogs
      3. 修改 sys_config.fex (位于 target/allwinner/r6-mic2/configs 目录下)
        将 "storage_type = 3" 改为 "storage_type = 5"

      但是对v3s无效,烧录失败。

      烧录日志见burning_err_spi_nand_flash.log。
      burning_err_spi_nand_flash.log

      请问各位大神,如何适配 v3s 的 spi nand flash呢 ?

      发布在 RTOS
      H
      Huangwc
    • 1 / 1