[yocto] ksize.py not working?

2018-02-26 Thread Jerry Lian
I want to check/analyze kernel image size, and I found: * ksum.py works as expected! * however, ksize.py produces results of "all zeros". Anybody know the problem and how to fix it? Thanks! Jerry -- ___ yocto mailing list yocto@yoctoproject.org https:/

[yocto] Yocto for BeagleboneBlack: how to enable user-LEDs?

2018-01-22 Thread Jerry Lian
I build yocto image for BBB(Beaglebone Black) with default settings, then: bitbake core-image-sato * After I boot the image, all LEDs are off * And I check folder "/sys/class/", there is no sub-folder "leds" So how can I enable LEDs when building yocto image? should I change/add image any distribu

Re: [yocto] Editor (viewer) for device tree *.dts file? (I mean syntax highlighting)

2018-01-17 Thread Jerry Lian
Thanks Maciej, vim works well as expected! On Wed, Jan 17, 2018 at 10:46 AM, Maciej Pijanowski < maciej.pijanow...@3mdeb.com> wrote: > I'm just using vim for everything. It highlights dts syntax. > > On 17.01.2018 16:37, Jerry Lian wrote: > > Sorry that this questi

[yocto] Editor (viewer) for device tree *.dts file? (I mean syntax highlighting)

2018-01-17 Thread Jerry Lian
Sorry that this question is not related to Yocto, but just wondering if anybody knows: * are there editors/viewers (with syntax highlighting) for device tree *.dts file? Thanks, Jerry -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctop

[yocto] Yocto SDK: how to rebuild *.dtb? (fatal error: dt-bindings/gpio/gpio.h: No such file or directory)

2018-01-15 Thread Jerry Lian
I installed yocto SDK for my beaglebone black. But when I try to rebuild am335x-boneblack.dtb, I got error: "arch/arm/boot/dts/am33xx.dtsi:11:10: fatal error: dt-bindings/gpio/gpio.h: No such file or directory" Any hint? Thanks! Jerry -- ___ yocto mai

[yocto] Build error: "u-boot-imx_2017.03.bb:do_compile" failed ( freescale I.MX 6 on Ubuntu 16.04) ?

2017-12-06 Thread Jerry Lian
I got an error when trying to build for freescale I.MX6 on Ubuntu 16.04.(see below) (I just follow the guide from http://freescale.github.io) Anybody got hints? Thanks! Jerry === | tools/libfdt_wrap.c:147:21: fa

Re: [yocto] Yocto SDK: how to deploy application with step "make install" to target?

2017-12-04 Thread Jerry Lian
Thanks Philip! I will try "sshfs" later. Right now using copy (via scp) works fine for both "make install" and "make modules_install", and my application runs. On Sun, Dec 3, 2017 at 9:17 AM, Philip Balister wrote: > On 12/01/2017 10:15 AM, Jerry Lia

Re: [yocto] Yocto SDK: how to deploy application with step "make install" to target?

2017-12-01 Thread Jerry Lian
kage first, then copy to target and install. * right? * then how to make a package? * how do I know which are "relevant other files"? sorry for my newbie questions, thanks! On Fri, Dec 1, 2017 at 11:30 AM, Eric Schwarz wrote: > Am 01.12.2017 16:58, schrieb Jerry Lian: > > Tha

Re: [yocto] Yocto SDK: how to deploy application with step "make install" to target?

2017-12-01 Thread Jerry Lian
ile: bss_file.c:178 sign-file: certs/signing_key.pem: No such file or directory DEPMOD 4.10.0-28-generic make[1]: Leaving directory '/usr/src/linux-headers-4.10.0-28-generic' jerry@yct:~/ecat-33b922$ -------- ---

Re: [yocto] Yocto SDK: how to deploy application with step "make install" to target?

2017-12-01 Thread Jerry Lian
ustom install prefix directory to configure." --- how? Thanks! On Fri, Dec 1, 2017 at 9:34 AM, Eric Schwarz wrote: > Am 01.12.2017 15:16, schrieb Eric Schwarz: > > Hi Jerry, >> >> Am 01.12.2017 15:07, schrieb Jerry Lian: >> >> I am new to embedded linux

[yocto] Yocto SDK: how to deploy application with step "make install" to target?

2017-12-01 Thread Jerry Lian
I am new to embedded linux, and some concepts confuse me: * I have downloaded an Autotools-based application to run on my board. * If I boot the board with original image/original SDK, I normally build/install it with steps: - ./bootstrap - ./configure - make - make install * Now if

Re: [yocto] Concept clarification: can we deploy Yocto SDK to target?

2017-11-30 Thread Jerry Lian
017 10:35:32 AM NZDT Jerry Lian wrote: > > I am confused about the concept of Yocto SDK: > > * when we use "bitbake -c populate_sdk some_image", we obtain sysroots > for > > both target and host. > > * But why do we need sysroot for host? > > The host sysr

[yocto] Concept clarification: can we deploy Yocto SDK to target?

2017-11-29 Thread Jerry Lian
I am confused about the concept of Yocto SDK: * when we use "bitbake -c populate_sdk some_image", we obtain sysroots for both target and host. * But why do we need sysroot for host? * I know we can build application under target-sysroot (surely source the environment), with fast speed. * But can w

Re: [yocto] How to add support for "usb WIFI dongle"?

2017-11-29 Thread Jerry Lian
https://electronics.stackexchange.com/questions/ > 342118/design-decision-for-dynamic-firmware-loading > > > On Tue, Nov 28, 2017 at 4:00 PM, Jerry Lian wrote: > > Thanks Alan, I follow your instruction and it works eventually! > > > > But I got another question

Re: [yocto] How to add support for "usb WIFI dongle"?

2017-11-28 Thread Jerry Lian
epending what linux you're using) figure out how to > run menuconfig. It might be something like: > > bitbake your-kernel-package-name -c menuconfig > > and try checking out the boxes that you found out > might be relevant to your wifi dongle. > Save it, build the image, a

[yocto] How to add support for "usb WIFI dongle"?

2017-11-21 Thread Jerry Lian
I am confused on adding support for "usb WIFI dongle": * My boards do NOT have WIFI capability, so I will add a "usb WIFI dongle". (I have two boards: Raspberri-PI-2, SIMATIC IOT-2020) * Suppose we start from "core-image-sato" * What should I do to add support for "usb WIFI dongle" * After we bui

Re: [yocto] yocto documentation: no content, no PDF?

2017-11-10 Thread Jerry Lian
:39 + > "Burton, Ross" wrote: > > > On 8 November 2017 at 15:41, Jerry Lian wrote: > > > > > Just wondering: > > > * As an active project, why yocto documentation does not provide a > content > > > (better be clickable)? > > > &g

Re: [yocto] Yocto problem for Ryzen-7 cpu

2017-11-08 Thread Jerry Lian
(weird, yocto mails to me blocked by my gmail, treated as spam?) Anyway, just change to Ubuntu-17, run first build, succeed with no failures, good sign! Will run more and see. On Wed, Nov 8, 2017 at 12:06 PM, Jerry Lian wrote: > (my Gmail does not accept new message for same subject? s

[yocto] Yocto problem for Ryzen-7 cpu

2017-11-08 Thread Jerry Lian
(my Gmail does not accept new message for same subject? so I open a new thread) So bad: I do use Ryzen-7. will Ubuntu-17 or latest Debian fix the problem? -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto

Re: [yocto] Annoying "rerun to fix" bug for bitbake: task failed, but rerun can fix it.

2017-11-08 Thread Jerry Lian
So bad: I do use Ryzen-7! I will try new kernel, how about Ubuntu-17? or should be latest Debian? On Wed, Nov 8, 2017 at 11:47 AM, Jerry Lian wrote: > Really, only me got this problem? > > > > > On Wed, Nov 8, 2017 at 11:40 AM, Burton, Ross > wrote: > >> The fai

Re: [yocto] Annoying "rerun to fix" bug for bitbake: task failed, but rerun can fix it.

2017-11-08 Thread Jerry Lian
Really, only me got this problem? On Wed, Nov 8, 2017 at 11:40 AM, Burton, Ross wrote: > The failure doesn't happen for anyone else. You're literally saying "it > breaks" but not even saying what "it" is, or how "it" is breaking. > > Ros

Re: [yocto] yocto documentation: no content, no PDF?

2017-11-08 Thread Jerry Lian
The mega-manual should have content like: at least one line for each chapter, so that we can have a big picture. By the way, where is the "real docs"? On Wed, Nov 8, 2017 at 11:30 AM, Burton, Ross wrote: > On 8 November 2017 at 15:41, Jerry Lian wrote: > >> Just

Re: [yocto] Annoying "rerun to fix" bug for bitbake: task failed, but rerun can fix it.

2017-11-08 Thread Jerry Lian
oblem" without saying what the problem is. > > Ross > > On 8 November 2017 at 16:31, Jerry Lian wrote: > >> So that is further tricky part: >> * it may fail when finishing 20%, 40% 60%, 80% >> * And the failure last time may not appear next time. >> * So it

Re: [yocto] Annoying "rerun to fix" bug for bitbake: task failed, but rerun can fix it.

2017-11-08 Thread Jerry Lian
) On Wed, Nov 8, 2017 at 11:24 AM, Burton, Ross wrote: > The autobuilder does about 50 builds a night using pure poky and we don't > see this, so again: what recipe and what errors? > > Ross > > On 8 November 2017 at 16:22, Jerry Lian wrote: > >> I am not talk

Re: [yocto] Annoying "rerun to fix" bug for bitbake: task failed, but rerun can fix it.

2017-11-08 Thread Jerry Lian
I am not talking about my own layer or recipe. It happens even when I run the demo QEMU/beaglebone builds. (I just download poky, and make NO modifications) On Wed, Nov 8, 2017 at 11:21 AM, Burton, Ross wrote: > On 8 November 2017 at 15:49, Jerry Lian wrote: > >> I am not sure w

Re: [yocto] Annoying "rerun to fix" bug for bitbake: task failed, but rerun can fix it.

2017-11-08 Thread Jerry Lian
e 1. > Check the dependencies in the recipe and w/ Yocto's bitbake it self. > > Cheers > Eric > > > Am 08.11.2017 16:49, schrieb Jerry Lian: > > I am not sure whether it is a bug or an error: * Quite often, bitbake will >> fail before finishing, with message like: ...

Re: [yocto] Annoying "rerun to fix" bug for bitbake: task failed, but rerun can fix it.

2017-11-08 Thread Jerry Lian
I am not talking about my own layer or recipe. It happens even when I run the demo QEMU/beaglebone builds. (I just download poky, and make NO modifications) On Wed, Nov 8, 2017 at 11:15 AM, Nicolas Dechesne < nicolas.deche...@linaro.org> wrote: > On Wed, Nov 8, 2017 at 5:13 PM, Jerry Li

[yocto] Annoying "rerun to fix" bug for bitbake: task failed, but rerun can fix it.

2017-11-08 Thread Jerry Lian
I am not sure whether it is a bug or an error: * Quite often, bitbake will fail before finishing, with message like: ... task failed with exit code 1... * But if you rerun bitbake, it will continue to build. * So sometimes I have to rerun many times for finish one build annoying! (by the way,

[yocto] yocto documentation: no content, no PDF?

2017-11-08 Thread Jerry Lian
Just wondering: * As an active project, why yocto documentation does not provide a content (better be clickable)? * Or PDF format for easy printing. Isn't good documentation the basic requirement for a good project? (By the way, the yocto homepage is also ugly!) Thanks, -- _

Re: [yocto] Basic question: "core-image-minimal" v.s "core-image-base" ?

2017-10-11 Thread Jerry Lian
..." * Will the "IMAGE_INSTALL" in this file be overridden by "IMAGE_INSTALL" in "core-image" So what is the rule for "overridden"? On Tue, Oct 10, 2017 at 6:07 PM, Andre McCurdy wrote: > On Fri, Oct 6, 2017 at 1:40 PM, Jerry Lian wrote: > > Hi, all

[yocto] Basic question: "core-image-minimal" v.s "core-image-base" ?

2017-10-10 Thread Jerry Lian
Hi, all: I have a basic question: how to tell the difference between "core-image-minimal" and "core-image-base"? * If we look at file* \poky\meta\recipes-core\images\core-image-base.bb * ===

[yocto] Basic question: "core-image-minimal" v.s "core-image-base" ?

2017-10-10 Thread Jerry Lian
Hi, all: I have a basic question: how to tell the difference between "core-image-minimal" and "core-image-base"? * If we look at file* \poky\meta\recipes-core\images\core-image-base.bb * ===