Re: [yocto] Help with cleaning/rebuidling

2019-02-01 Thread Edward Wingate
will build properly. > Regards, > > On Mon, Jan 28, 2019 at 6:19 PM Edward Wingate > wrote: > >> The first time I did a build, my mosquitto recipe worked. Then I did >> a 'bitbake -ccleanall mosquitto', and now when I do 'bitbake >> mosquitto', I get this err

Re: [yocto] [EXTERNAL] SRC URI checksums

2019-01-28 Thread Edward Wingate
Thank you. I must have based the recipe on one that downloaded a tarball, and didn't notice until now the checksums never had to be changed. On Mon, Jan 28, 2019 at 11:25 AM Burton, Ross wrote: > > On Mon, 28 Jan 2019 at 19:23, Lukasz Zemla wrote: > > Checksums were introduced to ensure data

[yocto] SRC URI checksums

2019-01-28 Thread Edward Wingate
I have a recipe that has a SRC_URI retrieving from a mercurial repo: SRC_URI = "hg://server/project;module=name;rev=tip" SRC_URI[md5sum] = "xxx" SRC_URI[sha256sum] = "yyy" I changed the SRC_URL to retreive from a specific revision instead of tip: SRC_URI =

[yocto] Help with cleaning/rebuidling

2019-01-28 Thread Edward Wingate
The first time I did a build, my mosquitto recipe worked. Then I did a 'bitbake -ccleanall mosquitto', and now when I do 'bitbake mosquitto', I get this error: DEBUG: Executing python function sysroot_cleansstate DEBUG: Python function sysroot_cleansstate finished DEBUG: SITE files

[yocto] Duplicating a build configuration

2018-12-06 Thread Edward Wingate
I have configured Yocto to build a jethro distribution that I've been using for the past 3 years. I want to duplicate this configuration on another computer as a backup build machine. I could just copy over the poky directory and all my layers, but I think this would copy over unnecessary files

[yocto] fstab entry not mounting at boot-up

2018-01-05 Thread Edward Wingate
My system has a USB-SSD drive and I added this to my fstab: /dev/sda1 /mnt/driveauto defaults,nonempty 0 0 But it doesn't get mounted on start-up. I can use "mount -a" after start-up and it mounts successfully. Everything else in fstab gets mounted on boot. Does anyone know why my new

[yocto] Recipes/packages to use for X server and VNC

2017-03-03 Thread Edward Wingate
I don't have any video or display hardware on my system, but I want to install an X server and window manager in order to VNC in. Is this possible? Would using the matchbox-* recipes allow me to do this? Would I also need any x11 recipes? Thanks for any suggestions. --

Re: [yocto] How to handle meta-intel/openembedded repos with multiple developers

2016-10-27 Thread Edward Wingate
On Thu, Mar 3, 2016 at 8:27 AM, Mark Hatle wrote: > At some point during product development a lead/architect needs to make the > decision to 'freeze' development and at that point everything is > tagged/branched > and only backports are used from them on. (If the

Re: [yocto] Help with DISTRO settings

2016-07-25 Thread Edward Wingate
On Mon, Jul 25, 2016 at 1:27 AM, Nicolas Dechesne wrote: > hmm. you shouldn't set DISTRO in conf/layer.conf, that doesn't sound > right. DISTRO needs to be set in local.conf (or any of the other build > specific conf files). I agree, I don't know why I had it in

Re: [yocto] Help with DISTRO settings

2016-07-24 Thread Edward Wingate
On Sun, Jul 24, 2016 at 7:38 AM, Khem Raj <raj.k...@gmail.com> wrote: > On Sun, Jul 24, 2016 at 12:34 AM, Edward Wingate <edwinga...@gmail.com> wrote: >> Ah, I found it. I had inadvertently deleted one line >> (DISTRO="mydistro") from my layer's conf/layer.con

Re: [yocto] Help with DISTRO settings

2016-07-24 Thread Edward Wingate
ems redundant to put it in mydistro.conf as well. On Sun, Jul 24, 2016 at 12:04 AM, Edward Wingate <edwinga...@gmail.com> wrote: > On Sat, Jul 23, 2016 at 11:05 PM, Khem Raj <raj.k...@gmail.com> wrote: >> Move these DISTRO settings above require conf/distro/poky.conf > > That d

Re: [yocto] Help with DISTRO settings

2016-07-24 Thread Edward Wingate
On Sat, Jul 23, 2016 at 11:05 PM, Khem Raj wrote: > Move these DISTRO settings above require conf/distro/poky.conf That didn't change anything. And it had been working like that for a long time now. Just a few days ago, it stopped taking effect and reverting back to poky.

[yocto] Help with DISTRO settings

2016-07-23 Thread Edward Wingate
This is in my layer's conf/distro/mydistro.conf file: require conf/distro/poky.conf DISTRO = "mydistro" DISTRO_NAME = "MyDistro" These variables took effect before, but now bitbake is reverting back to DISTRO="poky" and DISTRO_NAME = "Poky (Yocto Project Reference Distro)" (used for

Re: [yocto] Python module from git repo recipe

2016-06-09 Thread Edward Wingate
>> On 9 June 2016 at 16:58, Edward Wingate <edwinga...@gmail.com> wrote: >>> >>> Does anyone have an example of a recipe that installs a python module >>> from a git repo? There is a python module that is not regularly >>> updated on PyPI, but its

[yocto] Python module from git repo recipe

2016-06-09 Thread Edward Wingate
Does anyone have an example of a recipe that installs a python module from a git repo? There is a python module that is not regularly updated on PyPI, but its git repo is up to date. All the examples of python module recipes I can find uses PyPI:

Re: [yocto] Per image customizations

2016-06-08 Thread Edward Wingate
On Wed, Jun 8, 2016 at 1:58 AM, Oleksandr Poznyak wrote: > Hi, Edward. > Your approach is valid. But RREPLACES is not enough. > > You should define that your package and original ones are conflicting and > that it provides the same as original one for other packages.

Re: [yocto] Per image customizations

2016-06-07 Thread Edward Wingate
On Tue, Jun 7, 2016 at 1:47 PM, Paul Eggleton wrote: > > So what this will give you is alternative packages to be installed instead of > sysvinit-inittab in your image. I was under the (mistaken) impression that my recipe will run in addition to, not instead of,

Re: [yocto] Per image customizations

2016-06-07 Thread Edward Wingate
On Tue, Jun 7, 2016 at 3:20 AM, Paul Eggleton wrote: > Let's clarify that for the benefit of others reading along - you absolutely > *can* have multiple bbappends per recipe. To answer the original question > though, no you cannot have bbappends conditionally

Re: [yocto] Per image customizations

2016-06-06 Thread Edward Wingate
On Mon, Jun 6, 2016 at 3:06 PM, Edward Wingate <edwinga...@gmail.com> wrote: > It seems I cannot just append to inittab using the echo statements > because /etc/inittab is not part of this recipe. Must I duplicate > inittab first in my imageX-inittab.bb recipes? I modified the rec

Re: [yocto] Per image customizations

2016-06-06 Thread Edward Wingate
On Mon, Jun 6, 2016 at 2:10 PM, Oleksandr Poznyak wrote: > Hi, > Unfortunately You can't have two *.bbappend files per one package (recipe). > > You can create two new recipes where You'll install what You need and plus > add sysvinit-inittab to DEPENDS variable in

Re: [yocto] Per image customizations

2016-06-06 Thread Edward Wingate
On Wed, Jun 1, 2016 at 7:15 PM, Diego wrote: > > Hi Oleksandr, > > your approach is really interesting, but I'm unsure how to proceed with > step 2) of your list. > > I've added the following in the bbappend: > > python do_package_prepend() { > d.setVar('PACKAGES',

[yocto] Help with mosquitto_1.3.4 recipe

2016-04-11 Thread Edward Wingate
The first time I used mosquitto_1.3.4.bb from meta-intel-iot-middleware a few months ago, it worked and I've been using it in my build since. Today, I created a new yocto build directory and having trouble getting mosquitto to build now. The directory

Re: [yocto] kernel defconfig configuration

2015-10-29 Thread Edward Wingate
On Thu, Oct 29, 2015 at 6:10 AM, Bruce Ashfield wrote: > That's the kernel's configuration subsystem at play, it still has to > process the the defconfig (which was placed as .config before starting > the kernel build). Invalid options are removed, others are

Re: [yocto] kernel defconfig configuration

2015-10-26 Thread Edward Wingate
On Mon, Oct 26, 2015 at 1:03 AM, Paul Eggleton wrote: > Kernel modules are packaged separately and typically not included in the image > by default; if you wish to include them you have two choices: > > 1) Install the kernel-module- package(s) individually for the >

Re: [yocto] kernel defconfig configuration

2015-10-25 Thread Edward Wingate
On Sat, Oct 24, 2015 at 1:43 PM, Edward Wingate <edwinga...@gmail.com> wrote: > I am using fido release and this is my > linux-wandboard_3.14.28.bbappend file, just 2 lines: > FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" > SRC_URI += "file://defconfig&qu

Re: [yocto] kernel defconfig configuration

2015-10-24 Thread Edward Wingate
onfig.old" mention on any "*.bb*" file for fido release of poky, but... > > I've used .bbappend for kernel recipes, selecting custom modules based on > MACHINE and they worked fine... Can you share poky release and the .bbapend > file? > > Cheers, > > 20

[yocto] kernel defconfig configuration

2015-10-19 Thread Edward Wingate
I created a linux-wandboard_3.14.28.bbappend that just specifies a new defconfig. I see my defconfig being used to generate a .config. But then something renames .config to .config.old and replaces it with another .config that no longer has the configurations I want. I can't find what is doing

[yocto] CONFIG_ENV_IS_IN_UBI not working nicely with CONFIG_SPI_FLASH_MTD

2015-09-25 Thread Edward Wingate
I have been using u-boot with CONFIG_SPI_FLASH_MTD. This has allowed me to use MTD/UBI/UBIFS with SPI flash. I now want to use CONFIG_ENV_IS_IN_UBI, but after enabling this, u-boot can't read the environment on start-up: === U-Boot 2015.07 (Sep 24 2015 - 17:10:41 -0700) Model: Zynq Zed

Re: [yocto] CONFIG_ENV_IS_IN_UBI not working nicely with CONFIG_SPI_FLASH_MTD

2015-09-25 Thread Edward Wingate
I'm sorry, I posted this to the wrong list. Meant to post to u-boot list. On Fri, Sep 25, 2015 at 10:12 AM, Edward Wingate <edwinga...@gmail.com> wrote: > I have been using u-boot with CONFIG_SPI_FLASH_MTD. This has allowed > me to use MTD/UBI/UBIFS with SPI flash. I now

[yocto] Create empty directory in RFS

2015-09-24 Thread Edward Wingate
How can I create an empty directory in my root FS? I want to create /mnt/sd to use as a mount point. I put "install -d ${D}/mnt/sd" in do_install() of one of my recipes, but I get: ERROR: QA Issue: my-recipe: Files/directories were installed but not shipped /mnt /mnt/sd

Re: [yocto] Limit RAM for Linux

2015-06-09 Thread Edward Wingate
Typo in last email, I used mem=256M, not mem=256MB On Tue, Jun 9, 2015 at 9:03 AM, Edward Wingate edwinga...@gmail.com wrote: Thanks, Nathan, for your help. It worked, with a little oddity I don't understand. In my uEnv.txt, I set both fdt_high and initrd_high to 0x1000 and fdt/initrd

[yocto] Limit RAM for Linux

2015-06-08 Thread Edward Wingate
I am using Yocto with meta-xilinx layer to create a distribution for a custom Zynq 7000 board with 512MB RAM. In my uEnv, I'm loading the kernel to 0x0010_, device tree to 0x0190_ and ramdisk image to 0x0210_. Later in the boot process, I see this: Loading Kernel Image ... OK

Re: [yocto] Web frameworks on embedded linux

2014-11-14 Thread Edward Wingate
On Fri, Nov 14, 2014 at 12:13 AM, Maciek Borzecki maciej.borze...@open-rnd.pl wrote: On czw, 2014-11-13 at 23:12 -0800, Edward Wingate wrote: I've been trying to get an existing python flask application running on an embedded linux distro (Poky). The web app was originally deployed

Re: [yocto] yocto Digest, Vol 50, Issue 54

2014-11-14 Thread Edward Wingate
On Fri, Nov 14, 2014 at 9:39 AM, yocto-requ...@yoctoproject.org wrote: From: Gary Thomas g...@mlbassoc.com On 2014-11-14 10:10, Edward Wingate wrote: The ramdisk image ballooned to 22MB though. It's expected, but due to flash size constraints, Python may not be an option in this case

Re: [yocto] Web frameworks on embedded linux

2014-11-14 Thread Edward Wingate
From: Gary Thomas g...@mlbassoc.com To: yocto@yoctoproject.org Date: Fri, 14 Nov 2014 12:04:23 -0700 On 2014-11-14 11:52, Edward Wingate wrote: On Fri, Nov 14, 2014 at 9:39 AM, yocto-requ...@yoctoproject.org mailto:yocto-requ...@yoctoproject.org wrote: From: Gary Thomas g

[yocto] Web frameworks on embedded linux

2014-11-13 Thread Edward Wingate
I've been trying to get an existing python flask application running on an embedded linux distro (Poky). The web app was originally deployed on a Debian distro. I need to move the application to a less heftier board and wanted to try a distro created by Yocto, rather than try to pare down