[U-Boot] [PATCH] i2c: imx: bus arbitration fix when reading block data
Breno Matheus Lima
brenomatheus at gmail.com
Tue Jan 16 14:36:31 UTC 2018
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.
Thanks,
Breno Lima
More information about the U-Boot
mailing list