All of lore.kernel.org
 help / color / mirror / Atom feed
* u-boot update question
@ 2009-03-26 11:20 Sledz, Steffen
  2009-03-26 17:58 ` Denys Dmytriyenko
  0 siblings, 1 reply; 6+ messages in thread
From: Sledz, Steffen @ 2009-03-26 11:20 UTC (permalink / raw)
  To: openembedded-devel

We like to update u-boot for our OXNAS machine from 1.1.2 to the newer version 2009.03.

The first idea was to create a new u-boot_2009.03.bb.

But then i found u-boot_git.bb and i thought this recipe seems to be the better way. I added 

  SRCREV_oxnas = "e60beb13cf0135dc71c541021487b5ccc4d269cb"

which seems to be the hash from 2009.03. Or is there a way to use the tag v2009.03 directly?

And there is another question. How do i persuade bitbake to use u-boot_git.bb instead of u-boot_1.1.2.bb? I couldn't find DEFAULT_PREFERENCE items for the other machines in both recipes so i assumed that the git recipe is preferred to the other. But a "bitbake u-boot" still builds from 1.1.2 .  :(

Steffen

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

* Re: u-boot update question
  2009-03-26 11:20 u-boot update question Sledz, Steffen
@ 2009-03-26 17:58 ` Denys Dmytriyenko
  2009-03-27  7:50   ` Sledz, Steffen
  0 siblings, 1 reply; 6+ messages in thread
From: Denys Dmytriyenko @ 2009-03-26 17:58 UTC (permalink / raw)
  To: openembedded-devel

On Thu, Mar 26, 2009 at 12:20:53PM +0100, Sledz, Steffen wrote:
> We like to update u-boot for our OXNAS machine from 1.1.2 to the newer version 2009.03.
> 
> The first idea was to create a new u-boot_2009.03.bb.
> 
> But then i found u-boot_git.bb and i thought this recipe seems to be the better way. I added 
> 
>   SRCREV_oxnas = "e60beb13cf0135dc71c541021487b5ccc4d269cb"
> 
> which seems to be the hash from 2009.03. Or is there a way to use the tag v2009.03 directly?
> 
> And there is another question. How do i persuade bitbake to use u-boot_git.bb instead of u-boot_1.1.2.bb? I couldn't find DEFAULT_PREFERENCE items for the other machines in both recipes so i assumed that the git recipe is preferred to the other. But a "bitbake u-boot" still builds from 1.1.2 .  :(

conf/machine/oxnas.conf

-- 
Denys



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

* Re: u-boot update question
  2009-03-26 17:58 ` Denys Dmytriyenko
@ 2009-03-27  7:50   ` Sledz, Steffen
  2009-03-27 12:23     ` Philip Balister
  0 siblings, 1 reply; 6+ messages in thread
From: Sledz, Steffen @ 2009-03-27  7:50 UTC (permalink / raw)
  To: openembedded-devel

> > And there is another question. How do i persuade bitbake to 
> > use u-boot_git.bb instead of u-boot_1.1.2.bb? I couldn't find 
> > DEFAULT_PREFERENCE items for the other machines in both 
> > recipes so i assumed that the git recipe is preferred to the 
> > other. But a "bitbake u-boot" still builds from 1.1.2 .  :(
>
> conf/machine/oxnas.conf

Yes, of course. I'm really mortified. ;-)



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

* Re: u-boot update question
  2009-03-27  7:50   ` Sledz, Steffen
@ 2009-03-27 12:23     ` Philip Balister
  2009-04-15 13:19       ` Sledz, Steffen
  0 siblings, 1 reply; 6+ messages in thread
From: Philip Balister @ 2009-03-27 12:23 UTC (permalink / raw)
  To: openembedded-devel

[-- Attachment #1: Type: text/plain, Size: 638 bytes --]

Sledz, Steffen wrote:
>>> And there is another question. How do i persuade bitbake to 
>>> use u-boot_git.bb instead of u-boot_1.1.2.bb? I couldn't find 
>>> DEFAULT_PREFERENCE items for the other machines in both 
>>> recipes so i assumed that the git recipe is preferred to the 
>>> other. But a "bitbake u-boot" still builds from 1.1.2 .  :(
>> conf/machine/oxnas.conf
> 
> Yes, of course. I'm really mortified. ;-)

I missed this earlier ...

I am planning on adding a recipe for building u-boot-2009.03. This would 
be better than using the git recipe, since someone may change the git 
tag at a later date.

Philip

[-- Attachment #2: S/MIME Cryptographic Signature --]
[-- Type: application/x-pkcs7-signature, Size: 3303 bytes --]

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

* Re: u-boot update question
  2009-03-27 12:23     ` Philip Balister
@ 2009-04-15 13:19       ` Sledz, Steffen
  2009-04-15 13:34         ` Andrea Adami
  0 siblings, 1 reply; 6+ messages in thread
From: Sledz, Steffen @ 2009-04-15 13:19 UTC (permalink / raw)
  To: openembedded-devel

Hi Philip,

> I am planning on adding a recipe for building u-boot-2009.03. 
> This would be better than using the git recipe, since someone
> may change the git tag at a later date.

FYI, i did it.

Steffen



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

* Re: u-boot update question
  2009-04-15 13:19       ` Sledz, Steffen
@ 2009-04-15 13:34         ` Andrea Adami
  0 siblings, 0 replies; 6+ messages in thread
From: Andrea Adami @ 2009-04-15 13:34 UTC (permalink / raw)
  To: openembedded-devel

IMHO this adds bloat to the already over-populated /u-boot dir...

> This would be better than using the git recipe, since someone
> may change the git tag at a later date.

I don't see any risk...just do like other machines

SRC_URI_xy
SRCREV_xy

My 2 cents


Andrea



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

end of thread, other threads:[~2009-04-15 13:38 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-26 11:20 u-boot update question Sledz, Steffen
2009-03-26 17:58 ` Denys Dmytriyenko
2009-03-27  7:50   ` Sledz, Steffen
2009-03-27 12:23     ` Philip Balister
2009-04-15 13:19       ` Sledz, Steffen
2009-04-15 13:34         ` Andrea Adami

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.