百问网韦老师 D1 开发板 ---- 东山哪吒STU
-
-
验证体验东山哪吒STU开发板,更详细的配套视频的文档,我们将会在下周同步推出,敬请期待!
https://riscv64.dongshanpi.com/DongshanNezhaSTU/03-QuickStart/
https://riscv64.dongshanpi.com/DongshanNezhaSTU/05-Tina-SDKDevelopmentGuide/
-
待编辑 .......
-
-
待编辑 .......
-
-
【固件发布】D1哪吒HDMI测试固件20210804(开机HDMI就有小企鹅启动logo)
https://bbs.aw-ol.com/topic/297/share/3这个demo直接可以运行,无需LCD,只要接HDMI显示器即可。
-
添加 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 = <®_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
-
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)
-
好多flash哇 焊接技术
-
我和我的小伙伴都惊呆了,居然这么叠罗汉!
-
@yixiuge
想知道最多可以叠几个? -
-
Copyright © 2024 深圳全志在线有限公司 粤ICP备2021084185号 粤公网安备44030502007680号