[Letux-kernel] 2016.11 uboot considered harmful

Andreas Kemnade andreas at kemnade.info
Thu Feb 2 18:50:03 CET 2017


On Thu, 2 Feb 2017 07:59:01 +0100
"H. Nikolaus Schaller" <hns at goldelico.com> wrote:

> So it might be better to add a printf() to i2c_write and make it
> print the bus_num, the chip address, and data length. Or we restrict
> the printf to bus_num=i2c1. This might show something unexpected.
> 
U-Boot 2016.11-01291-g4dc3230-dirty (Feb 02 2017 - 18:43:34 +0100)

OMAP36XX/37XX-GP ES1.2, CPU-OPP2, L3-200MHz, Max CPU Clock 1 Ghz
GTA04 + LPDDR/NAND
I2C:   ready
DRAM:  512 MiB
NAND:  512 MiB
MMC:   OMAP SD/MMC: 0
*** Warning - bad CRC, using default environment

->i2c 0: chip: 4b addr: 79: 09
->i2c 0: chip: 4b addr: 76: 20
->i2c 0: chip: 4b addr: 7d: 02
->i2c 0: chip: 4b addr: 7a: 20
->i2c 1: chip: 45 addr: 00: 00
->i2c 1: chip: 45 addr: 01: 00
->i2c 1: chip: 45 addr: 02: 40
->i2c 0: chip: 4b addr: 7d: 03
->i2c 0: chip: 4b addr: 7a: 20
->i2c 0: chip: 4b addr: 91: 05
->i2c 0: chip: 4b addr: 8e: e0
->i2c 0: chip: 4b addr: 99: 03
->i2c 0: chip: 4b addr: 96: 20
<-i2c 0: chip: 4b addr: 46: 40
->i2c 0: chip: 4b addr: 46: 40
->i2c 0: chip: 4b addr: 1e: 6d
                        ^^
RTC hour register. Now it is just about to find the bad line of code
doing that.

Regards,
Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.goldelico.com/pipermail/letux-kernel/attachments/20170202/3d019ba2/attachment.asc>


More information about the Letux-kernel mailing list