EC200R-CN的模组,我按照之前休眠的方式DTR管脚拉高但是无法休眠,这个难道有什么特殊方式吗?
[10:12:18.851]收←◆AT+QSCLK?
+QSCLK: 1
OK
[10:12:27.189]发→◇ATI
□
[10:12:27.193]收←◆ATI
Quectel
EC200R-CNGA
Revision: EC200RCNGAR03A04M2G_OCPU
OK
EC200R-CN的模组,我按照之前休眠的方式DTR管脚拉高但是无法休眠,这个难道有什么特殊方式吗?
[10:12:18.851]收←◆AT+QSCLK?
+QSCLK: 1
OK
[10:12:27.189]发→◇ATI
□
[10:12:27.193]收←◆ATI
Quectel
EC200R-CNGA
Revision: EC200RCNGAR03A04M2G_OCPU
OK
Hi Wootion,
您好,您已经拿到了移远的OpenSDK了吗?
这个固件是Open版本,你可以登录进模块,看看具体的唤醒源是什么.
USB 不要连接。
用debug 串口登录进模块,(不能使用adb)
cat /sys/kernel/debug/wakeup_sources
哪一项的 active_since 一直在增加就是谁在block 休眠。
好的,知道了,我就说怎么没有adb口。
我有《Quectel_EC200A&ECx00R系列_QuecOpen(SDK)_常见休眠唤醒排查分析指导》这个手册。顺带问一下这个Ql_Autosleep_Enable()是怎么调用的呢?
通过AT+QSCLK=1进入休眠模式;
调用 Ql_Autosleep_Enable()进入休眠模式;
手动进入休眠模式,需要执行 adb shell “echo mem > /sys/power/autosleep”,将/sys/power/autosleep 设置为 mem 模式时系统才能进入休眠模式。
USB 是不能连接的。如果连上的USB, 大概率就是USB block 休眠了。
这三种方式的效果应该是一样的。
1、通过AT下发QSCLK=1
2、拔掉USB
3、在串口调用 Ql_Autosleep_Enable()
这样是不是就可以验证休眠了?
是的。
还可以唤醒后读下cat /sys/kernel/debug/suspend_stats 看看之前是否有成功进入休眠。
我焊接了uart debug端口,但是为什么进不去串口呢,敲击回车按键我任何反应
–IPOP Time:2025/1/16_11:21:58–
–IPOP Time:2025/1/16_11:21:59–
ASR Processor 1806 A0
emac 3.3v
PI2C init done
PMIC init done
Finish loading TIM from: 0x0000001C
Init DDR: PASS
Load Image 0x4F424D49 : PASS
Verify Image: PASS
Xfer to OBM
U-Boot 2014.01 (Oct 22 2024 - 06:53:32)
ASR FALCON-T EVB P301
smpl: 0
otp6d:0x38
otp68:0xbd
otp67:0xb3
vref:0x31
vrefotp: 0x31,offset: -15
sample offset: 4
boot up reason = 6
Charger ETA6005 init
Board Fuel Gauge init
CTRL+C: enter instruction mode
PINTEST OR FASTBOOT OR DEBUG
SPI-FLASH: QSPI_SMPR=0x0 t=769 tclqv=0 tset=0 thold=0
QSPI_FLSHCR=0x10202, delay=0
Bus clock: 13MHz QSPI_CLK_RES_CTRL: 0xe1b
use_intr=0 en_tx_dma=1 use_xip=1
SPI-NAND type mfr_id: c8, dev_id: c882
Set rx_pins: 4, tx_pins: 4, Read_CMD:0x6b
AHB data transfer size: 512
XIP Read mode enabled
Fixed LUT bit-map: 0xffc
unknown device, set SPINAND_RDM_CMD_NEED_PAGE_READ
spi_nand_detect_onfi: buffer=0x7ff500
nand support onfi
block_size=0x20000 page_size=0x800 bitflip_threshold=0
Max capacity of BBM is 105 blocks!!
[abbt] relocation table at page:0, order:positive, max:504
The reloc table is empty now
[bbt] relocation table at block:0 page:8, begin:8, order:positive
The reloc table is empty now
QSPI_SMPR=0x50000 t=128 tclqv=0 tset=0 thold=0
QSPI_FLSHCR=0x10202, delay=5
Bus clock: 78MHz QSPI_CLK_RES_CTRL: 0x9b
MMC: mv_sdh: 0, mv_sdh: 1
@@ Retrive image offset/size from TIM.
@@ Default AB flags: active_slot: a, temp_active_slot: a, reboot_cnt: 0, synced: 1
@@ DTIM@0x360000, ASR FLAG@0x160000
@@ Retrive image offset/size from DTIM.
Image: OSLO, 0x70f6c@0x12a0000, ret: 0
Image: ZIMG, 0x36c7cf@0x1360000, ret: 0
Image: SYSJ, 0x2e00000@0x1860000, ret: 0
Image: ARBI, 0x866084@0x7e0000, ret: 0
Image: GRBI, 0x280000@0x3e0000, ret: 0
EUAC or others, Load RFBIID.
Image: RFBI, 0x8000@0x3a0000, ret: 0
@@Active System is A.
*** Warning - bad CRC, using default environment
In: serial
Out: serial
Err: serial
svc_tune_bits: 00
update dfc tbl
SVC profile is 4
svc_tune_tbl: 1
Set VBUCK1 to 900mV
Set VBUCK1 to 938mV
CA7 OP4,DVL:3
AXI @OP1
1(OP1)—aclk:208 dvc:0
Set VBUCK1 to 938mV
DDR OP1,DVL:3
cpvl: 0x1
dpvl: 0x2
mem test: asr flag header: 464f5441
asr flag ddrt_state: 0
cp_load_table_init: cp load table init ok
No Codec found
SPI-FLASH: 1048576 bytes @ 0x1860000 Read: OK
SPI-FLASH: 1048576 bytes @ 0x1960000 Read: OK
SPI-FLASH: 1048576 bytes @ 0x1a60000 Read: OK
SPI-FLASH: 1048576 bytes @ 0x1b60000 Read: OK
SPI-FLASH: 1048576 bytes @ 0x1c60000 Read: OK
SPI-FLASH: 1048576 bytes @ 0x1d60000 Read: OK
SPI-FLASH: 1048576 bytes @ 0x1e60000 Read: OK
SPI-FLASH: 1048576 bytes @ 0x1f60000 Read: OK
SPI-FLASH: 1048576 bytes @ 0x2060000 Read: OK
SPI-FLASH: 1048576 bytes @ 0x2160000 Read: OK
SPI-FLASH: 1048576 bytes @ 0x2260000 Read: OK
SPI-FLASH: 911093 bytes @ 0x2360000 Read: OK
SYSJ verified, PASS, offset: 0x1860000, size: 0xbde6f5
OEMD is not in DTIM_Primary
SPI-FLASH: 3590095 bytes @ 0x1360000 Read: OK
ZIMG verified, PASS, offset: 0x1360000, size: 0x36c7cf
No CP Mode: 0.
cp_load_table_init: cp load table init ok
SPI-FLASH: 8806532 bytes @ 0x7e0000 Read: OK
–IPOP Time:2025/1/16_11:22:09–
ARBI verified, PASS, offset: 0x7e0000, size: 0x866084
SPI-FLASH: 2621440 bytes @ 0x3e0000 Read: OK
GRBI verified, PASS, offset: 0x3e0000, size: 0x280000
RFBI verified, PASS, offset: 0x3a0000, size: 0x8000
mtdparts variable not set, see ‘help mtdparts’
partition size too small (0)
mtdparts variable not set, see ‘help mtdparts’
device nand0 <nand_mtd>, # parts = 1
#: name size offset mask_flags
0: rootfs_data 0x05d80000 0x09560000 0
active partition: nand0,0 - (rootfs_data) 0x05d80000 @ 0x09560000
defaults:
mtdids : none
mtdparts: none
SPI-FLASH: 131072 bytes @ 0xa0000 Read: OK
CRC check OK with flash address: 0xa0000
SPI-FLASH: 131072 bytes @ 0xe0000 Read: OK
CRC check OK with flash address: 0xe0000
Primary/Backup mrd are both OK
SPI-FLASH: 131072 bytes @ 0xa0000 Read: OK
==>load ap mrd to 0x7cc0000, size:0x20000
SPI-FLASH: 131072 bytes @ 0xc0000 Read: OK
CRC check OK with flash address: 0xc0000
SPI-FLASH: 131072 bytes @ 0x100000 Read: OK
CRC check OK with flash address: 0x100000
Primary/Backup mrd are both OK
SPI-FLASH: 131072 bytes @ 0xc0000 Read: OK
SPI-FLASH: 131072 bytes @ 0x120000 Read: OK
mrd invalid stamp
SPI-FLASH: 131072 bytes @ 0x140000 Read: OK
mrd invalid stamp
!!! No valid MEP
SPI-FLASH: 131072 bytes @ 0x120000 Read: OK
mrd invalid stamp
SPI-FLASH: 131072 bytes @ 0x140000 Read: OK
mrd invalid stamp
!!! No valid MEP
incorrect device type in oem_data
Partition oem_data not found!
mvboot: failed to set ubi partition
vbat: 0mv
cp_ctrl_param: 0x200
release cp…
PMUM_APRR: 0x41
done!
Kernel image @ 0x008000 [ 0x000000 - 0x362690 ]
Starting kernel …
Active system-a
Press the [1], [2], [3] or [4] key and hit [enter] to select the debug level
found rootfs_data partition and ubifs support
UBI device number 0, total 748 LEBs (94978048 bytes, 90.5 MiB), available 0 LEBs (0 bytes), LEB size 126976 bytes (124.0 KiB)
switching to ubifs sysfs overlay
UBI device number 1, total 96 LEBs (12189696 bytes, 11.6 MiB), available 37 LEBs (4698112 bytes, 4.4 MiB), LEB size 126976 bytes (124.0 KiB)
procd: - early -
procd: - telinit -
Starting Marvell Specific Boot Script
Starting serial_quectel Script
uci: Entry not found
procd: - ubus -
/sbin/usb_init: line 151: can’t create /sys/class/android_usb/android0/win7: Permission denied
/sbin/usb_init: line 152: can’t create /sys/class/android_usb/android0/win8: Permission denied
/sbin/usb_init: line 153: can’t create /sys/class/android_usb/android0/olinux: Permission denied
/sbin/usb_init: line 154: can’t create /sys/class/android_usb/android0/apple: Permission denied
/sbin/usb_init: line 157: can’t create /sys/class/android_usb/android0/win7_s2: Permission denied
/sbin/usb_init: line 158: can’t create /sys/class/android_usb/android0/win8_s2: Permission denied
/sbin/usb_init: line 159: can’t create /sys/class/android_usb/android0/olinux_s2: Permission denied
/sbin/usb_init: line 160: can’t create /sys/class/android_usb/android0/apple_s2: Permission denied
/sbin/usb_init: line 161: can’t create /sys/class/android_usb/android0/os: Permission denied
procd: - init -
Please press Enter to activate this console.
sh: can’t create /sys/devices/platform/soc/d4000000.apb/pxa2xx-i2c.0/i2c-0/0-001b/alc5616-headset/enable_headset_detection: nonexistent directory
Init expand at success
–IPOP Time:2025/1/16_11:22:19–
sh: can’t create /sys/devices/platform/soc/d4000000.apb/pxa2xx-i2c.0/i2c-0/0-001b/alc5616_switch_rate: Permission denied
[AUD-SW] VCMAudioConfigPCM, pcm:145
–IPOP Time:2025/1/16_11:22:29–
[AUD-SW] VCMMute, dir:0 on:1 ramp:0
[AUD-SW] VCMMute, dir:1 on:1 ramp:0
[AUD-SW] audio profile:1
[AUD-SW] audio volume, dir:0 gain:2570 misc:80
[AUD-SW] audio volume, dir:1 gain:64507 misc:80
[AUD-SW] audio volume, dir:2 gain:32896 misc:80
[AUD-SW] VCMMute, dir:0 on:0 ramp:0
[AUD-SW] VCMMute, dir:1 on:0 ramp:0
[AUD-SW] audio volume, dir:0 gain:2570 misc:80
[AUD-SW] audio volume, dir:1 gain:64507 misc:80
[AUD-SW] audio volume, dir:2 gain:32896 misc:80
[AUD-SW] audio volume, dir:1 gain:0 misc:0
–IPOP Time:2025/1/16_11:22:39–
–IPOP Time:2025/1/16_11:22:48–
–IPOP Time:2025/1/16_11:22:59–
–IPOP Time:2025/1/16_11:23:08–
–IPOP Time:2025/1/16_11:23:18–
–IPOP Time:2025/1/16_11:23:28–
这个看起来还没走到login.
如果还是不能login in,还是要先检查下硬件。模组的串口应该是1.8V 供电。