Re: [yocto] [PATCH] [yocto-ab-helper] utils.py: Resolved unicode data expansion

2018-07-04 Thread Chan, Aaron Chun Yew
Hi Richard, This is what I did on which you asked me to do ~/yocto-autobuilder-helper/janitor/clobberdir 1. Change to use python3 #!/usr/bin/env/python2 to #!/usr/bin/env/python3 Retain and add print to debug message trashdir = ourconfig["TRASH_DIR"] print(trashdir)

[yocto] [PATCH] [yocto-ab-helper] clobberdir: Fix Unicode data expansion with utils API

2018-07-04 Thread Aaron Chan
This fix is to move clobberdir from python2 to python3 to resolve unicode data in python2 and change the data extraction expansion from ourconfig["TRASH_DIR"] to utils.getconfig("TRASH_DIR", ourconfig) on "Clobber build dir" BuildStep Signed-off-by: Aaron Chan --- janitor/clobberdir | 2 +- 1

Re: [yocto] struggling with initramfs

2018-07-04 Thread Ferry Toth
Tim Hammer wrote: > Can anyone point me to a step-by-step tutorial or simple how-to on > creating and using an initramfs with my kernel for ARM aarch64? > > > I have tried creating my own: > - boot-image.bb file with IMAGE_FSTYPES = "cpio.gz". > - local.conf has INITRAMFS_IMAGE_BUNDLE = "1" >

[yocto] Install and autoload all modules

2018-07-04 Thread Bartłomiej Osiński
Dear All, I'm a little bit confused about assinging "kernel-modules" to MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS (or its variations). It should install all modules, but would it include modules declared by separate recipes (i.e. in contrary to modules build by =m setting in .config)? Also, how

Re: [yocto] [meta-raspberrypi] Waveshare touchscreen

2018-07-04 Thread Trevor Woerner
On Tue, Jul 3, 2018 at 4:40 AM, Michele Tirinzoni wrote: > Anyway, the config.txt is just enough to be able to use the screen with > touch functionality ? No need to have any driver installed ? > These panels have two cables that must be connected to the board: HDMI and USB. The HDMI handles

[yocto] sstate error

2018-07-04 Thread Mirza Krak
Hi. I ran in to a sstate error. This appeared after a sudden power cut during build. Something sstate.bbclass should be able to recover from? As it is now I have to clear out my sstate to be able to build. This is on rocko branch. Log posted below. $ bitbake core-image-minimal Loading cache:

Re: [yocto] [layerindex-web][PATCH 5/7] update: ignore recommends when ordering layers

2018-07-04 Thread Robert Yang
Hi Paul, I'm sorry to say that I met layerindex' loaddata problems yesterday and today, I still didn't find the root cause. Have you tried dumpdata and loaddata recently, please ? What I did was: $ python3 manage.py dumpdata --settings settings --exclude=contenttypes --exclude=auth.Permission

Re: [yocto] [PATCH] [yocto-ab-helper] utils.py: Resolved unicode data expansion

2018-07-04 Thread Richard Purdie
Hi Aaron, On Wed, 2018-07-04 at 06:42 +, Chan, Aaron Chun Yew wrote: > This morning I had the new autobuilder setup from scratch with the > latest patch you just check out, thanks for that and rollout the fix > below manually. Everything else is clean and I did what you asked me > to. >

Re: [yocto] [PATCH] [yocto-ab-helper] utils.py: Resolved unicode data expansion

2018-07-04 Thread Chan, Aaron Chun Yew
Hello Richard, This morning I had the new autobuilder setup from scratch with the latest patch you just check out, thanks for that and rollout the fix below manually. Everything else is clean and I did what you asked me to. However this did not resolved the data expansion when called

[yocto] How to remove a package from a build

2018-07-04 Thread Raymond Yeung
We've our own non-yocto openssl that we want to use. At the moment, we're using "sato" image, rather than "minimal" and includes its openssl that is out-of-date. What is the best way to exclude it from our image (and from sysroots)? We have thought about two ideas - 1. Use smaller

[yocto] [PATCH] [yocto-ab-helper] utils.py: Resolved unicode data expansion

2018-07-04 Thread Aaron Chan
Patch fix on utils:getconfig:expandresult function to handle the expansion This patch is to add a condition to handle unicode entries as dict & list have been handled during expandresult. janitor/clobberdir: [line 46]: changes from : trashdir = ourconfig["TRASH_DIR"] to : trashdir =