Skip to contentSkip to conversation

yocto Digest, Vol 59, Issue 81

DISCUSSION Manish Thatte 1 participant 1 message Aug 17, 2015 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

I am getting this error when i try to run hob:

openatvbuilder@mani ~/poky/build $ hob
Please set DISPLAY variable before running Hob.

Please help
Manish

Quoted 434 lines · On Mon, Aug 17, 2015 at 3:28 PM, <[email protected]> wrote:

Send yocto mailing list submissions to
[email protected]

To subscribe or unsubscribe via the World Wide Web, visit
https://lists.yoctoproject.org/listinfo/yocto
or, via email, send a message with subject or body 'help' to
[email protected]

You can reach the person managing the list at
[email protected]

When replying, please edit your Subject line so it is more specific than "Re: Contents of yocto digest..."

Today's Topics:

1. Re: [meta-raspberrypi][PATCH 2/2] linux-raspberrypi: build audio driver into kernel (Andrei Gherzan)
2. Re: [meta-raspberrypi][PATCH 2/2] linux-raspberrypi: build audio driver into kernel (Petter Mab?cker)
3. Kernel panic - not syncing: No working init found. (Gorny Krystian)
4. Re: [meta-raspberrypi][PATCH 2/2] linux-raspberrypi: build audio driver into kernel (Alex J Lennon)
5. Re: [meta-raspberrypi][PATCH v2 4/4] README: Add a section about graphic stacks (Javier Martinez Canillas)

----------------------------------------------------------------------

Message: 1
Date: Mon, 17 Aug 2015 09:57:10 +0200
From: Andrei Gherzan <[email protected]>
To: "[email protected]" <[email protected]>
Cc: "[email protected]" <[email protected]>
Subject: Re: [yocto] [meta-raspberrypi][PATCH 2/2] linux-raspberrypi:
build audio driver into kernel
Message-ID:

        <

CAK18fxHq-iSARt0mEBHQoNC+jZuK+0ix50y6838OCpmRc7VyoQ@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

Hello,

Quoted 3 lines · Petter Mab?cker

2015-08-11 19:04 skrev Alex J Lennon:

<javascript:_e(%7B%7D,'cvml','[email protected]');>>

Review

Quoted 5 lines
---
 recipes-kernel/linux/linux-raspberrypi.inc | 4 ++++
 1 file changed, 4 insertions(+)
(quoted diff) +0 -0

b/recipes-kernel/linux/linux-raspberrypi.inc

recipes-kernel/linux/linux-raspberrypi.inc SECTION = "kernel" · line 13

Quoted 12 lines

index e38d905..8024412 100644

recipes-kernel/linux/linux-raspberrypi.inc +3 -0
@@ -6,6 +6,10 @@ SECTION = "kernel"
 LICENSE = "GPLv2"
 LIC_FILES_CHKSUM = "file://COPYING;md5=d7810fab7487fb0aad327b76f1be7cd7"
 
+SRC_URI += " \
+        file://build-in-audio.cfg \
+        "
 
 

This one didn't make it.

--
Andrei Gherzan

--
--
Andrei Gherzan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <
http://lists.yoctoproject.org/pipermail/yocto/attachments/20150817/bcd74813/attachment-0001.html

Quoted 1 line

------------------------------

Message: 2
Date: Mon, 17 Aug 2015 10:11:13 +0200
From: Petter Mab?cker <[email protected]>
To: Andrei Gherzan <[email protected]>, Alex J Lennon
<[email protected]>
Cc: [email protected]
Subject: Re: [yocto] [meta-raspberrypi][PATCH 2/2] linux-raspberrypi:
build audio driver into kernel
Message-ID: <[email protected]>
Content-Type: text/plain; charset="utf-8"

2015-08-17 09:57 skrev Andrei Gherzan:

Quoted 3 lines

Hello,

On Tuesday,

Quoted 2 lines · Petter Mab?cker
Quoted 2 lines

2015-08-11 19:04 skrev Alex J Lennon:

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Signed-off-by Alex J

Lennon <[email protected]>

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

---

recipes-kernel/linux/linux-raspberrypi.inc | 4 ++++

Quoted 1 line
Quoted 1 line
Quoted 1 line
1 file changed,

4 insertions(+)

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

diff --git

a/recipes-kernel/linux/linux-raspberrypi.inc
b/recipes-kernel/linux/linux-raspberrypi.inc

Quoted 1 line
Quoted 1 line
Quoted 1 line

index e38d905..8024412

100644

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

--- a/recipes-kernel/linux/linux-raspberrypi.inc
+++

b/recipes-kernel/linux/linux-raspberrypi.inc

Quoted 1 line
Quoted 1 line

Review

Quoted 1 line
(quoted diff) +0 -0
@@ -6,6 +6,10 @@

SECTION = "kernel"

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

LICENSE = "GPLv2"
LIC_FILES_CHKSUM =

"file://COPYING;md5=d7810fab7487fb0aad327b76f1be7cd7"

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

+SRC_URI

+= "

Quoted 4 lines
Quoted 2 lines
Quoted 2 lines

+ file://build-in-audio.cfg
+ "

This one didn't make

it.

Quoted 7 lines

--
Andrei Gherzan

--

-- Andrei Gherzan

Think
you got the wrong receiver =) I notified Alex about this some days ago, Alex can you send up a v2 for this?

BR, Petter
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <
http://lists.yoctoproject.org/pipermail/yocto/attachments/20150817/7dfd79b7/attachment-0001.html

Quoted 1 line

------------------------------

Message: 3
Date: Mon, 17 Aug 2015 09:06:08 +0000
From: Gorny Krystian <[email protected]>
To: "[email protected]" <[email protected]>
Subject: [yocto] Kernel panic - not syncing: No working init found. Message-ID:

        <

10D57FBA9FD7C14FB49EE17590E1AF9453C9160F@svr-exc-03.intern.wipotec.de>

Content-Type: text/plain; charset="us-ascii"

Hi,

I have a problem with booting my Linux image. The boot error message is:

(...)
VFS: Mounted root (vfat filesystem) readonly on device 3:1.
Devtmpfs: error mounting -2
Freeing unused kernel memory: 636K (c1aa6000 - c1b45000) Write protecting the kernel text: 7544k
Write protecting the kernel read-only data: 2800k

Kernel panic - not syncing: No working init found. Try passing init=
option to kernel. See Linux Documentation/init.txt for guidance.
CPU: 0 PID: 1 Comm: swapper/0 Not tainted

3.14.39ltsi-rt37-yocto-preempt-rt #1
(...)

I'm using the fido branch and build an core-image-rt for the genericx86 machine. Create the yocto image works well. I have used the
https://wiki.yoctoproject.org/wiki/How_do_I#Q:_How_do_I_put_Yocto_on_a_hard_drive.3F
instructions to put my image to the hard drive. I use ext4 as file system. When I put the image to a VirtualBox hard drive the virtual machine boots correctly without issues. This issue occur only on my real hardware (industrial pc with intel atom cpu).

I already tried to put init=/sbin/init or init=/sbin/init.sysvinit to grub.cfg without success. Any ideas?

Thanks Krystian

_____________________________________________________________________

Krystian Gorny
Research & Development

Wipotec GmbH
Adam-Hoffmann-Str. 26
67657 Kaiserslautern

T +49.631.34146-0
F +49.631.34146-8640
http://www.wipotec.com

[http://www.wipotec.com/fileadmin/user_upload/Signatur/W_Standard.jpg]<
http://www.wipotec.com>

Legal information:
Wipotec Wiege- und Positioniersysteme GmbH
HRB 2317 Kaiserslautern, Management: T. D?ppre, U. Wagner

This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error)
please notify the sender immediately and delete this e-mail. Any unauthorized
copying, disclosure or distribution of the material in this e-mail is strictly
forbidden.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <
http://lists.yoctoproject.org/pipermail/yocto/attachments/20150817/736de200/attachment-0001.html

Quoted 1 line

------------------------------

Message: 4
Date: Mon, 17 Aug 2015 10:23:59 +0100
From: Alex J Lennon <[email protected]>
To: [email protected], Andrei Gherzan <[email protected]>
Cc: [email protected]
Subject: Re: [yocto] [meta-raspberrypi][PATCH 2/2] linux-raspberrypi:
build audio driver into kernel
Message-ID: <[email protected]>
Content-Type: text/plain; charset=utf-8

Quoted 15 lines · Petter Mab?cker

2015-08-17 09:57 skrev Andrei Gherzan:

Quoted 13 lines

Hello,

On Tuesday, August 11, 2015, Petter Mab?cker <[email protected] <mailto:[email protected]>> wrote:

2015-08-11 19:04 skrev Alex J Lennon:

---
recipes-kernel/linux/linux-raspberrypi.inc | 4 ++++ 1 file changed, 4 insertions(+)

diff --git a/recipes-kernel/linux/linux-raspberrypi.inc

b/recipes-kernel/linux/linux-raspberrypi.inc

Quoted 6 lines
Quoted 6 lines
        index e38d905..8024412 100644
        --- a/recipes-kernel/linux/linux-raspberrypi.inc
        +++ b/recipes-kernel/linux/linux-raspberrypi.inc
        @@ -6,6 +6,10 @@ SECTION = "kernel"
         LICENSE = "GPLv2"
         LIC_FILES_CHKSUM =

"file://COPYING;md5=d7810fab7487fb0aad327b76f1be7cd7"

Quoted 15 lines
Quoted 15 lines

+SRC_URI += " \
+ file://build-in-audio.cfg \
+ "

This one didn't make it.

--
Andrei Gherzan

Quoted 8 lines
Quoted 3 lines

--
--
Andrei Gherzan

Think you got the wrong receiver =) I notified Alex about this some days ago, Alex can you send up a v2 for this?

The build-in-audio.cfg patch was just for testing of fragment support. It's understood that we're not going to have this build into the kernel by default, although I do still need to find some words to add to the README on audio routing setup and so forth.

I started testing a build with master over the weekend and it built OK. Just need to find some time to run up a couple of kernels and will resubmit the v2 patch with Petter's enhanced commit message.

I don't have an RPiv1 around at the moment but I will probably double check the kernel does still actually build for RPiv1 machine

Cheers,

Alex

Quoted 3 lines

BR, Petter

------------------------------

Message: 5
Date: Mon, 17 Aug 2015 11:58:44 +0200
From: Javier Martinez Canillas <[email protected]>
To: Andrei Gherzan <[email protected]>, Khem Raj <[email protected]>
Cc: "[email protected]" <[email protected]>, Derek Foreman
<[email protected]>, Mauro Carvalho Chehab
<[email protected]>
Subject: Re: [yocto] [meta-raspberrypi][PATCH v2 4/4] README: Add a
section about graphic stacks
Message-ID: <[email protected]>
Content-Type: text/plain; charset=utf-8

Hello Andrei and Khem,

Thanks a lot for your feedback.

Quoted 23 lines · Andrei Gherzan

Hello,

Quoted 19 lines · Khem Raj
Quoted 2 lines

On Aug 13, 2015, at 10:07 AM, Javier Martinez Canillas <

Quoted 2 lines · [email protected] <javascript:;>> wrote:

This patch adds to the README a section that explains the RPi can

different

Quoted 1 line

graphics stacks and that the user can choose by manually changing

providers.

Quoted 2 lines

<javascript:;>>

Quoted 8 lines

---

Changes in v2: None

README | 9 +++++++++

1 file changed, 9 insertions(+)
Quoted 14 lines
Quoted 6 lines
Quoted 6 lines
README +0 -0
index 678c0eb4a4e3..0569b353870c 100644
@@ -25,6 +25,7 @@ Contents:
    2.K. Boot to U-Boot
Quoted 8 lines
Quoted 8 lines
README +1 -0
    2.L. Image with Initramfs
    2.M. Device tree support
+    2.O. Graphic stacks

3. Extra apps
3.A. omxplayer
4. Source code and mirrors

README +0 -0
@@ -195,6 +196,14 @@ kernels.

NOTE: KERNEL_DEVICETREE is default enabled for kernel >= 3.18 and

always

Quoted 6 lines
Quoted 6 lines

disabled for

Quoted 5 lines

older kernel versions.

+2.O. Graphic stacks
+===================
+The Raspberry Pi boards can use one of two graphics stacks: The

userland

Quoted 1 line
Quoted 1 line
Quoted 1 line

+user-space driver or the vc4 DRM/KMS kernel driver. By default

userland

Quoted 1 line
Quoted 1 line
Quoted 1 line

+is used since the vc4 is still experimental. But this can be changed

by

Quoted 3 lines
Quoted 3 lines
Quoted 1 line

+modifying the defaults for the kernel, egl, gles2, libgl and mesa

providers.

Quoted 1 line

+This is explained in the

conf/machine/include/rpi-default-providers.inc

Quoted 4 lines
Quoted 4 lines

file.

Quoted 1 line

+

you may want to add pointer to the commented out code that you have

added

Quoted 7 lines
Quoted 3 lines

to select them
in rpi-default-providers.inc

It would be nice to have some detailed info on what and where to comment out the configuration.

On patch 3/4 I added that documentation to rpi-default-providers but didn't add it to the README and instead pointed out to rpi-default-providers to have a level of indirection in case the providers change and to not have duplicated information but I will add it to the README as well.

Do you have comments on the other patches in the series so I can address all of them before re-spinning?

Quoted 4 lines

--
Andrei Gherzan

Best regards,
--
Javier Martinez Canillas
Open Source Group
Samsung Research America

------------------------------

--
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto

End of yocto Digest, Vol 59, Issue 81
*************************************