Hi3536调试记录,内核启动

背景:

1、Hisi demo板子

2、SDK:Hi3536 V100R001C02SPC060

3、config配置选项:hi3536_full_slave_defconfig

4、DDR:2G Bytes

问题:

内核启动,打印如下问题:

Kernel panic - not syncing:
ASSERT failed at:
  >File name: /home/pub/platform_h5_build/mpp/code/mkp/../arch/common/vpss/vpss_comm.c
  >Function : VPSS_COMM_HalListInt
  >Line No. : 1161
  >Condition: NULL != pstCurNode

CPU1: stopping
CPU: 1 PID: 0 Comm: swapper/1 Tainted: P           O 3.10.0 #1
[] (unwind_backtrace+0x0/0xf4) from [] (show_stack+0x10/0x14)
[] (show_stack+0x10/0x14) from [] (handle_IPI+0x188/0x1b0)
[] (handle_IPI+0x188/0x1b0) from [] (gic_handle_irq+0x88/0x8c)
[] (gic_handle_irq+0x88/0x8c) from [] (__irq_svc+0x40/0x50)
Exception stack(0xcf861f98 to 0xcf861fe0)
1f80:                                                       c084c930 00000000
1fa0: 02d655ac 00000000 c0619979 c05f1d74 c043ae6c cf860000 c0619979 cf860000
1fc0: cf860000 c05f1d14 00000000 cf861fe0 c0014244 c0014248 60000013 ffffffff
[] (__irq_svc+0x40/0x50) from [] (arch_cpu_idle+0x2c/0x30)
[] (arch_cpu_idle+0x2c/0x30) from [] (cpu_startup_entry+0xfc/0x140)
[] (cpu_startup_entry+0xfc/0x140) from [<4042e644>] (0x4042e644)

 

解决方案:

在生成uboot的时候,链接进入的DDR的reg-bin有问题,要注意自己的DDR内存是多大的,最后我直接用SDK中自带的启动就没有问题了

./mkboot.sh reg_info_466M_2GB_64bit.bin u-boot-hi3536.bin

 

你可能感兴趣的:(Hi3536调试记录,内核启动)