Re: [U-Boot] how to get u-boot code with arm64: core support

2014-02-12 Thread Inderpal Singh
> > > > $ unset ARCH > > > > Regards, > > Bhupesh > > > > *From:* tiger...@viatech.com.cn [mailto:tiger...@viatech.com.cn] > *Sent:* Wednesday, February 12, 2014 1:44 PM > *To:* inderpal.si...@linaro.org > *Cc:* Sharma Bhupesh-B45370; dra...@bro

Re: [U-Boot] how to get u-boot code with arm64: core support

2014-02-12 Thread bhupesh.sha...@freescale.com
-B45370; dra...@broadcom.com; u-boot@lists.denx.de; tr...@ti.com Subject: Re: [U-Boot] how to get u-boot code with arm64: core support Hi, Inder: >Could it be a toolchain issue? I used the linaro toochain >gcc-linaro-aarch64-linux-gnu-4.8-2014.01_linux.tar.xz<http://releases.linaro.o

Re: [U-Boot] how to get u-boot code with arm64: core support

2014-02-12 Thread TigerLiu
Hi, Inder: >Could it be a toolchain issue? I used the linaro toochain gcc-linaro-aarch64-linux-gnu-4.8-2014.01_linux.tar.xz at [1]. Maybe I use gcc-linaro-aarch64-linux-gnu-4.

Re: [U-Boot] how to get u-boot code with arm64: core support

2014-02-12 Thread Inderpal Singh
On 12 February 2014 13:32, wrote: > Hi, Inder: > > >aarch64-linux-gnu-gcc: error: unrecognized command line option '-marm' > >aarch64-linux-gnu-gcc: error: unrecognized command line option > '-mno-thumb-interwork' > >aarch64-linux-gnu-gcc: error: unrecognized command line option > '-mabi=aapc

Re: [U-Boot] how to get u-boot code with arm64: core support

2014-02-12 Thread TigerLiu
Hi, Inder: >aarch64-linux-gnu-gcc: error: unrecognized command line option '-marm' >aarch64-linux-gnu-gcc: error: unrecognized command line option '-mno-thumb-interwork' >aarch64-linux-gnu-gcc: error: unrecognized command line option '-mabi=aapcs-linux' >aarch64-linux-gnu-gcc: error: unrecognized

Re: [U-Boot] how to get u-boot code with arm64: core support

2014-02-12 Thread Inderpal Singh
Hi Tiger, On 12 February 2014 07:38, wrote: > Hi, Bhupesh: > I described my steps: > 1. Compiled ATF >Export CROSS_COMPILE=/home/lion/ > gcc-linaro-aarch64/bin/aarch64-linux-gnu- >make DEBUG=1 V=1 >make DEBUG=1 PLAT=fvp all dump > >Note: >I used linaro released aarch64 compi

Re: [U-Boot] how to get u-boot code with arm64: core support

2014-02-11 Thread TigerLiu
Hi, Bhupesh: >Booting trusted firmware boot loader stage 1 >Built : 16:09:23, Feb 11 2014 >ERROR: Cannot access 'bl2.bin' file (-1). >Failed to load boot loader stage 2 (BL2) firmware. I did not run into this issue. It seems semihosting broken! Maybe this website is useful: https://github.com/ARM

Re: [U-Boot] how to get u-boot code with arm64: core support

2014-02-11 Thread bhupesh.sha...@freescale.com
Hi Tiger, > -Original Message- > From: tiger...@viatech.com.cn [mailto:tiger...@viatech.com.cn] > Sent: Wednesday, February 12, 2014 7:38 AM > To: Sharma Bhupesh-B45370; dra...@broadcom.com; u-boot@lists.denx.de > Cc: tr...@ti.com > Subject: Re: [U-Boot] how to get u-bo

Re: [U-Boot] how to get u-boot code with arm64: core support

2014-02-11 Thread TigerLiu
Hi, Bhupesh: I described my steps: 1. Compiled ATF Export CROSS_COMPILE=/home/lion/ gcc-linaro-aarch64/bin/aarch64-linux-gnu- make DEBUG=1 V=1 make DEBUG=1 PLAT=fvp all dump Note: I used linaro released aarch64 compiler, not official gcc 4.7 2. Compiled Uboot (1) revised CONFIG_

Re: [U-Boot] how to get u-boot code with arm64: core support

2014-02-11 Thread bhupesh.sha...@freescale.com
Hi Tiger, > -Original Message- > From: tiger...@viatech.com.cn [mailto:tiger...@viatech.com.cn] > Sent: Thursday, January 23, 2014 1:25 PM > To: Sharma Bhupesh-B45370; dra...@broadcom.com; u-boot@lists.denx.de > Cc: tr...@ti.com > Subject: Re: [U-Boot] how to get u-bo

Re: [U-Boot] how to get u-boot code with arm64: core support

2014-01-25 Thread drambo
On 14-01-25 11:46 AM, bhupesh.sha...@freescale.com [via U-Boot] wrote: > > >> >> However, if we set up u-boot so that it can wake up at any security >> level and migrate to non-secure EL1, that might be a nice compromise. >> But having specific EL3 startup assumptions and code that is always >>

Re: [U-Boot] how to get u-boot code with arm64: core support

2014-01-25 Thread bhupesh.sha...@freescale.com
> -Original Message- > From: Darwin Rambo [mailto:dra...@broadcom.com] > Sent: Thursday, January 23, 2014 10:35 PM > To: Detlev Zundel; Sharma Bhupesh-B45370 > Cc: 'u-boot@lists.denx.de'; 'Tom Rini' > Subject: Re: [U-Boot] how to get u-boot code with a

Re: [U-Boot] how to get u-boot code with arm64: core support

2014-01-23 Thread Darwin Rambo
On 14-01-23 07:58 AM, Detlev Zundel wrote: Hi Bhupesh, -Original Message- From: u-boot-boun...@lists.denx.de [mailto:u-boot-boun...@lists.denx.de] On Behalf Of drambo Sent: Thursday, January 23, 2014 12:32 AM To: u-boot@lists.denx.de Subject: Re: [U-Boot] how to get u-boot code with

Re: [U-Boot] how to get u-boot code with arm64: core support

2014-01-23 Thread Detlev Zundel
Hi Bhupesh, >> -Original Message- >> From: u-boot-boun...@lists.denx.de [mailto:u-boot-boun...@lists.denx.de] >> On Behalf Of drambo >> Sent: Thursday, January 23, 2014 12:32 AM >> To: u-boot@lists.denx.de >> Subject: Re: [U-Boot] how to get u-boot cod

Re: [U-Boot] how to get u-boot code with arm64: core support

2014-01-22 Thread TigerLiu
Hi, bhupesh and drambo: I think current uboot ARMv8's start.S could handle EL2/EL1 case. I have tested it on FVP model, let arm trusted firmware boot u-boot.bin. It seemed ok. The command I used is: ./Foundation_v8 --cores=4 --no-secure-memory --no-gicv3 --data="./bl1.bin"@0x0 --nsdata="./u-boot.bi

Re: [U-Boot] how to get u-boot code with arm64: core support

2014-01-22 Thread bhupesh.sha...@freescale.com
Hi Darwin, > -Original Message- > From: u-boot-boun...@lists.denx.de [mailto:u-boot-boun...@lists.denx.de] > On Behalf Of drambo > Sent: Thursday, January 23, 2014 12:32 AM > To: u-boot@lists.denx.de > Subject: Re: [U-Boot] how to get u-boot code with arm64: core suppo

Re: [U-Boot] how to get u-boot code with arm64: core support

2014-01-22 Thread drambo
Hi Bhupesh, > U-boot doesn't have ARM trusted firmware support as of now. U-boot for > ARMv8 starts in EL3, whereas UEFI starts in EL2 as trusted firmware itself > is working in EL3. Since the ATF software doesn't really care whether it is loading uefi or u-boot and since it wants to load non

Re: [U-Boot] how to get u-boot code with arm64: core support

2014-01-20 Thread TigerLiu
Hi, Bhupesh: >U-boot doesn't have ARM trusted firmware support as of now. U-boot for ARMv8 starts in EL3, >whereas UEFI starts in EL2 as trusted firmware itself is working in EL3. Do you mean: when FVP run, the first instruction would be fetched from u-boot.elf? Best wishes, _

Re: [U-Boot] how to get u-boot code with arm64: core support

2014-01-20 Thread bhupesh.sha...@freescale.com
> -Original Message- > From: tiger...@viatech.com.cn [mailto:tiger...@viatech.com.cn] > Sent: Monday, January 20, 2014 4:24 PM > To: Wood Scott-B07421; Sharma Bhupesh-B45370 > Cc: feng...@phytium.com.cn; tr...@ti.com; u-boot@lists.denx.de > Subject: Re: Re: [U-Boot] how

Re: [U-Boot] how to get u-boot code with arm64: core support

2014-01-20 Thread TigerLiu
Hi, Scott: >After changing to u-boot.elf, it could be run in FVP model. If I run "./Foundation_v8 --image ./u-boot.elf --cores=4 --no-secure-memory", Uboot could be run with FVP model. But no ARM trusted firmware boot info appeared. Such as: Booting trusted firmware boot loader stage 1 .. If I

Re: [U-Boot] how to get u-boot code with arm64: core support

2014-01-15 Thread Wolfgang Denk
Dear Abraham, In message you wrote: > > > It is always wrong to use an absolute path name for CROSS_COMPILE. > > You should use "CROSS_COMPILE=aarch64-linux-gnu-" and make sure your > > PATH is set correctly. > > Actually, I also give the full path name when defining CROSS_COMPILER Then you ar

Re: [U-Boot] how to get u-boot code with arm64: core support

2014-01-15 Thread Abraham Varricatt
On Wed, Jan 15, 2014 at 12:07 PM, Wolfgang Denk wrote: > Dear tiger...@viatech.com.cn, > > In message > you wrote: >> >> CROSS_COMPILE=/home/lion/ARMv8/gcc-linaro-aarch64/bin/aarch64-linux-gnu- > > Side note: > > It is always wrong to use an absolute path name for CROSS_COMPILE. > You should use

Re: [U-Boot] how to get u-boot code with arm64: core support

2014-01-14 Thread Wolfgang Denk
Dear tiger...@viatech.com.cn, In message you wrote: > > CROSS_COMPILE=/home/lion/ARMv8/gcc-linaro-aarch64/bin/aarch64-linux-gnu- Side note: It is always wrong to use an absolute path name for CROSS_COMPILE. You should use "CROSS_COMPILE=aarch64-linux-gnu-" and make sure your PATH is set correc

Re: [U-Boot] how to get u-boot code with arm64: core support

2014-01-14 Thread FengHua
> -Original Messages- > From: tiger...@viatech.com.cn > Sent Time: 2014-01-15 08:45:16 (Wednesday) > To: scottw...@freescale.com, bhupesh.sha...@freescale.com > Cc: feng...@phytium.com.cn, tr...@ti.com, u-boot@lists.denx.de > Subject: Re: [U-Boot] how to get u-boot cod

Re: [U-Boot] how to get u-boot code with arm64: core support

2014-01-14 Thread TigerLiu
Hi, Scott: >You need to use u-boot.elf, not the unrelocated u-boot. Thanks a lot! After changing to u-boot.elf, it could be run in FVP model. Best wishes, ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] how to get u-boot code with arm64: core support

2014-01-14 Thread Scott Wood
On Tue, 2014-01-14 at 05:23 -0600, Sharma Bhupesh-B45370 wrote: > Not the u-boot.bin, only u-boot: > > ./Foundation_v8 --image ./u-boot --cores=4 --no-secure-memory You need to use u-boot.elf, not the unrelocated u-boot. -Scott ___ U-Boot mailing lis

Re: [U-Boot] how to get u-boot code with arm64: core support

2014-01-14 Thread TigerLiu
Hi, sharma: >Not the u-boot.bin, only u-boot: >./Foundation_v8 --image ./u-boot --cores=4 --no-secure-memory FVP model print: Simulation is started Then not run further. Based on arm open source firmware doc, should use Foundation_v8 as below format: ./Foundation_v8 \ -

Re: [U-Boot] how to get u-boot code with arm64: core support

2014-01-14 Thread bhupesh.sha...@freescale.com
B45370; feng...@phytium.com.cn > Cc: tr...@ti.com; u-boot@lists.denx.de; Wood Scott-B07421 > Subject: Re: Re: [U-Boot] how to get u-boot code with arm64: core support > > Hi,Sharma: > >Can you try this command: > >./Foundation_v8 --image ./u-boot --cores=4 --no-secure-memory > >

Re: [U-Boot] how to get u-boot code with arm64: core support

2014-01-14 Thread TigerLiu
Hi,Sharma: >Can you try this command: >./Foundation_v8 --image ./u-boot --cores=4 --no-secure-memory Error: terminal_1: Listening for serial connection on port 5000 terminal_2: Listening for serial connection on port 5001 terminal_0: Listening for serial connection on port 5002 terminal_3: Listeni

Re: [U-Boot] how to get u-boot code with arm64: core support

2014-01-14 Thread bhupesh.sha...@freescale.com
> -Original Message- > From: tiger...@viatech.com.cn [mailto:tiger...@viatech.com.cn] > Sent: Tuesday, January 14, 2014 4:40 PM > To: Sharma Bhupesh-B45370; feng...@phytium.com.cn > Cc: tr...@ti.com; u-boot@lists.denx.de; Wood Scott-B07421 > Subject: Re: Re: [U-Boot] how

Re: [U-Boot] how to get u-boot code with arm64: core support

2014-01-14 Thread TigerLiu
Hi, sharma: > ./Foundation_v8 --cores=4 --no-secure-memory --visualization --data="./bl1.bin"@0x0 --data="./u-boot.bin"@0x800 Is the TEXT_BASE right? Best wishes, ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-b

Re: [U-Boot] how to get u-boot code with arm64: core support

2014-01-14 Thread TigerLiu
Hi, sharma: >Which ARMv8 foundation model version you are using. I one I have doesn't support >GiCv3. UEFI supports both GiCv3 and v2 whereas I believe uboot is only tested >for GiCv2. I download FVP from ARM Ltd website: http://www.arm.com/products/tools/models/fast-models/foundation-model.ph p h

Re: [U-Boot] how to get u-boot code with arm64: core support

2014-01-14 Thread bhupesh.sha...@freescale.com
Subject: Re: [U-Boot] how to get u-boot code with arm64: core support > > Hi, experts: > I have tried to boot uefi bootloader with FVP model,it is ok! > ./Foundation_v8 --cores=4 --no-secure-memory --visualization --gicv3 > --data="./bl1.bin"@0x0 --data="./uefi.fd&q

Re: [U-Boot] how to get u-boot code with arm64: core support

2014-01-14 Thread TigerLiu
Hi, experts: I have tried to boot uefi bootloader with FVP model,it is ok! ./Foundation_v8 --cores=4 --no-secure-memory --visualization --gicv3 --data="./bl1.bin"@0x0 --data="./uefi.fd"@0x800 BL1-->BL2-->...>uefi.fd But booting uboot.bin, it still failed. Best wishes, ___

Re: [U-Boot] how to get u-boot code with arm64: core support

2014-01-14 Thread TigerLiu
Hi, Fenghua: > Albert has merged arm64 patch set. I have tested and it works fine on >Foundation Model. I have downloaded the latest u-boot source code. And compiled it with linaro released gcc: export ARCH=aarch64 export CROSS_COMPILE=/home/lion/ARMv8/gcc-linaro-aarch64/bin/aarch64-linux-gnu-

Re: [U-Boot] how to get u-boot code with arm64: core support

2014-01-12 Thread TigerLiu
Hi, Jagan and other experts: Thanks a lot! I will try it at ARM Ltd released Foundation Model. Best wishes, ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] how to get u-boot code with arm64: core support

2014-01-10 Thread Jagan Teki
On Sat, Jan 11, 2014 at 12:14 PM, FengHua wrote: > hi Tiger, > Sorry! It's a little late. > Albert has merged arm64 patch set. I have tested and it works fine on > Foundation Model. > So, you could get it from git tree of u-boot-arm branch. > > Regards, > David > >> Hi, fenghua: >>

Re: [U-Boot] how to get u-boot code with arm64: core support

2014-01-10 Thread FengHua
hi Tiger, Sorry! It's a little late. Albert has merged arm64 patch set. I have tested and it works fine on Foundation Model. So, you could get it from git tree of u-boot-arm branch. Regards, David > Hi, fenghua: > How to get u-boot code with arch/arm/cpu/armv8 directory? > I used

[U-Boot] how to get u-boot code with arm64: core support

2014-01-09 Thread TigerLiu
Hi, fenghua: How to get u-boot code with arch/arm/cpu/armv8 directory? I used "git://www.denx.de/git/u-boot.git " to get latest code, but not find armv8 dir. Best wishes, ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/