[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <689B1B2CF734104FB52EED5DDD4A6D6502A395A0900C@LPEXMB01.litepoint.internal>
Date: Fri, 12 Feb 2016 09:52:13 -0800
From: Rudici Cazeao <rudici.cazeao@...epoint.com>
To: "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"linux-arm-kernel@...ts.infradead.org"
<linux-arm-kernel@...ts.infradead.org>
Subject: Reinitiazling an arm machine without restarting the kernel or
rebooting the machine
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,
Powered by blists - more mailing lists