|
Hi! I have several Xiaoai Smart Speakers. While developing some patches I got locked in one LX01 , tried a lot of stuff in u-boot and fastboot, and .... well, I did `erase` the partition table with some fastboot command.
Despite that, the data is still available in the NAND memory, but I no longer can boot normally.
I can send a uImage via fastboot and run `/bin/sh` in the current rootfs , but cannot complete a full boot to `/sbin/init`, when I do it crashes badly.
I have tried flashing `u-boot.fex` from version 1.32.6 but no changes.
My last hope is to do something with FEL to attempt fully flash the speaker (I have another that is currently working), but I am asking for help to attempt fix this brick, I don't know what else to try...
This is the current boot status in u-boot.
HELLO! BOOT0 is starting!
boot0 version : 4.2.0
boot0 commit : a1ae6c20d88d561753072492191f817d9ff10a36
fel_flag = 0x00000000
rtc[0] value = 0x00000000
rtc[1] value = 0x00000000
rtc[2] value = 0x00000000
rtc[3] value = 0x00000000
DRAM DRIVE INFO: V1.7
DRAM Type =3 (2DR2,3DR3,6PDDR2,7PDDR3)
DRAM zq value: 00003bfbDRAM CLK =552 MHZ
ID CHECK VERSION: V0.1
using ic R16
USE PLL DDR0
USE PLL NORMAL
PLL FREQUENCE = 552 MHZ
DRAM master priority setting ok.
Auto calculate timing parameter!
para_dram_tpr0 = 0047214f
para_dram_tpr1 = 01c2294b
para_dram_tpr2 = 00061043
tcl = 6,tcwl = 4
DRAM TIMING PARA0 = 0b0e180b
DRAM TIMING PARA1 = 0003040f
DRAM TIMING PARA2 = 0406050a
DRAM TIMING PARA3 = 0000400c
DRAM TIMING PARA4 = 05020405
DRAM TIMING PARA5 = 05050403
DRAM TIMING PARA8 = 90003310
DRAM PHY INTERFACE PARA = 02040102
DRAM VTC is disable
DRAM dynamic DQS/DQ ODT is on
DRAM DQS gate is PD mode.
DRAM one rank training is on,the value is 91003587
DRAM work mode register value = 004318c4
DRAM SIZE =128 M
set one rank ODTMAP
DRAM simple test OK.
dram size =128
NAND_ClkRequest, nand_index: 0x00001000
Reg 0x01c20080: 0x00053de3
Reg 0x01c20060: 0x00053dd6
Reg 0x01c202c0: 0x00053dd6
NAND_SetClk, nand_index: 0x0000000a
Reg 0x01c20080: 0x00053de7
NB0 : nand phy init ok
block from 4 to 39
nand block 4 is bad
nand block 5 is bad
nand block 6 is bad
nand block 7 is bad
current block is 8 and last block is 39.
current block is 9 and last block is 39.
current block is 10 and last block is 39.
current block is 11 and last block is 39.
current block is 12 and last block is 39.
current block is 13 and last block is 39.
current block is 14 and last block is 39.
sum=bf68c359
src_sum=bf68c359
The file stored in start block %u is perfect.
Ready to disable icache.
Jump to secend Boot.
[ 0.477]
U-Boot 2011.09-rc1-00000-g2701bad-dirty (Apr 28 2018 - 22:11:21) Allwinner Technology
[ 0.486]version: 1.1.0
[ 0.489]uboot commit : 2701bad684727964760cfd03f426f8c02bbf2558
[ 0.496]pmbus: normal or secure os
ready
[ 0.500]PMU: AXP221
[ 0.502]PMU: AXP22x found
bat_vol=0, ratio=0
[ 0.508]PMU: dcdc3 1200
[ 0.510]PMU: pll1 1008 Mhz,PLL6=600 Mhz
AXI=336 Mhz,AHB=200 Mhz, APB1=100 Mhz
dcdc1_vol = 3000
dcdc2_vol = 1100
dcdc3_vol = 1200
dcdc4_vol = 0
dcdc5_vol = 1500
aldo2_vol = 2500
aldo3_vol = 3000
find power_sply to end
vbus exist
fel key new mode
run key detect
no key found
no key input
dram_para_set start
dram_para_set end
[ 0.632]DRAM: 128 MiB
relocation Offset is: 061f1000
save config for small mem_size
sunxi spi ws2812 is initing...
spi0 gpio cfg done
read CCM_AHB1_RST_REG0[0x6040]
read CCM_AHB1_RST_REG0[0x6040]
read enable CCM_AHB1_RST_REG0[0x106040]
read s CCM_AHB1_GATE0_CTRL[0x106040]
SPI clock source :0x23c34600
spi spic->sclk =0xd0130b
spic_set_clk:mclk=0xd0130b
sunxi spi init OK
workmode = 0
[ 0.727]NAND: NAND_UbootInit
NAND_UbootInit start
NB1 : enter NAND_LogicInit
uboot:nand version: 3 5011 20180329 16671134
nand : get id_number_ctl fail, 0
uboot:nand info: 1580f198 ffff16f2 4000008c 0 0
nand : get sorting_flag fail, a
nand : get CapacityLevel fail, 46b96d6a
not burn nand partition table!
NB1 : nftl num: 1
init nftl: 0
NB1 : NAND_LogicInit ok, result = 0x0
[ 1.122]sunxi flash init ok
fail to find part named env
Using default environment
In: serial
Out: serial
Err: serial
--------fastboot partitions--------
mbr not exist
base bootcmd=run setargs_first boot_first
bootcmd set setargs_nand
key 0
cant find rcvy value
cant find fstbt value
no misc partition is found
os index:0
saveenv storage_type = 0
fail to find part named env
to be run cmd=run setargs_first boot_first
sunxi_serial: sn_filename is not exist
serial is: 2987885c1043ffffe37e
Net: usb_etherWarning: failed to set MAC address
WORK_MODE_BOOT
board_status_probe
sunxi_bmp_logo_display
[ 1.211]Hit any key to stop autoboot: 0
sunxi flash error: cant get part 0 offset
** Can't read from device 0 **
** Unable to use sunxi_flash 0:1 for fatload **
Wrong Image Format for bootm command
ERROR: can't get kernel image!
resetting ...
set next mode 14
[ 2.589][mmc]: MMC Device 2 not found
[ 2.593][mmc]: mmc ���������������F not find,so not exit
NAND_UbootExit
NB1 : NAND_LogicExit
nand release dma:0
dma 0x46bb11d4 int is not used yet
dma 0x46bb11d4 int is free, you do not need to free it again
dma 0x46bb11f0 int is not used yet
dma 0x46bb11f0 int is free, you do not need to free it again
|
|