[embeded]Unable to handle kernel NULL pointer dereference at virtual address 00000018

2016-6-16 写技术

brd: module loaded
S3C24XX NAND Driver, (c) 2004 Simtec Electronics
s3c24xx-nand s3c2440-nand: Tacls=4, 39ns Twrph0=8 79ns, Twrph1=8 79ns
Unable to handle kernel NULL pointer dereference at virtual address 00000018
pgd = c0004000
[00000018] *pgd=00000000
Internal error: Oops: 5 [#1]

参考drivers/mtd/nand/s3c2410.c
Flash参数似乎没有传过去,手动添加传值:
mach_mini2440.c
static void __init mini2440_machine_init(void)
{
        s3c_device_nand.dev.platform_data = &mini2440_nand_info;

标签: embedded

发表评论:

Powered by anycle 湘ICP备15001973号-1