[U-Boot] [PATCH] i2c: imx: bus arbitration fix when reading block data

Heiko Schocher hs at denx.de
Wed Jan 17 05:14:47 UTC 2018


Hello Breno,

Am 16.01.2018 um 15:36 schrieb Breno Matheus Lima:
> Hi Jim,
> 
> 2018-01-16 10:47 GMT-02:00 Heiko Schocher <hs at denx.de>:
>> Hello Fabio,
>>
>> Am 16.01.2018 um 12:50 schrieb Fabio Estevam:
>>>
>>> Hi Heiko,
>>>
>>> On Tue, Jan 16, 2018 at 3:29 AM, Heiko Schocher <hs at denx.de> wrote:
>>>
>>>> And some Tested-by would be helpful ...
>>>>
>>>> @Stefano, @Fabio: Any chance to test this change? Thanks!
>>>
>>>
>>> Breno on Cc will do a quick test on this one.
> 
> I tested your patch on a mx6sabresd board and U-Boot is hanging in
> power_init_board():
> 
> U-Boot SPL 2018.01-39204-g3244ca3 (Jan 16 2018 - 12:13:25)
> Trying to boot from MMC1
> 
> 
> U-Boot 2018.01-39204-g3244ca3 (Jan 16 2018 - 12:13:25 -0200)
> 
> CPU:   Freescale i.MX6QP rev1.0 996 MHz (running at 792 MHz)
> CPU:   Automotive temperature grade (-40C to 125C) at 25C
> Reset cause: POR
> Board: MX6-SabreSD
> I2C:   ready
> DRAM:  1 GiB
> 
> 
> With DEBUG mode enabled I'm getting the following output:
> 
> U-Boot 2018.01-39204-g3244ca3-dirty (Jan 16 2018 - 12:24:34 -0200)
> 
> CPU:   Freescale i.MX6QP rev1.0 996 MHz (running at 792 MHz)
> CPU:   Automotive temperature grade (-40C to 125C) at 36C
> Reset cause: POR
> Board: MX6-SabreSD
> I2C:   ready
> DRAM:  1 GiB
> pmic_alloc: new pmic struct: 0x4f56e1e8
> pmic_get: pmic PFUZE100 -> 0x4f56e1e8
> i2c_write_data: chip=0x8, len=0x0
> write_data:
> 
> I also tested on a mx7dsabresd and on this board your patch is working
> fine. If you need more details please let me know.

Many thanks for testing!

bye,
Heiko
-- 
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-52   Fax: +49-8142-66989-80   Email: hs at denx.de


More information about the U-Boot mailing list