[yocto] [meta-chip][RFC PATCH 0/3] Initial attempt at flashing instructions.

2017-06-16 Thread drew . moseley
From: Drew Moseley This set of patches adds the native tools and target components needed to reflash the CHIP boards. Additionally a shell script is added to the deploy directory showing how to kick off a flash update. It's not ideal as I've hardcoded a max size for the UBI imag

[yocto] [meta-chip][RFC PATCH 1/3] u-boot-chip: Deploy the sunxi-spl-with-ecc.bin file.

2017-06-16 Thread drew . moseley
From: Drew Moseley Signed-off-by: Drew Moseley --- conf/machine/chip.conf| 1 + recipes-bsp/u-boot/u-boot-chip_git.bb | 6 ++ 2 files changed, 7 insertions(+) diff --git a/conf/machine/chip.conf b/conf/machine/chip.conf index 0a45a2f..8f54067 100644 --- a/conf/machine

[yocto] [meta-chip][RFC PATCH 2/3] chip: Build sunxi-tools-native.

2017-06-16 Thread drew . moseley
From: Drew Moseley Add LAYERDEPENDS on meta-sunxi and add the sunxi-tools-native pacakage to EXTRA_IMAGEDEPENDS. Signed-off-by: Drew Moseley --- conf/layer.conf| 3 +++ conf/machine/chip.conf | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/conf/layer.conf b/conf

[yocto] [meta-chip][RFC PATCH 3/3] chip: Add chip-u-boot-scr recipe and flash script

2017-06-16 Thread drew . moseley
From: Drew Moseley Add a U-Boot script to handle flashing the SPL, U-Boot and UBI root filesystem images into the onboard flash. Also generate a script showing how to execute the flash steps. Signed-off-by: Drew Moseley --- README | 26

Re: [yocto] [meta-chip][RFC PATCH 3/3] chip: Add chip-u-boot-scr recipe and flash script

2017-06-19 Thread Drew Moseley
> On Jun 19, 2017, at 1:48 AM, Trevor Woerner wrote: > >> If you have a serial console connected to >> +your board, you will see the progress and a message on the console will >> indicate when >> +the flashing is completed. > > hmmm, never saw this. I have a console connected, the moment the s

Re: [yocto] [meta-chip][RFC PATCH 3/3] chip: Add chip-u-boot-scr recipe and flash script

2017-06-22 Thread Drew Moseley
> On Jun 22, 2017, at 12:22 AM, Petter Mabäcker wrote: > > 2017-06-19 16:40 skrev Trevor Woerner: > >> On Mon, Jun 19, 2017 at 7:22 AM, Drew Moseley > <mailto:drew.mose...@mender.io>> wrote: >>>> On Jun 19, 2017, at 1:48 AM, Trevor Woer

[yocto] [meta-chip][PATCH V2 1/3] u-boot-chip: Deploy the sunxi-spl-with-ecc.bin file.

2017-06-25 Thread drew . moseley
From: Drew Moseley Signed-off-by: Drew Moseley --- conf/machine/chip.conf| 1 + recipes-bsp/u-boot/u-boot-chip_git.bb | 6 ++ 2 files changed, 7 insertions(+) diff --git a/conf/machine/chip.conf b/conf/machine/chip.conf index 0a45a2f..8f54067 100644 --- a/conf/machine

[yocto] [meta-chip][PATCH V2 0/3] Initial attempt at flashing instructions.

2017-06-25 Thread drew . moseley
From: Drew Moseley * V2: Updated README and layer dependencies. Added error checking to flashing script * V1: This set of patches adds the native tools and target components needed to reflash the CHIP boards. Additionally a shell script is added to the deploy directory showing how to kick

[yocto] [meta-chip][PATCH V2 2/3] chip: Build sunxi-tools-native.

2017-06-25 Thread drew . moseley
From: Drew Moseley Add LAYERDEPENDS on meta-sunxi and add the sunxi-tools-native pacakage to EXTRA_IMAGEDEPENDS. Signed-off-by: Drew Moseley --- README | 3 +++ conf/layer.conf| 3 +++ conf/machine/chip.conf | 2 +- 3 files changed, 7 insertions(+), 1 deletion(-) diff

[yocto] [meta-chip][PATCH V2 3/3] chip: Add chip-u-boot-scr recipe and flash script

2017-06-25 Thread drew . moseley
From: Drew Moseley Add a U-Boot script to handle flashing the SPL, U-Boot and UBI root filesystem images into the onboard flash. Also generate a script showing how to execute the flash steps. Signed-off-by: Drew Moseley --- README | 91

Re: [yocto] [meta-chip][PATCH V2 0/3] Initial attempt at flashing instructions.

2017-06-28 Thread Drew Moseley
> On Jun 28, 2017, at 9:03 AM, Trevor Woerner wrote: > > On Sun, Jun 25, 2017 at 3:55 PM, wrote: >> From: Drew Moseley >> >> * V2: >> >> Updated README and layer dependencies. >> >> Added error checking to flashing script >> >

[yocto] [meta-chip][PATCH V3 0/4] Initial attempt at flashing instructions.

2017-06-28 Thread drew . moseley
From: Drew Moseley * V3: Cleanup README. Add CHIP_UBI_PAGE_SIZE variable to reuse the data from the machine configuration. * V2: Updated README and layer dependencies. Added error checking to flashing script * V1: This set of patches adds the native tools and target components needed to

[yocto] [meta-chip][PATCH V3 2/4] u-boot-chip: Deploy the sunxi-spl-with-ecc.bin file.

2017-06-28 Thread drew . moseley
From: Drew Moseley Signed-off-by: Drew Moseley --- conf/machine/chip.conf| 1 + recipes-bsp/u-boot/u-boot-chip_git.bb | 6 ++ 2 files changed, 7 insertions(+) diff --git a/conf/machine/chip.conf b/conf/machine/chip.conf index dad1bdb..f053976 100644 --- a/conf/machine

[yocto] [meta-chip][PATCH V3 1/4] chip: Make page size into a variable.

2017-06-28 Thread drew . moseley
From: Drew Moseley Signed-off-by: Drew Moseley --- conf/machine/chip.conf | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/conf/machine/chip.conf b/conf/machine/chip.conf index 0a45a2f..dad1bdb 100644 --- a/conf/machine/chip.conf +++ b/conf/machine/chip.conf @@ -30,5

[yocto] [meta-chip][PATCH V3 3/4] chip: Build sunxi-tools-native.

2017-06-28 Thread drew . moseley
From: Drew Moseley Add LAYERDEPENDS on meta-sunxi and add the sunxi-tools-native pacakage to EXTRA_IMAGEDEPENDS. Signed-off-by: Drew Moseley --- README | 3 +++ conf/layer.conf| 3 +++ conf/machine/chip.conf | 2 +- 3 files changed, 7 insertions(+), 1 deletion(-) diff

[yocto] [meta-chip][PATCH V3 4/4] chip: Add chip-u-boot-scr recipe and flash script

2017-06-28 Thread drew . moseley
From: Drew Moseley Add a U-Boot script to handle flashing the SPL, U-Boot and UBI root filesystem images into the onboard flash. Also generate a script showing how to execute the flash steps. Signed-off-by: Drew Moseley --- README | 91

[yocto] Extra rebuilds when using rm_work

2017-07-25 Thread Drew Moseley
With both pyro and master, I have noticed that when I use 'INHERIT += “rm_work”’ I get extra rebuilds of the image rootfs. My current build uses poky rev 5686f4e1fe5229705b8c7d35895aa03827796d13 Specifically, without “rm_work”: $ . src/poky/oe-init-build-env build-rm-work $ cat >> conf/local.co

[yocto] [meta-chip] Wifi driver on CHIP boards?

2017-08-30 Thread Drew Moseley
Has anyone managed to use the onboard WIFI for the CHIP boards in the current meta-chip repo? I added the kernel-module-r8723bs and rtl8723bs packages to my build and setup a wpa_supplicant.conf that works on other boards but I get error messages about power save. A few google searches suggested s

Re: [yocto] Another question about yocto

2017-10-04 Thread Drew Moseley
> On Oct 4, 2017, at 8:31 PM, Mark Hieber wrote: > > I am trying to build > http://git.yoctoproject.org/cgit.cgi/poky/plain/meta/recipes-devtools/desktop-file-utils/ > > > into my image. > > My local.

[yocto] [meta-raspberrypi][PATCH] rpi-config: Setup lcd_rotate for Raspberry Pi display

2017-11-29 Thread drew . moseley
From: Drew Moseley Signed-off-by: Drew Moseley --- docs/extra-build-config.md | 6 ++ recipes-bsp/bootfiles/rpi-config_git.bb | 6 ++ 2 files changed, 12 insertions(+) diff --git a/docs/extra-build-config.md b/docs/extra-build-config.md index 380d969..0390eee 100644 --- a

[yocto] [meta-raspberrypi] How to modify KERNEL_DEVICETREE?

2017-12-17 Thread Drew Moseley
I'm trying to figure out how to properly modify the KERNEL_DEVICETREE variable.  It seems that the meta-raspberrypi layer uses that variable in the sdcard_image-rpi.bbclass and defines it in the machine conf layer.  In poky, the variable is set and appended to in the various linux-yocto recipes. If

[yocto] [meta-raspberrypi][PATCH] rpi-config: Allow arbitrary additions to config.txt.

2017-12-28 Thread drew . moseley
From: Drew Moseley Setup a bitbake variable to allow users to specify arbitrary additions to config.txt that are not otherwise covered by specific settings. Signed-off-by: Drew Moseley --- docs/extra-build-config.md | 12 recipes-bsp/bootfiles/rpi-config_git.bb | 5

Re: [yocto] [meta-raspberrypi][PATCH] rpi-config: Allow arbitrary additions to config.txt.

2017-12-29 Thread Drew Moseley
On 12/29/2017 10:44 AM, Paul Barker wrote: > On Thu, Dec 28, 2017 at 11:00 PM, wrote: >> From: Drew Moseley >> >> Setup a bitbake variable to allow users to specify >> arbitrary additions to config.txt that are not otherwise >> covered by specific settings.

Re: [yocto] [meta-chip] Wifi driver on CHIP boards?

2018-02-22 Thread Drew Moseley
On 09/04/2017 06:17 AM, Andrei Gherzan wrote: > On Wed, Aug 30, 2017 at 11:44 PM, Drew Moseley > mailto:drew.mose...@northern.tech>> wrote: > > Has anyone managed to use the onboard WIFI for the CHIP boards in the > current meta-chip repo?  I added the kern

Re: [yocto] dhcp eth0 network

2017-05-13 Thread Drew Moseley
Hi Peter, First question, after you manually configure with ifconfig, can you actually connect to external devices on the network? If so that implies that your driver is functioning properly and that you really only need to figure out how to configure DHCP and automatic configuration. If no c

Re: [yocto] dhcp eth0 network

2017-05-15 Thread Drew Moseley
eth0 inet dhcp >> >>> > > after reset eth0 is not up and I do always > >>> ifconfig eth0 10.171.88.8 netmask 255.0.0.0 up > > > So for now I can set static IP and network works fine but I want to have DHCP > and have that configuration permanent.

[yocto] [meta-chip][PATCH] chip: Unclude kernel-image and kernel-devicetree in all images.

2017-06-10 Thread drew . moseley
From: Drew Moseley Add the kernel-image and kernel-devicetree packages to MACHINE_ESSENTIAL_EXTRA_RDEPENDS to ensure they are deployed into the UBI image since that is where UBoot expects to find it. Signed-off-by: Drew Moseley --- conf/machine/chip.conf | 3 ++- recipes-core

[yocto] [meta-chip][PATCH] chip: Make sure to append to MACHINE_EXTRA_RRECOMMENDS rather than overwriting

2017-06-12 Thread drew . moseley
From: Drew Moseley Signed-off-by: Drew Moseley --- conf/machine/chip.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf/machine/chip.conf b/conf/machine/chip.conf index 7624de6..0a45a2f 100644 --- a/conf/machine/chip.conf +++ b/conf/machine/chip.conf @@ -27,7 +27,7