导航

    全志在线开发者论坛

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

    taiwu001LV 2

    @taiwu001

    72
    积分
    1
    声望
    1
    资料浏览
    1
    帖子
    0
    粉丝
    0
    关注
    注册时间 最后登录

    taiwu001 取消关注 关注

    taiwu001 发布的最佳帖子

    • T113板子 spi1加了块nand flash 怎么识别出来

      spi0有一块 128M的 GD5F1GQ5UEYIGR nand flash,能正常下载固件运行,因为空间不够用现在在 spi1处也加了块 128M GD5F1GQ5UEYIGR作为存储数据用,请问各位老师 怎么把这个识别出来526c0a07-3eba-4da9-8460-8f8e252243c3-image.png
      改了设备树 &spi1 {
      clock-frequency = <100000000>;
      pinctrl-0 = <&spi1_pins_a &spi1_pins_b>;
      pinctrl-1 = <&spi1_pins_c>;
      pinctrl-names = "default", "sleep";
      spi_slave_mode = <0>;

          spi1_cs_number = <1>;
          spi1_cs_bitmap = <1>;
      
          status = "okay";
      
          spi-nand@0 {
              compatible = "spi-nand";
              #address-cells = <1>;
              #size-cells = <1>;
              spi-max-frequency = <100000000>;
              reg = <0x0>;
              nand-on-flash-bbt;
      
              partitions {
                  compatible = "fixed-partitions";
                  #address-cells = <1>;
                  #size-cells = <1>;
      
                  partition@0 {
                      label = "spi1-data";
                      reg = <0x0 0x8000000>;
                  };
              };
          };
      };   还是没出来 localhost:~# df -h
      
      Filesystem          Size  Used Avail Use% Mounted on
      
      /dev/root            26M   26M     0 100% /rom
      
      none                 55M     0   55M   0% /dev
      
      tmpfs                55M     0   55M   0% /tmp
      
      /dev/ubi0_7          66M  3.7M   59M   6% /overlay
      
      overlayfs:/overlay   66M  3.7M   59M   6% /
      
      tmpfs                11M  120K   11M   2% /run
      
      shm                  55M     0   55M   0% /dev/shm
      
      localhost:~# cat /proc/mtd
      
      dev:    size   erasesize  name
      
      mtd0: 00100000 00040000 "boot0"
      
      mtd1: 00300000 00040000 "uboot"
      
      mtd2: 00100000 00040000 "secure_storage"
      
      mtd3: 1fb00000 00040000 "sys"
      
      localhost:~# dmesg | grep -i "spi-nand"
      
      [    1.086831] sunxi-spinand-phy: get spi-nand Model from fdt fail
      
      [    1.995607] spi-nand: probe of spi1.0 failed with error -16
      
      发布在 T Series
      T
      taiwu001

    taiwu001 发布的最新帖子

    • T113板子 spi1加了块nand flash 怎么识别出来

      spi0有一块 128M的 GD5F1GQ5UEYIGR nand flash,能正常下载固件运行,因为空间不够用现在在 spi1处也加了块 128M GD5F1GQ5UEYIGR作为存储数据用,请问各位老师 怎么把这个识别出来526c0a07-3eba-4da9-8460-8f8e252243c3-image.png
      改了设备树 &spi1 {
      clock-frequency = <100000000>;
      pinctrl-0 = <&spi1_pins_a &spi1_pins_b>;
      pinctrl-1 = <&spi1_pins_c>;
      pinctrl-names = "default", "sleep";
      spi_slave_mode = <0>;

          spi1_cs_number = <1>;
          spi1_cs_bitmap = <1>;
      
          status = "okay";
      
          spi-nand@0 {
              compatible = "spi-nand";
              #address-cells = <1>;
              #size-cells = <1>;
              spi-max-frequency = <100000000>;
              reg = <0x0>;
              nand-on-flash-bbt;
      
              partitions {
                  compatible = "fixed-partitions";
                  #address-cells = <1>;
                  #size-cells = <1>;
      
                  partition@0 {
                      label = "spi1-data";
                      reg = <0x0 0x8000000>;
                  };
              };
          };
      };   还是没出来 localhost:~# df -h
      
      Filesystem          Size  Used Avail Use% Mounted on
      
      /dev/root            26M   26M     0 100% /rom
      
      none                 55M     0   55M   0% /dev
      
      tmpfs                55M     0   55M   0% /tmp
      
      /dev/ubi0_7          66M  3.7M   59M   6% /overlay
      
      overlayfs:/overlay   66M  3.7M   59M   6% /
      
      tmpfs                11M  120K   11M   2% /run
      
      shm                  55M     0   55M   0% /dev/shm
      
      localhost:~# cat /proc/mtd
      
      dev:    size   erasesize  name
      
      mtd0: 00100000 00040000 "boot0"
      
      mtd1: 00300000 00040000 "uboot"
      
      mtd2: 00100000 00040000 "secure_storage"
      
      mtd3: 1fb00000 00040000 "sys"
      
      localhost:~# dmesg | grep -i "spi-nand"
      
      [    1.086831] sunxi-spinand-phy: get spi-nand Model from fdt fail
      
      [    1.995607] spi-nand: probe of spi1.0 failed with error -16
      
      发布在 T Series
      T
      taiwu001