[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <d9eaaf71-dfe7-4bf8-8aee-538ee8ad9f24@outlook.com>
Date: Mon, 30 Sep 2024 15:50:53 +0000
From: Aoba K <nExp_0x17@...look.com>
To: Conor Dooley <conor@...nel.org>
CC: "charlie@...osinc.com" <charlie@...osinc.com>, "ajones@...tanamicro.com"
<ajones@...tanamicro.com>, "andy.chiu@...ive.com" <andy.chiu@...ive.com>,
"aou@...s.berkeley.edu" <aou@...s.berkeley.edu>, "conor.dooley@...rochip.com"
<conor.dooley@...rochip.com>, "corbet@....net" <corbet@....net>,
"devicetree@...r.kernel.org" <devicetree@...r.kernel.org>,
"evan@...osinc.com" <evan@...osinc.com>, "guoren@...nel.org"
<guoren@...nel.org>, "heiko@...ech.de" <heiko@...ech.de>,
"jernej.skrabec@...il.com" <jernej.skrabec@...il.com>, "jrtc27@...c27.com"
<jrtc27@...c27.com>, "jszhang@...nel.org" <jszhang@...nel.org>,
"krzk+dt@...nel.org" <krzk+dt@...nel.org>, "linux-doc@...r.kernel.org"
<linux-doc@...r.kernel.org>, "linux-kernel@...r.kernel.org"
<linux-kernel@...r.kernel.org>, "linux-kselftest@...r.kernel.org"
<linux-kselftest@...r.kernel.org>, "linux-riscv@...ts.infradead.org"
<linux-riscv@...ts.infradead.org>, "linux-sunxi@...ts.linux.dev"
<linux-sunxi@...ts.linux.dev>, "palmer@...belt.com" <palmer@...belt.com>,
"paul.walmsley@...ive.com" <paul.walmsley@...ive.com>, "robh@...nel.org"
<robh@...nel.org>, "samuel.holland@...ive.com" <samuel.holland@...ive.com>,
"samuel@...lland.org" <samuel@...lland.org>, "shuah@...nel.org"
<shuah@...nel.org>, "wens@...e.org" <wens@...e.org>
Subject:
回覆: [PATCH v10 00/14] riscv: Add support for xtheadvector
The devicetree name shown in OpenSBI is
the one packed with U-Boot SPL.
As the image builder didn't put the kernel
devicetree with the image under boot partition,
The whole boot process only uses the U-Boot device tree.
The reason why the log shows "Nezha"
but not "Lichee RV" is that this log is produced
which U-Boot revision is d1-2022-10-31 from samuel's repo.
Build from d1-wip can show "Lichee RV" correctly
(manually edit config to specify LicheeRV dtb should have same effect though),
while the issue persists when kernel load to
the procedure same as the dmesg mentioned above.
Cheers,
Aoba K
2024年9月30日 下午10:53:40 Conor Dooley <conor@...nel.org>:
> On Sun, Sep 29, 2024 at 12:44:07PM +0000, Aoba K wrote:
>> Hello Charlie,
>>
>> I've been working on bringing up the Sipeed Lichee RV Dock
>> (which also uses the D1 SoC) with the kernel patches you provided.
>> The patches applied cleanly to Palmer's for-next branch,
>> but I've encountered a couple of issues:
>>
>> 1. Skiffos Compilation Error during the compilation process of `cgo`:
>> `unknown relocation type 17; compiled without -fpic?`
>> Unfortunately, I closed the terminal before saving the full log,
>> so I don't have the complete details, but the result should be reproducible.
>> While this should be a SkiffOS issue, mention it in case SkiffOS is the method
>> that you mentioned for bringing up the device.
>>
>> 2. Image Building with sehraf/riscv-arch-image-builder:
>> After building the image, the device failed to start at an early stage.
>> I suspect this may be related to incorrect RAM size detection,
>> as the board only has 512MB of RAM.
>> Interestingly, the vendor image reports 1GB, and the Sipeed website also states
>> that the Dock has 1GB, despite there being no extra memory bank present.
>>
>> You can find the boot log here: https://fars.ee/bdYk.log
>>
>> Any help would be appreciated, and big thanks to your work
>> to make the efficient part of this board to work (again)!
>
> The log you posted at https://fars.ee/XFzR appears to be using the
> devicetree of a Nezha not the Lichee RV Dock. Why are you doing that,
> when the Lichee RV Dock is supported in the kernel already?
>
> Cheers,
> Conor.
Powered by blists - more mailing lists