[U-Boot] Convert Pico-Pi i.MX7D to DM
Fabio Estevam
festevam at gmail.com
Sun Jan 20 18:13:31 UTC 2019
Hi Joris,
[Please keep the list on Cc]
On Sun, Jan 20, 2019 at 3:27 PM Joris Offouga <offougajoris at gmail.com> wrote:
> I convert I2C first , it work but pmic function return wrong error :
>
> read error from device: 9df65458 register: 0x3!
> PMIC: PFUZE3000 DEV_ID=0x18764000 REV_ID=0xfffffffb
> read error from device: 9df65458 register: 0x69!
> write error to device: 9df65458 register: 0x23!
> write error to device: 9df65458 register: 0x31!
> write error to device: 9df65458 register: 0x21!
> write error to device: 9df65458 register: 0x2f!
> read error from device: 9df65458 register: 0x2e!
> write error to device: 9df65458 register: 0x2e!
>
> When DM_USB is enable, I use dfu 0 mmc 0 for update spl and u-boot. SPL
> update normally but u-boot.img is causing an error :
>
> #Deferred dfu_flush() failed!=>
>
> For the moment here is the result of the conversion :
>
> U-Boot SPL 2019.01-rc3-dirty (Jan 20 2019 - 18:17:05 +0100)
> Trying to boot from USB SDP
> SDP: initialize...
> SDP: handle requests...
> Downloading file of size 553025 to 0x877fffc0... done
> Jumping to header at 0x877fffc0
> Header Tag is not an IMX image
>
> U-Boot 2019.01-rc3-dirty (Jan 20 2019 - 18:17:05 +0100)
Could you please use a more recent U-Boot? 2019.01 has been released already.
> CPU: Freescale i.MX7D rev1.2 1000 MHz (running at 792 MHz)
> CPU: Commercial temperature grade (0C to 95C) at 48C
> Reset cause: POR
> Model: TechNexion PICO-IMX7D Board and PI baseboard
> Board: i.MX7D PICOSOM
> DRAM: 512 MiB
> read error from device: 9df65458 register: 0x3!
> PMIC: PFUZE3000 DEV_ID=0x18764000 REV_ID=0xfffffffb
> read error from device: 9df65458 register: 0x69!
> write error to device: 9df65458 register: 0x23!
> write error to device: 9df65458 register: 0x31!
> write error to device: 9df65458 register: 0x21!
> write error to device: 9df65458 register: 0x2f!
> read error from device: 9df65458 register: 0x2e!
> write error to device: 9df65458 register: 0x2e!
> MMC: FSL_SDHC: 2, FSL_SDHC: 1, FSL_SDHC: 0
> Loading Environment from MMC... OK
> In: serial at 30a70000
> Out: serial at 30a70000
> Err: serial at 30a70000
> Net: eth0: ethernet at 30be0000
> Hit any key to stop autoboot: 0
At least the Ethernet GPIO error is gone :-)
Could you please post your patch as RFC to the list so that we can try
to understand what is going wrong?
Thanks
More information about the U-Boot
mailing list