android_6.0.1_2 MFGTool u-boot.imx放置目录

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

android_6.0.1_2 MFGTool u-boot.imx放置目录

Jump to solution
1,671 Views
jiejia
Contributor III

使用的镜像文件:android_M6.0.1_2.0.0_image_6dqpsabresd.tar.gz

MFGTool:android_m6.0.1_2.0.0_ga_tool.tar.gz

板子:参考sabresd i.mx6q做出来的板子,不是飞思卡尔原装板。没有PMIC,直接DC/DC驱动。

参考:Android_Quick_Start_Guide.pdf,使用MFGTool把镜像下载到板子上面。

结果出现:

CPU:   Freescale i.MX6Q rev1.5 at 792 MHz

CPU:   Temperature 30 C

Reset cause: POR

Board: MX6-SabreSD

I2C:   ready

DRAM:  1 GiB

Can't find PMIC:PFUZE100

initcall sequence 4ff933d8 failed at call 17803708 (err=-19)

### ERROR ### Please RESET the board ###

出现了这个现象后,我在u-boot代码中注释了PMIC的相关代码,编译后把u-boot.imx复制到MFGTool的以下目录,但还是出现同样的打印信息。

Profiles\Linux\OS Firmware\files\android\sabresd\u-boot-imx6q.imx

Profiles\Linux\OS Firmware\firmware\u-boot-imx6qpsabresd_sd.imx

请问下我编译的u-boot.imx是放在这两个目录下吗?如果是的话,为什么我对u-boot的修改会没有效果呢?

Labels (3)
0 Kudos
1 Solution
840 Views
igorpadykov
NXP Employee
NXP Employee

Hi jie

error "Can't find PMIC:PFUZE100" means that

there are calls to pmic in power_init_board() mx6sabresd.c,

please check uboot power_i2c.c pmic_probe(). One can look as

reference at mx6ul_14x14_evk.c (also no pmic) where power_init_board() is

ifdef'ed by #ifdef CONFIG_POWER and make the same modifications.

Best regards

igor

-----------------------------------------------------------------------------------------------------------------------

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

-----------------------------------------------------------------------------------------------------------------------

View solution in original post

0 Kudos
4 Replies
841 Views
igorpadykov
NXP Employee
NXP Employee

Hi jie

error "Can't find PMIC:PFUZE100" means that

there are calls to pmic in power_init_board() mx6sabresd.c,

please check uboot power_i2c.c pmic_probe(). One can look as

reference at mx6ul_14x14_evk.c (also no pmic) where power_init_board() is

ifdef'ed by #ifdef CONFIG_POWER and make the same modifications.

Best regards

igor

-----------------------------------------------------------------------------------------------------------------------

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

-----------------------------------------------------------------------------------------------------------------------

0 Kudos
840 Views
jiejia
Contributor III

I had already delete all the contents in power_init_board() mx6sabresd.c.   I build the u-boot.imx and put it in Profiles\Linux\OS Firmware\firmware and Profiles\Linux\OS Firmware\files\android\sabresd of MFGTool dir. I start to download using MFGTool, but serial software print the same infomation.

Do I put u-boot.imx to the wrong MFGTool dir?

0 Kudos
840 Views
igorpadykov
NXP Employee
NXP Employee

error "Can't find PMIC:PFUZE100" means that

you did not deleted all pmic references.

0 Kudos
840 Views
jiejia
Contributor III

Hi, igor

  You are right. While I deleted all the pmic references, I don't see the "Can't find PMIC:PFUZE100".  But I still can;t download the image using MFGTool. The log is:

CPU:   Freescale i.MX6Q rev1.5 at 792 MHz

CPU:   Temperature 29 C

Reset cause: POR

Board: MX6-SabreSD

I2C:   ready

DRAM:  1 GiB

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

check_and_clean: reg 0, flag_set 0

Cannot find partition 8

rw_block, get_block_size return 0

read_bootctl, rw_block read failed

read command failed

Fastboot: Normal

flash target is MMC:2

Bad partition index:2 for partition:recovery

Bad partition index:5 for partition:system

Bad partition index:4 for partition:data

Net:   FEC [PRIME]

Error: FEC address not set.

Boot from USB for mfgtools

Use default environment for                              mfgtools

Run bootcmd_mfg: <NULL>

=>

0 Kudos