Re: [U-Boot] [Patch v4 2/5] ARMv8: Adjust MMU setup

2014-06-18 Thread feng...@phytium.com.cn
hi York, > On 06/10/2014 02:15 AM, Mark Rutland wrote: >> Hi, >> >> Apologies for the delay in replying. >> >> On Fri, Jun 06, 2014 at 11:14:23PM +0100, York Sun wrote: >>> On 06/06/2014 01:17 PM, York Sun wrote: On 06/06/2014 10:32 AM, Mark Rutland wrote: >>> How is TCR_EL2.SH0 (or T

Re: [U-Boot] [Patch v4 3/5] ARMv8/FSL_LSCH3: Add FSL_LSCH3 SoC

2014-06-11 Thread feng...@phytium.com.cn
Dear York, My mailing list disabled a few days. Maybe I missed something important. > /* > * Performs a clean & invalidation of the entire data cache at all levels > */ > void flush_dcache_all(void) > { > __asm_flush_dcache_all(); > + flush_l3_cache(); > } > I thought the L3 ca

Re: [U-Boot] Booting armv8 kernel on uboot

2014-05-30 Thread feng...@phytium.com.cn
hi Tiger, > Hi, fenghua: > Followed your steps, I also downloaded linux-3.14.4.tar.xz . > And run it with ATF + Uboot. > It could boot into linux kernel, and hangs at mounting root fs. > > Thanks a lot! I did not test rootfs. It depends on where you place the rootfs(ramdisk or mmc etc). The k

Re: [U-Boot] Booting armv8 kernel on uboot

2014-05-27 Thread feng...@phytium.com.cn
Dear Tom, Tiger, > > hi Tom, > >> On Thu, May 22, 2014 at 10:26:17PM +0800, feng...@phytium.com.cn wrote: >>> >>> >>>> Hi , >>>> I have added mmc driver into the vexpress64 board file for uboot and tested >>>> it o

Re: [U-Boot] Booting armv8 kernel on uboot

2014-05-26 Thread feng...@phytium.com.cn
hi Tom, > On Thu, May 22, 2014 at 10:26:17PM +0800, feng...@phytium.com.cn wrote: >> >> >>> Hi , >>> I have added mmc driver into the vexpress64 board file for uboot and tested >>> it on FVP base model. I tried booting a kernel on that but it

Re: [U-Boot] armv8 relocation questions

2014-05-26 Thread feng...@phytium.com.cn
hi Wolfgang, I am will glad to share my understanding. > Dear David, > > In message <0579e649-f359-415b-a8ed-e1d4267f8...@phytium.com.cn> you wrote: >> >>> And if any text base alignment is less than the image's maximum >>> alignment requirement, the load will fail, and then we likely scra

Re: [U-Boot] [PATCH] arm64: zero cntvoff_el2

2014-05-22 Thread feng...@phytium.com.cn
> Currently cntvoff_el2 is initialised with an arbitrary bag of bits > derived from the initial value of cnthctl_el2 on the current CPU. This is > somewhat odd and problematic as some of these bits are UNKNOWN at reset > and may differ across CPUs (which may cause an OS at EL1 to observe time > go

Re: [U-Boot] Booting armv8 kernel on uboot

2014-05-22 Thread feng...@phytium.com.cn
> Hi , > I have added mmc driver into the vexpress64 board file for uboot and tested > it on FVP base model. I tried booting a kernel on that but it is aborting > with the following message: > Final value for argc=3 > Loading Kernel Image ... OK > kernel loaded at 0x0008, end = 0x00827024

Re: [U-Boot] armv8 relocation questions

2014-05-22 Thread feng...@phytium.com.cn
> On 14-05-16 06:47 AM, feng...@phytium.com.cn wrote: >> >> hi Darwin, >>It's a little late. >>> I'm hoping someone can help answer these questions about armv8 relocation. >>> >>> The CONFIG_SYS_TEXT_BASE seems to be be u

Re: [U-Boot] armv8 relocation questions

2014-05-16 Thread feng...@phytium.com.cn
> > hi Darwin, > It's a little late. >> I'm hoping someone can help answer these questions about armv8 relocation. >> >> The CONFIG_SYS_TEXT_BASE seems to be be usually setup to a decent amount of >> alignment. For the purposes of this discussion, let's say it would normally >> be 0x8800

Re: [U-Boot] armv8 relocation questions

2014-05-16 Thread feng...@phytium.com.cn
Hi Jeroen, > Hello Tom, > > On vr, 2014-05-16 at 17:15 -0400, Tom Rini wrote: >> On Fri, May 16, 2014 at 10:28:25PM +0200, Wolfgang Denk wrote: >>> Dear Darwin, >>> >>> In message <53763b78.6030...@broadcom.com> you wrote: 3. Fixed offset case: CONFIG_SYS_TEXT_BASE = 0x8820

Re: [U-Boot] armv8 relocation questions

2014-05-16 Thread feng...@phytium.com.cn
hi Darwin, It's a little late. > I'm hoping someone can help answer these questions about armv8 relocation. > > The CONFIG_SYS_TEXT_BASE seems to be be usually setup to a decent amount of > alignment. For the purposes of this discussion, let's say it would normally > be 0x8800 and al