* How to build the kexec too for ARM11 using the cross compiler.
@ 2009-09-16 3:06 Lai Weilin-B04597
2009-09-16 3:51 ` Simon Horman
0 siblings, 1 reply; 8+ messages in thread
From: Lai Weilin-B04597 @ 2009-09-16 3:06 UTC (permalink / raw)
To: kexec
[-- Attachment #1.1: Type: text/plain, Size: 371 bytes --]
Hi,
I am trying to build kexec tool for ARM11. I can't see any doc that
helps to configure. The cross compiler is used, and I tried the
following configure option,
./configure arm --prefix=/usr --build=arm-none-linux-gnueabi
--host=i686-pc-linux-gnu --target=arm-none-linux-gnueabi
but failed.
Anyone can help ?
William Lai
021-28937152
15921256383
[-- Attachment #1.2: Type: text/html, Size: 1557 bytes --]
[-- Attachment #2: Type: text/plain, Size: 143 bytes --]
_______________________________________________
kexec mailing list
kexec@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/kexec
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: How to build the kexec too for ARM11 using the cross compiler.
2009-09-16 3:06 How to build the kexec too for ARM11 using the cross compiler Lai Weilin-B04597
@ 2009-09-16 3:51 ` Simon Horman
2009-09-16 6:05 ` Lai Weilin-B04597
2009-09-18 6:01 ` The failure of the KEXEC on ARM1136 Lai Weilin-B04597
0 siblings, 2 replies; 8+ messages in thread
From: Simon Horman @ 2009-09-16 3:51 UTC (permalink / raw)
To: Lai Weilin-B04597; +Cc: kexec
On Wed, Sep 16, 2009 at 11:06:34AM +0800, Lai Weilin-B04597 wrote:
> Hi,
> I am trying to build kexec tool for ARM11. I can't see any doc that
> helps to configure. The cross compiler is used, and I tried the
> following configure option,
> ./configure arm --prefix=/usr --build=arm-none-linux-gnueabi
> --host=i686-pc-linux-gnu --target=arm-none-linux-gnueabi
> but failed.
> Anyone can help ?
Hi,
When cross-compiling for arm the following works for me:
autoheader
autoconf
./configure --host=arm-unknown-linux-gnu
In what way is what you are trying failing?
And are you trying to build natively or cross-compile?
_______________________________________________
kexec mailing list
kexec@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/kexec
^ permalink raw reply [flat|nested] 8+ messages in thread
* RE: How to build the kexec too for ARM11 using the cross compiler.
2009-09-16 3:51 ` Simon Horman
@ 2009-09-16 6:05 ` Lai Weilin-B04597
2009-09-18 6:01 ` The failure of the KEXEC on ARM1136 Lai Weilin-B04597
1 sibling, 0 replies; 8+ messages in thread
From: Lai Weilin-B04597 @ 2009-09-16 6:05 UTC (permalink / raw)
To: Simon Horman; +Cc: kexec
I am trying to build cross-compile, on a ubuntu server.
After I read through the INSTALL file, I came up the following configure option.
./configure arm --prefix=/usr --build=arm-none-linux-gnueabi --target=arm-none-linux-gnueabi --host=i686-pc-linux-gnu
And after setting the environment variables, such as CC, BUILD_CC and etc., it works.
After the successful build, I tried the kexec out using the following command.
#kexec -l /unit_tests/zImage_mx35_430 --append="noinitrd co
nsole=ttymxc0,115200 root=/dev/nfs nfsroot=10.192.225.211:/tools/rootfs/b04597/r
ootfs_mx35 rw ip=dhcp no_console_suspend"
After execute the a currently loaded kernel, error occur again.
The log is as below.
MXC Watchdog # 0 shutdown
Starting new kernel
Bye!
Uncompressing Linux...........................................................................................................................
crc error
-- System halted
BTW, your configure works fine for ARM on my side too.
Thanks...
-----Original Message-----
From: Simon Horman [mailto:horms@verge.net.au]
Sent: 2009年9月16日 11:52
To: Lai Weilin-B04597
Cc: kexec@lists.infradead.org
Subject: Re: How to build the kexec too for ARM11 using the cross compiler.
On Wed, Sep 16, 2009 at 11:06:34AM +0800, Lai Weilin-B04597 wrote:
> Hi,
> I am trying to build kexec tool for ARM11. I can't see any doc that
> helps to configure. The cross compiler is used, and I tried the
> following configure option, ./configure arm --prefix=/usr
> --build=arm-none-linux-gnueabi --host=i686-pc-linux-gnu
> --target=arm-none-linux-gnueabi but failed.
> Anyone can help ?
Hi,
When cross-compiling for arm the following works for me:
autoheader
autoconf
./configure --host=arm-unknown-linux-gnu
In what way is what you are trying failing?
And are you trying to build natively or cross-compile?
_______________________________________________
kexec mailing list
kexec@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/kexec
^ permalink raw reply [flat|nested] 8+ messages in thread
* The failure of the KEXEC on ARM1136
2009-09-16 3:51 ` Simon Horman
2009-09-16 6:05 ` Lai Weilin-B04597
@ 2009-09-18 6:01 ` Lai Weilin-B04597
2009-09-18 6:52 ` Simon Horman
2009-09-19 15:06 ` wilbur.chan
1 sibling, 2 replies; 8+ messages in thread
From: Lai Weilin-B04597 @ 2009-09-18 6:01 UTC (permalink / raw)
To: Simon Horman; +Cc: kexec
Hi Simon,
I am trying to get kexec working on an ARM1136 using the 2.0.1 version of the KEXEC.
The loading seems to work ok. On "kexec -e", I see:
Starting new kernel
Uncompressing Linux...................................................................................................
crc error
-- System halted
Have you ever seen this kind of failure ?
Best Regards.
William Lai
021-28937152
15921256383
-----Original Message-----
From: Simon Horman [mailto:horms@verge.net.au]
Sent: 2009年9月16日 11:52
To: Lai Weilin-B04597
Cc: kexec@lists.infradead.org
Subject: Re: How to build the kexec too for ARM11 using the cross compiler.
On Wed, Sep 16, 2009 at 11:06:34AM +0800, Lai Weilin-B04597 wrote:
> Hi,
> I am trying to build kexec tool for ARM11. I can't see any doc that
> helps to configure. The cross compiler is used, and I tried the
> following configure option, ./configure arm --prefix=/usr
> --build=arm-none-linux-gnueabi --host=i686-pc-linux-gnu
> --target=arm-none-linux-gnueabi but failed.
> Anyone can help ?
Hi,
When cross-compiling for arm the following works for me:
autoheader
autoconf
./configure --host=arm-unknown-linux-gnu
In what way is what you are trying failing?
And are you trying to build natively or cross-compile?
_______________________________________________
kexec mailing list
kexec@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/kexec
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: The failure of the KEXEC on ARM1136
2009-09-18 6:01 ` The failure of the KEXEC on ARM1136 Lai Weilin-B04597
@ 2009-09-18 6:52 ` Simon Horman
2009-09-19 15:06 ` wilbur.chan
1 sibling, 0 replies; 8+ messages in thread
From: Simon Horman @ 2009-09-18 6:52 UTC (permalink / raw)
To: Lai Weilin-B04597; +Cc: kexec
On Fri, Sep 18, 2009 at 02:01:10PM +0800, Lai Weilin-B04597 wrote:
> Hi Simon,
> I am trying to get kexec working on an ARM1136 using the 2.0.1 version of the KEXEC.
>
> The loading seems to work ok. On "kexec -e", I see:
>
> Starting new kernel
> Uncompressing Linux...................................................................................................
>
> crc error
>
> -- System halted
>
> Have you ever seen this kind of failure ?
Not that I recall. The only ARM hardware I have is a Treo (i can check the
model when I get home). Would it be worth me trying to reproduce it on that hw?
_______________________________________________
kexec mailing list
kexec@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/kexec
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: The failure of the KEXEC on ARM1136
2009-09-18 6:01 ` The failure of the KEXEC on ARM1136 Lai Weilin-B04597
2009-09-18 6:52 ` Simon Horman
@ 2009-09-19 15:06 ` wilbur.chan
2009-09-20 9:44 ` Lai Weilin-B04597
2009-09-21 7:36 ` Lai Weilin-B04597
1 sibling, 2 replies; 8+ messages in thread
From: wilbur.chan @ 2009-09-19 15:06 UTC (permalink / raw)
To: Lai Weilin-B04597; +Cc: Simon Horman, kexec
2009/9/18 Lai Weilin-B04597 <B04597@freescale.com>:
> Hi Simon,
> I am trying to get kexec working on an ARM1136 using the 2.0.1 version of the KEXEC.
>
> The loading seems to work ok. On "kexec -e", I see:
>
> Starting new kernel
> Uncompressing Linux...................................................................................................
>
> crc error
>
> -- System halted
>
It seemed that your second kernel has collapsed.
I don't know why there is a "Uncompressing Linux" print here , as far
as I know, the second kernel is in the form of vmlinux, not uImage or
others.
_______________________________________________
kexec mailing list
kexec@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/kexec
^ permalink raw reply [flat|nested] 8+ messages in thread
* RE: The failure of the KEXEC on ARM1136
2009-09-19 15:06 ` wilbur.chan
@ 2009-09-20 9:44 ` Lai Weilin-B04597
2009-09-21 7:36 ` Lai Weilin-B04597
1 sibling, 0 replies; 8+ messages in thread
From: Lai Weilin-B04597 @ 2009-09-20 9:44 UTC (permalink / raw)
To: wilbur.chan; +Cc: Simon Horman, kexec
I am using the zImage instead of vmlinux. Thanks. I will try it out.
Best Regards.
William Lai
021-28937152
15921256383
-----Original Message-----
From: wilbur.chan [mailto:wilbur512@gmail.com]
Sent: 2009年9月19日 23:07
To: Lai Weilin-B04597
Cc: Simon Horman; kexec@lists.infradead.org
Subject: Re: The failure of the KEXEC on ARM1136
2009/9/18 Lai Weilin-B04597 <B04597@freescale.com>:
> Hi Simon,
> I am trying to get kexec working on an ARM1136 using the 2.0.1 version of the KEXEC.
>
> The loading seems to work ok. On "kexec -e", I see:
>
> Starting new kernel
> Uncompressing Linux...................................................................................................
>
> crc error
>
> -- System halted
>
It seemed that your second kernel has collapsed.
I don't know why there is a "Uncompressing Linux" print here , as far as I know, the second kernel is in the form of vmlinux, not uImage or others.
_______________________________________________
kexec mailing list
kexec@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/kexec
^ permalink raw reply [flat|nested] 8+ messages in thread
* RE: The failure of the KEXEC on ARM1136
2009-09-19 15:06 ` wilbur.chan
2009-09-20 9:44 ` Lai Weilin-B04597
@ 2009-09-21 7:36 ` Lai Weilin-B04597
1 sibling, 0 replies; 8+ messages in thread
From: Lai Weilin-B04597 @ 2009-09-21 7:36 UTC (permalink / raw)
To: wilbur.chan; +Cc: Simon Horman, kexec
No. It doesn't work either...
Any more suggestions ?
Best Regards.
William Lai
021-28937152
15921256383
-----Original Message-----
From: wilbur.chan [mailto:wilbur512@gmail.com]
Sent: 2009年9月19日 23:07
To: Lai Weilin-B04597
Cc: Simon Horman; kexec@lists.infradead.org
Subject: Re: The failure of the KEXEC on ARM1136
2009/9/18 Lai Weilin-B04597 <B04597@freescale.com>:
> Hi Simon,
> I am trying to get kexec working on an ARM1136 using the 2.0.1 version of the KEXEC.
>
> The loading seems to work ok. On "kexec -e", I see:
>
> Starting new kernel
> Uncompressing Linux...................................................................................................
>
> crc error
>
> -- System halted
>
It seemed that your second kernel has collapsed.
I don't know why there is a "Uncompressing Linux" print here , as far as I know, the second kernel is in the form of vmlinux, not uImage or others.
_______________________________________________
kexec mailing list
kexec@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/kexec
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2009-09-21 7:36 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-09-16 3:06 How to build the kexec too for ARM11 using the cross compiler Lai Weilin-B04597
2009-09-16 3:51 ` Simon Horman
2009-09-16 6:05 ` Lai Weilin-B04597
2009-09-18 6:01 ` The failure of the KEXEC on ARM1136 Lai Weilin-B04597
2009-09-18 6:52 ` Simon Horman
2009-09-19 15:06 ` wilbur.chan
2009-09-20 9:44 ` Lai Weilin-B04597
2009-09-21 7:36 ` Lai Weilin-B04597
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.