{"id":805850,"url":"http://patchwork.ozlabs.org/api/1.2/patches/805850/?format=json","web_url":"http://patchwork.ozlabs.org/project/uboot/patch/1503664057-11707-1-git-send-email-oe5hpm@oevsv.at/","project":{"id":18,"url":"http://patchwork.ozlabs.org/api/1.2/projects/18/?format=json","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":"<1503664057-11707-1-git-send-email-oe5hpm@oevsv.at>","list_archive_url":null,"date":"2017-08-25T12:27:37","name":"[U-Boot,v3] bootvx_fdt: fix missing 'fdt_fixup_ethernet(...)' on vxWorks boot","commit_ref":"a223e2bc10ef2bdcf2415e4453e676a9c3d70f42","pull_url":null,"state":"accepted","archived":false,"hash":"90901d42b09223bf12e71110b61ccd7f1153d6ae","submitter":{"id":48143,"url":"http://patchwork.ozlabs.org/api/1.2/people/48143/?format=json","name":"Hannes Schmelzer","email":"oe5hpm@oevsv.at"},"delegate":{"id":3651,"url":"http://patchwork.ozlabs.org/api/1.2/users/3651/?format=json","username":"trini","first_name":"Tom","last_name":"Rini","email":"trini@ti.com"},"mbox":"http://patchwork.ozlabs.org/project/uboot/patch/1503664057-11707-1-git-send-email-oe5hpm@oevsv.at/mbox/","series":[],"comments":"http://patchwork.ozlabs.org/api/patches/805850/comments/","check":"pending","checks":"http://patchwork.ozlabs.org/api/patches/805850/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 3xf0ls429lz9sRY\n\tfor <incoming@patchwork.ozlabs.org>;\n\tFri, 25 Aug 2017 22:27:05 +1000 (AEST)","by lists.denx.de (Postfix, from userid 105)\n\tid 5AC0AC21E6E; Fri, 25 Aug 2017 12:26:59 +0000 (UTC)","from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id 495B3C21E60;\n\tFri, 25 Aug 2017 12:26:57 +0000 (UTC)","by lists.denx.de (Postfix, from userid 105)\n\tid 25FE9C21E60; Fri, 25 Aug 2017 12:26:56 +0000 (UTC)","from mail.schmelzer.or.at (mail.schmelzer.or.at [87.106.47.214])\n\tby lists.denx.de (Postfix) with ESMTP id A7580C21D55\n\tfor <u-boot@lists.denx.de>; Fri, 25 Aug 2017 12:26:55 +0000 (UTC)","from localhost (s15287728.onlinehome-server.info [127.0.0.1])\n\tby hamspirit.at (Postfix) with ESMTP id 5EE588F48CB6;\n\tFri, 25 Aug 2017 12:26:55 +0000 (UTC)","from mail.schmelzer.or.at ([127.0.0.1])\n\tby localhost (s15287728.onlinehome-server.info [127.0.0.1])\n\t(amavisd-new, port 10024)\n\twith ESMTP id 0JJplm-4i9Ej; Fri, 25 Aug 2017 12:26:50 +0000 (UTC)","from scm-ws7.ad.schmelzer.or.at\n\t(192-164-18-188.adsl.highway.telekom.at [192.164.18.188])\n\tby hamspirit.at (Postfix) with ESMTP id CEDA58F488B9;\n\tFri, 25 Aug 2017 12:26:49 +0000 (UTC)"],"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":"Hannes Schmelzer <oe5hpm@oevsv.at>","To":"u-boot@lists.denx.de","Date":"Fri, 25 Aug 2017 14:27:37 +0200","Message-Id":"<1503664057-11707-1-git-send-email-oe5hpm@oevsv.at>","X-Mailer":"git-send-email 2.7.4","Cc":"trini@konsulko.com, Hannes Schmelzer <oe5hpm@oevsv.at>","Subject":"[U-Boot] [PATCH v3] bootvx_fdt: fix missing\n\t'fdt_fixup_ethernet(...)' on vxWorks boot","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":"Before commit 26d6119 (fdt: Move fdt_fixup_ethernet to a common place)\nthe fdt_fixup_ethernet(...) was called during do_bootvx_fdt(...).\n\nAfterwards the only (common) place for this fixup is during\nimage_setup_libfdt(...) and this is only called, at least on ARM\nplatform, from image_setup_linux(...).\n\nAll this ends up in the fact, that the fdt_fixup_ethernet(...) is only\ncalled on booting a linux image and not on booting a vxWorks image.\n\nWe fix this with adding the fdt_fixup_ethernet(...) call again to\ndo_bootvx_fdt(...)\n\nSigned-off-by: Hannes Schmelzer <oe5hpm@oevsv.at>\n\n---\n\nChanges in v3:\n- cosmetic changes (coding style)\n\nChanges in v2:\n- restore original behaviour from\n  b3b522f247d3f19c4f2309ab0e6a02b3dd82de45 with moving the\n  fdt_fixup_ethernet(...) call after boot_relocate_fdt(...)\n\n common/bootm_os.c | 3 +++\n 1 file changed, 3 insertions(+)","diff":"diff --git a/common/bootm_os.c b/common/bootm_os.c\nindex 1feea8a..31b1878 100644\n--- a/common/bootm_os.c\n+++ b/common/bootm_os.c\n@@ -276,6 +276,9 @@ void do_bootvx_fdt(bootm_headers_t *images)\n \t\tif (ret)\n \t\t\treturn;\n \n+\t\t/* Update ethernet nodes */\n+\t\tfdt_fixup_ethernet(*of_flat_tree);\n+\n \t\tret = fdt_add_subnode(*of_flat_tree, 0, \"chosen\");\n \t\tif ((ret >= 0 || ret == -FDT_ERR_EXISTS)) {\n \t\t\tbootline = env_get(\"bootargs\");\n","prefixes":["U-Boot","v3"]}