Reinitiazling an arm machine without restarting the kernel or rebooting the machine
From: Rudici Cazeao
Date: Fri Feb 12 2016 - 12:57:29 EST
All,
I have the following arch machine defined as follows:
MACHINE_START(TRANSCEDE, "Transcede 2200/3300")
/* Maintainer: Intel Corporation */
.boot_params = PHYS_OFFSET + 0x00000100,
.map_io = transcede_map_io,
.init_irq = transcede_init_irq,
.timer = &transcede_timer,
.init_machine = transcede_init,
.reserve = transcede_reserve,
MACHINE_END
I would like to be reable to reinitialize the machine in the state that it was in when it had firt booted up whithout actually rebooting or restarting the kernel.
How can I go about this?
I was thinking about restarting from the following statement from init/main.c
setup_arch(&command_line);
Is this the right way to go?
Thanks,