From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marek Vasut Date: Sun, 15 Dec 2013 20:22:51 +0100 Subject: [U-Boot] [PATCH 4/4] arm: pxa: update LP-8x4x to boot DTS kernel In-Reply-To: <1387133795.13062.129.camel@host5.omatika.ru> References: <1386999720-23460-1-git-send-email-ynvich@gmail.com> <201312151606.20661.marex@denx.de> <1387133795.13062.129.camel@host5.omatika.ru> Message-ID: <201312152022.51113.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 Sunday, December 15, 2013 at 07:56:35 PM, Sergei Ianovich wrote: > On Sun, 2013-12-15 at 16:06 +0100, Marek Vasut wrote: > > On Sunday, December 15, 2013 at 10:57:55 AM, Sergei Ianovich wrote: > > > After a clean rebuild, U-Boot with both OF_LIBFDT and CMD_USB, but > > > without SYS_LONGHELP is under 256 kiB. I won't disable USB. Instead, > > > I'll try to make it actually work. > > While testing, I've run into an issue with USB support. If I do > > $ usb start > > in U-Boot, not only it doesn't see an attached flash storage, but also > it break USB in the kernel. If I just boot the kernel from flash or > tftp, USB works in the kernel. The OHCI controller is not properly shut down before booting kernel, that's what I'd check first. > I've verified that my usb_board_init() is exactly the same sequence of > commands, that the kernel uses to initialize the stack up to > usb_add_hcd() at linux/drivers/usb/host/ohci-pxa27x.c:445 > > I suspect the issue is in U-Boot OHCI PXA driver. Are you aware of any? No, not really. I didn't use the OHCI stuff for a while. > It probably makes sense to disable USB at LP-8x4 for now. Can you maybe try debugging it please ? Best regards, Marek Vasut