From mboxrd@z Thu Jan 1 00:00:00 1970 From: Abel Vesa Date: Thu, 23 May 2019 14:08:23 +0000 Subject: [U-Boot] Cannot boot mx6qsabred with 2019.07-rc2 In-Reply-To: <20190523135905.GY22232@bill-the-cat> References: <20190523135905.GY22232@bill-the-cat> Message-ID: <20190523140822.pcnos5o3pwx7tgsb@fsr-ub1664-175> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 19-05-23 09:59:05, Tom Rini wrote: > On Thu, May 23, 2019 at 10:49:11AM -0300, Fabio Estevam wrote: > > Hi Peng, > > > > On Tue, May 21, 2019 at 10:38 PM Peng Fan wrote: > > > > > > I will send a v2 removing CONFIG_SPL_DM. > > > > > > So what is the real direction moving to use SPL driver, non-dm is allowed in future? > > > > We are very limited in space when CONFIG_SPL_DM is used on imx6q-sabresd. > > > > With CONFIG_SPL_DM selected the size increase due to the three dtb's > > is about 8kB. > > > > Even with CONFIG_SPL_DM disabled we ony have 1kB of free space, so I > > still want to optimize the size further. > > So with CONFIG_SPL_DM we're overflowing by ~7kB? > Well, the mandatory requirements here are as follow (AFAIK): 1. keep one binary for all imx6dl imx6[qp|dl|q]-sabresd 2. have DM support in SPL So I guess we have to either prioritize the other needed configs and leave out the one we can do without. That, ofcourse, if we still want to fit in and we still want one binary for all three sabresd boards. > > Two options that I want also to remove are: > > > > CONFIG_SPL_FS_EXT4=y > > CONFIG_SPL_I2C_SUPPORT=y > > > > We are at -rc2 now, and I would really like to have mx6sabresd booting again. > > > > Please check my v2 series and see if it looks good. > > We certainly want to do something to fix the regression, agreed. > > Looking at the config, can we just use a fake DTB for SPL that works on > all 3 boards, rather than 3 DTBs? > > -- > Tom > _______________________________________________ > U-Boot mailing list > U-Boot at lists.denx.de > https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.denx.de%2Flistinfo%2Fu-boot&data=02%7C01%7Cabel.vesa%40nxp.com%7C54f9085be4bd4b141d4f08d6df86dfe8%7C686ea1d3bc2b4c6fa92cd99c5c301635%7C0%7C0%7C636942167723464482&sdata=%2B%2BpYTLntPp5vMtY0ImlL6FoM2X2m6NEn42HX6KxRz1s%3D&reserved=0