小愛萬用搖控音箱Rx Tx串口資訊

小愛萬用搖控音箱

型號LX05A

Rx Tx串口資料,目前測試了一下,透過TTL方式接入

,插入電源後會得到資料,在穩定載入後就沒任何資訊了。

使用的是Linux Sunxi,以下為串口輸出資訊




HELLO! BOOT0 is starting!
boot0 version : 4.2.0
boot0 commit :

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 (2:DDR2,3:DDR3,6:LPDDR2,7:LPDDR3)
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 PLL DDR0 frequency extend open !
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=69acaf7e
src_sum=69acaf7e
The file stored in start block %u is perfect.
Ready to disable icache.
Jump to secend Boot.
[      0.472]

U-Boot 2011.09-rc1-00000-gfb78ace-dirty (Mar 08 2019 - 14:34:17) Allwinner Technology 

[      0.481]version: 1.1.0
[      0.484]uboot commit : 

[      0.491]pmbus:   normal or secure os
ready
[      0.495]PMU: AXP221
[      0.497]PMU: AXP22x found
bat_vol=0, ratio=100
[      0.503]PMU: dcdc3 1200
[      0.506]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 not exist
fel key new mode
run key detect
no key found
no key input
dram_para_set start
dram_para_set end
[      1.630]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
[      1.725]NAND: NAND_UbootInit
NAND_UbootInit start
NB1 : enter NAND_LogicInit
uboot:nand version: 3 5011 20180329 16671134 
nand : get id_number_ctl fail, 1
uboot:nand info: 9500f1ec ffffff42 4000008c 0 0 
nand : get sorting_flag fail, a
nand : get CapacityLevel fail, 46b96d22
not burn nand partition table!
NB1 : nftl num: 1 
 init nftl: 0 
NB1 : NAND_LogicInit ok, result = 0x0 
[      2.137]sunxi flash init ok
In:    serial
Out:   serial
Err:   serial
--------fastboot partitions--------
-total partitions:9-
-name-        -start-       -size-      
env         : 80000         40000       
kernel1     : c0000         600000      
rootfs1     : 6c0000        2400000     
kernel2     : 2ac0000       600000      
rootfs2     : 30c0000       2400000     
misc        : 54c0000       40000       
private     : 5500000       40000       
crashlog    : 5540000       40000       
UDISK       : 5580000       0           
-----------------------------------
base bootcmd=run setargs_second boot_second
bootcmd set setargs_nand
key 0
cant find rcvy value
cant find fstbt value
misc partition found
flag_try_sys1_failed=0
flag_try_sys2_failed=0
flag_ota_reboot     =0
flag_last_success   =1
os index:1
to be run cmd=run setargs_second boot_second
sunxi_serial: sn_filename is not exist
serial is: 音箱序號
Net:   usb_etherWarning: failed to set MAC address

WORK_MODE_BOOT
board_status_probe
sunxi_bmp_logo_display
[      2.274]Hit any key to stop autoboot:  0 
fatload partition name: kernel2 -> 3
## Booting kernel from Legacy Image at 43800000 ...
   Image Name:   ARM OpenWrt Linux-3.4.39
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    3077944 Bytes = 2.9 MiB
   Load Address: 40008000
   Entry Point:  40008000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
OK
[      2.541][mmc]: MMC Device 2 not found
[      2.544][mmc]:  mmc ⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮F not find,so not exit
NAND_UbootExit
NB1 : NAND_LogicExit
nand release dma:0
dma 0x46bb1184 int is not used yet
dma 0x46bb1184 int is free, you do not need to free it again
dma 0x46bb11a0 int is not used yet
dma 0x46bb11a0 int is free, you do not need to free it again
reload config to 0x43000000 
[      2.551]
Starting kernel ...

  " NAME="EXT_JOURNAL" VERSION="1.0" TYPE="ext4"
/dev/by-name/UDISK already format by ext4
[    4.072088] WRN:L2870(drivers/usb/sunxi_usb/udc/sunxi_udc.c):pdev is null
ledserver[474]: handle_show start
ledserver[474]: start_show effect_id is 4 is_working is 0
ledserver[474]: start_show end
ledserver[474]: handle_show stop
ledserver[474]: thread_push_led start
ledserver[474]: thread_push_led end
ledserver[474]: light_show_control 4
crond[524]: crond (busybox 1.24.1) started, log level 5
ledserver[474]: open_light start
ledserver[474]: light_show_effect 4
all servers are OK

LED boot ok.


從初始化看來,usb驅動應該也被拿掉了,在實體線上

USB的D+D-也都沒接上,串接的22歐姆沒接,還有Dm Dp15k歐姆的

下拉電阻也沒接


到了LED boot ok.之後也無法取得root,後來查了一下

大概可以知道Triggering FEL mode的進入方式

在小愛音箱插電之前,先按著音量+,就會進入FEL mode

顯示的資訊如下



HELLO! BOOT0 is starting!
boot0 version : 4.2.0
boot0 commit :

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 (2:DDR2,3:DDR3,6:LPDDR2,7:LPDDR3)
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 PLL DDR0 frequency extend open !
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=69acaf7e
src_sum=69acaf7e
The file stored in start block %u is perfect.
Ready to disable icache.
Jump to secend Boot.
[      0.472]

U-Boot 2011.09-rc1-00000-gfb78ace-dirty (Mar 08 2019 - 14:34:17) Allwinner Technology 

[      0.481]version: 1.1.0
[      0.484]uboot commit :

[      0.491]pmbus:   normal or secure os
ready
[      0.495]PMU: AXP221
[      0.497]PMU: AXP22x found
bat_vol=0, ratio=100
[      0.503]PMU: dcdc3 1200
[      0.506]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 not exist
fel key new mode
run key detect
key pressed value=0x4
fel key detected
set next system status
reset cpu
⸮⸮եյ⸮⸮⸮⸮⸮⸮⸮⸮⸮եեե⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮եեեեեե⸮⸮⸮HELLO! BOOT0 is starting!
boot0 version : 4.2.0
boot0 commit :

fel_flag = 0x5aa5a55a
rtc[0] value = 0x00000000
rtc[1] value = 0x00000000
rtc[2] value = 0x5aa5a55a
rtc[3] value = 0x00000000
eraly jump fel




文件當中有提到進入FEL模式後可以輸入1 或者2

會有初始化,不過我測試了沒反應




沒有留言:

張貼留言