From: Tom Rini Date: Fri, 30 Aug 2013 14:55:56 -0400 Subject: [U-Boot] [PATCH v2 1/2] i2c, omap24xx: convert driver to new mutlibus/mutliadapter framework In-Reply-To: <52202340.5020100@denx.de> References: <1375505905-18575-1-git-send-email-hs@denx.de> <1376923684-24161-1-git-send-email-hs@denx.de> <20130829140525.GR17898@bill-the-cat> <52202340.5020100@denx.de> Message-ID: <20130830185556.GU17898@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Fri, Aug 30, 2013 at 06:44:48AM +0200, Heiko Schocher wrote: > Hello Tom, > > Am 29.08.2013 16:05, schrieb Tom Rini: > >On Mon, Aug 19, 2013 at 04:48:04PM +0200, Heiko Schocher wrote: > > > >>- add omap24xx driver to new multibus/multiadpater support > >>- adapted all config files, which uses this driver > >> > >>Tested on the am335x based siemens boards rut, dxr2 and pxm2 > >>posted here: > >>http://patchwork.ozlabs.org/patch/263211/ > > > >On top of current master, on omap3_beagle (xM): > >U-Boot SPL 2013.10-rc1-00054-g03028ca (Aug 29 2013 - 09:46:45) > >Error, wrong i2c adapter 0 max 0 possible > >Error, wrong i2c adapter 0 max 0 possible > >... hang here ... > > :-( > > It seems there is no i2c adapter ... I just tried to rebase this > patch against current u-boot-ti and get a merge error in > > include/configs/ti_armv7_common.h > > So, I repost a v3 of this patch against u-boot-ti commit > 901ce27c6f018992b7dd6c08d3c98cf217cc4c96 where the siemens boards > are added. Can you have a look at this new patch? > > With this patch on current u-boot-ti I find three i2c adapters > in U-Boot (System.map): > > 8014afe4 D _u_boot_list_2_i2c_2_omap24_0 > 8014afe4 d end.6414 > 8014afe4 d start.6364 > 8014afe4 d start.6368 > 8014afe4 d start.6389 > 8014afe4 d start.6412 > 8014afe4 d start.6800 > 8014afe4 d start.6811 > 8014afe4 d start.6827 > 8014b00c D _u_boot_list_2_i2c_2_omap24_1 > 8014b034 D _u_boot_list_2_i2c_2_omap24_2 > 8014b05c B __bss_base > > and three adapter in spl code (spl/u-boot-spl.map): > > .data 0x00000000 0x0 drivers/i2c/libi2c.o > .u_boot_list_2_i2c_2_omap24_0 > 0x00000000 0x28 drivers/i2c/libi2c.o > .u_boot_list_2_i2c_2_omap24_1 > 0x00000000 0x28 drivers/i2c/libi2c.o > .u_boot_list_2_i2c_2_omap24_2 > 0x00000000 0x28 drivers/i2c/libi2c.o > .bss 0x00000000 0x0 drivers/i2c/libi2c.o Ah-ha! These are in the discard section of the map, which is why v3 still fails. -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 836 bytes Desc: Digital signature URL: