Navigation

    全志在线开发者论坛

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

    百问网韦老师 D1 开发板 ---- 东山哪吒STU

    MR Series
    d1 东山派 东山哪吒stu
    4
    12
    4705
    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.
    • whycan
      whycan晕哥 LV 9 last edited by whycan

      购买链接: https://item.taobao.com/item.htm?id=669363784178

      1 Reply Last reply Reply Quote Share 0
      • whycan
        whycan晕哥 LV 9 last edited by

        验证体验东山哪吒STU开发板,更详细的配套视频的文档,我们将会在下周同步推出,敬请期待!

        https://riscv64.dongshanpi.com/DongshanNezhaSTU/03-QuickStart/

        https://riscv64.dongshanpi.com/DongshanNezhaSTU/05-Tina-SDKDevelopmentGuide/

        1 Reply Last reply Reply Quote Share 1
        • whycan
          whycan晕哥 LV 9 last edited by whycan

          待编辑 .......

          1 Reply Last reply Reply Quote Share 0
          • whycan
            whycan晕哥 LV 9 last edited by

            微信图片_20220326172740.jpg

            微信图片_20220326172747.jpg

            1 Reply Last reply Reply Quote Share 0
            • whycan
              whycan晕哥 LV 9 last edited by whycan

              待编辑 .......

              1 Reply Last reply Reply Quote Share 0
              • baiwen
                100ask LV 6 last edited by

                @whycan 在 D1 开发板 东山哪吒STU 中说:

                验证体验东山哪吒ST

                晕哥拍照就是帅😍

                1 Reply Last reply Reply Quote Share 0
                • whycan
                  whycan晕哥 LV 9 last edited by

                  【固件发布】D1哪吒HDMI测试固件20210804(开机HDMI就有小企鹅启动logo)
                  https://bbs.aw-ol.com/topic/297/share/3

                  这个demo直接可以运行,无需LCD,只要接HDMI显示器即可。

                  1 Reply Last reply Reply Quote Share 0
                  • whycan
                    whycan晕哥 LV 9 last edited by whycan

                    1b3fac9c-14c2-4d8e-a1b1-7eb79b5f9084-image.png

                    添加 SPI NOR FLASH 支持

                    device/config/chips/d1/configs/hdmionly/linux-5.4/config-5.4 添加配置:

                    CONFIG_MTD_SPI_NOR=y
                    

                    device/config/chips/d1/configs/hdmionly/linux-5.4/board.dts 关于 spi0 的配置:

                    &spi0 {
                            clock-frequency = <100000000>;
                            pinctrl-0 = <&spi0_pins_a &spi0_pins_b>;
                            pinctrl-1 = <&spi0_pins_c>;
                            pinctrl-names = "default", "sleep";
                            /*spi-supply = <&reg_dcdc1>;*/
                            spi_slave_mode = <0>;
                            spi0_cs_number = <1>;
                            spi0_cs_bitmap = <1>;
                            status = "okay";
                    
                            spi-nand@0 {
                                    compatible = "spi-nand";
                                    spi-max-frequency=<0x5F5E100>;
                                    reg = <0x0>;
                                    spi-rx-bus-width=<0x04>;
                                    spi-tx-bus-width=<0x04>;
                                    status="disabled";
                            };
                    
                            spi-nor@0 {
                                    compatible = "jedec,spi-nor";
                                    spi-max-frequency=<30000000>;
                                    reg = <0x0>;
                                    spi-rx-bus-width=<0x01>;
                                    spi-tx-bus-width=<0x01>;
                                    status="okay";
                            };
                    };
                    

                    启动日志:

                    [    1.185294] spi-nor spi0.0: s25fl064k (8192 Kbytes)
                    [    1.193668] libphy: Fixed MDIO Bus: probed
                    [    1.198241] CAN device driver interface
                    
                    1 Reply Last reply Reply Quote Share 0
                    • whycan
                      whycan晕哥 LV 9 last edited by whycan

                      board.dts

                      删除PC3:

                              spi0_pins_a: spi0@0 {
                                      pins = "PC2", "PC4", "PC5","PC7", "PC6"; /*clk mosi miso hold wp*/
                                      function = "spi0";
                                      muxsel = <2>;
                                      drive-strength = <10>;
                              };
                      
                              spi0_pins_b: spi0@1 {
                                      pins = "PC7", "PC6";
                                      function = "spi0";
                                      muxsel = <2>;
                                      drive-strength = <10>;
                                      bias-pull-up;   /* only CS should be pulled up */
                              };
                      
                              spi0_pins_c: spi0@2 {
                                      pins = "PC2", "PC4", "PC5","PC6", "PC7";
                                      function = "gpio_in";
                                      muxsel = <0>;
                                      drive-strength = <10>;
                              };
                      
                      

                      spi0 配置:

                      &spi0 {
                              clock-frequency = <100000000>;
                              pinctrl-0 = <&spi0_pins_a &spi0_pins_b>;
                              pinctrl-1 = <&spi0_pins_c>;
                              pinctrl-names = "default", "sleep";
                              cs-gpios = <&pio PC 3 GPIO_ACTIVE_HIGH>, <&pio PC 0 GPIO_ACTIVE_HIGH>;
                              spi_slave_mode = <0>;
                              status = "okay";
                      
                              spi-nor@0 {
                                      compatible = "jedec,spi-nor";
                                      spi-max-frequency=<30000000>;
                                      reg = <0x0>;//片选0
                                      spi-rx-bus-width=<0x01>;
                                      spi-tx-bus-width=<0x01>;
                                      status="okay";
                              };
                      
                              spi-nor@1 {
                                      compatible = "jedec,spi-nor";
                                      spi-max-frequency=<30000000>;
                                      reg = <0x1>;//片选1
                                      spi-rx-bus-width=<0x01>;
                                      spi-tx-bus-width=<0x01>;
                                      status="okay";
                              };
                      
                      };
                      

                      启动日志:

                      [    1.197328] spi-nor spi0.0: s25fl064k (8192 Kbytes)
                      [    1.205463] spi-nor spi0.1: mx25l12805d (16384 Kbytes)
                      

                      5edbe4b7-0130-4f32-8a24-e8709fec0ddd-064eb440a867c5d2a8b427aca76f292.png

                      微信图片_20220406230118.jpg 微信图片_20220406230126.jpg

                      1 Reply Last reply Reply Quote Share 4
                      • baiwen
                        100ask LV 6 last edited by

                        好多flash哇🤔 焊接技术

                        1 Reply Last reply Reply Quote Share 1
                        • Y
                          yixiuge LV 5 last edited by

                          我和我的小伙伴都惊呆了,居然这么叠罗汉!

                          1 Reply Last reply Reply Quote Share 0
                          • tigger
                            tigger LV 7 last edited by

                            @yixiuge
                            想知道最多可以叠几个?

                            1 Reply Last reply Reply Quote Share 0
                            • Referenced by  whycan whycan 
                            • Referenced by  whycan whycan 
                            • 1 / 1
                            • First post
                              Last post

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

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