All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Z.Q. Hou" <zhiqiang.hou@nxp.com>
To: "Priyanka Jain (OSS)" <priyanka.jain@oss.nxp.com>,
	"u-boot@lists.denx.de" <u-boot@lists.denx.de>
Cc: "ykaukab@suse.de" <ykaukab@suse.de>,
	"festevam@gmail.com" <festevam@gmail.com>,
	"trini@konsulko.com" <trini@konsulko.com>
Subject: RE: [PATCH] configs: Layerscape: Remove the 'fdt_addr' env
Date: Mon, 23 Aug 2021 03:37:13 +0000	[thread overview]
Message-ID: <HE1PR0402MB337197CFF09A90BC8F01CB0084C49@HE1PR0402MB3371.eurprd04.prod.outlook.com> (raw)
In-Reply-To: <AM6PR04MB5144B344DE7EB704D34E9F39E6FF9@AM6PR04MB5144.eurprd04.prod.outlook.com>



> -----Original Message-----
> From: Priyanka Jain (OSS) <priyanka.jain@oss.nxp.com>
> Sent: 2021年8月18日 18:33
> To: Z.Q. Hou <zhiqiang.hou@nxp.com>; u-boot@lists.denx.de
> Cc: ykaukab@suse.de; festevam@gmail.com; trini@konsulko.com; Z.Q. Hou
> <zhiqiang.hou@nxp.com>
> Subject: RE: [PATCH] configs: Layerscape: Remove the 'fdt_addr' env
> 
> 
> 
> >-----Original Message-----
> >From: U-Boot <u-boot-bounces@lists.denx.de> On Behalf Of Zhiqiang Hou
> >Sent: Thursday, August 12, 2021 12:59 PM
> >To: u-boot@lists.denx.de; Priyanka Jain <priyanka.jain@nxp.com>
> >Cc: ykaukab@suse.de; festevam@gmail.com; trini@konsulko.com; Z.Q.
> Hou
> ><zhiqiang.hou@nxp.com>
> >Subject: [PATCH] configs: Layerscape: Remove the 'fdt_addr' env
> >
> >From: Hou Zhiqiang <Zhiqiang.Hou@nxp.com>
> >
> >On Layerscape platforms, the DTB is loaded from boot filesystem, per
> >the fdt_addr description in doc/README.distro, it must be removed.
> >
> 
> Below description is unrelated .
> It is due to some other issue. Kindly remove it from this patch.
 
OK

> 
> 
> >And on many platforms, like ls1046a, ls1088a, ls2088a and lx216xa, the
> 'fdt_addr'
> >pointed address is not accessible.
> >And with the current EFI boot process, since the EFI_LOADER and
> >CMD_BOOTEFI_BOOTMGR are enabled by default, if the EFI boot
> components
> >are not deployed in the boot filesystem, it will try to get DTB at address
> 'fdt_addr'
> >and then result in "SError" or "Synchronous Abort":
> >
> >Error log on ls1046ardb:
> >	=> run distro_bootcmd
> >	switch to partitions #0, OK
> >	mmc0 is current device
> >	Scanning mmc 0:1...
> >	libfdt fdt_check_header(): FDT_ERR_BADMAGIC
> >	Scanning disk esdhc@1560000.blk...
> >	Found 5 disks
> >	No EFI system partition
> >	"Error" handler, esr 0xbf000000
> >	elr: 00000000820704f4 lr : 00000000820080d4 (reloc)
> >	elr: 00000000fbd914f4 lr : 00000000fbd290d4
> >	x0 : 0000000064f00000 x1 : 00000000edfe0dd0
> >	x2 : 0000000000000000 x3 : 0000000000000000
> >	x4 : 00000000fbc2ee1a x5 : 000000000000000f
> >	x6 : 0000000000000000 x7 : 0000000000000008
> >	x8 : 0000000000000010 x9 : 0000000000000008
> >	x10: 0000000000000044 x11: 00000008ffff0220
> >	x12: 00000000fbdaa748 x13: 00000000fbda70f8
> >	x14: 00000000fbd21d20 x15: 00000000fbc194e8
> >	x16: 00000000fbd70fc8 x17: 0000000000000000
> >	x18: 00000000fbc1cdb0 x19: 00000000fbd21bf0
> >	x20: 0000000064f00000 x21: 00000000fbda6fb8
> >	x22: 0000000000000018 x23: 0000000000000018
> >	x24: 00000000fbde6344 x25: 0000000000000000
> >	x26: 0000000000000000 x27: 0000000000000000
> >	x28: 00000000fbc53660 x29: 00000000fbc19220
> >
> >	Code: 7a419060 1a9f3000 a8c17bfd d65f03c0 (12800100)
> >
> >	Resetting CPU ...
> >
> >Signed-off-by: Hou Zhiqiang <Zhiqiang.Hou@nxp.com>
> >---
> > include/configs/ls1012a2g5rdb.h  | 1 -
> > include/configs/ls1012afrdm.h    | 2 +-
> > include/configs/ls1012afrwy.h    | 1 -
> > include/configs/ls1012aqds.h     | 1 -
> > include/configs/ls1012ardb.h     | 1 -
> > include/configs/ls1021atsn.h     | 3 +--
> > include/configs/ls1021atwr.h     | 4 +---
> > include/configs/ls1028aqds.h     | 3 +--
> > include/configs/ls1028ardb.h     | 3 +--
> > include/configs/ls1043a_common.h | 1 -
> >include/configs/ls1046a_common.h | 1 -
> > include/configs/ls1088ardb.h     | 2 --
> > include/configs/ls2080ardb.h     | 2 --
> > include/configs/lx2160a_common.h | 1 -
> > 14 files changed, 5 insertions(+), 21 deletions(-)
> >
> >diff --git a/include/configs/ls1012a2g5rdb.h
> >b/include/configs/ls1012a2g5rdb.h index 44f9da7306..d9ff011bac 100644
> >--- a/include/configs/ls1012a2g5rdb.h
> >+++ b/include/configs/ls1012a2g5rdb.h
> >@@ -29,7 +29,6 @@
> > #define CONFIG_EXTRA_ENV_SETTINGS		\
> > 	"verify=no\0"				\
> > 	"initrd_high=0xffffffffffffffff\0"	\
> >-	"fdt_addr=0x00f00000\0"			\
> 
> Getting below checkpatch error:
> ERROR: fdt or initrd relocation disabled at boot time
> #76: FILE: include/configs/ls1012a2g5rdb.h:31:
>         "initrd_high=0xffffffffffffffff\0"      \
> 
> Kindly remove unused 'initrd_high' variable as well in this patch in all header
> files.
 
No, the 'initrd_high' is the context, but it's not changed in this patch.

Thanks,
Zhiqiang

> 
> Regards
> Priyanka

  reply	other threads:[~2021-08-23  3:37 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-12  7:28 [PATCH] configs: Layerscape: Remove the 'fdt_addr' env Zhiqiang Hou
2021-08-12  7:24 ` Wolfgang Denk
2021-08-12  8:13   ` Z.Q. Hou
2021-08-12  8:58     ` Wolfgang Denk
2021-08-18  9:29       ` Priyanka Jain (OSS)
2021-08-19 11:29         ` Wolfgang Denk
2021-08-18 10:33 ` Priyanka Jain (OSS)
2021-08-23  3:37   ` Z.Q. Hou [this message]
2021-11-09 11:54     ` Priyanka Jain (OSS)

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=HE1PR0402MB337197CFF09A90BC8F01CB0084C49@HE1PR0402MB3371.eurprd04.prod.outlook.com \
    --to=zhiqiang.hou@nxp.com \
    --cc=festevam@gmail.com \
    --cc=priyanka.jain@oss.nxp.com \
    --cc=trini@konsulko.com \
    --cc=u-boot@lists.denx.de \
    --cc=ykaukab@suse.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.