androidN Kernel system.c do_switch_normal

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

androidN Kernel system.c do_switch_normal

672 Views
jiujinhong
Contributor IV

Hi,

I have test do_switch_normal interface, it seems that can't make system reboot (4.1.15 Kernel). is config issue?

Labels (3)
Tags (1)
0 Kudos
4 Replies

530 Views
weidong_sun
NXP TechSupport
NXP TechSupport

Hi ,

   See here , please!

/* mach-imx6q.c */

DT_MACHINE_START(IMX6Q, "Freescale i.MX6 Quad/DualLite (Device Tree)")
    /*
     * i.MX6Q/DL maps system memory at 0x10000000 (offset 256MiB), and
     * GPU has a limit on physical address that it accesses, which must
     * be below 2GiB.
     */
    .dma_zone_size    = (SZ_2G - SZ_256M),
    .smp        = smp_ops(imx_smp_ops),
    .map_io        = imx6q_map_io,
    .init_irq    = imx6q_init_irq,
    .init_time    = imx6q_timer_init,
    .init_machine    = imx6q_init_machine,
    .init_late      = imx6q_init_late,
    .dt_compat    = imx6q_dt_compat,
    .restart    = mxc_restart,
MACHINE_END
 

and mxc_restart() is in arch/arm/kernel/system.c

Have a nice day!

TIC weidong sun

0 Kudos

530 Views
jiujinhong
Contributor IV

Hi Sun,

I know that.

4.1.15 bsp never use mxc_restart.

  1 DT_MACHINE_START(IMX6Q, "Freescale i.MX6 Quad/DualLite (Device Tree)")
  2     .smp        = smp_ops(imx_smp_ops),
  3     .map_io     = imx6q_map_io,
  4     .init_irq   = imx6q_init_irq,
  5     .init_machine   = imx6q_init_machine,
  6     .init_late      = imx6q_init_late,
  7     .dt_compat  = imx6q_dt_compat,
  8     .reserve        = imx6q_reserve,
  9 MACHINE_END

0 Kudos

530 Views
赵振业
Contributor I

Hi ,Mr Hong 

           Have you solved this issue?I  meet this too.

0 Kudos

530 Views
jiujinhong
Contributor IV

not yet

0 Kudos