Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/335248/?format=api
{ "id": 335248, "url": "http://patchwork.ozlabs.org/api/patches/335248/?format=api", "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/1396260309-2717-1-git-send-email-prabhakar@freescale.com/", "project": { "id": 18, "url": "http://patchwork.ozlabs.org/api/projects/18/?format=api", "name": "U-Boot", "link_name": "uboot", "list_id": "u-boot.lists.denx.de", "list_email": "u-boot@lists.denx.de", "web_url": null, "scm_url": null, "webscm_url": null, "list_archive_url": "", "list_archive_url_format": "", "commit_url_format": "" }, "msgid": "<1396260309-2717-1-git-send-email-prabhakar@freescale.com>", "list_archive_url": null, "date": "2014-03-31T10:05:09", "name": "[U-Boot,8/10] Makefile: Add support of RAMBOOT_SPLPBL", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": false, "hash": "9b7397541a9fff1e46a91f3d4284f6b1eef41517", "submitter": { "id": 6576, "url": "http://patchwork.ozlabs.org/api/people/6576/?format=api", "name": "Prabhakar Kushwaha", "email": "prabhakar@freescale.com" }, "delegate": { "id": 2666, "url": "http://patchwork.ozlabs.org/api/users/2666/?format=api", "username": "yorksun", "first_name": "York", "last_name": "Sun", "email": "yorksun@freescale.com" }, "mbox": "http://patchwork.ozlabs.org/project/uboot/patch/1396260309-2717-1-git-send-email-prabhakar@freescale.com/mbox/", "series": [], "comments": "http://patchwork.ozlabs.org/api/patches/335248/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/335248/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<u-boot-bounces@lists.denx.de>", "X-Original-To": "incoming@patchwork.ozlabs.org", "Delivered-To": "patchwork-incoming@bilbo.ozlabs.org", "Received": [ "from theia.denx.de (theia.denx.de [85.214.87.163])\n\tby ozlabs.org (Postfix) with ESMTP id 4B7591400B4\n\tfor <incoming@patchwork.ozlabs.org>;\n\tMon, 31 Mar 2014 21:05:47 +1100 (EST)", "from localhost (localhost [127.0.0.1])\n\tby theia.denx.de (Postfix) with ESMTP id 9D9DF4B684;\n\tMon, 31 Mar 2014 12:05:40 +0200 (CEST)", "from theia.denx.de ([127.0.0.1])\n\tby localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id napEXQcrYIKY; Mon, 31 Mar 2014 12:05:40 +0200 (CEST)", "from theia.denx.de (localhost [127.0.0.1])\n\tby theia.denx.de (Postfix) with ESMTP id 38BC14B671;\n\tMon, 31 Mar 2014 12:05:38 +0200 (CEST)", "from localhost (localhost [127.0.0.1])\n\tby theia.denx.de (Postfix) with ESMTP id E90E64B628\n\tfor <u-boot@lists.denx.de>; Mon, 31 Mar 2014 12:05:31 +0200 (CEST)", "from theia.denx.de ([127.0.0.1])\n\tby localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id av-k2NFFRwoE for <u-boot@lists.denx.de>;\n\tMon, 31 Mar 2014 12:05:29 +0200 (CEST)", "from am1outboundpool.messaging.microsoft.com\n\t(am1ehsobe001.messaging.microsoft.com [213.199.154.204])\n\tby theia.denx.de (Postfix) with ESMTPS id 43AD94B69A\n\tfor <u-boot@lists.denx.de>; Mon, 31 Mar 2014 12:05:20 +0200 (CEST)", "from mail37-am1-R.bigfish.com (10.3.201.251) by\n\tAM1EHSOBE005.bigfish.com (10.3.204.25) with Microsoft SMTP Server id\n\t14.1.225.22; Mon, 31 Mar 2014 10:05:19 +0000", "from mail37-am1 (localhost [127.0.0.1])\tby mail37-am1-R.bigfish.com\n\t(Postfix) with ESMTP id F018D40118\tfor <u-boot@lists.denx.de>;\n\tMon, 31 Mar 2014 10:05:18 +0000 (UTC)", "from mail37-am1 (localhost.localdomain [127.0.0.1]) by mail37-am1\n\t(MessageSwitch) id 1396260317500267_23493;\n\tMon, 31 Mar 2014 10:05:17 +0000 (UTC)", "from AM1EHSMHS012.bigfish.com (unknown [10.3.201.234])\tby\n\tmail37-am1.bigfish.com (Postfix) with ESMTP id 6BCBD100090;\n\tMon, 31 Mar 2014 10:05:17 +0000 (UTC)", "from mail.freescale.net (70.37.183.190) by AM1EHSMHS012.bigfish.com\n\t(10.3.207.112) with Microsoft SMTP Server (TLS) id 14.16.227.3;\n\tMon, 31 Mar 2014 10:05:16 +0000", "from tx30smr01.am.freescale.net (10.81.153.31) by\n\t039-SN1MMR1-002.039d.mgd.msft.net (10.84.1.15) with Microsoft SMTP\n\tServer (TLS) id 14.3.158.2; Mon, 31 Mar 2014 10:05:16 +0000", "from b32579-VirtualBox.ap.freescale.net\n\t(B32579-02-010232132051.ap.freescale.net [10.232.132.51])\tby\n\ttx30smr01.am.freescale.net (8.14.3/8.14.0) with ESMTP id\n\ts2VA5B7j027285; Mon, 31 Mar 2014 03:05:14 -0700" ], "X-Virus-Scanned": [ "Debian amavisd-new at theia.denx.de", "Debian amavisd-new at theia.denx.de" ], "X-policyd-weight": "NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5\n\tNOT_IN_BL_NJABL=-1.5 (only DNSBL check requested)", "X-Forefront-Antispam-Report": "CIP:70.37.183.190; KIP:(null); UIP:(null);\n\tIPV:NLI; \n\tH:mail.freescale.net; RD:none; EFVD:NLI", "X-SpamScore": "0", "X-BigFish": "VS0(zzzz1f42h2148h208ch1ee6h1de0h1fdah2073h2146h1202h1e76h2189h1d1ah1d2ah21bch1fc6hzz1de098h8275bh1de097hz2dh2a8h839hd24he5bhf0ah1288h12a5h12a9h12bdh12e5h137ah139eh13b6h1441h1504h1537h162dh1631h1758h1898h18e1h1946h19b5h1ad9h1b0ah1b2fh2222h224fh1fb3h1d0ch1d2eh1d3fh1dc1h1dfeh1dffh1e23h1fe8h1ff5h2218h2216h226dh22d0h24afh2327h2336h2438h2461h2487h24d7h2516h2545h255eh25cch25f6h2605h268bh1155h)", "From": "Prabhakar Kushwaha <prabhakar@freescale.com>", "To": "<u-boot@lists.denx.de>", "Date": "Mon, 31 Mar 2014 15:35:09 +0530", "Message-ID": "<1396260309-2717-1-git-send-email-prabhakar@freescale.com>", "X-Mailer": "git-send-email 1.7.9.5", "MIME-Version": "1.0", "X-OriginatorOrg": "freescale.com", "X-FOPE-CONNECTOR": [ "Id%0$Dn%*$RO%0$TLS%0$FQDN%$TlsDn%", "Id%0$Dn%FREESCALE.MAIL.ONMICROSOFT.COM$RO%1$TLS%0$FQDN%$TlsDn%" ], "Cc": "yorksun@freescale.com", "Subject": "[U-Boot] [PATCH 8/10] Makefile: Add support of RAMBOOT_SPLPBL", "X-BeenThere": "u-boot@lists.denx.de", "X-Mailman-Version": "2.1.11", "Precedence": "list", "List-Id": "U-Boot discussion <u-boot.lists.denx.de>", "List-Unsubscribe": "<http://lists.denx.de/mailman/options/u-boot>,\n\t<mailto:u-boot-request@lists.denx.de?subject=unsubscribe>", "List-Archive": "<http://lists.denx.de/pipermail/u-boot>", "List-Post": "<mailto:u-boot@lists.denx.de>", "List-Help": "<mailto:u-boot-request@lists.denx.de?subject=help>", "List-Subscribe": "<http://lists.denx.de/mailman/listinfo/u-boot>,\n\t<mailto:u-boot-request@lists.denx.de?subject=subscribe>", "Content-Type": "text/plain; charset=\"us-ascii\"", "Content-Transfer-Encoding": "7bit", "Sender": "u-boot-bounces@lists.denx.de", "Errors-To": "u-boot-bounces@lists.denx.de" }, "content": "Objective of this target to have concatenate binary having\n - SPL binary in PBL command format\n - U-boot binary\n\nSigned-off-by: Prabhakar Kushwaha <prabhakar@freescale.com>\n---\n Makefile | 19 +++++++++++++++++++\n README | 4 ++++\n 2 files changed, 23 insertions(+)", "diff": "diff --git a/Makefile b/Makefile\nindex e5f5a8c..e7a0838 100644\n--- a/Makefile\n+++ b/Makefile\n@@ -699,7 +699,11 @@ ALL-y += u-boot.srec u-boot.bin System.map\n \n ALL-$(CONFIG_NAND_U_BOOT) += u-boot-nand.bin\n ALL-$(CONFIG_ONENAND_U_BOOT) += u-boot-onenand.bin\n+ifeq ($(CONFIG_RAMBOOT_SPLPBL),y)\n+ALL-$(CONFIG_RAMBOOT_PBL) += u-boot-with-spl-pbl.bin\n+else\n ALL-$(CONFIG_RAMBOOT_PBL) += u-boot.pbl\n+endif\n ALL-$(CONFIG_SPL) += spl/u-boot-spl.bin\n ALL-$(CONFIG_SPL_FRAMEWORK) += u-boot.img\n ALL-$(CONFIG_TPL) += tpl/u-boot-tpl.bin\n@@ -882,6 +886,21 @@ endif\n u-boot-img.bin: spl/u-boot-spl.bin u-boot.img FORCE\n \t$(call if_changed,cat)\n \n+#Add a target to create boot binary having SPL binary in PBI format\n+#concatenated with u-boot binary. It is need by PowerPC SoC having\n+#internal SRAM <= 512KB.\n+MKIMAGEFLAGS_u-boot-spl.pbl = -n $(srctree)/$(CONFIG_SYS_FSL_PBL_RCW:\"%\"=%) \\\n+\t\t-R $(srctree)/$(CONFIG_SYS_FSL_PBL_PBI:\"%\"=%) -T pblimage\n+\n+spl/u-boot-spl.pbl: spl/u-boot-spl.bin FORCE\n+\t$(call if_changed,mkimage)\n+\n+OBJCOPYFLAGS_u-boot-with-spl-pbl.bin = -I binary -O binary --pad-to=$(CONFIG_SPL_PAD_TO) \\\n+\t\t\t --gap-fill=0xff\n+\n+u-boot-with-spl-pbl.bin: spl/u-boot-spl.pbl u-boot.bin FORCE\n+\t$(call if_changed,pad_cat)\n+\n # PPC4xx needs the SPL at the end of the image, since the reset vector\n # is located at 0xfffffffc. So we can't use the \"u-boot-img.bin\" target\n # and need to introduce a new build target with the full blown U-Boot\ndiff --git a/README b/README\nindex d8d5f60..7690fdb 100644\n--- a/README\n+++ b/README\n@@ -486,6 +486,10 @@ The following options need to be configured:\n \t\tPBI commands can be used to configure SoC before it starts the execution.\n \t\tPlease refer doc/README.pblimage for more details\n \n+\t\tCONFIG_RAMBOOT_SPLPBL\n+\t\tIt adds a target to create boot binary having SPL binary in PBI format\n+\t\tconcatenated with u-boot binary.\n+\n \t\tCONFIG_SYS_FSL_DDR_BE\n \t\tDefines the DDR controller register space as Big Endian\n \n", "prefixes": [ "U-Boot", "8/10" ] }