Re: [PATCH 1/2] DM_USB: allow building without OF_CONTROL

2021-06-30 Thread Simon Glass
Hi Tom, On Wed, 30 Jun 2021 at 09:49, Tom Rini wrote: > > On Wed, Jun 30, 2021 at 05:31:44PM +0300, Ivaylo Dimitrov wrote: > > Hi, > > > > On 30.06.21 г. 16:33 ч., Tom Rini wrote: > > > On Wed, Jun 30, 2021 at 10:30:20AM +0300, Ivaylo Dimitrov wrote: > > > > Hi, > > > > > > > > On 26.06.21 г. 17:

Re: [PATCH 1/2] DM_USB: allow building without OF_CONTROL

2021-06-30 Thread Tom Rini
On Wed, Jun 30, 2021 at 05:31:44PM +0300, Ivaylo Dimitrov wrote: > Hi, > > On 30.06.21 г. 16:33 ч., Tom Rini wrote: > > On Wed, Jun 30, 2021 at 10:30:20AM +0300, Ivaylo Dimitrov wrote: > > > Hi, > > > > > > On 26.06.21 г. 17:58 ч., Tom Rini wrote: > > > > On Sat, Jun 26, 2021 at 12:59:21PM +0200,

Re: [PATCH 1/2] DM_USB: allow building without OF_CONTROL

2021-06-30 Thread Ivaylo Dimitrov
Hi, On 30.06.21 г. 16:33 ч., Tom Rini wrote: On Wed, Jun 30, 2021 at 10:30:20AM +0300, Ivaylo Dimitrov wrote: Hi, On 26.06.21 г. 17:58 ч., Tom Rini wrote: On Sat, Jun 26, 2021 at 12:59:21PM +0200, Merlijn Wajer wrote: Hi Tom, Marek, On 25/06/2021 23:59, Tom Rini wrote: On Fri, Jun 25, 2021

Re: [PATCH 1/2] DM_USB: allow building without OF_CONTROL

2021-06-30 Thread Tom Rini
On Wed, Jun 30, 2021 at 10:30:20AM +0300, Ivaylo Dimitrov wrote: > Hi, > > On 26.06.21 г. 17:58 ч., Tom Rini wrote: > > On Sat, Jun 26, 2021 at 12:59:21PM +0200, Merlijn Wajer wrote: > > > Hi Tom, Marek, > > > > > > On 25/06/2021 23:59, Tom Rini wrote: > > > > On Fri, Jun 25, 2021 at 11:51:51PM +

Re: [PATCH 1/2] DM_USB: allow building without OF_CONTROL

2021-06-30 Thread Ivaylo Dimitrov
Hi, On 26.06.21 г. 17:58 ч., Tom Rini wrote: On Sat, Jun 26, 2021 at 12:59:21PM +0200, Merlijn Wajer wrote: Hi Tom, Marek, On 25/06/2021 23:59, Tom Rini wrote: On Fri, Jun 25, 2021 at 11:51:51PM +0200, Pali Rohár wrote: On Friday 25 June 2021 17:37:44 Tom Rini wrote: One thing I want to say

Re: [PATCH 1/2] DM_USB: allow building without OF_CONTROL

2021-06-30 Thread Ivaylo Dimitrov
On 26.06.21 г. 17:58 ч., Tom Rini wrote: On Sat, Jun 26, 2021 at 12:59:21PM +0200, Merlijn Wajer wrote: Hi Tom, Marek, On 25/06/2021 23:59, Tom Rini wrote: On Fri, Jun 25, 2021 at 11:51:51PM +0200, Pali Rohár wrote: On Friday 25 June 2021 17:37:44 Tom Rini wrote: One thing I want to say h

Re: [PATCH 1/2] DM_USB: allow building without OF_CONTROL

2021-06-28 Thread Tom Rini
On Mon, Jun 28, 2021 at 08:20:31AM -0600, Simon Glass wrote: > Hi Tom, > > On Mon, 28 Jun 2021 at 07:39, Tom Rini wrote: > > > > On Sun, Jun 27, 2021 at 01:06:12PM -0600, Simon Glass wrote: > > > Hi Pali, > > > > > > On Fri, 25 Jun 2021 at 10:58, Pali Rohár wrote: > > > > > > > > On Friday 25 Ju

Re: [PATCH 1/2] DM_USB: allow building without OF_CONTROL

2021-06-28 Thread Simon Glass
Hi Tom, On Mon, 28 Jun 2021 at 07:39, Tom Rini wrote: > > On Sun, Jun 27, 2021 at 01:06:12PM -0600, Simon Glass wrote: > > Hi Pali, > > > > On Fri, 25 Jun 2021 at 10:58, Pali Rohár wrote: > > > > > > On Friday 25 June 2021 10:43:11 Simon Glass wrote: > > > > Hi Pali, > > > > > > > > On Fri, 25 J

Re: [PATCH 1/2] DM_USB: allow building without OF_CONTROL

2021-06-28 Thread Tom Rini
On Sun, Jun 27, 2021 at 01:06:12PM -0600, Simon Glass wrote: > Hi Pali, > > On Fri, 25 Jun 2021 at 10:58, Pali Rohár wrote: > > > > On Friday 25 June 2021 10:43:11 Simon Glass wrote: > > > Hi Pali, > > > > > > On Fri, 25 Jun 2021 at 10:16, Pali Rohár wrote: > > > > > > > > On Friday 25 June 2021

Re: [PATCH 1/2] DM_USB: allow building without OF_CONTROL

2021-06-27 Thread Simon Glass
Hi Pali, On Fri, 25 Jun 2021 at 10:58, Pali Rohár wrote: > > On Friday 25 June 2021 10:43:11 Simon Glass wrote: > > Hi Pali, > > > > On Fri, 25 Jun 2021 at 10:16, Pali Rohár wrote: > > > > > > On Friday 25 June 2021 10:04:14 Simon Glass wrote: > > > > But I do wonder about the > > > > 100KB grow

Re: [PATCH 1/2] DM_USB: allow building without OF_CONTROL

2021-06-26 Thread Tom Rini
On Sat, Jun 26, 2021 at 12:59:21PM +0200, Merlijn Wajer wrote: > Hi Tom, Marek, > > On 25/06/2021 23:59, Tom Rini wrote: > > On Fri, Jun 25, 2021 at 11:51:51PM +0200, Pali Rohár wrote: > >> On Friday 25 June 2021 17:37:44 Tom Rini wrote: > >>> One thing I want to say here as I think it maybe wasn'

Re: [PATCH 1/2] DM_USB: allow building without OF_CONTROL

2021-06-26 Thread Merlijn Wajer
Hi Tom, Marek, On 25/06/2021 23:59, Tom Rini wrote: > On Fri, Jun 25, 2021 at 11:51:51PM +0200, Pali Rohár wrote: >> On Friday 25 June 2021 17:37:44 Tom Rini wrote: >>> One thing I want to say here as I think it maybe wasn't clear in Marek's >>> suggestion. Why not have X-Loader boot SPL which lo

Re: [PATCH 1/2] DM_USB: allow building without OF_CONTROL

2021-06-25 Thread Tom Rini
On Fri, Jun 25, 2021 at 11:51:51PM +0200, Pali Rohár wrote: > On Friday 25 June 2021 17:37:44 Tom Rini wrote: > > One thing I want to say here as I think it maybe wasn't clear in Marek's > > suggestion. Why not have X-Loader boot SPL which loads U-Boot from extN > > on the eMMC? > > Hello Tom! I

Re: [PATCH 1/2] DM_USB: allow building without OF_CONTROL

2021-06-25 Thread Pali Rohár
On Friday 25 June 2021 17:37:44 Tom Rini wrote: > One thing I want to say here as I think it maybe wasn't clear in Marek's > suggestion. Why not have X-Loader boot SPL which loads U-Boot from extN > on the eMMC? Hello Tom! I have already answered this in my previous email.

Re: [PATCH 1/2] DM_USB: allow building without OF_CONTROL

2021-06-25 Thread Tom Rini
On Sat, Jun 26, 2021 at 12:31:49AM +0300, Ivaylo Dimitrov wrote: [snip] > In regards to SPL - there is no way to sign SPL with the keys used by Nokia > to sign NOLO(the proprietary second stage loader), we simply don't have > them. Without that, we can't replace NOLO. One thing I want to say here

Re: [PATCH 1/2] DM_USB: allow building without OF_CONTROL

2021-06-25 Thread Ivaylo Dimitrov
On 25.06.21 г. 19:04 ч., Simon Glass wrote: Hi Pali, On Fri, 25 Jun 2021 at 07:07, Pali Rohár wrote: On Friday 25 June 2021 08:38:47 Tom Rini wrote: On Sun, Jun 20, 2021 at 09:43:43PM +0200, Marek Vasut wrote: On 6/20/21 5:54 PM, Tom Rini wrote: [...] As far as I understand, the RX51 ha

Re: [PATCH 1/2] DM_USB: allow building without OF_CONTROL

2021-06-25 Thread Pali Rohár
On Friday 25 June 2021 10:43:11 Simon Glass wrote: > Hi Pali, > > On Fri, 25 Jun 2021 at 10:16, Pali Rohár wrote: > > > > On Friday 25 June 2021 10:04:14 Simon Glass wrote: > > > But I do wonder about the > > > 100KB growth you saw with DT/DM. That seems absolutely enormous to me! > > > Can you p

Re: [PATCH 1/2] DM_USB: allow building without OF_CONTROL

2021-06-25 Thread Simon Glass
Hi Pali, On Fri, 25 Jun 2021 at 10:16, Pali Rohár wrote: > > On Friday 25 June 2021 10:04:14 Simon Glass wrote: > > Hi Pali, > > > > On Fri, 25 Jun 2021 at 07:07, Pali Rohár wrote: > > > > > > On Friday 25 June 2021 08:38:47 Tom Rini wrote: > > > > On Sun, Jun 20, 2021 at 09:43:43PM +0200, Marek

Re: [PATCH 1/2] DM_USB: allow building without OF_CONTROL

2021-06-25 Thread Pali Rohár
On Friday 25 June 2021 10:04:14 Simon Glass wrote: > Hi Pali, > > On Fri, 25 Jun 2021 at 07:07, Pali Rohár wrote: > > > > On Friday 25 June 2021 08:38:47 Tom Rini wrote: > > > On Sun, Jun 20, 2021 at 09:43:43PM +0200, Marek Vasut wrote: > > > > On 6/20/21 5:54 PM, Tom Rini wrote: > > > > > > > >

Re: [PATCH 1/2] DM_USB: allow building without OF_CONTROL

2021-06-25 Thread Simon Glass
Hi Pali, On Fri, 25 Jun 2021 at 07:07, Pali Rohár wrote: > > On Friday 25 June 2021 08:38:47 Tom Rini wrote: > > On Sun, Jun 20, 2021 at 09:43:43PM +0200, Marek Vasut wrote: > > > On 6/20/21 5:54 PM, Tom Rini wrote: > > > > > > [...] > > > > > > > > As far as I understand, the RX51 has gigabytes

Re: [PATCH 1/2] DM_USB: allow building without OF_CONTROL

2021-06-25 Thread Pali Rohár
On Friday 25 June 2021 08:38:47 Tom Rini wrote: > On Sun, Jun 20, 2021 at 09:43:43PM +0200, Marek Vasut wrote: > > On 6/20/21 5:54 PM, Tom Rini wrote: > > > > [...] > > > > > > As far as I understand, the RX51 has gigabytes of eMMC storage, so it > > > > can > > > > use SPL just like any other O

Re: [PATCH 1/2] DM_USB: allow building without OF_CONTROL

2021-06-25 Thread Tom Rini
On Sun, Jun 20, 2021 at 09:43:43PM +0200, Marek Vasut wrote: > On 6/20/21 5:54 PM, Tom Rini wrote: > > [...] > > > > As far as I understand, the RX51 has gigabytes of eMMC storage, so it can > > > use SPL just like any other OMAP3 board. > > > > U-Boot is being called by the old vendor X-Loader

Re: [PATCH 1/2] DM_USB: allow building without OF_CONTROL

2021-06-20 Thread Marek Vasut
On 6/20/21 5:54 PM, Tom Rini wrote: [...] As far as I understand, the RX51 has gigabytes of eMMC storage, so it can use SPL just like any other OMAP3 board. U-Boot is being called by the old vendor X-Loader fork and needs to take up the existing flash spot. So, why not place SPL in those 25

Re: [PATCH 1/2] DM_USB: allow building without OF_CONTROL

2021-06-20 Thread Tom Rini
On Sun, Jun 20, 2021 at 05:52:03AM +0200, Marek Vasut wrote: > On 6/19/21 10:51 PM, Tom Rini wrote: > > Hi, > > > > > > > > > > > Currently DM_USB requires OF_CONTROL to be > > > > > > > > > > enabled, otherwise link errors > > > > > > > > > > occur. On the other hand OF_CONTROL requires > > > >

Re: [PATCH 1/2] DM_USB: allow building without OF_CONTROL

2021-06-19 Thread Marek Vasut
On 6/19/21 10:51 PM, Tom Rini wrote: Hi, Currently DM_USB requires OF_CONTROL to be enabled, otherwise link errors occur. On the other hand OF_CONTROL requires board code to be migrated to DT, which is not always possible or required. Fix that by conditionally compiling OF_CONTROL specific sec

Re: [PATCH 1/2] DM_USB: allow building without OF_CONTROL

2021-06-19 Thread Tom Rini
On Sat, Jun 19, 2021 at 11:15:50PM +0300, Ivaylo Dimitrov wrote: > > > On 19.06.21 г. 22:38 ч., Marek Vasut wrote: > > On 6/19/21 9:33 PM, Ivaylo Dimitrov wrote: > > > Hi, > > > > Hi, > > > > > > > > > > Currently DM_USB requires OF_CONTROL to be > > > > > > > > enabled, otherwise link errors >

Re: [PATCH 1/2] DM_USB: allow building without OF_CONTROL

2021-06-19 Thread Ivaylo Dimitrov
On 19.06.21 г. 22:38 ч., Marek Vasut wrote: On 6/19/21 9:33 PM, Ivaylo Dimitrov wrote: Hi, Hi, Currently DM_USB requires OF_CONTROL to be enabled, otherwise link errors occur. On the other hand OF_CONTROL requires board code to be migrated to DT, which is not always possible or required

Re: [PATCH 1/2] DM_USB: allow building without OF_CONTROL

2021-06-19 Thread Marek Vasut
On 6/19/21 9:33 PM, Ivaylo Dimitrov wrote: Hi, Hi, Currently DM_USB requires OF_CONTROL to be enabled, otherwise link errors occur. On the other hand OF_CONTROL requires board code to be migrated to DT, which is not always possible or required. Fix that by conditionally compiling OF_CONTRO

Re: [PATCH 1/2] DM_USB: allow building without OF_CONTROL

2021-06-19 Thread Ivaylo Dimitrov
Hi, On 19.06.21 г. 21:17 ч., Marek Vasut wrote: On 6/19/21 8:14 AM, Ivaylo Dimitrov wrote: Hi Marek, Hi, [...] Currently DM_USB requires OF_CONTROL to be enabled, otherwise link errors occur. On the other hand OF_CONTROL requires board code to be migrated to DT, which is not always possi

Re: [PATCH 1/2] DM_USB: allow building without OF_CONTROL

2021-06-19 Thread Marek Vasut
On 6/19/21 8:14 AM, Ivaylo Dimitrov wrote: Hi Marek, Hi, [...] Currently DM_USB requires OF_CONTROL to be enabled, otherwise link errors occur. On the other hand OF_CONTROL requires board code to be migrated to DT, which is not always possible or required. Fix that by conditionally compil

Re: [PATCH 1/2] DM_USB: allow building without OF_CONTROL

2021-06-18 Thread Ivaylo Dimitrov
Hi Marek, On 19.06.21 г. 5:23 ч., Marek Vasut wrote: On 6/18/21 6:38 PM, Tom Rini wrote: +Marek On Fri, Jun 18, 2021 at 04:57:23PM +0200, Pali Rohár wrote: From: Ivaylo Dimitrov Currently DM_USB requires OF_CONTROL to be enabled, otherwise link errors occur. On the other hand OF_CONTROL r

Re: [PATCH 1/2] DM_USB: allow building without OF_CONTROL

2021-06-18 Thread Marek Vasut
On 6/18/21 6:38 PM, Tom Rini wrote: +Marek On Fri, Jun 18, 2021 at 04:57:23PM +0200, Pali Rohár wrote: From: Ivaylo Dimitrov Currently DM_USB requires OF_CONTROL to be enabled, otherwise link errors occur. On the other hand OF_CONTROL requires board code to be migrated to DT, which is not al

Re: [PATCH 1/2] DM_USB: allow building without OF_CONTROL

2021-06-18 Thread Tom Rini
+Marek On Fri, Jun 18, 2021 at 04:57:23PM +0200, Pali Rohár wrote: > From: Ivaylo Dimitrov > > Currently DM_USB requires OF_CONTROL to be enabled, otherwise link errors > occur. On the other hand OF_CONTROL requires board code to be migrated to > DT, which is not always possible or required. >

[PATCH 1/2] DM_USB: allow building without OF_CONTROL

2021-06-18 Thread Pali Rohár
From: Ivaylo Dimitrov Currently DM_USB requires OF_CONTROL to be enabled, otherwise link errors occur. On the other hand OF_CONTROL requires board code to be migrated to DT, which is not always possible or required. Fix that by conditionally compiling OF_CONTROL specific sections in USB related