Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/1844519/?format=api
{ "id": 1844519, "url": "http://patchwork.ozlabs.org/api/patches/1844519/?format=api", "web_url": "http://patchwork.ozlabs.org/project/buildroot/patch/20231006140511.3840643-4-enki@fsck.pl/", "project": { "id": 27, "url": "http://patchwork.ozlabs.org/api/projects/27/?format=api", "name": "Buildroot development", "link_name": "buildroot", "list_id": "buildroot.buildroot.org", "list_email": "buildroot@buildroot.org", "web_url": "", "scm_url": "", "webscm_url": "", "list_archive_url": "", "list_archive_url_format": "", "commit_url_format": "" }, "msgid": "<20231006140511.3840643-4-enki@fsck.pl>", "list_archive_url": null, "date": "2023-10-06T14:05:11", "name": "[v3,3/3] board/d-link/dns320l: new board", "commit_ref": null, "pull_url": null, "state": "new", "archived": false, "hash": "5d4a9bb2fff4dbccb5dc9e52225e994d509bd969", "submitter": { "id": 87303, "url": "http://patchwork.ozlabs.org/api/people/87303/?format=api", "name": "enki", "email": "enki@fsck.pl" }, "delegate": null, "mbox": "http://patchwork.ozlabs.org/project/buildroot/patch/20231006140511.3840643-4-enki@fsck.pl/mbox/", "series": [ { "id": 376464, "url": "http://patchwork.ozlabs.org/api/series/376464/?format=api", "web_url": "http://patchwork.ozlabs.org/project/buildroot/list/?series=376464", "date": "2023-10-06T14:05:08", "name": "Support for D-Link DNS-320L", "version": 3, "mbox": "http://patchwork.ozlabs.org/series/376464/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/1844519/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/1844519/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<buildroot-bounces@buildroot.org>", "X-Original-To": [ "incoming-buildroot@patchwork.ozlabs.org", "buildroot@lists.busybox.net" ], "Delivered-To": [ "patchwork-incoming-buildroot@legolas.ozlabs.org", "buildroot@osuosl.org", "enki@fsck.pl" ], "Authentication-Results": "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=buildroot.org\n (client-ip=2605:bc80:3010::138; helo=smtp1.osuosl.org;\n envelope-from=buildroot-bounces@buildroot.org; receiver=patchwork.ozlabs.org)", "Received": [ "from smtp1.osuosl.org (smtp1.osuosl.org [IPv6:2605:bc80:3010::138])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4S29Fq4ZlBz1yqD\n\tfor <incoming-buildroot@patchwork.ozlabs.org>;\n Sat, 7 Oct 2023 01:06:23 +1100 (AEDT)", "from localhost (localhost [127.0.0.1])\n\tby smtp1.osuosl.org (Postfix) with ESMTP id B3DA081E37;\n\tFri, 6 Oct 2023 14:06:21 +0000 (UTC)", "from smtp1.osuosl.org ([127.0.0.1])\n\tby localhost (smtp1.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id rzoL45UA9VuI; Fri, 6 Oct 2023 14:06:18 +0000 (UTC)", "from ash.osuosl.org (ash.osuosl.org [140.211.166.34])\n\tby smtp1.osuosl.org (Postfix) with ESMTP id E484982356;\n\tFri, 6 Oct 2023 14:06:16 +0000 (UTC)", "from smtp1.osuosl.org (smtp1.osuosl.org [140.211.166.138])\n by ash.osuosl.org (Postfix) with ESMTP id 22AF71BF34F\n for <buildroot@lists.busybox.net>; Fri, 6 Oct 2023 14:05:46 +0000 (UTC)", "from localhost (localhost [127.0.0.1])\n by smtp1.osuosl.org (Postfix) with ESMTP id F0D998188A\n for <buildroot@lists.busybox.net>; Fri, 6 Oct 2023 14:05:45 +0000 (UTC)", "from smtp1.osuosl.org ([127.0.0.1])\n by localhost (smtp1.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n with ESMTP id dtIUjBXvAbhY for <buildroot@lists.busybox.net>;\n Fri, 6 Oct 2023 14:05:44 +0000 (UTC)", "from sender3-of-o57.zoho.com (sender3-of-o57.zoho.com\n [136.143.184.57])\n by smtp1.osuosl.org (Postfix) with ESMTPS id 763A58183D\n for <buildroot@buildroot.org>; Fri, 6 Oct 2023 14:05:44 +0000 (UTC)", "from newton.shill.gq (193.93.205.86 [193.93.205.86]) by\n mx.zohomail.com with SMTPS id 1696601139131820.492309379511;\n Fri, 6 Oct 2023 07:05:39 -0700 (PDT)" ], "DKIM-Filter": [ "OpenDKIM Filter v2.11.0 smtp1.osuosl.org B3DA081E37", "OpenDKIM Filter v2.11.0 smtp1.osuosl.org E484982356", "OpenDKIM Filter v2.11.0 smtp1.osuosl.org F0D998188A", "OpenDKIM Filter v2.11.0 smtp1.osuosl.org 763A58183D" ], "X-Virus-Scanned": [ "amavisd-new at osuosl.org", "amavisd-new at osuosl.org" ], "ARC-Seal": "i=1; a=rsa-sha256; t=1696601140; cv=none;\n d=zohomail.com; s=zohoarc;\n b=ChwUeKt4RX6gIivBeP9S982xcaXBRdP24P8rFJcNcm7xKgum0NT+LQyURu20oWklXUPdaSLgLrTWrxe7m46wyH0KN/jHf4FQHYGA8Z+MxZvUu4ycAVWYufpnxXB5LUpQ3L+Q/BFw9Y4067ZGm86fxOUkKXyspGvMgjnStDM0b0E=", "ARC-Message-Signature": "i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com;\n s=zohoarc; t=1696601140;\n h=Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:Subject:To:To:Message-Id:Reply-To;\n bh=KjipEf2Yi+iJ4ADrbQyJnLPH8TC/g6tCiik6YKvS6BQ=;\n b=gmkWRwtGcPIR+cL1vuBJ5hFEtTE25zhZYRDHX2T9QdtwupR6MMnip24TkFfUmRySLXpdht+9qFZUvunQfhBnxtJCpEZX/lo2KY9NsQKAU9QhLfNRKBTKayySuViLRcp0/+b86mHdENMOOlfsYeNcV6pg/yqrK7vukiuQxr1jdb8=", "ARC-Authentication-Results": "i=1; mx.zohomail.com; dkim=pass header.i=fsck.pl;\n spf=pass smtp.mailfrom=enki@fsck.pl;\n dmarc=pass header.from=<enki@fsck.pl>", "From": "Maciej Grela <enki@fsck.pl>", "To": "buildroot@buildroot.org", "Message-ID": "<20231006140511.3840643-4-enki@fsck.pl>", "Date": "Fri, 6 Oct 2023 16:05:11 +0200", "X-Mailer": "git-send-email 2.39.2", "In-Reply-To": "<20231004131256.2113233-2-enki@fsck.pl>", "References": "<20231004131256.2113233-2-enki@fsck.pl>", "MIME-Version": "1.0", "X-ZohoMailClient": "External", "X-Mailman-Original-DKIM-Signature": "v=1; a=rsa-sha256; q=dns/txt;\n c=relaxed/relaxed; t=1696601140;\n s=zoho; d=fsck.pl; i=enki@fsck.pl;\n h=From:From:To:To:Cc:Cc:Message-ID:Subject:Subject:Date:Date:In-Reply-To:References:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-Id:Reply-To;\n bh=KjipEf2Yi+iJ4ADrbQyJnLPH8TC/g6tCiik6YKvS6BQ=;\n b=Fjw9bvcuyDeTnV7G7wtBMJtNJjvPIetOr+q6tU3x+fkoELVJUx/NxL2ptIXV5tZ/\n Y0z7/xqcsUmmB53FRTdhbusR4sqCMhxNBTGqaoD7y4ooYWrIlvvmk77i8llHBoZqFyM\n IFXiN1FfihV92omCp27Fo6PKE3JdNZkVruDX+3LY=", "X-Mailman-Original-Authentication-Results": "smtp1.osuosl.org;\n dkim=pass (1024-bit key) header.d=fsck.pl header.i=enki@fsck.pl\n header.a=rsa-sha256 header.s=zoho header.b=Fjw9bvcu", "Subject": "[Buildroot] [PATCH v3 3/3] board/d-link/dns320l: new board", "X-BeenThere": "buildroot@buildroot.org", "X-Mailman-Version": "2.1.29", "Precedence": "list", "List-Id": "Discussion and development of buildroot <buildroot.buildroot.org>", "List-Unsubscribe": "<https://lists.buildroot.org/mailman/options/buildroot>,\n <mailto:buildroot-request@buildroot.org?subject=unsubscribe>", "List-Archive": "<http://lists.buildroot.org/pipermail/buildroot/>", "List-Post": "<mailto:buildroot@buildroot.org>", "List-Help": "<mailto:buildroot-request@buildroot.org?subject=help>", "List-Subscribe": "<https://lists.buildroot.org/mailman/listinfo/buildroot>,\n <mailto:buildroot-request@buildroot.org?subject=subscribe>", "Cc": "Maciej Grela <enki@fsck.pl>", "Content-Type": "text/plain; charset=\"utf-8\"", "Content-Transfer-Encoding": "base64", "Errors-To": "buildroot-bounces@buildroot.org", "Sender": "\"buildroot\" <buildroot-bounces@buildroot.org>" }, "content": "Add support for the D-Link DNS-320L using:\n\n- U-Boot 1.1.4 (in device flash)\n- Linux kernel 6.5.5\n\nThis is a 2-Bay 3.5'' SATA NAS with the following specs:\n\n- Marvell 88F6702 (1 GHz) CPU\n- 256 MiB DDR2 RAM\n- 128 MiB NAND Flash\n- 2 x SATA\n- 1 x 1000 Mbit/s Ethernet port\n- 1 x USB 2.0\n\nThe builtin bootloader banner is:\nU-Boot 1.1.4 (Aug 22 2012 - 17:06:54) Marvell version: 3.6.0.DNS-320L.01\n\nManufacturer product page: http://sharecenter.dlink.com/products/DNS-320\nDevice wiki: https://wikidevi.wi-cat.ru/D-Link_DNS-320L_rev_A1\n\nSigned-off-by: Maciej Grela <enki@fsck.pl>\n---\n DEVELOPERS | 6 +\n board/d-link/dns320l/dts/kirkwood-dns320l.dts | 218 ++++++++++++++++++\n configs/dns320l_defconfig | 16 ++\n 3 files changed, 240 insertions(+)\n create mode 100644 board/d-link/dns320l/dts/kirkwood-dns320l.dts\n create mode 100644 configs/dns320l_defconfig", "diff": "diff --git a/DEVELOPERS b/DEVELOPERS\nindex c45e7315da..76e8644073 100644\n--- a/DEVELOPERS\n+++ b/DEVELOPERS\n@@ -1950,6 +1950,12 @@ N:\tLudwig Kormann <ludwig.kormann@ict42.de>\n F:\tboard/in-circuit/\n F:\tconfigs/icnova*\n \n+N:\tMaciej Grela <enki@fsck.pl>\n+F:\tboard/d-link/dns320l/\n+F:\tconfigs/dns320l_defconfig\n+F:\tpackage/dns320l-daemon\n+F:\tpackage/iniparser\n+\n N:\tMaeva Manuel <maeva.manuel@oss.nxp.com>\n F:\tboard/freescale/imx8qmmek/\n F:\tconfigs/freescale_imx8qmmek_defconfig\ndiff --git a/board/d-link/dns320l/dts/kirkwood-dns320l.dts b/board/d-link/dns320l/dts/kirkwood-dns320l.dts\nnew file mode 100644\nindex 0000000000..660508a51a\n--- /dev/null\n+++ b/board/d-link/dns320l/dts/kirkwood-dns320l.dts\n@@ -0,0 +1,218 @@\n+/dts-v1/;\n+\n+/*\n+ * Device Tree file for DLINK DNS-320L\n+ *\n+ * Copyright (C) 2015, Sunke Schlüters <sunke-dev@schlueters.de>\n+ *\n+ * This program is free software; you can redistribute it and/or\n+ * modify it under the terms of the GNU General Public License\n+ * as published by the Free Software Foundation; either version\n+ * 2 of the License, or (at your option) any later version.\n+ *\n+ *\n+ * This file is based on the work of Andreas Böhler <dev@aboehler.at>:\n+ * - http://www.aboehler.at/doku/doku.php/projects:dns320l\n+ * - http://www.aboehler.at/hg/linux-dns320l/file/ba7a60ad7687/linux-3.12/kirkwood-dns320l.dts\n+ */\n+\n+#include \"marvell/kirkwood.dtsi\"\n+#include \"marvell/kirkwood-6281.dtsi\"\n+\n+/ {\n+\tmodel = \"D-Link DNS-320L\";\n+\tcompatible = \"dlink,dns-320l\", \"marvell,kirkwood-88f6702\", \"marvell,kirkwood\";\n+\n+\tmemory {\n+\t\tdevice_type = \"memory\";\n+\t\treg = <0x00000000 0x10000000>;\n+\t};\n+\n+\tchosen {\n+\t\tbootargs = \"console=ttyS0,115200n8 earlyprintk\";\n+\t\tstdout-path = &uart0;\n+\t};\n+\n+\tgpio-keys {\n+\t\tcompatible = \"gpio-keys\";\n+\t\t#address-cells = <1>;\n+\t\t#size-cells = <0>;\n+\t\tpinctrl-0 = <&pmx_button_reset &pmx_button_usb_copy>;\n+\t\tpinctrl-names = \"default\";\n+\n+\t\tbutton@1 {\n+\t\t\tlabel = \"Reset push button\";\n+\t\t\tlinux,code = <KEY_RESTART>;\n+\t\t\tgpios = <&gpio0 28 1>;\n+\t\t};\n+\t\tbutton@2 {\n+\t\t\tlabel = \"USB unmount button\";\n+\t\t\tlinux,code = <KEY_EJECTCD>;\n+\t\t\tgpios = <&gpio0 27 1>;\n+\t\t};\n+\t};\n+\n+\tgpio-leds {\n+\t\tcompatible = \"gpio-leds\";\n+\t\tpinctrl-0 = <&pmx_led_usb_blue &pmx_led_red_right_hdd\n+\t\t\t &pmx_led_red_left_hdd &pmx_led_usb_orange>;\n+\t\tpinctrl-names = \"default\";\n+\n+\t\tblue-usb {\n+\t\t\tlabel = \"usb_blue\";\n+\t\t\tgpios = <&gpio0 25 GPIO_ACTIVE_HIGH>; \n+\t\t};\n+\t\torange-usb {\n+\t\t\tlabel = \"usb_orange\";\n+\t\t\tgpios = <&gpio0 26 GPIO_ACTIVE_HIGH>; \n+\t\t};\n+\t\torange-l_hdd {\n+\t\t\tlabel = \"hdd1_orange\";\n+\t\t\tgpios = <&gpio0 23 GPIO_ACTIVE_HIGH>; \n+\t\t};\n+\t\torange-r_hdd {\n+\t\t\tlabel = \"hdd2_orange\";\n+\t\t\tgpios = <&gpio0 22 GPIO_ACTIVE_HIGH>; \n+\t\t};\n+\t};\n+\n+ \tocp@f1000000 {\n+\t\tpinctrl: pin-controller@10000 {\n+\n+\t\t\tpinctrl-0 = <&pmx_button_power>;\n+\t\t\tpinctrl-names = \"default\";\n+\n+\t\t\tpmx_sata0: pmx-sata0 {\n+\t\t\t\tmarvell,pins = \"mpp20\";\n+\t\t\t\tmarvell,function = \"sata0\";\n+\t\t\t};\n+\t\t\tpmx_sata1: pmx-sata1 {\n+\t\t\t\tmarvell,pins = \"mpp21\";\n+\t\t\t\tmarvell,function = \"sata1\";\n+\t\t\t};\n+\t\t\tpmx_led_red_right_hdd: pmx-led-red-right-hdd {\n+\t\t\t marvell,pins = \"mpp22\";\n+\t\t\t marvell,function = \"gpio\";\n+\t\t\t};\n+\t\t\tpmx_led_red_left_hdd: pmx-led-red-left-hdd {\n+\t\t\t marvell,pins = \"mpp23\";\n+\t\t\t marvell,function = \"gpio\";\n+\t\t\t};\n+\t\t\tpmx_power_sata: pmx-power-sata {\n+\t\t\t marvell,pins = \"mpp24\";\n+\t\t\t marvell,function = \"gpio\";\n+\t\t\t};\n+\t\t\tpmx_led_usb_blue: pmx-led-usb-blue {\n+\t\t\t marvell,pins = \"mpp25\";\n+\t\t\t marvell,function = \"gpio\";\n+\t\t\t};\n+\t\t\tpmx_led_usb_orange: pmx-led-usb-orange {\n+\t\t\t\tmarvell,pins = \"mpp26\";\n+\t\t\t\tmarvell,function = \"gpio\";\n+\t\t\t};\n+\t\t\tpmx_button_usb_copy: pmx-button-usb-copy {\n+\t\t\t\tmarvell,pins = \"mpp27\";\n+\t\t\t\tmarvell,function = \"gpio\";\n+\t\t\t};\t\t\t\n+\t\t\tpmx_button_reset: pmx-button-reset {\n+\t\t\t\tmarvell,pins = \"mpp28\";\n+\t\t\t\tmarvell,function = \"gpio\";\n+\t\t\t};\n+\t\t\tpmx_button_power: pmx-button-power { // I can't get this one to trigger a button press...\n+\t\t\t\tmarvell,pins = \"mpp29\";\n+\t\t\t\tmarvell,function = \"gpio\";\n+\t\t\t};\t\t\t\t\t\t\n+\t\t};\n+\t\tsata@80000 {\n+\t\t\tstatus = \"okay\";\n+\t\t\tnr-ports = <2>;\n+\t\t};\n+\t\tserial@12000 {\n+\t\t\tstatus = \"okay\";\n+\t\t};\n+\n+\t\tserial@12100 {\n+\t\t\tpinctrl-0 = <&pmx_uart1>;\n+\t\t\tpinctrl-names = \"default\";\n+\t\t\tstatus = \"okay\";\n+\t\t};\n+\t};\n+\n+\tregulators {\n+\t\tcompatible = \"simple-bus\";\n+\t\t#address-cells = <1>;\n+\t\t#size-cells = <0>;\n+\t\tpinctrl-0 = <&pmx_power_sata>;\n+\t\tpinctrl-names = \"default\";\n+\n+\t\tsata_power: regulator@1 {\n+\t\t\tcompatible = \"regulator-fixed\";\n+\t\t\treg = <1>;\n+\t\t\tregulator-name = \"SATA Power\";\n+\t\t\tregulator-min-microvolt = <5000000>;\n+\t\t\tregulator-max-microvolt = <5000000>;\n+\t\t\tenable-active-high;\n+\t\t\tregulator-always-on;\n+\t\t\tregulator-boot-on;\n+\t\t\tgpio = <&gpio1 24 0>;\n+\t\t};\n+\t};\n+};\n+\n+&nand {\n+\tpinctrl-0 = <&pmx_nand>;\n+\tpinctrl-names = \"default\";\n+\tstatus = \"okay\";\n+\tchip-delay = <35>;\n+\n+\tpartition@0 {\n+\t\tlabel = \"u-boot\";\n+\t\treg = <0x0000000 0x100000>;\n+\t\tread-only;\n+\t};\n+\n+\tpartition@100000 {\n+\t\tlabel = \"uImage\";\n+\t\treg = <0x0100000 0x500000>;\n+\t};\n+\n+\tpartition@600000 {\n+\t\tlabel = \"ramdisk\";\n+\t\treg = <0x0600000 0x500000>;\n+\t};\n+\n+\tpartition@b00000 {\n+\t\tlabel = \"image\";\n+\t\treg = <0x0b00000 0x6400000>;\n+\t};\n+\n+\tpartition@6f00000 {\n+\t\tlabel = \"mini firmware\";\n+\t\treg = <0x6f00000 0xa00000>;\n+\t};\n+\n+\tpartition@7900000 {\n+\t\tlabel = \"config\";\n+\t\treg = <0x7900000 0x500000>;\n+\t};\n+\n+\tpartition@7e00000 {\n+\t label = \"my-dlink\";\n+\t reg = <0x7e00000 0x200000>;\n+\t};\n+};\n+\n+&mdio {\n+\tstatus = \"okay\";\n+\n+\tethphy0: ethernet-phy@0 {\n+\t\treg = <0>;\n+\t};\n+};\n+\n+ð0 {\n+\tstatus = \"okay\";\n+\tethernet0-port@0 {\n+\t\tphy-handle = <ðphy0>;\n+\t};\n+};\ndiff --git a/configs/dns320l_defconfig b/configs/dns320l_defconfig\nnew file mode 100644\nindex 0000000000..f281984267\n--- /dev/null\n+++ b/configs/dns320l_defconfig\n@@ -0,0 +1,16 @@\n+BR2_arm=y\n+BR2_TARGET_GENERIC_GETTY_PORT=\"ttyS0\"\n+BR2_SYSTEM_DHCP=\"eth0\"\n+BR2_LINUX_KERNEL=y\n+BR2_LINUX_KERNEL_CUSTOM_VERSION=y\n+BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE=\"6.5.5\"\n+BR2_LINUX_KERNEL_DEFCONFIG=\"mvebu_v5\"\n+BR2_LINUX_KERNEL_APPENDED_UIMAGE=y\n+BR2_LINUX_KERNEL_UIMAGE_LOADADDR=\"0x8000\"\n+BR2_LINUX_KERNEL_CUSTOM_DTS_PATH=\"board/d-link/dns320l/dts/kirkwood-dns320l.dts\"\n+BR2_TARGET_ROOTFS_CPIO=y\n+BR2_TARGET_ROOTFS_CPIO_GZIP=y\n+BR2_TARGET_ROOTFS_CPIO_UIMAGE=y\n+\n+# The package is required for proper power management\n+BR2_PACKAGE_DNS320L_DAEMON=y\n", "prefixes": [ "v3", "3/3" ] }