Re: [U-Boot] [RFC 1/9] Arm: dts: imx7d-pico: Import Linux pico-pi dts

Le 28 janv. 2019 à 07:53, Jun Nie jun.nie@linaro.org a écrit :
Joris Offouga offougajoris@gmail.com 于2019年1月25日周五 下午8:27写道:
Le 25/01/2019 à 02:19, Jun Nie a écrit : Joris Offouga offougajoris@gmail.com 于2019年1月24日周四 下午9:07写道:
Le 24/01/2019 à 13:54, Jun Nie a écrit : Joris Offouga offougajoris@gmail.com 于2019年1月24日周四 下午6:30写道: Le 24/01/2019 à 11:02, Jun Nie a écrit : >>>> Hi Joris, >>>> >>>> I've been told that this board exhibits this same problem even without >>>> the DM conversion. >>>> >>>> "PMIC: PFUZE3000 DEV_ID=0x0 REV_ID=0xfffffffb >>>> read error from device: 9df65458 register: 0x69! >>>> write error to device: 9df65458 register: 0x23! >>>> write error to device: 9df65458 register: 0x31!" >>> The result before DM conversion is : >>> >>> PMIC: PFUZE3000 DEV_ID=0x30 REV_ID=0x11 >>> >>> Did you have this problem with the warp7 ? >> No. >> >> Jun - do you see the above error on the pico ? > No. The only line I see about PMIC is: > PMIC: PFUZE3000 DEV_ID=0x30 REV_ID=0x11 > > Jun Yes it is the line that appears before the conversion
Jun - do you have the pico board ?
Can you help me with the conversion ?
Joris
OK, I can try it. Where can I find a git branch with these patches?
Non, fork the repo and I create a branch on my repo you go?
If you have a preference, tell me
Right, you create a branch, I will clone and test on it.
I create a branch pico-imx7d/convert_dm on my github repo :
https://github.com/jorisoffouga/u-boot/tree/pico-imx7d/convert_dm
Hi Joris,
I burn u-boot.img to offset 69KB, but SPL does not boot into u-boot according to log. Not sure
Hi Jun
You have the same behavior as me. For the spl I think it should copy Otavio and Fabio who put it in place.
U-Boot SPL 2019.01-00273-g3006f29-dirty (Jan 27 2019 - 22:19:00 +0800) Trying to boot from MMC1
If I replace SPL with DCD file for early initilization, I see below log. Suppose it is due to i2c failure.
4474 U-Boot 2019.01-00274-gca08248-dirty (Jan 27 2019 - 22:28:17 +0800) 4475 4476 CPU: Freescale i.MX7D rev1.2 1000 MHz (running at 792 MHz) 4477 CPU: Commercial temperature grade (0C to 95C) at 27C 4478 Reset cause: POR 4479 Model: TechNexion PICO-IMX7D Board and PI baseboard 4480 Board: i.MX7D PICOSOM 4481 DRAM: 512 MiB 4482 read error from device: 9df54458 register: 0x3! 4483 PMIC: PFUZE3000 DEV_ID=0x0 REV_ID=0xfffffffb 4484 read error from device: 9df54458 register: 0x69! 4485 write error to device: 9df54458 register: 0x23! 4486 write error to device: 9df54458 register: 0x31! 4487 write error to device: 9df54458 register: 0x21! 4488 write error to device: 9df54458 register: 0x2f! 4489 read error from device: 9df54458 register: 0x2e! 4490 write error to device: 9df54458 register: 0x2e! 4491 MMC: FSL_SDHC: 2, FSL_SDHC: 1, FSL_SDHC: 0 4492 Loading Environment from MMC... OK 4493 In: serial@30a70000 4494 Out: serial@30a70000 4495 Err: serial@30a70000 4496 Net: gpio@30250000: dir_output: error: gpio GPIO6_11 not reserved 4497 gpio@30250000: set_value: error: gpio GPIO6_11 not reserved 4498 Board Net Initialization Failed 4499 No ethernet found. 4500 Hit any key to stop autoboot: 2 ^H^H^H 1 ^H^H^H 0 4501 Saving Environment to MMC... Writing to MMC(0)... OK 4502 switch to partitions #0, OK 4503 mmc0(part 0) is current device 4504 Scanning mmc 0:1... 4505 Found U-Boot script /boot.scr 4506 830 bytes read in 3 ms (269.5 KiB/s) 4507 ## Executing script at 80800000
Jun
Joris
Jun
Joris
Joris
Jun
participants (1)
-
Offouga Joris