Kexec on ARM V6

Eric W. Biederman ebiederm at xmission.com
Thu Aug 28 16:51:38 EDT 2008


"Manish Lachwani" <mlachwani at gmail.com> writes:

> Hello Eric,
>
> I am trying to get kexec working on an ARM V6 board (1136) using the
> 2.0.0 version of the kexec-tools.
>
> Firstly, it appears that uname checks for "arm". The ARM V6 board that
> I have has "armv6l" in the uname. I have hacked this support for
> armv6l.
>
> const struct arch_map_entry arches[] = {
>        { "arm", KEXEC_ARCH_ARM },
>        { "armv6l", KEXEC_ARCH_ARM },
>        { 0 },
> };
>
> I can send you a patch as well.
>
> The loading seems to work ok. On "kexec -e", I see:
>
> Starting new kernel
> Uncompressing
> Linux...................................................................................................
>
> crc error
>
>  -- System halted
>
>
> Has kexec been tried on any ARM yet? unfortunately, I dont have
> another board to try on. Response is highly appreciated.

I'm fairly certain kexec has been tried on ARM.  I'm not
certain what the status of the port is.  arm as I recall is
fairly simple so it should not be hard to make kexec work.

Given that you get Uncompressing Linux and crc error it
looks like the kernel loaded on you arm platform but something
was corrupt.

It might be a problem as simple as you have some weird device
that has not shut down an ongoing DMA transaction at the time
kexec runs.

Eric



More information about the kexec mailing list