From mboxrd@z Thu Jan 1 00:00:00 1970 From: ivo.g.dimitrov.75@gmail.com (Ivaylo Dimitrov) Date: Tue, 2 Feb 2016 11:33:08 +0200 Subject: [PATCH 2/2] memory: omap-gpmc: Add Kconfig option for debug In-Reply-To: <20160121091437.GT7192@pali> References: <20160106174713.GL12777@atomide.com> <568D5669.4040801@gmail.com> <20160106182650.GM12777@atomide.com> <568D5F54.7040900@gmail.com> <20160107180700.GN12777@atomide.com> <568EDC8D.7070205@gmail.com> <20160108022619.GS12777@atomide.com> <568F4596.8020206@gmail.com> <20160108075913.GN11364@pali> <569052FE.1040008@gmail.com> <20160121091437.GT7192@pali> Message-ID: <56B077D4.3030902@gmail.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org Hi, On 21.01.2016 11:14, Pali Roh?r wrote: > On Saturday 09 January 2016 02:23:26 Ivaylo Dimitrov wrote: >> Hi, >> >> On 8.01.2016 09:59, Pali Roh?r wrote: >>> On Friday 08 January 2016 07:13:58 Ivaylo Dimitrov wrote: >>>> And it looks like the problems happens sometimes on oops too. >>> >>> In linux-n900 tree is enabled mtdoops driver which store oops to >>> specified MTD device. So maybe this access cause it? >>> >> >> The key word here is "sometimes". i.e sometimes it hapens on normal reboot, >> sometimes it happens on oops. > > So where is problem? In omap-gpmc? mtd? onenand? or ubifs? Or in > different component? Do we know at least this? > I think I made some progress on the issue, it seems I have to have *both* e7b11dc7b77bfce0a351230a5feeadc1d0bba997 (e7b11dc7b77bfce0a351230a5feeadc1d0bba997) reverted *and* HWMOD_INIT_NO_RESET restored in omap3xxx_gpmc_hwmod flags to have working onenand. Tony, shall I hardcode GPMC_CS_CONFIG4 OEONTIME to be the same as NOLO's or it does not make sense? Regards, Ivo