在线时间0 小时
UID2108673
注册时间2014-7-10
NXP金币0
该用户从未签到
新手上路

- 积分
- 2
- 最后登录
- 1970-1-1
|

楼主 |
发表于 2014-8-5 13:55:39
|
显示全部楼层
回复:求助:如何将i.MX6 NANDFlash从256M扩大到2G
回复第 4 楼 于2014-07-11 17:44:06发表:
请问你使用的是哪块板子?如果是自己设计的,是参考飞思卡尔官网哪块板子设计的?
是参考i.MX 6Dual/6Quad这块开发板设计的。
现在的问题是内核烧写成2G的,常温下能起来,但做高低温试验,低温-40度起不来,打印信息如下:
Starting kernel ...
Uncompressing Linux... done, booting the kernel.
Linux version 3.0.35-ga1e35e6-dirty (myzr@myzr) (gcc version 4.6.2 20110630 (prerelease) (Freescale MAD -- Linaro 2011.07 -- Built at 2011/08/10 09:20) ) #159 SMP PREEMPT Mon Jul 7 10:19:17 CST 2014
CPU: ARMv7 Processor [412fc09a] revision 10 (ARMv7), cr=10c53c7d
CPU: VIPT nonaliasing data cache, VIPT aliasing instruction cache
Machine: Freescale i.MX 6Quad/DualLite/Solo Sabre-SD Board
Memory policy: ECC disabled, Data cache writealloc
CPU identified as i.MX6Q, unknown revision
PERCPU: Embedded 7 pages/cpu @8c008000 s5440 r8192 d15040 u32768
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 194560
Kernel command line: console=ttymxc0,115200 ubi.mtd=4 root=ubi0:rootfs rootfstype=ubifs rootwait rw mtdparts=gpmi-nand:16m(nand_boot),16m(nand_kernel),2048m(nand_rootfs),-(user)gpmi_debug_init video=mxcfb0:dev=lcd,LCD-WVGA,if=RGB24
PID hash table entries: 4096 (order: 2, 16384 bytes)
Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
Memory: 512MB 256MB = 768MB total
Memory: 765984k/765984k available, 282592k reserved, 0K highmem
Virtual kernel memory layout:
vector : 0xffff0000 - 0xffff1000 ( 4 kB)
fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB)
DMA : 0xf4600000 - 0xffe00000 ( 184 MB)
vmalloc : 0xc0800000 - 0xf2000000 ( 792 MB)
lowmem : 0x80000000 - 0xc0000000 (1024 MB)
pkmap : 0x7fe00000 - 0x80000000 ( 2 MB)
modules : 0x7f000000 - 0x7fe00000 ( 14 MB)
.init : 0x80008000 - 0x8003c000 ( 208 kB)
.text : 0x8003c000 - 0x80a5a664 (10362 kB)
.data : 0x80a5c000 - 0x80abc360 ( 385 kB)
.bss : 0x80abc384 - 0x80b0a30c ( 312 kB)
SLUB: Genslabs=13, HWalign=32, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
Preemptible hierarchical RCU implementation.
NR_IRQS:624
MXC GPIO hardware
sched_clock: 32 bits at 3000kHz, resolution 333ns, wraps every 1431655ms
arm_max_freq=1GHz
MXC_Early serial console at MMIO 0x2020000 (options '115200')
bootconsole [ttymxc0] enabled
Console: colour dummy device 80x30
Calibrating delay loop... 1581.05 BogoMIPS (lpj=7905280)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
hw perfevents: enabled with ARMv7 Cortex-A9 PMU driver, 7 counters available
CPU1: Booted secondary processor
CPU2: Booted secondary processor
CPU3: Booted secondary processor
Brought up 4 CPUs
SMP: Total of 4 processors activated (6324.22 BogoMIPS).
print_constraints: dummy:
NET: Registered protocol family 16
print_constraints: vddpu: 725 1300 mV at 700 mV fast normal
print_constraints: vddcore: 725 1300 mV at 1150 mV fast normal
print_constraints: vddsoc: 725 1300 mV at 1200 mV fast normal
print_constraints: vdd2p5: 2000 2775 mV at 2400 mV fast normal
print_constraints: vdd1p1: 800 1400 mV at 1100 mV fast normal
print_constraints: vdd3p0: 2625 3400 mV at 3000 mV fast normal
wm8524_rate = 22579200
pcie clock11111
hw-breakpoint: found 6 breakpoint and 1 watchpoint registers.
hw-breakpoint: 1 breakpoint(s) reserved for watchpoint single-step.
hw-breakpoint: maximum watchpoint size is 4 bytes.
L310 cache controller enabled
l2x0: 16 ways, CACHE_ID 0x410000c7, AUX_CTRL 0x02070000, Cache size: 1048576 B
bio: create slab at 0
mxs-dma mxs-dma-apbh: initialized
print_constraints: vmmc: 3300 mV
SCSI subsystem initialized
spi_imx imx6q-ecspi.0: probed
spi_imx imx6q-ecspi.1: probed
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
Freescale USB OTG Driver loaded, $Revision: 1.55 $
imx-ipuv3 imx-ipuv3.0: IPU DMFC NORMAL mode: 1(0~1), 5B(4,5), 5F(6,7)
imx-ipuv3 imx-ipuv3.1: IPU DMFC NORMAL mode: 1(0~1), 5B(4,5), 5F(6,7)
mxc_mipi_csi2 mxc_mipi_csi2: i.MX MIPI CSI2 driver probed
mxc_mipi_csi2 mxc_mipi_csi2: i.MX MIPI CSI2 dphy version is 0x3130302a
MIPI CSI2 driver module loaded
Advanced Linux Sound Architecture Driver Version 1.0.24.
Bluetooth: Core ver 2.16
NET: Registered protocol family 31
Bluetooth: HCI device and connection manager initialized
Bluetooth: HCI socket layer initialized
Bluetooth: L2CAP socket layer initialized
Bluetooth: SCO socket layer initialized
cfg80211: Calling CRDA to update world regulatory domain
i2c-core: driver [max17135] using legacy suspend method
i2c-core: driver [max17135] using legacy resume method
Switching to clocksource mxc_timer1
NET: Registered protocol family 2
IP route cache hash table entries: 32768 (order: 5, 131072 bytes)
TCP established hash table entries: 131072 (order: 8, 1048576 bytes)
TCP bind hash table entries: 65536 (order: 7, 786432 bytes)
TCP: Hash tables configured (established 131072 bind 65536)
TCP reno registered
UDP hash table entries: 512 (order: 2, 16384 bytes)
UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
NET: Registered protocol family 1
RPC: Registered named UNIX socket transport module.
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
RPC: Registered tcp NFSv4.1 backchannel transport module.
PMU: registered new PMU device of type 0
Static Power Management for Freescale i.MX6
wait mode is enabled for i.MX6
cpaddr = c0880000 suspend_iram_base=c0918000
PM driver module loaded
IMX usb wakeup probe
add wake up source irq 75
IMX usb wakeup probe
cpu regulator mode:ldo_enable
i.MXC CPU frequency driver
JFFS2 version 2.2. (NAND) 漏 2001-2006 Red Hat, Inc.
msgmni has been set to 1496
alg: No test for stdrng (krng)
io scheduler noop registered
io scheduler deadline registered
io scheduler cfq registered (default)
mxc_mipi_dsi mxc_mipi_dsi: i.MX MIPI DSI driver probed
MIPI DSI driver module loaded
mxc_sdc_fb mxc_sdc_fb.0: register mxc display driver lcd
imx-ipuv3 imx-ipuv3.0: WARNING: adapt panel end blank lines
imx-ipuv3 imx-ipuv3.0: IPU DMFC DP HIGH RESOLUTION: 1(0,1), 5B(2~5), 5F(6,7)
imx-ipuv3 imx-ipuv3.0: WARNING: adapt panel end blank lines
Console: switching to colour frame buffer device 128x48
mxc_sdc_fb mxc_sdc_fb.1: register mxc display driver ldb
_regulator_get: get() with no identifier
mxc_sdc_fb mxc_sdc_fb.2: register mxc display driver lcd
mxc_sdc_fb mxc_sdc_fb.2: ipu0-di0 already in use
mxc_sdc_fb: probe of mxc_sdc_fb.2 failed with error -16
mxc_sdc_fb mxc_sdc_fb.3: register mxc display driver ldb
imx-sdma imx-sdma: loaded firmware 1.1
imx-sdma imx-sdma: initialized
Serial: IMX driver
imx-uart.0: ttymxc0 at MMIO 0x2020000 (irq = 58) is a IMX
console [ttymxc0] enabled, bootconsole disabled
console [ttymxc0] enabled, bootconsole disabled
imx-uart.1: ttymxc1 at MMIO 0x21e8000 (irq = 59) is a IMX
imx-uart.2: ttymxc2 at MMIO 0x21ec000 (irq = 60) is a IMX
imx-uart.3: ttymxc3 at MMIO 0x21f0000 (irq = 61) is a IMX
imx-uart.4: ttymxc4 at MMIO 0x21f4000 (irq = 62) is a IMX
loop: module loaded
No sata disk.
m25p80 spi0.0: sst25vf016b (2048 Kbytes)
mtd: bad character after partition (g)
Creating 2 MTD partitions on "m25p80":
0x000000000000-0x000000100000 : "bootloader"
0x000000100000-0x000000200000 : "kernel"
------cpld test init-----
Register the char dev!
wellcom ,SQ!you're the best!(in linux->! gpmi_nand_init)
ONFI flash detected
ONFI param page 0 valid
NAND device: Manufacturer ID: 0x2c, Chip ID: 0x68 (Micron MT29F32G08CBACAWP)
gpmi-nand imx6q-gpmi-nand.0: enable asynchronous EDO mode 5
Scanning device for bad blocks
Bad eraseblock 90 at 0x000005a00000
Bad eraseblock 91 at 0x000005b00000
Bad eraseblock 310 at 0x000013600000
4 cmdlinepart partitions found on MTD device gpmi-nand
Creating 4 MTD partitions on "gpmi-nand":
0x000000000000-0x000001000000 : "nand_boot"
0x000001000000-0x000002000000 : "nand_kernel"
0x000002000000-0x000082000000 : "nand_rootfs"
0x000082000000-0x000100000000 : "user"
GPMI NAND driver registered. (IMX)
UBI: attaching mtd4 to ubi0
UBI: physical eraseblock size: 1048576 bytes (1024 KiB)
UBI: logical eraseblock size: 1040384 bytes
UBI: smallest flash I/O unit: 4096
UBI: VID header offset: 4096 (aligned 4096)
UBI: data offset: 8192
UBI: max. sequence number: 367
UBI: attached mtd4 to ubi0
UBI: MTD device name: "nand_rootfs"
UBI: MTD device size: 2048 MiB
UBI: number of good PEBs: 2045
UBI: number of bad PEBs: 3
UBI: number of corrupted PEBs: 0
UBI: max. allowed volumes: 128
UBI: wear-leveling threshold: 4096
UBI: number of internal volumes: 1
UBI: number of user volumes: 1
UBI: available PEBs: 5
UBI: total number of reserved PEBs: 2040
UBI: number of PEBs reserved for bad PEB handling: 20
UBI: max/mean erase counter: 1/0
UBI: image sequence number: 364005076
UBI: background thread "ubi_bgt0d" started, PID 1257
vcan: Virtual CAN interface driver
CAN device driver interface
flexcan netdevice driver
flexcan imx6q-flexcan.0: device registered (reg_base=c0c60000, irq=142)
flexcan imx6q-flexcan.1: device registered (reg_base=c0c68000, irq=143)
FEC Ethernet Driver
fec_enet_mii_bus: probed
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
fsl-ehci fsl-ehci.0: Freescale On-Chip EHCI Host Controller
fsl-ehci fsl-ehci.0: new USB bus registered, assigned bus number 1
fsl-ehci fsl-ehci.0: irq 75, io base 0x02184000
fsl-ehci fsl-ehci.0: USB 2.0 started, EHCI 1.00
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
add wake up source irq 72
fsl-ehci fsl-ehci.1: Freescale On-Chip EHCI Host Controller
fsl-ehci fsl-ehci.1: new USB bus registered, assigned bus number 2
fsl-ehci fsl-ehci.1: irq 72, io base 0x02184200
fsl-ehci fsl-ehci.1: USB 2.0 started, EHCI 1.00
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 1 port detected
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
ARC USBOTG Device Controller driver (1 August 2005)
mousedev: PS/2 mouse device common for all mice
gpio-keys gpio-keys: failed to request GPIO 4, error -16
gpio-keys: probe of gpio-keys failed with error -16
i2c-core: driver [isl29023] using legacy suspend method
i2c-core: driver [isl29023] using legacy resume method
snvs_rtc snvs_rtc.0: rtc core: registered snvs_rtc as rtc0
i2c /dev entries driver
Linux video capture interface: v2.00
mxc_v4l2_output mxc_v4l2_output.0: V4L2 device registered as video16
mxc_v4l2_output mxc_v4l2_output.0: V4L2 device registered as video17
mxc_v4l2_output mxc_v4l2_output.0: V4L2 device registered as video18
mxc_v4l2_output mxc_v4l2_output.0: V4L2 device registered as video19
mxc_v4l2_output mxc_v4l2_output.0: V4L2 device registered as video20
i2c-core: driver [mag3110] using legacy suspend method
i2c-core: driver [mag3110] using legacy resume method
imx2-wdt imx2-wdt.0: IMX2+ Watchdog Timer enabled. timeout=60s (nowayout=1)
Bluetooth: Virtual HCI driver ver 1.3
Bluetooth: HCI UART driver ver 2.2
Bluetooth: HCIATH3K protocol initialized
Bluetooth: Generic Bluetooth USB driver ver 0.6
usbcore: registered new interface driver btusb
sdhci: Secure Digital Host Controller Interface driver
sdhci: Copyright(c) Pierre Ossman
mmc0: SDHCI controller on platform [sdhci-esdhc-imx.1] using DMA
mmc1: SDHCI controller on platform [sdhci-esdhc-imx.2] using DMA
mxc_vdoa mxc_vdoa: i.MX Video Data Order Adapter(VDOA) driver probed
VPU initialized
mxc_asrc registered
Galcore version 4.6.9.6622
Thermal calibration data is 0x56c4ba7d
Thermal sensor with ratio = 179
Anatop Thermal registered as thermal_zone0
anatop_thermal_probe: default cooling device is cpufreq!
------GPIO test init-----
Register the char dev!
usbcore: registered new interface driver usbhid
usbhid: USB HID core driver
usbcore: registered new interface driver snd-usb-audio
mxc_hdmi_soc mxc_hdmi_soc.0: MXC HDMI Audio
imx-hdmi-soc-dai imx-hdmi-soc-dai.0: Failed: Load HDMI-video first.
asoc: wm8524-hifi imx-ssi.1 mapping ok
Initialize HDMI-audio failed. Load HDMI-video first!
ALSA device list:
#0: wm8524-audio
NET: Registered protocol family 26
TCP cubic registered
NET: Registered protocol family 17
can: controller area network core (rev 20090105 abi 8)
NET: Registered protocol family 29
can: raw protocol (rev 20090105)
can: broadcast manager protocol (rev 20090105 t)
Bluetooth: RFCOMM TTY layer initialized
Bluetooth: RFCOMM socket layer initialized
Bluetooth: RFCOMM ver 1.11
Bluetooth: BNEP (Ethernet Emulation) ver 1.3
Bluetooth: BNEP filters: protocol multicast
Bluetooth: HIDP (Human Interface Emulation) ver 1.2
lib80211: common routines for IEEE802.11 drivers
usb 2-1: new high speed USB device number 2 using fsl-ehci
VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
Bus freq driver module loaded
Bus freq driver Enabled
mxc_dvfs_core_probe
DVFS driver module loaded
snvs_rtc snvs_rtc.0: setting system clock to 1970-01-01 00:00:00 UTC (0)
hub 2-1:1.0: USB hub found
hub 2-1:1.0: 4 ports detected
UBIFS: recovery needed
UBI error: ubi_io_read: error -74 (ECC error) while reading 536576 bytes from PEB 866:512000, read 536576 bytes
UBIFS error (pid 1): ubifs_recover_leb: corrupt empty space LEB 332:507904, corruption starts at 4201
UBIFS error (pid 1): ubifs_scanned_corruption: corruption at LEB 332:512105
UBIFS error (pid 1): ubifs_recover_leb: LEB 332 scanning failed
VFS: Cannot open root device "ubi0:rootfs" or unknown-block(0,0)
Please append a correct "root=" boot option; here are the available partitions:
1f00 1024 mtdblock0 (driver?)
1f01 1024 mtdblock1 (driver?)
1f02 16384 mtdblock2 (driver?)
1f03 16384 mtdblock3 (driver?)
1f04 2097152 mtdblock4 (driver?)
1f05 2064384 mtdblock5 (driver?)
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
[] (unwind_backtrace+0x0/0xf8) from [] (panic+0x74/0x18c)
[] (panic+0x74/0x18c) from [] (mount_block_root+0x170/0x224)
[] (mount_block_root+0x170/0x224) from [] (prepare_namespace+0x8c/0x178)
[] (prepare_namespace+0x8c/0x178) from [] (kernel_init+0x108/0x13c)
[] (kernel_init+0x108/0x13c) from [] (kernel_thread_exit+0x0/0x8)
CPU3: stopping
[] (unwind_backtrace+0x0/0xf8) from [] (do_IPI+0x150/0x17c)
[] (do_IPI+0x150/0x17c) from [] (__irq_svc+0x4c/0xe8)
Exception stack(0xbff01ef0 to 0xbff01f38)
1ee0: bff01f38 0000000a 00000000 00000003
1f00: 00000282 bff00000 bff00000 00000000 80ac1f40 00000003 80a5e040 00000000
1f20: 80048154 bff01f38 8007b694 8007b0f8 20000113 ffffffff
[] (__irq_svc+0x4c/0xe8) from [] (__do_softirq+0x4c/0x140)
[] (__do_softirq+0x4c/0x140) from [] (irq_exit+0x94/0x9c)
[] (irq_exit+0x94/0x9c) from [] (do_IPI+0x10c/0x17c)
[] (do_IPI+0x10c/0x17c) from [] (__irq_svc+0x4c/0xe8)
Exception stack(0xbff01f90 to 0xbff01fd8)
1f80: 80ac38a0 80000093 00000001 00000000
1fa0: bff00000 80abc444 80a71a70 8050ea90 80a74ebc 412fc09a 00000000 00000000
1fc0: 00000000 bff01fd8 8005076c 80042b04 40000013 ffffffff
[] (__irq_svc+0x4c/0xe8) from [] (default_idle+0x24/0x28)
[] (default_idle+0x24/0x28) from [] (cpu_idle+0xe0/0x124)
[] (cpu_idle+0xe0/0x124) from [] (0x105032d4)
CPU1: stopping
[] (unwind_backtrace+0x0/0xf8) from [] (do_IPI+0x150/0x17c)
[] (do_IPI+0x150/0x17c) from [] (__irq_svc+0x4c/0xe8)
Exception stack(0xbffadf90 to 0xbffadfd8)
df80: 80ac38a0 60000093 00000001 00000000
dfa0: bffac000 80abc444 80a71a70 8050ea90 80a74ebc 412fc09a 00000000 00000000
dfc0: 00000000 bffadfd8 8005076c 80042b04 40000013 ffffffff
[] (__irq_svc+0x4c/0xe8) from [] (default_idle+0x24/0x28)
[] (default_idle+0x24/0x28) from [] (cpu_idle+0xe0/0x124)
[] (cpu_idle+0xe0/0x124) from [] (0x105032d4)
CPU2: stopping
[] (unwind_backtrace+0x0/0xf8) from [] (do_IPI+0x150/0x17c)
[] (do_IPI+0x150/0x17c) from [] (__irq_svc+0x4c/0xe8)
Exception stack(0xbffb5f90 to 0xbffb5fd8)
5f80: 80ac38a0 80000093 00000001 00000000
5fa0: bffb4000 80abc444 80a71a70 8050ea90 80a74ebc 412fc09a 00000000 00000000
5fc0: 00000000 bffb5fd8 8005076c 80042b04 40000013 ffffffff
[] (__irq_svc+0x4c/0xe8) from [] (default_idle+0x24/0x28)
[] (default_idle+0x24/0x28) from [] (cpu_idle+0xe0/0x124)
[] (cpu_idle+0xe0/0x124) from [] (0x105032d4)
|
|