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.
Hello
I want to flash filesystem into nand flash.
I have build jffs2 filesystem just as the <TI816X-PSP-04.00.00.10-U-Boot.pdf>said.
But when I flash it into nand, it failed.
Here is what it shows.
TI8168_EVM# mw.b 0x81000000 0xFF 0x0C820000
TI8168_EVM# tftp 0x81000000 rd-jffs2.bin
#################################################################
#################################################################
#################################################################
###############################
done
Bytes transferred = 392882952 (176aeb08 hex)
TI8168_EVM#nand erase clean 0x006C0000 0x0C820000
NAND erase: device 0 offset 0x6c0000, size 0xc820000
Erasing at 0xcec0000 -- 100% complete. Cleanmarker written at 0xcec0000.
OK
TI8168_EVM#nand write 0x81000000 0x006C0000 0x176AF800
NAND write: device 0 offset 0x6c0000, size 0x176af800
NAND write to offset 10000000 failed -22
261357568 bytes written: ERROR
So what can I do then?
Thanks.
I have found the reason that leads to the problem.
Just because the filesystem is bigger than 200MB which is the limitation of the nand flash(mentioned in the TI816X-PSP-04.00.00.10-U-Boot.pdf filesystem start and end ).
But after setting the args I still can't start up the 8168evm.
Here is what I get in the console.
U-Boot 2010.06 (Jun 01 2011 - 12:30:57)
TI8168-GP rev 1.1
ARM clk: 987MHz
DDR clk: 796MHz
I2C: ready
DRAM: 2 GiB
NAND: HW ECC Hamming Code selected
256 MiB
:,;;:;:;;;;;;;;r;;:,;;:;:;;;;;;;;:,;;:;:;;;;;;;;:,;;:;:;;;;;;;;:;;;;;;;;:,;;:;:
;,;:::;;;;r;;;rssiSiS552X5252525259GX2X9hX9X9XX2325S55252i5:,;;:;:;;;;;;;;:,;;:
;:;;;;;;;rrssSsS52S22h52299GGAAMHMM#BBH#B#HMM#HMBA&&XX2255S2S5Si:,;;:;:;;;;;;;;
;:;;r;;rsrrriiXS5S329&A&MH#BMB#A&9XXA252GXiSXX39AAMMMBB&G22S5i2SSiiiisi:,;;:;:;
;;;;;r;rr2iisiih393HB#B#AA99i22irrrX3X52AGsisss2Xii2299HBMA&X2S5S5iSiisSsi:,;;:
r:r;rrsrsihXSi2&##MHB&Ahh3AGHGA9G9h&#H##@@@##MAMMXXX9SSS29&&HGGX2i5iisiiisisi:,
;;rrrrsSiiiA&ABH&A9GAGhAhBAMHA9HM@@@@@@@@@@@@@@@@@@@HHhAh2S2SX9&Gh22SSiisiiisii
r:rrssisiS2XM##&h3AGAX&3GG3Ssr5H@M#HM2; ;2X&&&MHMB###GBB#B&XXSSs529XX55iSsisisi
r;rsrisSi2XHAhX99A3XXG&&XS;:,rH#HGhAS @@@@3rs2XBM@@A552&&AHA2XiisSS252SSsisSs
r;issi5S22&&3iSSX292&hXsr;;:;h@&G339&S9@@@@2@MA&9&HB##Xris29ABMAAX2ir;rsSi5iss5
rrsSi2XhG&9GXh399&X99i;;;;;;r#H&293H9X#@@@@@@@B&9GhAH@XrrsrsiXABHB&HG2rr;rrSiSi
;:rsisS599&AA9XG&3A35r;:::;,;BMh&&2iX5A@@@@@@@&392X5GB2;;;r;iSX393A##A&Xi:::rsi
;:rss552222X553&XHMhir;;::,:,h#HhGSXhG3#@@@@#AXXS2XAHA;::;;;;ss55XShBA3239r:,;;
r;ii2S5SSi2i53hirsh2srr::,,,,;MMXX359&Ah3h&Si59SX99A#i:,::::;;sri2,.2r;:SGAr;,:
;:;rrrrssiriXGSi::shs;;;,,,:,,rBBA9h5s5h5iS5isi2SAHB5:,,,:::;rrs5&SrisSX5Srrr:,
;,r;;;;rsriSSrrrr;;5Xrr;;,:,,.,;9AA2SsisS5323XXXG9&i:.,,::;;r;;;srrrrrr;;:;::::
:,;r;r;rrissrrr;:;::;s;;;;,:,,..,r293h222hXXAAGGGX;:,,,:,:,::;:;::,:,,,,...,,,,
;,;;;;rrrrrrrrirr;,.,,:::::::,,,,.,;SX&ABAB2hhXir:,,.,,.,,:,,,,..,,,..,..,,,..:
:.:;:;;;:;;;;r;rrs;:.. ,,:::::,:,:,,.::rrsrr;;,,.......,..,....,,,,,,,...,.,,:,
:.:::,::::::;;r;rrr;:.......,.,.,,:::,,...............,,::.,,,,:,::,,:,:,,,:,;:
,.::,:,,,,,;;;;;;;;r;;::,..............................;;;:;::::,:::::::,:,:,,,
: ,,:,,,,,,,,,,,,,:;rrr;;:;,,,,,,,::,.,.:.,.,;s,:;;;;:;:;;;;;::::,:::,:::,:,:,:
,.,,,,,,,...,,.,,....................................:,............:,,,:,:,,,,,
Net: Detected MACID:90:d7:eb:8e:ba:62
Ethernet PHY: GENERIC @ 0x01
DaVinci EMAC
Hit any key to stop autoboot: 0
TI8168_EVM#printenv
verify=yes
ramdisk_file=ramdisk.gz
loadaddr=0x81000000
script_addr=0x80900000
loadbootscript=fatload mmc 1 ${script_addr} boot.scr
bootscript= echo Running bootscript from MMC/SD to set the ENV...; source ${scri
pt_addr}
ethaddr=90:d7:eb:8e:ba:62
ethact=DaVinci EMAC
bootdelay=4
baudrate=115200
oldbootargs=console=ttyO2,115200n8 rootdelay=10 rw mem=256M earlyprintk vram=50M
ti816xfb.vram=0:16M,1:16M,2:6M root=/dev/nfs nfsroot=192.168.1.150:/home/ccn/ta
rgetfs ip=192.168.1.110:192.168.1.150:192.168.1.1:255.255.255.0::eth0:off
autoload=no
oldserverip=192.168.1.150
oldbootfile=uImage-dm816x-evm.bin
bootfile=uImage-dm816x-evm.bin
oldbootcmd=setenv serverip 192.168.1.150;tftpboot;bootm
bootcmd=nand read 0x81000000 0x00280000 0x240B20;bootm 0x81000000
filesize=240B20
fileaddr=81000000
ipaddr=192.168.1.110
serverip=192.168.1.150
bootargs=console=ttyO2,115200n8 root=/dev/mtdblock3 rw rootfstype=jffs2 ip=192.1
68.1.110:192.168.1.150:192.168.1.1:255.255.255.0::eth0:off rootdelay=10 mem=100M
stdin=serial
stdout=serial
stderr=serial
ver=U-Boot 2010.06 (Jun 01 2011 - 12:30:57)
Environment size: 1077/8188 bytes
TI8168_EVM#boot
NAND read: device 0 offset 0x280000, size 0x240b20
2362144 bytes read: OK
## Booting kernel from Legacy Image at 81000000 ...
Image Name: Arago/2.6.37-psp04.00.00.10/dm81
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 2362080 Bytes = 2.3 MiB
Load Address: 80008000
Entry Point: 80008000
Verifying Checksum ... OK
Loading Kernel Image ... OK
OK
Starting kernel ...
Uncompressing Linux... done, booting the kernel.
Linux version 2.6.37 (x0029463@swubn01) (gcc version 4.3.3 (Sourcery G++ Lite 20
09q1-203) ) #1 Wed Jun 1 12:18:59 IST 2011
CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c53c7f
CPU: VIPT nonaliasing data cache, VIPT aliasing instruction cache
Machine: ti8168evm
reserved size = 0 at 0
Memory policy: ECC disabled, Data cache writeback
OMAP chip is TI8168 1.1
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 25400
Kernel command line: console=ttyO2,115200n8 root=/dev/mtdblock3 rw rootfstype=jf
fs2 ip=192.168.1.110:192.168.1.150:192.168.1.1:255.255.255.0::eth0:off rootdelay
=10 mem=100M
PID hash table entries: 512 (order: -1, 2048 bytes)
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
Memory: 100MB = 100MB total
Memory: 96408k/96408k available, 5992k reserved, 0K highmem
Virtual kernel memory layout:
vector : 0xffff0000 - 0xffff1000 ( 4 kB)
fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB)
DMA : 0xffc00000 - 0xffe00000 ( 2 MB)
vmalloc : 0xc6800000 - 0xf8000000 ( 792 MB)
lowmem : 0xc0000000 - 0xc6400000 ( 100 MB)
modules : 0xbf000000 - 0xc0000000 ( 16 MB)
.init : 0xc0008000 - 0xc0035000 ( 180 kB)
.text : 0xc0035000 - 0xc0478000 (4364 kB)
.data : 0xc0478000 - 0xc04b91e0 ( 261 kB)
SLUB: Genslabs=11, HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
NR_IRQS:407
IRQ: Found an INTC at 0xfa200000 (revision 5.0) with 128 interrupts
Total of 128 interrupts on 1 active controller
GPMC revision 6.0
Trying to install interrupt handler for IRQ400
Trying to install interrupt handler for IRQ401
Trying to install interrupt handler for IRQ402
Trying to install interrupt handler for IRQ403
Trying to install interrupt handler for IRQ404
Trying to install interrupt handler for IRQ405
Trying to install interrupt handler for IRQ406
Trying to install type control for IRQ407
Trying to set irq flags for IRQ407
OMAP clockevent source: GPTIMER1 at 27000000 Hz
Console: colour dummy device 80x30
Calibrating delay loop... 986.31 BogoMIPS (lpj=4931584)
pid_max: default: 32768 minimum: 301
Security Framework initialized
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
devtmpfs: initialized
omap_voltage_early_init: voltage driver support not added
regulator: core version 0.5
regulator: dummy:
NET: Registered protocol family 16
OMAP GPIO hardware version 0.1
OMAP GPIO hardware version 0.1
omap_mux_init: Add partition: #1: core, flags: 0
_omap_mux_get_by_name: Could not find signal i2c2_scl.i2c2_scl
_omap_mux_get_by_name: Could not find signal i2c2_sda.i2c2_sda
NOR: Can't request GPMC CS
registered ti816x_vpss device
pm_dbg_init: only OMAP3 supported
Registered ti81xx_fb device
ti816x_pcie: Invoking PCI BIOS...
ti816x_pcie: Setting up Host Controller...
ti816x_pcie: Register base mapped @0xc6820000
ti816x_pcie: Starting PCI scan...
PCI: bus0: Fast back to back transfers enabled
bio: create slab <bio-0> at 0
vgaarb: loaded
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
omap_i2c omap_i2c.1: bus 1 rev4.0 at 100 kHz
omap_i2c omap_i2c.2: bus 2 rev4.0 at 100 kHz
Advanced Linux Sound Architecture Driver Version 1.0.23.
Switching to clocksource gp timer
musb-hdrc: version 6.0, host, debug=0
musb-hdrc musb-hdrc.0: dma type: dma-cppi41
registerd cppi-dma Intr @ IRQ 17
Cppi41 Init Done
musb-hdrc: kernel must blacklist external hubs
musb-hdrc musb-hdrc.0: MUSB HDRC host driver
musb-hdrc musb-hdrc.0: new USB bus registered, assigned bus number 1
usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb1: Product: MUSB HDRC host driver
usb usb1: Manufacturer: Linux 2.6.37 musb-hcd
usb usb1: SerialNumber: musb-hdrc.0
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
musb-hdrc musb-hdrc.0: USB Host mode controller at c680c000 using DMA, IRQ 18
musb-hdrc musb-hdrc.1: dma type: dma-cppi41
musb-hdrc: kernel must blacklist external hubs
musb-hdrc musb-hdrc.1: MUSB HDRC host driver
musb-hdrc musb-hdrc.1: new USB bus registered, assigned bus number 2
usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb2: Product: MUSB HDRC host driver
usb usb2: Manufacturer: Linux 2.6.37 musb-hcd
usb usb2: SerialNumber: musb-hdrc.1
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 1 port detected
musb-hdrc musb-hdrc.1: USB Host mode controller at c681e800 using DMA, IRQ 19
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 4096 (order: 3, 32768 bytes)
TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
TCP: Hash tables configured (established 4096 bind 4096)
TCP reno registered
UDP hash table entries: 256 (order: 0, 4096 bytes)
UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
NET: Registered protocol family 1
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
RPC: Registered tcp NFSv4.1 backchannel transport module.
NetWinder Floating Point Emulator V0.97 (double precision)
sr1_fck HVT rate = 125000000
sr2_fck SVT rate = 125000000
SR NTarget value for HVT 0x998094
SR NTarget value for SVT 0xaab7d8
SmartReflex Driver initialized
omap-iommu omap-iommu.0: ducati registered
omap-iommu omap-iommu.1: sys registered
JFFS2 version 2.2. (NAND) �© 2001-2006 Red Hat, Inc.
msgmni has been set to 188
io scheduler noop registered
io scheduler deadline registered
io scheduler cfq registered (default)
Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
omap_uart.0: ttyO0 at MMIO 0x48020000 (irq = 72) is a OMAP UART0
omap_uart.1: ttyO1 at MMIO 0x48022000 (irq = 73) is a OMAP UART1
omap_uart.2: ttyO2 at MMIO 0x48024000 (irq = 74) is a OMAP UART2
console [ttyO2] enabled
brd: module loaded
loop: module loaded
ahci ahci.0: forcing PORTS_IMPL to 0x3
ahci ahci.0: AHCI 0001.0100 32 slots 2 ports 3 Gbps 0x3 impl platform mode
ahci ahci.0: flags: ncq sntf pm led clo only pmp pio slum part ccc
scsi0 : ahci_platform
scsi1 : ahci_platform
ata1: SATA max UDMA/133 mmio [mem 0x4a140000-0x4a150fff] port 0x100 irq 16
ata2: SATA max UDMA/133 mmio [mem 0x4a140000-0x4a150fff] port 0x180 irq 16
m25p80 spi1.0: found m25p05-nonjedec, expected w25x32
m25p80 spi1.0: m25p05-nonjedec (64 Kbytes)
Creating 4 MTD partitions on "spi_flash":
0x000000000000-0x000000040000 : "U-Boot"
mtd: partition "U-Boot" extends beyond the end of device "spi_flash" -- size tru
ncated to 0x10000
0x000000010000-0x000000012000 : "U-Boot Env"
mtd: partition "U-Boot Env" is out of reach -- disabled
0x000000000000-0x000000280000 : "Kernel"
mtd: partition "Kernel" extends beyond the end of device "spi_flash" -- size tru
ncated to 0x10000
0x000000010000-0x000000010000 : "File System"
mtd: partition "File System" is out of reach -- disabled
omap2-nand driver initializing
NAND device: Manufacturer ID: 0x2c, Chip ID: 0xca (Micron )
Creating 5 MTD partitions on "omap2-nand.0":
0x000000000000-0x000000260000 : "U-Boot"
0x000000260000-0x000000280000 : "U-Boot Env"
0x000000280000-0x0000006c0000 : "Kernel"
0x0000006c0000-0x00000cee0000 : "File System"
0x00000cee0000-0x000010000000 : "Reserved"
davinci_mdio davinci_mdio.0: davinci mdio revision 1.6
davinci_mdio davinci_mdio.0: detected phy mask fffffff9
davinci_mdio.0: probed
davinci_mdio davinci_mdio.0: phy[1]: device 0:01, driver unknown
davinci_mdio davinci_mdio.0: phy[2]: device 0:02, driver unknown
usbcore: registered new interface driver cdc_ether
usbcore: registered new interface driver dm9601
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
mice: PS/2 mouse device common for all mice
i2c /dev entries driver
Linux video capture interface: v2.00
usbcore: registered new interface driver uvcvideo
USB Video Class driver (v1.0.0)
OMAP Watchdog Timer Rev 0x00: initial timeout 60 sec
usb 2-1: new low speed USB device using musb-hdrc and address 2
PSTATE 1f20000
usbcore: registered new interface driver usbhid
usbhid: USB HID core driver
usbcore: registered new interface driver snd-usb-audio
1-0018 supply IOVDD not found, using dummy regulator
1-0018 supply DVDD not found, using dummy regulator
1-0018 supply AVDD not found, using dummy regulator
1-0018 supply DRVDD not found, using dummy regulator
asoc: tlv320aic3x-hifi <-> davinci-mcasp.2 mapping ok
ALSA device list:
#0: TI81XX EVM
TCP cubic registered
NET: Registered protocol family 17
VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
omap_voltage_late_init: Voltage driver support not added
ata1: SATA link down (SStatus 0 SControl 300)
ata2: SATA link down (SStatus 0 SControl 300)
usb 2-1: New USB device found, idVendor=062a, idProduct=0003
usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
usb 2-1: Product: Optical Mouse
usb 2-1: Manufacturer: MosArt
input: MosArt Optical Mouse as /devices/platform/musb-ti81xx/musb-hdrc.1/usb2/2-
1/2-1:1.0/input/input0
generic-usb 0003:062A:0003.0001: input: USB HID v1.10 Mouse [MosArt Optical Mous
e] on usb-musb-hdrc.1-1/input0
davinci_mdio davinci_mdio.0: resetting idled controller
net eth0: attached PHY driver [Generic PHY] (mii_bus:phy_addr=0:01, id=282f014)
IP-Config: Complete:
device=eth0, addr=192.168.1.110, mask=255.255.255.0, gw=192.168.1.1,
host=192.168.1.110, domain=, nis-domain=(none),
bootserver=192.168.1.150, rootserver=192.168.1.150, rootpath=
Waiting 10sec before mounting root device...
PHY: 0:01 - Link is Up - 1000/Full
Division by zero in kernel.
Backtrace:
[<c0043b44>] (dump_backtrace+0x0/0x110) from [<c0353b74>] (dump_stack+0x18/0x1c)
r7:c5e8ac00 r6:c5e8ae00 r5:00000000 r4:00000000
[<c0353b5c>] (dump_stack+0x0/0x1c) from [<c0044338>] (__div0+0x18/0x20)
[<c0044320>] (__div0+0x0/0x20) from [<c0181904>] (Ldiv0+0x8/0x10)
[<c015d998>] (jffs2_do_fill_super+0x0/0x238) from [<c015e878>] (jffs2_fill_super
+0xbc/0xd4)
r7:00000001 r6:00000000 r5:c5e8ac00 r4:c5e8ae00
[<c015e7bc>] (jffs2_fill_super+0x0/0xd4) from [<c0208858>] (mount_mtd_aux+0x54/0
xe8)
r7:00000000 r6:00008000 r5:c5e18000 r4:c5e8ac00
[<c0208804>] (mount_mtd_aux+0x0/0xe8) from [<c0208948>] (mount_mtd_nr+0x5c/0x64)
r7:00008000 r6:c0499238 r5:00000000 r4:c5e9e200
[<c02088ec>] (mount_mtd_nr+0x0/0x64) from [<c0208a90>] (mount_mtd+0x140/0x170)
r7:c0499238 r6:00008000 r5:01f00003 r4:c5e9e200
[<c0208950>] (mount_mtd+0x0/0x170) from [<c015e550>] (jffs2_mount+0x1c/0x28)
[<c015e534>] (jffs2_mount+0x0/0x28) from [<c00b9d7c>] (vfs_kern_mount+0xac/0x1d8
)
[<c00b9cd0>] (vfs_kern_mount+0x0/0x1d8) from [<c00b9f04>] (do_kern_mount+0x3c/0x
e0)
[<c00b9ec8>] (do_kern_mount+0x0/0xe0) from [<c00cfa24>] (do_mount+0x68c/0x6ec)
r9:00000000 r8:c5e9e200 r7:00000020 r6:00000000 r5:00000000
r4:00008000
[<c00cf398>] (do_mount+0x0/0x6ec) from [<c00cfb10>] (sys_mount+0x8c/0xcc)
[<c00cfa84>] (sys_mount+0x0/0xcc) from [<c0008ef0>] (do_mount_root+0x28/0xc0)
r7:c5c13000 r6:c0063ae0 r5:c002b71c r4:c5c13000
[<c0008ec8>] (do_mount_root+0x0/0xc0) from [<c0009174>] (mount_block_root+0x100/
0x220)
r4:c5c13000
[<c0009074>] (mount_block_root+0x0/0x220) from [<c0009340>] (mount_root+0xac/0xc
c)
[<c0009294>] (mount_root+0x0/0xcc) from [<c00094d0>] (prepare_namespace+0x170/0x
1d4)
r4:c04b9264
[<c0009360>] (prepare_namespace+0x0/0x1d4) from [<c0008784>] (kernel_init+0x114/
0x154)
r5:c0008670 r4:c04b9200
[<c0008670>] (kernel_init+0x0/0x154) from [<c0063ae0>] (do_exit+0x0/0x5e4)
r5:c0008670 r4:00000000
Division by zero in kernel.
Backtrace:
[<c0043b44>] (dump_backtrace+0x0/0x110) from [<c0353b74>] (dump_stack+0x18/0x1c)
r7:c5e8ac00 r6:c5e8ae00 r5:00000000 r4:00000000
[<c0353b5c>] (dump_stack+0x0/0x1c) from [<c0044338>] (__div0+0x18/0x20)
[<c0044320>] (__div0+0x0/0x20) from [<c0181904>] (Ldiv0+0x8/0x10)
[<c015be58>] (jffs2_do_mount_fs+0x0/0x648) from [<c015daf4>] (jffs2_do_fill_supe
r+0x15c/0x238)
[<c015d998>] (jffs2_do_fill_super+0x0/0x238) from [<c015e878>] (jffs2_fill_super
+0xbc/0xd4)
r7:00000001 r6:00000000 r5:c5e8ac00 r4:c5e8ae00
[<c015e7bc>] (jffs2_fill_super+0x0/0xd4) from [<c0208858>] (mount_mtd_aux+0x54/0
xe8)
r7:00000000 r6:00008000 r5:c5e18000 r4:c5e8ac00
[<c0208804>] (mount_mtd_aux+0x0/0xe8) from [<c0208948>] (mount_mtd_nr+0x5c/0x64)
r7:00008000 r6:c0499238 r5:00000000 r4:c5e9e200
[<c02088ec>] (mount_mtd_nr+0x0/0x64) from [<c0208a90>] (mount_mtd+0x140/0x170)
r7:c0499238 r6:00008000 r5:01f00003 r4:c5e9e200
[<c0208950>] (mount_mtd+0x0/0x170) from [<c015e550>] (jffs2_mount+0x1c/0x28)
[<c015e534>] (jffs2_mount+0x0/0x28) from [<c00b9d7c>] (vfs_kern_mount+0xac/0x1d8
)
[<c00b9cd0>] (vfs_kern_mount+0x0/0x1d8) from [<c00b9f04>] (do_kern_mount+0x3c/0x
e0)
[<c00b9ec8>] (do_kern_mount+0x0/0xe0) from [<c00cfa24>] (do_mount+0x68c/0x6ec)
r9:00000000 r8:c5e9e200 r7:00000020 r6:00000000 r5:00000000
r4:00008000
[<c00cf398>] (do_mount+0x0/0x6ec) from [<c00cfb10>] (sys_mount+0x8c/0xcc)
[<c00cfa84>] (sys_mount+0x0/0xcc) from [<c0008ef0>] (do_mount_root+0x28/0xc0)
r7:c5c13000 r6:c0063ae0 r5:c002b71c r4:c5c13000
[<c0008ec8>] (do_mount_root+0x0/0xc0) from [<c0009174>] (mount_block_root+0x100/
0x220)
r4:c5c13000
[<c0009074>] (mount_block_root+0x0/0x220) from [<c0009340>] (mount_root+0xac/0xc
c)
[<c0009294>] (mount_root+0x0/0xcc) from [<c00094d0>] (prepare_namespace+0x170/0x
1d4)
r4:c04b9264
[<c0009360>] (prepare_namespace+0x0/0x1d4) from [<c0008784>] (kernel_init+0x114/
0x154)
r5:c0008670 r4:c04b9200
[<c0008670>] (kernel_init+0x0/0x154) from [<c0063ae0>] (do_exit+0x0/0x5e4)
r5:c0008670 r4:00000000
Division by zero in kernel.
Backtrace:
[<c0043b44>] (dump_backtrace+0x0/0x110) from [<c0353b74>] (dump_stack+0x18/0x1c)
r7:c5c22000 r6:00000080 r5:00000000 r4:00000080
[<c0353b5c>] (dump_stack+0x0/0x1c) from [<c0044338>] (__div0+0x18/0x20)
[<c0044320>] (__div0+0x0/0x20) from [<c0181904>] (Ldiv0+0x8/0x10)
[<c015be58>] (jffs2_do_mount_fs+0x0/0x648) from [<c015daf4>] (jffs2_do_fill_supe
r+0x15c/0x238)
[<c015d998>] (jffs2_do_fill_super+0x0/0x238) from [<c015e878>] (jffs2_fill_super
+0xbc/0xd4)
r7:00000001 r6:00000000 r5:c5e8ac00 r4:c5e8ae00
[<c015e7bc>] (jffs2_fill_super+0x0/0xd4) from [<c0208858>] (mount_mtd_aux+0x54/0
xe8)
r7:00000000 r6:00008000 r5:c5e18000 r4:c5e8ac00
[<c0208804>] (mount_mtd_aux+0x0/0xe8) from [<c0208948>] (mount_mtd_nr+0x5c/0x64)
r7:00008000 r6:c0499238 r5:00000000 r4:c5e9e200
[<c02088ec>] (mount_mtd_nr+0x0/0x64) from [<c0208a90>] (mount_mtd+0x140/0x170)
r7:c0499238 r6:00008000 r5:01f00003 r4:c5e9e200
[<c0208950>] (mount_mtd+0x0/0x170) from [<c015e550>] (jffs2_mount+0x1c/0x28)
[<c015e534>] (jffs2_mount+0x0/0x28) from [<c00b9d7c>] (vfs_kern_mount+0xac/0x1d8
)
[<c00b9cd0>] (vfs_kern_mount+0x0/0x1d8) from [<c00b9f04>] (do_kern_mount+0x3c/0x
e0)
[<c00b9ec8>] (do_kern_mount+0x0/0xe0) from [<c00cfa24>] (do_mount+0x68c/0x6ec)
r9:00000000 r8:c5e9e200 r7:00000020 r6:00000000 r5:00000000
r4:00008000
[<c00cf398>] (do_mount+0x0/0x6ec) from [<c00cfb10>] (sys_mount+0x8c/0xcc)
[<c00cfa84>] (sys_mount+0x0/0xcc) from [<c0008ef0>] (do_mount_root+0x28/0xc0)
r7:c5c13000 r6:c0063ae0 r5:c002b71c r4:c5c13000
[<c0008ec8>] (do_mount_root+0x0/0xc0) from [<c0009174>] (mount_block_root+0x100/
0x220)
r4:c5c13000
[<c0009074>] (mount_block_root+0x0/0x220) from [<c0009340>] (mount_root+0xac/0xc
c)
[<c0009294>] (mount_root+0x0/0xcc) from [<c00094d0>] (prepare_namespace+0x170/0x
1d4)
r4:c04b9264
[<c0009360>] (prepare_namespace+0x0/0x1d4) from [<c0008784>] (kernel_init+0x114/
0x154)
r5:c0008670 r4:c04b9200
[<c0008670>] (kernel_init+0x0/0x154) from [<c0063ae0>] (do_exit+0x0/0x5e4)
r5:c0008670 r4:00000000
VFS: Mounted root (jffs2 filesystem) on device 31:3.
devtmpfs: error mounting -2
Freeing init memory: 180K
Kernel panic - not syncing: No init found. Try passing init= option to kernel.
See Linux Documentation/init.txt for guidance.
Backtrace:
[<c0043b44>] (dump_backtrace+0x0/0x110) from [<c0353b74>] (dump_stack+0x18/0x1c)
r7:00000013 r6:c0063ae0 r5:c0008670 r4:c04b98d0
[<c0353b5c>] (dump_stack+0x0/0x1c) from [<c0353bd8>] (panic+0x60/0x17c)
[<c0353b78>] (panic+0x0/0x17c) from [<c0035574>] (init_post+0xa4/0xc4)
r3:00000000 r2:00000000 r1:c05acd20 r0:c040600d
[<c00354d0>] (init_post+0x0/0xc4) from [<c0008788>] (kernel_init+0x118/0x154)
r5:c0008670 r4:c04b9200
[<c0008670>] (kernel_init+0x0/0x154) from [<c0063ae0>] (do_exit+0x0/0x5e4)
r5:c0008670 r4:00000000
I don't know where the problem laies.
Please help , thanks.
I have solved the problem.The bootargs above I used mtdblock3! But my kernel is compiled to support NAND and SPI ,I should use mtdblock7.