From mboxrd@z Thu Jan 1 00:00:00 1970 From: York Sun Date: Thu, 28 May 2015 12:02:19 -0700 Subject: [U-Boot] [PATCH 09/22][v2] armv8/ls2085a: Increase the supported kernel size In-Reply-To: References: <1432805055-1244-1-git-send-email-prabhakar@freescale.com> <1432805055-1244-9-git-send-email-prabhakar@freescale.com> <55673BB1.4020804@freescale.com> Message-ID: <5567663B.2070507@freescale.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 05/28/2015 11:58 AM, Sharma Bhupesh-B45370 wrote: > Hi York, > > Sorry for missing this comment on v1. > >> From: Sun York-R58495 >> Sent: Thursday, May 28, 2015 9:31 PM >> >> On 05/28/2015 02:24 AM, Prabhakar Kushwaha wrote: >>> From: Bhupesh Sharma >>> >>> Increases the kernel size supported for LS2085A platforms:- >>> - Update environment variables >>> - Add ramdisk_size in bootargs env variable >>> - Define CONFIG_SYS_BOOTM_LEN to 64MB >>> >>> Signed-off-by: Bhupesh Sharma >>> Signed-off-by: Prabhakar Kushwaha >>> --- >>> Changes for v2: sending as it is for patch set >>> >>> include/configs/ls2085a_common.h | 9 ++++++--- >>> include/configs/ls2085aqds.h | 2 +- >>> include/configs/ls2085ardb.h | 2 +- >>> 3 files changed, 8 insertions(+), 5 deletions(-) >>> >>> diff --git a/include/configs/ls2085a_common.h >> b/include/configs/ls2085a_common.h >>> index 749c58d..a33b8a9 100644 >>> --- a/include/configs/ls2085a_common.h >>> +++ b/include/configs/ls2085a_common.h >>> @@ -248,13 +248,13 @@ unsigned long long get_qixis_addr(void); >>> "initrd_high=0xffffffffffffffff\0" \ >>> "kernel_start=0x581200000\0" \ >>> "kernel_load=0xa0000000\0" \ >>> - "kernel_size=0x1000000\0" \ >>> + "kernel_size=0x2000000\0" \ >>> "console=ttyAMA0,38400n8\0" >> >> I didn't get a respond to my question for v1. How is kernel_size variable >> used? > > This variable is used for our default bootcmd to define the kernel size which needs to be copied > from the address pointed by the 'kernel_start' variable to the address pointed to by > the 'kernel_load' variable: > > #define CONFIG_BOOTCOMMAND "cp.b $kernel_start $kernel_load " \ > "$kernel_size && bootm $kernel_load" > Got it. It is just a short-hand for copying images from NOR flash to RAM. York