From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jeffy Chen Subject: Re: [PATCH v1 5/6] rockchip: kylin: Enable boot with android boot image Date: Tue, 12 Jan 2016 10:36:04 +0800 Message-ID: <56946694.40203@rock-chips.com> References: <1451893823-20309-1-git-send-email-jeffy.chen@rock-chips.com> <1451893823-20309-6-git-send-email-jeffy.chen@rock-chips.com> <568F94B8.60101@rock-chips.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+glpar-linux-rockchip=m.gmane.org-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org To: Simon Glass Cc: U-Boot Mailing List , huang lin , linux-rockchip-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org List-Id: linux-rockchip.vger.kernel.org Hi Simon, On 2016-1-12 0:58, Simon Glass wrote: > Hi Jeffy, > > On 8 January 2016 at 03:51, Jeffy Chen wrote: >> Hi Simon, >> >> On 2016-1-8 11:34, Simon Glass wrote: >>> Hi Jeffy, >>> >>> On 4 January 2016 at 00:50, Jeffy Chen wrote: >>>> The android kernel is using appended dtb by default, and store >>>> ramdisk right after kernel & dtb. >>>> So we needs to relocate ramdisk, and use atags to pass params. >>>> >>>> Signed-off-by: Jeffy Chen >>>> --- >>>> >>>> include/configs/kylin_rk3036.h | 23 +++++++++++++++++++++++ >>>> 1 file changed, 23 insertions(+) >>> Acked-by: Simon Glass >>> >>> What kernel version are you using? >> It's kernel v4.1 for android project: >> git fetch >> https://android.googlesource.com/platform/hardware/bsp/kernel/common/v4.1 >> refs/changes/03/188603/5 && git checkout FETCH_HEAD :) > OK - just wondered why it needs ATAGs (CONFIG_SETUP_MEMORY_TAGS) - are > there things that device tree does not support? I saw our guys used to detect ddr params in the loader, and pass memory areas and reserved areas to kernel... and kernel's device tree would only define a common memory node in the dtsi, which is not match the actually memory. > used to > >>> >>> Regards, >>> Simon >>> >> On 2016-1-8 11:34, Simon Glass wrote: >>> Hi Jeffy, >>> >>> On 4 January 2016 at 00:50, Jeffy Chen wrote: >>>> The android kernel is using appended dtb by default, and store >>>> ramdisk right after kernel & dtb. >>>> So we needs to relocate ramdisk, and use atags to pass params. >>>> >>>> Signed-off-by: Jeffy Chen >>>> --- >>>> >>>> include/configs/kylin_rk3036.h | 23 +++++++++++++++++++++++ >>>> 1 file changed, 23 insertions(+) >>> Acked-by: Simon Glass >>> >>> What kernel version are you using? >>> >>> Regards, >>> Simon >>> > Regards, > Simon > From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jeffy Chen Date: Tue, 12 Jan 2016 10:36:04 +0800 Subject: [U-Boot] [PATCH v1 5/6] rockchip: kylin: Enable boot with android boot image In-Reply-To: References: <1451893823-20309-1-git-send-email-jeffy.chen@rock-chips.com> <1451893823-20309-6-git-send-email-jeffy.chen@rock-chips.com> <568F94B8.60101@rock-chips.com> Message-ID: <56946694.40203@rock-chips.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Simon, On 2016-1-12 0:58, Simon Glass wrote: > Hi Jeffy, > > On 8 January 2016 at 03:51, Jeffy Chen wrote: >> Hi Simon, >> >> On 2016-1-8 11:34, Simon Glass wrote: >>> Hi Jeffy, >>> >>> On 4 January 2016 at 00:50, Jeffy Chen wrote: >>>> The android kernel is using appended dtb by default, and store >>>> ramdisk right after kernel & dtb. >>>> So we needs to relocate ramdisk, and use atags to pass params. >>>> >>>> Signed-off-by: Jeffy Chen >>>> --- >>>> >>>> include/configs/kylin_rk3036.h | 23 +++++++++++++++++++++++ >>>> 1 file changed, 23 insertions(+) >>> Acked-by: Simon Glass >>> >>> What kernel version are you using? >> It's kernel v4.1 for android project: >> git fetch >> https://android.googlesource.com/platform/hardware/bsp/kernel/common/v4.1 >> refs/changes/03/188603/5 && git checkout FETCH_HEAD :) > OK - just wondered why it needs ATAGs (CONFIG_SETUP_MEMORY_TAGS) - are > there things that device tree does not support? I saw our guys used to detect ddr params in the loader, and pass memory areas and reserved areas to kernel... and kernel's device tree would only define a common memory node in the dtsi, which is not match the actually memory. > used to > >>> >>> Regards, >>> Simon >>> >> On 2016-1-8 11:34, Simon Glass wrote: >>> Hi Jeffy, >>> >>> On 4 January 2016 at 00:50, Jeffy Chen wrote: >>>> The android kernel is using appended dtb by default, and store >>>> ramdisk right after kernel & dtb. >>>> So we needs to relocate ramdisk, and use atags to pass params. >>>> >>>> Signed-off-by: Jeffy Chen >>>> --- >>>> >>>> include/configs/kylin_rk3036.h | 23 +++++++++++++++++++++++ >>>> 1 file changed, 23 insertions(+) >>> Acked-by: Simon Glass >>> >>> What kernel version are you using? >>> >>> Regards, >>> Simon >>> > Regards, > Simon >