Re: [U-Boot] MMC boot broken on OMAP-L138 LCDK

2019-05-20 Thread Adam Ford
On Mon, May 20, 2019 at 10:00 AM Adam Ford wrote: > > On Mon, May 20, 2019 at 7:38 AM Sekhar Nori wrote: > > > > On 20/05/19 5:55 PM, Adam Ford wrote: > > > What about adding a memset function to the end of spl_board_init() so > > > after arch_cpu_init() is called,and after preloader_consol_init(

Re: [U-Boot] MMC boot broken on OMAP-L138 LCDK

2019-05-20 Thread Adam Ford
On Mon, May 20, 2019 at 7:38 AM Sekhar Nori wrote: > > On 20/05/19 5:55 PM, Adam Ford wrote: > > What about adding a memset function to the end of spl_board_init() so > > after arch_cpu_init() is called,and after preloader_consol_init() is > > called, we clear BSS? I ran some preliminary tests on

Re: [U-Boot] MMC boot broken on OMAP-L138 LCDK

2019-05-20 Thread Sekhar Nori
On 20/05/19 5:55 PM, Adam Ford wrote: > What about adding a memset function to the end of spl_board_init() so > after arch_cpu_init() is called,and after preloader_consol_init() is > called, we clear BSS? I ran some preliminary tests on da850evm and it > didn't see to break anything. There are a

Re: [U-Boot] MMC boot broken on OMAP-L138 LCDK

2019-05-20 Thread Adam Ford
On Mon, May 20, 2019 at 4:09 AM Sekhar Nori wrote: > > On 17/05/19 6:34 PM, Adam Ford wrote: > > On Fri, May 17, 2019 at 7:36 AM Sekhar Nori wrote: > >> > >> Hi Adam, > >> > >> MMC/SD boot is broken on OMAP-L138 LCDK. This is since v2018.11. > >> v2018.09 is fine. > >> > >> The first breakage occ

Re: [U-Boot] MMC boot broken on OMAP-L138 LCDK

2019-05-20 Thread Sekhar Nori
On 17/05/19 6:34 PM, Adam Ford wrote: > On Fri, May 17, 2019 at 7:36 AM Sekhar Nori wrote: >> >> Hi Adam, >> >> MMC/SD boot is broken on OMAP-L138 LCDK. This is since v2018.11. >> v2018.09 is fine. >> >> The first breakage occurred with commit 21af33ed0319 ("ARM: davinci: >> omapl138_lcdk: Enable

Re: [U-Boot] MMC boot broken on OMAP-L138 LCDK

2019-05-17 Thread Adam Ford
On Fri, May 17, 2019 at 7:36 AM Sekhar Nori wrote: > > Hi Adam, > > MMC/SD boot is broken on OMAP-L138 LCDK. This is since v2018.11. > v2018.09 is fine. > > The first breakage occurred with commit 21af33ed0319 ("ARM: davinci: > omapl138_lcdk: Enable DM_MMC"). This commit moved to DM_MMC for U-Boot

[U-Boot] MMC boot broken on OMAP-L138 LCDK

2019-05-17 Thread Sekhar Nori
Hi Adam, MMC/SD boot is broken on OMAP-L138 LCDK. This is since v2018.11. v2018.09 is fine. The first breakage occurred with commit 21af33ed0319 ("ARM: davinci: omapl138_lcdk: Enable DM_MMC"). This commit moved to DM_MMC for U-Boot while keeping legacy mode for SPL. The "#ifndef CONFIG_DM_MMC