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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 45F94C0015E for ; Thu, 27 Jul 2023 00:15:15 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229824AbjG0APO (ORCPT ); Wed, 26 Jul 2023 20:15:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34252 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229495AbjG0APN (ORCPT ); Wed, 26 Jul 2023 20:15:13 -0400 Received: from rivendell.linuxfromscratch.org (rivendell.linuxfromscratch.org [208.118.68.85]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 0DFBE1AD; Wed, 26 Jul 2023 17:15:10 -0700 (PDT) Received: from [192.168.3.30] (unknown [36.44.143.80]) by rivendell.linuxfromscratch.org (Postfix) with ESMTPSA id 1A1DB1C81CC; Thu, 27 Jul 2023 00:15:00 +0000 (GMT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 1.0.0 at rivendell.linuxfromscratch.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfromscratch.org; s=cert4; t=1690416905; bh=DIeHF5kJlA2aI9G3e6fvnHlF5pPSTY4C8thMtYC5jiI=; h=Subject:From:To:Cc:Date:In-Reply-To:References; b=Wb87FT5DJHs6JK0kkjGyB2DV3Hrd2ZeMFoeSgfiyefBcReHXAqsMW83UaZyYIHnjF CSnJtJoqtkVT+0uGBJARFDnZ53zaawbH7XFMa+0wDSbUZqY5CP6KPhP8zF4vXcSKg/ qTdrsOrNasLdASe9Jy1wYJ7K5XAQu23cl46f9US7WPY2QY8gI6z46QOHcLy2rbIzO9 fgAbZT1719VtNr+zfnKJgJxpCYw6ZOTor4T584TiuGAPK689c+IiiIzWEd8/m8JUNF 2XPPx7w4n+HRJPqDjV1ZyQmChzGVQd0n8h68ierXMAO/5l8HdjC0Xmj3riV81mMtAt 8L+EvJDv5NizQ== Message-ID: <866eab3e30a18c50742a75d62aee223fdc7e3cee.camel@linuxfromscratch.org> Subject: Re: [PATCH v3 0/8] Add Sipeed Lichee Pi 4A RISC-V board support From: Xi Ruoyao To: Jisheng Zhang Cc: Conor Dooley , Thomas Gleixner , Marc Zyngier , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Palmer Dabbelt , Paul Walmsley , Albert Ou , Daniel Lezcano , Guo Ren , Fu Wei , linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-riscv@lists.infradead.org Date: Thu, 27 Jul 2023 08:14:57 +0800 In-Reply-To: References: <20230617161529.2092-1-jszhang@kernel.org> <20230725-unheard-dingy-42f0fafe7216@wendy> <3e0994dab495920ac590dc28d6b9d9765abe0c7e.camel@linuxfromscratch.org> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.48.4 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org On Wed, 2023-07-26 at 23:00 +0800, Jisheng Zhang wrote: > which dts r u using? see below. >=20 > >=20 > > Or maybe my toolchain (GCC 13.1.0, Binutils-2.40, with no patches) can > > miscompile the kernel? /* snip */ > > Boot HART ID=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0 : 0 > > Boot HART Domain=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 = : root > > Boot HART Priv Version=C2=A0=C2=A0=C2=A0 : v1.11 > > Boot HART Base ISA=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 : rv64imaf= dcvx >=20 > what? I don't think the mainline dts provide v and x.=20 I copied the compiled arch/riscv/boot/dts/thead/th1520-lichee-pi-4a.dtb into /boot and loaded it with u-boot "load" command onto 0x46000000, and passed this address to the booti command. But maybe I've copied the wrong file or made some other mistake... I'll recheck.