From mboxrd@z Thu Jan 1 00:00:00 1970 From: Simon Glass Subject: Re: [PATCH v1 5/6] rockchip: kylin: Enable boot with android boot image Date: Mon, 11 Jan 2016 09:58:30 -0700 Message-ID: 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" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <568F94B8.60101-TNX95d0MmH7DzftRWevZcw@public.gmane.org> 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: Jeffy Chen Cc: U-Boot Mailing List , huang lin , linux-rockchip-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org List-Id: linux-rockchip.vger.kernel.org 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? >> >> >> 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: Simon Glass Date: Mon, 11 Jan 2016 09:58:30 -0700 Subject: [U-Boot] [PATCH v1 5/6] rockchip: kylin: Enable boot with android boot image In-Reply-To: <568F94B8.60101@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> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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? >> >> >> 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