Re: svn commit: r284614 - head/sys/boot/uboot/lib

2015-06-22 Thread Ian Lepore
On Mon, 2015-06-22 at 15:58 -0300, Luiz Otavio O Souza wrote: > On Sun, Jun 21, 2015 at 12:32 AM, Maxim Sobolev wrote: > > Kewl, have you bothered to report it back to u-boot guys by any chance? > > > > -Max > > Well, I started to read the patches submission requirements and gave > up (shame on me

Re: svn commit: r284614 - head/sys/boot/uboot/lib

2015-06-22 Thread Luiz Otavio O Souza
On Sun, Jun 21, 2015 at 12:32 AM, Maxim Sobolev wrote: > Kewl, have you bothered to report it back to u-boot guys by any chance? > > -Max Well, I started to read the patches submission requirements and gave up (shame on me). I'll try once more with a little bit more of patience, but in any case,

Re: svn commit: r284614 - head/sys/boot/uboot/lib

2015-06-20 Thread Maxim Sobolev
Kewl, have you bothered to report it back to u-boot guys by any chance? -Max On Sat, Jun 20, 2015 at 1:11 PM, Luiz Otavio O Souza wrote: > On Sat, Jun 20, 2015 at 4:42 PM, Maxim Sobolev wrote: > > No, what I am saying is that it sets "fdtaddr=4096" for the value of > 0x1000 > > and that drives

Re: svn commit: r284614 - head/sys/boot/uboot/lib

2015-06-20 Thread Luiz Otavio O Souza
On Sat, Jun 20, 2015 at 4:42 PM, Maxim Sobolev wrote: > No, what I am saying is that it sets "fdtaddr=4096" for the value of 0x1000 > and that drives btloader nuts. Dumb, yeah! On the positive note got > redpitaya fully working (except lack of the I2C support and actual fpga > support being unknown

Re: svn commit: r284614 - head/sys/boot/uboot/lib

2015-06-20 Thread Maxim Sobolev
No, what I am saying is that it sets "fdtaddr=4096" for the value of 0x1000 and that drives btloader nuts. Dumb, yeah! On the positive note got redpitaya fully working (except lack of the I2C support and actual fpga support being unknown). But at least I can try to dual-boot it now. -Max On Fri,

Re: svn commit: r284614 - head/sys/boot/uboot/lib

2015-06-20 Thread Ian Lepore
On Fri, 2015-06-19 at 16:56 -0700, Maxim Sobolev wrote: > Ian, that's cool and dandy, but I still suggest we put some sanity checking > and have certain workarounds in the loader (whenever it does not add > ambiguity or blows up a code too much of course), so that new folks in town > trying to port

Re: svn commit: r284614 - head/sys/boot/uboot/lib

2015-06-19 Thread Maxim Sobolev
Ian, that's cool and dandy, but I still suggest we put some sanity checking and have certain workarounds in the loader (whenever it does not add ambiguity or blows up a code too much of course), so that new folks in town trying to port to new platforms like myself won't spend hours and hours huntin

Re: svn commit: r284614 - head/sys/boot/uboot/lib

2015-06-19 Thread Ian Lepore
On Fri, 2015-06-19 at 22:24 +, Maxim Sobolev wrote: > Author: sobomax > Date: Fri Jun 19 22:24:58 2015 > New Revision: 284614 > URL: https://svnweb.freebsd.org/changeset/base/284614 > > Log: > Provide bug4bug workaround for certain dumbiness of the u-boot's > API_env_enum > function, whic

svn commit: r284614 - head/sys/boot/uboot/lib

2015-06-19 Thread Maxim Sobolev
Author: sobomax Date: Fri Jun 19 22:24:58 2015 New Revision: 284614 URL: https://svnweb.freebsd.org/changeset/base/284614 Log: Provide bug4bug workaround for certain dumbiness of the u-boot's API_env_enum function, which is expected to set returned env to NULL upon reaching the end of the en