On Fri, 2013-05-03 at 08:06 -0400, Christopher Covington wrote:
Hi Xiaoke,
On 05/03/2013 05:08 AM, Wang Wei wrote:
Dear linaro members
I want to build arm64 kernel according to the steps of HowTo/BuildArm64Kernel. Then i use Foundatin_v8 with args such as linux-system-foundation.axf,vexpress64-openembedded_lam-armv8_20130320-274.img. But RTSM terminal_0 cannot display. I tried my best to search for methods to solve it. But i cannot find a correct method to handle with it. I need some help.
I tried to slove it as following:
I have tried 3.7 kernel and used 3.9-rc even. But i cannot built kenel correctly. Because some files such as arm64/boot/dts/vexpress-v2p-aarch64.dts, vexpress-foundation-v8.dts,vexpress-v2m-rs1.dtsi,skeleton.dtsi and arm64/configs/vexpress_defconfig don’t exist in 3.7 kernel and 3.9-rc even. So i cannot complete building kernel. Also i cannot use boot wrapper to generate a linux-system-foundation.axf suitable for a Foundation model. Then I copied the above files from linaro-aarch64-linaro-aarch64-3.6-fdf0f30 to 3.7 kernel and 3.9-rc even. Though I got linux-system-foundation.axf, i used foundation_v8 with the new linux-system-foundation.axf and rootfs.img and RTSM terminal_0 cannot display. I don’t know which step I made mistake.
So i need to ask for help to know how to build arm64 kernel of 3.7 kernel and 3.9-rc even and generate a linux-system-foundation.axf which can run on Foundation model. For example, i should how to write configuration files such as vexpress_defconfig,vexpress-foundation-v8.dts,vexpress-v2p-aarch64.dts and so on. These files such as vexpress-foundation-v8.dts,vexpress-v2p-aarch64.dts are used to do what? Why RTSM terminal_0 cannot display?
For what it's worth, I'm happily building and booting Catalin Marinas's soc-armv8-model branch [1] with his latest version of the AArch64 boot-wrapper [2].
And this should pretty much be the same as what is in Linaro's kernel because we just pull in Catalin's branch and reorganise/rebase patches to fit in with our workflow.