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?
Thanks Xiaoke Wu
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
Im not trying to hijack this thread, but i find it very interesting to see you guys working on seperate tress from the mainline kernel. Wouldnt it be beneficial any patches etc that linaro work on and changes made get upstreamed?
On Fri, May 3, 2013 at 12:48 PM, Ryan Harkin ryan.harkin@linaro.org wrote:
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
linaro-dev mailing list linaro-dev@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-dev
On 3 May 2013 12:04, Jonathan Aquilina eagles051387@gmail.com wrote:
Im not trying to hijack this thread, but i find it very interesting to see you guys working on seperate tress from the mainline kernel. Wouldnt it be beneficial any patches etc that linaro work on and changes made get upstreamed?
That's sort-of what's happening. If you look what's in our tree, it's basically mainline + the latest patches from Catalin's tree that aren't upstream yet + some config changes. That's the idea, at least.
On Fri, May 3, 2013 at 12:48 PM, Ryan Harkin ryan.harkin@linaro.org wrote:
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
linaro-dev mailing list linaro-dev@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-dev
-- Jonathan Aquilina
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]. From the names you're using, it sounds like you might be using an older revision of the boot-wrapper. The devicetree files were renamed a few months ago [3] [4].
1. http://git.kernel.org/cgit/linux/kernel/git/cmarinas/linux-aarch64.git/log/?... 2. http://git.kernel.org/cgit/linux/kernel/git/cmarinas/boot-wrapper-aarch64.gi... 3. http://git.kernel.org/cgit/linux/kernel/git/cmarinas/boot-wrapper-aarch64.gi... 4. http://git.kernel.org/cgit/linux/kernel/git/cmarinas/boot-wrapper-aarch64.gi...
Regards, Christopher
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.