androidN Kernel system.c do_switch_normal

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

androidN Kernel system.c do_switch_normal

757 次查看
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?

标签 (3)
标记 (1)
0 项奖励
回复
4 回复数

615 次查看
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 项奖励
回复

615 次查看
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 项奖励
回复

615 次查看
赵振业
Contributor I

Hi ,Mr Hong 

           Have you solved this issue?I  meet this too.

0 项奖励
回复

615 次查看
jiujinhong
Contributor IV

not yet

0 项奖励
回复