@fanhuacloud 都有上拉的
kkkkkkkk 发布的帖子
-
t113烧写spi nand卡在 [08.895]fill gap start: volume mbr sects 0x7f80
[1045]fes begin commit:88480af-dirty
[1048]set pll start
[1054]periph0 has been enabled
[1057]set pll end
[1059][pmu]: bus read error
[1061]board init ok
[1063]beign to init dram
[1065]ZQ value = 0x2f
[1067]get_pmu_exist() = -1
[1070]ddr_efuse_type: 0xa
[1072]trefi:7.8ms
[1075][AUTO DEBUG] single rank and full DQ!
[1079]ddr_efuse_type: 0xa
[1081]trefi:7.8ms
[1084][AUTO DEBUG] rank 0 row = 13
[1087][AUTO DEBUG] rank 0 bank = 8
[1090][AUTO DEBUG] rank 0 page size = 2 KB
[1094]DRAM BOOT DRIVE INFO: V0.33
[1097]DRAM CLK = 936 MHz
[1100]DRAM Type = 3 (2:DDR2,3:DDR3)
[1103]DRAMC read ODT off.
[1105]DRAM ODT value: 0x42.
[1108]ddr_efuse_type: 0xa
[1111]DRAM SIZE =128 M
[1113]dram_tpr4:0x0
[1115]PLL_DDR_CTRL_REG:0xf8004d00
[1118]DRAM_CLK_REG:0xc0000000
[1121][TIMING DEBUG] MR2= 0x20
[1125]DRAM simple test OK.
[1127]rtc standby flag is 0x0, super standby flag is 0x0
[1133]init dram okU-Boot 2018.05-g24521d6-dirty (Apr 29 2024 - 06:49:57 -0700) Allwinner Technology
[02.544]CPU: Allwinner Family
[02.547]Model: sun8iw20
I2C: FDT ERROR:fdt_set_all_pin:[twi0]-->FDT_ERR_BADPATH
FDT ERROR:fdt_set_all_pin:[twi1]-->FDT_ERR_BADPATH
ready
[02.568]DRAM: 128 MiB
[02.571]Relocation Offset is: 04f01000
[02.591]secure enable bit: 0
[02.593]CPU=1008 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=100Mhz MBus=300Mhz
[02.600]gic: normal mode
[02.602]flash init start
[02.604]workmode = 16,storage type = 0
try card 2
set card number 2
get card number 2
[02.612][mmc]: mmc driver ver uboot2018:2021-11-19 15:38:00
[02.619][mmc]: Is not Boot mode!
[02.621][mmc]: SUNXI SDMMC Controller Version:0x50310
[02.632][mmc]: Try SD card 2
[02.638][mmc]: mmc 2 cmd timeout 100 status 100
[02.642][mmc]: smc 2 err, cmd 8, RTO
[02.645][mmc]: mmc 2 close bus gating and reset
[02.650][mmc]: mmc 2 cmd timeout 100 status 100
[02.654][mmc]: smc 2 err, cmd 55, RTO
[02.658][mmc]: mmc 2 close bus gating and reset
[02.662][mmc]: Try MMC card 2
[02.671][mmc]: mmc 2 cmd timeout 100 status 100
[02.675][mmc]: smc 2 err, cmd 1, RTO
[02.678][mmc]: mmc 2 close bus gating and reset
[02.683][mmc]: Card did not respond to voltage select!
[02.688][mmc]: SD/MMC 2 init error!
[02.693][mmc]: mmc init product failed
MMC init failed
try emmc fail
[02.699]sunxi-spinand: AW SPINand MTD Layer Version: 1.5 20200407
[02.705]sunxi-spinand-phy: AW SPINand Phy Layer Version: 1.9 20200306
[02.713]sunxi-spinand-phy: request spi0 gpio ok
[02.717]sunxi-spinand-phy: request general tx dma channel ok!
[02.723]sunxi-spinand-phy: request general rx dma channel ok!
[02.728]sunxi-spinand-phy: set spic0 clk to 20 Mhz
[02.733]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[02.778]sunxi-spinand-phy: not detect any munufacture from id table
[02.784]sunxi-spinand-phy: get spi-nand Model from fdt fail
[02.789]sunxi-spinand-phy: get phy info from fdt fail
[02.794]sunxi-spinand-phy: not detect munufacture from fdt
[02.799]sunxi-spinand-phy: detect munufacture from id table: Winbond
[02.805]sunxi-spinand-phy: detect spinand id: ff21aaef ffffffff
[02.811]sunxi-spinand-phy: ========== arch info ==========
[02.816]sunxi-spinand-phy: Model: W25N01GVZEIG
[02.822]sunxi-spinand-phy: Munufacture: Winbond
[02.827]sunxi-spinand-phy: DieCntPerChip: 1
[02.831]sunxi-spinand-phy: BlkCntPerDie: 1024
[02.836]sunxi-spinand-phy: PageCntPerBlk: 64
[02.840]sunxi-spinand-phy: SectCntPerPage: 4
[02.845]sunxi-spinand-phy: OobSizePerPage: 64
[02.849]sunxi-spinand-phy: BadBlockFlag: 0x0
[02.854]sunxi-spinand-phy: OperationOpt: 0x7
[02.858]sunxi-spinand-phy: MaxEraseTimes: 65000
[02.863]sunxi-spinand-phy: EccFlag: 0x0
[02.868]sunxi-spinand-phy: EccType: 2
[02.872]sunxi-spinand-phy: EccProtectedType: 3
[02.877]sunxi-spinand-phy: ========================================
[02.882]sunxi-spinand-phy:
[02.885]sunxi-spinand-phy: ========== physical info ==========
[02.891]sunxi-spinand-phy: TotalSize: 128 M
[02.895]sunxi-spinand-phy: SectorSize: 512 B
[02.899]sunxi-spinand-phy: PageSize: 2 K
[02.903]sunxi-spinand-phy: BlockSize: 128 K
[02.907]sunxi-spinand-phy: OOBSize: 64 B
[02.911]sunxi-spinand-phy: ========================================
[02.917]sunxi-spinand-phy:
[02.920]sunxi-spinand-phy: ========== logical info ==========
[02.925]sunxi-spinand-phy: TotalSize: 128 M
[02.929]sunxi-spinand-phy: SectorSize: 512 B
[02.933]sunxi-spinand-phy: PageSize: 4 K
[02.937]sunxi-spinand-phy: BlockSize: 256 K
[02.942]sunxi-spinand-phy: OOBSize: 128 B
[02.946]sunxi-spinand-phy: ========================================
[02.952]sunxi-spinand-phy: W25N01GVZEIG reset rx bit width to 1
[02.958]sunxi-spinand-phy: W25N01GVZEIG reset tx bit width to 1
[02.963]sunxi-spinand-phy: set spic0 clk to 100 Mhz
[02.968]sunxi-spinand-phy: block lock register: 0x00
[02.972]sunxi-spinand-phy: feature register: 0x19
[02.977]sunxi-spinand-phy: sunxi physic nand init end
[02.982]Loading Environment from SUNXI_FLASH... OK
[02.986]try to burn key
[02.988]out of usb burn from boot: not boot mode
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 0x3
set address 0x3 ok
set address 0x3
set address 0x3 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 8part[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 :0part[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 :0part[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 :0part[3] name :boot
part[3] classname :DISK
part[3] addrlo :0x85e8
part[3] lenlo :0x1e00
part[3] user_type :32768
part[3] keydata :0
part[3] ro :0part[4] name :rootfs
part[4] classname :DISK
part[4] addrlo :0xa3e8
part[4] lenlo :0x12048
part[4] user_type :32768
part[4] keydata :0
part[4] ro :0part[5] name :private
part[5] classname :DISK
part[5] addrlo :0x1c430
part[5] lenlo :0x2800
part[5] user_type :32768
part[5] keydata :0
part[5] ro :0part[6] name :rootfs_data
part[6] classname :DISK
part[6] addrlo :0x1ec30
part[6] lenlo :0x2800
part[6] user_type :32768
part[6] keydata :0
part[6] ro :0part[7] name :UDISK
part[7] classname :DISK
part[7] addrlo :0x21430
part[7] lenlo :0x0
part[7] user_type :32768
part[7] keydata :0
part[7] ro :0total part: 9
mbr 0, 8000, 8000
boot-resource 1, 1f8, 8000
env 2, 1f8, 8000
env-redund 3, 1f8, 8000
boot 4, 1e00, 8000
rootfs 5, 12048, 8000
private 6, 2800, 8000
rootfs_data 7, 2800, 8000
UDISK 8, 0, 8000
[06.238]erase blk 0 to blk 32
need erase flash: 18
[06.261]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 0active 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)
[06.311]MTD info (4)
[06.313]pagesize: 0x1000
[06.316]blksize: 0x40000
[06.318]num offset bytes name
[06.321]0 0x00000000 0x00100000 boot0
[06.325]1 0x00100000 0x00300000 uboot
[06.329]2 0x00400000 0x00100000 secure_storage
[06.333]3 0x00500000 0x07b00000 sys
[06.337]ubi attach the last part of mtd device: NO.3
[06.408]ubi0: attaching mtd4
[06.632]ubi0: scanning is finished
[06.640]ubi0 warning: init_volumes: static volume 0 misses 65 LEBs - corrupted
[06.648]ubi0: attached mtd4 (name "sys", size 123 MiB)
[06.652]ubi0: PEB size: 262144 bytes (256 KiB), LEB size: 258048 bytes
[06.659]ubi0: min./max. I/O unit sizes: 4096/4096, sub-page size 2048
[06.665]ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
[06.671]ubi0: good PEBs: 492, bad PEBs: 0, corrupted PEBs: 0
[06.676]ubi0: user volume: 9, internal volumes: 1, max. volumes count: 128
[06.683]ubi0: max/mean erase counter: 2/1, WL threshold: 4096, image sequence number: 0
[06.691]ubi0: available PEBs: 0, total reserved PEBs: 492, PEBs reserved for bad PEB handling: 20
[06.699]erase blk 0 to blk 32
[06.718]erase blk 40 to blk 1024
[07.422]sunxi-spinand: spinand secure storage ok for phy blk 32 and 33
[07.430]Item0 (Map) magic is bad
[07.433]the secure storage map is empty
[07.528]sunxi-spinand: write secure storage itme 0 ok
[07.533]erase secure storage: 0 ok
SUNXI_EFEX_MBR_TAG
mbr size = 0x10000
force mbrdevice 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 0active 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.581]MTD info (4)
[07.583]pagesize: 0x1000
[07.585]blksize: 0x40000
[07.588]num offset bytes name
[07.591]0 0x00000000 0x00100000 boot0
[07.595]1 0x00100000 0x00300000 uboot
[07.599]2 0x00400000 0x00100000 secure_storage
[07.603]3 0x00500000 0x07b00000 sys
[07.606]MBR info (unalign):
[07.609]partno addr sects type name
[07.614]0 0x00000000 0x00008000 0x00000001 mbr
[07.619]1 0x00008000 0x000001f8 0x00008000 boot-resource
[07.624]2 0x000081f8 0x000001f8 0x00008000 env
[07.629]3 0x000083f0 0x000001f8 0x00008000 env-redund
[07.634]4 0x000085e8 0x00001e00 0x00008000 boot
[07.639]5 0x0000a3e8 0x00012048 0x00008000 rootfs
[07.644]6 0x0001c430 0x00002800 0x00008000 private
[07.649]7 0x0001ec30 0x00002800 0x00008000 rootfs_data
[07.655]8 0x00021430 0x00000000 0x00008000 UDISK
[07.660]ubi attach the last part of mtd device: NO.3
[07.664]MBR info (align):
[07.667]partno addr sects type name
[07.672]0 0x00002800 0x000081f0 0x00000001 mbr
[07.676]1 0x0000a9f0 0x000001f8 0x00008000 boot-resource
[07.682]2 0x0000abe8 0x000001f8 0x00008000 env
[07.687]3 0x0000ade0 0x000001f8 0x00008000 env-redund
[07.692]4 0x0000afd8 0x00001f80 0x00008000 boot
[07.697]5 0x0000cf58 0x00012168 0x00008000 rootfs
[07.702]6 0x0001f0c0 0x00002958 0x00008000 private
[07.707]7 0x00021a18 0x00002958 0x00008000 rootfs_data
[07.713]8 0x00024370 0x00000000 0x00008000 UDISK
[07.717]ubi attach the last part of mtd device: NO.3
[07.722]ubi attatch mtd, name: sys[07.725]ubi0: detaching mtd4
[07.728]ubi0: mtd4 is detached
[07.731]ubi0: attaching mtd4
[07.844]ubi0: scanning is finished
[07.847]ubi0: empty MTD device detected
[07.867]ubi0: attached mtd4 (name "sys", size 123 MiB)
[07.872]ubi0: PEB size: 262144 bytes (256 KiB), LEB size: 258048 bytes
[07.878]ubi0: min./max. I/O unit sizes: 4096/4096, sub-page size 2048
[07.884]ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
[07.890]ubi0: good PEBs: 492, bad PEBs: 0, corrupted PEBs: 0
[07.896]ubi0: user volume: 0, internal volumes: 1, max. volumes count: 128
[07.902]ubi0: max/mean erase counter: 0/0, WL threshold: 4096, image sequence number: 0
[07.910]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 4128768
Creating dynamic volume rootfs of size 37933056
Creating dynamic volume private of size 5419008
Creating dynamic volume rootfs_data of size 5419008
No size specified -> Using max size (50061312)
[08.847]reset last volume size to 0x17df0
Creating dynamic volume UDISK of size 50061312
[08.895]fill gap start: volume mbr sects 0x7f80