From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 476C2E00A9C; Fri, 16 Jun 2017 14:17:54 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no * trust * [107.14.166.231 listed in list.dnswl.org] * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] Received: from cdptpa-oedge-vip.email.rr.com (cdptpa-outbound-snat.email.rr.com [107.14.166.231]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id E2211E009A0 for ; Fri, 16 Jun 2017 14:17:50 -0700 (PDT) Received: from [65.35.172.144] ([65.35.172.144:41307] helo=tobago.home.moseleynet.net) by cdptpa-omsmta01 (envelope-from ) (ecelerity 3.6.9.48312 r(Core:3.6.9.0)) with ESMTP id AA/33-10880-DFA44495; Fri, 16 Jun 2017 21:17:49 +0000 From: drew.moseley@mender.io To: yocto@yoctoproject.org Date: Fri, 16 Jun 2017 17:15:25 -0400 Message-Id: X-Mailer: git-send-email 2.7.4 X-RR-Connecting-IP: 107.14.168.6:25 Cc: Drew Moseley Subject: [meta-chip][RFC PATCH 0/3] Initial attempt at flashing instructions. X-BeenThere: yocto@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Discussion of all things Yocto Project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Jun 2017 21:17:54 -0000 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 image into the script and didn't see much of an alternative. It does function though. Drew The following changes since commit 0079e6ac10fc371d6f527270c23b887561f717aa: chip: Append to MACHINE_EXTRA_RRECOMMENDS rather than overwriting (2017-06-15 13:37:19 +0100) are available in the git repository at: git@github.com:drewmoseley/meta-chip.git flashing-instructions for you to fetch changes up to 195a92fc1faa49495d1a2b6cda0134f07ce72189: chip: Add chip-u-boot-scr recipe and flash script (2017-06-15 11:27:06 -0400) ---------------------------------------------------------------- Drew Moseley (3): u-boot-chip: Deploy the sunxi-spl-with-ecc.bin file. chip: Build sunxi-tools-native. chip: Add chip-u-boot-scr recipe and flash script README | 26 ++++++++- conf/layer.conf | 3 ++ conf/machine/chip.conf | 3 +- recipes-bsp/chip-u-boot-scr/chip-u-boot-scr.bb | 70 +++++++++++++++++++++++++ recipes-bsp/chip-u-boot-scr/files/boot.cmd.full | 32 +++++++++++ recipes-bsp/chip-u-boot-scr/files/boot.cmd.in | 43 +++++++++++++++ recipes-bsp/u-boot/u-boot-chip_git.bb | 7 +++ 7 files changed, 182 insertions(+), 2 deletions(-) create mode 100644 recipes-bsp/chip-u-boot-scr/chip-u-boot-scr.bb create mode 100644 recipes-bsp/chip-u-boot-scr/files/boot.cmd.full create mode 100644 recipes-bsp/chip-u-boot-scr/files/boot.cmd.in Drew Moseley (3): u-boot-chip: Deploy the sunxi-spl-with-ecc.bin file. chip: Build sunxi-tools-native. chip: Add chip-u-boot-scr recipe and flash script README | 26 ++++++++- conf/layer.conf | 3 ++ conf/machine/chip.conf | 3 +- recipes-bsp/chip-u-boot-scr/chip-u-boot-scr.bb | 70 +++++++++++++++++++++++++ recipes-bsp/chip-u-boot-scr/files/boot.cmd.full | 32 +++++++++++ recipes-bsp/chip-u-boot-scr/files/boot.cmd.in | 43 +++++++++++++++ recipes-bsp/u-boot/u-boot-chip_git.bb | 7 +++ 7 files changed, 182 insertions(+), 2 deletions(-) create mode 100644 recipes-bsp/chip-u-boot-scr/chip-u-boot-scr.bb create mode 100644 recipes-bsp/chip-u-boot-scr/files/boot.cmd.full create mode 100644 recipes-bsp/chip-u-boot-scr/files/boot.cmd.in -- 2.7.4