All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-raspberrypi][Question] How to build an hwup image for raspberrypi3
@ 2016-05-19 12:15 piotr.lewicki
  2016-05-19 14:17 ` Khem Raj
  2016-05-19 14:39 ` Andrei Gherzan
  0 siblings, 2 replies; 7+ messages in thread
From: piotr.lewicki @ 2016-05-19 12:15 UTC (permalink / raw)
  To: yocto

Hello,
I'm trying to build a Yocto image for raspberrypi3.
I'm using only two layers:
- poky (krogoth: rev eff84a76acea1a0842194106a66684511f409842)
- meta-raspberrypi (master: rev 9912d38e97671704822d1aa05312a0439cb650d3)

I have built it by cloning both layers from git (and changing poky 
branch), then I sourced poky (source poky/oe-init-build-env), added 
meta-raspberrypi layer in conf/bblayers.conf and in conf/local.conf 
changed MACHINE to raspberrypi3.

Then I have built "rpi-hwup-image" using bitbake and dd'd it to an SD card.

Unfortunately rpi-hwup-image does not work on raspberry pi 3.
Boot screen halts when 4 raspberry logos show up and that's it.

On the other hand I have tried the same SD card with raspberry pi 2 and 
it booted up (!?).

Can you tell me if there is still support for meta-raspberrypi layer?
I found that this layer does not follow Yocto project naming convention 
for branches (I think that the latest is "jethro", but nothing newer 
besides "master").
Does this mean that there is no stable and up-to-date branch apart from 
master?

Has anybody built a raspberrypi3 image?
Could you tell me which layers and which branches should I use?


Thanks,
Piotr Lewicki


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

* Re: [meta-raspberrypi][Question] How to build an hwup image for raspberrypi3
  2016-05-19 12:15 [meta-raspberrypi][Question] How to build an hwup image for raspberrypi3 piotr.lewicki
@ 2016-05-19 14:17 ` Khem Raj
  2016-05-19 14:39 ` Andrei Gherzan
  1 sibling, 0 replies; 7+ messages in thread
From: Khem Raj @ 2016-05-19 14:17 UTC (permalink / raw)
  To: piotr.lewicki; +Cc: yocto@yoctoproject.org

On Thu, May 19, 2016 at 5:15 AM, piotr.lewicki <piotr.lewicki@elfin.de> wrote:
> Hello,
> I'm trying to build a Yocto image for raspberrypi3.
> I'm using only two layers:
> - poky (krogoth: rev eff84a76acea1a0842194106a66684511f409842)
> - meta-raspberrypi (master: rev 9912d38e97671704822d1aa05312a0439cb650d3)
>
> I have built it by cloning both layers from git (and changing poky branch),
> then I sourced poky (source poky/oe-init-build-env), added meta-raspberrypi
> layer in conf/bblayers.conf and in conf/local.conf changed MACHINE to
> raspberrypi3.
>
> Then I have built "rpi-hwup-image" using bitbake and dd'd it to an SD card.
>
> Unfortunately rpi-hwup-image does not work on raspberry pi 3.
> Boot screen halts when 4 raspberry logos show up and that's it.
>
> On the other hand I have tried the same SD card with raspberry pi 2 and it
> booted up (!?).

set

ENABLE_UART = "1"

in local.conf

>
> Can you tell me if there is still support for meta-raspberrypi layer?
> I found that this layer does not follow Yocto project naming convention for
> branches (I think that the latest is "jethro", but nothing newer besides
> "master").
> Does this mean that there is no stable and up-to-date branch apart from
> master?
>
> Has anybody built a raspberrypi3 image?
> Could you tell me which layers and which branches should I use?
>
>
> Thanks,
> Piotr Lewicki
> --
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto


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

* Re: [meta-raspberrypi][Question] How to build an hwup image for raspberrypi3
  2016-05-19 12:15 [meta-raspberrypi][Question] How to build an hwup image for raspberrypi3 piotr.lewicki
  2016-05-19 14:17 ` Khem Raj
@ 2016-05-19 14:39 ` Andrei Gherzan
  2016-05-19 15:26   ` piotr.lewicki
  1 sibling, 1 reply; 7+ messages in thread
From: Andrei Gherzan @ 2016-05-19 14:39 UTC (permalink / raw)
  To: piotr.lewicki; +Cc: yocto

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

On Thu, May 19, 2016 at 02:15:22PM +0200, piotr.lewicki wrote:
> Hello,
> I'm trying to build a Yocto image for raspberrypi3.
> I'm using only two layers:
> - poky (krogoth: rev eff84a76acea1a0842194106a66684511f409842)
> - meta-raspberrypi (master: rev 9912d38e97671704822d1aa05312a0439cb650d3)
>
> I have built it by cloning both layers from git (and changing poky branch),
> then I sourced poky (source poky/oe-init-build-env), added meta-raspberrypi
> layer in conf/bblayers.conf and in conf/local.conf changed MACHINE to
> raspberrypi3.
>

I just tested the same revisions as you mentioned and the board boot for
me. How do you test the board? Over serial?

If you are using serial I suspecte you are not setting the serial
console. if you are using tty1 (hdmi) you need to add the specific
console argument to cmdline.

> Then I have built "rpi-hwup-image" using bitbake and dd'd it to an SD card.
>
> Unfortunately rpi-hwup-image does not work on raspberry pi 3.
> Boot screen halts when 4 raspberry logos show up and that's it.
>
> On the other hand I have tried the same SD card with raspberry pi 2 and it
> booted up (!?).
>
> Can you tell me if there is still support for meta-raspberrypi layer?
> I found that this layer does not follow Yocto project naming convention for
> branches (I think that the latest is "jethro", but nothing newer besides
> "master").
> Does this mean that there is no stable and up-to-date branch apart from
> master?
>

What do you mean rpi is not following the yocto project naming
convention? It does miss a branch for the last yocto release but there
are already for the old ones.

> Has anybody built a raspberrypi3 image?
> Could you tell me which layers and which branches should I use?
>
>
> Thanks,
> Piotr Lewicki
> --
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto

--
Andrei Gherzan

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

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

* Re: [meta-raspberrypi][Question] How to build an hwup image for raspberrypi3
  2016-05-19 14:39 ` Andrei Gherzan
@ 2016-05-19 15:26   ` piotr.lewicki
  2016-05-19 15:27     ` Andrei Gherzan
  0 siblings, 1 reply; 7+ messages in thread
From: piotr.lewicki @ 2016-05-19 15:26 UTC (permalink / raw)
  To: Andrei Gherzan; +Cc: yocto

On 19.05.2016 16:39, Andrei Gherzan wrote:
> On Thu, May 19, 2016 at 02:15:22PM +0200, piotr.lewicki wrote:
>> Hello,
>> I'm trying to build a Yocto image for raspberrypi3.
>> I'm using only two layers:
>> - poky (krogoth: rev eff84a76acea1a0842194106a66684511f409842)
>> - meta-raspberrypi (master: rev 9912d38e97671704822d1aa05312a0439cb650d3)
>>
>> I have built it by cloning both layers from git (and changing poky branch),
>> then I sourced poky (source poky/oe-init-build-env), added meta-raspberrypi
>> layer in conf/bblayers.conf and in conf/local.conf changed MACHINE to
>> raspberrypi3.
>>
> I just tested the same revisions as you mentioned and the board boot for
> me. How do you test the board? Over serial?
>
> If you are using serial I suspecte you are not setting the serial
> console. if you are using tty1 (hdmi) you need to add the specific
> console argument to cmdline.
I'm using hdmi. Where can I find those console arguments?
>
>> Then I have built "rpi-hwup-image" using bitbake and dd'd it to an SD card.
>>
>> Unfortunately rpi-hwup-image does not work on raspberry pi 3.
>> Boot screen halts when 4 raspberry logos show up and that's it.
>>
>> On the other hand I have tried the same SD card with raspberry pi 2 and it
>> booted up (!?).
>>
>> Can you tell me if there is still support for meta-raspberrypi layer?
>> I found that this layer does not follow Yocto project naming convention for
>> branches (I think that the latest is "jethro", but nothing newer besides
>> "master").
>> Does this mean that there is no stable and up-to-date branch apart from
>> master?
>>
> What do you mean rpi is not following the yocto project naming
> convention? It does miss a branch for the last yocto release but there
> are already for the old ones.
Maybe I explained that wrong, but I've noticed that it's missing krogoth 
branch.
I think that if something like this occurs users are a little bit 
confused and have to choose between old branch (potentially outdated) 
and a master branch (potentially unstable).
>
>> Has anybody built a raspberrypi3 image?
>> Could you tell me which layers and which branches should I use?
>>
>>
>> Thanks,
>> Piotr Lewicki
>> --
>> _______________________________________________
>> yocto mailing list
>> yocto@yoctoproject.org
>> https://lists.yoctoproject.org/listinfo/yocto
> --
> Andrei Gherzan
__

BR,
Piotr Lewicki


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

* Re: [meta-raspberrypi][Question] How to build an hwup image for raspberrypi3
  2016-05-19 15:26   ` piotr.lewicki
@ 2016-05-19 15:27     ` Andrei Gherzan
  2016-05-19 16:40       ` Khem Raj
  0 siblings, 1 reply; 7+ messages in thread
From: Andrei Gherzan @ 2016-05-19 15:27 UTC (permalink / raw)
  To: piotr.lewicki; +Cc: yocto

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

On Thu, May 19, 2016 at 05:26:15PM +0200, piotr.lewicki wrote:
> On 19.05.2016 16:39, Andrei Gherzan wrote:
> > On Thu, May 19, 2016 at 02:15:22PM +0200, piotr.lewicki wrote:
> > > Hello,
> > > I'm trying to build a Yocto image for raspberrypi3.
> > > I'm using only two layers:
> > > - poky (krogoth: rev eff84a76acea1a0842194106a66684511f409842)
> > > - meta-raspberrypi (master: rev 9912d38e97671704822d1aa05312a0439cb650d3)
> > >
> > > I have built it by cloning both layers from git (and changing poky branch),
> > > then I sourced poky (source poky/oe-init-build-env), added meta-raspberrypi
> > > layer in conf/bblayers.conf and in conf/local.conf changed MACHINE to
> > > raspberrypi3.
> > >
> > I just tested the same revisions as you mentioned and the board boot for
> > me. How do you test the board? Over serial?
> >
> > If you are using serial I suspecte you are not setting the serial
> > console. if you are using tty1 (hdmi) you need to add the specific
> > console argument to cmdline.
> I'm using hdmi. Where can I find those console arguments?

Boot partition, cmdline.txt.

> >
> > > Then I have built "rpi-hwup-image" using bitbake and dd'd it to an SD card.
> > >
> > > Unfortunately rpi-hwup-image does not work on raspberry pi 3.
> > > Boot screen halts when 4 raspberry logos show up and that's it.
> > >
> > > On the other hand I have tried the same SD card with raspberry pi 2 and it
> > > booted up (!?).
> > >
> > > Can you tell me if there is still support for meta-raspberrypi layer?
> > > I found that this layer does not follow Yocto project naming convention for
> > > branches (I think that the latest is "jethro", but nothing newer besides
> > > "master").
> > > Does this mean that there is no stable and up-to-date branch apart from
> > > master?
> > >
> > What do you mean rpi is not following the yocto project naming
> > convention? It does miss a branch for the last yocto release but there
> > are already for the old ones.
> Maybe I explained that wrong, but I've noticed that it's missing krogoth
> branch.
> I think that if something like this occurs users are a little bit confused
> and have to choose between old branch (potentially outdated) and a master
> branch (potentially unstable).

Correct. I'll release krogoth too soon. Thanks.

> >
> > > Has anybody built a raspberrypi3 image?
> > > Could you tell me which layers and which branches should I use?
> > >
> > >
> > > Thanks,
> > > Piotr Lewicki
> > > --
> > > _______________________________________________
> > > yocto mailing list
> > > yocto@yoctoproject.org
> > > https://lists.yoctoproject.org/listinfo/yocto
> > --
> > Andrei Gherzan
> __
>
> BR,
> Piotr Lewicki

--
Andrei Gherzan

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

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

* Re: [meta-raspberrypi][Question] How to build an hwup image for raspberrypi3
  2016-05-19 15:27     ` Andrei Gherzan
@ 2016-05-19 16:40       ` Khem Raj
  2016-05-19 21:42         ` Andrei Gherzan
  0 siblings, 1 reply; 7+ messages in thread
From: Khem Raj @ 2016-05-19 16:40 UTC (permalink / raw)
  To: Andrei Gherzan; +Cc: yocto

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


> On May 19, 2016, at 8:27 AM, Andrei Gherzan <andrei@gherzan.ro> wrote:
> 
> On Thu, May 19, 2016 at 05:26:15PM +0200, piotr.lewicki wrote:
>> On 19.05.2016 16:39, Andrei Gherzan wrote:
>>> On Thu, May 19, 2016 at 02:15:22PM +0200, piotr.lewicki wrote:
>>>> Hello,
>>>> I'm trying to build a Yocto image for raspberrypi3.
>>>> I'm using only two layers:
>>>> - poky (krogoth: rev eff84a76acea1a0842194106a66684511f409842)
>>>> - meta-raspberrypi (master: rev 9912d38e97671704822d1aa05312a0439cb650d3)
>>>> 
>>>> I have built it by cloning both layers from git (and changing poky branch),
>>>> then I sourced poky (source poky/oe-init-build-env), added meta-raspberrypi
>>>> layer in conf/bblayers.conf and in conf/local.conf changed MACHINE to
>>>> raspberrypi3.
>>>> 
>>> I just tested the same revisions as you mentioned and the board boot for
>>> me. How do you test the board? Over serial?
>>> 
>>> If you are using serial I suspecte you are not setting the serial
>>> console. if you are using tty1 (hdmi) you need to add the specific
>>> console argument to cmdline.
>> I'm using hdmi. Where can I find those console arguments?
> 
> Boot partition, cmdline.txt.
> 
>>> 
>>>> Then I have built "rpi-hwup-image" using bitbake and dd'd it to an SD card.
>>>> 
>>>> Unfortunately rpi-hwup-image does not work on raspberry pi 3.
>>>> Boot screen halts when 4 raspberry logos show up and that's it.
>>>> 
>>>> On the other hand I have tried the same SD card with raspberry pi 2 and it
>>>> booted up (!?).
>>>> 
>>>> Can you tell me if there is still support for meta-raspberrypi layer?
>>>> I found that this layer does not follow Yocto project naming convention for
>>>> branches (I think that the latest is "jethro", but nothing newer besides
>>>> "master").
>>>> Does this mean that there is no stable and up-to-date branch apart from
>>>> master?
>>>> 
>>> What do you mean rpi is not following the yocto project naming
>>> convention? It does miss a branch for the last yocto release but there
>>> are already for the old ones.
>> Maybe I explained that wrong, but I've noticed that it's missing krogoth
>> branch.
>> I think that if something like this occurs users are a little bit confused
>> and have to choose between old branch (potentially outdated) and a master
>> branch (potentially unstable).
> 
> Correct. I'll release krogoth too soon. Thanks.


I would suggest to delay branching until we really diverge from krogoth in incompatible ways
just makes it easier to maintain.

[-- Attachment #2: Message signed with OpenPGP using GPGMail --]
[-- Type: application/pgp-signature, Size: 211 bytes --]

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

* Re: [meta-raspberrypi][Question] How to build an hwup image for raspberrypi3
  2016-05-19 16:40       ` Khem Raj
@ 2016-05-19 21:42         ` Andrei Gherzan
  0 siblings, 0 replies; 7+ messages in thread
From: Andrei Gherzan @ 2016-05-19 21:42 UTC (permalink / raw)
  To: Khem Raj; +Cc: yocto

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

On Thu, May 19, 2016 at 09:40:13AM -0700, Khem Raj wrote:
>
> > On May 19, 2016, at 8:27 AM, Andrei Gherzan <andrei@gherzan.ro> wrote:
> >
> > On Thu, May 19, 2016 at 05:26:15PM +0200, piotr.lewicki wrote:
> >> On 19.05.2016 16:39, Andrei Gherzan wrote:
> >>> On Thu, May 19, 2016 at 02:15:22PM +0200, piotr.lewicki wrote:
> >>>> Hello,
> >>>> I'm trying to build a Yocto image for raspberrypi3.
> >>>> I'm using only two layers:
> >>>> - poky (krogoth: rev eff84a76acea1a0842194106a66684511f409842)
> >>>> - meta-raspberrypi (master: rev 9912d38e97671704822d1aa05312a0439cb650d3)
> >>>>
> >>>> I have built it by cloning both layers from git (and changing poky branch),
> >>>> then I sourced poky (source poky/oe-init-build-env), added meta-raspberrypi
> >>>> layer in conf/bblayers.conf and in conf/local.conf changed MACHINE to
> >>>> raspberrypi3.
> >>>>
> >>> I just tested the same revisions as you mentioned and the board boot for
> >>> me. How do you test the board? Over serial?
> >>>
> >>> If you are using serial I suspecte you are not setting the serial
> >>> console. if you are using tty1 (hdmi) you need to add the specific
> >>> console argument to cmdline.
> >> I'm using hdmi. Where can I find those console arguments?
> >
> > Boot partition, cmdline.txt.
> >
> >>>
> >>>> Then I have built "rpi-hwup-image" using bitbake and dd'd it to an SD card.
> >>>>
> >>>> Unfortunately rpi-hwup-image does not work on raspberry pi 3.
> >>>> Boot screen halts when 4 raspberry logos show up and that's it.
> >>>>
> >>>> On the other hand I have tried the same SD card with raspberry pi 2 and it
> >>>> booted up (!?).
> >>>>
> >>>> Can you tell me if there is still support for meta-raspberrypi layer?
> >>>> I found that this layer does not follow Yocto project naming convention for
> >>>> branches (I think that the latest is "jethro", but nothing newer besides
> >>>> "master").
> >>>> Does this mean that there is no stable and up-to-date branch apart from
> >>>> master?
> >>>>
> >>> What do you mean rpi is not following the yocto project naming
> >>> convention? It does miss a branch for the last yocto release but there
> >>> are already for the old ones.
> >> Maybe I explained that wrong, but I've noticed that it's missing krogoth
> >> branch.
> >> I think that if something like this occurs users are a little bit confused
> >> and have to choose between old branch (potentially outdated) and a master
> >> branch (potentially unstable).
> >
> > Correct. I'll release krogoth too soon. Thanks.
>
>
> I would suggest to delay branching until we really diverge from krogoth in incompatible ways
> just makes it easier to maintain.

Indeed. Sounds like a good idea.


--
Andrei Gherzan

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

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

end of thread, other threads:[~2016-05-19 21:42 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-05-19 12:15 [meta-raspberrypi][Question] How to build an hwup image for raspberrypi3 piotr.lewicki
2016-05-19 14:17 ` Khem Raj
2016-05-19 14:39 ` Andrei Gherzan
2016-05-19 15:26   ` piotr.lewicki
2016-05-19 15:27     ` Andrei Gherzan
2016-05-19 16:40       ` Khem Raj
2016-05-19 21:42         ` Andrei Gherzan

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.