Hi,
On 3 May 2013 10:08, Wang Wei Bessel.Wang@huawei.com 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.
Have you tried to run our binaries from our release first, to make sure your setup is correct? Then, when you know the setup is correct, build your own kernel and see what happens.
RTSM_terminal_0 may not display because the kernel is crashing and has not started the console output yet. There are many reasons for this, like using a wrong kernel binary, using the wrong device tree, etc... That's why I recommend you take our release version first and try that.
I tried to slove it as following:
I have tried 3.7 kernel and used 3.9-rc even.
Basically, the upstream kernel does not have the same arm64 support included as we have in Linaro's trees. We are using code taken from Catalin's tree and adding some patches ourselves.
If you want to work with our instructions, you should use our tree:
https://git.linaro.org/gitweb?p=kernel/linux-linaro-tracking.git
That should be the easiest way to reproduce the issue.
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?
Thanks Xiaoke Wu
linaro-dev mailing list linaro-dev@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-dev