- 论坛徽章:
- 0
|
谢谢。这几天有事,没有调试。
我打上patch之后,开始引导crash kernel,但是启动到flash_probe,出错,请有经验的同学指点:
具体位置在:
static int __xipram cfi_probe_chip(struct map_info *map, __u32 base,
unsigned long *chip_map, struct cfi_private *cfi)
{
int i;
if ((base + 0) >= map->size) {
printk(KERN_NOTICE
"Probe at base[0x00](0x%08lx) past the end of the map(0x%08lx)\n",
(unsigned long)base, map->size -1);
return 0;
}
if ((base + 0xff) >= map->size) {
printk(KERN_NOTICE
"Probe at base[0x55](0x%08lx) past the end of the map(0x%08lx)\n",
(unsigned long)base + 0x55, map->size -1);
return 0;
}
xip_disable();
if (!cfi_qry_mode_on(base, map, cfi)) { ---------------------------此处失败了,导致do_map_probe failed.
xip_enable(base, map, cfi);
return 0;
}
谢谢了。
cfi_qry_mode_on是对flash进行探测,两天了,我暂时想不到哪里出错了? |
|