On 01/07/2012 03:25 AM, Florian Fainelli wrote:
Le samedi 07 janvier 2012 00:32:31, Peter Naulls a écrit :
On 01/06/2012 08:10 AM, Peter Naulls wrote:
As an alternative, I'm looking at first jumping to an ar71xx version
of u-boot (as per OpenWrt build), all I should need to add to that
is flash support for the G300NH(2). Perhaps that puts the system
in more consistent state before starting Linux.
I was able to make this work. I built the ar71xx u-boot, and
was able to add support for the G300NH flash. So, I kexec
into u-boot, then am able to reboot back into Linux (loaded
from flash). This suggests that u-boot is resetting something
that either kexec or the Linux kernel upon boot does not.
Anyway, I'll pursue this option right now, but I'm open ideas
for fixing kexec directly to new kernel.
What about you leaving the watchdog enabled with a timeout sufficiently small
that it does not cover the time for loading the kernel to kexec + the time for
the kexec'd kernel to start up?
It's unclear what you're getting at here. If the watchdog is not disabled,
then it''ll reboot during the kexec steps. Anyway, the problem still remains
of the kexec kernel without u-boot "helping" not being in a good state.
_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-devel