From patchwork Mon Dec 2 15:57:40 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefano Babic X-Patchwork-Id: 1203212 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=googlegroups.com (client-ip=2a00:1450:4864:20::438; helo=mail-wr1-x438.google.com; envelope-from=swupdate+bncbcxploxj6ikrb7pistxqkgqevuevhda@googlegroups.com; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=denx.de Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=googlegroups.com header.i=@googlegroups.com header.b="LXSl9euY"; dkim-atps=neutral Received: from mail-wr1-x438.google.com (mail-wr1-x438.google.com [IPv6:2a00:1450:4864:20::438]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 47RVBS2Ftcz9sPn for ; Tue, 3 Dec 2019 02:57:52 +1100 (AEDT) Received: by mail-wr1-x438.google.com with SMTP id l20sf143871wrc.13 for ; Mon, 02 Dec 2019 07:57:52 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1575302269; cv=pass; d=google.com; s=arc-20160816; b=udzhvLfdms02p8rOeroup5+zQ4/v07kRnkqoDKZET2ySf4llUHjPjyd63mdtRJ3zfE cLcWnA/XFVGm9LeuVBNxYI4IpmQhRrnZlJvV6FxO6jYkAtXzeDe+2YbMQHC+PbIN5Ec7 I3OBdhCuVMDmuN8Q9dTBZJkVHxy7MzXw/d9WXYGwm2n+kyel8bdb7U2/c1tZ8PqsdR2N Mv1P4m5kA1cWOcuGjVfg+2FWpbXg3kfMI61wlAIIinVK/AZUWXZb/oe8wFMGKH9x3eb+ ZEiu0GE/EWd9hYDFxJWKCbLySMSUnCDGRGCxorHsLsti1wL4u1KNaHMK5eB2h7IUGDTg 8i2Q== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:mime-version:sender:dkim-signature; bh=5/qdJEG1PpyH31mIJsBODqG8Pi2Lal6SvwkzUeurjRY=; b=P2hewBEgjv0ni1lQAK6lyzLO5IOhdIalk8Luhk3K39mcXnNMLb2WOzOLiIkCPd/Ejj +T6U0NwhyddUvapu1Dao8b7otlujErnUY/dl7NolWQ5hH+c5bCbZg94hX25WVODoWFU9 EEtT2KK0Sqz+966vAqMqOPDszWV7hznM9PW/naGt5TTVRQSxYYeM7S6eaPTT6Xs0tpiy b8WHySLE4wH7y/qqbUQIwXR51bFWmsNJnlu75QwcAZI61SGK6mCVJWi+bJMAyvuEM+sE renF478wRkCjaA1muQFEsc1u3Q89kMBMKENmwVXhWOF5Ol9rNCgNqA9+koLHNloYCGf9 hMBw== ARC-Authentication-Results: i=2; gmr-mx.google.com; spf=neutral (google.com: 212.18.0.10 is neither permitted nor denied by best guess record for domain of sbabic@denx.de) smtp.mailfrom=sbabic@denx.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20161025; h=sender:mime-version:from:to:cc:subject:date:message-id:in-reply-to :references:x-original-sender:x-original-authentication-results :precedence:mailing-list:list-id:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=5/qdJEG1PpyH31mIJsBODqG8Pi2Lal6SvwkzUeurjRY=; b=LXSl9euYxp8GF6I4+vVey+RxdtOqeSmkWsgty4Mq5cz92ynhO93mQsEFl+QZF1VhPF wD69uCGowZ11QJYiPfMtyGn4Hw9QR7dDQBfZqVy50zEz0OsF6ZrBVwM2/LebI+iImv3p 6f/GMZCAcbO4F8QjZzoSWQ5Sx0lKVcoSWtEM0gRrmbpn3x7JyvJfS6MYBB8XxoXApSoe tDXyPraP+S4HinbcT9vtmubAft7s+mhc1PrRppUliAvujXv5TnmCmIZBs23y4uPpcqBK OpI+hqMvKh9RE6vNrx24kdBMy3pJHZZKtnt0vlL+F335lYTHBxewjCt7Xtvf2eZHNmLv qD8Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=sender:x-gm-message-state:mime-version:from:to:cc:subject:date :message-id:in-reply-to:references:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :x-spam-checked-in-group:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=5/qdJEG1PpyH31mIJsBODqG8Pi2Lal6SvwkzUeurjRY=; b=T/LgO+fC/TRnt1gXOSsgx1Gc8nxd0gzLEX3RSF8l9vP/M3Lsh/ow50R4NSF0mHZBeG Oi5Wd2BmxKUnYQ/f/tEBB72/vaNzYXw3tnRPE6r537ythkihxfYxwCb9LwH+4wb3Ekf/ tvlDlS+lt04kGJw/9rSouRVTVOIRDgdVG6Z9Pr4bP0HHzxeWbg8wHEjtUqlNCPF2ueYd Wo9gWJJcusV3fNiD56hObHHdqTCpXezcyp8oyrquR0chIVL9UB5dJlo5fQVumRKCW18V SCfoeyzWKMZqdCrUFx8Aq/LaYCjiQudrb5w1a6/HfaM9l0W+IPXGcq5Itm6q2XyCskRq il1w== Sender: swupdate@googlegroups.com X-Gm-Message-State: APjAAAUAfQA6z39+SuD5NK+b8C4gMf8ARamgFoahUL5zupsPyFstnIWw QGODT/GgInw4EH5jqiNEtxw= X-Google-Smtp-Source: APXvYqyJRtNLENET0H8hPBvSv7SlCBolYtB1/p0sb2jhMSHuJb55ctmQgOhLPWDqsUzsCfrJQMZASA== X-Received: by 2002:a5d:640d:: with SMTP id z13mr34937273wru.181.1575302269279; Mon, 02 Dec 2019 07:57:49 -0800 (PST) MIME-Version: 1.0 X-BeenThere: swupdate@googlegroups.com Received: by 2002:a5d:5284:: with SMTP id c4ls68283wrv.15.gmail; Mon, 02 Dec 2019 07:57:48 -0800 (PST) X-Received: by 2002:a5d:65cf:: with SMTP id e15mr52111594wrw.126.1575302268685; Mon, 02 Dec 2019 07:57:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1575302268; cv=none; d=google.com; s=arc-20160816; b=B/zpx89v0nauCf5WCoVBDNsqreRFqU+OIeEqpcaQbs7obyRlGwbIyH98vTWzSqGJTn M2l4AxCUQ+ymnZmINYlj6SYpJW2D5kv+G+ONeZQvgm3YQj6U1J91rvmsMsSy9yPWstc3 ddUPiXdivdoTh4TuwUCKXRWbrPQTf6M2wpIcxrA+eK2o6v6fst4JREzIX+KtlKj9JG6R MFxczutD/0ok5c9Jmzn4pC5BzzjGzaBxYU3I4HA8v3dFp0721OHcocNYxeyKPQjmhogG xrl0KewYbK+YiDoTsDSkkQNdfXFl+d3g0a4ftLEXpp3va/bYSbw4ImAYUwudzDtYjwtS 75Ag== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=references:in-reply-to:message-id:date:subject:cc:to:from; bh=fzrVW8iu3sqK4Tyjn134kAx3lRsVS/cpx9QiyrImhvs=; b=v9BUXCQcfFYqT9303/MGK6Kzxi27lzAMezUK6zDCIhY+CWprANRsIrM2x2T3nUZTyf H/3lKXimA0pMUyLAYh2reeYfuXimMgA/o1inlbmsK1q7zOaoaMNj8w11S4lIjY0cdnxP vJFrDt8+26HS52+HAWD0E5LWQRejdsdEWJ7sOOwKZoumsQmdg1Svxh+XApzqfpQJsGze KzoMUBssUGuluVQvi6r1tN2ldWLpGgFkes5o4/WEUm8azw1c3X8Zp4z7lrOXa6j5/pmU fl9EtCnnKW8pnEw41hXO6Z0x/qFJyk7m/m0f+C8EFQ1CV0YXJcFate9mfFiS7YWd3vSj iXyA== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=neutral (google.com: 212.18.0.10 is neither permitted nor denied by best guess record for domain of sbabic@denx.de) smtp.mailfrom=sbabic@denx.de Received: from mail-out.m-online.net (mail-out.m-online.net. [212.18.0.10]) by gmr-mx.google.com with ESMTPS id b9si525862wrw.2.2019.12.02.07.57.48 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 02 Dec 2019 07:57:48 -0800 (PST) Received-SPF: neutral (google.com: 212.18.0.10 is neither permitted nor denied by best guess record for domain of sbabic@denx.de) client-ip=212.18.0.10; Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 47RVBN3nshz1rXPd; Mon, 2 Dec 2019 16:57:48 +0100 (CET) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 47RVBN3b5cz1qqlC; Mon, 2 Dec 2019 16:57:48 +0100 (CET) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new, port 10024) with ESMTP id psvu9_SnKa44; Mon, 2 Dec 2019 16:57:47 +0100 (CET) Received: from babic.homelinux.org (host-88-217-136-221.customer.m-online.net [88.217.136.221]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPS; Mon, 2 Dec 2019 16:57:47 +0100 (CET) Received: from localhost (mail.babic.homelinux.org [127.0.0.1]) by babic.homelinux.org (Postfix) with ESMTP id 676E8454019A; Mon, 2 Dec 2019 16:57:47 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at babic.homelinux.org Received: from babic.homelinux.org ([IPv6:::1]) by localhost (mail.babic.homelinux.org [IPv6:::1]) (amavisd-new, port 10024) with ESMTP id BmQfTH8fbHso; Mon, 2 Dec 2019 16:57:43 +0100 (CET) Received: from papero.fritz.box (papero.fritz.box [192.168.178.132]) by babic.homelinux.org (Postfix) with ESMTP id 3CBCB4540293; Mon, 2 Dec 2019 16:57:43 +0100 (CET) From: Stefano Babic To: swupdate@googlegroups.com Cc: Stefano Babic Subject: [swupdate] [meta-swupdate-boards][PATCH 2/3] Set libubootenv for both raspberry and wandboard Date: Mon, 2 Dec 2019 16:57:40 +0100 Message-Id: <20191202155741.20177-2-sbabic@denx.de> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20191202155741.20177-1-sbabic@denx.de> References: <20191202155741.20177-1-sbabic@denx.de> X-Original-Sender: sbabic@denx.de X-Original-Authentication-Results: gmr-mx.google.com; spf=neutral (google.com: 212.18.0.10 is neither permitted nor denied by best guess record for domain of sbabic@denx.de) smtp.mailfrom=sbabic@denx.de Precedence: list Mailing-list: list swupdate@googlegroups.com; contact swupdate+owners@googlegroups.com List-ID: X-Spam-Checked-In-Group: swupdate@googlegroups.com X-Google-Group-Id: 605343134186 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , Signed-off-by: Stefano Babic --- recipes-support/swupdate/swupdate/raspberrypi3/defconfig | 2 ++ recipes-support/swupdate/swupdate/wandboard/defconfig | 7 ++++++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/recipes-support/swupdate/swupdate/raspberrypi3/defconfig b/recipes-support/swupdate/swupdate/raspberrypi3/defconfig index ff8ab7c..f651603 100644 --- a/recipes-support/swupdate/swupdate/raspberrypi3/defconfig +++ b/recipes-support/swupdate/swupdate/raspberrypi3/defconfig @@ -40,6 +40,8 @@ CONFIG_UBOOT=y # CONFIG_BOOTLOADER_NONE is not set # CONFIG_BOOTLOADER_GRUB is not set CONFIG_UBOOT_FWENV="/etc/fw_env.config" +CONFIG_UBOOT_NEWAPI=y +CONFIG_UBOOT_DEFAULTENV="/etc/u-boot-initial-env" CONFIG_DOWNLOAD=y CONFIG_HASH_VERIFY=y # CONFIG_SIGNED_IMAGES is not set diff --git a/recipes-support/swupdate/swupdate/wandboard/defconfig b/recipes-support/swupdate/swupdate/wandboard/defconfig index ff8ab7c..557c5f7 100644 --- a/recipes-support/swupdate/swupdate/wandboard/defconfig +++ b/recipes-support/swupdate/swupdate/wandboard/defconfig @@ -40,6 +40,8 @@ CONFIG_UBOOT=y # CONFIG_BOOTLOADER_NONE is not set # CONFIG_BOOTLOADER_GRUB is not set CONFIG_UBOOT_FWENV="/etc/fw_env.config" +CONFIG_UBOOT_NEWAPI=y +CONFIG_UBOOT_DEFAULTENV="/etc/u-boot-initial-env" CONFIG_DOWNLOAD=y CONFIG_HASH_VERIFY=y # CONFIG_SIGNED_IMAGES is not set @@ -98,6 +100,9 @@ CONFIG_RAW=y CONFIG_LUASCRIPTHANDLER=y CONFIG_SHELLSCRIPTHANDLER=y # CONFIG_HANDLER_IN_LUA is not set +CONFIG_RDIFFHANDLER=y +CONFIG_HANDLER_IN_LUA=y +# CONFIG_EMBEDDED_LUA_HANDLER is not set CONFIG_ARCHIVE=y -CONFIG_REMOTE_HANDLER=y +# CONFIG_REMOTE_HANDLER is not set CONFIG_BOOTLOADERHANDLER=y