On Mon, 2012-04-16 at 11:43 +0800, Wu Zhangjin wrote: > ---------- Forwarded message ---------- > From: Wu Zhangjin <[email protected]> > Date: Mon, Apr 16, 2012 at 11:40 AM > Subject: Question about cross compiling support > To: Autotest Team <[email protected]> > > > Hi, Autotest Team > > Thanks very much for your work on the autotest support of Linux, I'm > currently playing with this powerful tool but I encountered a problem, > that is: > > How to compile a kernel in a local machine and install it to a target > board, then, reboot the target with the new kernel. > > For example, my local machine is an X86 PC, the target machine is an > ARM board, I want to cross compile the kernel from X86 PC and then > install > it to the ARM board, how can I simply implement this? > > BTW, my target board doesn't support the popular Grub or Lilo > bootloader, but instead, it uses a Uboot bootloader, so, it is not > suitable to use > the old install() and boot() methods of the kernel class, is that > possible to add a new Bootloader support for Uboot? or simply hack the > install() and boot() methods?
Hi Wu, I don't have a good answer for your query just yet. I saw a while ago patches from the guys working on ChromeOS that allow cross compilation, but I am not sure how to use it. Maybe Scott Zawalski knows more about cross compilation, I'm copying him in this reply. Otherwise, I'd have to do a bit of research, as I don't work with ARM boards. I'll tell you that I have recently talked with some folks interested in cross compilation support. I'd love to enable you guys to use autotest for your use cases, but we'd need some help with documentation of the feature, and helping with patches. Cheers, Lucas > Thanks in advance. > > Best Regards, > Wu Zhangjin > _______________________________________________ > Autotest mailing list > [email protected] > http://test.kernel.org/cgi-bin/mailman/listinfo/autotest _______________________________________________ Autotest mailing list [email protected] http://test.kernel.org/cgi-bin/mailman/listinfo/autotest
