All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] Attached DTB no longer supported u-boot.imx?
@ 2014-11-28 23:52 Bill Pringlemeir
  2014-11-28 23:56 ` Bill Pringlemeir
  0 siblings, 1 reply; 5+ messages in thread
From: Bill Pringlemeir @ 2014-11-28 23:52 UTC (permalink / raw)
  To: u-boot


I tried to update the new u-boot I get,

  Bytes transferred = 3413041 (341431 hex)
  Kernel image @ 0x86000000 [ 0x000000 - 0x33e150 ]
  Could not find a valid device tree

The 'bootcmd' is,

 tftp ${loadaddr} zImage.dtb; bootz ${loadaddr}

has the syntax changed and I am not up to date?  I think I saw something
about an attached DTB not supported.

   u-boot-imx$ git describe
   v2009.08-18413-g5c84206

err, that is no good.  I have 2a82ec77d27ef5f860a107c4b764643a655dceeb
as 'Prepare v2015.01-rc2' and I had to apply 5c84206 to compile with a
4.9 hard-float ARM compiler.

I pulled the main 'u-boot.git' and this does not happen.

   u-boot$ git describe
   v2015.01-rc2-87-g0f89149

It is '38cd8c4253013ccdd4052ee021f6066fe9a52551', with the same patch as
'pwclient git-am 415336'

Is the imx just using newer patches to be merged to the main tree and I
must switch to a detached DT?  Or is there something else?

Thanks,
Bill.

 

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [U-Boot] Attached DTB no longer supported u-boot.imx?
  2014-11-28 23:52 [U-Boot] Attached DTB no longer supported u-boot.imx? Bill Pringlemeir
@ 2014-11-28 23:56 ` Bill Pringlemeir
  2014-11-29  0:57   ` Tom Rini
  0 siblings, 1 reply; 5+ messages in thread
From: Bill Pringlemeir @ 2014-11-28 23:56 UTC (permalink / raw)
  To: u-boot

On 28 Nov 2014, bpringlemeir at nbsps.com wrote:

>
> I tried to update the new u-boot I get,
>
> Bytes transferred = 3413041 (341431 hex)
> Kernel image @ 0x86000000 [ 0x000000 - 0x33e150 ]
> Could not find a valid device tree

[snip]

> Is the imx just using newer patches to be merged to the main tree and
> I must switch to a detached DT?  Or is there something else?

Sorry, both trees behave the same.  I will switch to separate binaries.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [U-Boot] Attached DTB no longer supported u-boot.imx?
  2014-11-28 23:56 ` Bill Pringlemeir
@ 2014-11-29  0:57   ` Tom Rini
  2014-12-03 15:43     ` Bill Pringlemeir
  0 siblings, 1 reply; 5+ messages in thread
From: Tom Rini @ 2014-11-29  0:57 UTC (permalink / raw)
  To: u-boot

On Fri, Nov 28, 2014 at 06:56:32PM -0500, Bill Pringlemeir wrote:
> On 28 Nov 2014, bpringlemeir at nbsps.com wrote:
> 
> >
> > I tried to update the new u-boot I get,
> >
> > Bytes transferred = 3413041 (341431 hex)
> > Kernel image @ 0x86000000 [ 0x000000 - 0x33e150 ]
> > Could not find a valid device tree
> 
> [snip]
> 
> > Is the imx just using newer patches to be merged to the main tree and
> > I must switch to a detached DT?  Or is there something else?
> 
> Sorry, both trees behave the same.  I will switch to separate binaries.

This is not intentional.  I suspect I know what commit did this.  Can
you please do a git bisect from v2015.01-rc1 to -rc2 and see what it
says the bad commit is?  Thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20141128/7f8186a4/attachment.pgp>

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [U-Boot] Attached DTB no longer supported u-boot.imx?
  2014-11-29  0:57   ` Tom Rini
@ 2014-12-03 15:43     ` Bill Pringlemeir
  2014-12-03 18:26       ` Tom Rini
  0 siblings, 1 reply; 5+ messages in thread
From: Bill Pringlemeir @ 2014-12-03 15:43 UTC (permalink / raw)
  To: u-boot


> On Fri, Nov 28, 2014 at 06:56:32PM -0500, Bill Pringlemeir wrote:

>> Sorry, both trees behave the same.  I will switch to separate
>> binaries.

On 28 Nov 2014, trini at ti.com wrote:

> This is not intentional.  I suspect I know what commit did this.  Can
> you please do a git bisect from v2015.01-rc1 to -rc2 and see what it
> says the bad commit is?  Thanks!

I have the 'ext4-div' patch and I must reduce the vf610 image size in
order to boot (why I have 'git reset --hard').

git reset --hard; git bisect bad
HEAD is now at c6150aa image-fdt: boot_get_fdt() return value when no DTB exists
c6150aaf2f2745141a7c2ceded58d7efbfeace7d is the first bad commit
commit c6150aaf2f2745141a7c2ceded58d7efbfeace7d
Author: Noam Camus <noamc@ezchip.com>
Date:   Wed Oct 22 17:17:49 2014 +0300

    image-fdt: boot_get_fdt() return value when no DTB exists
    
    I believe that when no DTB is around we should return 1.
    This why I fixed such scenarious to not return zero anymore.
    Else kernel might get NULL pointer to DTB which doesn't exists.
    
    Signed-off-by: Noam Camus <noamc@ezchip.com>

:040000 040000 f343f802d1491dc54545271694669c21f5efaa65 1120435d7aee7a9c12a6c8e2c0b19a364cbaf185 M      common

If I take rc2, revert c6150aaf2 and rebuild then the attached DTB image
seems fine for booting.

Regards,
Bill Pringlemeir.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [U-Boot] Attached DTB no longer supported u-boot.imx?
  2014-12-03 15:43     ` Bill Pringlemeir
@ 2014-12-03 18:26       ` Tom Rini
  0 siblings, 0 replies; 5+ messages in thread
From: Tom Rini @ 2014-12-03 18:26 UTC (permalink / raw)
  To: u-boot

On Wed, Dec 03, 2014 at 10:43:59AM -0500, Bill Pringlemeir wrote:
> 
> > On Fri, Nov 28, 2014 at 06:56:32PM -0500, Bill Pringlemeir wrote:
> 
> >> Sorry, both trees behave the same.  I will switch to separate
> >> binaries.
> 
> On 28 Nov 2014, trini at ti.com wrote:
> 
> > This is not intentional.  I suspect I know what commit did this.  Can
> > you please do a git bisect from v2015.01-rc1 to -rc2 and see what it
> > says the bad commit is?  Thanks!
> 
> I have the 'ext4-div' patch and I must reduce the vf610 image size in
> order to boot (why I have 'git reset --hard').
> 
> git reset --hard; git bisect bad
> HEAD is now at c6150aa image-fdt: boot_get_fdt() return value when no DTB exists
> c6150aaf2f2745141a7c2ceded58d7efbfeace7d is the first bad commit
> commit c6150aaf2f2745141a7c2ceded58d7efbfeace7d
> Author: Noam Camus <noamc@ezchip.com>
> Date:   Wed Oct 22 17:17:49 2014 +0300
> 
>     image-fdt: boot_get_fdt() return value when no DTB exists
>     
>     I believe that when no DTB is around we should return 1.
>     This why I fixed such scenarious to not return zero anymore.
>     Else kernel might get NULL pointer to DTB which doesn't exists.
>     
>     Signed-off-by: Noam Camus <noamc@ezchip.com>
> 
> :040000 040000 f343f802d1491dc54545271694669c21f5efaa65 1120435d7aee7a9c12a6c8e2c0b19a364cbaf185 M      common
> 
> If I take rc2, revert c6150aaf2 and rebuild then the attached DTB image
> seems fine for booting.

Great, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20141203/2b28b95e/attachment.pgp>

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2014-12-03 18:26 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-11-28 23:52 [U-Boot] Attached DTB no longer supported u-boot.imx? Bill Pringlemeir
2014-11-28 23:56 ` Bill Pringlemeir
2014-11-29  0:57   ` Tom Rini
2014-12-03 15:43     ` Bill Pringlemeir
2014-12-03 18:26       ` Tom Rini

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.