导航

    全志在线开发者论坛

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

    msh410278586 发布的帖子

    • 回复: 求助,T113 tina 如何使用SPI1烧写Nand Flash?

      @whycan 好的,谢谢大佬!

      发布在 MR Series
      M
      msh410278586
    • 回复: 求助,T113 tina 如何使用SPI1烧写Nand Flash?

      @whycan 😥 大佬能麻烦确认一下吗?确定的话,我就不瞎琢磨了

      发布在 MR Series
      M
      msh410278586
    • 回复: 求助,T113 tina 如何使用SPI1烧写Nand Flash?

      @whycanservice
      大佬,现在这算是识别SPI1上的nand flash 并烧写进去了吗?但是现在拔掉卡之后重启,串口 没有打印出来任何东西(HELLO! BOOT0 is starting 都没有打印输出),这个需要涉及到哪里的修改?求指点一下。

      [145]uart_port : 0
      [147]HELLO! BOOT0 is starting,test!
      [151]BOOT0 commit : adaf1174cc
      [154]set pll start
      [156]fix vccio detect value:0xc0
      [163]periph0 has been enabled
      [166]set pll end
      [168][pmu]: bus read error
      [170]board init ok
      [172]ZQ value = 0x30
      [174]get_pmu_exist() = -1
      [177]ddr_efuse_type: 0xa
      [179]trefi:7.8ms
      [182][AUTO DEBUG] single rank and full DQ!
      [186]ddr_efuse_type: 0xa
      [189]trefi:7.8ms
      [191][AUTO DEBUG] rank 0 row = 13 
      [194][AUTO DEBUG] rank 0 bank = 8 
      [198][AUTO DEBUG] rank 0 page size = 2 KB 
      [202]DRAM BOOT DRIVE INFO: V0.33
      [205]DRAM CLK = 936 MHz
      [207]DRAM Type = 3 (2:DDR2,3:DDR3)
      [211]DRAMC read ODT  off.
      [213]DRAM ODT value: 0x42.
      [216]ddr_efuse_type: 0xa
      [219]DRAM SIZE =128 M
      [221]dram_tpr4:0x0
      [223]PLL_DDR_CTRL_REG:0xf8004d00
      [226]DRAM_CLK_REG:0xc0000000
      [229][TIMING DEBUG] MR2= 0x20
      [237]DRAM simple test OK.
      [239]rtc standby flag is 0x0, super standby flag is 0x0
      [245]dram size =128
      [248]card no is 0
      [249]sdcard 0 line count 4
      [252][mmc]: mmc driver ver 2021-05-21 14:47
      [261][mmc]: Wrong media type 0x0
      [264][mmc]: ***Try SD card 0***
      [281][mmc]: HSSDR52/SDR25 4 bit
      [284][mmc]: 50000000 Hz
      [286][mmc]: 15193 MB
      [288][mmc]: ***SD/MMC 0 init OK!!!***
      [384]Loading boot-pkg Succeed(index=0).
      [387]Entry_name        = u-boot
      [394]Entry_name        = optee
      [398]Entry_name        = dtb
      [401]mmc not para
      [403]Jump to second Boot.
      M/TC: OP-TEE version: e9372c9c-dirty (gcc version 5.3.1 20160412 (Linaro GCC 5.3-2016.05)) #2 Sat Mar 19 11:09:45 UTC 2022 arm
      
      
      U-Boot 2018.05 (Feb 17 2023 - 08:26:51 +0000) Allwinner Technology
      
      [00.455]CPU:   Allwinner Family
      [00.457]Model: sun8iw20
      [00.460]optee version: major:3 minor:7
      [00.463]DRAM:  128 MiB
      [00.466]Relocation Offset is: 04ebc000
      [00.492]secure enable bit: 0
      E/TC:0   tee_read_fdt:433 fine node /firmware/optee failed with FDT_ERR_NOTFOUND
      [00.505]smc_tee_inform_fdt failed with: -65536[00.509]CPU=1008 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=100Mhz  MBus=300Mhz
      [00.515]gic: sec monitor mode
      [00.517]flash init start
      [00.520]workmode = 17,storage type = 1
      try card 2
      set card number 2
      get card number 2
      [00.528][mmc]: mmc driver ver uboot2018:2021-12-20 13:35:00
      [00.534][mmc]: Is not Boot mode!
      [00.537][mmc]: SUNXI SDMMC Controller Version:0x50310
      [00.548][mmc]: ************Try SD card 2************
      [00.553][mmc]: mmc 2 cmd timeout 100 status 100
      [00.557][mmc]: smc 2 err, cmd 8,  RTO
      [00.561][mmc]: mmc 2 close bus gating and reset
      [00.566][mmc]: mmc 2 cmd timeout 100 status 100
      [00.570][mmc]: smc 2 err, cmd 55,  RTO
      [00.573][mmc]: mmc 2 close bus gating and reset
      [00.578][mmc]: ************Try MMC card 2************
      [00.586][mmc]: mmc 2 cmd timeout 100 status 100
      [00.591][mmc]: smc 2 err, cmd 1,  RTO
      [00.594][mmc]: mmc 2 close bus gating and reset
      [00.598][mmc]: Card did not respond to voltage select!
      [00.603][mmc]: ************SD/MMC 2 init error!************
      [00.608][mmc]: mmc init product failed
      MMC init failed
      try emmc fail
      [00.615]Debug :drivers/mtd/awnand/spinand/sunxi-driver.c 504 .spi_node:12780 
      [00.622]sunxi-spinand: Debug :drivers/mtd/awnand/spinand/sunxi-core.c 383
      [00.628]sunxi-spinand: AW SPINand MTD Layer Version: 1.8 20220106
      [00.634]sunxi-spinand: Debug :drivers/mtd/awnand/spinand/sunxi-core.c 402
      [00.640]sunxi-spinand: Debug :drivers/mtd/awnand/spinand/sunxi-core.c 406
      [00.647]sunxi-spinand: Debug :drivers/mtd/awnand/spinand/sunxi-core.c 409
      [00.653]sunxi-spinand-phy: AW SPINand Phy Layer Version: 1.11 20211217
      [00.661]sunxi-spinand-phy: request spi0 gpio ok
      [00.666]sunxi-spinand-phy: spi->tx_dma_chan : 1207568756!
      [00.671]sunxi-spinand-phy: spi->rx_dma_chan : 1207568784!
      [00.676]sunxi-spinand-phy: request general rx dma channel ok!
      [00.681]sunxi-spinand-phy: set spic0 clk to 20 Mhz
      [00.686]sunxi-spinand-phy: init spic0 clk ok
      sspi->base_addr = 0x4026000, the SPI control register:
      [VER] 0x4026000 = 0x00010002, [GCR] 0x4026004 = 0x00000083, [TCR] 0x4026008 = 0x00000184
      [ICR] 0x4026010 = 0x00000f00, [ISR] 0x4026014 = 0x00000032, [FCR] 0x4026018 = 0x00200020
      [FSR] 0x402601c = 0x00000000, [WCR] 0x4026020 = 0x00000000, [CCR] 0x4026024 = 0x00000002
      [SDC] 0x4026028 = 0x00002000, [BCR] 0x4026030 = 0x00000000, [TCR] 0x4026034 = 0x00000000
      [BCC] 0x4026038 = 0x00000000, [DMA] 0x4026088 = 0x000000e5
      
      [00.731]sunxi-spinand-phy: detect munufacture from id table: GD
      [00.737]sunxi-spinand-phy: detect spinand id: ffff51c8 ffffffff
      [00.742]sunxi-spinand-phy: ========== arch info ==========
      [00.748]sunxi-spinand-phy: Model:               GD5F1GQ5UEYIG
      [00.753]sunxi-spinand-phy: Munufacture:         GD
      [00.758]sunxi-spinand-phy: DieCntPerChip:       1
      [00.762]sunxi-spinand-phy: BlkCntPerDie:        1024
      [00.767]sunxi-spinand-phy: PageCntPerBlk:       64
      [00.771]sunxi-spinand-phy: SectCntPerPage:      4
      [00.776]sunxi-spinand-phy: OobSizePerPage:      64
      [00.780]sunxi-spinand-phy: BadBlockFlag:        0x0
      [00.785]sunxi-spinand-phy: OperationOpt:        0x7
      [00.789]sunxi-spinand-phy: MaxEraseTimes:       50000
      [00.794]sunxi-spinand-phy: EccFlag:             0x1
      [00.799]sunxi-spinand-phy: EccType:             7
      [00.803]sunxi-spinand-phy: EccProtectedType:    2
      [00.808]sunxi-spinand-phy: ========================================
      [00.813]sunxi-spinand-phy: 
      [00.816]sunxi-spinand-phy: ========== physical info ==========
      [00.822]sunxi-spinand-phy: TotalSize:    128 M
      [00.826]sunxi-spinand-phy: SectorSize:   512 B
      [00.830]sunxi-spinand-phy: PageSize:     2 K
      [00.834]sunxi-spinand-phy: BlockSize:    128 K
      [00.838]sunxi-spinand-phy: OOBSize:      64 B
      [00.842]sunxi-spinand-phy: ========================================
      [00.848]sunxi-spinand-phy: 
      [00.851]sunxi-spinand-phy: ========== logical info ==========
      [00.856]sunxi-spinand-phy: TotalSize:    128 M
      [00.860]sunxi-spinand-phy: SectorSize:   512 B
      [00.864]sunxi-spinand-phy: PageSize:     4 K
      [00.868]sunxi-spinand-phy: BlockSize:    256 K
      [00.873]sunxi-spinand-phy: OOBSize:      128 B
      [00.877]sunxi-spinand-phy: ========================================
      [00.883]sunxi-spinand-phy: GD5F1GQ5UEYIG reset rx bit width to 1
      [00.889]sunxi-spinand-phy: GD5F1GQ5UEYIG reset tx bit width to 1
      [00.894]sunxi-spinand-phy: set spic0 clk to 100 Mhz
      [00.899]sunxi-spinand-phy: block lock register: 0x00
      [00.904]sunxi-spinand-phy: feature register: 0x11
      [00.908]sunxi-spinand-phy: sunxi physic nand init end
      [00.913]sunxi-spinand: Debug :drivers/mtd/awnand/spinand/sunxi-core.c 414
      [00.919]sunxi-spinand: Debug :drivers/mtd/awnand/spinand/sunxi-core.c 422
      [00.926]sunxi-spinand: Debug :drivers/mtd/awnand/spinand/sunxi-core.c 427
      [00.932]sunxi-spinand: Debug :drivers/mtd/awnand/spinand/sunxi-core.c 432
      [00.939]sunxi-spinand: Debug :drivers/mtd/awnand/spinand/sunxi-core.c 443
      [00.945][mmc]: mmc driver ver uboot2018:2021-12-20 13:35:00
      [00.951][mmc]: get sdc_type fail and use default host:tm1.
      [00.957][mmc]: can't find node "mmc0",will add new node
      [00.962][mmc]: fdt err returned <no error>
      [00.965][mmc]: Using default timing para
      [00.969][mmc]: SUNXI SDMMC Controller Version:0x50310
      [00.994][mmc]: card_caps:0x3000000a
      [00.997][mmc]: host_caps:0x3000003f
      [01.002]line:703 init_clocks
      [01.005]init_clocks:finish
      [01.007]drv_disp_init
      [01.014]get flash lcd idx 0
      request pwm success, pwm7:pwm7:0x2000c00.
      fdt get node offset faill: hdmi
      [01.026]HDMI 2.0 driver init start!
      [01.029]fdt_path_offset hdmi fail
      [01.032]unable to map hdmi registers
      [01.035]drv_disp_init finish
      [01.038]boot_gui_init:start
      [01.041]set disp.dev2_output_type fail. using defval=0
      [01.046]disp 0, clk: pll(364000000),clk(364000000),dclk(52000000) dsi_rate(364000000)
           clk real:pll(360000000),clk(360000000),dclk(51428571) dsi_rate(0)
      [01.060]switch device: sel=0, type=1, mode=4, format=0, bits=0, eotf=4, cs=260
      [01.068]boot_gui_init:finish
      [01.071]Loading Environment from SUNXI_FLASH... OK
      [01.075]try to burn key
      [01.077]out of usb burn from boot: not need burn key
      Hit any key to stop autoboot:  0 
      sunxi work mode=0x11
      run card sprite
      [01.089]try sprite_led_gpio config
      [01.092]sprite_led_gpio start
      [01.095]sunxi sprite begin
      firmware name <NULL>
      img start = 0x81f8
      try to read mmc start 33272
      read mmc ok
      [01.111]firmware probe ok
      [01.113]fetch download map
      *************DOWNLOAD MAP DUMP************
      total download part 5
      
      download part[0] name          :boot-resource
      download part[0] download file :BOOT-RESOURCE_FE
      download part[0] verify file   :VBOOT-RESOURCE_F
      download part[0] lenlo         :0x1f8
      download part[0] addrlo        :0x8000
      download part[0] encrypt       :0x0
      download part[0] verify        :0x1
      
      download part[1] name          :env
      download part[1] download file :ENV_FEX000000000
      download part[1] verify file   :VENV_FEX00000000
      download part[1] lenlo         :0x1f8
      download part[1] addrlo        :0x81f8
      download part[1] encrypt       :0x0
      download part[1] verify        :0x1
      
      download part[2] name          :env-redund
      download part[2] download file :ENV_FEX000000000
      download part[2] verify file   :VENV_FEX00000000
      download part[2] lenlo         :0x1f8
      download part[2] addrlo        :0x83f0
      download part[2] encrypt       :0x0
      download part[2] verify        :0x1
      
      download part[3] name          :boot
      download part[3] download file :BOOT_FEX00000000
      download part[3] verify file   :VBOOT_FEX0000000
      download part[3] lenlo         :0x248c
      download part[3] addrlo        :0x85e8
      download part[3] encrypt       :0x0
      download part[3] verify        :0x1
      
      download part[4] name          :rootfs
      download part[4] download file :ROOTFS_FEX000000
      download part[4] verify file   :VROOTFS_FEX00000
      download part[4] lenlo         :0[01.241]LCD open finish
      x16100
      download part[4] addrlo        :0xaa74
      download part[4] encrypt       :0x0
      download part[4] verify        :0x1
      
      [01.254]fetch mbr
      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     :0x1f8
      part[0] user_type :32768
      part[0] keydata   :0
      part[0] ro        :0
      
      part[1] name      :env
      part[1] classname :DISK
      part[1] addrlo    :0x81f8
      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    :0x83f0
      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    :0x85e8
      part[3] lenlo     :0x248c
      part[3] user_type :32768
      part[3] keydata   :0
      part[3] ro        :0
      
      part[4] name      :rootfs
      part[4] classname :DISK
      part[4] addrlo    :0xaa74
      part[4] lenlo     :0x16100
      part[4] user_type :32768
      part[4] keydata   :0
      part[4] ro        :0
      
      part[5] name      :private
      part[5] classname :DISK
      part[5] addrlo    :0x20b74
      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    :0x23374
      part[6] lenlo     :0xb220
      part[6] user_type :32768
      part[6] keydata   :0
      part[6] ro        :0
      
      part[7] name      :UDISK
      part[7] classname :DISK
      part[7] addrlo    :0x2e594
      part[7] lenlo     :0x0
      part[7] user_type :33024
      part[7] keydata   :0
      part[7] ro        :0
      
      *************MBR DUMP***************
      total mbr part 8
      
      part[0] name      :boot-resource
      part[0] classname :DISK
      part[0] addrlo    :0x8000
      part[0] lenlo     :0x1f8
      part[0] user_type :0x8000
      part[0] keydata   :0x0
      part[0] ro        :0x0
      
      part[1] name      :env
      part[1] classname :DISK
      part[1] addrlo    :0x81f8
      part[1] lenlo     :0x1f8
      part[1] user_type :0x8000
      part[1] keydata   :0x0
      part[1] ro        :0x0
      
      part[2] name      :env-redund
      part[2] classname :DISK
      part[2] addrlo    :0x83f0
      part[2] lenlo     :0x1f8
      part[2] user_type :0x8000
      part[2] keydata   :0x0
      part[2] ro        :0x0
      
      part[3] name      :boot
      part[3] classname :DISK
      part[3] addrlo    :0x85e8
      part[3] lenlo     :0x248c
      part[3] user_type :0x8000
      part[3] keydata   :0x0
      part[3] ro        :0x0
      
      part[4] name      :rootfs
      part[4] classname :DISK
      part[4] addrlo    :0xaa74
      part[4] lenlo     :0x16100
      part[4] user_type :0x8000
      part[4] keydata   :0x0
      part[4] ro        :0x0
      
      part[5] name      :private
      part[5] classname :DISK
      part[5] addrlo    :0x20b74
      part[5] lenlo     :0x2800
      part[5] user_type :0x8000
      part[5] keydata   :0x0
      part[5] ro        :0x0
      
      part[6] name      :rootfs_data
      part[6] classname :DISK
      part[6] addrlo    :0x23374
      part[6] lenlo     :0xb220
      part[6] user_type :0x8000
      part[6] keydata   :0x0
      part[6] ro        :0x0
      
      part[7] name      :UDISK
      part[7] classname :DISK
      part[7] addrlo    :0x2e594
      part[7] lenlo     :0x0
      part[7] user_type :0x8100
      part[7] keydata   :0x0
      part[7] ro        :0x0
      
      [01.530]begin to erase flash
      total part: 9
      mbr 0, 8000, 8000
      boot-resource 1, 1f8, 8000
      env 2, 1f8, 8000
      env-redund 3, 1f8, 8000
      boot 4, 248c, 8000
      rootfs 5, 16100, 8000
      private 6, 2800, 8000
      rootfs_data 7, b220, 8000
      UDISK 8, 0, 8100
      [01.552]erase blk 0 to blk 32
      need erase flash: 1
      [01.625]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)
      [01.675]CONFIG_AW_MTD_SPINAND 
      [01.678]MTD info (4)
      [01.680]pagesize: 0x1000
      [01.682]blksize: 0x40000
      [01.684]num  offset     bytes      name
      [01.688]0    0x00000000 0x00100000 boot0
      [01.691]1    0x00100000 0x00300000 uboot
      [01.695]2    0x00400000 0x00100000 secure_storage
      [01.699]3    0x00500000 0x07b00000 sys
      [01.703]ubi attach the last part of mtd device: NO.3
      [01.770]ubi0: attaching mtd4
      [01.991]ubi0: scanning is finished
      [02.000]ubi0: attached mtd4 (name "sys", size 123 MiB)
      [02.004]ubi0: PEB size: 262144 bytes (256 KiB), LEB size: 258048 bytes
      [02.011]ubi0: min./max. I/O unit sizes: 4096/4096, sub-page size 2048
      [02.017]ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
      [02.023]ubi0: good PEBs: 492, bad PEBs: 0, corrupted PEBs: 0
      [02.029]ubi0: user volume: 9, internal volumes: 1, max. volumes count: 128
      [02.035]ubi0: max/mean erase counter: 2/1, WL threshold: 4096, image sequence number: 0
      [02.043]ubi0: available PEBs: 0, total reserved PEBs: 492, PEBs reserved for bad PEB handling: 20
      private part exist
      [02.060]logical area info: 468 258048 last_lba: 235871
      [02.065]CONFIG_AW_MTD_SPINAND 
      [02.068]MTD info (4)
      [02.070]pagesize: 0x1000
      [02.072]blksize: 0x40000
      [02.074]num  offset     bytes      name
      [02.078]0    0x00000000 0x00100000 boot0
      [02.081]1    0x00100000 0x00300000 uboot
      [02.085]2    0x00400000 0x00100000 secure_storage
      [02.090]3    0x00500000 0x07b00000 sys
      [02.093]MBR info (unalign):
      [02.096]partno   addr       sects      type       name
      [02.100]0        0x00000000 0x00008000 0x00000001 mbr
      [02.105]1        0x00008000 0x000001f8 0x00008000 boot-resource
      [02.111]2        0x000081f8 0x000001f8 0x00008000 env
      [02.116]3        0x000083f0 0x000001f8 0x00008000 env-redund
      [02.121]4        0x000085e8 0x0000248c 0x00008000 boot
      [02.126]5        0x0000aa74 0x00016100 0x00008000 rootfs
      [02.131]6        0x00020b74 0x00002800 0x00008000 private
      [02.136]7        0x00023374 0x0000b220 0x00008000 rootfs_data
      [02.141]8        0x0002e594 0x0000ad40 0x00008100 UDISK
      [02.146]ubi attach the last part of mtd device: NO.3
      [02.151]MBR info (align):
      [02.153]partno   addr       sects      type       name
      [02.158]0        0x00002800 0x000081f0 0x00000001 mbr
      [02.163]1        0x0000a9f0 0x000001f8 0x00008000 boot-resource
      [02.169]2        0x0000abe8 0x000001f8 0x00008000 env
      [02.173]3        0x0000ade0 0x000001f8 0x00008000 env-redund
      [02.179]4        0x0000afd8 0x00002568 0x00008000 boot
      [02.184]5        0x0000d540 0x00016260 0x00008000 rootfs
      [02.189]6        0x000237a0 0x00002958 0x00008000 private
      [02.194]7        0x000260f8 0x0000b328 0x00008000 rootfs_data
      [02.199]8        0x00031420 0x0000ad40 0x00008100 UDISK
      GPT:boot-resource: 8000          81f7        
      GPT:env         : 81f8          83ef        
      GPT:env-redund  : 83f0          85e7        
      GPT:boot        : 85e8          aa73        
      GPT:rootfs      : aa74          20b73       
      GPT:private     : 20b74         23373       
      GPT:rootfs_data : 23374         2e593       
      GPT:UDISK       : 2e594         392d3       
      begin to store data
      part 0 name boot-resource
      keydata = 0x0
      part 1 name env
      keydata = 0x0
      part 2 name env-redund
      keydata = 0x0
      part 3 name boot
      keydata = 0x0
      part 4 name rootfs
      keydata = 0x0
      part 5 name private
      keydata = 0x0
      find keypart private
      keypart read start: 0x20b74, sectors 0x2800
      keypart part private read  0x20b74, sectors 0x2800
      part 6 name rootfs_data
      keydata = 0x0
      part 7 name UDISK
      keydata = 0x0
      begin to erase
      [02.281]erase blk 0 to blk 32
      [02.350]erase blk 40 to blk 1024
      finish erase
      rewrite
      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)
      [04.432]CONFIG_AW_MTD_SPINAND 
      [04.435]MTD info (4)
      [04.437]pagesize: 0x1000
      [04.439]blksize: 0x40000
      [04.441]num  offset     bytes      name
      [04.445]0    0x00000000 0x00100000 boot0
      [04.449]1    0x00100000 0x00300000 uboot
      [04.452]2    0x00400000 0x00100000 secure_storage
      [04.457]3    0x00500000 0x07b00000 sys
      [04.460]MBR info (unalign):
      [04.463]partno   addr       sects      type       name
      [04.467]0        0x00000000 0x00008000 0x00000001 mbr
      [04.472]1        0x00008000 0x000001f8 0x00008000 boot-resource
      [04.478]2        0x000081f8 0x000001f8 0x00008000 env
      [04.483]3        0x000083f0 0x000001f8 0x00008000 env-redund
      [04.488]4        0x000085e8 0x0000248c 0x00008000 boot
      [04.493]5        0x0000aa74 0x00016100 0x00008000 rootfs
      [04.498]6        0x00020b74 0x00002800 0x00008000 private
      [04.503]7        0x00023374 0x0000b220 0x00008000 rootfs_data
      [04.508]8        0x0002e594 0x00000000 0x00008100 UDISK
      [04.513]ubi attach the last part of mtd device: NO.3
      [04.518]MBR info (align):
      [04.520]partno   addr       sects      type       name
      [04.525]0        0x00002800 0x000081f0 0x00000001 mbr
      [04.530]1        0x0000a9f0 0x000001f8 0x00008000 boot-resource
      [04.536]2        0x0000abe8 0x000001f8 0x00008000 env
      [04.540]3        0x0000ade0 0x000001f8 0x00008000 env-redund
      [04.546]4        0x0000afd8 0x00002568 0x00008000 boot
      [04.551]5        0x0000d540 0x00016260 0x00008000 rootfs
      [04.556]6        0x000237a0 0x00002958 0x00008000 private
      [04.561]7        0x000260f8 0x0000b328 0x00008000 rootfs_data
      [04.566]8        0x00031420 0x00000000 0x00008100 UDISK
      [04.571]ubi attach the last part of mtd device: NO.3
      [04.576]ubi attatch mtd, name: sys
      
      [04.579]ubi0: detaching mtd4
      [04.582]ubi0: mtd4 is detached
      [04.585]ubi0: attaching mtd4
      [04.696]ubi0: scanning is finished
      [04.699]ubi0: empty MTD device detected
      [04.727]ubi0: attached mtd4 (name "sys", size 123 MiB)
      [04.732]ubi0: PEB size: 262144 bytes (256 KiB), LEB size: 258048 bytes
      [04.738]ubi0: min./max. I/O unit sizes: 4096/4096, sub-page size 2048
      [04.744]ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
      [04.751]ubi0: good PEBs: 492, bad PEBs: 0, corrupted PEBs: 0
      [04.756]ubi0: user volume: 0, internal volumes: 1, max. volumes count: 128
      [04.763]ubi0: max/mean erase counter: 0/0, WL threshold: 4096, image sequence number: 0
      [04.770]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 258048
      Creating dynamic volume env of size 258048
      Creating dynamic volume env-redund of size 258048
      Creating dynamic volume boot of size 4902912
      Creating dynamic volume rootfs of size 46448640
      Creating dynamic volume private of size 5419008
      Creating dynamic volume rootfs_data of size 23482368
      No size specified -> Using max size (22708224)
      [07.321]reset last volume size to 0xad40
      Creating dynamic volume UDISK of size 22708224
      [07.377]fill gap start: volume mbr sects 0x7f80
      [11.545]fill gap end: volume mbr
      [11.548]update partition map
      [11.562]logical area info: 468 258048 last_lba: 235871
      keypart write start: 0x20b74, sectors 0x2800
      flash exit
      [11.658]successed in erasing flash
      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)
      [11.703]CONFIG_AW_MTD_SPINAND 
      [11.705]MTD info (4)
      [11.707]pagesize: 0x1000
      [11.710]blksize: 0x40000
      [11.712]num  offset     bytes      name
      [11.715]0    0x00000000 0x00100000 boot0
      [11.719]1    0x00100000 0x00300000 uboot
      [11.723]2    0x00400000 0x00100000 secure_storage
      [11.727]3    0x00500000 0x07b00000 sys
      [11.731]MBR info (unalign):
      [11.733]partno   addr       sects      type       name
      [11.738]0        0x00000000 0x00008000 0x00000001 mbr
      [11.743]1        0x00008000 0x000001f8 0x00008000 boot-resource
      [11.748]2        0x000081f8 0x000001f8 0x00008000 env
      [11.753]3        0x000083f0 0x000001f8 0x00008000 env-redund
      [11.758]4        0x000085e8 0x0000248c 0x00008000 boot
      [11.763]5        0x0000aa74 0x00016100 0x00008000 rootfs
      [11.768]6        0x00020b74 0x00002800 0x00008000 private
      [11.773]7        0x00023374 0x0000b220 0x00008000 rootfs_data
      [11.779]8        0x0002e594 0x0000ad40 0x00008100 UDISK
      [11.784]ubi attach the last part of mtd device: NO.3
      [11.789]MBR info (align):
      [11.791]partno   addr       sects      type       name
      [11.796]0        0x00002800 0x000081f0 0x00000001 mbr
      [11.800]1        0x0000a9f0 0x000001f8 0x00008000 boot-resource
      [11.806]2        0x0000abe8 0x000001f8 0x00008000 env
      [11.811]3        0x0000ade0 0x000001f8 0x00008000 env-redund
      [11.816]4        0x0000afd8 0x00002568 0x00008000 boot
      [11.821]5        0x0000d540 0x00016260 0x00008000 rootfs
      [11.826]6        0x000237a0 0x00002958 0x00008000 private
      [11.831]7        0x000260f8 0x0000b328 0x00008000 rootfs_data
      [11.837]8        0x00031420 0x0000ad40 0x00008100 UDISK
      [11.842]ubi attach the last part of mtd device: NO.3
      [11.846]ubi attatch mtd, name: sys
      
      [11.850]ubi0: detaching mtd4
      [11.852]ubi0: mtd4 is detached
      [11.855]ubi0: attaching mtd4
      [12.076]ubi0: scanning is finished
      [12.085]ubi0: attached mtd4 (name "sys", size 123 MiB)
      [12.090]ubi0: PEB size: 262144 bytes (256 KiB), LEB size: 258048 bytes
      [12.096]ubi0: min./max. I/O unit sizes: 4096/4096, sub-page size 2048
      [12.102]ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
      [12.109]ubi0: good PEBs: 492, bad PEBs: 0, corrupted PEBs: 0
      [12.114]ubi0: user volume: 9, internal volumes: 1, max. volumes count: 128
      [12.121]ubi0: max/mean erase counter: 2/1, WL threshold: 4096, image sequence number: 0
      [12.128]ubi0: available PEBs: 0, total reserved PEBs: 492, PEBs reserved for bad PEB handling: 20
      [12.137]volume mbr existed, not create again
      [12.141]volume boot-resource existed, not create again
      [12.146]volume env existed, not create again
      [12.150]volume env-redund existed, not create again
      [12.154]volume boot existed, not create again
      [12.158]volume rootfs existed, not create again
      [12.163]volume private existed, not create again
      [12.167]volume rootfs_data existed, not create again
      [12.172]volume UDISK existed, not create again
      [12.512]fill gap start: volume mbr sects 0x7f80
      [16.679]fill gap end: volume mbr
      [16.682]update partition map
      [16.688]begin to download part
      [16.691]begin to download part boot-resource
      partdata hi 0x0
      partdata lo 0x14000
      sparse: bad magic
      [16.730]successed in writting part boot-resource
      [16.736]fill gap start: volume boot-resource sects 0x158
      [16.838]fill gap end: volume boot-resource
      origin_verify value = e6f75b5c, active_verify value = e6f75b5c
      [16.857]successed in verify part boot-resource
      [16.861]successed in download part boot-resource
      [16.865]begin to download part env
      partdata hi 0x0
      partdata lo 0x20000
      sparse: bad magic
      [16.906]successed in writting part env
      [16.911]fill gap start: volume env sects 0xf8
      [17.012]fill gap end: volume env
      origin_verify value = 46811025, active_verify value = 46811025
      [17.035]successed in verify part env
      [17.038]successed in download part env
      [17.042]begin to download part env-redund
      partdata hi 0x0
      partdata lo 0x20000
      sparse: bad magic
      [17.083]successed in writting part env-redund
      [17.089]fill gap start: volume env-redund sects 0xf8
      [17.190]fill gap end: volume env-redund
      origin_verify value = 46811025, active_verify value = 46811025
      [17.214]successed in verify part env-redund
      [17.218]successed in download part env-redund
      [17.222]begin to download part boot
      partdata hi 0x0
      partdata lo 0x43f800
      sparse: bad magic
      [18.675]successed in writting part boot
      [18.681]fill gap start: volume boot sects 0x290
      [18.783]fill gap end: volume boot
      origin_verify value = 78c1cc8, active_verify value = 78c1cc8
      [19.278]successed in verify part boot
      [19.281]successed in download part boot
      [19.285]begin to download part rootfs
      partdata hi 0x0
      partdata lo 0xfa0000
      sparse: bad magic
      [24.572]successed in writting part rootfs
      [24.578]fill gap start: volume rootfs sects 0xe400
      [24.880]fill gap end: volume rootfs
      origin_verify value = a9185c30, active_verify value = a9185c30
      [26.678]successed in verify part rootfs
      [26.681]successed in download part rootfs
      [26.686]successed in downloading part
      uboot size = 0x150000
      storage type = 0
      [26.752]uboot blk range [8-32)
      [26.755]download uboot to block 8 (11 blocks) len 1344K
      [27.162]download uboot to block 19 (11 blocks) len 1344K
      sunxi_sprite_deal_uboot ok
      [27.573]successed in downloading uboot
      [27.581]spinand_mtd_get_flash_info get spi-nand node from fdt
      dram para[0] = 3a8
      dram para[1] = 3
      dram para[2] = 7b7bfb
      dram para[3] = 0
      dram para[4] = 10d2
      dram para[5] = 800000
      dram para[6] = 1e14
      dram para[7] = 42
      dram para[8] = 20
      dram para[9] = 0
      dram para[10] = 4899d7
      dram para[11] = 1c241d0
      dram para[12] = a4073
      dram para[13] = b4787896
      dram para[14] = 0
      dram para[15] = 48484848
      dram para[16] = 48
      dram para[17] = 1620121e
      dram para[18] = 0
      dram para[19] = 0
      dram para[20] = 0
      dram para[21] = 340000
      dram para[22] = 46
      dram para[23] = b4006103
      dram para[24] = 0
      dram para[25] = 0
      dram para[26] = 0
      dram para[27] = 0
      dram para[28] = 0
      dram para[29] = 0
      dram para[30] = 0
      dram para[31] = 0
      storage type = 0
      [27.646]download boot0 to block 0 len 48K
      [27.665]download boot0 to block 1 len 48K
      [27.684]download boot0 to block 2 len 48K
      [27.704]download boot0 to block 3 len 48K
      [27.723]download boot0 to block 4 len 48K
      [27.742]download boot0 to block 5 len 48K
      [27.761]download boot0 to block 6 len 48K
      [27.780]download boot0 to block 7 len 48K
      [27.800]successed in downloading boot0
      CARD OK
      [27.804]sprite success 
      sprite_next_work=3
      next work 3
      SUNXI_UPDATE_NEXT_ACTION_SHUTDOWN
      [30.812][mmc]: mmc exit start
      [30.825][mmc]: mmc 2 cmd timeout 100 status 100
      [30.829][mmc]: smc 2 err, cmd 1,  RTO
      [30.832][mmc]: mmc 2 close bus gating and reset
      [30.837][mmc]: mmc card did not respond to voltage select!
      [30.842][mmc]: mmc 2 exit failed
      
      发布在 MR Series
      M
      msh410278586
    • 回复: 求助,T113 tina 如何使用SPI1烧写Nand Flash?

      @whycanservice 好的,谢谢,我看看这方面

      发布在 MR Series
      M
      msh410278586
    • 回复: 求助,T113 tina 如何使用SPI1烧写Nand Flash?

      @whycan 从sd卡烧写到Flash里
      !a01fc3f9-afbd-4e01-a29f-760c491e3b8a-image.png

      发布在 MR Series
      M
      msh410278586
    • 求助,T113 tina 如何使用SPI1烧写Nand Flash?

      求大佬指点一下,大致需要修改哪几点?让小弟少走一点弯路。

      发布在 MR Series
      M
      msh410278586
    • 回复: T113 tina GPADC怎么用来电压测量呀?

      @jr_online 好的,谢谢😊

      发布在 MR Series
      M
      msh410278586
    • 回复: T113 tina GPADC怎么用来电压测量呀?

      @jr_online 你好,这个问题解决了吗?

      发布在 MR Series
      M
      msh410278586
    • 回复: qt运行时报错The futex facility returned an unexpected error code.Aborted

      @theoldfisherman 更换了musl编译链就没问题了

      发布在 MR Series
      M
      msh410278586
    • 回复: T113-s3 CAN linux 下已调通

      @msh410278586 已经调通了,can芯片的电压不正常,正常后就没问题了。

      发布在 创龙科技专区
      M
      msh410278586
    • 回复: T113-s3 CAN linux 下已调通

      @lansecd
      你好,我按照上面修改,执行cansend can0 123#1122334455667788会报错,跪求大佬给看看吧!

      root@TinaLinux:/# cansend can0 123#1122334455667788
      interface = can0, family = 29, type = 3, proto = 1[   55.350220] sunxi_can 2504000.can can0: error warning interrupt
      [   55.360888] sunxi_can 2504000.can can0: bus error interrupt
      [   55.367103] sunxi_can 2504000.can can0: New error state: 1
      root@TinaLinux:/# ifconfig can0
      can0      Link encap:UNSPEC  HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00  
                UP RUNNING NOARP  MTU:16  Metric:1
                RX packets:1 errors:1 dropped:0 overruns:0 frame:0
                TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
                collisions:0 txqueuelen:10 
                RX bytes:8 (8.0 B)  TX bytes:0 (0.0 B)
                Interrupt:45 
      root@TinaLinux:/# ip -detail link show can0
      2: can0: <NOARP,UP,LOWER_UP,ECHO> mtu 16 qdisc pfifo_fast state UP mode DEFAULT group default qlen 10
          link/can  promiscuity 0 minmtu 0 maxmtu 0 
          can state ERROR-WARNING (berr-counter tx 183 rx 0) restart-ms 0 
      	  bitrate 125000 sample-point 0.875
      	  tq 500 prop-seg 6 phase-seg1 7 phase-seg2 2 sjw 1 brp 12
      	  sunxi_can: tseg1 1..16 tseg2 1..8 sjw 1..4 brp 1..64 brp_inc 1
      	  clock 24000000 numtxqueues 1 numrxqueues 1 gso_max_size 65536 gso_max_segs 65535 
      
      

      下面是启动信息

      [    0.000000] Booting Linux on physical CPU 0x0
      [    0.000000] Linux version 5.4.61 (t113@t113) (arm-openwrt-linux-muslgnueabi-gcc.bin (OpenWrt/CodeSourcery GCC 8.3.0 2021.08) 8.3.0, GNU ld (GNU Binutils) 2.28) #269 SMP PREEMPT Mon Oct 17 08:37:45 UTC 2022
      [    0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c5387d
      [    0.000000] CPU: div instructions available: patching division code
      [    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
      [    0.000000] OF: fdt: Machine model: sun8iw20
      [    0.000000] printk: bootconsole [earlycon0] enabled
      [    0.000000] Memory policy: Data cache writealloc
      [    0.000000] cma: Reserved 4 MiB at 0x47c00000
      [    0.000000] On node 0 totalpages: 32768
      [    0.000000]   Normal zone: 256 pages used for memmap
      [    0.000000]   Normal zone: 0 pages reserved
      [    0.000000]   Normal zone: 32768 pages, LIFO batch:7
      [    0.000000] psci: probing for conduit method from DT.
      [    0.000000] psci: PSCIv1.0 detected in firmware.
      [    0.000000] psci: Using standard PSCI v0.2 function IDs
      [    0.000000] psci: MIGRATE_INFO_TYPE not supported.
      [    0.000000] psci: SMC Calling Convention v1.0
      [    0.000000] percpu: Embedded 15 pages/cpu s30412 r8192 d22836 u61440
      [    0.000000] pcpu-alloc: s30412 r8192 d22836 u61440 alloc=15*4096
      [    0.000000] pcpu-alloc: [0] 0 [0] 1 
      [    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 32512
      [    0.000000] Kernel command line: earlyprintk=sunxi-uart,0x02500C00 clk_ignore_unused initcall_debug=0 console=ttyS3,115200 rootdelay=2 loglevel=8 root=/dev/mmcblk0p5 init=/pseudo_init partitions=boot-resource@mmcblk0p1:env@mmcblk0p2:env-redund@mmcblk0p3:boot@mmcblk0p4:rootfs@mmcblk0p5:private@mmcblk0p6:rootfs_data@mmcblk0p7:UDISK@mmcblk0p8 cma=4M snum= mac_addr= wifi_mac= bt_mac= specialstr= gpt=1 androidboot.mode=normal androidboot.hardware=sun8iw20p1 boot_type=2 androidboot.boot_type=2 gpt=1 uboot_message=2018.05-g2a1965a-dirty(07/10/2022-02:50:57) mbr_offset=1032192 disp_reserve=2457600,0x43f06000 androidboot.dramsize=128 
      [    0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes, linear)
      [    0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes, linear)
      [    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
      [    0.000000] Memory: 104088K/131072K available (6144K kernel code, 281K rwdata, 1624K rodata, 1024K init, 1168K bss, 22888K reserved, 4096K cma-reserved)
      [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
      [    0.000000] rcu: Preemptible hierarchical RCU implementation.
      [    0.000000] 	Tasks RCU enabled.
      [    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
      [    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
      [    0.000000] random: get_random_bytes called from start_kernel+0x258/0x3dc with crng_init=0
      [    0.000000] arch_timer: cp15 timer(s) running at 24.00MHz (phys).
      [    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
      [    0.000005] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
      [    0.008007] Switching to timer-based delay loop, resolution 41ns
      [    0.014187] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
      [    0.023900] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000)
      [    0.034266] pid_max: default: 32768 minimum: 301
      [    0.039007] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
      [    0.046346] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
      [    0.054661] CPU: Testing write buffer coherency: ok
      [    0.059860] /cpus/cpu@0 missing clock-frequency property
      [    0.065202] /cpus/cpu@1 missing clock-frequency property
      [    0.070539] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
      [    0.076701] Setting up static identity map for 0x40100000 - 0x40100060
      [    0.083355] rcu: Hierarchical SRCU implementation.
      [    0.088557] smp: Bringing up secondary CPUs ...
      [    0.094199] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
      [    0.094322] smp: Brought up 1 node, 2 CPUs
      [    0.104142] SMP: Total of 2 processors activated (96.00 BogoMIPS).
      [    0.110337] CPU: All CPU(s) started in SVC mode.
      [    0.115403] devtmpfs: initialized
      [    0.130531] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
      [    0.138635] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
      [    0.148749] pinctrl core: initialized pinctrl subsystem
      [    0.154915] NET: Registered protocol family 16
      [    0.160898] DMA: preallocated 256 KiB pool for atomic coherent allocations
      [    0.195317] rtc_ccu: sunxi ccu init OK
      [    0.201339] ccu: sunxi ccu init OK
      [    0.205167] r_ccu: sunxi ccu init OK
      [    0.228353] iommu: Default domain type: Translated 
      [    0.233437] sunxi iommu: irq = 24
      [    0.237604] SCSI subsystem initialized
      [    0.241619] usbcore: registered new interface driver usbfs
      [    0.247147] usbcore: registered new interface driver hub
      [    0.252569] usbcore: registered new device driver usb
      [    0.258353] Advanced Linux Sound Architecture Driver Initialized.
      [    0.265176] Bluetooth: Core ver 2.22
      [    0.268801] NET: Registered protocol family 31
      [    0.273237] Bluetooth: HCI device and connection manager initialized
      [    0.279633] Bluetooth: HCI socket layer initialized
      [    0.284524] Bluetooth: L2CAP socket layer initialized
      [    0.289593] Bluetooth: SCO socket layer initialized
      [    0.294730] pwm module init!
      [    0.298757] g2d 5410000.g2d: Adding to iommu group 0
      [    0.304012] G2D: rcq version initialized.major:251
      [    0.309628] clocksource: Switched to clocksource arch_sys_counter
      [    0.324253] sun8iw20-pinctrl 2000000.pinctrl: initialized sunXi PIO driver
      [    0.332880] sunxi udc is no enable
      [    0.336514] NET: Registered protocol family 2
      [    0.341638] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
      [    0.350072] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear)
      [    0.357739] TCP bind hash table entries: 1024 (order: 1, 8192 bytes, linear)
      [    0.364819] TCP: Hash tables configured (established 1024 bind 1024)
      [    0.371276] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
      [    0.377835] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
      [    0.385028] NET: Registered protocol family 1
      [    0.391574] workingset: timestamp_bits=30 max_order=15 bucket_order=0
      [    0.403041] squashfs: version 4.0 (2009/01/31) Phillip Lougher
      [    0.409014] ntfs: driver 2.1.32 [Flags: R/W].
      [    0.448760] io scheduler mq-deadline registered
      [    0.453322] io scheduler kyber registered
      [    0.458352] [DISP]disp_module_init
      [    0.462326] disp 5000000.disp: Adding to iommu group 0
      [    0.467981] [DISP] disp_init,line:2386:
      [    0.467986] smooth display screen:0 type:1 mode:4
      [    0.493181] display_fb_request,fb_id:0
      [    0.502267] Freeing logo buffer memory: 2400K
      [    0.507097] disp_al_manager_apply ouput_type:1
      [    0.509886] [DISP]disp_module_init finish
      [    0.511722] [DISP] lcd_clk_config,line:744:
      [    0.511733] disp 0, clk: pll(364000000),clk(364000000),dclk(52000000) dsi_rate(364000000)
      [    0.511733]      clk real:pll(360000000),clk(360000000),dclk(51428571) dsi_rate(0)
      [    0.516494] sunxi_sid_init()551 - insmod ok
      [    0.520032] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pd not found, using dummy regulator
      [    0.536495] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pe not found, using dummy regulator
      [    0.559881] uart uart0: uart0 supply uart not found, using dummy regulator
      [    0.567000] uart0: ttyS0 at MMIO 0x2500000 (irq = 34, base_baud = 1500000) is a SUNXI
      [    0.575522] uart uart3: uart3 supply uart not found, using dummy regulator
      [    0.582711] uart3: ttyS3 at MMIO 0x2500c00 (irq = 35, base_baud = 1500000) is a SUNXI
      [    0.590609] sw_console_setup()1808 - console setup baud 115200 parity n bits 8, flow n
      ÿ[    0.598592] printk: console [ttyS3] enabled
      [    0.598592] printk: console [ttyS3] enabled
      [    0.607514] printk: bootconsole [earlycon0] disabled
      [    0.607514] printk: bootconsole [earlycon0] disabled
      [    0.618662] uart uart4: uart4 supply uart not found, using dummy regulator
      [    0.626640] uart4: ttyS4 at MMIO 0x2501000 (irq = 36, base_baud = 1500000) is a SUNXI
      [    0.635984] uart uart5: uart5 supply uart not found, using dummy regulator
      [    0.643957] uart5: ttyS5 at MMIO 0x2501400 (irq = 37, base_baud = 1500000) is a SUNXI
      [    0.653437] misc dump reg init
      [    0.658160] dma-buf: Running sanitycheck
      [    0.662578] dma-buf: Running dma_fence
      [    0.666755] sizeof(dma_fence)=48
      [    0.670458] dma-buf: Running dma_fence/sanitycheck
      [    0.675832] dma-buf: Running dma_fence/test_signaling
      [    0.681480] dma-buf: Running dma_fence/test_add_callback
      [    0.687402] dma-buf: Running dma_fence/test_late_add_callback
      [    0.693829] dma-buf: Running dma_fence/test_rm_callback
      [    0.699668] dma-buf: Running dma_fence/test_late_rm_callback
      [    0.705984] dma-buf: Running dma_fence/test_status
      [    0.711336] dma-buf: Running dma_fence/test_error
      [    0.716579] dma-buf: Running dma_fence/test_wait
      [    0.721738] dma-buf: Running dma_fence/test_wait_timeout
      [    0.759643] dma-buf: Running dma_fence/test_stub
      [    0.764809] dma-buf: Running dma_fence/race_signal_callback
      [    0.839640] thread_signal_callback[0] completed 36602 passes, 50 misses
      [    0.847046] thread_signal_callback[1] completed 36579 passes, 27 misses
      [    0.919646] thread_signal_callback[0] completed 40641 passes, 40638 misses
      [    0.927340] thread_signal_callback[1] completed 40629 passes, 40628 misses
      [    0.935570] libphy: Fixed MDIO Bus: probed
      [    0.940183] CAN device driver interface
      [    0.944573] usbcore: registered new interface driver usb_8dev
      [    0.951066] usbcore: registered new interface driver ems_usb
      [    0.957409] usbcore: registered new interface driver esd_usb2
      [    0.963883] usbcore: registered new interface driver gs_usb
      [    0.970206] usbcore: registered new interface driver kvaser_usb
      [    0.976838] usbcore: registered new interface driver mcba_usb
      [    0.983303] usbcore: registered new interface driver peak_usb
      [    0.989756] usbcore: registered new interface driver ucan
      [    0.996084] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pb not found, using dummy regulator
      [    1.007874] sunxi_can 2504000.can: device registered ( base=(ptrval), irq=45 )
      [    1.016713] sunxi_can 2504400.can: device registered ( base=(ptrval), irq=46 )
      [    1.025225] usbcore: registered new interface driver cdc_ether
      [    1.031806] usbcore: registered new interface driver rndis_host
      [    1.038444] usbcore: registered new interface driver qmi_wwan
      [    1.044864] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
      [    1.052153] sunxi-ehci: EHCI SUNXI driver
      [    1.057031] get ehci0-controller wakeup-source is fail.
      [    1.062881] sunxi ehci0-controller is no enable
      [    1.067934] sunxi-ehci 4101000.ehci0-controller: init_sunxi_hci is fail
      [    1.075342] sunxi-ehci: probe of 4101000.ehci0-controller failed with error -1
      [    1.083470] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
      [    1.090403] sunxi-ohci: OHCI SUNXI driver
      [    1.095277] get ohci0-controller wakeup-source is fail.
      [    1.101126] sunxi ohci0-controller is no enable
      [    1.106178] sunxi-ohci 4101400.ohci0-controller: init_sunxi_hci is fail
      [    1.113586] sunxi-ohci: probe of 4101400.ohci0-controller failed with error -1
      [    1.121771] usbcore: registered new interface driver cdc_wdm
      [    1.128143] usbcore: registered new interface driver usb-storage
      [    1.134970] usbcore: registered new interface driver usbserial_generic
      [    1.142291] usbserial: USB Serial support registered for generic
      [    1.149016] usbcore: registered new interface driver option
      [    1.155266] usbserial: USB Serial support registered for GSM modem (1-port)
      [    1.163182] i2c /dev entries driver
      [    1.167142] sunxi cedar version 1.1
      [    1.171223] sunxi-cedar 1c0e000.ve: Adding to iommu group 0
      [    1.177457] VE: failed to get alias ve id
      [    1.177457] 
      [    1.183585] VE: sunxi_cedar_probe power-domain init!!!
      [    1.189316] VE: install start!!!
      [    1.189316] 
      [    1.194830] VE: cedar-ve the get irq is 43
      [    1.194830] 
      [    1.201248] VE: ve_debug_proc_info:(ptrval), data:(ptrval), lock:(ptrval)
      [    1.201248] 
      [    1.210485] VE: install end!!!
      [    1.210485] 
      [    1.215531] VE: sunxi_cedar_probe
      [    1.219411] Bluetooth: HCI UART driver ver 2.3
      [    1.224381] Bluetooth: HCI UART protocol H4 registered
      [    1.230132] Bluetooth: HCI UART protocol BCSP registered
      [    1.236052] Bluetooth: HCI UART protocol (null) registered
      [    1.242176] Bluetooth: HCI Realtek H5 protocol initialized
      [    1.249722] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pc not found, using dummy regulator
      [    1.260910] sunxi-mmc 4022000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.22 2021-12-20 15:40)
      [    1.270826] sunxi-mmc 4022000.sdmmc: ***ctl-spec-caps*** 308
      [    1.277195] sunxi-mmc 4022000.sdmmc: No vmmc regulator found
      [    1.283527] sunxi-mmc 4022000.sdmmc: No vqmmc regulator found
      [    1.289954] sunxi-mmc 4022000.sdmmc: No vdmmc regulator found
      [    1.296359] sunxi-mmc 4022000.sdmmc: No vd33sw regulator found
      [    1.302873] sunxi-mmc 4022000.sdmmc: No vd18sw regulator found
      [    1.309381] sunxi-mmc 4022000.sdmmc: No vq33sw regulator found
      [    1.315895] sunxi-mmc 4022000.sdmmc: No vq18sw regulator found
      [    1.322450] sunxi-mmc 4022000.sdmmc: Cann't get pin bias hs pinstate,check if needed
      [    1.331891] sunxi-mmc 4022000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B
      [    1.355582] sunxi-mmc 4022000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
      [    1.379760] sunxi-mmc 4022000.sdmmc: detmode:alway in(non removable)
      [    1.386864] sunxi-mmc 4022000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
      [    1.399545] sunxi-mmc 4020000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.22 2021-12-20 15:40)
      [    1.401471] sunxi-mmc 4022000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
      [    1.409459] sunxi-mmc 4020000.sdmmc: ***ctl-spec-caps*** 8
      [    1.422177] sunxi-mmc 4022000.sdmmc: sdc set ios:clk 400000Hz bm OD pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
      [    1.426970] sunxi-mmc 4020000.sdmmc: No vmmc regulator found
      [    1.444805] sunxi-mmc 4020000.sdmmc: No vqmmc regulator found
      [    1.451222] sunxi-mmc 4020000.sdmmc: No vdmmc regulator found
      [    1.457627] sunxi-mmc 4020000.sdmmc: No vd33sw regulator found
      [    1.464152] sunxi-mmc 4020000.sdmmc: No vd18sw regulator found
      [    1.464594] sunxi-mmc 4022000.sdmmc: sdc set ios:clk 400000Hz bm OD pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
      [    1.470666] sunxi-mmc 4020000.sdmmc: No vq33sw regulator found
      [    1.470672] sunxi-mmc 4020000.sdmmc: No vq18sw regulator found
      [    1.482289] sunxi-mmc 4022000.sdmmc: sdc set ios:clk 400000Hz bm OD pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
      [    1.489147] sunxi-mmc 4020000.sdmmc: Got CD GPIO
      [    1.498271] sunxi-mmc 4022000.sdmmc: sdc set ios:clk 400000Hz bm OD pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
      [    1.523957] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B
      [    1.535074] sunxi-mmc 4020000.sdmmc: no vqmmc,Check if there is regulator
      [    1.538929] sunxi-mmc 4022000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
      [    1.555182] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
      [    1.566564] sunxi-mmc 4022000.sdmmc: avoid to switch power_off_notification to POWERED_ON(0x01)
      [    1.576457] sunxi-mmc 4022000.sdmmc: avoid to switch power_off_notification to POWERED_ON(0x01)
      [    1.579543] sunxi-mmc 4020000.sdmmc: detmode:gpio irq
      [    1.586190] sunxi-mmc 4022000.sdmmc: avoid to switch power_off_notification to POWERED_ON(0x01)
      [    1.591848] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B
      [    1.601536] sunxi-mmc 4022000.sdmmc: avoid to switch power_off_notification to POWERED_ON(0x01)
      [    1.613112] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pg not found, using dummy regulator
      [    1.622681] sunxi-mmc 4022000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing MMC-HS(SDR20) dt B
      [    1.633572] sunxi-mmc 4021000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.22 2021-12-20 15:40)
      [    1.645285] sunxi-mmc 4022000.sdmmc: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 1 timing MMC-HS(SDR20) dt B
      [    1.654762] sunxi-mmc 4021000.sdmmc: ***ctl-spec-caps*** 8
      [    1.666549] sunxi-mmc 4022000.sdmmc: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 4 timing MMC-HS(SDR20) dt B
      [    1.672482] sunxi-mmc 4021000.sdmmc: No vmmc regulator found
      [    1.684415] sunxi-mmc 4022000.sdmmc: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 4 timing MMC-DDR52 dt B
      [    1.690522] sunxi-mmc 4021000.sdmmc: No vqmmc regulator found
      [    1.690527] sunxi-mmc 4021000.sdmmc: No vdmmc regulator found
      [    1.690534] sunxi-mmc 4021000.sdmmc: No vd33sw regulator found
      [    1.702072] mmc0: new DDR MMC card at address 0001
      [    1.708284] sunxi-mmc 4021000.sdmmc: No vd18sw regulator found
      [    1.708292] sunxi-mmc 4021000.sdmmc: No vq33sw regulator found
      [    1.715679] mmcblk0: mmc0:0001 4FTE4R 3.64 GiB 
      [    1.721249] sunxi-mmc 4021000.sdmmc: No vq18sw regulator found
      [    1.726849] mmcblk0rpmb: mmc0:0001 4FTE4R partition 3 512 KiB, chardev (247:0)
      [    1.733136] sunxi-mmc 4021000.sdmmc: Cann't get pin bias hs pinstate,check if needed
      [    1.746127]  mmcblk0: p1 p2 p3 p4 p5 p6 p7 p8
      [    1.773500] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B
      [    1.784638] sunxi-mmc 4021000.sdmmc: no vqmmc,Check if there is regulator
      [    1.804764] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
      [    1.828936] sunxi-mmc 4021000.sdmmc: detmode:manually by software
      [    1.836047] sunxi-mmc 4021000.sdmmc: smc 2 p1 err, cmd 52, RE !!
      [    1.836357] exFAT: Version 1.3.0
      [    1.846646] sunxi-mmc 4021000.sdmmc: smc 2 p1 err, cmd 52, RE !!
      [    1.853377] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
      [    1.865528] NET: Registered protocol family 10
      [    1.871414] Segment Routing with IPv6
      [    1.875614] NET: Registered protocol family 17
      [    1.880699] NET: Registered protocol family 15
      [    1.885759] can: controller area network core (rev 20170425 abi 9)
      [    1.892756] NET: Registered protocol family 29
      [    1.897740] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
      [    1.899658] can: raw protocol (rev 20170425)
      [    1.914065] sunxi-mmc 4021000.sdmmc: smc 2 p1 err, cmd 5, RE !!
      [    1.920694] sunxi-mmc 4021000.sdmmc: smc 2 p1 err, cmd 5, RE !!
      [    1.927307] sunxi-mmc 4021000.sdmmc: smc 2 p1 err, cmd 5, RE !!
      [    1.933936] sunxi-mmc 4021000.sdmmc: smc 2 p1 err, cmd 5, RE !!
      [    1.933963] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B
      [    1.940698] Bluetooth: RFCOMM TTY layer initialized
      [    1.957102] Bluetooth: RFCOMM socket layer initialized
      [    1.962874] Bluetooth: RFCOMM ver 1.11
      [    1.967671] Registering SWP/SWPB emulation handler
      [    1.987180] sunxi-i2c sunxi-i2c2: sunxi-i2c2 supply twi not found, using dummy regulator
      [    1.997141] sunxi-i2c sunxi-i2c2: probe success
      [    2.003092] sunxi udc is no enable
      [    2.007224] get ehci0-controller wakeup-source is fail.
      [    2.013104] sunxi ehci0-controller is no enable
      [    2.018157] sunxi-ehci 4101000.ehci0-controller: init_sunxi_hci is fail
      [    2.025575] sunxi-ehci: probe of 4101000.ehci0-controller failed with error -1
      [    2.033909] get ohci0-controller wakeup-source is fail.
      [    2.039786] sunxi ohci0-controller is no enable
      [    2.044840] sunxi-ohci 4101400.ohci0-controller: init_sunxi_hci is fail
      [    2.052248] sunxi-ohci: probe of 4101400.ohci0-controller failed with error -1
      [    2.063396] clk: Not disabling unused clocks
      [    2.068167] ALSA device list:
      [    2.071684] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
      [    2.081332]   No soundcards found.
      [    2.081359] alloc_fd: slot 0 not NULL!
      [    2.085154] cfg80211: failed to load regulatory.db
      [    2.094907] Waiting 2 sec before mounting root device...
      [    4.121191] random: fast init done
      [    4.126824] VFS: Mounted root (squashfs filesystem) readonly on device 179:5.
      [    4.136498] devtmpfs: mounted
      [    4.140960] Freeing unused kernel memory: 1024K
      [    4.159792] Run /pseudo_init as init process
      mount: mounting none on /dev failed: Resource busy
      [    4.418421] EXT4-fs: Warning: mounting with data=journal disables delayed allocation and O_DIRECT support!
      [    4.431816] EXT4-fs (mmcblk0p7): mounted filesystem with journalled data mode. Opts: data=journal
      can't run '/etc/preinit': No such file or directory
      mount: mounting proc on /proc failed: Resource busy
      mount: mounting tmpfs on /run failed: No such file or directory
      hostname: can't open '/etc/hostname': No such file or directory
      ------run rc.preboot file-----
      [    4.586990] EXT4-fs (mmcblk0p8): mounted filesystem with ordered data mode. Opts: (null)
      ------run rc.modules file-----
      insmod: can't insert '/lib/modules/5.4.61/usb-storage.ko': No such file or directory
      [    4.611946] sunxi_gpadc_init,2151, success
      [    4.616831] sunxi_gpadc_setup: get channel scan data failed
      [    4.623430] input: sunxi-gpadc0 as /devices/virtual/input/input0
      insmod: can't insert '/lib/modules/5.4.61/8723ds.ko': Operation not permitted
      [    9.173522] random: wpa_supplicant: uninitialized urandom read (3 bytes read)
      [    9.181533] random: wpa_supplicant: uninitialized urandom read (1024 bytes read)
      Successfully initialized wpa_supplicant
      Could not read interface wlan0 flags: No such device
      nl80211: Driver does not support authentication/association or connect commands
      nl80211: deinit ifname=wlan0 disabled_11b_rates=0
      Could not read interface wlan0 flags: No such device
      wlan0: Failed to initialize driver interface
      ------run rc.final file-----
      Trying to connect to SWUpdate...
      mount: mounting /dev/mmcblk0p1 on /mnt/extsd failed: No such file or directory
      
      
      BusyBox v1.27.2 () built-in shell (ash)
      
      ------run profile file-----
       _____  _              __     _
      |_   _||_| ___  _ _   |  |   |_| ___  _ _  _ _
        | |   _ |   ||   |  |  |__ | ||   || | ||_'_|
        | |  | || | || _ |  |_____||_||_|_||___||_,_|
        |_|  |_||_|_||_|_|  Tina is Based on OpenWrt!
       ----------------------------------------------
       Tina Linux (Neptune, 5C1C9C53)
       ----------------------------------------------
      nodev	debugfs
      [    9.347500] get ctp_name is fail, -22
      [    9.351865] get ctp_power is fail, -22
      [    9.356191] get ctp_power_ldo_vol is fail, -22
      [    9.361883] sunxi_ctp_startup: ctp_power_io is invalid.
      [    9.367829] get ctp_gesture_wakeup fail, no gesture wakeup
      [    9.374269] gt9xxnew_ts 2-005d: 2-005d supply ctp not found, using dummy regulator
      [    9.379695] file system registered
      swu_param: ####
      swu_software: ####
      swu_mode: ####
      no swupdate_cmd to run, wait for next swupdate
      sh: write error: No such device
      [    9.420072] read descriptors
      [    9.423300] read strings
      [    9.545816] sunxi-i2c sunxi-i2c2: drv-mode: dma read data end
      [    9.579879] input: gt9xxnew_ts as /devices/virtual/input/input1
      [    9.639084] sunxi_can 2504000.can can0: setting BITTIMING=0x001c000b
      [    9.646388] IPv6: ADDRCONF(NETDEV_CHANGE): can0: link becomes ready
      root@TinaLinux:/# [   16.193296] random: crng init done
      
      root@TinaLinux:/# 
      root@TinaLinux:/# 
      root@TinaLinux:/# cansend can0 123#1122334455667788
      interface = can0, family = 29, type = 3, proto = 1[   30.130429] sunxi_can 2504000.can can0: error warning interrupt
      [   30.141054] sunxi_can 2504000.can can0: bus error interrupt
      [   30.147269] sunxi_can 2504000.can can0: New error state: 1
      
      发布在 创龙科技专区
      M
      msh410278586
    • 回复: t113使用tina里面的add-rootfs-demo功能导致无法找到根文件系统

      @yy_fly 看看压缩的格式是否一致,你这个是xz的

      发布在 MR Series
      M
      msh410278586
    • qt运行时报错The futex facility returned an unexpected error code.Aborted

      用tina编译的qt ,分辨交叉编译了5.12.6 和5.12.9版本,运行qt程序时都报错:
      The futex facility returned an unexpected error cod
      29e7d53a-1d5f-47c3-9d8e-5d5d55f64513-image.png
      编译链用的是
      toolchain-sunxi-glibc
      0171bf0d-8221-44d4-b18f-0156cb985d3e-image.png
      也参考了论坛上的文章!
      https://bbs.aw-ol.com/topic/1836/v853开发板试用-编译qt测试下/2
      求大佬们给看看!!

      发布在 MR Series
      M
      msh410278586
    • 回复: T113-S3 Longan SDK怎么加驱动?

      @mangogeek 大佬,新的sdk支持CAN了吗

      发布在 MR Series
      M
      msh410278586
    • 1 / 1