Navigation

    全志在线开发者论坛

    • Register
    • Login
    • Search
    • Categories
    • Tags
    • 在线文档
    • 社区主页
    1. Home
    2. whycan
    W
    • Profile
    • Following 0
    • Followers 26
    • my integral 33745
    • Topics 94
    • Posts 1441
    • Best 71
    • Groups 1

    whycan晕哥LV 9

    @whycan

    33745
    integral
    81
    Reputation
    439
    Profile views
    1441
    Posts
    26
    Followers
    0
    Following
    Joined Last Online

    whycan Unfollow Follow
    Global Moderator

    Best posts made by whycan

    • 【开源开发板】D1s-Nezha开发板全全开源上架(内含购买链接和全部软硬件资料)

      2073522e-12e2-47c5-9d24-7616fa85df5e-Nezha-D1s.jpg

      89c9f2ec-3386-4ae4-9222-23f39035f439-Nezha-D1s L.jpg

      规格介绍:

      (1)支持RGB显示接口;
      (2)支持DSI接口;
      (3)支持TP接口;
      (4)支持LINEIN接口,支持HPOUT接口;
      (5)支持TVIN/TVOUT接口;
      (6)集成全志XR829 WiFi/BT芯片,支持a2dp与hfp;
      (7)支持JATG/UART debug;
      (8)支持SD卡;
      (9)支持USB Host/device;

      本开发板将提供:

      (1)硬件资料:原理图、PCB layout、BOM list
      (2)软件资料:适配的Tina Linux SDK(全志官方客户平台可下载)、基于官方SDK修改的适配补丁、测试用的固件
      (3)技术支持:将提供力所能及的基础技术支持,请到【全志在线开发者论坛】提问,会有人回复。不接私人定制、企业定制、一对一私信服务等。

      请认真阅读如下内容后再购买:

      (1)本开发板基于全志D1s芯片设计,主要应用于D1s性能评估、方案预研、开发者DIY等。
      (2)本开发板部分小件如电容电阻等是嘉立创机贴的,部分大件如D1s主控、XR829等为手贴,开发板售出前将烧写固件并进行人肉功能测试,开发板一经售出不退不换。
      (3)本开发板默认购买者是有一定开发能力的个人或企业的开发者,对于调试开发过程中出现的问题有一定的能力解决,小白勿买,不保修。

      因为是手贴,第一批只有15块,预计本周上线预售,预售价399元,劳动节后发货。

      目前已知问题列表:

      1. 不接入屏幕而开启屏幕背光可能会导致背光驱动异常发热

      屏幕背光二极管选型错误,使用屏幕时要接屏,悬空开启背光会导致二极管异常发热,可以通过更换二极管型号解决(SOD123封装,耐压40V以上的,例如SS14,SS24,SS16等)

      2. TVIN,TVOUT软件上暂未实现功能
      3. FM软件上暂未实现功能

      posted in D1系列-RISC-V
      W
      whycan晕哥
    • Reply: 百问网韦老师 D1 开发板 ---- 东山哪吒STU

      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

      posted in D1系列-RISC-V
      W
      whycan晕哥
    • V851s最小系统板(啥资源也没有)安排上了

      bfc81a35-4c84-4e81-950e-250378ef98f3-ef6110bbf9f697cfd0da9214385b346.jpg

      posted in V853系列-AI视觉
      W
      whycan晕哥
    • LVGL|lvgl教程之巧用图层(layer)编写模态对话框 (转载)

      原帖地址: LVGL|lvgl教程之巧用图层(layer)编写模态对话框

      什么是对话框
      模态对话框(Modal Dialogue Box,又叫做模式对话框),是指在用户想要对对话框以外的应用程序进行操作时,必须首先对该对话框进行响应。如单击【确定】或【取消】按钮等将该对话框关闭。一般来说,对话框分为模态对话框和非模态对话框两种。

      二者的区别在于当对话框打开时,是否允许用户进行其他对象的操作。

      对话框的分类
      对话框分类无模式对话框和模式对话框。

      无模式对话框
      这是一种非强制回应的对话框,用于向用户请求非必须资料。即可以不理会这种对话框或不向其提供任何信息而继续进行当前工作,所以窗口均可打开并处于活动状态或是获得焦点(人机交互热点)。一类无模式对话框表现为工具栏,比如设置用于文字颜色的设置。查找/替换对话框可算是无模式对话框,也可以设计为工具栏。1

      模式对话框
      这种对话框强制要求用户回应,否则用户不能再继续进行操作,直到与该对话框完成交互。这种对话框设计用于程序运行必须停下来,直到从用户获得一些额外的信息,然后才可以继续进行的操作,或可能只想确认使用者想要进行一项具有潜在危险性的操作。有模式对话框一般被视为坏的设计方案,因为以一种用户不喜欢看到方式出现,或是被习惯不去注意对话框提示的用户忽略,导致无法避免危险操作。1

      有模式对话框一般分为系统级和应用程序级。系统级对话框出现时,用户在完成与这个对话框交互之前不能进行其它操作,比如关机对话框、Windows Vista 中的 UAC。应用程序级的则只对它的母程序有所限制,但可能在允许运行多个实际的不同软件中有不同的表现:只限定其中的一个程序窗口使之无法操作或全部限定。1

      lvgl上的解决方案
      两种对话框模式简单而言就是:

      无模式对话框:停留在屏幕上,随时可用,并且允许进行其他操作
      模式对话框:要求用户在继续程序之前做出响应
      在lvgl上怎么实现这种效果呢?
      非模式对话框很简单,直接让窗口弹出即可,用户可操作弹出的对话框也可以继续其他操作。
      lvgl上有两个特殊的图层,通过这两个图层我们可以实现模式对话框的效果。

      posted in GUI
      W
      whycan晕哥
    • 天下苦8723DS久矣,给兄弟们搞了点全志XR829的芯片

      天下苦8723DS久矣,到处都搞不到芯片,而且还贵。据了解是几个做IoT的大客户包圆了。
      全志其实有替代品,XR829,也是支持2.4G wifi/BT,而且原厂SDK是配好驱动,跟全志芯片的适配度高,D1哪吒开发板、R329开发板用的就是XR829.
      不过XR829 3000一捆,很多代理商不愿意拆包,找了好久终于找到一家愿意拆包的,买了100片,拆出来给大家玩,回头放淘宝链接,9.9交个朋友。
      *真的交个朋友,主要是方便用全志芯片的小伙伴做开发板用,量产的话可以找我帮联系拆包的好心代理商。

      淘宝链接:https://item.taobao.com/item.htm?id=670266183503

      posted in 其它全志芯片讨论区
      W
      whycan晕哥
    • Reply: 【RISC-V & LVGL】现象级爆红的开源显示框架——LVGL究竟蕴藏怎样的魔力

      作者已经把 X-Track码表程序移植到 D1s,很快就可以看到 RISC-V 版本了。

      posted in D1系列-RISC-V
      W
      whycan晕哥
    • Reply: V536H打包出错

      @jinxiangwzh
      你是用nor flash吗?

      那就是 sys_partition_nor.fex

      posted in 编译和烧写问题专区
      W
      whycan晕哥
    • Reply: F1C200s无线网卡问题源码编译?

      @kashine
      这个只是不同公司或组织出品的gcc toolchain的前缀而已,不用太在意.

      posted in Linux
      W
      whycan晕哥
    • Reply: V536开发板,AP6255模块起不来,帮看看什么问题

      @shzeng
      是的,你先量一下看是否低电平,如果本身已经3v3了,就可能不是这里问题了。

      posted in 其它全志芯片讨论区
      W
      whycan晕哥
    • Reply: 请问D1哪吒开发板能点亮诺基亚mipi dsi 1-lane 显示屏吗?

      8e07632bbdc5349dd5682cb6513cc8a.jpg

      9aa58abff2cf87f3d0e5d8fc6b87e95.jpg

      @lovexulu 太牛了,成功点亮!

      posted in D1系列-RISC-V
      W
      whycan晕哥

    Latest posts made by whycan

    • Reply: Tina编译出现md5sum错误

      @dcxq13
      本网页按ctrl + f 搜索

      posted in D1系列-RISC-V
      W
      whycan晕哥
    • Reply: 为什么D1的buildroot编译出来内存只有400多M

      @linstcl 在 为什么D1的buildroot编译出来内存只有400多M 中说:

      [155]DRAM SIZE =1024 M

      boot0 识别正确

      U-Boot 2021.10 (Feb 02 2023 - 04:26:07 +0800)
      DRAM: 1 GiB

      uboot识别正确

      [ 0.000000] Memory: 497720K/522240K available (5678K kernel code, 4861K rwdata, 2048K rodata, 2092K init, 266K bss, 24520K reserved, 0K cma-reserved)

      Linux识别不对

      楼主你自己找一下原因, mainline linux 我没有用过.

      posted in D1系列-RISC-V
      W
      whycan晕哥
    • Reply: 为什么D1的buildroot编译出来内存只有400多M

      请贴出详细日志信息

      posted in D1系列-RISC-V
      W
      whycan晕哥
    • Reply: 请问一下,f133怎么配置IO口内部上拉?

      User Manual pdf 上面有精确到每个IO的上拉配置寄存器。

      posted in D1系列-RISC-V
      W
      whycan晕哥
    • Reply: v3s芯片,启动时有这样提示是什么原因

      @chinajav
      板子电源有问题, 把CPU和DDR频率都降下来:这次做了5片全志Allwinner V3s板子,手贴一片正常,机贴4片均不正常,路过的大神帮我分析分析。

      posted in 编译和烧写问题专区
      W
      whycan晕哥
    • Reply: v3s芯片,启动时有这样提示是什么原因

      @chinajav
      可能串口终端乱入数据了

      posted in 编译和烧写问题专区
      W
      whycan晕哥
    • Reply: 有没有接口可以让板子进入FEL

      @jinxiangwzh

      ① 一直按 2
      ② 一直按s,进入uboot命令行之后输入efex命令

      posted in 代码下载问题专区
      W
      whycan晕哥
    • Reply: 【小白求助】D1开发板 XR829蓝牙 Can't get device info: No such device

      @winyunq

      先参考这个文档: Tina_Linux_蓝牙_开发指南.pdf

      posted in D1系列-RISC-V
      W
      whycan晕哥
    • Reply: D1 SD卡启动失败,概率100%

      @yixintai 在 D1 SD卡启动失败,概率100% 中说:

      @whycan tina_d1-h-nezha_min_uart0-ddr480.img

      5a7cea9d-f5a5-4256-ae55-b0543224ed2b-image.png

      [87]HELLO! BOOT0 is starting!
      [90]BOOT0 commit : 88480af
      [92]set pll start
      [94]fix vccio detect value:0xc0
      [97]periph0 has been enabled
      [100]set pll end
      [101][pmu]: bus read error
      [104]board init ok
      [106]get_pmu_exist() = -1
      [108]ddr_efuse_type: 0x0
      [111]trefi:7.8ms
      [113][AUTO DEBUG] two rank and full DQ!
      [117]ddr_efuse_type: 0x0
      [119]trefi:7.8ms
      [122][AUTO DEBUG] rank 0 row = 15
      [125][AUTO DEBUG] rank 0 bank = 8
      [128][AUTO DEBUG] rank 0 page size = 2 KB
      [132][AUTO DEBUG] rank 1 row = 15
      [135][AUTO DEBUG] rank 1 bank = 8
      [138][AUTO DEBUG] rank 1 page size = 2 KB
      [142]rank1 config same as rank0
      [145]DRAM BOOT DRIVE INFO: V0.33
      [148]DRAM CLK = 480 MHz
      [150]DRAM Type = 3 (2:DDR2,3:DDR3)
      [153]DRAMC ZQ value: 0x7b7bfb
      [156]DRAM ODT value: 0x42.
      [159]ddr_efuse_type: 0x0
      [162]DRAM SIZE =1024 M
      [164]dram_tpr4:0x0
      [166]PLL_DDR_CTRL_REG:0xf8002700
      [169]DRAM_CLK_REG:0xc0000000
      [171][TIMING DEBUG] MR2= 0x18
      [176]DRAM simple test OK.
      [179]dram size =1024
      [181]card no is 0
      [182]sdcard 0 line count 4
      [185][mmc]: mmc driver ver 2021-04-2 16:45
      [194][mmc]: Wrong media type 0x0
      [197][mmc]: ***Try SD card 0***
      [210][mmc]: HSSDR52/SDR25 4 bit
      [212][mmc]: 50000000 Hz
      [215][mmc]: 1876 MB
      [217][mmc]: ***SD/MMC 0 init OK!!!***
      [276]Loading boot-pkg Succeed(index=0).
      [279]Entry_name        = opensbi
      [282]Entry_name        = u-boot
      [286]Entry_name        = dtb
      [289]mmc not para
      [290]Jump to second Boot.
      
      OpenSBI auto-t113-linux-V0.8-3-ge39e937
         ____                    _____ ____ _____
        / __ \                  / ____|  _ \_   _|
       | |  | |_ __   ___ _ __ | (___ | |_) || |
       | |  | | '_ \ / _ \ '_ \ \___ \|  _ < | |
       | |__| | |_) |  __/ | | |____) | |_) || |_
        \____/| .__/ \___|_| |_|_____/|____/_____|
              | |
              |_|
      
      Platform Name          : T-HEAD Xuantie Platform
      Platform HART Features : RV64ACDFIMSUVX
      Platform Max HARTs     : 1
      Current Hart           : 0
      Firmware Base          : 0x41fc0400
      Firmware Size          : 75 KB
      Runtime SBI Version    : 0.2
      
      MIDELEG : 0x0000000000000222
      MEDELEG : 0x000000000000b1ff
      PMP0    : 0x0000000041fc0000-0x0000000041fdffff (A)
      PMP1    : 0x0000000040000000-0x000000007fffffff (A,R,W,X)
      PMP2    : 0x0000000080000000-0x00000000bfffffff (A,R,W,X)
      PMP3    : 0x0000000000020000-0x0000000000027fff (A,▒[00.371][mmc]: mmc driver ver uboot2018:2021-12-20 13:35:00
      [00.377][mmc]: get sdc_type fail and use default host:tm1.
      [00.383][mmc]: can't find node "mmc0",will add new node
      [00.388][mmc]: fdt err returned <no error>
      [00.392][mmc]: Using default timing para
      [00.395][mmc]: SUNXI SDMMC Controller Version:0x50310
      [00.416][mmc]: card_caps:0x3000000a
      [00.419][mmc]: host_caps:0x3000003f
      [00.464]set disp.dev2_output_type fail. using defval=0
      [00.491]set disp.fb0_rot_used fail. using defval=0
      [00.495]set disp.fb0_rot_degree fail. using defval=0
      [00.685]out of usb burn from boot: not need burn key
      [00.695]Item0 (Map) magic is bad
      [00.698]the secure storage item0 copy0 magic is bad
      [00.708]Item0 (Map) magic is bad
      [00.711]the secure storage item0 copy1 magic is bad
      [00.716]Item0 (Map) magic is bad
      [01.563]The storage not support sample function
      [01.620]dts_get_dsp_memory: no /reserved-memory/dsp0 in fdt
      [01.625]dts_get_dsp_memory fail
      [01.830]no vendor_boot partition is found
      [02.043]
      Starting kernel ...
      
      [02.046][mmc]: MMC Device 2 not found
      [02.049][mmc]: mmc 2 not find, so not exit
      [    0.212672] sunxi-rfkill soc@3000000:rfkill@0: get gpio chip_en failed
      [    0.220084] sunxi-rfkill soc@3000000:rfkill@0: get gpio power_en failed
      [    0.301259] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !!
      [    0.309005] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !!
      [    0.321264] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !!
      [    0.328932] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !!
      [    0.336517] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !!
      [    0.344171] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !!
      formating /dev/by-name/UDISK to ext4
      /etc/preinit: line 1: mkfs.ext4: not found
      [    7.286489] block: extroot: cannot find device UDISK
      Please press Enter to activate this console.
      [    9.408310] configfs-gadget 4100000.udc-controller: failed to start g1: -19
      [   12.891002] ======== XRADIO WIFI OPEN ========
      [   12.897389] [XRADIO] Driver Label:XR_V02.16.85_P2P_HT40_01.31
      [   12.904585] [XRADIO] Allocated hw_priv @ (____ptrval____)
      [   13.246950] [XRADIO] Detect SDIO card 1
      [   13.283677] [SBUS] XRadio Device:sdio clk=50000000
      [   13.291391] [XRADIO] XRADIO_HW_REV 1.0 detected.
      [   13.397745] [XRADIO] xradio_update_dpllctrl: DPLL_CTRL Sync=0x00c00000.
      [   13.483530] [XRADIO] Bootloader complete
      [   13.676308] [XRADIO] Firmware completed.
      [   13.682888] [WSM] Firmware Label:XR_C09.08.52.73_DBG_02.122 2GHZ HT40 May 18 2021 13:36:09
      [   13.700485] [XRADIO] Firmware Startup Done.
      [   13.705712] [XRADIO_WRN] enable Multi-Rx!
      kmodloader done
      [   14.564957] ieee80211_do_open: vif_type=2, p2p=0, ch=3, addr=8c:3b:fb:a2:39:ce
      [   14.600626] [STA] !!!xradio_vif_setup: id=0, type=2, p2p=0, addr=8c:3b:fb:a2:39:ce
      [   14.621872] [AP_WRN] BSS_CHANGED_ASSOC but driver is unjoined.
      
      
      
      BusyBox v1.27.2 () built-in shell (ash)
      
       _____  _              __     _
      |_   _||_| ___  _ _   |  |   |_| ___  _ _  _ _
        | |   _ |   ||   |  |  |__ | ||   || | ||_'_|
        | |  | || | || _ |  |_____||_||_|_||___||_,_|
        |_|  |_||_|_||_|_|  Tina is Based on OpenWrt!
       ----------------------------------------------
       Tina Linux (Neptune, 61CC0487)
       ----------------------------------------------
      root@TinaLinux:/#
      root@TinaLinux:/#
      

      我这里一切正常.

      posted in D1系列-RISC-V
      W
      whycan晕哥
    • Reply: A64求助大佬帮看看日志,进不去,

      @abedong 在 A64求助大佬帮看看日志,进不去, 中说:

      try card 2
      [mmc]: mmc driver ver 2015-12-07 18:31:00
      [mmc]: get sdc_ex_dly_used 2, use auto tuning sdly
      [mmc]: current is product mode, it will tune sdly later
      SUNXI SD/MMC: 2
      [mmc]: start mmc_calibrate_delay_unit, don't access device...
      [mmc]: delay chain cal done, sample: 200(ps)
      [mmc]: delay chain cal done, ds: 200(ps)
      [mmc]: Try SD card 2
      [mmc]: mmc send if cond failed
      [mmc]: send app cmd failed
      [mmc]: Try MMC card 2
      [mmc]: host caps: 0x6f
      [mmc]: MID 000015 PSN 84708f1d
      [mmc]: PNM 8GME4R -- 0x38-47-4d-45-34
      [mmc]: PRV 0.1
      [mmc]: MDT m-1 y-2018
      [mmc]: MMC v5.1
      [mmc]: speed mode : HSSDR52/SDR25
      [mmc]: clock : 50000000 Hz
      [mmc]: bus_width : 8 bit
      [mmc]: user capacity : 7456 MB
      [mmc]: boot capacity : 4096 KB
      [mmc]: rpmb capacity : 512 KB
      [mmc]: SD/MMC 2 init OK!!!
      [mmc]: EOL Info(Rev blks): Urgent!!
      [mmc]: Wear out(type A): Exceeded its max estimated life time
      [mmc]: Wear out(type B): Exceeded its max estimated life time
      [mmc]: gen_tuning_blk_bus8: total blk 10
      [mmc]: gen_tuning_blk_bus4: total blk 6
      [mmc]: write_tuning_try_freq: write ok
      [mmc]: Pattern compare ok
      [mmc]: Write tuning pattern ok
      [mmc]: ================== start tuning HSSDR52_SDR25...
      [mmc]: already at HSSDR52_SDR25 mode
      [mmc]: skip current freq 400000
      [mmc]: skip current freq 25000000
      [mmc]: start tuning freq: 2-50000000
      [mmc]: s0-255 e0-0 s1-0 e1-0
      [mmc]: s0-255 e0-0 s1-0 e1-0
      [mmc]: s0-0 e0-4 s1-255 e1-0
      [mmc]: ================== start tuning HSDDR52_DDR50...
      [mmc]: already at HSSDR52_SDR25 mode
      [mmc]: mmc switch failed
      [mmc]: mmc swtich status error
      [mmc]: mmc switch bus width failed
      [mmc]: switch bus width fail
      [mmc]: switch to HSDDR52/DDR50 fail
      [mmc]: tuning fail at HSDDR52_DDR50
      [mmc]: already at HSSDR52_SDR25 mode
      [mmc]: mmc switch failed
      [mmc]: mmc swtich status error
      [mmc]: mmc switch bus width failed
      [mmc]: switch bus width fail
      [mmc]: switch back to HSSDR52_SDR25 8bit fail
      [mmc]: bus tuning fail, err -6
      [mmc]: mmc_init: mmc init fail, err -6

      检查eMMC

      posted in 其它全志芯片讨论区
      W
      whycan晕哥