From mboxrd@z Thu Jan 1 00:00:00 1970 From: ivo.g.dimitrov.75@gmail.com (Ivaylo Dimitrov) Date: Wed, 6 Jan 2016 20:01:13 +0200 Subject: [PATCH 2/2] memory: omap-gpmc: Add Kconfig option for debug In-Reply-To: <20160106174713.GL12777@atomide.com> References: <1432156863-19695-1-git-send-email-tony@atomide.com> <568662FC.9050206@gmail.com> <20160104170206.GC12777@atomide.com> <201601041834.56056@pali> <20160104174001.GD12777@atomide.com> <568AC0F9.2010304@gmail.com> <20160105041356.GE12777@atomide.com> <20160105084947.GG22661@pali> <20160105224929.GF12777@atomide.com> <20160106174039.GA14271@earth> <20160106174713.GL12777@atomide.com> Message-ID: <568D5669.4040801@gmail.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On 6.01.2016 19:47, Tony Lindgren wrote: > * Sebastian Reichel [160106 09:41]: >> Hi, >> >> On Tue, Jan 05, 2016 at 02:49:29PM -0800, Tony Lindgren wrote: >>> Commit 63aa945b1013 ("memory: omap-gpmc: Add Kconfig option for debug") >>> unified the GPMC debug for the SoCs with GPMC. The commit also left >>> out the option for HWMOD_INIT_NO_RESET as we now require proper timings >>> for GPMC to be able to remap GPMC devices out of address 0. >>> >>> Unfortunately on 900, onenand now only partially works with the device >> >> You may want to change 900 to n900 (maybe even Nokia N900) before >> actually committing this. > > Thanks will do. > > Tony > > Unfortunately, it seems there is more to be fixed. It booted several times to the userspace, but after a couple of shutdowns, rootfs became corrupted again. I flashed, installed linux 4.4, but the same happened after the first shutdown with 4.4: <5>[ 8.159179] UBIFS (ubi0:0): background thread "ubifs_bgt0_0" stops <3>[ 8.184631] UBIFS error (ubi0:0 pid 1): ubifs_read_node: bad node type (255 but expected 9) <3>[ 8.197937] UBIFS error (ubi0:0 pid 1): ubifs_read_node: bad node at LEB 1934:6936, LEB mapping status 0 <3:[ 8.216522] Not a node, first 24 bytes: <3>[ 8.220520] 00000000: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ........................ <4>[ 8.247772] CPU: 0 PID: 1 Comm: swapper Not tainted 4.4.0-rc7+ #4 <4>[ 8.258911] Hardware name: Nokia RX-51 board <4>[ 8.268096] [] (unwind_backtrace) from Y] (show_stack+0x10/0x14) <4>[ 8.281097] [] (show_stack) from [] (ubifs_read_node+0x29c/0x2d4) <4>[ 8.294097] [] (ubifs_read_node) from [] (dbg_old_index_check_init+0x60/0x9c) <4>[ 8.308258] [] (dbg_old_index_check_init) from [] (ubifs_mount+0xd90/0x15f0) <4>[ 8.322357] [] (ubifs_mount) from [] (mount_fs+0x70/0x148) <4>[ 8.334747] [] (mount_fs) from [] (vfs_kern_mount+0x4c/0x110) <4>[ 8.347412] [] (vfs_kern_mount) from [] (do_mount+0xadc/0xc34) <4>[ 8.360168] [] (do_mount) from [] (SyS_mount+0x70/0x9c) <4>[ 8.372253] [] (SyS_mount) from [] (mount_block_root+0xf0/0x28c) <4>[ 8.385162] [] (mount_block_root) from [] (prepare_namespace+0x88/0x1bc) <4>[ 8.398834] [] (prepare_namespace) from [] (kernel_init_freeable+0x178/0x1c4) <4>[ 8.412963] [] (kernel_init_freeabme) from [] (kernel_init+0x8/0xe4) <4>[ 8.426300] [] (kernel_init) from [] (ret_from_fork+0x14/0x3c) P.S. (Pali, sorry for not having time to read the kernel docs re e-mail clients :) )