Navigation

    全志在线开发者论坛

    • Register
    • Login
    • Search
    • Categories
    • Tags
    • 在线文档
    • 社区主页
    1. Home
    2. ubuntu
    U
    • Profile
    • Following 0
    • Followers 1
    • my integral 3553
    • Topics 26
    • Posts 104
    • Best 2
    • Groups 0

    ubuntuLV 6

    @ubuntu

    3553
    integral
    2
    Reputation
    20
    Profile views
    104
    Posts
    1
    Followers
    0
    Following
    Joined Last Online

    ubuntu Unfollow Follow

    Best posts made by ubuntu

    • Reply: 小白,想在哪吒板子上实现串口通信,该怎么实现。

      参考:

      https://zhou-yuxin.github.io/articles/2017/Linux串口网卡(二)——用户态转发程序的实现/index.html

      posted in D1系列-RISC-V
      U
      ubuntu
    • Reply: D1哪吒开发板wifi连接出错,这是什么情况?

      看了一下源码,还真是要写 /etc/ 目录下面的文件:

      ubuntu:/opt/D1/tina_d1_open$ grep /etc -r  package/allwinner/wifimanager/ --include *.c
      package/allwinner/wifimanager/demo/wifi_longtime_test.c:	wmg_printf(MSG_INFO,"DESCRIPTION:\n\tTest the stability of wifi module(see the test result in file:/etc/test_result).\n");
      package/allwinner/wifimanager/demo/wifi_longtime_test.c: *see the test result in file:/etc/test_result
      package/allwinner/wifimanager/demo/wifi_longtime_test.c:	wmg_debug_open_file("/etc/wifi_long_time_test.log");
      package/allwinner/wifimanager/demo/wifi_longtime_test.c:    sprintf(prt_buf,"echo \"Test Times:%d, Success Times:%d(including get IP timeout times:%d), Failed Times:%d\" > /etc/test_results",i,success_times,timeout_times,fail_times);
      package/allwinner/wifimanager/demo/wifi_longtime_test.c:    sprintf(prt_buf,"echo \"Connecting mean time: %llu.%-llu seconds\" >> /etc/test_results",(total_con_microsec/1000000)/i,(total_con_microsec/i)%1000000);
      package/allwinner/wifimanager/demo/wifi_longtime_test.c:    wmg_printf(MSG_INFO,prt_buf,"echo \"Disconnecting mean time: %llu.%-llu seconds\" >> /etc/test_results",(total_disc_microsec/1000000)/i,(total_disc_microsec/i)%1000000);
      package/allwinner/wifimanager/demo/wifi_longtime_test.c:        sprintf(prt_buf,"echo Congratulations! >> /etc/test_results");
      package/allwinner/wifimanager/src/core/wifi_udhcpc.c:    system("/etc/wifi/udhcpc_wlan0 start >/dev/null");
      package/allwinner/wifimanager/src/core/wifimanager.c:    system("/etc/wifi/udhcpc_wlan0 stop >/dev/null");
      package/allwinner/wifimanager/src/core/wifi.c:static const char IFACE_DIR[]           = "/etc/wifi/sockets";
      package/allwinner/wifimanager/src/core/wifi.c:static const char SUPP_CONFIG_TEMPLATE[]= "/etc/wifi/wpa_supplicant_src.conf";
      package/allwinner/wifimanager/src/core/wifi.c:static const char SUPP_CONFIG_FILE[]    = "/etc/wifi/wpa_supplicant.conf";
      package/allwinner/wifimanager/src/core/wifi.c:static const char CONTROL_IFACE_PATH[]  = "/etc/wifi/sockets";
      package/allwinner/wifimanager/src/core/wifi.c:    strncpy(cmd, "/etc/wifi/wifi start", 511);
      package/allwinner/wifimanager/src/core/wifi.c:	  system("/etc/wifi/wifi stop");
      package/allwinner/wifimanager/src/daemon/wifid_cmd_handle.c:		system("/etc/init.d/wifi_daemon start");
      package/allwinner/wifimanager/src/daemon/wifid_cmd_handle.c:	system("/etc/init.d/wifi_daemon stop");
      ubuntu:/opt/D1/tina_d1_open$
      ubuntu:/opt/D1/tina_d1_open$
      
      posted in D1系列-RISC-V
      U
      ubuntu

    Latest posts made by ubuntu

    • 自己做的F1C200s板子开机几分钟就挂了,但是widora的板子正常
      [    1.718500] rtc-pcf8563 0-0051: pcf8563_get_datetime: read error
      [    1.725176] rtc-pcf8563 0-0051: hctosys: unable to read the hardware clock
      [    1.733009] ALSA device list:
      [    1.736312]   #0: audiocodec
      [    1.759126] VFS: Mounted root (squashfs filesystem) readonly on device 31:4.
      [    1.768751] devtmpfs: mounted
      [    1.772915] Freeing unused kernel memory: 100K (c0352000 - c036b000)
      mount: mounting none on /dev failed: Resource busy
      mount: mounting proc on /proc failed: Resource busy
      Starting syslogd: OK
      Starting klogd: OK
      Running sysctl: OK
      Initializing random number generator: OK
      Saving random seed: OK
      Starting network: ip: socket: Function not implemented
      ip: socket: Function not implemented
      FAIL
      [    4.437408]
      [    4.437408] insmod_device_driver
      [    4.437408]
      [    4.444575] device_chose finished 77!
      
      Welcome to Buildroot
      buildroot login: [    6.717556] Unable to handle kernel NULL pointer dereference at virtual address 0000002c
      [    6.726555] pgd = c0004000
      [    6.729557] [0000002c] *pgd=00000000
      [    6.733535] Internal error: Oops: 17 [#1] ARM
      [    6.738363] Modules linked in:
      [    6.741766] CPU: 0 PID: 14 Comm: kworker/u2:1 Not tainted 3.10.65 #16
      [    6.748946] Workqueue: spi0 sunxi_spi_work
      [    6.753497] task: c1874580 ti: c188e000 task.ti: c188e000
      [    6.759514] PC is at add_interrupt_randomness+0x7c/0x190
      [    6.765414] LR is at add_interrupt_randomness+0x34/0x190
      [    6.771312] pc : [<c0192bd4>]    lr : [<c0192b8c>]    psr: a0000093
      [    6.771312] sp : c188fce0  ip : c188fce7  fp : c188fd1c
      [    6.784038] r10: 00000000  r9 : c188fce0  r8 : 0000006c
      [    6.789833] r7 : ffff8d70  r6 : 00000020  r5 : 00000000  r4 : c08c8ca8
      [    6.797070] r3 : 00000000  r2 : c027de78  r1 : 00000007  r0 : fffffffa
      [    6.804310] Flags: NzCv  IRQs off  FIQs on  Mode SVC_32  ISA ARM  Segment kernel
      [    6.812512] Control: 0005317f  Table: 81a90000  DAC: 00000017
      [    6.818882]
      [    6.818882] PC: 0xc0192b54:
      [    6.823616] 2b54  c043fcd0 e1a0c00d e92ddff0 e24cb004 e24dd014 e59f3160 e24b903c e59f415c
      [    6.832730] 2b74  e1a08000 e1a00009 e593a000 e1a06001 e5947000 ebfe228d e3500000 13a05000
      [    6.841840] 2b94  051b503c e5943000 e35a0000 e0233005 e50b303c e50b8038 159a303c e59f2120
      [    6.850950] 2bb4  150b3034 13a03000 150b3030 e1d232b8 e5d2c02a e0490003 e59f9108 e2838010
      [    6.860059] 2bd4  e1530008 1a000022 e59f40f4 e1a03803 e1a03823 e1c432b8 e1a03b03 e1a03b23
      [    6.869168] 2bf4  e3530000 e5c4c02a 0a000003 e5943024 e0433007 e3730064 5a000013 e59f00c8
      [    6.878277] 2c14  e5847024 e5d0306c e3a02010 e3130001 12807010 02807048 e3a03000 e59f10ac
      [    6.887386] 2c34  e1a00007 ebfffb3d e3550000 1a00001e e3160c02 0a00001b e5d4302b e3530000
      [    6.896496]
      [    6.896496] LR: 0xc0192b0c:
      [    6.901231] 2b0c  e3500000 b89da8f0 e3560000 0affffdc e1a01006 e59f002c ebfffcce eaffffd8
      [    6.910343] 2b2c  e3a00015 ebfa4d66 e3500000 0affffc5 ebfffd7f eaffffd2 40045201 00005204
      [    6.919449] 2b4c  40085203 c043fcc0 c043fcd0 e1a0c00d e92ddff0 e24cb004 e24dd014 e59f3160
      [    6.928558] 2b6c  e24b903c e59f415c e1a08000 e1a00009 e593a000 e1a06001 e5947000 ebfe228d
      [    6.937669] 2b8c  e3500000 13a05000 051b503c e5943000 e35a0000 e0233005 e50b303c e50b8038
      [    6.946780] 2bac  159a303c e59f2120 150b3034 13a03000 150b3030 e1d232b8 e5d2c02a e0490003
      [    6.955890] 2bcc  e59f9108 e2838010 e1530008 1a000022 e59f40f4 e1a03803 e1a03823 e1c432b8
      [    6.965000] 2bec  e1a03b03 e1a03b23 e3530000 e5c4c02a 0a000003 e5943024 e0433007 e3730064
      [    6.974111]
      [    6.974111] SP: 0xc188fc60:
      [    6.978844] fc60  c003f1fc c0041a4c c1874580 80000093 c188fc94 c188fc80 c0192bd4 a0000093
      [    6.987951] fc80  ffffffff c188fccc c188fd1c c188fc98 c000f4b8 c000a1a0 fffffffa 00000007
      [    6.997060] fca0  c027de78 00000000 c08c8ca8 00000000 00000020 ffff8d70 0000006c c188fce0
      [    7.006165] fcc0  00000000 c188fd1c c188fce7 c188fce0 c0192b8c c0192bd4 a0000093 ffffffff
      [    7.015275] fce0  ffff8d70 0000006c c188fd1c 00000000 c01c3428 00000000 c037ceb8 0000006c
      [    7.024380] fd00  00000001 00000020 00000001 c044a7f5 c188fd54 c188fd20 c005f1c0 c0192b68
      [    7.033486] fd20  00000000 00000093 40000093 c037ceb8 0000006c 00000000 c188fe0c 00000000
      [    7.042594] fd40  00000000 f1c05010 c188fd6c c188fd58 c005f2a4 c005f0e0 c037ceb8 0000006c
      [    7.051706]
      [    7.051706] IP: 0xc188fc67:
      [    7.056441] fc64  c0041a4c c1874580 80000093 c188fc94 c188fc80 c0192bd4 a0000093 ffffffff
      [    7.065549] fc84  c188fccc c188fd1c c188fc98 c000f4b8 c000a1a0 fffffffa 00000007 c027de78
      [    7.074659] fca4  00000000 c08c8ca8 00000000 00000020 ffff8d70 0000006c c188fce0 00000000
      [    7.083767] fcc4  c188fd1c c188fce7 c188fce0 c0192b8c c0192bd4 a0000093 ffffffff ffff8d70
      [    7.092876] fce4  0000006c c188fd1c 00000000 c01c3428 00000000 c037ceb8 0000006c 00000001
      [    7.101983] fd04  00000020 00000001 c044a7f5 c188fd54 c188fd20 c005f1c0 c0192b68 00000000
      [    7.111091] fd24  00000093 40000093 c037ceb8 0000006c 00000000 c188fe0c 00000000 00000000
      [    7.120197] fd44  f1c05010 c188fd6c c188fd58 c005f2a4 c005f0e0 c037ceb8 0000006c c188fd84
      [    7.129304] fd64  c188fd70 c006186c c005f284 0000006c 0000006c c188fd9c c188fd88 c005eb48
      [    7.138413]
      [    7.138413] FP: 0xc188fc9c:
      [    7.143146] fc9c  00000007 c027de78 00000000 c08c8ca8 00000000 00000020 ffff8d70 0000006c
      [    7.152254] fcbc  c188fce0 00000000 c188fd1c c188fce7 c188fce0 c0192b8c c0192bd4 a0000093
      [    7.161360] fcdc  ffffffff ffff8d70 0000006c c188fd1c 00000000 c01c3428 00000000 c037ceb8
      [    7.170468] fcfc  0000006c 00000001 00000020 00000001 c044a7f5 c188fd54 c188fd20 c005f1c0
      [    7.179577] fd1c  c0192b68 00000000 00000093 40000093 c037ceb8 0000006c 00000000 c188fe0c
      [    7.188679] fd3c  00000000 00000000 f1c05010 c188fd6c c188fd58 c005f2a4 c005f0e0 c037ceb8
      [    7.197788] fd5c  0000006c c188fd84 c188fd70 c006186c c005f284 0000006c 0000006c c188fd9c
      [    7.206897] fd7c  c188fd88 c005eb48 c00617a8 c0383adc 0000006c c188fdbc c188fda0 c00107d8
      [    7.216008]
      [    7.216008] R2: 0xc027ddf8:
      [    7.220742] ddf8  9a000009 e7d17004 e7c15004 e51b105c e1a00006 e0811003 ebfff880 e51b305c
      [    7.229851] de18  e7c37004 e1a03004 eaffffeb e7c15002 e51b105c e1a00006 e0811003 ebfff877
      [    7.238958] de38  eafffff7 c0463280 0000ffff c03194d7 e1a0c00d e92dd800 e24cb004 e59f3010
      [    7.248068] de58  e5933038 e3530000 089da800 eb000528 e89da800 c044af78 e1a0c00d e92ddbf0
      [    7.257177] de78  e24cb004 e24dd020 e3700106 e1a04000 1a000003 eb0004a4 e1c40fc4 e24bd024
      [    7.266288] de98  e89dabf0 e1a0300d e3500000 e3c37d7f e3c7703f aa000007 e1a01000 e59f00d4
      [    7.275398] deb8  ebfff856 ebfffe50 e3a02000 e597300c e5832000 eaffffef e59f60bc e3a09000
      [    7.284509] ded8  e5963000 e24b1044 e0804003 e59f30ac e24b0034 e5935000 e3e03000 e50b3028
      [    7.293621]
      [    7.293621] R4: 0xc08c8c28:
      [    7.298354] 8c28  ba959f9d 9b859ead beb5fad5 9ad7fed4 b9d6cbcd 9b97ce91 9a95db9d dab59a98
      [    7.307462] 8c48  9e959f9d 1ab5be9d d2d7be96 9a959ed7 db95b997 dabd9b95 bed71b95 bad5fac1
      [    7.316573] 8c68  bf9f9a9f 1e955f95 9b9dda9d bbf99e95 22f59abf 9ae5fb8f 9c959ad5 fa959afd
      [    7.325685] 8c88  ca958eb7 9ebd9397 dad5bae3 b4959f97 9a95bb9f bed19a95 9ca79a95 fa95d8d5
      [    7.334796] 8ca8  9ad59ad7 9a8dd2b5 be95dd35 9a91bad5 9b959fd7 1663a4dd dad4fa94 9a95bad5
      [    7.343905] 8cc8  bf959e95 8eb59ac5 bad59395 9a959f95 dae7ded7 ca9d9bf7 ba97ba95 bad5deb5
      [    7.353013] 8ce8  bfa99a97 dbbd9fdd 9ad5aa17 9a95fa95 9e979eb5 9ad518b5 9aa59aff 9eb5dbd5
      [    7.362124] 8d08  9b958a94 ab9dba97 9b9d99d5 9a87fa95 8f9db8e7 bf919295 da357c9f b395fa95
      [    7.371235]
      [    7.371235] R7: 0xffff8cf0:
      [    7.375967] 8cf0  ******** ******** ******** ******** ******** ******** ******** ********
      [    7.385083] 8d10  ******** ******** ******** ******** ******** ******** ******** ********
      [    7.394188] 8d30  ******** ******** ******** ******** ******** ******** ******** ********
      [    7.403292] 8d50  ******** ******** ******** ******** ******** ******** ******** ********
      [    7.412397] 8d70  ******** ******** ******** ******** ******** ******** ******** ********
      [    7.421502] 8d90  ******** ******** ******** ******** ******** ******** ******** ********
      [    7.430605] 8db0  ******** ******** ******** ******** ******** ******** ******** ********
      [    7.439709] 8dd0  ******** ******** ******** ******** ******** ******** ******** ********
      [    7.448815]
      [    7.448815] R9: 0xc188fc60:
      [    7.453548] fc60  c003f1fc c0041a4c c1874580 80000093 c188fc94 c188fc80 c0192bd4 a0000093
      [    7.462655] fc80  ffffffff c188fccc c188fd1c c188fc98 c000f4b8 c000a1a0 fffffffa 00000007
      [    7.471764] fca0  c027de78 00000000 c08c8ca8 00000000 00000020 ffff8d70 0000006c c188fce0
      [    7.480871] fcc0  00000000 c188fd1c c188fce7 c188fce0 c0192b8c c0192bd4 a0000093 ffffffff
      [    7.489979] fce0  ffff8d70 0000006c c188fd1c 00000000 c01c3428 00000000 c037ceb8 0000006c
      [    7.499084] fd00  00000001 00000020 00000001 c044a7f5 c188fd54 c188fd20 c005f1c0 c0192b68
      [    7.508193] fd20  00000000 00000093 40000093 c037ceb8 0000006c 00000000 c188fe0c 00000000
      [    7.517301] fd40  00000000 f1c05010 c188fd6c c188fd58 c005f2a4 c005f0e0 c037ceb8 0000006c
      [    7.526416] Process kworker/u2:1 (pid: 14, stack limit = 0xc188e1b8)
      [    7.533461] Stack: (0xc188fce0 to 0xc1890000)
      [    7.538309] fce0: ffff8d70 0000006c c188fd1c 00000000 c01c3428 00000000 c037ceb8 0000006c
      [    7.547390] fd00: 00000001 00000020 00000001 c044a7f5 c188fd54 c188fd20 c005f1c0 c0192b68
      [    7.556472] fd20: 00000000 00000093 40000093 c037ceb8 0000006c 00000000 c188fe0c 00000000
      [    7.565554] fd40: 00000000 f1c05010 c188fd6c c188fd58 c005f2a4 c005f0e0 c037ceb8 0000006c
      [    7.574635] fd60: c188fd84 c188fd70 c006186c c005f284 0000006c 0000006c c188fd9c c188fd88
      [    7.583718] fd80: c005eb48 c00617a8 c0383adc 0000006c c188fdbc c188fda0 c00107d8 c005eb30
      [    7.592800] fda0: c0455820 c188fdd8 ffffffff c188fe0c c188fdd4 c188fdc0 c000a314 c0010778
      [    7.601883] fdc0: c027de78 60000013 c188fe84 c188fdd8 c000f520 c000a2e8 7fffffff c180a6fc
      [    7.610966] fde0: c188fe58 60000013 7fffffff c180a6f8 c188e000 00000002 00000000 00000000
      [    7.620049] fe00: f1c05010 c188fe84 c188fe48 c188fe20 c027f430 c027de78 60000013 ffffffff
      [    7.629130] fe20: 7fffffff c180a6f8 c188e000 00000002 00000000 00000000 c188fe84 c188fe48
      [    7.638212] fe40: c027f430 c027de80 f1c05000 00000001 c1874580 c003f3c8 c180a6fc c180a6fc
      [    7.647295] fe60: f1c05000 c180a168 c1a83c28 f1c05018 c1a83c1c 00000000 c188fe94 c188fe88
      [    7.656377] fe80: c027f4d4 c027f360 c188feec c188fe98 c01c4418 c027f4cc f1c05000 c00416f0
      [    7.665459] fea0: c1956df8 c180a6f0 00000000 c180a6e0 00000001 c1916000 c18567c1 00000000
      [    7.674540] fec0: c188e000 c188c180 c180a6e0 c1830000 00000000 c190c900 c188e000 00000000
      [    7.683621] fee0: c188ff2c c188fef0 c0031c70 c01c3f74 00000000 c188c180 c1830000 c188e000
      [    7.692703] ff00: c1830000 c188c180 c1830000 c188e000 c188c198 c1830010 c1830000 00000000
      [    7.701786] ff20: c188ff64 c188ff30 c0032b14 c0031a98 00000000 c188c180 c0032948 c184de7c
      [    7.710868] ff40: 00000000 c188c180 c0032948 00000000 00000000 00000000 c188ffac c188ff68
      [    7.719950] ff60: c0037ca8 c0032958 9a979b9d 00000000 5a9dba97 c188c180 00000000 c188ff7c
      [    7.729030] ff80: c188ff7c 00000000 c188ff88 c188ff88 c184de7c c0037c00 00000000 00000000
      [    7.738110] ffa0: 00000000 c188ffb0 c000f930 c0037c10 00000000 00000000 00000000 00000000
      [    7.747187] ffc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
      [    7.756267] ffe0: 00000000 00000000 00000000 00000000 00000013 00000000 9e979afd 9aff5ad1
      [    7.765326] Backtrace:
      [    7.768098] [<c0192b58>] (add_interrupt_randomness+0x0/0x190) from [<c005f1c0>] (handle_irq_event_percpu+0xf0/0x1a4)
      [    7.779786] [<c005f0d0>] (handle_irq_event_percpu+0x0/0x1a4) from [<c005f2a4>] (handle_irq_event+0x30/0x40)
      [    7.790612] [<c005f274>] (handle_irq_event+0x0/0x40) from [<c006186c>] (handle_level_irq+0xd4/0xe4)
      [    7.800638]  r5:0000006c r4:c037ceb8
      [    7.804639] [<c0061798>] (handle_level_irq+0x0/0xe4) from [<c005eb48>] (generic_handle_irq+0x28/0x38)
      [    7.814857]  r5:0000006c r4:0000006c
      [    7.818874] [<c005eb20>] (generic_handle_irq+0x0/0x38) from [<c00107d8>] (handle_IRQ+0x70/0x88)
      [    7.828518]  r5:0000006c r4:c0383adc
      [    7.832519] [<c0010768>] (handle_IRQ+0x0/0x88) from [<c000a314>] (sun3i_handle_irq+0x3c/0x44)
      [    7.841968]  r7:c188fe0c r6:ffffffff r5:c188fdd8 r4:c0455820
      [    7.848286] [<c000a2d8>] (sun3i_handle_irq+0x0/0x44) from [<c000f520>] (__irq_svc+0x40/0x4c)
      [    7.857641] Exception stack(0xc188fdd8 to 0xc188fe20)
      [    7.863246] fdc0:                                                       7fffffff c180a6fc
      [    7.872327] fde0: c188fe58 60000013 7fffffff c180a6f8 c188e000 00000002 00000000 00000000
      [    7.881410] fe00: f1c05010 c188fe84 c188fe48 c188fe20 c027f430 c027de78 60000013 ffffffff
      [    7.890471]  r5:60000013 r4:c027de78
      [    7.894484] [<c027f350>] (wait_for_common+0x0/0x16c) from [<c027f4d4>] (wait_for_completion+0x18/0x1c)
      [    7.904800]  r9:00000000 r8:c1a83c1c r7:f1c05018 r6:c1a83c28 r5:c180a168
      r4:f1c05000
      [    7.913553] [<c027f4bc>] (wait_for_completion+0x0/0x1c) from [<c01c4418>] (sunxi_spi_work+0x4b4/0x7fc)
      [    7.923903] [<c01c3f64>] (sunxi_spi_work+0x0/0x7fc) from [<c0031c70>] (process_one_work+0x1e8/0x330)
      [    7.934048] [<c0031a88>] (process_one_work+0x0/0x330) from [<c0032b14>] (worker_thread+0x1cc/0x358)
      [    7.944111] [<c0032948>] (worker_thread+0x0/0x358) from [<c0037ca8>] (kthread+0xa8/0xb4)
      [    7.953115] [<c0037c00>] (kthread+0x0/0xb4) from [<c000f930>] (ret_from_fork+0x14/0x24)
      [    7.961987]  r7:00000000 r6:00000000 r5:c0037c00 r4:c184de7c
      [    7.968297] Code: e5d2c02a e0490003 e59f9108 e2838010 (e1530008)
      [    7.975058] ---[ end trace bb911ec0eda66d06 ]---
      [    7.980178] Kernel panic - not syncing: Fatal exception in interrupt
      

      请问这是什么问题呢?

      posted in 其它全志芯片讨论区
      U
      ubuntu
    • Reply: 18.8元的 4G 转 WIFI dongle,即插即用,无需USB通讯,通电即可使用。

      @whycan 在 18.8元的 4G 转 WIFI dongle,即插即用,无需USB通讯,通电即可使用。 中说:

      据说手快有: https://detail.tmall.com/item.htm?id=656554238743

      仅推荐,其他风险自担。

      涨价了,73元。

      posted in 灌水区
      U
      ubuntu
    • T113-S3 板子网卡启动失败,请问是什么问题呢?
      # ifconfig eth0 up
      ifconfig: SIOCSIFFLAGS: Invalid argument
      
      posted in 其它全志芯片讨论区
      U
      ubuntu
    • LVGL port to OpenGL @ thirdparty

      https://github.com/rainlab-inc/lvgl

      https://github.com/rainlab-inc/lvgl-opengl

      posted in GUI
      U
      ubuntu
    • lvg8.3 自带 lv_example_ime_pinyin_2 挂了,这是怎么回事呢?

      3af6dee0-6b65-4512-bee5-01e9f3342a5e-image.png

      23fe79be-e034-4a01-8e63-513136eda499-image.png

      posted in GUI
      U
      ubuntu
    • Reply: T113-S3 烧录 W25N01 失败,请问是什么原因?

      @kelsey
      搞定啦,flash上拉电阻补焊搞定。

      posted in 其它全志芯片讨论区
      U
      ubuntu
    • T113-S3 烧录 W25N01 失败,请问是什么原因?
      [1518]fes begin commit:88480af-dirty
      [1522]set pll start
      [1527]periph0 has been enabled
      [1531]set pll end
      [1532][pmu]: bus read error
      [1535]board init ok
      [1537]beign to init dram
      [1539]ZQ value = 0x2f
      [1541]get_pmu_exist() = -1
      [1544]ddr_efuse_type: 0xa
      [1546]trefi:7.8ms
      [1549][AUTO DEBUG] single rank and full DQ!
      [1553]ddr_efuse_type: 0xa
      [1555]trefi:7.8ms
      [1558][AUTO DEBUG] rank 0 row = 13
      [1561][AUTO DEBUG] rank 0 bank = 8
      [1564][AUTO DEBUG] rank 0 page size = 2 KB
      [1568]DRAM BOOT DRIVE INFO: V0.33
      [1572]DRAM CLK = 936 MHz
      [1574]DRAM Type = 3 (2:DDR2,3:DDR3)
      [1577]DRAMC read ODT  off.
      [1580]DRAM ODT value: 0x42.
      [1583]ddr_efuse_type: 0xa
      [1586]DRAM SIZE =128 M
      [1588]dram_tpr4:0x0
      [1590]PLL_DDR_CTRL_REG:0xf8004d00
      [1593]DRAM_CLK_REG:0xc0000000
      [1596][TIMING DEBUG] MR2= 0x20
      [1600]DRAM simple test OK.
      [1602]rtc standby flag is 0x0, super standby flag is 0x0
      [1608]init dram ok
      
      
      U-Boot 2018.05-g24521d6-dirty (Nov 04 2022 - 20:13:00 +0800) Allwinner Technology
      
      [03.917]CPU:   Allwinner Family
      [03.920]Model: sun8iw20
      I2C:   FDT ERROR:fdt_set_all_pin:[twi0]-->FDT_ERR_BADPATH
      FDT ERROR:fdt_set_all_pin:[twi1]-->FDT_ERR_BADPATH
      ready
      [03.941]DRAM:  128 MiB
      [03.944]Relocation Offset is: 04ecd000
      [03.968]secure enable bit: 0
      [03.971]CPU=1008 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=100Mhz  MBus=300Mhz
      [03.977]gic: normal mode
      [03.979]flash init start
      [03.981]workmode = 16,storage type = 0
      try card 2
      set card number 2
      get card number 2
      [03.989][mmc]: mmc driver ver uboot2018:2021-11-19 15:38:00
      [03.996][mmc]: Is not Boot mode!
      [03.999][mmc]: SUNXI SDMMC Controller Version:0x50310
      [04.010][mmc]: ************Try SD card 2************
      [04.015][mmc]: mmc 2 cmd timeout 100 status 100
      [04.019][mmc]: smc 2 err, cmd 8,  RTO
      [04.023][mmc]: mmc 2 close bus gating and reset
      [04.028][mmc]: mmc 2 cmd timeout 100 status 100
      [04.032][mmc]: smc 2 err, cmd 55,  RTO
      [04.035][mmc]: mmc 2 close bus gating and reset
      [04.040][mmc]: ************Try MMC card 2************
      [04.048][mmc]: mmc 2 cmd timeout 100 status 100
      [04.053][mmc]: smc 2 err, cmd 1,  RTO
      [04.056][mmc]: mmc 2 close bus gating and reset
      [04.060][mmc]: Card did not respond to voltage select!
      [04.065][mmc]: ************SD/MMC 2 init error!************
      [04.070][mmc]: mmc init product failed
      MMC init failed
      try emmc fail
      [04.077]sunxi-spinand: AW SPINand MTD Layer Version: 1.5 20200407
      [04.083]sunxi-spinand-phy: AW SPINand Phy Layer Version: 1.9 20200306
      [04.090]sunxi-spinand-phy: request spi0 gpio ok
      [04.095]sunxi-spinand-phy: request general tx dma channel ok!
      [04.100]sunxi-spinand-phy: request general rx dma channel ok!
      [04.105]sunxi-spinand-phy: set spic0 clk to 20 Mhz
      [04.110]sunxi-spinand-phy: init spic0 clk ok
      sspi->base_addr = 0x4025000, the SPI control register:
      [VER] 0x4025000 = 0x00010001, [GCR] 0x4025004 = 0x00000083, [TCR] 0x4025008 = 0x00000184
      [ICR] 0x4025010 = 0x00000f00, [ISR] 0x4025014 = 0x00000032, [FCR] 0x4025018 = 0x00200020
      [FSR] 0x402501c = 0x00000000, [WCR] 0x4025020 = 0x00000000, [CCR] 0x4025024 = 0x00000002
      [SDC] 0x4025028 = 0x00002000, [BCR] 0x4025030 = 0x00000000, [TCR] 0x4025034 = 0x00000000
      [BCC] 0x4025038 = 0x00000000, [DMA] 0x4025088 = 0x000000e5
      
      [04.155]sunxi-spinand-phy: not detect any munufacture from id table
      [04.162]sunxi-spinand-phy: get spi-nand Model from fdt fail
      [04.167]sunxi-spinand-phy: get phy info from fdt fail
      [04.172]sunxi-spinand-phy: not detect munufacture from fdt
      [04.177]sunxi-spinand-phy: detect munufacture from id table: Winbond
      [04.183]sunxi-spinand-phy: detect spinand id: ff21aaef ffffffff
      [04.189]sunxi-spinand-phy: ========== arch info ==========
      [04.194]sunxi-spinand-phy: Model:               W25N01GVZEIG
      [04.199]sunxi-spinand-phy: Munufacture:         Winbond
      [04.204]sunxi-spinand-phy: DieCntPerChip:       1
      [04.208]sunxi-spinand-phy: BlkCntPerDie:        1024
      [04.213]sunxi-spinand-phy: PageCntPerBlk:       64
      [04.218]sunxi-spinand-phy: SectCntPerPage:      4
      [04.222]sunxi-spinand-phy: OobSizePerPage:      64
      [04.227]sunxi-spinand-phy: BadBlockFlag:        0x0
      [04.231]sunxi-spinand-phy: OperationOpt:        0x7
      [04.236]sunxi-spinand-phy: MaxEraseTimes:       65000
      [04.241]sunxi-spinand-phy: EccFlag:             0x0
      [04.245]sunxi-spinand-phy: EccType:             2
      [04.250]sunxi-spinand-phy: EccProtectedType:    3
      [04.254]sunxi-spinand-phy: ========================================
      [04.260]sunxi-spinand-phy:
      [04.262]sunxi-spinand-phy: ========== physical info ==========
      [04.268]sunxi-spinand-phy: TotalSize:    128 M
      [04.272]sunxi-spinand-phy: SectorSize:   512 B
      [04.276]sunxi-spinand-phy: PageSize:     2 K
      [04.280]sunxi-spinand-phy: BlockSize:    128 K
      [04.284]sunxi-spinand-phy: OOBSize:      64 B
      [04.289]sunxi-spinand-phy: ========================================
      [04.295]sunxi-spinand-phy:
      [04.297]sunxi-spinand-phy: ========== logical info ==========
      [04.302]sunxi-spinand-phy: TotalSize:    128 M
      [04.307]sunxi-spinand-phy: SectorSize:   512 B
      [04.311]sunxi-spinand-phy: PageSize:     4 K
      [04.315]sunxi-spinand-phy: BlockSize:    256 K
      [04.319]sunxi-spinand-phy: OOBSize:      128 B
      [04.323]sunxi-spinand-phy: ========================================
      [04.329]sunxi-spinand-phy: set spic0 clk to 100 Mhz
      [04.334]sunxi-spinand-phy: block lock register: 0x00
      [04.339]sunxi-spinand-phy: feature register: 0x19
      [04.343]sunxi-spinand-phy: sunxi physic nand init end
      [04.348]Loading Environment from SUNXI_FLASH... OK
      [04.352]try to burn key
      [04.355]out of usb burn from boot: not need burn key
      Hit any key to stop autoboot:  0
      sunxi work mode=0x10
      run usb efex
      buf queue page size = 16384
      delay time 2500
      weak:otg_phy_config
      usb init ok
      set address 0x1e
      set address 0x1e ok
      set address 0x1f
      set address 0x1f ok
      SUNXI_EFEX_ERASE_TAG
      erase_flag = 0x12
      origin_erase_flag = 0x1
      FEX_CMD_fes_verify_status
      FEX_CMD_fes_verify last err=0
      the 0 mbr table is ok
      the 1 mbr table is ok
      the 2 mbr table is ok
      the 3 mbr table is ok
      *************MBR DUMP***************
      total mbr part 8
      
      part[0] name      :boot-resource
      part[0] classname :DISK
      part[0] addrlo    :0x8000
      part[0] lenlo     :0x800
      part[0] user_type :32768
      part[0] keydata   :0
      part[0] ro        :0
      
      part[1] name      :env
      part[1] classname :DISK
      part[1] addrlo    :0x8800
      part[1] lenlo     :0x1f8
      part[1] user_type :32768
      part[1] keydata   :0
      part[1] ro        :0
      
      part[2] name      :env-redund
      part[2] classname :DISK
      part[2] addrlo    :0x89f8
      part[2] lenlo     :0x1f8
      part[2] user_type :32768
      part[2] keydata   :0
      part[2] ro        :0
      
      part[3] name      :boot
      part[3] classname :DISK
      part[3] addrlo    :0x8bf0
      part[3] lenlo     :0x21e8
      part[3] user_type :32768
      part[3] keydata   :0
      part[3] ro        :0
      
      part[4] name      :rootfs
      part[4] classname :DISK
      part[4] addrlo    :0xadd8
      part[4] lenlo     :0x11800
      part[4] user_type :32768
      part[4] keydata   :0
      part[4] ro        :0
      
      part[5] name      :private
      part[5] classname :DISK
      part[5] addrlo    :0x1c5d8
      part[5] lenlo     :0x2800
      part[5] user_type :32768
      part[5] keydata   :0
      part[5] ro        :0
      
      part[6] name      :rootfs_data
      part[6] classname :DISK
      part[6] addrlo    :0x1edd8
      part[6] lenlo     :0x15e00
      part[6] user_type :32768
      part[6] keydata   :0
      part[6] ro        :0
      
      part[7] name      :UDISK
      part[7] classname :DISK
      part[7] addrlo    :0x34bd8
      part[7] lenlo     :0x0
      part[7] user_type :33024
      part[7] keydata   :0
      part[7] ro        :0
      
      total part: 9
      mbr 0, 8000, 8000
      boot-resource 1, 800, 8000
      env 2, 1f8, 8000
      env-redund 3, 1f8, 8000
      boot 4, 21e8, 8000
      rootfs 5, 11800, 8000
      private 6, 2800, 8000
      rootfs_data 7, 15e00, 8000
      UDISK 8, 0, 8100
      [07.635]erase blk 0 to blk 32
      need erase flash: 18
      [07.658]mtdparts: mtdparts=nand:1024k@0(boot0)ro,3072k@1048576(uboot)ro,1024k@4194304(secure_storage)ro,-(sys)
      
      device nand0 <nand>, # parts = 4
       #: name                size            offset          mask_flags
       0: boot0               0x00100000      0x00000000      1
       1: uboot               0x00300000      0x00100000      1
       2: secure_storage      0x00100000      0x00400000      1
       3: sys                 0x07b00000      0x00500000      0
      
      active partition: nand0,0 - (boot0) 0x00100000 @ 0x00000000
      
      defaults:
      mtdids  : nand0=nand
      mtdparts: mtdparts=nand:1024k@0(boot0)ro,3072k@1048576(uboot)ro,1024k@4194304(secure_storage)ro,-(sys)
      [07.709]MTD info (4)
      [07.711]pagesize: 0x1000
      [07.713]blksize: 0x40000
      [07.715]num  offset     bytes      name
      [07.719]0    0x00000000 0x00100000 boot0
      [07.722]1    0x00100000 0x00300000 uboot
      [07.726]2    0x00400000 0x00100000 secure_storage
      [07.730]3    0x00500000 0x07b00000 sys
      [07.734]ubi attach the last part of mtd device: NO.3
      [07.806]ubi0: attaching mtd4
      [07.859]ubi0: scanning is finished
      [07.862]ubi0: empty MTD device detected
      [07.869]ubi0: attached mtd4 (name "sys", size 123 MiB)
      [07.874]ubi0: PEB size: 262144 bytes (256 KiB), LEB size: 258048 bytes
      [07.880]ubi0: min./max. I/O unit sizes: 4096/4096, sub-page size 2048
      [07.886]ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
      [07.892]ubi0: good PEBs: 492, bad PEBs: 0, corrupted PEBs: 0
      [07.898]ubi0: user volume: 0, internal volumes: 1, max. volumes count: 128
      [07.904]ubi0: max/mean erase counter: 0/0, WL threshold: 4096, image sequence number: 0
      [07.912]ubi0: available PEBs: 468, total reserved PEBs: 24, PEBs reserved for bad PEB handling: 20
      [07.965]erase blk 0 to blk 32
      [07.976]erase blk 40 to blk 1024
      [08.491]sunxi-spinand: spinand secure storage ok for phy blk 32 and 33
      [08.498]sunxi-spinand: secure storage blks have never used before
      [08.504]sunxi-spinand: secure storage has no valid data on item 0
      [08.509]Item0 (Map) magic is bad
      [08.512]the secure storage map is empty
      [08.533]sunxi-spinand: write secure storage itme 0 ok
      [08.537]erase secure storage: 0 ok
      SUNXI_EFEX_MBR_TAG
      mbr size = 0x10000
      force mbr
      
      device nand0 <nand>, # parts = 4
       #: name                size            offset          mask_flags
       0: boot0               0x00100000      0x00000000      1
       1: uboot               0x00300000      0x00100000      1
       2: secure_storage      0x00100000      0x00400000      1
       3: sys                 0x07b00000      0x00500000      0
      
      active partition: nand0,0 - (boot0) 0x00100000 @ 0x00000000
      
      defaults:
      mtdids  : nand0=nand
      mtdparts: mtdparts=nand:1024k@0(boot0)ro,3072k@1048576(uboot)ro,1024k@4194304(secure_storage)ro,-(sys)
      [08.585]MTD info (4)
      [08.587]pagesize: 0x1000
      [08.590]blksize: 0x40000
      [08.592]num  offset     bytes      name
      [08.595]0    0x00000000 0x00100000 boot0
      [08.599]1    0x00100000 0x00300000 uboot
      [08.603]2    0x00400000 0x00100000 secure_storage
      [08.607]3    0x00500000 0x07b00000 sys
      [08.611]MBR info (unalign):
      [08.613]partno   addr       sects      type       name
      [08.618]0        0x00000000 0x00008000 0x00000001 mbr
      [08.623]1        0x00008000 0x00000800 0x00008000 boot-resource
      [08.628]2        0x00008800 0x000001f8 0x00008000 env
      [08.633]3        0x000089f8 0x000001f8 0x00008000 env-redund
      [08.638]4        0x00008bf0 0x000021e8 0x00008000 boot
      [08.643]5        0x0000add8 0x00011800 0x00008000 rootfs
      [08.648]6        0x0001c5d8 0x00002800 0x00008000 private
      [08.653]7        0x0001edd8 0x00015e00 0x00008000 rootfs_data
      [08.659]8        0x00034bd8 0x00000000 0x00008100 UDISK
      [08.664]ubi attach the last part of mtd device: NO.3
      [08.669]MBR info (align):
      [08.671]partno   addr       sects      type       name
      [08.676]0        0x00002800 0x000081f0 0x00000001 mbr
      [08.680]1        0x0000a9f0 0x000009d8 0x00008000 boot-resource
      [08.686]2        0x0000b3c8 0x000001f8 0x00008000 env
      [08.691]3        0x0000b5c0 0x000001f8 0x00008000 env-redund
      [08.696]4        0x0000b7b8 0x00002370 0x00008000 boot
      [08.701]5        0x0000db28 0x00011988 0x00008000 rootfs
      [08.706]6        0x0001f4b0 0x00002958 0x00008000 private
      [08.711]7        0x00021e08 0x00015e70 0x00008000 rootfs_data
      [08.717]8        0x00037c78 0x00000000 0x00008100 UDISK
      [08.722]ubi attach the last part of mtd device: NO.3
      [08.726]ubi attatch mtd, name: sys
      
      [08.730]ubi0: detaching mtd4
      [08.732]ubi0: mtd4 is detached
      [08.735]ubi0: attaching mtd4
      [08.788]ubi0: scanning is finished
      [08.791]ubi0: empty MTD device detected
      [08.798]ubi0: attached mtd4 (name "sys", size 123 MiB)
      [08.803]ubi0: PEB size: 262144 bytes (256 KiB), LEB size: 258048 bytes
      [08.809]ubi0: min./max. I/O unit sizes: 4096/4096, sub-page size 2048
      [08.815]ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
      [08.821]ubi0: good PEBs: 492, bad PEBs: 0, corrupted PEBs: 0
      [08.827]ubi0: user volume: 0, internal volumes: 1, max. volumes count: 128
      [08.833]ubi0: max/mean erase counter: 0/0, WL threshold: 4096, image sequence number: 0
      [08.841]ubi0: available PEBs: 468, total reserved PEBs: 24, PEBs reserved for bad PEB handling: 20
      Creating static volume mbr of size 17031168
      Creating dynamic volume boot-resource of size 1290240
      Creating dynamic volume env of size 258048
      Creating dynamic volume env-redund of size 258048
      Creating dynamic volume boot of size 4644864
      Creating dynamic volume rootfs of size 36900864
      Creating dynamic volume private of size 5419008
      Creating dynamic volume rootfs_data of size 45932544
      No size specified -> Using max size (9031680)
      [08.950]reset last volume size to 0x44e8
      Creating dynamic volume UDISK of size 9031680
      [08.963]fill gap start: volume mbr sects 0x7f80
      [09.688]ubi0 warning: ubi_io_read_vid_hdr: bad magic number at PEB 149: 00000000 instead of 55424921
      [09.697]Volume identifier header dump:
      [09.700]        magic     00000000
      [09.703]        version   0
      [09.704]        vol_type  0
      [09.706]        copy_flag 0
      [09.708]        compat    0
      [09.710]        vol_id    0
      [09.712]        lnum      0
      [09.714]        data_size 0
      [09.716]        used_ebs  0
      [09.718]        data_pad  0
      [09.720]        sqnum     0
      [09.722]        hdr_crc   00000000
      [09.724]Volume identifier header hexdump:
      [09.728]ubi0 warning: ubi_eba_read_leb: corrupted VID header at PEB 149, LEB 0:0
      [09.735]ubi0 warning: ubi_volume_continue_write: volume 0 on UBI device 0 is corrupt
      [09.742]fill gap end: volume mbr
      [09.745]update partition map
      [09.748]logical area info: 468 258048 last_lba: 235871
      read from corrupted volume 0[09.759]mbr magic error: ▒▒▒▒▒▒▒▒ wanted softw411
      *** ERROR: Can't read MBR header ***
      part_get_info_efi: *** ERROR: Invalid GPT ***
      read from corrupted volume 0[09.776]mbr magic error: ▒▒▒▒▒▒▒▒ wanted softw411
      *** ERROR: Can't read MBR header ***
      part_get_info_efi: *** ERROR: Invalid Backup GPT ***
      FEX_CMD_fes_verify_status
      FEX_CMD_fes_verify last err=0
      [09.835]fill gap start: volume boot-resource sects 0x264
      [09.853]fill gap end: volume boot-resource
      FEX_CMD_fes_verify_value, start 0x8000, size high 0x0:low 0xb3800
      FEX_CMD_fes_verify_value 0xfffd3200
      

      90cee686-6abd-43da-84bc-29aaa3daa8ed-image.png

      posted in 其它全志芯片讨论区
      U
      ubuntu
    • 请问Ubuntu18.04,32bit 的 .so文件 是复制到 /usr/lib32,64bit的so文件是复制到 /usr/lib/ 目录吗?

      请问Ubuntu18.04,32bit 的 .so文件 是复制到 /usr/lib32,64bit的so文件是复制到 /usr/lib/ 目录吗?

      posted in Linux
      U
      ubuntu
    • Reply: DNS

      什么芯片,什么系统?

      posted in Linux
      U
      ubuntu
    • Reply: VSCode在 win7 运行出错

      675daa9f-0c9a-428e-a8b4-87278cbbf627-image.png

      posted in GUI
      U
      ubuntu