Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1332982

Reinitiazling an arm machine without restarting the kernel or rebooting the machine

From Rudici Cazeao <rudici.cazeao@litepoint.com>
Newsgroups linux.kernel
Subject Reinitiazling an arm machine without restarting the kernel or rebooting the machine
Date 2016-02-12 19:00 +0100
Message-ID <r1qaC-1Lx-11@gated-at.bofh.it> (permalink)
References <r17KG-6xV-3@gated-at.bofh.it> <r1mgG-7Hp-17@gated-at.bofh.it> <r1pRh-1EI-31@gated-at.bofh.it> <r1q0V-1Ii-9@gated-at.bofh.it> <r1q0W-1Ii-29@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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,

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH] arm64: make irq_stack_ptr more robust Yang Shi <yang.shi@linaro.org> - 2016-02-11 23:20 +0100
  Re: [PATCH] arm64: make irq_stack_ptr more robust James Morse <james.morse@arm.com> - 2016-02-12 14:50 +0100
    Re: [PATCH] arm64: make irq_stack_ptr more robust "Shi, Yang" <yang.shi@linaro.org> - 2016-02-12 18:40 +0100
      Re: [PATCH] arm64: make irq_stack_ptr more robust Will Deacon <will.deacon@arm.com> - 2016-02-12 18:50 +0100
        Re: [PATCH] arm64: make irq_stack_ptr more robust "Shi, Yang" <yang.shi@linaro.org> - 2016-02-12 18:50 +0100
          Reinitiazling an arm machine without restarting the kernel or  rebooting the machine Rudici Cazeao <rudici.cazeao@litepoint.com> - 2016-02-12 19:00 +0100
      Re: [PATCH] arm64: make irq_stack_ptr more robust "Shi, Yang" <yang.shi@linaro.org> - 2016-02-12 19:00 +0100

csiph-web