This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

NAND AT CHIP SELECT 7 IN KERNEL

Hi all;

I tried by changing the omap3 board file,for nand at chip select 7,

arch/arm/mach-omap2/board-omap3beagle.c file:

modified chip select 0 to chip select 7!!!!!!!!

when i'm booting , below error i got?

How to come out of this error , anyone did configuration in kernel to access the nand at chip select 7, other than the chip select 0 (which is default)

omap2-nand driver initializing
[   36.237060] address of phys_base = cf928728
[   36.241302] Unable to handle kernel NULL pointer dereference at virtual address 00000000
[   36.249450] pgd = c0004000
[   36.252197] [00000000] *pgd=00000000
[   36.255798] Internal error: Oops: 5 [#1] PREEMPT
[   36.260467] last sysfs file:
[   36.263427] Modules linked in:
[   36.266510] CPU: 0    Not tainted  (2.6.32 #413)
[   36.271179] PC is at adjust_resource+0x24/0xf0
[   36.275634] LR is at 0x0
[   36.278198] pc : [<c00940e0>]    lr : [<00000000>]    psr: 20000013
[   36.278198] sp : cf823eb8  ip : c0746fe0  fp : cf928728
[   36.289733] r10: c0746dd8  r9 : c05424e8  r8 : c0746fe0
[   36.294982] r7 : 00000000  r6 : 00000007  r5 : 01000000  r4 : 000000c4
[   36.301544] r3 : cf822000  r2 : 01000000  r1 : 00000000  r0 : 01000000
[   36.308105] Flags: nzCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment kernel
[   36.315460] Control: 10c5387d  Table: 80004019  DAC: 00000017
[   36.321228]
[   36.321228] PC: 0xc0094060:
[   36.325531] 4060  35841000 e5921004 e5943004 e5922008 e1510003 85841004 e5941008 ebffe58a
[   36.333831] 4080  eaffffeb e3cd3d7f e3c3303f e5932004 e2422001 e5832004 e5933000 e3130002

Regards,

santosh vastrad