Android7.1 can not enter recovery mode

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Android7.1 can not enter recovery mode

4,151 次查看
jack-cap
Contributor III

Hi NXP team:

I need OTA function in imx6q-sabresd.

When I input the command as below:

sabresd_6dq:/ #
sabresd_6dq:/ #
sabresd_6dq:/ #
sabresd_6dq:/ # reboot recovery

sysrq: SysRq : Emergency Remount R/O
EXT4-fs (mmcblk3p6): re-mounted. Opts: (null)
EXT4-fs (mmcblk3p4): re-mounted. Opts: (null)
Emergency Remount complete
imx2-wdt 20c0000.wdog: Device shutdown: Expect reboot!
reboot: Restarting system with command 'recovery'

U-Boot 2015.04-00001-g9f38145-dirty (Apr 22 2019 - 10:07:10)
CPU:   Freescale i.MX6Q rev1.5 at 792 MHz
CPU:   Temperature 59 C
Reset cause: POR
Board: MX6-SabreSD
I2C:   ready
DRAM:  2 GiB
PMIC:  PFUZE100 ID=0x10
MMC:   FSL_SDHC: 0, FSL_SDHC: 1, FSL_SDHC: 2
*** Warning - bad CRC, using default environment
No panel detected: default to Hannstar-XGA
Display: Hannstar-XGA (1024x768)
In:    serial
Out:   serial
Err:   serial
flash target is MMC:2
Fastboot: Normal                        -----------------------why there is Normal but not recovery
Net:   Phy 1 not found
PHY reset timed out
FEC [PRIME]
Error: FEC address not set.

But it can not enter recovery mode,it boot up normally .

Could anyone tell me  how to change it ?

标签 (2)
6 回复数

3,863 次查看
shivanipatel
Senior Contributor II

Hi, yingjin yan

Which Android BSP version are you using Android 7.1.1/7.1.2?

As Reboot recovery command is not supported in Android 7.1.1 u-boot. You have to add support for reboot recovery command in Android 7.1.1 AOSP. You can use Android 7.1.2 instead.

For Android 7.1.1, you can enter in recovery mode manually by pressing "VOLUME DOWN" and "Power SWITCH"  after the system completes the bootup.

Regards,

Shivani

3,863 次查看
jack-cap
Contributor III

Hi Shivani

my Android BSP version is Android 7.1.1  ,

ok,I will try it.

BRs

Thanks

0 项奖励
回复

3,863 次查看
shivanipatel
Senior Contributor II

Hi, jack-cap

Are you able to solve the problem?

0 项奖励
回复

3,863 次查看
jack-cap
Contributor III

Hi Shivani Patel

sorry for my late reply.

It still can not solved.

When I move to  Android 7.1.2 AOSP instead.When open system with camera App,It has some new problem.

some log as below:

alloc_contig_range: [32900, 36900) PFNs busy
alloc_contig_range: [32a00, 36a00) PFNs busy
alloc_contig_range: [32a00, 36b00) PFNs busy
alloc_contig_range: [32c00, 36c00) PFNs busy
alloc_contig_range: [32c00, 36d00) PFNs busy
alloc_contig_range: [32c00, 36e00) PFNs busy
alloc_contig_range: [32c00, 36f00) PFNs busy
alloc_contig_range: [33000, 37000) PFNs busy
alloc_contig_range: [33100, 37100) PFNs busy
alloc_contig_range: [37200, 3b200) PFNs busy
alloc_contig_range: [37200, 3b300) PFNs busy
alloc_contig_range: [37400, 3b400) PFNs busy
alloc_contig_range: [37500, 3b500) PFNs busy
ERROR: v4l2 capture: mxc_v4l_dqueue timeout enc_counter 0

Could you give some advice for porting recovery function to Android 7.1.1

Should I only porting uboot ? or uboot and kernel ?

0 项奖励
回复

3,857 次查看
Rita_Wang
NXP TechSupport
NXP TechSupport

Hi,

About recovery mode you can refer to the steps in the document Android_Frequently_Asked_Questions:

33 How do I update my device with the OTA Package?
Updating by Android fastboot
Have a great day,
Rita

-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

0 项奖励
回复

3,857 次查看
jack-cap
Contributor III

Hi Rita Wang

I have tried as :

33 How do I update my device with the OTA Package?
Updating by Android fastboot

while enter command :reboot recovery

but it seems can not enter recovery mode.

Is there need modify the uboot code ?

some log as below:

sysrq: SysRq : Emergency Remount R/O
EXT4-fs (mmcblk3p6): re-mounted. Opts: (null)
EXT4-fs (mmcblk3p4): re-mounted. Opts: (null)
Emergency Remount complete
imx2-wdt 20c0000.wdog: Device shutdown: Expect reboot!
reboot: Restarting system with command 'recovery'


U-Boot 2015.04-00001-g9f38145-dirty (Apr 23 2019 - 10:59:16)

CPU: Freescale i.MX6Q rev1.5 at 792 MHz
CPU: Temperature 41 C
Reset cause: POR
Board: MX6-SabreSD
I2C: ready
DRAM: 2 GiB
PMIC: PFUZE100 ID=0x10
MMC: FSL_SDHC: 0, FSL_SDHC: 1, FSL_SDHC: 2
*** Warning - bad CRC, using default environment

No panel detected: default to Hannstar-XGA
Display: Hannstar-XGA (1024x768)
In: serial
Out: serial
Err: serial
flash target is MMC:2
Fastboot: Normal                           ---------why this is normal but not recovery
Net: Phy 1 not found
PHY reset timed out
FEC [PRIME]
Error: FEC address not set.

0 项奖励
回复