Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id A8E95C433EF for ; Wed, 18 May 2022 09:54:10 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 1950784276; Wed, 18 May 2022 11:54:08 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=fail (p=none dis=none) header.from=xilinx.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=xilinx.onmicrosoft.com header.i=@xilinx.onmicrosoft.com header.b="chxfELGI"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id E9AE684278; Wed, 18 May 2022 11:54:05 +0200 (CEST) Received: from NAM10-BN7-obe.outbound.protection.outlook.com (mail-bn7nam10on2060f.outbound.protection.outlook.com [IPv6:2a01:111:f400:7e8a::60f]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 7F52084273 for ; Wed, 18 May 2022 11:54:02 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=xilinx.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=michals@xilinx.com ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=i+as6mQTMLCtai7YdO1PJ+f0fiUA4lGq6sNdo5BG7i74MQeSraddPMOzErTVCn5tQ2kS0PKXyNlFQuheETk1rA6ybMeHkoQcRnSXzj02cSe27GMePogvjxqUnEEQF3DYOyvIsFZOEJrLxLXYiE+acoLmG7d9t1JIFXjjV4WFAirOVG3S6WrEtNAILj7ImGD3yGNmR4p67/d1FzWi3nLzVkSdkmYGpj8vaiWuEthsL8Q1QpqzDInnQx2PnE5SIUl8RbYIyhKZ4x41WkqL5beeQNnXhSVQ8uYpcPtX7xswdnPwD4++rHvjkgG6Tu/H3v8Ts3ZnMteOCEWMzXMoMEReTA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=IGVWB73Sht/flgm5AIfamk9a0Bz+QkO5lJi+nOIKG+8=; b=IbWAYE+6GpYBJKHTEcUe1kZY2eiv7tE0vexSHYT9NGH/RPdcWyfeyPBHYqot4HGX4wDIeh1+QPkK31qbu5Fr/dDEzQclqaL6XgsD0lAGjOAvnTDjX2Iiq6pcnwV8vBQPy7giaNIlFSpC/bIw7nPRlhrEIvQO0PoL8NRK3mKbvCTPceNcPeXWMI/+AOg6oN1SJ0sGJe1X1nnUsIBE7q1ttAt3PyPz4F1PTFjdr3V0mIHzV/Yo8Lx471++pV6kALpf4EwU9hsVln5F3ix5MTJkev1x7oOOSgSWM80cT2OVBGpFWme6gnaPJJFMVRzjUQik5pMpNuwx9UB1Ph/nThZB+w== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 149.199.62.198) smtp.rcpttodomain=gmail.com smtp.mailfrom=xilinx.com; dmarc=pass (p=none sp=none pct=100) action=none header.from=xilinx.com; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=xilinx.onmicrosoft.com; s=selector2-xilinx-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=IGVWB73Sht/flgm5AIfamk9a0Bz+QkO5lJi+nOIKG+8=; b=chxfELGI3ghVwBiI/S8WNtTqxsGgzsGYmBZiPaoBqGk3tmASNBJXfFgqwRzpMVS4liQrp1xXGwo75HsK6bdIz603YCFTAHppKERfp8z4dIgyXAs/c8X14Gf7iwJsKzLfLJGn3N+vQOa+Ue0ce/QgQetkZ9tc6NEqj7iSoCNeZBA= Received: from BN1PR10CA0030.namprd10.prod.outlook.com (2603:10b6:408:e0::35) by BL0PR02MB5633.namprd02.prod.outlook.com (2603:10b6:208:84::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5250.14; Wed, 18 May 2022 09:53:56 +0000 Received: from BN1NAM02FT026.eop-nam02.prod.protection.outlook.com (2603:10b6:408:e0:cafe::cf) by BN1PR10CA0030.outlook.office365.com (2603:10b6:408:e0::35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5273.14 via Frontend Transport; Wed, 18 May 2022 09:53:56 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 149.199.62.198) smtp.mailfrom=xilinx.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=xilinx.com; Received-SPF: Pass (protection.outlook.com: domain of xilinx.com designates 149.199.62.198 as permitted sender) receiver=protection.outlook.com; client-ip=149.199.62.198; helo=xsj-pvapexch01.xlnx.xilinx.com; pr=C Received: from xsj-pvapexch01.xlnx.xilinx.com (149.199.62.198) by BN1NAM02FT026.mail.protection.outlook.com (10.13.2.140) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.5273.14 via Frontend Transport; Wed, 18 May 2022 09:53:56 +0000 Received: from xsj-pvapexch02.xlnx.xilinx.com (172.19.86.41) by xsj-pvapexch01.xlnx.xilinx.com (172.19.86.40) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2176.14; Wed, 18 May 2022 02:53:55 -0700 Received: from smtp.xilinx.com (172.19.127.96) by xsj-pvapexch02.xlnx.xilinx.com (172.19.86.41) with Microsoft SMTP Server id 15.1.2176.14 via Frontend Transport; Wed, 18 May 2022 02:53:55 -0700 Envelope-to: grandpaul@gmail.com, u-boot@lists.denx.de, Grant.Likely@arm.com, paul.liu@linaro.org Received: from [10.254.241.50] (port=56106) by smtp.xilinx.com with esmtp (Exim 4.90) (envelope-from ) id 1nrGNP-00028y-KX; Wed, 18 May 2022 02:53:55 -0700 Message-ID: <83e3933b-c26d-ef1c-c249-c5dec13efa2c@xilinx.com> Date: Wed, 18 May 2022 11:53:54 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.9.0 Subject: Re: [PATCH v14 0/2] add TCP and HTTP for downloading images Content-Language: en-US To: Ying-Chun Liu , CC: , "Ying-Chun Liu (PaulLiu)" References: <20220421165424.168274-1-grandpaul@gmail.com> From: Michal Simek In-Reply-To: <20220421165424.168274-1-grandpaul@gmail.com> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 4b13b3da-a56b-458c-04f3-08da38b4531b X-MS-TrafficTypeDiagnostic: BL0PR02MB5633:EE_ X-Microsoft-Antispam-PRVS: X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: OCPHnL7Jk8zOT78OJZlj9OxvQ31i9acI0TOJZIfM4rHJ5EavpKwMoabs/Qp9YGgbS0uURYiKagmqmnwuxvx+WWaTkJgMZ/sS9eGKSNsm75sEVC62xfn3s3WCgo7fztPUYoV9LFuPhXNrbNZyifqTCXfiRHZYYehG8xiwqoS/UM/7NpP/3KeBYHzIHl4zPvA5Zhx9N6nBxnDKElBJfaGJPsXZq97dYT5OiBdWKUrBq0+txFMYccfR0tfzXqyjsBIcP4wwtMr9D51NSR3SH4uuOIFB9xG9aZjdPMQSWWiHMYhVUIQyqk1z9ftle7z7H4yU4A2TWci6WiQqM7jHOZCtPN+QLBHEa3UVW65ozXx4zynjo9YP7022EUAlnJc89Ulvseyx/rUGZGhIq54/dp1W1GDDXwBnoJs3g9q/NhyVnDe5IWl2KATXii+AX0oG8gfwP3zE7Oil4Ze7Xeb/WQ6vGV7jK6SWDU3Breq8F2F15KPOWIoDev1HvqKY9BQvew5dYzPVvl5O+XxJ8f7cCsrJRZha1kd9P+9eMfN5pOhYCbwv7/hPBatu9w4/gbsvo2NINmVWt1RplbxM1fbyy8dH6JkxtNjE+XA893BcheT9KA+tFyr0WZHMBpTs00dSoholjVl3UCsMQylwsKXnySQGTJ9fHPeWUWhE1DsgyruIpuFKnDQpIdsSDkKWujU7+MkB5Z+AuF7jDlwzv/HUbynAG3Tdv/2jCDB0B+uvQfsbz2Y= X-Forefront-Antispam-Report: CIP:149.199.62.198; CTRY:US; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:xsj-pvapexch01.xlnx.xilinx.com; PTR:unknown-62-198.xilinx.com; CAT:NONE; SFS:(13230001)(4636009)(46966006)(36840700001)(40470700004)(44832011)(4744005)(8676002)(70586007)(5660300002)(508600001)(4326008)(9786002)(8936002)(70206006)(36756003)(2616005)(40460700003)(54906003)(26005)(53546011)(83380400001)(31696002)(356005)(336012)(47076005)(426003)(7636003)(2906002)(36860700001)(110136005)(31686004)(186003)(82310400005)(316002)(50156003)(43740500002); DIR:OUT; SFP:1101; X-OriginatorOrg: xilinx.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 May 2022 09:53:56.4488 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 4b13b3da-a56b-458c-04f3-08da38b4531b X-MS-Exchange-CrossTenant-Id: 657af505-d5df-48d0-8300-c31994686c5c X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=657af505-d5df-48d0-8300-c31994686c5c; Ip=[149.199.62.198]; Helo=[xsj-pvapexch01.xlnx.xilinx.com] X-MS-Exchange-CrossTenant-AuthSource: BN1NAM02FT026.eop-nam02.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL0PR02MB5633 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.5 at phobos.denx.de X-Virus-Status: Clean Hi, On 4/21/22 18:54, Ying-Chun Liu wrote: > From: "Ying-Chun Liu (PaulLiu)" > > This patch is a refresh from previous patches made by > Duncan Hare . I've contacted him and > continue to work on this patch. > > This patch introduce a TCP stack with SACK. And a simple wget command > to download images from http server. > > v13: Fix some issues which is reviewed by Christian > v14: Add options to enable/disable SACK. What did you change from v1 to v12? I think you should clean up the code and in this cover letter I would expect more description what you have tried. I have seen demo with downloading efi application. Is there any way to run any OS installer? Or for that you need to have https? Thanks, Michal