Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/1.2/patches/812553/?format=api
{ "id": 812553, "url": "http://patchwork.ozlabs.org/api/1.2/patches/812553/?format=api", "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/20170911190500.49885-2-klaus.goger@theobroma-systems.com/", "project": { "id": 18, "url": "http://patchwork.ozlabs.org/api/1.2/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": "<20170911190500.49885-2-klaus.goger@theobroma-systems.com>", "list_archive_url": null, "date": "2017-09-11T19:05:00", "name": "[U-Boot,v2,2/2] rockchip: board: puma_rk3399: update README flash instructions", "commit_ref": "c91403409079e4747f60b79be5816773f6a4c8b3", "pull_url": null, "state": "accepted", "archived": false, "hash": "9fdbe2d5c76d6d99649c9c8c1430fe2eae364d82", "submitter": { "id": 64320, "url": "http://patchwork.ozlabs.org/api/1.2/people/64320/?format=api", "name": "Klaus Goger", "email": "klaus.goger@theobroma-systems.com" }, "delegate": { "id": 69486, "url": "http://patchwork.ozlabs.org/api/1.2/users/69486/?format=api", "username": "ptomsich", "first_name": "Philipp", "last_name": "Tomsich", "email": "philipp.tomsich@theobroma-systems.com" }, "mbox": "http://patchwork.ozlabs.org/project/uboot/patch/20170911190500.49885-2-klaus.goger@theobroma-systems.com/mbox/", "series": [ { "id": 2546, "url": "http://patchwork.ozlabs.org/api/1.2/series/2546/?format=api", "web_url": "http://patchwork.ozlabs.org/project/uboot/list/?series=2546", "date": "2017-09-11T19:04:59", "name": "[U-Boot,v2,1/2] rockchip: board: lion_rk3368: update README flash instructions", "version": 2, "mbox": "http://patchwork.ozlabs.org/series/2546/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/812553/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/812553/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", "Authentication-Results": "ozlabs.org;\n\tspf=none (mailfrom) smtp.mailfrom=lists.denx.de\n\t(client-ip=81.169.180.215; helo=lists.denx.de;\n\tenvelope-from=u-boot-bounces@lists.denx.de;\n\treceiver=<UNKNOWN>)", "Received": [ "from lists.denx.de (dione.denx.de [81.169.180.215])\n\tby ozlabs.org (Postfix) with ESMTP id 3xrcqL5nKPz9s3T\n\tfor <incoming@patchwork.ozlabs.org>;\n\tTue, 12 Sep 2017 05:06:54 +1000 (AEST)", "by lists.denx.de (Postfix, from userid 105)\n\tid 3928FC21EDE; Mon, 11 Sep 2017 19:06:38 +0000 (UTC)", "from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id B7552C21EDE;\n\tMon, 11 Sep 2017 19:06:18 +0000 (UTC)", "by lists.denx.de (Postfix, from userid 105)\n\tid A4AD9C21DA4; Mon, 11 Sep 2017 19:05:38 +0000 (UTC)", "from mail.theobroma-systems.com (vegas.theobroma-systems.com\n\t[144.76.126.164])\n\tby lists.denx.de (Postfix) with ESMTPS id 65C9FC21DB1\n\tfor <u-boot@lists.denx.de>; Mon, 11 Sep 2017 19:05:38 +0000 (UTC)", "from [86.59.122.178] (port=58580 helo=blau.lan)\n\tby mail.theobroma-systems.com with esmtps\n\t(TLS1.2:DHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.80)\n\t(envelope-from <klaus.goger@theobroma-systems.com>)\n\tid 1drU1Z-0001vn-Cp; Mon, 11 Sep 2017 21:05:37 +0200" ], "X-Spam-Checker-Version": "SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de", "X-Spam-Level": "", "X-Spam-Status": "No, score=0.0 required=5.0 tests=none autolearn=unavailable\n\tautolearn_force=no version=3.4.0", "From": "Klaus Goger <klaus.goger@theobroma-systems.com>", "To": "U-Boot Mailing List <u-boot@lists.denx.de>", "Date": "Mon, 11 Sep 2017 21:05:00 +0200", "Message-Id": "<20170911190500.49885-2-klaus.goger@theobroma-systems.com>", "X-Mailer": "git-send-email 2.11.0", "In-Reply-To": "<20170911190500.49885-1-klaus.goger@theobroma-systems.com>", "References": "<20170911190500.49885-1-klaus.goger@theobroma-systems.com>", "X-Mailman-Approved-At": "Mon, 11 Sep 2017 19:06:16 +0000", "Cc": "Klaus Goger <klaus.goger@theobroma-systems.com>", "Subject": "[U-Boot] [PATCH v2 2/2] rockchip: board: puma_rk3399: update README\n\tflash instructions", "X-BeenThere": "u-boot@lists.denx.de", "X-Mailman-Version": "2.1.18", "Precedence": "list", "List-Id": "U-Boot discussion <u-boot.lists.denx.de>", "List-Unsubscribe": "<https://lists.denx.de/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": "<https://lists.denx.de/listinfo/u-boot>,\n\t<mailto:u-boot-request@lists.denx.de?subject=subscribe>", "MIME-Version": "1.0", "Content-Type": "text/plain; charset=\"utf-8\"", "Content-Transfer-Encoding": "base64", "Errors-To": "u-boot-bounces@lists.denx.de", "Sender": "\"U-Boot\" <u-boot-bounces@lists.denx.de>" }, "content": "Puma supports other boot sources then SD-Card. Update README to include\nthe required steps.\n\n * how to package a SPI-NOR SPL\n * how to flash eMMC with rkdeveloptool\n\nSigned-off-by: Klaus Goger <klaus.goger@theobroma-systems.com>\nSigned-off-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>\n\n---\n\nChanges in v2:\n- add missing ./configure step while building rkdeveloptool\n\n board/theobroma-systems/puma_rk3399/README | 51 +++++++++++++++++++++++++-----\n 1 file changed, 43 insertions(+), 8 deletions(-)", "diff": "diff --git a/board/theobroma-systems/puma_rk3399/README b/board/theobroma-systems/puma_rk3399/README\nindex 214281a329..f67dfb451f 100644\n--- a/board/theobroma-systems/puma_rk3399/README\n+++ b/board/theobroma-systems/puma_rk3399/README\n@@ -55,18 +55,53 @@ Compile the U-Boot\n Package the image\n =================\n \n-\t> tools/mkimage -n rk3399 -T rksd -d spl/u-boot-spl.bin spl.img\n-\t> make CROSS_COMPILE=aarch64-linux-gnu- u-boot.itb\n+Creating a SPL image for SD-Card/eMMC\n+ > tools/mkimage -n rk3399 -T rksd -d spl/u-boot-spl.bin spl_mmc.img\n+Creating a SPL image for SPI-NOR\n+ > tools/mkimage -n rk3399 -T rkspi -d spl/u-boot-spl.bin spl_nor.img\n+Create the FIT image containing U-Boot proper, ATF, M0 Firmware, devicetree\n+ > make CROSS_COMPILE=aarch64-linux-gnu- u-boot.itb\n \n Flash the image\n ===============\n \n-Copy the SPL to offset 32k and the FIT image containing the payloads\n-(U-Boot proper, ATF, M0 Firmware, devicetree) to offset 256k on a SD\n-card.\n+Copy the SPL to offset 32k for SD/eMMC, offset 0 for NOR-Flash and the FIT\n+image to offset 256k card.\n \n- > dd if=spl.img of=/dev/sdb seek=64\n+SD-Card\n+-------\n+\n+ > dd if=spl_mmc.img of=/dev/sdb seek=64\n > dd if=u-boot.itb of=/dev/sdb seek=512\n \n-After powering up the board (with the inserted SD card), you should see\n-a U-Boot console on UART0 (115200n8).\n+eMMC\n+----\n+\n+rkdeveloptool allows to flash the on-board eMMC via the USB OTG interface with\n+help of the Rockchip loader binary.\n+\n+ > git clone https://github.com/rockchip-linux/rkdeveloptool\n+ > cd rkdeveloptool\n+ > autoreconf -i && ./configure && make\n+ > git clone https://github.com/rockchip-linux/rkbin.git\n+ > ./rkdeveloptool db rkbin/rk33/rk3399_loader_v1.08.106.bin\n+ > ./rkdeveloptool wl 64 ../spl_mmc.img\n+ > ./rkdeveloptool wl 512 ../u-boot.itb\n+\n+NOR-Flash\n+---------\n+\n+Writing the SPI NOR Flash requires a running U-Boot. For the sake of simplicity\n+we assume you have a SD-Card with a partition containing the required files\n+ready.\n+\n+ > load mmc 1:1 ${kernel_addr_r} spl_nor.img\n+ > sf probe\n+ > sf erase 0 +$filesize\n+ > sf write $kernel_addr_r 0 ${filesize}\n+ > load mmc 1:1 ${kernel_addr_r} u-boot.itb\n+ > sf erase 0x40000 +$filesize\n+ > sf write $kernel_addr_r 0x40000 ${filesize}\n+\n+\n+Reboot the system and you should see a U-Boot console on UART0 (115200n8).\n", "prefixes": [ "U-Boot", "v2", "2/2" ] }