* [PATCH] arm64: dts: ls1012a: Add serial alias for ls1012a-rdb
@ 2021-09-09 11:12 Kuldeep Singh
2021-09-22 8:22 ` Shawn Guo
0 siblings, 1 reply; 2+ messages in thread
From: Kuldeep Singh @ 2021-09-09 11:12 UTC (permalink / raw)
To: linux-arm-kernel, devicetree, linux-kernel; +Cc: Shawn Guo, Kuldeep Singh
U-boot atempts to read serial alias value for ls1012a-rdb but couldn't
do so as it is not initialised and thus, FDT_ERR_NOTFOUND error is
reported while booting linux.
Loading fdt from FIT Image at a0000000 ...
Description: ls1012ardb-dtb
Type: Flat Device Tree
Data Start: 0xab111474
Data Size: 11285 Bytes = 11 KiB
Architecture: AArch64
Load Address: 0x90000000
Loading fdt from 0xab111474 to 0x90000000
Booting using the fdt blob at 0x90000000
Uncompressing Kernel Image
Loading Device Tree to 000000008fffa000, end 000000008ffffc14 ... OK
WARNING: fdt_fixup_stdout: could not read serial0 alias: FDT_ERR_NOTFOUND
NOTICE: RNG: INSTANTIATED
Starting kernel ...
Fix the above error by specifying serial value to duart.
Signed-off-by: Kuldeep Singh <kuldeep.singh@nxp.com>
---
arch/arm64/boot/dts/freescale/fsl-ls1012a-rdb.dts | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1012a-rdb.dts b/arch/arm64/boot/dts/freescale/fsl-ls1012a-rdb.dts
index 79f155dedb2d..e662677a6e28 100644
--- a/arch/arm64/boot/dts/freescale/fsl-ls1012a-rdb.dts
+++ b/arch/arm64/boot/dts/freescale/fsl-ls1012a-rdb.dts
@@ -15,6 +15,7 @@ / {
compatible = "fsl,ls1012a-rdb", "fsl,ls1012a";
aliases {
+ serial0 = &duart0;
mmc0 = &esdhc0;
mmc1 = &esdhc1;
};
--
2.25.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] arm64: dts: ls1012a: Add serial alias for ls1012a-rdb
2021-09-09 11:12 [PATCH] arm64: dts: ls1012a: Add serial alias for ls1012a-rdb Kuldeep Singh
@ 2021-09-22 8:22 ` Shawn Guo
0 siblings, 0 replies; 2+ messages in thread
From: Shawn Guo @ 2021-09-22 8:22 UTC (permalink / raw)
To: Kuldeep Singh; +Cc: linux-arm-kernel, devicetree, linux-kernel
On Thu, Sep 09, 2021 at 04:42:29PM +0530, Kuldeep Singh wrote:
> U-boot atempts to read serial alias value for ls1012a-rdb but couldn't
> do so as it is not initialised and thus, FDT_ERR_NOTFOUND error is
> reported while booting linux.
>
> Loading fdt from FIT Image at a0000000 ...
> Description: ls1012ardb-dtb
> Type: Flat Device Tree
> Data Start: 0xab111474
> Data Size: 11285 Bytes = 11 KiB
> Architecture: AArch64
> Load Address: 0x90000000
> Loading fdt from 0xab111474 to 0x90000000
> Booting using the fdt blob at 0x90000000
> Uncompressing Kernel Image
> Loading Device Tree to 000000008fffa000, end 000000008ffffc14 ... OK
> WARNING: fdt_fixup_stdout: could not read serial0 alias: FDT_ERR_NOTFOUND
> NOTICE: RNG: INSTANTIATED
>
> Starting kernel ...
>
> Fix the above error by specifying serial value to duart.
>
> Signed-off-by: Kuldeep Singh <kuldeep.singh@nxp.com>
Applied, thanks!
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-09-22 8:22 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-09 11:12 [PATCH] arm64: dts: ls1012a: Add serial alias for ls1012a-rdb Kuldeep Singh
2021-09-22 8:22 ` Shawn Guo
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).