[yocto] nativesdk-expect configure error

2019-06-14 Thread Martin Townsend
Hi, I'm seeing the following do_configure error when building nativesdk-expect, this is in Rocko but the recipe doesn't look like it's changed much in master. checking for Tcl public headers... configure: error: tcl.h not found. Please specify its location with --with-tclinclude | NOTE: The foll

Re: [yocto] meta-mono: QA Error building mono-5.12.0.226

2018-11-23 Thread Martin Townsend
On Fri, Nov 23, 2018 at 10:45 AM Alex Lennon wrote: > > > > On 23/11/2018 08:55, Martin Townsend wrote: > > Hi Alex, > > On Thu, Nov 22, 2018 at 3:49 PM Alex J Lennon wrote: > >> > >> On 22/11/2018 15:46, Martin Townsend wrote: > >>>

Re: [yocto] meta-mono: QA Error building mono-5.12.0.226

2018-11-23 Thread Martin Townsend
Hi Alex, On Thu, Nov 22, 2018 at 3:49 PM Alex J Lennon wrote: > > > On 22/11/2018 15:46, Martin Townsend wrote: > > Hi, > > > > This one is probably for the meta-mono maintainer > > > > I was getting quite a few file-rdeps QA errors. > > I

[yocto] meta-mono: QA Error building mono-5.12.0.226

2018-11-22 Thread Martin Townsend
Hi, This one is probably for the meta-mono maintainer I was getting quite a few file-rdeps QA errors. I managed to get rid of them all except 1 using RDEPENDS_${PN}-libs-2.0 += "mono" RDEPENDS_${PN}-libs-3.5 += "mono" RDEPENDS_${PN}-libs-4.0 += "mono" RDEPENDS_${PN}-libs-4.5 += "mono" RDEPENDS_${

Re: [yocto] System recovery

2018-05-10 Thread Martin Townsend
gt; > system >> > from SD card. What i want to obtain is to replace the broken file system >> > that is located on the NAND with another one that works. A kind of >> > recovery >> > partition. is it possible from SD or should i create a recovery >> > partit

Re: [yocto] System recovery

2018-05-09 Thread Martin Townsend
ther one that works. A kind of recovery > partition. is it possible from SD or should i create a recovery partition > over the NAND? > > thanks > > Enrico > > 2018-05-09 11:25 GMT+02:00 Martin Townsend : >> >> Hi Enrico, >> >> UBI is only designed to work o

Re: [yocto] System recovery

2018-05-09 Thread Martin Townsend
Hi Enrico, UBI is only designed to work on raw NAND using the MTD subsystem. MMC will be a standard block device as the SD card will have Flash Translation layer. See the excellent MTD website for more info http://www.linux-mtd.infradead.org/doc/ubi.html In Yocto I believe you can use "sdcard" i

Re: [yocto] Can't compile out of tree kernel module when CONFIG_SYSTEM_TRUSTED_KEYRING is set in the kernel configuration

2018-05-02 Thread Martin Townsend
Hi Bruce, On Thu, May 3, 2018 at 3:27 AM, Bruce Ashfield wrote: > > > On Wed, May 2, 2018 at 5:05 PM, Martin Townsend > wrote: >> >> Hi, >> >> I get the following error when compiling a kernel module using the >> latest version of Rocko (The kernel

[yocto] Can't compile out of tree kernel module when CONFIG_SYSTEM_TRUSTED_KEYRING is set in the kernel configuration

2018-05-02 Thread Martin Townsend
Hi, I get the following error when compiling a kernel module using the latest version of Rocko (The kernel is not linux-yocto but NXP's freescale linux-imx, maybe this could be a factor) : ERROR: kernel-module-driver-0.1-r0 do_make_scripts: Function failed: do_make_scripts (log file is located at

[yocto] U-Boot networking broken in Rocko

2018-03-26 Thread Martin Townsend
Hi, I've discovered that U-Boot in Rocko for several builds that I maintain is broken when performing various network related operations like tftp, dhcp and ping. You get a data abort and it resets. I found that this has already been fixed in U-Boot with the commit below. I think it has somethin

[yocto] chrpath error: Building SDK fails after porting to Rocko

2018-03-26 Thread Martin Townsend
Hi, I've just ported my build to Rocko but I now can't build the SDK, the offending package is u-boot-tools which I have based on u-boot-mkimage (which also fails with the same error message). Does anyone have any idea on how to debug/fix this? Build Configuration: BB_VERSION = "1.36.0

Re: [yocto] image inheritance problem

2018-01-26 Thread Martin Townsend
On Fri, Jan 26, 2018 at 7:17 PM, Martin Townsend wrote: > Hi Khem, > > On Fri, Jan 26, 2018 at 6:57 PM, Khem Raj wrote: >> On 1/26/18 10:52 AM, Martin Townsend wrote: >>> Hi, >>> >>> I have an image say >>> >>> my-image-minimal.bb in

Re: [yocto] image inheritance problem

2018-01-26 Thread Martin Townsend
Hi Khem, On Fri, Jan 26, 2018 at 6:57 PM, Khem Raj wrote: > On 1/26/18 10:52 AM, Martin Townsend wrote: >> Hi, >> >> I have an image say >> >> my-image-minimal.bb in one layer and and append this >> (my-image-minimal.bbappend) in another layer. In

[yocto] image inheritance problem

2018-01-26 Thread Martin Townsend
Hi, I have an image say my-image-minimal.bb in one layer and and append this (my-image-minimal.bbappend) in another layer. In this append I'm adding IMAGE_INSTALL += "kernel-modules" for example. Now if I run bitbake my-image-minimal -e | grep ^IMAGE_INSTALL I see kernel-modules So bbappend is

Re: [yocto] Problem building kernel FIT image with initramfs

2017-07-18 Thread Martin Townsend
Sorry hit send before finishing email. So it looks like do_install and do_deploy are expecting fitImage-${INITRAMFS_IMAGE} so is this renaming required anymore? and if so is this a problem with the freescale kernel? Many Thanks, Martin. On Tue, Jul 18, 2017 at 1:58 PM, Martin Townsend wrote

[yocto] Problem building kernel FIT image with initramfs

2017-07-18 Thread Martin Townsend
Hi, Using Yocto 2.3 (pyro) I was trying to create a FIT image with the 4.9 linux-fslc kernel and an initramfs image. following the instructions it failed during do_bundle_initramfs. After debugging I found that it moves the fitImage file to fitImage.bak and then runs a second pass and renames th

[yocto] RNDIS Broken in linux-yocto 4.1.39, working in 4.1.37

2017-06-28 Thread Martin Townsend
Hi, I recently upgraded to 4.1.39 linux-yocto and Ethernet Gadget stopped working with Windows hosts, here's the output from the Journal: Jun 22 20:31:37 varsomam43-bb5eda kernel: g_ether gadget: rndis reqa1.01 v i l4096 Jun 22 20:31:37 varsomam43-bb5eda kernel: g_ether gadget: rndis req2

[yocto] Systemd recipe breaks resolvconf

2017-03-04 Thread Martin Townsend
Hi, I've just tracked down a problem with resolvconf not working on my board and it was due to the systemd recipe creating the resolv.conf link and patching etc.conf. Here's the snippet (I've taken it from krogoth but it is still there in morty). if ! ${@bb.utils.contains('PACKAGECONFIG', 'resolv

Re: [yocto] SDK Problems for SuperH 4

2016-10-07 Thread Martin Townsend
On Fri, Oct 7, 2016 at 8:46 AM, Martin Townsend wrote: > On Fri, Oct 7, 2016 at 5:32 AM, Khem Raj wrote: >> >>> On Oct 6, 2016, at 12:09 PM, Martin Townsend >>> wrote: >>> >>> On Thu, Oct 6, 2016 at 7:57 PM, Martin Townsend >>> wrote

Re: [yocto] SDK Problems for SuperH 4

2016-10-07 Thread Martin Townsend
On Fri, Oct 7, 2016 at 5:32 AM, Khem Raj wrote: > >> On Oct 6, 2016, at 12:09 PM, Martin Townsend wrote: >> >> On Thu, Oct 6, 2016 at 7:57 PM, Martin Townsend >> wrote: >>> Hi, >>> >>> We have a poky sato distributions successfully built

Re: [yocto] SDK Problems for SuperH 4

2016-10-06 Thread Martin Townsend
On Thu, Oct 6, 2016 at 7:57 PM, Martin Townsend wrote: > Hi, > > We have a poky sato distributions successfully built and running for > our SuperH 4 processor board. The problem is the SDK that is built > when using -cpopulate_sdk doesn't. > > The simple Makefile:

[yocto] SDK Problems for SuperH 4

2016-10-06 Thread Martin Townsend
Hi, We have a poky sato distributions successfully built and running for our SuperH 4 processor board. The problem is the SDK that is built when using -cpopulate_sdk doesn't. The simple Makefile: hellomake: HelloWorld.c $(CC) -o HelloWorld HelloWorld.c -- ___

Re: [yocto] FrameBuffer support

2016-09-21 Thread Martin Townsend
Hi Jonathan, On Mon, Sep 19, 2016 at 11:01 AM, Jonathan Vervaeke wrote: > Hi, > > > > I'm trying to make framebuffers work on imx6(ul) using yocto. > > > > I suppose I need to make changes in the following: > > 1) Kernel modules > > 2) Device tree > > 3) U-Boot bootargs > > > > I've build my kern

[yocto] Multiple images/filesystems

2016-06-20 Thread Martin Townsend
Hi, I currently have a read only filesystem image. What I would like to do is have part of the filesystem read/write which is basically a particular user account, say /home/scratch To complicate things we have two flash devices, 1) eMMC with ext3 filesystem 2) NAND with ubifs filesystem So I woul

[yocto] mount bind /var/lib and package management

2016-05-25 Thread Martin Townsend
Hi, When using a read only rootfs it mount --binds /var/lib into /var/volatile/lib which lives in tmpfs and makes sense. The problem is that I use dpkg but I'm assuming other package management tools use /var/lib as their admin dir. Wouldn't this break package updates as the dpkg database files

[yocto] systemd, dpkg and read-only-rootfs

2016-03-08 Thread Martin Townsend
Hi, I'm using the Jethro branch to build a system that uses dpkg for a package installer and systemd for the init manager. Recently I took the plunge and added read-only-rootfs and have found a few "features" that I thought I would share. 1) dpkg-configure service fails. This service looks like

Re: [yocto] ERROR: busybox-udhcpd not found in the base feeds

2016-02-11 Thread Martin Townsend
ing to stop people like me hitting this problem again One question that springs to mind is that if udhcpd is part of busybox by default how do you override this with another DHCP server? Which is something I may have to look into. Many Thanks, Martin. On Thu, Feb 11, 2016 at 5:57 PM, Martin To

[yocto] ERROR: busybox-udhcpd not found in the base feeds

2016-02-11 Thread Martin Townsend
Hi, I've just moved over to using systemd on a project but am seeing the error listed in the subject. I added the following to local.conf as there is no distribution config file. VIRTUAL-RUNTIME_init_manager = "systemd" DISTRO_FEATURES_append = " systemd" # Prevent the SysVinit distribution featu

[yocto] Toaster Problem

2015-12-08 Thread Martin Townsend
Hi, I'm trying out a production instance of toaster, I'm following the instructions from here http://www.yoctoproject.org/docs/latest/toaster-manual/toaster-manual.html#toaster-setting-up-a-production-instance-of-toaster I managed to get toaster up and running but had to adjust a few things whic

Re: [yocto] aclocal warnings

2015-11-19 Thread Martin Townsend
Hi, It's just a warning which I can suppress with export LANG=C, autotools is working fine with the SDK after a bit of tweaking in the ac and am files. Cheers, Martin. On Thu, Nov 19, 2015 at 7:03 AM, Khem Raj wrote: > On Wed, Nov 18, 2015 at 1:23 AM, Martin Townsend > wr

[yocto] aclocal

2015-11-18 Thread Martin Townsend
Hi, Just after sending the email I came across a posting on perl causing this error so it's not aclocal, ie running perl -e exit shows the warning, as per the post env LANG=C perl -e exit fixes things or export LANG=C after sourcing the environment works too. I don't know much about locales so

[yocto] aclocal warnings

2015-11-18 Thread Martin Townsend
Hi, I've created an autotools project to test out my SDK I've generated. The SDK was generated from a Yocto build system based the Fido branch. After souring the environment setup file in the SDK, running aclocal I get the following warnings perl: warning: Setting locale failed. perl: warning: Pl

Re: [yocto] SDK

2015-11-16 Thread Martin Townsend
ards, Martin. On Mon, Nov 16, 2015 at 6:25 PM, Bryan Evenson wrote: > Martin, > > > -Original Message- > > From: yocto-boun...@yoctoproject.org [mailto:yocto- > > boun...@yoctoproject.org] On Behalf Of Martin Townsend > > Sent: Saturday, November 14, 201

[yocto] SDK

2015-11-14 Thread Martin Townsend
Hi, I want to provide an SDK to the app developers that is a self contained installation. The ADT looked like just the thing except I don't want to have to setup an ADT Repo. I would like it to include: The cross development toolchain. The target sysroot to build against. I would like them to

Re: [yocto] binutils failing in FIDO branch

2015-11-10 Thread Martin Townsend
> > Cheers, > Paul > > On Tuesday 10 November 2015 11:17:31 Martin Townsend wrote: > > Hi Paul, > > > > meta/conf/distro/include/security_flags.inc is much better than a blanket > > change of compiler flags. Thanks for the tip. Are there any other

Re: [yocto] binutils failing in FIDO branch

2015-11-10 Thread Martin Townsend
gle...@linux.intel.com> wrote: > On Monday 09 November 2015 22:32:59 Martin Townsend wrote: > > My issue is particular to my distro, I tried changing to poky and all was > > well. The reason for our own distro was to migrate from Arago which we > > were using. So I copied Arago

Re: [yocto] binutils failing in FIDO branch

2015-11-09 Thread Martin Townsend
. Martin, can you provide any details on that > which > might help others to reproduce the issue? > > Cheers, > Paul > > On Monday 09 November 2015 12:15:40 Khem Raj wrote: > > No it should be well supported. So now I wonder why no one else sees it > > > > > On

Re: [yocto] binutils failing in FIDO branch

2015-11-09 Thread Martin Townsend
Hi, I'm running Ubuntu 14.04 LTS. Could this be the problem? Cheers, Martin. On Mon, Nov 9, 2015 at 5:56 PM, Khem Raj wrote: > On Mon, Nov 9, 2015 at 4:36 AM, Martin Townsend > wrote: > > Hi, > > > > binutils is failing to compile. I'm using tip of

[yocto] binutils failing in FIDO branch

2015-11-09 Thread Martin Townsend
Hi, binutils is failing to compile. I'm using tip of fido branch. Error message is: | /home/martint/yocto/build/am43-devboard-aquila/bia-tmp-glibc/work/cortexa9hf-vfp-neon-oe-linux-gnueabi/binutils/2.24-r0/binutils-2.24/libiberty/fibheap.c: In function 'fibheap_replace_key_data': | /home/martin

Re: [yocto] populate_sdk and debian packages problem

2015-11-07 Thread Martin Townsend
d.setVar('DPKG_ARCH', 'armel') Like I said I don't know if this is the correct way of doing it, this is my first time of delving into the depths of bitbake and Yocto :) If it is correct I don't mind submitting a patch if someone shows me how to do this. Chee

Re: [yocto] populate_sdk and debian packages problem

2015-11-03 Thread Martin Townsend
gt; Hi Martin, > > On Monday 02 November 2015 18:53:04 Martin Townsend wrote: > > I've just moved everything to fido and everything builds fine. One of > the > > reasons for moving to Fido was to use the built toolchain and create an > SDK > > using populate_sdk

[yocto] populate_sdk and debian packages problem

2015-11-02 Thread Martin Townsend
Hi, I've just moved everything to fido and everything builds fine. One of the reasons for moving to Fido was to use the built toolchain and create an SDK using populate_sdk but it is failing with the following message: ERROR: Unable to install packages. Command '/home/martin/ws_poweroasis/build/a

[yocto] populate_sdk and debian packages problem

2015-10-31 Thread Martin Townsend
Hi, I've just moved everything to fido and everything builds fine. One of the reasons for moving to Fido was to use the built toolchain and create an SDK using populate_sdk but it is failing with the following message: ERROR: Unable to install packages. Command '/home/martin/ws_poweroasis/build/a