
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