已有固件板子烧写新固件时设备无法连接
-
按此方法烧写,软件识别不到我的板子,有大佬知道怎么解决吗?
-
-
安装全志USB驱动那些事
https://bbs.aw-ol.com/topic/1240/share/1 -
@yuzukitsuru 我照着改了一下,然后现在烧写的时候有新的问题
同时adb识别不到我的板子了
-
@lumen 进度条有没有动呢?
-
@whycan 动到百分之七就失败,每次都是
-
@lumen
接上调试串口,看看上面的日志。 -
我这里7%失败是读取芯片错误,插上串口看看日志
-
@yuzukitsuru 大佬,你能细说一下怎么查看日志嘛?之前一直在adb shell上操作。
-
@lumen 在 已有固件板子烧写新固件时设备无法连接 中说:
@yuzukitsuru 大佬,你能细说一下怎么查看日志嘛?之前一直在adb shell上操作。
-
@xiaowenge 请问我串口连接成功之后,下载了CH341SER串口驱动,波特率改成115200,超级终端怎么没反应
-
@lumen 现在试试刷系统,应该会有输出
-
@yuzukitsuru 请问具体怎么操作,真的麻烦了
-
@lumen 就像上面之前刷系统一样,看看7%的时候出错的输出,然后发上来
-
@yuzukitsuru 我还是没懂,请问看哪里的输出?
-
@lumen 刷写系统的时候串口会输出数据,看那个输出就行了
比如这个后面的就是串口输出
-
@yuzukitsuru 我超级终端没反应
-
@lumen 看一下是不是tx和rx插反了
-
@yuzukitsuru
没插反 -
@yuzukitsuru 大佬,我昨天设备出故障之前,做了个操作
我电脑之前有两个同名的USB Device(VID_1f3a_PID_efe8) 但其中一个标了感叹号,,我就把那个给删了 我记着好像是这之后就出问题了 这个有什么影响吗请问 -
@lumen 你居然有版本这么老的哪吒开发板
-
@xiaowenge 学校的
-
@yuzukitsuru 大佬,我串口有显示了,帮我看看是哪的问题,谢啦
[860]fes begin commit:43b0f57 [863]set pll start [865]periph0 has been enabled [868]set pll end [956][pmu]: bus read error [958]board init ok [960]beign to init dram [962]DRAM only have internal ZQ!! [965]get_pmu_exist() = -1 [968]ddr_efuse_type: 0x0 [971][AUTO DEBUG] single rank and full DQ! [975]ddr_efuse_type: 0x0 [978][AUTO DEBUG] rank 0 row = 15 [981][AUTO DEBUG] rank 0 bank = 8 [984][AUTO DEBUG] rank 0 page size = 2 KB [988]DRAM BOOT DRIVE INFO: V0.24 [991]DRAM CLK = 792 MHz [993]DRAM Type = 3 (2:DDR2,3:DDR3) [996]DRAMC ZQ value: 0x7b7bfb [999]DRAM ODT value: 0x42. [1002]ddr_efuse_type: 0x0 [1005]DRAM SIZE =512 M [1008]DRAM simple test OK. [1011]init dram ok U-Boot 2018.05-gaf9d250 (Apr 14 2021 - 01:55:48 +0000) Allwinner Technology [03.875]DRAM: 512 MiB [03.879]Relocation Offset is: 1def0000 [03.902]secure enable bit: 0 [03.906]CPU=1008 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=100Mhz MBus=300Mhz [03.912]flash init start [03.914]workmode = 16,storage type = 0 try card 2 set card number 2 get card number 2 [03.922][mmc]: mmc driver ver uboot2018:2021-03-16 11:23:00-1 [03.931][mmc]: get sdc_type fail and use default host:tm4. [03.955][mmc]: Is not Boot mode! [03.958][mmc]: SUNXI SDMMC Controller Version:0x50310 [03.969][mmc]: ************Try SD card 2************ [03.974][mmc]: mmc 2 cmd timeout 100 status 100 [03.978][mmc]: smc 2 err, cmd 8, RTO [03.982][mmc]: mmc 2 close bus gating and reset [03.987][mmc]: mmc 2 cmd timeout 100 status 100 [03.991][mmc]: smc 2 err, cmd 55, RTO [03.994][mmc]: mmc 2 close bus gating and reset [03.999][mmc]: ************Try MMC card 2************ [04.007][mmc]: mmc 2 cmd timeout 100 status 100 [04.012][mmc]: smc 2 err, cmd 1, RTO [04.015][mmc]: mmc 2 close bus gating and reset [04.019][mmc]: Card did not respond to voltage select! [04.024][mmc]: ************SD/MMC 2 init error!************ [04.029][mmc]: mmc init product failed MMC init failed try emmc fail [04.043]sunxi-spinand: AW SPINand MTD Layer Version: 1.5 20200407 [04.049]sunxi-spinand-phy: AW SPINand Phy Layer Version: 1.9 20200306 [04.095]sunxi-spinand-phy: request spi0 gpio ok [04.099]sunxi-spinand-phy: request general tx dma channel ok! [04.105]sunxi-spinand-phy: request general rx dma channel ok! [04.110]sunxi-spinand-phy: set spic0 clk to 20 Mhz [04.115]sunxi-spinand-phy: init spic0 clk ok [04.119]sunxi-spinand-phy: not detect any munufacture from id table [04.132]sunxi-spinand-phy: get spi-nand Model from fdt fail [04.137]sunxi-spinand-phy: get phy info from fdt fail [04.142]sunxi-spinand-phy: not detect munufacture from fdt [04.147]sunxi-spinand-phy: detect munufacture from id table: Mxic [04.153]sunxi-spinand-phy: detect spinand id: ff0326c2 ffffffff [04.159]sunxi-spinand-phy: ========== arch info ========== [04.164]sunxi-spinand-phy: Model: MX35LF2GE4AD [04.169]sunxi-spinand-phy: Munufacture: Mxic [04.174]sunxi-spinand-phy: DieCntPerChip: 1 [04.178]sunxi-spinand-phy: BlkCntPerDie: 2048 [04.183]sunxi-spinand-phy: PageCntPerBlk: 64 [04.188]sunxi-spinand-phy: SectCntPerPage: 4 [04.192]sunxi-spinand-phy: OobSizePerPage: 64 [04.197]sunxi-spinand-phy: BadBlockFlag: 0x1 [04.201]sunxi-spinand-phy: OperationOpt: 0x7 [04.206]sunxi-spinand-phy: MaxEraseTimes: 65000 [04.211]sunxi-spinand-phy: EccFlag: 0x2 [04.215]sunxi-spinand-phy: EccType: 8 [04.220]sunxi-spinand-phy: EccProtectedType: 3 [04.224]sunxi-spinand-phy: ======================================== [04.230]sunxi-spinand-phy: [04.232]sunxi-spinand-phy: ========== physical info ========== [04.238]sunxi-spinand-phy: TotalSize: 256 M [04.242]sunxi-spinand-phy: SectorSize: 512 B [04.246]sunxi-spinand-phy: PageSize: 2 K [04.250]sunxi-spinand-phy: BlockSize: 128 K [04.254]sunxi-spinand-phy: OOBSize: 64 B [04.259]sunxi-spinand-phy: ======================================== [04.265]sunxi-spinand-phy: [04.267]sunxi-spinand-phy: ========== logical info ========== [04.272]sunxi-spinand-phy: TotalSize: 256 M [04.277]sunxi-spinand-phy: SectorSize: 512 B [04.281]sunxi-spinand-phy: PageSize: 4 K [04.285]sunxi-spinand-phy: BlockSize: 256 K [04.289]sunxi-spinand-phy: OOBSize: 128 B [04.293]sunxi-spinand-phy: ======================================== [04.306]sunxi-spinand-phy: MX35LF2GE4AD reset rx bit width to 1 [04.312]sunxi-spinand-phy: MX35LF2GE4AD reset tx bit width to 1 [04.318]sunxi-spinand-phy: set spic0 clk to 100 Mhz [04.322]sunxi-spinand-phy: block lock register: 0x00 [04.327]sunxi-spinand-phy: feature register: 0x11 [04.331]sunxi-spinand-phy: sunxi physic nand init end [04.340]Loading Environment from SUNXI_FLASH... OK [04.347]try to burn key [04.350]out of usb burn from boot: not boot mode Hit any key to stop autoboot: 0 sunxi work mode=0x10 run usb efex delay time 2500 weak:otg_phy_config usb init ok set address 0x9 set address 0x9 ok SUNXI_EFEX_ERASE_TAG erase_flag = 0x0 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 :0x1f8 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 :0x3f0 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 :0x5e8 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 :0x7e0 part[3] lenlo :0x50b8 part[3] user_type :32768 part[3] keydata :0 part[3] ro :0 part[4] name :rootfs part[4] classname :DISK part[4] addrlo :0x5898 part[4] lenlo :0xc8d0 part[4] user_type :32768 part[4] keydata :0 part[4] ro :0 part[5] name :dsp0 part[5] classname :DISK part[5] addrlo :0x12168 part[5] lenlo :0x1f8 part[5] user_type :32768 part[5] keydata :0 part[5] ro :0 part[6] name :recovery part[6] classname :DISK part[6] addrlo :0x12360 part[6] lenlo :0x6e40 part[6] user_type :32768 part[6] keydata :0 part[6] ro :0 part[7] name :UDISK part[7] classname :DISK part[7] addrlo :0x191a0 part[7] lenlo :0x0 part[7] user_type :0 part[7] keydata :0 part[7] ro :0 total part: 9 mbr 0, 1f8, 8000 boot-resource 1, 1f8, 8000 env 2, 1f8, 8000 env-redund 3, 1f8, 8000 boot 4, 50b8, 8000 rootfs 5, c8d0, 8000 dsp0 6, 1f8, 8000 recovery 7, 6e40, 8000 UDISK 8, 0, 0 [07.475]erase blk 0 to blk 32 need erase flash: 0 [07.544]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 0x0fb00000 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.597]MTD info (4) [07.599]pagesize: 0x1000 [07.601]blksize: 0x40000 [07.604]num offset bytes name [07.607]0 0x00000000 0x00100000 boot0 [07.611]1 0x00100000 0x00300000 uboot [07.614]2 0x00400000 0x00100000 secure_storage [07.619]3 0x00500000 0x0fb00000 sys [07.622]ubi attach the last part of mtd device: NO.3 [08.037]ubi0: attaching mtd4 [08.589]ubi0: scanning is finished [08.612]ubi0 error: check_av: bad attaching information, error 1 [08.617]Volume attaching information dump: [08.621] vol_id 1 [08.623] highest_lnum 5 [08.626] leb_count 3 [08.628] compat 0 [08.631] vol_type 3 [08.633] used_ebs 0 [08.635] last_data_size 0 [08.638] data_pad 0 Volume information dump: vol_id 1 reserved_pebs 1 alignment 1 data_pad 0 vol_type 3 name_len 13 usable_leb_size 258048 used_ebs 1 used_bytes 258048 last_eb_bytes 258048 corrupted 0 upd_marker 0 name boot-resource [08.669]ubi0 error: ubi_attach_mtd_dev: failed to attach mtd4, error -22 [08.676]UBI error: cannot attach mtd4 [08.679]UBI error: cannot initialize UBI, error -22 UBI init error 22 Please check, if the correct MTD partition is used (size big enough?) [08.691]ubi part sys err ! no part need to protect user data [08.697]erase blk 0 to blk 32 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 0x0fb00000 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.803]MTD info (4) [08.805]pagesize: 0x1000 [08.807]blksize: 0x40000 [08.810]num offset bytes name [08.813]0 0x00000000 0x00100000 boot0 [08.817]1 0x00100000 0x00300000 uboot [08.820]2 0x00400000 0x00100000 secure_storage [08.825]3 0x00500000 0x0fb00000 sys [08.828]MBR info (unalign): [08.831]partno addr sects type name [08.836]0 0x00000000 0x000001f8 0x00000001 mbr [08.840]1 0x000001f8 0x000001f8 0x00008000 boot-resource [08.846]2 0x000003f0 0x000001f8 0x00008000 env [08.851]3 0x000005e8 0x000001f8 0x00008000 env-redund [08.856]4 0x000007e0 0x000050b8 0x00008000 boot [08.861]5 0x00005898 0x0000c8d0 0x00008000 rootfs [08.866]6 0x00012168 0x000001f8 0x00008000 dsp0 [08.871]7 0x00012360 0x00006e40 0x00008000 recovery [08.876]8 0x000191a0 0x00000000 0x00000000 UDISK [08.881]ubi attach the last part of mtd device: NO.3 [08.886]MBR info (align): [08.888]partno addr sects type name [08.893]0 0x00002800 0x000001f8 0x00000001 mbr [08.898]1 0x000029f8 0x000001f8 0x00008000 boot-resource [08.903]2 0x00002bf0 0x000001f8 0x00008000 env [08.908]3 0x00002de8 0x000001f8 0x00008000 env-redund [08.914]4 0x00002fe0 0x000050b8 0x00008000 boot [08.918]5 0x00008098 0x0000c8d0 0x00008000 rootfs [08.923]6 0x00014968 0x000001f8 0x00008000 dsp0 [08.928]7 0x00014b60 0x00006e40 0x00008000 recovery [08.933]8 0x0001b9a0 0x00000000 0x00000000 UDISK [08.938]ubi attach the last part of mtd device: NO.3 [08.943]ubi attatch mtd, name: sys [08.946]ubi0: attaching mtd4 [09.498]ubi0: scanning is finished [09.521]ubi0 error: check_av: bad attaching information, error 1 [09.527]Volume attaching information dump: [09.531] vol_id 1 [09.533] highest_lnum 5 [09.535] leb_count 3 [09.538] compat 0 [09.540] vol_type 3 [09.542] used_ebs 0 [09.545] last_data_size 0 [09.547] data_pad 0 Volume information dump: vol_id 1 reserved_pebs 1 alignment 1 data_pad 0 vol_type 3 name_len 13 usable_leb_size 258048 used_ebs 1 used_bytes 258048 last_eb_bytes 258048 corrupted 0 upd_marker 0 name boot-resource [09.578]ubi0 error: ubi_attach_mtd_dev: failed to attach mtd4, error -22 [09.585]UBI error: cannot attach mtd4 [09.588]UBI error: cannot initialize UBI, error -22 UBI init error 22 Please check, if the correct MTD partition is used (size big enough?) [09.601]ubi part sys err ! [09.603]initialize sunxi spinand ubi failed download_standard_gpt:write mbr sectors fail ret = 0
-
[09.578]ubi0 error: ubi_attach_mtd_dev: failed to attach mtd4, error -22 [09.585]UBI error: cannot attach mtd4 [09.588]UBI error: cannot initialize UBI, error -22 UBI init error 22 Please check, if the correct MTD partition is used (size big enough?) [09.601]ubi part sys err ! [09.603]initialize sunxi spinand ubi failed download_standard_gpt:write mbr sectors fail ret = 0
镜像的分区配置检查一下
-
@yuzukitsuru @yuzukitsuru 我直接烧的官方给的HDMI测试固件,而且今天和昨天烧这个固件都有烧写成功的时候(与烧写失败时没做任何修改),最近一次烧写成功之后,我在adb shell里输入了reboot efex想再次尝试烧写,但之后就再也不行了
-
@yuzukitsuru 大佬,我把这个改成分区擦除升级就好了,我都不知道为啥。。
-
-
Copyright © 2024 深圳全志在线有限公司 粤ICP备2021084185号 粤公网安备44030502007680号