From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marek Vasut Date: Fri, 18 Dec 2015 14:10:32 +0100 Subject: [U-Boot] [PATCH 1/6] arm: socfpga: cyclone5-socdk: Enabling mtd partitioning layout In-Reply-To: <1450431552.1903.3.camel@altera.com> References: <1449825353-2568-1-git-send-email-clsee@altera.com> <201512151916.18662.marex@denx.de> <1450431552.1903.3.camel@altera.com> Message-ID: <201512181410.32420.marex@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Friday, December 18, 2015 at 10:39:12 AM, Chin Liang See wrote: [...] > > > Yeah, I managed to get ubiufsmount work in U-Boot now. Need to > > > disable > > > the 4K_SECTORS when enabling UBI at NOR flash. > > > > In that case, look at commit 0a02655481834a4ebdf457e43c24729ffd7daf37 > > Yup, I was defining that macro. Surprising that nobody is defining > that. Also nice to know you are the one creating this patch. I guess because most people don't use UBI on NOR yet. [...] > > I will send that patch out shortly, but I think there is something > > else > > going on. I am starting to suspect something with the L3 > > interconnect. > > Maybe some R/W reordering or something like that in NIC301 . > > > > Are you able to replicate my USB issue with mainline on socfpga ? > > What > > happens if you run usb reset with a USB stick plugged in? What > > compiler > > version do you use ? > > I tried that few weeks back and it works for me. FYI, I am using the > mentor toolchain "arm-altera-eabi" that come with SOCEDS. Maybe I can > try again with your toolchain. I am using the unreleased ELDK 5.8 (gcc 4.9.2) and debian gcc 5.2. Which gcc version is in the mentor toolchain? Can you try it again with u-boot/master ? I'd be interested in your results. Can you share the entire output of the U-Boot and run 'dcache' command before doing 'usb reset' ? I am seeing this issue with Sandisk Cruzer USB 2.0 sticks now too. Best regards, Marek Vasut