Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/1530005/?format=api
{ "id": 1530005, "url": "http://patchwork.ozlabs.org/api/patches/1530005/?format=api", "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/20210920084016.2536084-4-adeep@lexina.in/", "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": "<20210920084016.2536084-4-adeep@lexina.in>", "list_archive_url": null, "date": "2021-09-20T08:40:16", "name": "[v3,3/3] ARM: amlogic: add JetHub D1/H1 docs", "commit_ref": "2ae382285bc527084bf5c22bdf16aae7c7017df6", "pull_url": null, "state": "accepted", "archived": false, "hash": "bd1c83c7928d8dfa9323493acec3a709b8dadf85", "submitter": { "id": 82459, "url": "http://patchwork.ozlabs.org/api/people/82459/?format=api", "name": "Viacheslav Bocharov", "email": "adeep@lexina.in" }, "delegate": { "id": 84350, "url": "http://patchwork.ozlabs.org/api/users/84350/?format=api", "username": "narmstrong", "first_name": "Neil", "last_name": "Armstrong", "email": "narmstrong@baylibre.com" }, "mbox": "http://patchwork.ozlabs.org/project/uboot/patch/20210920084016.2536084-4-adeep@lexina.in/mbox/", "series": [ { "id": 263079, "url": "http://patchwork.ozlabs.org/api/series/263079/?format=api", "web_url": "http://patchwork.ozlabs.org/project/uboot/list/?series=263079", "date": "2021-09-20T08:40:14", "name": "ARM: meson: add support for JetHub D1/H1", "version": 3, "mbox": "http://patchwork.ozlabs.org/series/263079/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/1530005/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/1530005/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<u-boot-bounces@lists.denx.de>", "X-Original-To": "incoming@patchwork.ozlabs.org", "Delivered-To": "patchwork-incoming@ozlabs.org", "Authentication-Results": [ "ozlabs.org;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=lexina.in header.i=@lexina.in header.a=rsa-sha256\n header.s=dkim header.b=NYKquJj/;\n\tdkim-atps=neutral", "ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de\n (client-ip=85.214.62.61; helo=phobos.denx.de;\n envelope-from=u-boot-bounces@lists.denx.de; receiver=<UNKNOWN>)", "phobos.denx.de;\n dmarc=pass (p=quarantine dis=none) header.from=lexina.in", "phobos.denx.de;\n spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de", "phobos.denx.de;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=lexina.in header.i=@lexina.in header.b=\"NYKquJj/\";\n\tdkim-atps=neutral", "phobos.denx.de; dmarc=pass (p=quarantine dis=none)\n header.from=lexina.in", "phobos.denx.de; spf=pass smtp.mailfrom=adeep@lexina.in" ], "Received": [ "from phobos.denx.de (phobos.denx.de [85.214.62.61])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange X25519 server-signature RSA-PSS (4096 bits))\n\t(No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 4HCdLm66xBz9sPT\n\tfor <incoming@patchwork.ozlabs.org>; Mon, 20 Sep 2021 18:41:04 +1000 (AEST)", "from h2850616.stratoserver.net (localhost [IPv6:::1])\n\tby phobos.denx.de (Postfix) with ESMTP id E8AD18325E;\n\tMon, 20 Sep 2021 10:41:00 +0200 (CEST)", "by phobos.denx.de (Postfix, from userid 109)\n id C7C8B82A01; Mon, 20 Sep 2021 10:40:43 +0200 (CEST)", "from mx.msync.work (mx.msync.work [95.217.65.204])\n (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))\n (No client certificate requested)\n by phobos.denx.de (Postfix) with ESMTPS id B71E682A01\n for <u-boot@lists.denx.de>; Mon, 20 Sep 2021 10:40:24 +0200 (CEST)", "from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon)\n with ESMTPSA id 54AA310D3D6; Mon, 20 Sep 2021 08:40:23 +0000 (UTC)" ], "X-Spam-Checker-Version": "SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de", "X-Spam-Level": "", "X-Spam-Status": "No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED,\n DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS\n autolearn=ham autolearn_force=no version=3.4.2", "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=lexina.in; s=dkim;\n t=1632127223; h=from:subject:date:message-id:to:cc:mime-version:\n content-transfer-encoding:in-reply-to:references;\n bh=wNXyAflti0g0z8oMdj60zbdrZH1OEGqe6VivS2Gq4QM=;\n b=NYKquJj/8vNlj1GY1fyCXsvNJeN1I+jXPC1vxUUJyg+nMxh4JjzmgueFbuLl3kSSP6xutb\n H0SLlW458PrVkKKW/Fnv+nOSzMeMVp8cy9x5dgEydYJchkT+4bmjIHbQTiOTLE8wEjArk6\n +hn1XmQAo+k4NObk7OPk3EbgSgRTXUdE3U51yd7Ui4+c/bdQhFwOwR1u0sOvWemo238Hqq\n n/owiwkzxTNJN4QDtAXzeZuMn7vPRb0wzM8WKwfQt1p9x3r6dTTLYbvEGGMiKb4tb14LhS\n fYMJh3L0jrwwQrk9gZOWN3oNcv6eYJaPCXxqPASVfa8xsUm1DFVO7wXPx6t4Eg==", "From": "Vyacheslav Bocharov <adeep@lexina.in>", "To": "Neil Armstrong <narmstrong@baylibre.com>", "Cc": "u-boot@lists.denx.de,\n\tu-boot-amlogic@groups.io", "Subject": "[PATCH v3 3/3] ARM: amlogic: add JetHub D1/H1 docs", "Date": "Mon, 20 Sep 2021 11:40:16 +0300", "Message-Id": "<20210920084016.2536084-4-adeep@lexina.in>", "In-Reply-To": "<20210920084016.2536084-1-adeep@lexina.in>", "References": "<20210920084016.2536084-1-adeep@lexina.in>", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "X-Last-TLS-Session-Version": "TLSv1.3", "X-BeenThere": "u-boot@lists.denx.de", "X-Mailman-Version": "2.1.34", "Precedence": "list", "List-Id": "U-Boot discussion <u-boot.lists.denx.de>", "List-Unsubscribe": "<https://lists.denx.de/options/u-boot>,\n <mailto:u-boot-request@lists.denx.de?subject=unsubscribe>", "List-Archive": "<https://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 <mailto:u-boot-request@lists.denx.de?subject=subscribe>", "Errors-To": "u-boot-bounces@lists.denx.de", "Sender": "\"U-Boot\" <u-boot-bounces@lists.denx.de>", "X-Virus-Scanned": "clamav-milter 0.103.2 at phobos.denx.de", "X-Virus-Status": "Clean" }, "content": "Fix doc/board/amlogic/index.rst:\n- Add S905W to S905X column.\n- Add JetHub devices to the corresponding columns.\n- Fix tabs to spaces for table alignment\n\nAdd doc/board/amlogic files:\n- jethub-j100.rst\n- jethub-j80.rst\n\nSigned-off-by: Vyacheslav Bocharov <adeep@lexina.in>\nReviewed-by: Neil Armstrong <narmstrong@baylibre.com>\n---\n doc/board/amlogic/index.rst | 128 +++++++++++++++---------------\n doc/board/amlogic/jethub-j100.rst | 108 +++++++++++++++++++++++++\n doc/board/amlogic/jethub-j80.rst | 97 ++++++++++++++++++++++\n 3 files changed, 270 insertions(+), 63 deletions(-)\n create mode 100644 doc/board/amlogic/jethub-j100.rst\n create mode 100644 doc/board/amlogic/jethub-j80.rst", "diff": "diff --git a/doc/board/amlogic/index.rst b/doc/board/amlogic/index.rst\nindex 2913ab281a..c18f1b7e71 100644\n--- a/doc/board/amlogic/index.rst\n+++ b/doc/board/amlogic/index.rst\n@@ -10,69 +10,69 @@ An up-do-date matrix is also available on: http://linux-meson.com\n \n This matrix concerns the actual source code version.\n \n-+-------------------------------+-----------+-----------------+--------------+------------+------------+-------------+--------------+\n-| \t| S905 | S905X | S912 | A113X | S905X2 | S922X | S905X3 |\n-| \t\t\t|\t | S805X \t | S905D |\t | S905D2 | A311D | S905D3 |\n-| \t\t\t|\t |\t\t |\t | | S905Y2 |\t | |\n-+===============================+===========+=================+==============+============+============+=============+==============+\n-| Boards \t| Odroid-C2 | P212 | Khadas VIM2 | S400 | U200 | Odroid-N2 | SEI610 |\n-| \t\t\t| Nanopi-K2 | Khadas-VIM | Libretech-PC |\t | SEI510 | Khadas-VIM3 | Khadas-VIM3L |\n-| \t\t\t| P200\t | LibreTech-CC v1 |\tWeTek Core2 |\t | | GT-King/Pro | Odroid-C4 |\n-| \t\t\t| P201\t | LibreTech-AC v2 |\t |\t | | GSKing-X | Odroid-HC4 |\n-| | | | | | | | BananaPi-M5 |\n-+-------------------------------+-----------+-----------------+--------------+------------+------------+-------------+--------------+\n-| UART \t| **Yes** | **Yes** | **Yes** | **Yes** | **Yes** | **Yes** | **Yes** |\n-+-------------------------------+-----------+-----------------+--------------+------------+------------+-------------+--------------+\n-| Pinctrl/GPIO \t| **Yes** | **Yes** | **Yes** | **Yes** | **Yes** | **Yes** | **Yes** |\n-+-------------------------------+-----------+-----------------+--------------+------------+------------+-------------+--------------+\n-| Clock Control \t| **Yes** | **Yes** | **Yes** | **Yes** | **Yes** | **Yes** | **Yes** |\n-+-------------------------------+-----------+-----------------+--------------+------------+------------+-------------+--------------+\n-| PWM \t| **Yes** | **Yes** | **Yes** | **Yes** | **Yes** | **Yes** | **Yes** |\n-+-------------------------------+-----------+-----------------+--------------+------------+------------+-------------+--------------+\n-| Reset Control \t| **Yes** | **Yes** | **Yes** | **Yes** | **Yes** | **Yes** | **Yes** |\n-+-------------------------------+-----------+-----------------+--------------+------------+------------+-------------+--------------+\n-| Infrared Decoder \t| No | No | No | No | No | No | No |\n-+-------------------------------+-----------+-----------------+--------------+------------+------------+-------------+--------------+\n-| Ethernet \t| **Yes** | **Yes** | **Yes** | **Yes** | **Yes** | **Yes** | **Yes** |\n-+-------------------------------+-----------+-----------------+--------------+------------+------------+-------------+--------------+\n-| Multi-core \t| **Yes** | **Yes** | **Yes** | **Yes** | **Yes** | **Yes** | **Yes** |\n-+-------------------------------+-----------+-----------------+--------------+------------+------------+-------------+--------------+\n-| Fuse access \t| **Yes** | **Yes** |**Yes** |**Yes** |**Yes** |**Yes** | **Yes** |\n-+-------------------------------+-----------+-----------------+--------------+------------+------------+-------------+--------------+\n-| SPI (FC) \t| **Yes** | **Yes** | **Yes** | **Yes** |**Yes** | **Yes** | No |\n-+-------------------------------+-----------+-----------------+--------------+------------+------------+-------------+--------------+\n-| SPI (CC) \t| No | No | No | No | No | No | No |\n-+-------------------------------+-----------+-----------------+--------------+------------+------------+-------------+--------------+\n-| I2C \t| **Yes** | **Yes** | **Yes** | **Yes** | **Yes** | **Yes** | **Yes** |\n-+-------------------------------+-----------+-----------------+--------------+------------+------------+-------------+--------------+\n-| USB \t| **Yes** | **Yes** | **Yes** | **Yes** | **Yes** | **Yes** | **Yes** |\n-+-------------------------------+-----------+-----------------+--------------+------------+------------+-------------+--------------+\n-| USB OTG \t| No | **Yes** | **Yes** | **Yes** | **Yes** | **Yes** | **Yes** |\n-+-------------------------------+-----------+-----------------+--------------+------------+------------+-------------+--------------+\n-| eMMC \t| **Yes** | **Yes** | **Yes** | **Yes** | **Yes** | **Yes** | **Yes** |\n-+-------------------------------+-----------+-----------------+--------------+------------+------------+-------------+--------------+\n-| SDCard \t| **Yes** | **Yes** | **Yes** | **Yes** | **Yes** | **Yes** | **Yes** |\n-+-------------------------------+-----------+-----------------+--------------+------------+------------+-------------+--------------+\n-| NAND \t| No | No | No | No | No | No | No |\n-+-------------------------------+-----------+-----------------+--------------+------------+------------+-------------+--------------+\n-| ADC \t| **Yes** | **Yes** | **Yes** | No | No | No | No |\n-+-------------------------------+-----------+-----------------+--------------+------------+------------+-------------+--------------+\n-| CVBS Output \t| **Yes** | **Yes** | **Yes** | *N/A* | **Yes** | **Yes** | **Yes** |\n-+-------------------------------+-----------+-----------------+--------------+------------+------------+-------------+--------------+\n-| HDMI Output \t| **Yes** | **Yes** | **Yes** | *N/A* | **Yes** | **Yes** | **Yes** |\n-+-------------------------------+-----------+-----------------+--------------+------------+------------+-------------+--------------+\n-| CEC \t| No | No | No | *N/A* | No | No | No |\n-+-------------------------------+-----------+-----------------+--------------+------------+------------+-------------+--------------+\n-| Thermal Sensor \t| No | No | No | No | No | No | No |\n-+-------------------------------+-----------+-----------------+--------------+------------+------------+-------------+--------------+\n-| LCD/LVDS Output \t| No | *N/A* | No | No | No | No | No |\n-+-------------------------------+-----------+-----------------+--------------+------------+------------+-------------+--------------+\n-| MIPI DSI Output \t| *N/A* | *N/A* | *N/A* | No | No | No | No |\n-+-------------------------------+-----------+-----------------+--------------+------------+------------+-------------+--------------+\n-| SoC (version) information | **Yes** | **Yes** | **Yes** | **Yes** | **Yes** | **Yes** | **Yes** |\n-+-------------------------------+-----------+-----------------+--------------+------------+------------+-------------+--------------+\n-| PCIe (+NVMe) | *N/A* | *N/A* | *N/A* | **Yes** | **Yes** | **Yes** | **Yes** |\n-+-------------------------------+-----------+-----------------+--------------+------------+------------+-------------+--------------+\n++-------------------------------+-----------+-----------------+--------------+-------------+------------+-------------+--------------+\n+| | S905 | S905X | S912 | A113X | S905X2 | S922X | S905X3 |\n+| | | S805X | S905D | | S905D2 | A311D | S905D3 |\n+| | | S905W | | | S905Y2 | | |\n++===============================+===========+=================+==============+=============+============+=============+==============+\n+| Boards | Odroid-C2 | P212 | Khadas VIM2 | S400 | U200 | Odroid-N2 | SEI610 |\n+| | Nanopi-K2 | Khadas-VIM | Libretech-PC | JetHub J100 | SEI510 | Khadas-VIM3 | Khadas-VIM3L |\n+| | P200 | LibreTech-CC v1 | WeTek Core2 | | | GT-King/Pro | Odroid-C4 |\n+| | P201 | LibreTech-AC v2 | | | | GSKing-X | Odroid-HC4 |\n+| | | JetHub J80 | | | | | BananaPi-M5 |\n++-------------------------------+-----------+-----------------+--------------+-------------+------------+-------------+--------------+\n+| UART | **Yes** | **Yes** | **Yes** | **Yes** | **Yes** | **Yes** | **Yes** |\n++-------------------------------+-----------+-----------------+--------------+-------------+------------+-------------+--------------+\n+| Pinctrl/GPIO | **Yes** | **Yes** | **Yes** | **Yes** | **Yes** | **Yes** | **Yes** |\n++-------------------------------+-----------+-----------------+--------------+-------------+------------+-------------+--------------+\n+| Clock Control | **Yes** | **Yes** | **Yes** | **Yes** | **Yes** | **Yes** | **Yes** |\n++-------------------------------+-----------+-----------------+--------------+-------------+------------+-------------+--------------+\n+| PWM | **Yes** | **Yes** | **Yes** | **Yes** | **Yes** | **Yes** | **Yes** |\n++-------------------------------+-----------+-----------------+--------------+-------------+------------+-------------+--------------+\n+| Reset Control | **Yes** | **Yes** | **Yes** | **Yes** | **Yes** | **Yes** | **Yes** |\n++-------------------------------+-----------+-----------------+--------------+-------------+------------+-------------+--------------+\n+| Infrared Decoder | No | No | No | No | No | No | No |\n++-------------------------------+-----------+-----------------+--------------+-------------+------------+-------------+--------------+\n+| Ethernet | **Yes** | **Yes** | **Yes** | **Yes** | **Yes** | **Yes** | **Yes** |\n++-------------------------------+-----------+-----------------+--------------+-------------+------------+-------------+--------------+\n+| Multi-core | **Yes** | **Yes** | **Yes** | **Yes** | **Yes** | **Yes** | **Yes** |\n++-------------------------------+-----------+-----------------+--------------+-------------+------------+-------------+--------------+\n+| Fuse access | **Yes** | **Yes** |**Yes** |**Yes** |**Yes** |**Yes** | **Yes** |\n++-------------------------------+-----------+-----------------+--------------+-------------+------------+-------------+--------------+\n+| SPI (FC) | **Yes** | **Yes** | **Yes** | **Yes** |**Yes** | **Yes** | No |\n++-------------------------------+-----------+-----------------+--------------+-------------+------------+-------------+--------------+\n+| SPI (CC) | No | No | No | No | No | No | No |\n++-------------------------------+-----------+-----------------+--------------+-------------+------------+-------------+--------------+\n+| I2C | **Yes** | **Yes** | **Yes** | **Yes** | **Yes** | **Yes** | **Yes** |\n++-------------------------------+-----------+-----------------+--------------+-------------+------------+-------------+--------------+\n+| USB | **Yes** | **Yes** | **Yes** | **Yes** | **Yes** | **Yes** | **Yes** |\n++-------------------------------+-----------+-----------------+--------------+-------------+------------+-------------+--------------+\n+| USB OTG | No | **Yes** | **Yes** | **Yes** | **Yes** | **Yes** | **Yes** |\n++-------------------------------+-----------+-----------------+--------------+-------------+------------+-------------+--------------+\n+| eMMC | **Yes** | **Yes** | **Yes** | **Yes** | **Yes** | **Yes** | **Yes** |\n++-------------------------------+-----------+-----------------+--------------+-------------+------------+-------------+--------------+\n+| SDCard | **Yes** | **Yes** | **Yes** | **Yes** | **Yes** | **Yes** | **Yes** |\n++-------------------------------+-----------+-----------------+--------------+-------------+------------+-------------+--------------+\n+| NAND | No | No | No | No | No | No | No |\n++-------------------------------+-----------+-----------------+--------------+-------------+------------+-------------+--------------+\n+| ADC | **Yes** | **Yes** | **Yes** | No | No | No | No |\n++-------------------------------+-----------+-----------------+--------------+-------------+------------+-------------+--------------+\n+| CVBS Output | **Yes** | **Yes** | **Yes** | *N/A* | **Yes** | **Yes** | **Yes** |\n++-------------------------------+-----------+-----------------+--------------+-------------+------------+-------------+--------------+\n+| HDMI Output | **Yes** | **Yes** | **Yes** | *N/A* | **Yes** | **Yes** | **Yes** |\n++-------------------------------+-----------+-----------------+--------------+-------------+------------+-------------+--------------+\n+| CEC | No | No | No | *N/A* | No | No | No |\n++-------------------------------+-----------+-----------------+--------------+-------------+------------+-------------+--------------+\n+| Thermal Sensor | No | No | No | No | No | No | No |\n++-------------------------------+-----------+-----------------+--------------+-------------+------------+-------------+--------------+\n+| LCD/LVDS Output | No | *N/A* | No | No | No | No | No |\n++-------------------------------+-----------+-----------------+--------------+-------------+------------+-------------+--------------+\n+| MIPI DSI Output | *N/A* | *N/A* | *N/A* | No | No | No | No |\n++-------------------------------+-----------+-----------------+--------------+-------------+------------+-------------+--------------+\n+| SoC (version) information | **Yes** | **Yes** | **Yes** | **Yes** | **Yes** | **Yes** | **Yes** |\n++-------------------------------+-----------+-----------------+--------------+-------------+------------+-------------+--------------+\n+| PCIe (+NVMe) | *N/A* | *N/A* | *N/A* | **Yes** | **Yes** | **Yes** | **Yes** |\n++-------------------------------+-----------+-----------------+--------------+-------------+------------+-------------+--------------+\n \n Board Documentation\n -------------------\n@@ -82,6 +82,8 @@ Board Documentation\n \n beelink-gtking\n beelink-gtkingpro\n+ jethub-j100\n+ jethub-j80\n khadas-vim2\n khadas-vim3l\n khadas-vim3\ndiff --git a/doc/board/amlogic/jethub-j100.rst b/doc/board/amlogic/jethub-j100.rst\nnew file mode 100644\nindex 0000000000..58602787d3\n--- /dev/null\n+++ b/doc/board/amlogic/jethub-j100.rst\n@@ -0,0 +1,108 @@\n+.. SPDX-License-Identifier: GPL-2.0+\n+\n+U-Boot for JetHub J100\n+=======================\n+\n+JetHome Jethub D1 (http://jethome.ru/jethub-d1) is a home automation\n+controller manufactured by JetHome with the following specifications:\n+\n+ - Amlogic A113X (ARM Cortex-A53) quad-core up to 1.5GHz\n+ - no video out\n+ - 512Mb/1GB DDR3\n+ - 8/16GB eMMC flash\n+ - 1 x USB 2.0\n+ - 1 x 10/100Mbps ethernet\n+ - WiFi / Bluetooth AMPAK AP6255 (Broadcom BCM43455) IEEE\n+ 802.11a/b/g/n/ac, Bluetooth 4.2.\n+ - TI CC2538 + CC2592 Zigbee Wireless Module with up to 20dBm output\n+ power and Zigbee 3.0 support.\n+ - 2 x gpio LEDS\n+ - GPIO user Button\n+ - 1 x 1-Wire\n+ - 2 x RS-485\n+ - 4 x dry contact digital GPIO inputs\n+ - 3 x relay GPIO outputs\n+ - DC source with a voltage of 9 to 56 V / Passive POE\n+ - DIN Rail Mounting case\n+\n+U-Boot compilation\n+------------------\n+\n+.. code-block:: bash\n+\n+ $ export CROSS_COMPILE=aarch64-none-elf-\n+ $ make jethub_j100_defconfig\n+ $ make\n+\n+Image creation\n+--------------\n+\n+Amlogic doesn't provide sources for the firmware and for tools needed\n+to create the bootloader image, so it is necessary to obtain binaries\n+from the git tree published by the board vendor:\n+\n+.. code-block:: bash\n+\n+ $ git clone https://github.com/jethome-ru/jethub-aml-tools jethub-u-boot\n+ $ cd jethub-u-boot\n+ $ export FIPDIR=$PWD\n+\n+Go back to mainline U-boot source tree then :\n+\n+.. code-block:: bash\n+\n+ $ mkdir fip\n+\n+ $ cp $FIPDIR/j100/bl2.bin fip/\n+ $ cp $FIPDIR/j100/acs.bin fip/\n+ $ cp $FIPDIR/j100/bl21.bin fip/\n+ $ cp $FIPDIR/j100/bl30.bin fip/\n+ $ cp $FIPDIR/j100/bl301.bin fip/\n+ $ cp $FIPDIR/j100/bl31.img fip/\n+ $ cp u-boot.bin fip/bl33.bin\n+\n+ $ $FIPDIR/blx_fix.sh \\\n+ fip/bl30.bin \\\n+ fip/zero_tmp \\\n+ fip/bl30_zero.bin \\\n+ fip/bl301.bin \\\n+ fip/bl301_zero.bin \\\n+ fip/bl30_new.bin \\\n+ bl30\n+\n+ $ $FIPDIR/acs_tool.pyc fip/bl2.bin fip/bl2_acs.bin fip/acs.bin 0\n+\n+ $ $FIPDIR/blx_fix.sh \\\n+ fip/bl2_acs.bin \\\n+ fip/zero_tmp \\\n+ fip/bl2_zero.bin \\\n+ fip/bl21.bin \\\n+ fip/bl21_zero.bin \\\n+ fip/bl2_new.bin \\\n+ bl2\n+\n+ $ $FIPDIR/j100/aml_encrypt_axg --bl3sig --input fip/bl30_new.bin \\\n+ --output fip/bl30_new.bin.enc \\\n+ --level v3 --type bl30\n+ $ $FIPDIR/j100/aml_encrypt_axg --bl3sig --input fip/bl31.img \\\n+ --output fip/bl31.img.enc \\\n+ --level v3 --type bl31\n+ $ $FIPDIR/j100/aml_encrypt_axg --bl3sig --input fip/bl33.bin --compress lz4 \\\n+ --output fip/bl33.bin.enc \\\n+ --level v3 --type bl33\n+ $ $FIPDIR/j100/aml_encrypt_axg --bl2sig --input fip/bl2_new.bin \\\n+ --output fip/bl2.n.bin.sig\n+ $ $FIPDIR/j100/aml_encrypt_axg --bootmk \\\n+ --output fip/u-boot.bin \\\n+ --bl2 fip/bl2.n.bin.sig \\\n+ --bl30 fip/bl30_new.bin.enc \\\n+ --bl31 fip/bl31.img.enc \\\n+ --bl33 fip/bl33.bin.enc --level v3\n+\n+and then write the image to eMMC with:\n+\n+.. code-block:: bash\n+\n+ $ DEV=/dev/your_emmc_device\n+ $ dd if=fip/u-boot.bin.sd.bin of=$DEV conv=fsync,notrunc bs=512 skip=1 seek=1\n+ $ dd if=fip/u-boot.bin.sd.bin of=$DEV conv=fsync,notrunc bs=1 count=444\ndiff --git a/doc/board/amlogic/jethub-j80.rst b/doc/board/amlogic/jethub-j80.rst\nnew file mode 100644\nindex 0000000000..6b7bdc78b1\n--- /dev/null\n+++ b/doc/board/amlogic/jethub-j80.rst\n@@ -0,0 +1,97 @@\n+.. SPDX-License-Identifier: GPL-2.0+\n+\n+U-Boot for JetHub J80\n+======================\n+\n+JetHome Jethub H1 (http://jethome.ru/jethub-h1) is a home automation\n+controller manufactured by JetHome with the following specifications:\n+\n+ - Amlogic S905W (ARM Cortex-A53) quad-core up to 1.5GHz\n+ - No video out\n+ - 1GB DDR3\n+ - 8/16GB eMMC flash\n+ - 2 x USB 2.0\n+ - 1 x 10/100Mbps ethernet\n+ - SDIO WiFi / Bluetooth RTL8822CS IEEE 802.11a/b/g/n/ac, Bluetooth 5.0.\n+ - TI CC2538 + CC2592 Zigbee Wireless Module with up to 20dBm output\n+ power and Zigbee 3.0 support.\n+ - MicroSD 2.x/3.x/4.x DS/HS cards.\n+ - 1 x gpio LED\n+ - ADC user Button\n+ - DC source 5V microUSB\n+ - Square plastic case\n+\n+U-Boot compilation\n+------------------\n+\n+.. code-block:: bash\n+\n+ $ export CROSS_COMPILE=aarch64-none-elf-\n+ $ make jethub_j80_defconfig\n+ $ make\n+\n+Image creation\n+--------------\n+\n+Amlogic doesn't provide sources for the firmware and for tools needed\n+to create the bootloader image, so it is necessary to obtain binaries\n+from the git tree published by the board vendor:\n+\n+.. code-block:: bash\n+\n+ $ git clone https://github.com/jethome-ru/jethub-aml-tools jethub-u-boot\n+ $ cd jethub-u-boot\n+ $ export FIPDIR=$PWD\n+\n+Go back to mainline U-Boot source tree then :\n+\n+.. code-block:: bash\n+\n+ $ mkdir fip\n+\n+ $ cp $FIPDIR/j80/bl2.bin fip/\n+ $ cp $FIPDIR/j80/acs.bin fip/\n+ $ cp $FIPDIR/j80/bl21.bin fip/\n+ $ cp $FIPDIR/j80/bl30.bin fip/\n+ $ cp $FIPDIR/j80/bl301.bin fip/\n+ $ cp $FIPDIR/j80/bl31.img fip/\n+ $ cp u-boot.bin fip/bl33.bin\n+\n+ $ $FIPDIR/blx_fix.sh \\\n+ fip/bl30.bin \\\n+ fip/zero_tmp \\\n+ fip/bl30_zero.bin \\\n+ fip/bl301.bin \\\n+ fip/bl301_zero.bin \\\n+ fip/bl30_new.bin \\\n+ bl30\n+\n+ $ python $FIPDIR/acs_tool.pyc fip/bl2.bin fip/bl2_acs.bin fip/acs.bin 0\n+\n+ $ $FIPDIR/blx_fix.sh \\\n+ fip/bl2_acs.bin \\\n+ fip/zero_tmp \\\n+ fip/bl2_zero.bin \\\n+ fip/bl21.bin \\\n+ fip/bl21_zero.bin \\\n+ fip/bl2_new.bin \\\n+ bl2\n+\n+ $ $FIPDIR/j80/aml_encrypt_gxl --bl3enc --input fip/bl30_new.bin\n+ $ $FIPDIR/j80/aml_encrypt_gxl --bl3enc --input fip/bl31.img\n+ $ $FIPDIR/j80/aml_encrypt_gxl --bl3enc --input fip/bl33.bin --compress lz4\n+ $ $FIPDIR/j80/aml_encrypt_gxl --bl2sig --input fip/bl2_new.bin --output fip/bl2.n.bin.sig\n+ $ $FIPDIR/j80/aml_encrypt_gxl --bootmk \\\n+ --output fip/u-boot.bin \\\n+ --bl2 fip/bl2.n.bin.sig \\\n+ --bl30 fip/bl30_new.bin.enc \\\n+ --bl31 fip/bl31.img.enc \\\n+ --bl33 fip/bl33.bin.enc\n+\n+and then write the image to SD/eMMC with:\n+\n+.. code-block:: bash\n+\n+ $ DEV=/dev/your_sd_device\n+ $ dd if=fip/u-boot.bin.sd.bin of=$DEV conv=fsync,notrunc bs=512 skip=1 seek=1\n+ $ dd if=fip/u-boot.bin.sd.bin of=$DEV conv=fsync,notrunc bs=1 count=444\n", "prefixes": [ "v3", "3/3" ] }