How to build Kexec for Freerunner?

HackCandy hackhell.candy at
Wed Jan 28 17:17:34 CET 2009

Hello Timo,

Where did you run the command:

apt-get --build source kexec-tools 

in the device or in the PC?

I am unable to do that in the device:
root at om-gta02:~# apt-get --build source kexec-tools
-sh: apt-get: not found

Please suggest.


Timo Juhani Lindfors wrote:
> HackCandy <hackhell.candy at> writes:
>> I have compiled kexec <kexec-tools-2.0.0> using
>> the following commands:
>> ./configure --host=arm-angstrom-linux
>> . /usr/local/openmoko/arm/setup-env
>> make
>> And, got the following error:
>> asm/page.h no such file or directory.
>> So, I removed the header file and added
>> <unistd.h> instead of <asm/page.h> & then compiled
>> and got the kexec binary. 
> Odd. I used "apt-get --build source kexec-tools" and can kexec to a
> new kernel successfully.
> $ kexec --version
> kexec-tools-testing 20080324 released 24th March 2008

View this message in context:
Sent from the Openmoko Kernel mailing list archive at

More information about the openmoko-kernel mailing list