[SCAN_DBG] Block Count Of Die: 0x400
[SCAN_DBG] Plane Count Of Die: 0x2
[SCAN_DBG] Die Count Of Chip: 0x1
[SCAN_DBG] Bank Count Of Chip: 0x1
[SCAN_DBG] Optional Operation: 0x6d
[SCAN_DBG] Access Frequence: 0x4b
[SCAN_DBG] =======================================================
[FORMAT_DBG] ===========Logical Architecture Parameter===========
[FORMAT_DBG] Page Count of Logic Block: 0x40
[FORMAT_DBG] Sector Count of Logic Page: 0x8
[FORMAT_DBG] Block Count of Die: 0x200
[FORMAT_DBG] Die Count: 0x1
[FORMAT_DBG] ===================================================
nand:found factory_bad_block(new version) table in block:26!
nand:support secure storage
secure storage updata ok!
nand secure storage ok: 21,22
NandHwInit: End Nand Hardware initializing ..... OK!
nand : get CapacityLevel fail, a
not burn nand partition table!
nand:found factory_bad_block(new version) table in block:26!
nand:support secure storage
start block:23
[NE]mbr read 12
[NE]mbr read ok!
[NE]mbr read end!
[NE]mbr partition start!
[NE]mbr partition ok!
[NE]mbr partition end!
[NE]new nand info init!!
[NE]mbr read 12
[NE]mbr read ok!
[NE]mbr read end!
[NE]get mbr_data table
[ND]ok get factory_bad_block table!
[NE]new_bad_block table new format!
[ND]ok get a new bad table!
[ND]build all_phy partition start!
[NE]mbr partition start!
[NE]mbr partition ok!
[NE]mbr partition end!
[NE]partition_num: 0,size :0x36400,cross_talk 0
[NE]part mbr size: 0x800 type: 0
[NE]part bootloader size: 0x4000 type: 0
[NE]part env size: 0x400 type: 0
[NE]part boot size: 0x8000 type: 0
[NE]part system size: 0x28000 type: 0
[NE]part UDISK size: 0x1800 type: 0
[ND]build 1 phy_partition !
[ND]nand_info->type :0
[ND]nand_info->SectorNumsPerPage :8
[ND]nand_info->BytesUserData :16
[ND]nand_info->PageNumsPerBlk :64
[ND]nand_info->BlkPerChip :512
[ND]nand_info->FirstBuild :0
[ND]nand_info->FullBitmap :10
[ND]nand_info->bad_block_addr.Chip_NO :0
[ND]nand_info->bad_block_addr.Block_NO :13
[ND]nand_info->mbr_block_addr.Chip_NO :0
[ND]nand_info->mbr_block_addr.Block_NO :12
[ND]nand_info->no_used_block_addr.Chip_NO :0
[ND]nand_info->no_used_block_addr.Block_NO :16
[ND]nand_info->new_bad_block_addr.Chip_NO :0
[ND]nand_info->new_bad_block_addr.Block_NO :14
[ND]nand_info->new_bad_page_addr :65535
[ND]nand_info->partition_nums :1
[ND]sizeof partition:1192
[ND]nand_info->partition:0:
[ND]size:0x36400
[ND]cross_talk:0x0
[ND]attribute:0x0
[ND]start: chip:0 block:16
[ND]end : chip:0 block:511
NB1 : nftl num: 1
init nftl: 0
[ND]nand_partition0
[ND]nftl start:496,62
[ND]first
[ND]before second 496 434.
[NE]smart->version:aaaaaa01;
[NE]smart->total_recv_read_sectors:9878;
[NE]smart->total_recv_write_sectors:56878;
[NE]smart->total_real_read_pages:1257;
[NE]smart->total_real_write_pages:7232;
[NE]smart->total_recv_discard_sectors:0;
[NE]smart->total_real_discard_sectors:0;
[NE]smart->total_recv_read_claim_pages:0;
[NE]smart->total_gc_times:0;
[NE]smart->total_gc_pages:0;
[NE]smart->total_wl_times:0;
[NE]smart->total_real_read_error_pages:0;
[NE]smart->total_real_write_error_pages:0;
[NE]smart->total_normal_power_cycles:2;
[NE]smart->total_unusual_power_cycles:0;
[NE]smart->max_block_erase_times:0;
[NE]smart->min_block_erase_times:0;
[NE]smart->max_block_used_counter:0;
[NE]smart->min_block_used_counter:0;
[NE]smart->read_reclaim_utc:0;
[NE]recover_phy_page_mapping no used page 21!!
[ND]recover 382 21
[ND]A64 nand2.0 version:0009
[ND]zone->nand_chip->blk_per_chip: 496
[ND]zone->nand_chip->bytes_per_page: 4096
[ND]zone->nand_chip->pages_per_blk: 64
[ND]zone->nand_chip->max_erase_times: 3000
[ND]zone->nand_chip->support_read_reclaim: 0
[ND]zone->test: 0
[ND]zone->zone_no: 0
[ND]zone->zone_attr: 0
[ND]zone->blocks: 496
[ND]zone->bad_block: 0
[ND]zone->logic_cap_in_sects: 222208
[ND]zone->backup_cap_in_sects: 31744
[ND]zone->free_block_num: 382
[ND]zone->gc_strategy.start_gc_free_blocks: 12
[ND]zone->gc_strategy.stop_gc_free_blocks: 41
[ND]zone->gc_strategy.gc_page: 0
[ND]zone->gc_strategy.process: 1
[ND]zone->prio_gc.prio_type : 0
[ND]zone->zone_start_phy_block->phy_block.Block_NO: 0
[ND]zone->zone_end_phy_block->phy_block.Block_NO: 495
[ND]zone->zone_phy_page_map_for_gc: 4293dad0
[ND]zone->current_block.user_info: 4293d640
[ND]zone->current_block.block_info: 4291f3f8
[ND]zone->current_block.block_info->phy_block.Block_NO: 382
[ND]zone->current_block.page_used: 21
[ND]zone->current_block.block_info->block_used_count: 113
[ND]zone->read_reclaim_complete: 0
[ND]zone->temp_page_buf: 42920428
[ND]zone->max_erase_num: 1
[ND]zone->cache.cache_totals: 0
[ND]zone->cfg->nftl_dont_use_cache: 1
[ND]zone->cfg->nftl_use_cache_sort: 1
[ND]zone->cfg->nftl_support_gc_read_reclaim: 1
[ND]zone->cfg->nftl_support_wear_leveling: 1
[ND]zone->cfg->nftl_need_erase: 0
[ND]zone->cfg->nftl_min_free_block_num: 32
[ND]zone->cfg->nftl_gc_threshold_free_block_num: a
[ND]zone->cfg->nftl_min_free_block: a
[ND]zone->cfg->nftl_gc_threshold_ratio_numerator: 2
[ND]zone->cfg->nftl_gc_threshold_ratio_denominator: 3
[ND]zone->cfg->nftl_max_cache_num: 20
[ND]zone->cfg->nftl_max_cache_write_num: 10
[ND]zone->cfg->nftl_cross_talk: 0
[ND]zone->cfg->nftl_read_claim_interval: 1296000
[NE]smart->version:aaaaaa01;
[NE]smart->total_recv_read_sectors:9878;
[NE]smart->total_recv_write_sectors:56878;
[NE]smart->total_real_read_pages:1279;
[NE]smart->total_real_write_pages:7232;
[NE]smart->total_recv_discard_sectors:0;
[NE]smart->total_real_discard_sectors:0;
[NE]smart->total_recv_read_claim_pages:0;
[NE]smart->total_gc_times:0;
[NE]smart->total_gc_pages:0;
[NE]smart->total_wl_times:0;
[NE]smart->total_real_read_error_pages:0;
[NE]smart->total_real_write_error_pages:0;
[NE]smart->total_normal_power_cycles:2;
[NE]smart->total_unusual_power_cycles:0;
[NE]smart->max_block_erase_times:0;
[NE]smart->min_block_erase_times:0;
[NE]smart->max_block_used_counter:0;
[NE]smart->min_block_used_counter:0;
[NE]smart->read_reclaim_utc:0;
[ND]nftl ok!
[ND]max_erase_times = 65000
[ND]nftl_add ok
NB1 : NAND_LogicInit ok, result = 0x0
[ 1.675]sunxi flash init ok
In: serial
Out: serial
Err: serial
--------fastboot partitions--------
-total partitions:5-
-name- -start- -size-
bootloader : 100000 800000
env : 900000 80000
boot : 980000 1000000
system : 1980000 5000000
UDISK : 6980000 0
-----------------------------------
base bootcmd=run setargs_spinor boot_normal
bootcmd set setargs_nand
key 0
cant find rcvy value
cant find fstbt value
no misc partition is found
to be run cmd=run setargs_spinor boot_normal
WORK_MODE_BOOT
board_status_probe
adver not need show
sunxi_bmp_logo_display
** Unable to read "bootlogo.bmp" from sunxi_flash 0:1 **
sunxi bmp info error : unable to open logo file bootlogo.bmp
read bootlogo partition fail,start_block=0x0,rblock=0x0 ,ret=0
Not a JPG file ?
parse_header failed
Use decode 2x1 sampling
sunxi_read_bootlogo: jpg convert argb
[ 1.772]Hit any key to stop autoboot: 0
read boot or recovery all
[ 2.145]sunxi flash read :offset 980000, 5005662 bytes OK
---------------------
kernel size: 0x29d5c0
kernel addr: 0x40008000
ramdisk size: 0x12899f
ramdisk addr: 0x41000000
second size: 0x0
second addr: 0x40f00000
name:
cmdline:
moving kernel from 40008000 to: 40008000, size 0x29d5c0
moving ramdisk from 402a5800 to: 41000000, size 0x12899f
no signature
[ 2.185]ready to boot
do_boota_linux storage_type = 5
board_display_setenv: disp_para=0 init_disp=0 tv_vdid=0
HELLO! BOOT0 is starting!
boot0 version : 4.0.0
boot0 commit : 8
fel flag = 0x00000000
rtc[0] value = 0x00000000
rtc[1] value = 0x00000000
rtc[2] value = 0x00000000
rtc[3] value = 0x00000000
rtc[4] value = 0x00000000
rtc[5] value = 0x00000000
rtc[6] value = 0x00000000
rtc[7] value = 0x00000000
i2c gpio config 22777722
axp209 read error
axp152 read error
DRAM DRIVE INFO: V0.7
DRAM Type = 2 (2:DDR2,3:DDR3,6:LPDDR2,7:LPDDR3)
DRAM CLK = 360 MHz
DRAM zq value: 000039bb
DRAM size = 64 MB
dram size =64
Reg 0x01c20848: 0x00003333
0x01c20028 0x90041811
0x01c200a0 0x8100000f
spinand UBOOT_LAST_BLK_NUM 19
Succeed in opening spi nand flash.
Succeed in reading Boot1 file head.
current block is 2.
current block is 3.
current block is 4.
current block is 5.
current block is 6.
current block is 7.
sum=7af3d0e4
src_sum=7af3d0e4
The file stored in block 2 to block 6 is perfect.
----------storage_type = 5 in boot0-------------------------
Ready to disable icache.
Jump to secend Boot.
[ 0.507]
U-Boot 2011.09-rc1 (Oct 17 2019 - 20:46:08) Allwinner Technology
[ 0.515]version: 1.1.0
[ 0.517]uboot commit : 8
[ 0.524]pmbus: ready
not set main pmu id
axp read error
probe axp20x failed
axp152 read error
probe axp15 failed
axp_probe error
[ 0.651]PMU: pll1 408 Mhz,PLL6=600 Mhz
AXI=204 Mhz,AHB=204 Mhz, APB1=102 Mhz
set power on vol to default
dcdc2_vol = 1200
axp set dcdc2_vol to 1200 failed
dcdc3_vol = 3300
axp set dcdc3_vol to 3300 failed
aldo2_vol = 2500
axp set aldo2_vol to 2500 failed
aldo3_vol = 3000
axp set aldo3_vol to 3000 failed
ldo1_vol = 3300
axp set ldo1_vol to 3300 failed
ldo2_vol = 3000
axp set ldo2_vol to 3000 failed
ldo3_vol = 3000
axp set ldo3_vol to 3000 failed
find power_sply to end
vbus exist
no battery, limit to dc
no key input
dram_para_set start
dram_para_set end
[ 0.782]DRAM: 64 MiB
relocation Offset is: 030a1000
save config for small mem_size
workmode = 0
storage type = 5
[ 0.890]SPINAND: NAND_UbootInit
NAND_UbootInit start
NB1 : enter NAND_LogicInit
NandHwInit: Start Nand Hardware initializing .....
uboot:nand version: 2 25 20150917 1145
Reg 0x01c20848: 0x3333
Reg 0x01c2085c: 0x55
Reg 0x01c20864: 0x10
uboot nand_request_tx_dma: reqest genernal dma for nand success, 0x43a33e6c
request general tx dma channel ok!
uboot nand_request_tx_dma: reqest genernal dma for nand success, 0x43a33e88
request general rx dma channel ok!
SPI nand ID: 12c212c2 12c212c2
[SCAN_DBG] NandTwoPlaneOp: 1, DriverTwoPlaneOPCfg: 1, 0xffcfffff
nand : get id_number_ctl fail, a
_UpdateExtAccessFreqPara: no para.
PHY_Scan_DelayMode: right delay mode 0x0
PHY_Scan_DelayMode: right delay mode 0x800
PHY_Scan_DelayMode: right delay mode,clk 75 MHz, bit[13]=0,bit[11]=1
_GetOldPhysicArch: chip 0, block 20, page 0, oob: 0x0, 0x50, 0x48, 0x59
_GetOldPhysicArch: get old physic arch ok, 0x6d 0x2!
NAND_ReadPhyArch: get old physic arch ok, use old cfg, now:0x2 0x6d - old:0x2 0x6d!
[SCAN_DBG] ==============Nand Architecture Parameter==============
[SCAN_DBG] Nand Chip ID: 0xffff12c2 0xffffffff
[SCAN_DBG] Nand Chip Count: 0x1
[SCAN_DBG] Nand Chip Connect: 0x1
[SCAN_DBG] Sector Count Of Page: 0x4
[SCAN_DBG] Page Count Of Block: 0x40
[SCAN_DBG] Block Count Of Die: 0x400
[SCAN_DBG] Plane Count Of Die: 0x2
[SCAN_DBG] Die Count Of Chip: 0x1
[SCAN_DBG] Bank Count Of Chip: 0x1
[SCAN_DBG] Optional Operation: 0x6d
[SCAN_DBG] Access Frequence: 0x4b
[SCAN_DBG] =======================================================
[FORMAT_DBG] ===========Logical Architecture Parameter===========
[FORMAT_DBG] Page Count of Logic Block: 0x40
[FORMAT_DBG] Sector Count of Logic Page: 0x8
[FORMAT_DBG] Block Count of Die: 0x200
[FORMAT_DBG] Die Count: 0x1
[FORMAT_DBG] ===================================================
nand:found factory_bad_block(new version) table in block:26!
nand:support secure storage
secure storage updata ok!
nand secure storage ok: 21,22
NandHwInit: End Nand Hardware initializing ..... OK!
nand : get CapacityLevel fail, a
not burn nand partition table!
nand:found factory_bad_block(new version) table in block:26!
nand:support secure storage
start block:23
[NE]mbr read 12
[NE]mbr read ok!
[NE]mbr read end!
[NE]mbr partition start!
[NE]mbr partition ok!
[NE]mbr partition end!
[NE]new nand info init!!
[NE]mbr read 12
[NE]mbr read ok!
[NE]mbr read end!
[NE]get mbr_data table
[ND]ok get factory_bad_block table!
[NE]new_bad_block table new format!
[ND]ok get a new bad table!
[ND]build all_phy partition start!
[NE]mbr partition start!
[NE]mbr partition ok!
[NE]mbr partition end!
[NE]partition_num: 0,size :0x36400,cross_talk 0
[NE]part mbr size: 0x800 type: 0
[NE]part bootloader size: 0x4000 type: 0
[NE]part env size: 0x400 type: 0
[NE]part boot size: 0x8000 type: 0
[NE]part system size: 0x28000 type: 0
[NE]part UDISK size: 0x1800 type: 0
[ND]build 1 phy_partition !
[ND]nand_info->type :0
[ND]nand_info->SectorNumsPerPage :8
[ND]nand_info->BytesUserData :16
[ND]nand_info->PageNumsPerBlk :64
[ND]nand_info->BlkPerChip :512
[ND]nand_info->FirstBuild :0
[ND]nand_info->FullBitmap :10
[ND]nand_info->bad_block_addr.Chip_NO :0
[ND]nand_info->bad_block_addr.Block_NO :13
[ND]nand_info->mbr_block_addr.Chip_NO :0
[ND]nand_info->mbr_block_addr.Block_NO :12
[ND]nand_info->no_used_block_addr.Chip_NO :0
[ND]nand_info->no_used_block_addr.Block_NO :16
[ND]nand_info->new_bad_block_addr.Chip_NO :0
[ND]nand_info->new_bad_block_addr.Block_NO :14
[ND]nand_info->new_bad_page_addr :65535
[ND]nand_info->partition_nums :1
[ND]sizeof partition:1192
[ND]nand_info->partition:0:
[ND]size:0x36400
[ND]cross_talk:0x0
[ND]attribute:0x0
[ND]start: chip:0 block:16
[ND]end : chip:0 block:511
NB1 : nftl num: 1
init nftl: 0
[ND]nand_partition0
[ND]nftl start:496,62
[ND]first
[ND]before second 496 434.
[NE]smart->version:aaaaaa01;
[NE]smart->total_recv_read_sectors:9878;
[NE]smart->total_recv_write_sectors:56878;
[NE]smart->total_real_read_pages:1257;
[NE]smart->total_real_write_pages:7232;
[NE]smart->total_recv_discard_sectors:0;
[NE]smart->total_real_discard_sectors:0;
[NE]smart->total_recv_read_claim_pages:0;
[NE]smart->total_gc_times:0;
[NE]smart->total_gc_pages:0;
[NE]smart->total_wl_times:0;
[NE]smart->total_real_read_error_pages:0;
[NE]smart->total_real_write_error_pages:0;
[NE]smart->total_normal_power_cycles:2;
[NE]smart->total_unusual_power_cycles:0;
[NE]smart->max_block_erase_times:0;
[NE]smart->min_block_erase_times:0;
[NE]smart->max_block_used_counter:0;
[NE]smart->min_block_used_counter:0;
[NE]smart->read_reclaim_utc:0;
[NE]recover_phy_page_mapping no used page 21!!
[ND]recover 382 21
[ND]A64 nand2.0 version:0009
[ND]zone->nand_chip->blk_per_chip: 496
[ND]zone->nand_chip->bytes_per_page: 4096
[ND]zone->nand_chip->pages_per_blk: 64
[ND]zone->nand_chip->max_erase_times: 3000
[ND]zone->nand_chip->support_read_reclaim: 0
[ND]zone->test: 0
[ND]zone->zone_no: 0
[ND]zone->zone_attr: 0
[ND]zone->blocks: 496
[ND]zone->bad_block: 0
[ND]zone->logic_cap_in_sects: 222208
[ND]zone->backup_cap_in_sects: 31744
[ND]zone->free_block_num: 382
[ND]zone->gc_strategy.start_gc_free_blocks: 12
[ND]zone->gc_strategy.stop_gc_free_blocks: 41
[ND]zone->gc_strategy.gc_page: 0
[ND]zone->gc_strategy.process: 1
[ND]zone->prio_gc.prio_type : 0
[ND]zone->zone_start_phy_block->phy_block.Block_NO: 0
[ND]zone->zone_end_phy_block->phy_block.Block_NO: 495
[ND]zone->zone_phy_page_map_for_gc: 4293dad0
[ND]zone->current_block.user_info: 4293d640
[ND]zone->current_block.block_info: 4291f3f8
[ND]zone->current_block.block_info->phy_block.Block_NO: 382
[ND]zone->current_block.page_used: 21
[ND]zone->current_block.block_info->block_used_count: 113
[ND]zone->read_reclaim_complete: 0
[ND]zone->temp_page_buf: 42920428
[ND]zone->max_erase_num: 1
[ND]zone->cache.cache_totals: 0
[ND]zone->cfg->nftl_dont_use_cache: 1
[ND]zone->cfg->nftl_use_cache_sort: 1
[ND]zone->cfg->nftl_support_gc_read_reclaim: 1
[ND]zone->cfg->nftl_support_wear_leveling: 1
[ND]zone->cfg->nftl_need_erase: 0
[ND]zone->cfg->nftl_min_free_block_num: 32
[ND]zone->cfg->nftl_gc_threshold_free_block_num: a
[ND]zone->cfg->nftl_min_free_block: a
[ND]zone->cfg->nftl_gc_threshold_ratio_numerator: 2
[ND]zone->cfg->nftl_gc_threshold_ratio_denominator: 3
[ND]zone->cfg->nftl_max_cache_num: 20
[ND]zone->cfg->nftl_max_cache_write_num: 10
[ND]zone->cfg->nftl_cross_talk: 0
[ND]zone->cfg->nftl_read_claim_interval: 1296000
[NE]smart->version:aaaaaa01;
[NE]smart->total_recv_read_sectors:9878;
[NE]smart->total_recv_write_sectors:56878;
[NE]smart->total_real_read_pages:1279;
[NE]smart->total_real_write_pages:7232;
[NE]smart->total_recv_discard_sectors:0;
[NE]smart->total_real_discard_sectors:0;
[NE]smart->total_recv_read_claim_pages:0;
[NE]smart->total_gc_times:0;
[NE]smart->total_gc_pages:0;
[NE]smart->total_wl_times:0;
[NE]smart->total_real_read_error_pages:0;
[NE]smart->total_real_write_error_pages:0;
[NE]smart->total_normal_power_cycles:2;
[NE]smart->total_unusual_power_cycles:0;
[NE]smart->max_block_erase_times:0;
[NE]smart->min_block_erase_times:0;
[NE]smart->max_block_used_counter:0;
[NE]smart->min_block_used_counter:0;
[NE]smart->read_reclaim_utc:0;
[ND]nftl ok!
[ND]max_erase_times = 65000
[ND]nftl_add ok
NB1 : NAND_LogicInit ok, result = 0x0
[ 1.675]sunxi flash init ok
In: serial
Out: serial
Err: serial
--------fastboot partitions--------
-total partitions:5-
-name- -start- -size-
bootloader : 100000 800000
env : 900000 80000
boot : 980000 1000000
system : 1980000 5000000
UDISK : 6980000 0
-----------------------------------
base bootcmd=run setargs_spinor boot_normal
bootcmd set setargs_nand
key 0
cant find rcvy value
cant find fstbt value
no misc partition is found
to be run cmd=run setargs_spinor boot_normal
WORK_MODE_BOOT
board_status_probe
adver not need show
sunxi_bmp_logo_display
** Unable to read "bootlogo.bmp" from sunxi_flash 0:1 **
sunxi bmp info error : unable to open logo file bootlogo.bmp
read bootlogo partition fail,start_block=0x0,rblock=0x0 ,ret=0
Not a JPG file ?
parse_header failed
Use decode 2x1 sampling
sunxi_read_bootlogo: jpg convert argb
[ 1.772]Hit any key to stop autoboot: 0
read boot or recovery all
[ 2.145]sunxi flash read :offset 980000, 5005662 bytes OK
---------------------
kernel size: 0x29d5c0
kernel addr: 0x40008000
ramdisk size: 0x12899f
ramdisk addr: 0x41000000
second size: 0x0
second addr: 0x40f00000
name:
cmdline:
moving kernel from 40008000 to: 40008000, size 0x29d5c0
moving ramdisk from 402a5800 to: 41000000, size 0x12899f
no signature
[ 2.185]ready to boot
do_boota_linux storage_type = 5
board_display_setenv: disp_para=0 init_disp=0 tv_vdid=0
最近编辑记录 billnie (2019-10-18 15:42:59)
离线
@jimmy 请重新看1楼,刚开始那个信息是别一个块板的,这个信息才是mix 的
离线
烧录的日志
PHY_Scan_DelayMode: right delay mode 0x800
PHY_Scan_DelayMode: right delay mode,clk 75 MHz, bit[13]=0,bit[11]=1
_GetOldPhysicArch: chip 0, block 20, page 0, oob: 0x0, 0x50, 0x48, 0x59
_GetOldPhysicArch: get old physic arch ok, 0x6d 0x2!
NAND_ReadPhyArch: get old physic arch ok, use old cfg, now:0x2 0x6d - old:0x2 0x6d!
[SCAN_DBG] ==============Nand Architecture Parameter==============
[SCAN_DBG] Nand Chip ID: 0xffff12c2 0xffffffff
[SCAN_DBG] Nand Chip Count: 0x1
[SCAN_DBG] Nand Chip Connect: 0x1
[SCAN_DBG] Sector Count Of Page: 0x4
[SCAN_DBG] Page Count Of Block: 0x40
[SCAN_DBG] Block Count Of Die: 0x400
[SCAN_DBG] Plane Count Of Die: 0x2
[SCAN_DBG] Die Count Of Chip: 0x1
[SCAN_DBG] Bank Count Of Chip: 0x1
[SCAN_DBG] Optional Operation: 0x6d
[SCAN_DBG] Access Frequence: 0x4b
[SCAN_DBG] =======================================================
[FORMAT_DBG] ===========Logical Architecture Parameter===========
[FORMAT_DBG] Page Count of Logic Block: 0x40
[FORMAT_DBG] Sector Count of Logic Page: 0x8
[FORMAT_DBG] Block Count of Die: 0x200
[FORMAT_DBG] Die Count: 0x1
[FORMAT_DBG] ===================================================
nand:found factory_bad_block(new version) table in block:26!
nand:support secure storage
secure storage updata ok!
nand secure storage ok: 21,22
NandHwInit: End Nand Hardware initializing ..... OK!
NB1 : nand phy init ok
check nand version start.
Current nand driver version is ff 0 2 21
Media version is valid in block 2, version info is ff 0 2 21
nand driver version match ok in block 2.
nand version = 0
Ready to erase boot blocks.
has cleared the boot blocks.
_GetOldPhysicArch: chip 0, block 20, page 0, oob: 0x0, 0x50, 0x48, 0x59
_GetOldPhysicArch: get old physic arch ok, 0x6d 0x2!
NAND_ReadPhyArch: get old physic arch ok, use old cfg, now:0x2 0x6d - old:0x2 0x6d!
NB1 : enter phy Exit
nand release dma:43a33e6c
nand release dma:0
do need erase flash
no part need to protect user data
erase_flag = 1
NB1 : enter phy init
NandHwInit: Start Nand Hardware initializing .....
uboot:nand version: 2 25 20150917 1145
Reg 0x01c20848: 0x3333
Reg 0x01c2085c: 0x55
Reg 0x01c20864: 0x10
uboot nand_request_tx_dma: reqest genernal dma for nand success, 0x43a33e6c
request general tx dma channel ok!
uboot nand_request_tx_dma: reqest genernal dma for nand success, 0x43a33e88
request general rx dma channel ok!
SPI nand ID: 12c212c2 12c212c2
[SCAN_DBG] NandTwoPlaneOp: 1, DriverTwoPlaneOPCfg: 1, 0xffcfffff
nand : get id_number_ctl fail, a
_UpdateExtAccessFreqPara: no para.
PHY_Scan_DelayMode: right delay mode 0x0
PHY_Scan_DelayMode: right delay mode 0x800
PHY_Scan_DelayMode: right delay mode,clk 75 MHz, bit[13]=0,bit[11]=1
_GetOldPhysicArch: chip 0, block 20, page 0, oob: 0x0, 0x50, 0x48, 0x59
_GetOldPhysicArch: get old physic arch ok, 0x6d 0x2!
NAND_ReadPhyArch: get old physic arch ok, use old cfg, now:0x2 0x6d - old:0x2 0x6d!
[SCAN_DBG] ==============Nand Architecture Parameter==============
[SCAN_DBG] Nand Chip ID: 0xffff12c2 0xffffffff
[SCAN_DBG] Nand Chip Count: 0x1
[SCAN_DBG] Nand Chip Connect: 0x1
[SCAN_DBG] Sector Count Of Page: 0x4
[SCAN_DBG] Page Count Of Block: 0x40
[SCAN_DBG] Block Count Of Die: 0x400
[SCAN_DBG] Plane Count Of Die: 0x2
[SCAN_DBG] Die Count Of Chip: 0x1
[SCAN_DBG] Bank Count Of Chip: 0x1
[SCAN_DBG] Optional Operation: 0x6d
[SCAN_DBG] Access Frequence: 0x4b
[SCAN_DBG] =======================================================
[FORMAT_DBG] ===========Logical Architecture Parameter===========
[FORMAT_DBG] Page Count of Logic Block: 0x40
[FORMAT_DBG] Sector Count of Logic Page: 0x8
[FORMAT_DBG] Block Count of Die: 0x200
[FORMAT_DBG] Die Count: 0x1
[FORMAT_DBG] ===================================================
nand:found factory_bad_block(new version) table in block:26!
nand:support secure storage
secure storage updata ok!
nand secure storage ok: 21,22
NandHwInit: End Nand Hardware initializing ..... OK!
NB1 : nand phy init ok
erase by flag 1
Ready to erase boot blocks.
has cleared the boot blocks.
Ready to erase chip.
page_size=2048, page_per_block=64, blk_cnt_per_chip=1024
nand:found factory_bad_block(new version) table in block:26!
nand:support secure storage
start block:23
erase chip 0, block 256
erase chip 0, block 512
erase chip 0, block 768
has cleared the chip.
the nand is OK.
nand : get id_number_ctl fail, 0
_UpdateExtMultiPlanePara: no para.
NAND_UpdatePhyArch: get script error, use current driver cfg!
NAND_UpdatePhyArch: before set new arch: 0x6d 0x2.
_GetOldPhysicArch: chip 0, block 20, page 0, oob: 0x0, 0x50, 0x48, 0x59
_GetOldPhysicArch: get old physic arch ok, 0x6d 0x2!
_SetNewPhysicArch: write physic arch to blk 20...
_SetNewPhysicArch: erase block 20 ok.
_SetNewPhysicArch: ============
_GetOldPhysicArch: chip 0, block 20, page 0, oob: 0x0, 0x50, 0x48, 0x59
_GetOldPhysicArch: get old physic arch ok, 0x6d 0x2!
NB1 : enter phy Exit
nand release dma:43a33e6c
nand release dma:0
[ 2.553]successed in erasing flash
NAND_UbootInit
NAND_UbootInit start
NB1 : enter NAND_LogicInit
NandHwInit: Start Nand Hardware initializing .....
uboot:nand version: 2 25 20150917 1145
Reg 0x01c20848: 0x3333
Reg 0x01c2085c: 0x55
Reg 0x01c20864: 0x10
uboot nand_request_tx_dma: reqest genernal dma for nand success, 0x43a33e6c
request general tx dma channel ok!
uboot nand_request_tx_dma: reqest genernal dma for nand success, 0x43a33e88
request general rx dma channel ok!
SPI nand ID: 12c212c2 12c212c2
[SCAN_DBG] NandTwoPlaneOp: 1, DriverTwoPlaneOPCfg: 1, 0xffcfffff
nand : get id_number_ctl fail, a
_UpdateExtAccessFreqPara: no para.
PHY_Scan_DelayMode: right delay mode 0x0
PHY_Scan_DelayMode: right delay mode 0x800
PHY_Scan_DelayMode: right delay mode,clk 75 MHz, bit[13]=0,bit[11]=1
_GetOldPhysicArch: chip 0, block 20, page 0, oob: 0x0, 0x50, 0x48, 0x59
_GetOldPhysicArch: get old physic arch ok, 0x6d 0x2!
NAND_ReadPhyArch: get old physic arch ok, use old cfg, now:0x2 0x6d - old:0x2 0x6d!
[SCAN_DBG] ==============Nand Architecture Parameter==============
[SCAN_DBG] Nand Chip ID: 0xffff12c2 0xffffffff
[SCAN_DBG] Nand Chip Count: 0x1
[SCAN_DBG] Nand Chip Connect: 0x1
[SCAN_DBG] Sector Count Of Page: 0x4
[SCAN_DBG] Page Count Of Block: 0x40
[SCAN_DBG] Block Count Of Die: 0x400
[SCAN_DBG] Plane Count Of Die: 0x2
[SCAN_DBG] Die Count Of Chip: 0x1
[SCAN_DBG] Bank Count Of Chip: 0x1
[SCAN_DBG] Optional Operation: 0x6d
[SCAN_DBG] Access Frequence: 0x4b
[SCAN_DBG] =======================================================
[FORMAT_DBG] ===========Logical Architecture Parameter===========
[FORMAT_DBG] Page Count of Logic Block: 0x40
[FORMAT_DBG] Sector Count of Logic Page: 0x8
[FORMAT_DBG] Block Count of Die: 0x200
[FORMAT_DBG] Die Count: 0x1
[FORMAT_DBG] ===================================================
new nand flash
nand:support secure storage
secure storage updata ok!
nand secure storage ok: 21,22
NandHwInit: End Nand Hardware initializing ..... OK!
nand : get CapacityLevel fail, a
burn nand partition table! mbr tbl: 0x43e67494, part_count:6
new nand flash
nand:support secure storage
start block:23
[NE]mbr read 12
[NE]mbr read end!
[NE]mbr partition start!
[NE]mbr partition end!
[NE]erase MP!!!
[ND]new write mbr 12!
[ND]new write mbr end!
[NE]write_new_bad_block_table new format first build 14!
[ND]new_write_no use_block!
[ND]build all_phy partition start!
[ND]nand_info->SectorNumsPerPage :0x8
[ND]nand_info->PageNumsPerBlk :0x40
[ND]nand_info->BlkPerChip :0x200
[ND]nand_info->ChipNum :0x1
[NE]partition_num: 0,size :0xffffffff,cross_talk 0
[NE]part mbr size: 0x800 type: 0
[NE]part bootloader size: 0x4000 type: 0
[NE]part env size: 0x400 type: 0
[NE]part boot size: 0x8000 type: 0
[NE]part system size: 0x28000 type: 0
[NE]part UDISK size: 0x0 type: 0
[ND]build 1 phy_partition !
[ND]write partition 12!
[ND]write partition end!
[NE]write_factory_block_table_v2!
[ND]factory bad block num:0!
[ND]nand_info->type :0
[ND]nand_info->SectorNumsPerPage :8
[ND]nand_info->BytesUserData :16
[ND]nand_info->PageNumsPerBlk :64
[ND]nand_info->BlkPerChip :512
[ND]nand_info->FirstBuild :1
[ND]nand_info->FullBitmap :10
[ND]nand_info->bad_block_addr.Chip_NO :0
[ND]nand_info->bad_block_addr.Block_NO :13
[ND]nand_info->mbr_block_addr.Chip_NO :0
[ND]nand_info->mbr_block_addr.Block_NO :12
[ND]nand_info->no_used_block_addr.Chip_NO :0
[ND]nand_info->no_used_block_addr.Block_NO :16
[ND]nand_info->new_bad_block_addr.Chip_NO :0
[ND]nand_info->new_bad_block_addr.Block_NO :14
[ND]nand_info->new_bad_page_addr :65535
[ND]nand_info->partition_nums :1
[ND]sizeof partition:1192
[ND]nand_info->partition:0:
[ND]size:0x36400
[ND]cross_talk:0x0
[ND]attribute:0x0
[ND]start: chip:0 block:16
[ND]end : chip:0 block:511
[ND]nand_partition0
[ND]nftl start:496,62
[ND]first
[ND]before second 496 434.
[ND]all block full!!
[ND]get a new free block
[ND]A64 nand2.0 version:0009
[ND]zone->nand_chip->blk_per_chip: 496
[ND]zone->nand_chip->bytes_per_page: 4096
[ND]zone->nand_chip->pages_per_blk: 64
[ND]zone->nand_chip->max_erase_times: 3000
[ND]zone->nand_chip->support_read_reclaim: 0
[ND]zone->test: 0
[ND]zone->zone_no: 0
[ND]zone->zone_attr: 0
[ND]zone->blocks: 496
[ND]zone->bad_block: 0
[ND]zone->logic_cap_in_sects: 222208
[ND]zone->backup_cap_in_sects: 31744
[ND]zone->free_block_num: 495
[ND]zone->gc_strategy.start_gc_free_blocks: 12
[ND]zone->gc_strategy.stop_gc_free_blocks: 41
[ND]zone->gc_strategy.gc_page: 0
[ND]zone->gc_strategy.process: 1
[ND]zone->prio_gc.prio_type : 0
[ND]zone->zone_start_phy_block->phy_block.Block_NO: 0
[ND]zone->zone_end_phy_block->phy_block.Block_NO: 495
[ND]zone->zone_phy_page_map_for_gc: 4295f1f8
[ND]zone->current_block.user_info: 4295ed68
[ND]zone->current_block.block_info: 42941b04
[ND]zone->current_block.block_info->phy_block.Block_NO: 495
[ND]zone->current_block.page_used: 0
[ND]zone->current_block.block_info->block_used_count: 0
[ND]zone->read_reclaim_complete: 0
[ND]zone->temp_page_buf: 42941b50
[ND]zone->max_erase_num: 0
[ND]zone->cache.cache_totals: 0
[ND]zone->cfg->nftl_dont_use_cache: 1
[ND]zone->cfg->nftl_use_cache_sort: 1
[ND]zone->cfg->nftl_support_gc_read_reclaim: 1
[ND]zone->cfg->nftl_support_wear_leveling: 1
[ND]zone->cfg->nftl_need_erase: 0
[ND]zone->cfg->nftl_min_free_block_num: 32
[ND]zone->cfg->nftl_gc_threshold_free_block_num: a
[ND]zone->cfg->nftl_min_free_block: a
[ND]zone->cfg->nftl_gc_threshold_ratio_numerator: 2
[ND]zone->cfg->nftl_gc_threshold_ratio_denominator: 3
[ND]zone->cfg->nftl_max_cache_num: 20
[ND]zone->cfg->nftl_max_cache_write_num: 10
[ND]zone->cfg->nftl_cross_talk: 0
[ND]zone->cfg->nftl_read_claim_interval: 1296000
[NE]smart->version:aaaaaa01;
[NE]smart->total_recv_read_sectors:0;
[NE]smart->total_recv_write_sectors:0;
[NE]smart->total_real_read_pages:0;
[NE]smart->total_real_write_pages:0;
[NE]smart->total_recv_discard_sectors:0;
[NE]smart->total_real_discard_sectors:0;
[NE]smart->total_recv_read_claim_pages:0;
[NE]smart->total_gc_times:0;
[NE]smart->total_gc_pages:0;
[NE]smart->total_wl_times:0;
[NE]smart->total_real_read_error_pages:0;
[NE]smart->total_real_write_error_pages:0;
[NE]smart->total_normal_power_cycles:1;
[NE]smart->total_unusual_power_cycles:0;
[NE]smart->max_block_erase_times:0;
[NE]smart->min_block_erase_times:0;
[NE]smart->max_block_used_counter:0;
[NE]smart->min_block_used_counter:0;
[NE]smart->read_reclaim_utc:0;
[ND]nftl ok!
[ND]max_erase_times = 65000
[ND]nftl_add ok
NB1 : NAND_LogicInit ok, result = 0x0
nand not need closed
sprite_cartoon ui progressbar: invalid progressbar pointer
[ 3.652]begin to download part
nand already init
[ 3.657]begin to download part bootloader
partdata hi 0x0
partdata lo 0xfbc00
sparse: bad magic
[ 4.002]successed in writting part bootloader
origin_verify value = 90b6ed43, active_verify value = 90b6ed43
[ 4.113]successed in verify part bootloader
sprite_cartoon ui progressbar: invalid progressbar pointer
[ 4.122]successed in download part bootloader
[ 4.127]begin to download part env
partdata hi 0x0
partdata lo 0x10000
sparse: bad magic
[ 4.156]successed in writting part env
origin_verify value = f290bf32, active_verify value = f290bf32
[ 4.175]successed in verify part env
sprite_cartoon ui progressbar: invalid progressbar pointer
[ 4.184]successed in download part env
[ 4.188]begin to download part boot
partdata hi 0x0
partdata lo 0x3c7000
sparse: bad magic
[ 5.525]successed in writting part boot
origin_verify value = fd5dd0e3, active_verify value = fd5dd0e3
[ 5.910]successed in verify part boot
sprite_cartoon ui progressbar: invalid progressbar pointer
[ 5.919]successed in download part boot
[ 5.923]begin to download part system
partdata hi 0x0
partdata lo 0x16eb118
chunk 0(21)
chunk 1(21)
chunk 2(21)
chunk 3(21)
chunk 4(21)
chunk 5(21)
chunk 6(21)
chunk 7(21)
chunk 8(21)
chunk 9(21)
chunk 10(21)
chunk 11(21)
chunk 12(21)
chunk 13(21)
chunk 14(21)
chunk 15(21)
chunk 16(21)
chunk 17(21)
chunk 18(21)
chunk 19(21)
chunk 20(21)
[ 14.006]successed in writting part system
origin_verify value = da299f66, active_verify value = da299f66
[ 14.016]successed in verify part system
sprite_cartoon ui progressbar: invalid progressbar pointer
[ 14.025]successed in download part system
NAND_UbootExit
NB1 : NAND_LogicExit
nand release dma:43a33e6c
nand release dma:0
[ 14.039]successed in downloading part
sprite_cartoon ui progressbar: invalid progressbar pointer
nand not opened
uboot size = 0xac000
storage type = 5
NB1 : enter phy init
NandHwInit: Start Nand Hardware initializing .....
uboot:nand version: 2 25 20150917 1145
Reg 0x01c20848: 0x3333
Reg 0x01c2085c: 0x55
Reg 0x01c20864: 0x10
uboot nand_request_tx_dma: reqest genernal dma for nand success, 0x43a33e6c
request general tx dma channel ok!
uboot nand_request_tx_dma: reqest genernal dma for nand success, 0x43a33e88
request general rx dma channel ok!
SPI nand ID: 12c212c2 12c212c2
[SCAN_DBG] NandTwoPlaneOp: 1, DriverTwoPlaneOPCfg: 1, 0xffcfffff
nand : get id_number_ctl fail, a
_UpdateExtAccessFreqPara: no para.
PHY_Scan_DelayMode: right delay mode 0x0
PHY_Scan_DelayMode: right delay mode 0x800
PHY_Scan_DelayMode: right delay mode,clk 75 MHz, bit[13]=0,bit[11]=1
_GetOldPhysicArch: chip 0, block 20, page 0, oob: 0x0, 0x50, 0x48, 0x59
_GetOldPhysicArch: get old physic arch ok, 0x6d 0x2!
NAND_ReadPhyArch: get old physic arch ok, use old cfg, now:0x2 0x6d - old:0x2 0x6d!
[SCAN_DBG] ==============Nand Architecture Parameter==============
[SCAN_DBG] Nand Chip ID: 0xffff12c2 0xffffffff
[SCAN_DBG] Nand Chip Count: 0x1
[SCAN_DBG] Nand Chip Connect: 0x1
[SCAN_DBG] Sector Count Of Page: 0x4
[SCAN_DBG] Page Count Of Block: 0x40
[SCAN_DBG] Block Count Of Die: 0x400
[SCAN_DBG] Plane Count Of Die: 0x2
[SCAN_DBG] Die Count Of Chip: 0x1
[SCAN_DBG] Bank Count Of Chip: 0x1
[SCAN_DBG] Optional Operation: 0x6d
[SCAN_DBG] Access Frequence: 0x4b
[SCAN_DBG] =======================================================
[FORMAT_DBG] ===========Logical Architecture Parameter===========
[FORMAT_DBG] Page Count of Logic Block: 0x40
[FORMAT_DBG] Sector Count of Logic Page: 0x8
[FORMAT_DBG] Block Count of Die: 0x200
[FORMAT_DBG] Die Count: 0x1
[FORMAT_DBG] ===================================================
nand:found factory_bad_block(new version) table in block:26!
nand:support secure storage
secure storage updata ok!
nand secure storage ok: 21,22
NandHwInit: End Nand Hardware initializing ..... OK!
NB1 : nand phy init ok
burn uboot normal mode!
uboot 2
uboot 3
uboot 4
uboot 5
uboot 6
uboot 7
uboot 8
uboot 9
uboot 10
uboot 11
uboot 12
uboot 13
uboot 14
uboot 15
uboot 16
uboot 17
uboot 18
uboot 19
NB1 : enter phy Exit
nand release dma:43a33e6c
nand release dma:0
sunxi_sprite_deal_uboot ok
[ 14.976]successed in downloading uboot
sprite_cartoon ui progressbar: invalid progressbar pointer
dram para[0] = 168
dram para[1] = 2
dram para[2] = 39bb
dram para[3] = 0
dram para[4] = d20040
dram para[5] = 0
dram para[6] = 263
dram para[7] = 4
dram para[8] = 0
dram para[9] = 0
dram para[10] = 24910c
dram para[11] = 12118c9
dram para[12] = 3c02b
dram para[13] = 0
dram para[14] = 0
dram para[15] = 0
dram para[16] = 0
dram para[17] = 0
dram para[18] = 0
dram para[19] = 0
dram para[20] = 0
dram para[21] = 220000
dram para[22] = 78
dram para[23] = d000001
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 = 5
NB1 : enter phy init
NandHwInit: Start Nand Hardware initializing .....
uboot:nand version: 2 25 20150917 1145
Reg 0x01c20848: 0x3333
Reg 0x01c2085c: 0x55
Reg 0x01c20864: 0x10
uboot nand_request_tx_dma: reqest genernal dma for nand success, 0x43a33e6c
request general tx dma channel ok!
uboot nand_request_tx_dma: reqest genernal dma for nand success, 0x43a33e88
request general rx dma channel ok!
SPI nand ID: 12c212c2 12c212c2
[SCAN_DBG] NandTwoPlaneOp: 1, DriverTwoPlaneOPCfg: 1, 0xffcfffff
nand : get id_number_ctl fail, a
_UpdateExtAccessFreqPara: no para.
PHY_Scan_DelayMode: right delay mode 0x0
PHY_Scan_DelayMode: right delay mode 0x800
PHY_Scan_DelayMode: right delay mode,clk 75 MHz, bit[13]=0,bit[11]=1
_GetOldPhysicArch: chip 0, block 20, page 0, oob: 0x0, 0x50, 0x48, 0x59
_GetOldPhysicArch: get old physic arch ok, 0x6d 0x2!
NAND_ReadPhyArch: get old physic arch ok, use old cfg, now:0x2 0x6d - old:0x2 0x6d!
[SCAN_DBG] ==============Nand Architecture Parameter==============
[SCAN_DBG] Nand Chip ID: 0xffff12c2 0xffffffff
[SCAN_DBG] Nand Chip Count: 0x1
[SCAN_DBG] Nand Chip Connect: 0x1
[SCAN_DBG] Sector Count Of Page: 0x4
[SCAN_DBG] Page Count Of Block: 0x40
[SCAN_DBG] Block Count Of Die: 0x400
[SCAN_DBG] Plane Count Of Die: 0x2
[SCAN_DBG] Die Count Of Chip: 0x1
[SCAN_DBG] Bank Count Of Chip: 0x1
[SCAN_DBG] Optional Operation: 0x6d
[SCAN_DBG] Access Frequence: 0x4b
[SCAN_DBG] =======================================================
[FORMAT_DBG] ===========Logical Architecture Parameter===========
[FORMAT_DBG] Page Count of Logic Block: 0x40
[FORMAT_DBG] Sector Count of Logic Page: 0x8
[FORMAT_DBG] Block Count of Die: 0x200
[FORMAT_DBG] Die Count: 0x1
[FORMAT_DBG] ===================================================
nand:found factory_bad_block(new version) table in block:26!
nand:support secure storage
secure storage updata ok!
nand secure storage ok: 21,22
NandHwInit: End Nand Hardware initializing ..... OK!
NB1 : nand phy init ok
burn boot0 normal mode!
boot0 0
boot0 1
NB1 : enter phy Exit
nand release dma:43a33e6c
nand release dma:0
[ 15.323]successed in downloading boot0
sprite_cartoon ui progressbar: invalid progressbar pointer
Fail in getting glyph of unicode 43. Because face is invalid
Fail in getting glyph of unicode 41. Because face is invalid
Fail in getting glyph of unicode 52. Because face is invalid
Fail in getting glyph of unicode 44. Because face is invalid
Fail in getting glyph of unicode 20. Because face is invalid
Fail in getting glyph of unicode 4f. Because face is invalid
Fail in getting glyph of unicode 4b. Because face is invalid
boot ui char: not enough space to printf
[ 15.374]sprite success
next work 3
SUNXI_UPDATE_NEXT_ACTION_SHUTDOWN
set next system normal
drv_disp_exit
nand not opened
[ 18.385]power off
set power off vol to default
sunxi#
离线
@jimmy, 我烧录编译前的固件是可以的,后面我逐个烧录,发现不存在问题,这个nand在 bsp中是能正常使用的
离线
已经解决了, u-boot, kernel中的 spi nand的问题,暂告一段落
离线
u-boot能识别spi nand吗?
离线
离线
这个是有一个专门的nand驱动的
离线