На плате установлена NAND512W3A2SN6E от Numonyx
[url=http://www.micron.com/~/media/Documents/Products/Data%20Sheet/NAND%20Flash/NAND512xxA2S.pdf][/url]
Electronic signature
– Manufacturer ID:
x8 device: 20h
– Device ID:
NAND512W3A2S: 76h
Ядро определяет микросхему как ST Micro( IDs правильные).
Division by zero in kernel.
Numonyx is a semiconductor company making flash memories, which was founded on March 31, 2008 by Intel Corporation, STMicroelectronics and Francisco Partners.
Возможно это и правильно, что ST Micro чип определился.
Но возникает "Division by zero in kernel."
В какую сторону смотреть для решения проблемы ?
Linux лог ниже.
Скрытый текст
Linux version 2.6.35.3-1129-g691c08a (sasa@sasa-laptop) (gcc version 4.4.1 (Sourcery G++ Lite 2009q3-67) ) #100 PREEMPT Fri Jul 13 11:42:38 MSK 2012
CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177
CPU: VIVT data cache, VIVT instruction cache
Machine: Freescale MX23EVK board
Memory policy: ECC disabled, Data cache writeback
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 16256
Kernel command line: console=ttyAM0,115200 ssp2=gpmi_nfc
PID hash table entries: 256 (order: -2, 1024 bytes)
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
Memory: 64MB = 64MB total
Memory: 57756k/57756k available, 7780k reserved, 0K highmem
Virtual kernel memory layout:
vector : 0xffff0000 - 0xffff1000 ( 4 kB)
fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB)
DMA : 0xfde00000 - 0xffe00000 ( 32 MB)
vmalloc : 0xc4800000 - 0xf0000000 ( 696 MB)
lowmem : 0xc0000000 - 0xc4000000 ( 64 MB)
modules : 0xbf000000 - 0xc0000000 ( 16 MB)
.init : 0xc0008000 - 0xc04e7000 (4988 kB)
.text : 0xc04e7000 - 0xc06dd000 (2008 kB)
.data : 0xc06de000 - 0xc06fd2e0 ( 125 kB)
SLUB: Genslabs=11, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
Hierarchical RCU implementation.
RCU-based detection of stalled CPUs is disabled.
Verbose stalled-CPUs detection is disabled.
NR_IRQS:224
Console: colour dummy device 80x30
console [ttyAM0] enabled
Calibrating delay loop... 113.04 BogoMIPS (lpj=565248)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
regulator: core version 0.5
regulator: vddd: 800 <--> 1575 mV at 1550 mV fast normal
regulator: vdddbo: 800 <--> 1575 mV fast normal
regulator: vdda: 1500 <--> 2275 mV at 1750 mV fast normal
regulator: vddio: 2800 <--> 3575 mV at 3300 mV fast normal
regulator: overall_current: fast normal
regulator: mxs-duart-1: fast normal
regulator: mxs-bl-1: fast normal
regulator: mxs-i2c-1: fast normal
regulator: mmc_ssp-1: fast normal
regulator: mmc_ssp-2: fast normal
regulator: charger-1: fast normal
regulator: power-test-1: fast normal
regulator: cpufreq-1: fast normal
i.MX IRAM pool: 28 KB@0xc4808000
usb: DR gadget (utmi) registered
bio: create slab <bio-0> at 0
SCSI subsystem initialized
Switching to clocksource mxs clock source
Bus freq driver module loaded
mxs_cpu_init: cpufreq init finished
msgmni has been set to 112
alg: No test for stdrng (krng)
cryptodev: driver loaded.
io scheduler noop registered (default)
mxs-duart.0: ttyAM0 at MMIO 0x80070000 (irq = 0) is a DebugUART
brd: module loaded
loop: module loaded
i.MX GPMI NFC
NFC: Version 0, 4-chip GPMI and BCH
Boot ROM: Version 0, Single/dual-chip boot area, no block mark swapping
Scanning for NAND Flash chips...
NAND device: Manufacturer ID: 0x20, Chip ID: 0x76 (ST Micro NAND 64MiB 3,3V 8-bit)
-----------------
Boot ROM Geometry
-----------------
Boot Area Count : 1
Boot Area Size in Bytes : 20971520 (0x1400000)
Stride Size in Pages : 64
Search Area Stride Exponent: 2
Scanning for an NCB fingerprint...
Looking for a fingerprint in page 0x0
Looking for a fingerprint in page 0x40
Looking for a fingerprint in page 0x80
Looking for a fingerprint in page 0xc0
No fingerprint found
Transcribing bad block marks...
Division by zero in kernel.
Backtrace:
[<c04eb2bc>] (dump_backtrace+0x0/0x114) from [<c0672b0c>] (dump_stack+0x18/0x1c)
r6:00000000 r5:c3c8d1c8 r4:c3c8d000 r3:00000000
[<c0672af4>] (dump_stack+0x0/0x1c) from [<c04eb404>] (__div0+0x18/0x20)
[<c04eb3ec>] (__div0+0x0/0x20) from [<c05f093c>] (Ldiv0+0x8/0x10)
[<c0652d80>] (imx23_rom_extra_init+0x0/0x498) from [<c0653ffc>] (mil_scan_bbt+0xa0/0xcc)
[<c0653f5c>] (mil_scan_bbt+0x0/0xcc) from [<c0649ae0>] (nand_scan_tail+0x4fc/0x5bc)
r6:00000000 r5:c3c8d1c8 r4:c3c8d0a0 r3:00000001
[<c06495e4>] (nand_scan_tail+0x0/0x5bc) from [<c064b270>] (nand_scan+0x28/0x2c)
r6:c06e380c r5:c06e4c28 r4:c3c8d1c8 r3:00000000
[<c064b248>] (nand_scan+0x0/0x2c) from [<c065374c>] (gpmi_nfc_mil_init+0x114/0x6b0)
r4:c3c8d000 r3:00000002
[<c0653638>] (gpmi_nfc_mil_init+0x0/0x6b0) from [<c0650018>] (gpmi_nfc_probe+0x3e0/0x520)
[<c064fc38>] (gpmi_nfc_probe+0x0/0x520) from [<c062b1a0>] (platform_drv_probe+0x20/0x24)
[<c062b180>] (platform_drv_probe+0x0/0x24) from [<c062a174>] (driver_probe_device+0xb8/0x170)
[<c062a0bc>] (driver_probe_device+0x0/0x170) from [<c062a294>] (__driver_attach+0x68/0x8c)
r7:00000000 r6:c06fb720 r5:c06e4c5c r4:c06e4c28
[<c062a22c>] (__driver_attach+0x0/0x8c) from [<c062992c>] (bus_for_each_dev+0x54/0x84)
r6:00000000 r5:c062a22c r4:c06fb720 r3:00000000
[<c06298d8>] (bus_for_each_dev+0x0/0x84) from [<c0629fd0>] (driver_attach+0x20/0x28)
r6:c06f9c98 r5:c372aae0 r4:c06fb720
[<c0629fb0>] (driver_attach+0x0/0x28) from [<c0629204>] (bus_add_driver+0xa4/0x21c)
[<c0629160>] (bus_add_driver+0x0/0x21c) from [<c062a5ac>] (driver_register+0xb0/0x140)
[<c062a4fc>] (driver_register+0x0/0x140) from [<c062b604>] (platform_driver_register+0x4c/0x60)
r8:00000000 r7:00000013 r6:00000001 r5:c00083d0 r4:c00172c8
r3:00000000
[<c062b5b8>] (platform_driver_register+0x0/0x60) from [<c00172e4>] (gpmi_nfc_init+0x1c/0x40)
[<c00172c8>] (gpmi_nfc_init+0x0/0x40) from [<c04e73ac>] (do_one_initcall+0x64/0x1c4)
[<c04e7348>] (do_one_initcall+0x0/0x1c4) from [<c0008480>] (kernel_init+0xb0/0x170)
r7:00000013 r6:c0503798 r5:c00083d0 r4:c00198f0
[<c00083d0>] (kernel_init+0x0/0x170) from [<c0503798>] (do_exit+0x0/0x690)
r4:00000000 r3:00000000
--------------------
Search Area Geometry
--------------------
Search Area Size in Blocks : 0
Search Area Size in Strides: 4
Search Area Size in Pages : 256
Erasing the search area...
Writing NCB fingerprints...
Writing an NCB fingerprint in page 0x0
Writing an NCB fingerprint in page 0x40
Writing an NCB fingerprint in page 0x80
Writing an NCB fingerprint in page 0xc0
Scanning device for bad blocks
Bad eraseblock 2150 at 0x000002198000
Boot area protection is enabled.
gpmi-nfc gpmi-nfc.0: Boot area size is larger than a chip
ARC USBOTG Device Controller driver (1 August 2005)
check_parameters:UTP settings are in place now, overriding defaults
g_file_storage gadget: File-backed Storage Gadget, version: 20 November 2008
g_file_storage gadget: Number of LUNs=1
fsl-usb2-udc: bind to driver g_file_storage
dcp dcp.0: DCP crypto enabled.!
Freeing init memory: 4988K
Init: /etc/init.d/S00init: line 30: can't create /proc/sys/kernel/hotplug: nonexistent directory
g_file_storage gadget: high speed config #1
OK
Starting logging: OK
uuc 0.4 [built Jul 13 2012 10:05:45]
UTP: Waiting for device to appear
UTP: file/device node /dev/utp already exists
cpu_id is 23
Welcome to Buildroot
buildroot login: UTP: received command '$ flash_erase /dev/mtd0 0 0'
UTP: executing "flash_erase /dev/mtd0 0 0"
flash_erase: error!: /dev/mtd0
error 2 (No such file or directory)
UTP: sending Non-success to kernel for command $ flash_erase /dev/mtd0 0 0.
utp_poll: exit with status 65280
root
login[285]: root login on 'ttyAM0'
#