From mboxrd@z Thu Jan 1 00:00:00 1970 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 1EC6AC77B73 for ; Tue, 2 May 2023 12:48:49 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 8EF8F8474D; Tue, 2 May 2023 14:47:09 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="ToRKNsP1"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 4B8F784749; Tue, 2 May 2023 14:47:06 +0200 (CEST) Received: from mail-wr1-x434.google.com (mail-wr1-x434.google.com [IPv6:2a00:1450:4864:20::434]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id EE6CF84737 for ; Tue, 2 May 2023 14:47:01 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=matthias.bgg@gmail.com Received: by mail-wr1-x434.google.com with SMTP id ffacd0b85a97d-2f6401ce8f8so2282049f8f.3 for ; Tue, 02 May 2023 05:47:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1683031621; x=1685623621; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=BWVzTcN3glFEHp9uK7NjNlb4kQgRAEc7RyKFHyYTEUc=; b=ToRKNsP12B4dE11J7nrEITSeS/nqCgQuLRHAY45/oUO0tL+v8vYUoAAx0SIEyS9xom 8PCoGmdzSTpfmWJHmGnZBMGiDmuk8OfHufG4+d02eKrKTIUp13DtrmesSZacA8RYOruV 4G6Mu62jfEESSP9ljRLvPYbOcI8EhTTzPLh92LBcf1+ADfIKZz81V0Nj53fLJlndlvfI ORI8c80YdjnE4PV5J+sG0PGyTLXmOhwDqzuhca41pFchdibbSjCjJYRrowMu4sH5Bf1O r3bq4Ej9z9DzQ2bNShKHvK5joaYEsdUc0BkvDvES/0/IZI+t6SlfCpk+esCyAzYysPRn /LIg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683031621; x=1685623621; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=BWVzTcN3glFEHp9uK7NjNlb4kQgRAEc7RyKFHyYTEUc=; b=IWUNKVBZ8G94pmCFNQw5B5SJW5zYagtkgaqs+fMXLyNqtTsGzuH8P3wcrsHx0/rddt v4Yii0y60auZy+Y6ZcT9zzAC5bQ7oD5gOXhO2AtGBZzMbh52eXHwTJ2fPXPDX3Chvuvt 8Uet1R38SuUTq0wuL8xeodaKqT+XCCKPGTEjJM/fvx9FiC0G+FTS7ax78QKkbt822t0e hwQAm07Z5uXR+x1qU4zo+9GmJi6Blr39XAg8eNQwA2wY76KrMB8KmEp9BTmF5HeifTQ5 1AlR/uSNr7NWwVoksN0nn9EjtPxzuebSFI/UpVKywZi+r6q0T2Nh23wVjPBlyfH08tC3 i/1g== X-Gm-Message-State: AC+VfDz/wHWoPob1zJ0plEEXAl3kORE1bZVmsjJ/s7vClmvWTDpv9jdb oHTTk6XQfOWEWxBY83rkl64= X-Google-Smtp-Source: ACHHUZ69o/vOFVq8xSKxvfpDNAjTqMtUnB/HEjUVX9TAAefRKQz2e0Oz8IYdDAXW0w0EDpK5YNrAQQ== X-Received: by 2002:adf:fe86:0:b0:306:3b39:9a2a with SMTP id l6-20020adffe86000000b003063b399a2amr431799wrr.42.1683031621193; Tue, 02 May 2023 05:47:01 -0700 (PDT) Received: from [192.168.2.177] ([207.188.167.132]) by smtp.gmail.com with ESMTPSA id b10-20020a5d550a000000b0030639a86f9dsm1289785wrv.51.2023.05.02.05.46.59 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 02 May 2023 05:47:00 -0700 (PDT) Message-ID: Date: Tue, 2 May 2023 14:46:59 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.10.0 Subject: Re: [PATCH v5 00/17] Basic StarFive JH7110 RISC-V SoC support Content-Language: en-US, ca-ES, es-ES To: Andreas Schwab Cc: yanhong wang , Torsten Duwe , u-boot@lists.denx.de, Rick Chen , Leo , Lukasz Majewski , Sean Anderson , Lee Kuan Lim , Jianlong Huang , Emil Renner Berthing References: <20230329034224.26545-1-yanhong.wang@starfivetech.com> <20230329114138.3458974f@blackhole.lan> <20230412195047.60243174@blackhole.lan> <20230413110317.42581eaa@blackhole.lan> <230f4552-0e89-438e-c9b7-e8b8061713ba@gmail.com> From: Matthias Brugger In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit 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.8 at phobos.denx.de X-Virus-Status: Clean On 02/05/2023 14:41, Andreas Schwab wrote: > On Apr 14 2023, Matthias Brugger wrote: > >> My opinion isIn my opinion user-friendlyness is more important then >> developer friendly that from an end-user point of view it's much easier to >> have one binary that works on all different board versions. If not users >> will have to know which board version they have to flash the correct >> U-Boot. > > As long as the kernel uses separate device trees, U-Boot needs to know > which one to load. As it currently stands, U-Boot uses the wrong name > that does not match either of the names used by the kernel, which means > it will not be able find any of them. > I'm not sure I get your point. The devicetree will be passed to the kernel via a pointer in a register, the kernel does not need to load the devicetree into memory, it will use the one passed by U-Boot. Regards, Matthias