| Message ID | 20190507185215.15441-1-jagan@amarulasolutions.com |
|---|---|
| Headers |
Return-Path: <linux-amarula+bncBD7MFH7A7EEBBF5IY7TAKGQEWTMN4RQ@amarulasolutions.com> X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pl1-f198.google.com (mail-pl1-f198.google.com [209.85.214.198]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id C641D3F085 for <linux-amarula@patchwork.amarulasolutions.com>; Tue, 7 May 2019 20:53:13 +0200 (CEST) Received: by mail-pl1-f198.google.com with SMTP id a17sf5689639pls.5 for <linux-amarula@patchwork.amarulasolutions.com>; Tue, 07 May 2019 11:53:13 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1557255191; cv=pass; d=google.com; s=arc-20160816; b=A5HryiOwzS88YTLBB5VeNW63qYbcwY3mjsscnriZn4n9BRkVnygSJIPR6hLKLRJI7Z boGAlLq9bkLxoWCD9iOtSiEb7GcXPXuOgpdPvWAlEyLq4cWz4bd3T5Byrt5LaCB2RRXj vKK2qn4BP1nbOQLocVhnHv1IsS/9+6KgQrhvtvUd9/UzhOu8mJGes/StSoUo5Ur3XRhB jsmLswxld1etryb/tLVR6bRlM76FpjB/ogLGY8r7+3tfNXHM2Lki/VOtz0UMrT0FWL56 U3MRX4g9rS6qM34rDmsMLPE2vYvLr97ttbqa5ikAV4d6KLorDCFna3iSz33EN5cPA5XE dtmw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:mime-version:message-id:date:subject:cc:to :from:dkim-signature; bh=cSwkFjKLoqc+gfdcm4bXR0GyLqQWjk4MDvgM2OQTEdA=; b=igM1SZaH4prRi9YM98AYAvviHaT/gedATCqRKvP6GrJeLMv9BdEf84sj3oXRYCkZKh EPQCi9Ob63v6ok8f/ed0FWATHgWWT2Eq0DEyECjFclL2aIaMQojFW3UzbtYmtb5pb21h KweOUHy9W+zjo+dgj0S7ye4eQ0yc2KgVYqDAwz0YrzVxZbmeXvqEzc10d/BYV9Qs1uIl SiO5lC8wwi6TS2Xq+y6IO6W1/xaYlQ8VEoqU//v5xb5LJfymZedYnDPWiQX6KmHUzX8/ OXdecXCTh/FMBFyqdz+2Gd2k2F7jOGCCJ4WytAbdHgTrdFeOSMqqHhfdDUIMMMOrwwiK X1FQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=jwvHgbgu; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=from:to:cc:subject:date:message-id:mime-version:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-unsubscribe; bh=cSwkFjKLoqc+gfdcm4bXR0GyLqQWjk4MDvgM2OQTEdA=; b=MHKrDooKQ8Z1eUc09LVJIFvpDiCaC60HHStQKZfnlHwz/rs2p8KNjDbQU5DO2zEu/M eQzJw9T/PSeyDC0+wbVC3G7zmam3a44xlqZtNZ4fwmeFn4Jqm/j5rBFnuGSVWNwdIfC0 HlObnYdmVra+P5khHphgB8wsLszemOoDdFLCg= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :x-original-sender:x-original-authentication-results:precedence :mailing-list:list-id:x-spam-checked-in-group:list-post:list-help :list-archive:list-unsubscribe; bh=cSwkFjKLoqc+gfdcm4bXR0GyLqQWjk4MDvgM2OQTEdA=; b=nmTfiYIiKS3PzwLOQxAvKfx1dTWS596RIQYNRNeTKA+msHp7O3GGk0uOtamFovSvOa XkgFhyZWCL8sQ3hv1XwhQ0C7K7osgicAXeb5thx+PkrSisnedmRdnM5AtGdU526p2uA7 xU7cUSzr/YwsuhNkLogleMJKIWXKgtuCHyak/fP6zjfh7nEeoOrQk1LerR55UzmJ7BF7 F/T32VSVit/PVCvxC1ojYPkdJF+If3wm1PP7+ZAkrd8q2FVcROqkeR8hGTEen7VkFJML bBl5TdwM7zYBI/3utjs5g90EUPQG/42zU4pbQcN/BLMeukx3m86UAKcxf/+nYUmK5Cfb c0tw== X-Gm-Message-State: APjAAAUZxwaqOJmGRg3PwPV5g81WV6Qay9h9bY6mumzvk5+5if0l9w60 lgGHHHHw25jDximorz1UpsVHPDmn X-Google-Smtp-Source: APXvYqxIInC30XRqx8XNsIRjCgW8YUNr3SyenjlO2x7Qe/sIA9X+k5msSk8Opdk/Y2jnR4rx82cdCQ== X-Received: by 2002:a63:42:: with SMTP id 63mr41670017pga.337.1557255191498; Tue, 07 May 2019 11:53:11 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a65:450d:: with SMTP id n13ls4124680pgq.5.gmail; Tue, 07 May 2019 11:53:11 -0700 (PDT) X-Received: by 2002:a65:6688:: with SMTP id b8mr40717860pgw.81.1557255191116; Tue, 07 May 2019 11:53:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1557255191; cv=none; d=google.com; s=arc-20160816; b=h0UdJ6kbMwFvTLbQ3duBc3Kp3YO7XVzRi8Ouc9zKfCY5aSZxuIFYMA6d+/KSvFeTVu vMj82V4zZDcbt2r0d/P2NtSgltTSixQr30IHRPl6QTlSYhfwDk7oFH+KfXwG25YrcxT3 +x+lphuyy4ajuDfZu3BQEdrCatLeuulNVIWhK6FUjEb1uv942CsW1xnAooWGzbOqki8i sWpfPZ2rqSk8rXFqbgSNW2+cUmolC+cRON5l1OHkKDg6c+c0S9MnJnQSNKpuob8a3Vd4 Q2fTnlVSWz6jx7TbTcKlwafDcXzfa3YwQnQJ91H746UO0Ul0QqxGqqYS50RE8c2H6anV eGRA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:dkim-signature; bh=HziFttqmNa2271tTCEc0a9YY7KO4/7g5MJhKXmyahPE=; b=xOd6hc2AqaVTrgcVFPYa+kdkUv1dsyHGpwk05E3ocxEp/qcU7N7+8TzKFUL1mZvjJm UMw2xWOtXIw2jiGZY/e6VVoEEs550DT3KknWNL8bPIK89rb5+kkBQOcO2kcwenLPsq9G FW9kLWg/9EmQ6G8dvJMhXt6aQwGN201L4TvgVne3oWrCNMOZDIYky9VM2V77jlZ9kZzV ovhejDXIk51z4r/srSGa7x0vOSPC5poERnXy3+A5sEkTSitmLRdsYkk2+qUae4FXhKyk 6oGsSvhXyXdYjC8T7pTGgjtEr11EStjteCCry0XPoFGQwkQzeqy8hlWETmZV9VAPjL6T JdJg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=jwvHgbgu; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Received: from mail-sor-f65.google.com (mail-sor-f65.google.com. [209.85.220.65]) by mx.google.com with SMTPS id o5sor5399874pgo.4.2019.05.07.11.53.10 for <linux-amarula@amarulasolutions.com> (Google Transport Security); Tue, 07 May 2019 11:53:10 -0700 (PDT) Received-SPF: pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) client-ip=209.85.220.65; X-Received: by 2002:a63:534f:: with SMTP id t15mr42118283pgl.445.1557255189753; Tue, 07 May 2019 11:53:09 -0700 (PDT) Received: from localhost.localdomain ([115.97.185.144]) by smtp.gmail.com with ESMTPSA id l83sm14668086pfi.150.2019.05.07.11.53.06 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 07 May 2019 11:53:08 -0700 (PDT) From: Jagan Teki <jagan@amarulasolutions.com> To: Simon Glass <sjg@chromium.org>, Philipp Tomsich <philipp.tomsich@theobroma-systems.com>, Kever Yang <kever.yang@rock-chips.com> Cc: linux-rockchip@lists.infradead.org, linux-amarula@amarulasolutions.com, u-boot@lists.denx.de, Jagan Teki <jagan@amarulasolutions.com> Subject: [PATCH v3 0/6] rockchip: rk3399: Make u-boot.itb as BUILD_TARGET Date: Wed, 8 May 2019 00:22:09 +0530 Message-Id: <20190507185215.15441-1-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.18.0.321.gffc6fa0e3 MIME-Version: 1.0 X-Original-Sender: jagan@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=jwvHgbgu; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list linux-amarula@amarulasolutions.com; contact linux-amarula+owners@amarulasolutions.com List-ID: <linux-amarula.amarulasolutions.com> X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: <https://groups.google.com/a/amarulasolutions.com/group/linux-amarula/post>, <mailto:linux-amarula@amarulasolutions.com> List-Help: <https://support.google.com/a/amarulasolutions.com/bin/topic.py?topic=25838>, <mailto:linux-amarula+help@amarulasolutions.com> List-Archive: <https://groups.google.com/a/amarulasolutions.com/group/linux-amarula/> List-Unsubscribe: <mailto:googlegroups-manage+476853432473+unsubscribe@googlegroups.com>, <https://groups.google.com/a/amarulasolutions.com/group/linux-amarula/subscribe> |
| Series |
rockchip: rk3399: Make u-boot.itb as BUILD_TARGET
|
|
Message
Jagan Teki
May 7, 2019, 6:52 p.m. UTC
RK3399 TPL changes are merged recently which I was thinking of waiting for next MW. so this series skip binman changes from previous version[1] and have only BUILD_TARGET changes. BINMAN changes would need another rework, where we need to consider the TPL image as well and that would send separately. CHanges for v3: - skip binman changes - rebase on u-boot-rockchip/master [1] https://patchwork.ozlabs.org/cover/1092198/ Jagan Teki (6): Makefile: clean image.map Makefile: clean bl31_*.bin travis.yml: Add pyelftools install entry rockchip: rk3399: Get bl31.elf via BL31 board: puma: Get bl31.bin via BL31 and rk3399m0.bin via PMUM0 Kconfig: Add u-boot.itb BUILD_TARGET for Rockchip .travis.yml | 1 + Kconfig | 2 +- Makefile | 3 +- arch/arm/mach-rockchip/make_fit_atf.py | 11 ++- .../puma_rk3399/fit_spl_atf.its | 58 ------------ .../puma_rk3399/fit_spl_atf.sh | 94 +++++++++++++++++++ configs/puma-rk3399_defconfig | 2 +- doc/README.rockchip | 14 ++- 8 files changed, 115 insertions(+), 70 deletions(-) delete mode 100644 board/theobroma-systems/puma_rk3399/fit_spl_atf.its create mode 100755 board/theobroma-systems/puma_rk3399/fit_spl_atf.sh
Comments
Hi Kever, On Wed, May 8, 2019 at 12:23 AM Jagan Teki <jagan@amarulasolutions.com> wrote: > > RK3399 TPL changes are merged recently which I was thinking > of waiting for next MW. so this series skip binman changes > from previous version[1] and have only BUILD_TARGET changes. > > BINMAN changes would need another rework, where we need to consider > the TPL image as well and that would send separately. > > CHanges for v3: > - skip binman changes > - rebase on u-boot-rockchip/master > > [1] https://patchwork.ozlabs.org/cover/1092198/ > > Jagan Teki (6): > Makefile: clean image.map > Makefile: clean bl31_*.bin > travis.yml: Add pyelftools install entry > rockchip: rk3399: Get bl31.elf via BL31 > board: puma: Get bl31.bin via BL31 and rk3399m0.bin via PMUM0 > Kconfig: Add u-boot.itb BUILD_TARGET for Rockchip I think you hold for this with puma changes? any further comments please let me know.
Hi Jagan, On 06/13/2019 02:53 PM, Jagan Teki wrote: > Hi Kever, > > On Wed, May 8, 2019 at 12:23 AM Jagan Teki <jagan@amarulasolutions.com> wrote: >> RK3399 TPL changes are merged recently which I was thinking >> of waiting for next MW. so this series skip binman changes >> from previous version[1] and have only BUILD_TARGET changes. >> >> BINMAN changes would need another rework, where we need to consider >> the TPL image as well and that would send separately. >> >> CHanges for v3: >> - skip binman changes >> - rebase on u-boot-rockchip/master >> >> [1] https://patchwork.ozlabs.org/cover/1092198/ >> >> Jagan Teki (6): >> Makefile: clean image.map >> Makefile: clean bl31_*.bin >> travis.yml: Add pyelftools install entry >> rockchip: rk3399: Get bl31.elf via BL31 >> board: puma: Get bl31.bin via BL31 and rk3399m0.bin via PMUM0 >> Kconfig: Add u-boot.itb BUILD_TARGET for Rockchip > I think you hold for this with puma changes? any further comments > please let me know. > Yes, one reason is not get response from puma board. And I think this does not break the board support but maybe break the build process if not all the environment has export as expected? Thanks, - Kever
On Tue, Jun 18, 2019 at 12:40 PM Kever Yang <kever.yang@rock-chips.com> wrote: > > Hi Jagan, > > > On 06/13/2019 02:53 PM, Jagan Teki wrote: > > Hi Kever, > > > > On Wed, May 8, 2019 at 12:23 AM Jagan Teki <jagan@amarulasolutions.com> wrote: > >> RK3399 TPL changes are merged recently which I was thinking > >> of waiting for next MW. so this series skip binman changes > >> from previous version[1] and have only BUILD_TARGET changes. > >> > >> BINMAN changes would need another rework, where we need to consider > >> the TPL image as well and that would send separately. > >> > >> CHanges for v3: > >> - skip binman changes > >> - rebase on u-boot-rockchip/master > >> > >> [1] https://patchwork.ozlabs.org/cover/1092198/ > >> > >> Jagan Teki (6): > >> Makefile: clean image.map > >> Makefile: clean bl31_*.bin > >> travis.yml: Add pyelftools install entry > >> rockchip: rk3399: Get bl31.elf via BL31 > >> board: puma: Get bl31.bin via BL31 and rk3399m0.bin via PMUM0 > >> Kconfig: Add u-boot.itb BUILD_TARGET for Rockchip > > I think you hold for this with puma changes? any further comments > > please let me know. > > > > Yes, one reason is not get response from puma board. > And I think this does not break the board support but maybe > break the build process if not all the environment has export as expected? It can't break the build, for not exporting cases the script will create dummy bl31 elf and the bl31 variable assign it and finally trigger warning. fyi, the else statement on this patch [1] does what I mentioned. [1] https://patchwork.ozlabs.org/patch/1096505/
On 06/18/2019 03:16 PM, Jagan Teki wrote: > On Tue, Jun 18, 2019 at 12:40 PM Kever Yang <kever.yang@rock-chips.com> wrote: >> Hi Jagan, >> >> >> On 06/13/2019 02:53 PM, Jagan Teki wrote: >>> Hi Kever, >>> >>> On Wed, May 8, 2019 at 12:23 AM Jagan Teki <jagan@amarulasolutions.com> wrote: >>>> RK3399 TPL changes are merged recently which I was thinking >>>> of waiting for next MW. so this series skip binman changes >>>> from previous version[1] and have only BUILD_TARGET changes. >>>> >>>> BINMAN changes would need another rework, where we need to consider >>>> the TPL image as well and that would send separately. >>>> >>>> CHanges for v3: >>>> - skip binman changes >>>> - rebase on u-boot-rockchip/master >>>> >>>> [1] https://patchwork.ozlabs.org/cover/1092198/ >>>> >>>> Jagan Teki (6): >>>> Makefile: clean image.map >>>> Makefile: clean bl31_*.bin >>>> travis.yml: Add pyelftools install entry >>>> rockchip: rk3399: Get bl31.elf via BL31 >>>> board: puma: Get bl31.bin via BL31 and rk3399m0.bin via PMUM0 >>>> Kconfig: Add u-boot.itb BUILD_TARGET for Rockchip >>> I think you hold for this with puma changes? any further comments >>> please let me know. >>> >> Yes, one reason is not get response from puma board. >> And I think this does not break the board support but maybe >> break the build process if not all the environment has export as expected? > It can't break the build, for not exporting cases the script will > create dummy bl31 elf Could you create dummy bl31.elf after check if there is one already there, which is what we used to do instead of use BL31 env, and then this won't break anything and we can migrate to use BL31 smoothly. Thanks, - Kever > and the bl31 variable assign it and finally > trigger warning. fyi, the else statement on this patch [1] does what I > mentioned. > > [1] https://patchwork.ozlabs.org/patch/1096505/ > > _______________________________________________ > Linux-rockchip mailing list > Linux-rockchip@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/linux-rockchip >