Re: [yocto] How to run script before mount rootfs

2019-07-04 Thread Szabolcs Báder
Thanks Jonas!

Yes, I tried Swupdate, but not RAUC. I will try out and check it deeply!

I would like to create my own solution (as a learning path too). In this
case, if I think good, that possible to solve with systemd (emergency boot
etc) and uboot. I thought I can solve that with a kernel module or
something similar, with an init script. I saw one solution.. but I forget
where.. that was really smart hobby project on github. Therefore I asked
the community, maybe somebody have experience in this area.. which is the
best way to start that.

Regards,
Szabolcs

Gmail  ezt írta (időpont: 2019. júl. 3., Sze,
20:44):

> Hi,
>
> You can have a look at https://wiki.yoctoproject.org/wiki/System_Update.
>
> I have used RAUC and u-boot on Rasperry Pi, there is an meta-rauc layer
> for Yocto. RAUC Dok at https://rauc.readthedocs.io/en/latest/. RAUC have
> an u-boot example script for loading different rootfs on boot, have a look
> at there GitHub:
> https://github.com/rauc/rauc/blob/master/contrib/uboot.sh
>
> Best regards
> Jonas Andersson
>
> 3 juli 2019 kl. 18:59 skrev Szabolcs Báder :
>
> Hi,
>
> I created for Raspberry Pi a simple OS-boot-switcher. I change a param
> from rootfs, reboot and new OS run. I would like to add to for this flow a
> parameter to create ro boot and rootfs.
>
> I would like to read this parameter at boot and depend on this choose
> which OS will load. How could I define this at boot (eg. from cmdline.txt
> or with a shell script or load c code ..?). What is the best idea/ way to
> do that within Yocto?
>
>
> Thanks in advance,
> Szabolcs
>
> --
> ___
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
>
>
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] Json-Glib failed to build during the building of Weston image

2019-07-04 Thread Onur Eser
Hello Yocto Community!
When I was trying to build core-image-weston with meta-qt5 and meta-fsl-arm
layer for my imx6 (Humming Board 2 - Armv7) board, it gave an error on
compilation of the "jason-glib". I would suprised if my image was builded
without errors. I never could have finished a Yocto or Qt-cross building in
my life...

So, my error log is,

Got pkgconfig variable girdir :
Program g-ir-scanner found: YES
(/home/closx/poky/build/tmp-glibc/work/cortexa9hf-neon-oe-linux-gnueabi/json-glib/1.4.2-r0/recipe-sysroot-native/usr/bin/g-ir-scanner)
Adding test "array".
Adding test "boxed".
Adding test "builder".
Adding test "generator".
Adding test "gvariant".
Adding test "invalid".
Adding test "node".
Adding test "object".
Adding test "parser".
Adding test "path".
Adding test "reader".
Adding test "serialize-simple".
Adding test "serialize-complex".
Adding test "serialize-full".
ERROR: meson failed
WARNING: exit code 1 from a shell command.
ERROR: Function failed: do_configure (log file is located at
/home/closx/poky/build/tmp-glibc/work/cortexa9hf-neon-oe-linux-gnueabi/json-glib/1.4.2-r0/temp/log.do_configure.1)

Thanks,
Have a good day!
Onur
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] Anyone built Yocto with Qt5 layer for imx6?

2019-07-04 Thread Zoran Stojsavljevic
https://developer.toradex.com/knowledge-base/board-support-package/openembedded-(core)#Adding_the_Qt5_Layer

Zoran
___


On Thu, Jul 4, 2019 at 2:53 AM Gaurav Kalra  wrote:
>
> >
> > Date: Tue, 2 Jul 2019 17:48:23 +0300
> > From: Onur Eser 
> > To: yocto@yoctoproject.org
> > Subject: [yocto] Anyone built Yocto with Qt5 layer for imx6?
> > Message-ID:
> > 
> > Content-Type: text/plain; charset="utf-8"
> >
> > Hello, Yocto Community!
> > Trying to build Yocto with Qt5 layer for Humming Board 2. But I had almost
> > a billion of errors and I am so bored. Does anyone had it built? Can you
> > guys share some steps or configurations with me?
>
> If I am not mistaken, boot2qt has support for imx6.
> Have a look here:
> https://codereview.qt-project.org/gitweb?p=yocto/meta-boot2qt.git;a=blob;f=b2qt-init-build-env;h=bec9db92b8b06e01afcea7a75d204382c6f81742;hb=refs/heads/thud
>
> >
> > Thanks!
> > Onur
> --
> ___
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] Json-Glib failed to build during the building of Weston image

2019-07-04 Thread Zoran Stojsavljevic
Hello Onur,

Why Weston protocol? Why not classical X11 Client Server in user
space? Which DeskTop are U using in Ur YOCTO build?

Thank you,
Zoran
___



On Thu, Jul 4, 2019 at 10:46 AM Onur Eser  wrote:
>
> Hello Yocto Community!
> When I was trying to build core-image-weston with meta-qt5 and meta-fsl-arm 
> layer for my imx6 (Humming Board 2 - Armv7) board, it gave an error on 
> compilation of the "jason-glib". I would suprised if my image was builded 
> without errors. I never could have finished a Yocto or Qt-cross building in 
> my life...
>
> So, my error log is,
>
> Got pkgconfig variable girdir :
> Program g-ir-scanner found: YES 
> (/home/closx/poky/build/tmp-glibc/work/cortexa9hf-neon-oe-linux-gnueabi/json-glib/1.4.2-r0/recipe-sysroot-native/usr/bin/g-ir-scanner)
> Adding test "array".
> Adding test "boxed".
> Adding test "builder".
> Adding test "generator".
> Adding test "gvariant".
> Adding test "invalid".
> Adding test "node".
> Adding test "object".
> Adding test "parser".
> Adding test "path".
> Adding test "reader".
> Adding test "serialize-simple".
> Adding test "serialize-complex".
> Adding test "serialize-full".
> ERROR: meson failed
> WARNING: exit code 1 from a shell command.
> ERROR: Function failed: do_configure (log file is located at 
> /home/closx/poky/build/tmp-glibc/work/cortexa9hf-neon-oe-linux-gnueabi/json-glib/1.4.2-r0/temp/log.do_configure.1)
>
> Thanks,
> Have a good day!
> Onur
> --
> ___
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] Json-Glib failed to build during the building of Weston image

2019-07-04 Thread Onur Eser
Hello Zoran,
Using weston just for testing GPU acceleration. Then will be converted to
X11.
SYS info:
closx@closx-pc:~$ uname -a
Linux closx-pc 4.15.0-54-generic #58~16.04.1-Ubuntu SMP Mon Jun 24 13:21:41
UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

Onur

Zoran Stojsavljevic , 4 Tem 2019 Per, 12:43
tarihinde şunu yazdı:

> Hello Onur,
>
> Why Weston protocol? Why not classical X11 Client Server in user
> space? Which DeskTop are U using in Ur YOCTO build?
>
> Thank you,
> Zoran
> ___
>
>
>
> On Thu, Jul 4, 2019 at 10:46 AM Onur Eser  wrote:
> >
> > Hello Yocto Community!
> > When I was trying to build core-image-weston with meta-qt5 and
> meta-fsl-arm layer for my imx6 (Humming Board 2 - Armv7) board, it gave an
> error on compilation of the "jason-glib". I would suprised if my image was
> builded without errors. I never could have finished a Yocto or Qt-cross
> building in my life...
> >
> > So, my error log is,
> >
> > Got pkgconfig variable girdir :
> > Program g-ir-scanner found: YES
> (/home/closx/poky/build/tmp-glibc/work/cortexa9hf-neon-oe-linux-gnueabi/json-glib/1.4.2-r0/recipe-sysroot-native/usr/bin/g-ir-scanner)
> > Adding test "array".
> > Adding test "boxed".
> > Adding test "builder".
> > Adding test "generator".
> > Adding test "gvariant".
> > Adding test "invalid".
> > Adding test "node".
> > Adding test "object".
> > Adding test "parser".
> > Adding test "path".
> > Adding test "reader".
> > Adding test "serialize-simple".
> > Adding test "serialize-complex".
> > Adding test "serialize-full".
> > ERROR: meson failed
> > WARNING: exit code 1 from a shell command.
> > ERROR: Function failed: do_configure (log file is located at
> /home/closx/poky/build/tmp-glibc/work/cortexa9hf-neon-oe-linux-gnueabi/json-glib/1.4.2-r0/temp/log.do_configure.1)
> >
> > Thanks,
> > Have a good day!
> > Onur
> > --
> > ___
> > yocto mailing list
> > yocto@yoctoproject.org
> > https://lists.yoctoproject.org/listinfo/yocto
>
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] Json-Glib failed to build during the building of Weston image

2019-07-04 Thread Zoran Stojsavljevic
> closx@closx-pc:~$ uname -a
> Linux closx-pc 4.15.0-54-generic #58~16.04.1-Ubuntu SMP Mon Jun 24 13:21:41 
> UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

This has nuthin' to do with target platform IMX6. Has everything to do
with Ur host building machine, where you cross-compile Ur target YOCTO
build. It says to me that you are on x86_64 platform (INTEL 64 host
architecture) using Ubuntu 16.4.1 distro with the kernel version
4.15.0-54-generic, and the update you did (sudo apt-get update) was
not later than latest introduction of presented kernel successor in
Ubuntu updater mirror databases.

U need to sit and really concentrate (probably to spend some time to
learn quite of useful things).

Good Luck,
Zoran
___

On Thu, Jul 4, 2019 at 11:53 AM Onur Eser  wrote:
>
> Hello Zoran,
> Using weston just for testing GPU acceleration. Then will be converted to X11.
> SYS info:
> closx@closx-pc:~$ uname -a
> Linux closx-pc 4.15.0-54-generic #58~16.04.1-Ubuntu SMP Mon Jun 24 13:21:41 
> UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
>
> Onur
>
> Zoran Stojsavljevic , 4 Tem 2019 Per, 12:43 
> tarihinde şunu yazdı:
>>
>> Hello Onur,
>>
>> Why Weston protocol? Why not classical X11 Client Server in user
>> space? Which DeskTop are U using in Ur YOCTO build?
>>
>> Thank you,
>> Zoran
>> ___
>>
>>
>>
>> On Thu, Jul 4, 2019 at 10:46 AM Onur Eser  wrote:
>> >
>> > Hello Yocto Community!
>> > When I was trying to build core-image-weston with meta-qt5 and 
>> > meta-fsl-arm layer for my imx6 (Humming Board 2 - Armv7) board, it gave an 
>> > error on compilation of the "jason-glib". I would suprised if my image was 
>> > builded without errors. I never could have finished a Yocto or Qt-cross 
>> > building in my life...
>> >
>> > So, my error log is,
>> >
>> > Got pkgconfig variable girdir :
>> > Program g-ir-scanner found: YES 
>> > (/home/closx/poky/build/tmp-glibc/work/cortexa9hf-neon-oe-linux-gnueabi/json-glib/1.4.2-r0/recipe-sysroot-native/usr/bin/g-ir-scanner)
>> > Adding test "array".
>> > Adding test "boxed".
>> > Adding test "builder".
>> > Adding test "generator".
>> > Adding test "gvariant".
>> > Adding test "invalid".
>> > Adding test "node".
>> > Adding test "object".
>> > Adding test "parser".
>> > Adding test "path".
>> > Adding test "reader".
>> > Adding test "serialize-simple".
>> > Adding test "serialize-complex".
>> > Adding test "serialize-full".
>> > ERROR: meson failed
>> > WARNING: exit code 1 from a shell command.
>> > ERROR: Function failed: do_configure (log file is located at 
>> > /home/closx/poky/build/tmp-glibc/work/cortexa9hf-neon-oe-linux-gnueabi/json-glib/1.4.2-r0/temp/log.do_configure.1)
>> >
>> > Thanks,
>> > Have a good day!
>> > Onur
>> > --
>> > ___
>> > yocto mailing list
>> > yocto@yoctoproject.org
>> > https://lists.yoctoproject.org/listinfo/yocto
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] Json-Glib failed to build during the building of Weston image

2019-07-04 Thread Burton, Ross
On Thu, 4 Jul 2019 at 09:46, Onur Eser  wrote:
> Hello Yocto Community!
> When I was trying to build core-image-weston with meta-qt5 and meta-fsl-arm 
> layer for my imx6 (Humming Board 2 - Armv7) board, it gave an error on 
> compilation of the "jason-glib". I would suprised if my image was builded 
> without errors. I never could have finished a Yocto or Qt-cross building in 
> my life...
>
> So, my error log is,
>
> Got pkgconfig variable girdir :
> Program g-ir-scanner found: YES 
> (/home/closx/poky/build/tmp-glibc/work/cortexa9hf-neon-oe-linux-gnueabi/json-glib/1.4.2-r0/recipe-sysroot-native/usr/bin/g-ir-scanner)
> Adding test "array".
> Adding test "boxed".
> Adding test "builder".
> Adding test "generator".
> Adding test "gvariant".
> Adding test "invalid".
> Adding test "node".
> Adding test "object".
> Adding test "parser".
> Adding test "path".
> Adding test "reader".
> Adding test "serialize-simple".
> Adding test "serialize-complex".
> Adding test "serialize-full".
> ERROR: meson failed
> WARNING: exit code 1 from a shell command.
> ERROR: Function failed: do_configure (log file is located at 
> /home/closx/poky/build/tmp-glibc/work/cortexa9hf-neon-oe-linux-gnueabi/json-glib/1.4.2-r0/temp/log.do_configure.1)

Can you share the full log.do_configure?

Ross
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] Json-Glib failed to build during the building of Weston image

2019-07-04 Thread Burton, Ross
On Thu, 4 Jul 2019 at 10:43, Zoran Stojsavljevic
 wrote:
> Why Weston protocol? Why not classical X11 Client Server in user
> space? Which DeskTop are U using in Ur YOCTO build?

Weston is arguably superior to X11 in most respects, and for new
platforms which are not tied to a classic X server I entirely
recommend Weston over X.

Ross
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] Json-Glib failed to build during the building of Weston image

2019-07-04 Thread Onur Eser
Well, changed my configuration a little bit. Now, compiling again for a core 
weston image. I will let you know if anything goes wrong again. And thank you 
for giving me information about my host system, Zoran.
Onur



Kimden: Burton, Ross 
Gönderme tarihi: Perşembe, Temmuz 4, 2019 1:16 ÖS
Kime: Zoran Stojsavljevic
Bilgi: Onur Eser; Yocto Project
Konu: Re: [yocto] Json-Glib failed to build during the building of Weston image

On Thu, 4 Jul 2019 at 10:43, Zoran Stojsavljevic
 wrote:
> Why Weston protocol? Why not classical X11 Client Server in user
> space? Which DeskTop are U using in Ur YOCTO build?

Weston is arguably superior to X11 in most respects, and for new
platforms which are not tied to a classic X server I entirely
recommend Weston over X.

Ross
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] Poky build errors, help is needed

2019-07-04 Thread Burton, Ross
On Wed, 3 Jul 2019 at 20:54, Chad Gong  wrote:
> I opened the log.do_fetch file, and it looks like a file 
> git2_github.com.thkukuk.libnsl.tar.gz was downloaded from the mirror site 
> http://downloads.yoctoproject.org/mirror/sources/git2_github.com.thkukuk.libnsl.tar.gz
>  .Then an error happened with tar, as shown below:
>
> tar -xzf 
> /home/chad/mybuild-coreimageminimal-270-2/downloads/git2_github.com.thkukuk.libnsl.tar.gz
>  failed with exit code 2, output:
>
> gzip: stdin: not in gzip format
> tar: Child returned status 1
> tar: Error is not recoverable: exiting now

$ wget 
http://downloads.yoctoproject.org/mirror/sources/git2_github.com.thkukuk.libnsl.tar.gz
...
$ file git2_github.com.thkukuk.libnsl.tar.gz
git2_github.com.thkukuk.libnsl.tar.gz: gzip compressed data, last
modified: Tue Jul 31 07:59:20 2018, from Unix
$ tar ztvf git2_github.com.thkukuk.libnsl.tar.gz
drwxr-xr-x pokybuild/users   0 2018-07-31 08:46 ./
-rw-r--r-- pokybuild/users 955 2018-07-31 08:46 ./packed-refs
drwxr-xr-x pokybuild/users   0 2018-07-31 08:46 ./objects/

Can you see what happened to your local file?  Still looks like you've
got network issues.

Oh, and you can share DL_DIR between builds, so I'd move it out of
your build directory.

Ross
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] yocto dev day ELCE 2019 Lyon ?

2019-07-04 Thread Peter Kjellerstedt
> -Original Message-
> From: yocto-boun...@yoctoproject.org 
> On Behalf Of Nicolas Dechesne
> Sent: den 4 juli 2019 08:45
> To: Thomas Roos ; Volosincu, Andreea S
> 
> Cc: Yocto list discussion 
> Subject: Re: [yocto] yocto dev day ELCE 2019 Lyon ?
> 
> Hi Thomas,
> 
> On Thu, Jul 4, 2019 at 8:18 AM Thomas Roos 
> wrote:
> >
> > Hi,
> > are there any plans to organize a yocto dev day in October 2019,
> > Lyon. Embedded Linux Conference Europe?
> > cheers, Thomas
> 
> Yes, in fact we are trying something new for the first time at ELC-E
> this year, see:
> https://lists.yoctoproject.org/pipermail/yocto/2019-May/045088.html
> 
> There will be a 2-day "Yocto Project Summit" with a mix of
> presentations/talks, training classes and developers meetings,
> including a social event in the evening.
> 
> cc'ing Andreea if there are more questions.

Will this replace OEDEM too?

//Peter

-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] Failing to build initramfs ramdisk

2019-07-04 Thread JH
Hi,

I tried to build initramfs ramdisk on imx6, I added following
statements in local.conf

UBOOT_CONFIG = "emmc"
INITRAMFS_IMAGE_BUNDLE = "1"

The build failed at last stage of do_image_wic, the error is "No such
file or directory u-boot.imx", what I could be missing?

Thank you.

- jh
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] Json-Glib failed to build during the building of Weston image

2019-07-04 Thread Zoran Stojsavljevic
> And thank you for giving me information about my host system, Zoran.

Not a problem. Please, concentrate on your real/true (target) problem,
so we here can help you in different ways (every one has different
experiences, which I found very positive).

Thank you,
Zoran
___

On Thu, Jul 4, 2019 at 12:21 PM Onur Eser  wrote:
>
> Well, changed my configuration a little bit. Now, compiling again for a core 
> weston image. I will let you know if anything goes wrong again. And thank you 
> for giving me information about my host system, Zoran.
> Onur
>
>
> 
> Kimden: Burton, Ross 
> Gönderme tarihi: Perşembe, Temmuz 4, 2019 1:16 ÖS
> Kime: Zoran Stojsavljevic
> Bilgi: Onur Eser; Yocto Project
> Konu: Re: [yocto] Json-Glib failed to build during the building of Weston 
> image
>
> On Thu, 4 Jul 2019 at 10:43, Zoran Stojsavljevic
>  wrote:
> > Why Weston protocol? Why not classical X11 Client Server in user
> > space? Which DeskTop are U using in Ur YOCTO build?
>
> Weston is arguably superior to X11 in most respects, and for new
> platforms which are not tied to a classic X server I entirely
> recommend Weston over X.
>
> Ross
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] Json-Glib failed to build during the building of Weston image

2019-07-04 Thread Zoran Stojsavljevic
> Weston is arguably superior to X11 in most respects, and for new
> platforms which are not tied to a classic X server I entirely
> recommend Weston over X.

Never opposed that. The idea was to (as first step) do the easier and
much better documented part (X11 build), and then do the next harder
and more challenging step, Weston protocol.

But this is only me and my thinking. ;-)

Zoran
___

On Thu, Jul 4, 2019 at 12:16 PM Burton, Ross  wrote:
>
> On Thu, 4 Jul 2019 at 10:43, Zoran Stojsavljevic
>  wrote:
> > Why Weston protocol? Why not classical X11 Client Server in user
> > space? Which DeskTop are U using in Ur YOCTO build?
>
> Weston is arguably superior to X11 in most respects, and for new
> platforms which are not tied to a classic X server I entirely
> recommend Weston over X.
>
> Ross
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] Json-Glib failed to build during the building of Weston image

2019-07-04 Thread Zoran Stojsavljevic
Thank you for letting me and us know. The good stuff is the following:
if you attach yours fixed local.conf as the reference to all of us:
[1] As referent model;
[2] As something very valuable we also learned from you (not a joke,
believe me)!

Thank you,
Zoran
___

On Thu, Jul 4, 2019 at 2:38 PM Onur Eser  wrote:
>
> Thanks everyone, the problem was a line missing in my local.conf file. Now 
> understand what is wrong. My image is booting! Thanks again, have a good dai!
>
> Zoran Stojsavljevic , 4 Tem 2019 Per, 15:22 
> tarihinde şunu yazdı:
>>
>> > Weston is arguably superior to X11 in most respects, and for new
>> > platforms which are not tied to a classic X server I entirely
>> > recommend Weston over X.
>>
>> Never opposed that. The idea was to (as first step) do the easier and
>> much better documented part (X11 build), and then do the next harder
>> and more challenging step, Weston protocol.
>>
>> But this is only me and my thinking. ;-)
>>
>> Zoran
>> ___
>>
>> On Thu, Jul 4, 2019 at 12:16 PM Burton, Ross  wrote:
>> >
>> > On Thu, 4 Jul 2019 at 10:43, Zoran Stojsavljevic
>> >  wrote:
>> > > Why Weston protocol? Why not classical X11 Client Server in user
>> > > space? Which DeskTop are U using in Ur YOCTO build?
>> >
>> > Weston is arguably superior to X11 in most respects, and for new
>> > platforms which are not tied to a classic X server I entirely
>> > recommend Weston over X.
>> >
>> > Ross
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] Json-Glib failed to build during the building of Weston image

2019-07-04 Thread Onur Eser
Zoran, I have just notice that I sent the guide to you specially :D Now
sending it again including Yocto Mailing List too. It is good to contact
with you! Thanks!

HUMMING BOARD 2 (or humming board edge) i.MX6 Yocto meta-qt5 configuration

sources, (all of em with sumo branches)
git://git.yoctoproject.org/poky
https://github.com/Freescale/meta-freescale.git
https://github.com/meta-qt5/meta-qt5.git
https://github.com/openembedded/meta-openembedded.git
https://github.com/SolidRun/meta-solidrun-bsp.git

my configration files,


BBLAYERS.CONF

# POKY_BBLAYERS_CONF_VERSION is increased each time build/conf/bblayers.conf
# changes incompatibly
POKY_BBLAYERS_CONF_VERSION = "2"

BBPATH = "${TOPDIR}"
BBFILES ?= ""

BBLAYERS ?= " \
  /home/closx/poky/meta \
  /home/closx/poky/meta-poky \
  /home/closx/poky/meta-yocto-bsp \
  /home/closx/poky/meta-solidrun-bsp \
  /home/closx/poky/meta-freescale \
  /home/closx/poky/meta-qt5 \
  /home/closx/poky/meta-openembedded/meta-oe \
  "


LOCAL.CONF


MACHINE ??= "solidrun-imx6"
DISTRO ?= "poky"
PACKAGE_CLASSES ?= "package_rpm"
EXTRA_IMAGE_FEATURES ?= "debug-tweaks package-management"
USER_CLASSES ?= "buildstats image-mklibs image-prelink"
PATCHRESOLVE = "noop"
BB_DISKMON_DIRS ??= "\
STOPTASKS,${TMPDIR},1G,100K \
STOPTASKS,${DL_DIR},1G,100K \
STOPTASKS,${SSTATE_DIR},1G,100K \
STOPTASKS,/tmp,100M,100K \
ABORT,${TMPDIR},100M,1K \
ABORT,${DL_DIR},100M,1K \
ABORT,${SSTATE_DIR},100M,1K \
ABORT,/tmp,10M,1K"
PACKAGECONFIG_append_pn-qemu-native = " sdl"
PACKAGECONFIG_append_pn-nativesdk-qemu = " sdl"
CONF_VERSION = "1"
ACCEPT_FSL_EULA = "1"
LICENSE_FLAGS_WHITELIST = "commercial"
DISTRO_FEATURES_remove = "x11"
IMAGE_INSTALL_append += " qtbase"
IMAGE_INSTALL_append += " qtquickcontrols"
IMAGE_INSTALL_append += " qtquickcontrols2"
IMAGE_INSTALL_append += " qtserialport"
IMAGE_INSTALL_append += " qtmultimedia"
IMAGE_INSTALL_append += " qtserialport"
IMAGE_INSTALL_append += " qtwayland"
IMAGE_INSTALL_append += " qtserialbus"
IMAGE_INSTALL_append += " qtdeclarative"
IMAGE_INSTALL_append += " cinematicexperience"

PARALLEL_MAKE ?= "-j 6"
BB_NUMBER_THREADS ?= "6"
DL_DIR ?= "${TOPDIR}/downloads"
INHERIT += "rm_work"


IMPORTANT NOTE: If reader (you) don't know what you are doing, you should
change these lines (in local.conf) depending on how many threads can your
computer run!!!
PARALLEL_MAKE ?= "-j 6"
BB_NUMBER_THREADS ?= "6"

You can contact with me: onurese...@gmail.com
Cheers,
Onur

Zoran Stojsavljevic , 4 Tem 2019 Per, 15:43
tarihinde şunu yazdı:

> Thank you for letting me and us know. The good stuff is the following:
> if you attach yours fixed local.conf as the reference to all of us:
> [1] As referent model;
> [2] As something very valuable we also learned from you (not a joke,
> believe me)!
>
> Thank you,
> Zoran
> ___
>
> On Thu, Jul 4, 2019 at 2:38 PM Onur Eser  wrote:
> >
> > Thanks everyone, the problem was a line missing in my local.conf file.
> Now understand what is wrong. My image is booting! Thanks again, have a
> good dai!
> >
> > Zoran Stojsavljevic , 4 Tem 2019 Per,
> 15:22 tarihinde şunu yazdı:
> >>
> >> > Weston is arguably superior to X11 in most respects, and for new
> >> > platforms which are not tied to a classic X server I entirely
> >> > recommend Weston over X.
> >>
> >> Never opposed that. The idea was to (as first step) do the easier and
> >> much better documented part (X11 build), and then do the next harder
> >> and more challenging step, Weston protocol.
> >>
> >> But this is only me and my thinking. ;-)
> >>
> >> Zoran
> >> ___
> >>
> >> On Thu, Jul 4, 2019 at 12:16 PM Burton, Ross 
> wrote:
> >> >
> >> > On Thu, 4 Jul 2019 at 10:43, Zoran Stojsavljevic
> >> >  wrote:
> >> > > Why Weston protocol? Why not classical X11 Client Server in user
> >> > > space? Which DeskTop are U using in Ur YOCTO build?
> >> >
> >> > Weston is arguably superior to X11 in most respects, and for new
> >> > platforms which are not tied to a classic X server I entirely
> >> > recommend Weston over X.
> >> >
> >> > Ross
>
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] Failing to build initramfs ramdisk

2019-07-04 Thread JH
Thanks, resolved.

Kind regards,

- jh

On 7/4/19, JH  wrote:
> Hi,
>
> I tried to build initramfs ramdisk on imx6, I added following
> statements in local.conf
>
> UBOOT_CONFIG = "emmc"
> INITRAMFS_IMAGE_BUNDLE = "1"
>
> The build failed at last stage of do_image_wic, the error is "No such
> file or directory u-boot.imx", what I could be missing?
>
> Thank you.
>
> - jh
>
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto