How to build Kexec for Freerunner?

HackCandy hackhell.candy at gmail.com
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.

-HHC.




Timo Juhani Lindfors wrote:
> 
> HackCandy <hackhell.candy at gmail.com> 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: http://n2.nabble.com/How-to-build-Kexec-for-Freerunner--tp2230647p2233087.html
Sent from the Openmoko Kernel mailing list archive at Nabble.com.




More information about the openmoko-kernel mailing list