[U-Boot] [BUG] booting on the Tinker Board (tinker-rk3288_defconfig) is broken

2019-02-09 Thread Heinrich Schuchardt
Hello Simon, hello Philipp, since patch Merge tag 'for-master-20190201' of git://git.denx.de/u-boot-rockchip e5fd39c886485e3dec77f4438a6e364c2987cf5f booting on the Tinker Board (tinker-rk3288_defconfig) is broken. There is not even any UART output from SPL. Best regards Heinrich

Re: [U-Boot] [BUG] booting on the Tinker Board (tinker-rk3288_defconfig) is broken

2019-02-09 Thread Philipp Tomsich
Heinrich, My guess is that this is fallout from David Wu’s new pinctrl driver (which has really been the bulk of changes in this cycle). I can’t test or debug on the rk3288 due to a lack of hardware. I did add fix some issues for the RK3399 (and have more to submit). The expectation is that I'll

Re: [U-Boot] [BUG] booting on the Tinker Board (tinker-rk3288_defconfig) is broken

2019-02-09 Thread Philipp Tomsich
> On 09.02.2019, at 16:08, Philipp Tomsich > wrote: > > Heinrich, > > My guess is that this is fallout from David Wu’s new pinctrl driver > (which has really been the bulk of changes in this cycle). I can’t > test or debug on the rk3288 due to a lack of hardware. If you want to start diggin

Re: [U-Boot] [BUG] booting on the Tinker Board (tinker-rk3288_defconfig) is broken

2019-02-09 Thread Heinrich Schuchardt
On 2/9/19 4:24 PM, Philipp Tomsich wrote: > > >> On 09.02.2019, at 16:08, Philipp Tomsich >> wrote: >> >> Heinrich, >> >> My guess is that this is fallout from David Wu’s new pinctrl driver >> (which has really been the bulk of changes in this cycle). I can’t >> test or debug on the rk3288 due

Re: [U-Boot] [BUG] booting on the Tinker Board (tinker-rk3288_defconfig) is broken

2019-02-09 Thread Philipp Tomsich
> On 09.02.2019, at 17:39, Heinrich Schuchardt wrote: > > On 2/9/19 4:24 PM, Philipp Tomsich wrote: >> >> >>> On 09.02.2019, at 16:08, Philipp Tomsich >>> wrote: >>> >>> Heinrich, >>> >>> My guess is that this is fallout from David Wu’s new pinctrl driver >>> (which has really been the bu

Re: [U-Boot] [BUG] booting on the Tinker Board (tinker-rk3288_defconfig) is broken

2019-02-11 Thread Jack Mitchell
On 09/02/2019 12:12, Heinrich Schuchardt wrote: > Hello Simon, hello Philipp, > > since patch > > Merge tag 'for-master-20190201' of git://git.denx.de/u-boot-rockchip > e5fd39c886485e3dec77f4438a6e364c2987cf5f > > booting on the Tinker Board (tinker-rk3288_defconfig) is broken. > > There is not

Re: [U-Boot] [BUG] booting on the Tinker Board (tinker-rk3288_defconfig) is broken

2019-02-12 Thread David Wu
Hi Heinrich, 在 2019/2/10 上午12:39, Heinrich Schuchardt 写道: On 2/9/19 4:24 PM, Philipp Tomsich wrote: On 09.02.2019, at 16:08, Philipp Tomsich wrote: Heinrich, My guess is that this is fallout from David Wu’s new pinctrl driver (which has really been the bulk of changes in this cycle). I

Re: [U-Boot] [BUG] booting on the Tinker Board (tinker-rk3288_defconfig) is broken

2019-02-12 Thread David Wu
Hi Philipp, 在 2019/2/10 上午2:24, Philipp Tomsich 写道: That said, I have been fighting issues from this patchset when trying to read from devices on the i2c0 bus on a RK3399—which had me add a “simple” pinctrl device again, as pulling all the dependencies into the SPL is a pain. I think you can

Re: [U-Boot] [BUG] booting on the Tinker Board (tinker-rk3288_defconfig) is broken

2019-02-12 Thread Philipp Tomsich
> On 12.02.2019, at 13:38, David Wu wrote: > > Hi Philipp, > > 在 2019/2/10 上午2:24, Philipp Tomsich 写道: >> That said, I have been fighting issues from this patchset when trying to read >> from devices on the i2c0 bus on a RK3399—which had me add a “simple” >> pinctrl device again, as pulling al

Re: [U-Boot] [BUG] booting on the Tinker Board (tinker-rk3288_defconfig) is broken

2019-02-12 Thread Philipp Tomsich
> On 12.02.2019, at 13:38, David Wu wrote: > > Hi Philipp, > > 在 2019/2/10 上午2:24, Philipp Tomsich 写道: >> That said, I have been fighting issues from this patchset when trying to read >> from devices on the i2c0 bus on a RK3399—which had me add a “simple” >> pinctrl device again, as pulling al

Re: [U-Boot] [BUG] booting on the Tinker Board (tinker-rk3288_defconfig) is broken

2019-02-13 Thread David Wu
Hi Philipp, 在 2019/2/12 下午9:54, Philipp Tomsich 写道: On 12.02.2019, at 13:38, David Wu wrote: Hi Philipp, 在 2019/2/10 上午2:24, Philipp Tomsich 写道: That said, I have been fighting issues from this patchset when trying to read from devices on the i2c0 bus on a RK3399—which had me add a “simpl

Re: [U-Boot] [BUG] booting on the Tinker Board (tinker-rk3288_defconfig) is broken

2019-02-13 Thread Philipp Tomsich
> On 13.02.2019, at 11:10, David Wu wrote: > > Hi Philipp, > > 在 2019/2/12 下午9:54, Philipp Tomsich 写道: >>> On 12.02.2019, at 13:38, David Wu wrote: >>> >>> Hi Philipp, >>> >>> 在 2019/2/10 上午2:24, Philipp Tomsich 写道: That said, I have been fighting issues from this patchset when trying

Re: [U-Boot] [BUG] booting on the Tinker Board (tinker-rk3288_defconfig) is broken

2019-02-13 Thread David Wu
Hi Philipp, 在 2019/2/12 下午9:53, Philipp Tomsich 写道: On 12.02.2019, at 13:38, David Wu wrote: Hi Philipp, 在 2019/2/10 上午2:24, Philipp Tomsich 写道: That said, I have been fighting issues from this patchset when trying to read from devices on the i2c0 bus on a RK3399—which had me add a “simpl

Re: [U-Boot] [BUG] booting on the Tinker Board (tinker-rk3288_defconfig) is broken

2019-02-13 Thread Philipp Tomsich
David, > On 13.02.2019, at 11:28, David Wu wrote: > > Hi Philipp, > > 在 2019/2/12 下午9:53, Philipp Tomsich 写道: >>> On 12.02.2019, at 13:38, David Wu wrote: >>> >>> Hi Philipp, >>> >>> 在 2019/2/10 上午2:24, Philipp Tomsich 写道: That said, I have been fighting issues from this patchset when t

Re: [U-Boot] [BUG] booting on the Tinker Board (tinker-rk3288_defconfig) is broken

2019-02-13 Thread David Wu
在 2019/2/13 下午6:13, Philipp Tomsich 写道: On 13.02.2019, at 11:10, David Wu wrote: Hi Philipp, 在 2019/2/12 下午9:54, Philipp Tomsich 写道: On 12.02.2019, at 13:38, David Wu wrote: Hi Philipp, 在 2019/2/10 上午2:24, Philipp Tomsich 写道: That said, I have been fighting issues from this patchset

Re: [U-Boot] [BUG] booting on the Tinker Board (tinker-rk3288_defconfig) is broken

2019-02-13 Thread David Wu
Hi Philipp, 在 2019/2/13 下午6:30, Philipp Tomsich 写道: The 10k comes from a direct comparison on our RK3399-Q7, after pulling in all the required DTS nodes and properties vs. a minimal simple pinctrl for I2C only (which is ~ 100 bytes of code). So according to your mind, do not use DTS at the SPL

Re: [U-Boot] [BUG] booting on the Tinker Board (tinker-rk3288_defconfig) is broken

2019-02-13 Thread Philipp Tomsich
> On 13.02.2019, at 11:42, David Wu wrote: > > Hi Philipp, > > 在 2019/2/13 下午6:30, Philipp Tomsich 写道: >> The 10k comes from a direct comparison on our RK3399-Q7, after pulling in all >> the required DTS nodes and properties vs. a minimal simple pinctrl for I2C >> only >> (which is ~ 100 byte

Re: [U-Boot] [BUG] booting on the Tinker Board (tinker-rk3288_defconfig) is broken

2019-02-13 Thread Philipp Tomsich
> On 13.02.2019, at 11:33, David Wu wrote: > > > > 在 2019/2/13 下午6:13, Philipp Tomsich 写道: >>> On 13.02.2019, at 11:10, David Wu wrote: >>> >>> Hi Philipp, >>> >>> 在 2019/2/12 下午9:54, Philipp Tomsich 写道: > On 12.02.2019, at 13:38, David Wu wrote: > > Hi Philipp, > >

Re: [U-Boot] [BUG] booting on the Tinker Board (tinker-rk3288_defconfig) is broken

2019-02-13 Thread David Wu
Hi philipp, 在 2019/2/13 下午6:47, Philipp Tomsich 写道: On 13.02.2019, at 11:33, David Wu wrote: 在 2019/2/13 下午6:13, Philipp Tomsich 写道: On 13.02.2019, at 11:10, David Wu wrote: Hi Philipp, 在 2019/2/12 下午9:54, Philipp Tomsich 写道: On 12.02.2019, at 13:38, David Wu wrote: Hi Philipp, 在

Re: [U-Boot] [BUG] booting on the Tinker Board (tinker-rk3288_defconfig) is broken

2019-02-13 Thread Philipp Tomsich
> On 13.02.2019, at 11:52, David Wu wrote: > > Hi philipp, > > 在 2019/2/13 下午6:47, Philipp Tomsich 写道: >>> On 13.02.2019, at 11:33, David Wu wrote: >>> >>> >>> >>> 在 2019/2/13 下午6:13, Philipp Tomsich 写道: > On 13.02.2019, at 11:10, David Wu wrote: > > Hi Philipp, > >

Re: [U-Boot] [BUG] booting on the Tinker Board (tinker-rk3288_defconfig) is broken

2019-02-13 Thread Tom Rini
On Wed, Feb 13, 2019 at 11:13:19AM +0100, Philipp Tomsich wrote: > > > > On 13.02.2019, at 11:10, David Wu wrote: > > > > Hi Philipp, > > > > 在 2019/2/12 下午9:54, Philipp Tomsich 写道: > >>> On 12.02.2019, at 13:38, David Wu wrote: > >>> > >>> Hi Philipp, > >>> > >>> 在 2019/2/10 上午2:24, Philip

Re: [U-Boot] [BUG] booting on the Tinker Board (tinker-rk3288_defconfig) is broken

2019-02-13 Thread Heinrich Schuchardt
On 2/13/19 1:25 PM, Tom Rini wrote: > On Wed, Feb 13, 2019 at 11:13:19AM +0100, Philipp Tomsich wrote: >> >> >>> On 13.02.2019, at 11:10, David Wu wrote: >>> >>> Hi Philipp, >>> >>> 在 2019/2/12 下午9:54, Philipp Tomsich 写道: > On 12.02.2019, at 13:38, David Wu wrote: > > Hi Philipp, >>

Re: [U-Boot] [BUG] booting on the Tinker Board (tinker-rk3288_defconfig) is broken

2019-02-13 Thread Tom Rini
On Wed, Feb 13, 2019 at 02:16:12PM +0100, Heinrich Schuchardt wrote: > > > On 2/13/19 1:25 PM, Tom Rini wrote: > > On Wed, Feb 13, 2019 at 11:13:19AM +0100, Philipp Tomsich wrote: > >> > >> > >>> On 13.02.2019, at 11:10, David Wu wrote: > >>> > >>> Hi Philipp, > >>> > >>> 在 2019/2/12 下午9:54, Phi

Re: [U-Boot] [BUG] booting on the Tinker Board (tinker-rk3288_defconfig) is broken

2019-02-13 Thread Heinrich Schuchardt
On 2/13/19 2:24 PM, Tom Rini wrote: > On Wed, Feb 13, 2019 at 02:16:12PM +0100, Heinrich Schuchardt wrote: >> >> >> On 2/13/19 1:25 PM, Tom Rini wrote: >>> On Wed, Feb 13, 2019 at 11:13:19AM +0100, Philipp Tomsich wrote: > On 13.02.2019, at 11:10, David Wu wrote: > > Hi Phi

Re: [U-Boot] [BUG] booting on the Tinker Board (tinker-rk3288_defconfig) is broken

2019-02-13 Thread Tom Rini
On Wed, Feb 13, 2019 at 09:13:31PM +0100, Heinrich Schuchardt wrote: > > > On 2/13/19 2:24 PM, Tom Rini wrote: > > On Wed, Feb 13, 2019 at 02:16:12PM +0100, Heinrich Schuchardt wrote: > >> > >> > >> On 2/13/19 1:25 PM, Tom Rini wrote: > >>> On Wed, Feb 13, 2019 at 11:13:19AM +0100, Philipp Tomsic

Re: [U-Boot] [BUG] booting on the Tinker Board (tinker-rk3288_defconfig) is broken

2019-02-16 Thread Heinrich Schuchardt
On 2/13/19 11:56 AM, Philipp Tomsich wrote: > > >> On 13.02.2019, at 11:52, David Wu wrote: >> >> Hi philipp, >> >> 在 2019/2/13 下午6:47, Philipp Tomsich 写道: On 13.02.2019, at 11:33, David Wu wrote: 在 2019/2/13 下午6:13, Philipp Tomsich 写道: >> On 13.02.2019, at 11:10, D

Re: [U-Boot] [BUG] booting on the Tinker Board (tinker-rk3288_defconfig) is broken

2019-02-17 Thread David Wu
Hi Henrich, 在 2019/2/16 下午5:53, Heinrich Schuchardt 写道: On 2/13/19 11:56 AM, Philipp Tomsich wrote: On 13.02.2019, at 11:52, David Wu wrote: Hi philipp, 在 2019/2/13 下午6:47, Philipp Tomsich 写道: On 13.02.2019, at 11:33, David Wu wrote: 在 2019/2/13 下午6:13, Philipp Tomsich 写道: On 13.02.

Re: [U-Boot] [BUG] booting on the Tinker Board (tinker-rk3288_defconfig) is broken

2019-02-17 Thread Heinrich Schuchardt
On 2/17/19 9:19 AM, David Wu wrote: > Hi Henrich, > > 在 2019/2/16 下午5:53, Heinrich Schuchardt 写道: >> On 2/13/19 11:56 AM, Philipp Tomsich wrote: >> >> Hello David, hello Philipp, >> >> what are your ideas to reduce the SPL size to under 0x7800 again? >> Or will you move all rk3288 boards to TPL l

Re: [U-Boot] [BUG] booting on the Tinker Board (tinker-rk3288_defconfig) is broken

2019-02-17 Thread Michael Nazzareno Trimarchi
Hi [U-Boot] [PATCH 3/5] rockchip: rk3288-vyasa: increase heap space after relocation Can you check it if you have the same problem? Michael On Sun., 17 Feb. 2019, 1:11 pm Heinrich Schuchardt On 2/17/19 9:19 AM, David Wu wrote: > > Hi Henrich, > > > > 在 2019/2/16 下午5:53, Heinrich Schuchardt 写道

Re: [U-Boot] [BUG] booting on the Tinker Board (tinker-rk3288_defconfig) is broken

2019-02-17 Thread Heinrich Schuchardt
On 2/17/19 1:18 PM, Michael Nazzareno Trimarchi wrote: > Hi > > [U-Boot] [PATCH 3/5] rockchip: rk3288-vyasa: increase heap space after > relocation > > Can you check it if you have the same problem? Applying all the changes causes SPL not to start. CONFIG_SYS_MALLOC_F_LEN=0x4000 does not solve

Re: [U-Boot] [BUG] booting on the Tinker Board (tinker-rk3288_defconfig) is broken

2019-02-17 Thread David Wu
Hi Heinrich and Michael, Another thing i see is that I missed a patch, for the 3288 gpio0, its iomux is special, there is no high 16-bit write-enabled bit. For Tinker board, it uses I2C0, the current driver will overwrite the I2C0 iomux, while request the GPIO0A4. It requires a patch: http://pat

Re: [U-Boot] [BUG] booting on the Tinker Board (tinker-rk3288_defconfig) is broken

2019-02-28 Thread Heiko Stübner
Hi David, Am Montag, 18. Februar 2019, 02:05:12 CET schrieb David Wu: > Hi Heinrich and Michael, > > Another thing i see is that I missed a patch, for the 3288 gpio0, its > iomux is special, there is no high 16-bit write-enabled bit. For Tinker > board, it uses I2C0, the current driver will overw

Re: [U-Boot] [BUG] booting on the Tinker Board (tinker-rk3288_defconfig) is broken

2019-02-28 Thread Philipp Tomsich
> On 28.02.2019, at 11:50, Heiko Stübner wrote: > > Hi David, > > Am Montag, 18. Februar 2019, 02:05:12 CET schrieb David Wu: >> Hi Heinrich and Michael, >> >> Another thing i see is that I missed a patch, for the 3288 gpio0, its >> iomux is special, there is no high 16-bit write-enabled bit.

Re: [U-Boot] [BUG] booting on the Tinker Board (tinker-rk3288_defconfig) is broken

2019-02-28 Thread Heiko Stübner
Am Donnerstag, 28. Februar 2019, 13:36:52 CET schrieb Philipp Tomsich: > > On 28.02.2019, at 11:50, Heiko Stübner wrote: > > > > Hi David, > > > > Am Montag, 18. Februar 2019, 02:05:12 CET schrieb David Wu: > >> Hi Heinrich and Michael, > >> > >> Another thing i see is that I missed a patch, fo

Re: [U-Boot] [BUG] booting on the Tinker Board (tinker-rk3288_defconfig) is broken

2019-02-28 Thread Heiko Stübner
Hi Philipp, Am Donnerstag, 28. Februar 2019, 13:46:44 CET schrieb Heiko Stübner: > Am Donnerstag, 28. Februar 2019, 13:36:52 CET schrieb Philipp Tomsich: > > > On 28.02.2019, at 11:50, Heiko Stübner wrote: > > > > > > Hi David, > > > > > > Am Montag, 18. Februar 2019, 02:05:12 CET schrieb David

Re: [U-Boot] [BUG] booting on the Tinker Board (tinker-rk3288_defconfig) is broken

2019-03-01 Thread David Wu
Hi Philipp, 在 2019/2/28 下午8:36, Philipp Tomsich 写道: On 28.02.2019, at 11:50, Heiko Stübner > wrote: Hi David, Am Montag, 18. Februar 2019, 02:05:12 CET schrieb David Wu: Hi Heinrich and Michael, Another thing i see is that I missed a patch, for the 3288 gpio0, its

Re: [U-Boot] [BUG] booting on the Tinker Board (tinker-rk3288_defconfig) is broken

2019-03-01 Thread David Wu
Hi Heiko, 在 2019/2/28 下午9:29, Heiko Stübner 写道: Hi Philipp, Am Donnerstag, 28. Februar 2019, 13:46:44 CET schrieb Heiko Stübner: Am Donnerstag, 28. Februar 2019, 13:36:52 CET schrieb Philipp Tomsich: On 28.02.2019, at 11:50, Heiko Stübner wrote: Hi David, Am Montag, 18. Februar 2019, 02:05

Re: [U-Boot] [BUG] booting on the Tinker Board (tinker-rk3288_defconfig) is broken

2019-03-01 Thread Philipp Tomsich
> On 01.03.2019, at 13:29, David Wu wrote: > > Hi Philipp, > 在 2019/2/28 下午8:36, Philipp Tomsich 写道: >> >> >>> On 28.02.2019, at 11:50, Heiko Stübner >> > wrote: >>> >>> Hi David, >>> >>> Am Montag, 18. Februar 2019, 02:05:12 CET schrieb David Wu: Hi Heinrich an