LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-28-2011, 12:01 AM   #1
ranjith90
LQ Newbie
 
Registered: Apr 2011
Posts: 2

Rep: Reputation: 0
i have created jffs2 filesystem but while flashing kernel panic error ....


Texas Instruments X-Loader 1.4.4ss (Aug 19 2010 - 02:49:27)
Beagle xM Rev A
Reading boot sector
Loading u-boot.bin from mmc


U-Boot 2010.03-dirty (Aug 20 2010 - 20:50:46)

OMAP3630/3730-GP ES2.0, CPU-OPP2, L3-165MHz,
OMAP3 Beagle board + LPDDR/NAND
I2C: ready
DRAM: 512 MB
NAND: 0 MiB
*** Warning - bad CRC or NAND, using default environment

In: serial
Out: serial
Err: serial

Probing for expansion boards, if none are connected you'll see a harmless I2C e.

No EEPROM on expansion board
Beagle xM Rev A
Die ID #0ffa00011ff00000015739eb0702700f
Hit any key to stop autoboot: 0
mmc1 is available
The user button is currently NOT pressed.
reading boot.scr

** Unable to read "boot.scr" from mmc 1:1 **
reading user.scr

842 bytes read
Running bootscript from mmc ...
## Executing script at 80200000
Bad data crc
reading uImage

3190568 bytes read
Booting from mmc ...
## Booting kernel from Legacy Image at 80200000 ...
Image Name: Angstrom/2.6.32/beagleboard
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 3190504 Bytes = 3 MB
Load Address: 80008000
Entry Point: 80008000
Verifying Checksum ... OK
Loading Kernel Image ... OK
OK

Starting kernel ...

Uncompressing Linux.............................................................
[ 0.000000] Linux version 2.6.32 (ubuntu@ip-10-204-115-71) (gcc version 4.3.0
[ 0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c53c7f
[ 0.000000] CPU: VIPT nonaliasing data cache, VIPT nonaliasing instruction ce
[ 0.000000] Machine: OMAP3 Beagle Board
[ 0.000000] Memory policy: ECC disabled, Data cache writeback
[ 0.000000] OMAP3630/DM3730 ES1.0 (l2cache iva sgx neon isp 192mhz_clk )
[ 0.000000] SRAM: Mapped pa 0x40200000 to va 0xfe400000 size: 0x100000
[ 0.000000] Reserving 12582912 bytes SDRAM for VRAM
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pa8
[ 0.000000] Kernel command line: console=ttyS2,115200n8 mpurate=1000 buddy=nt
[ 0.000000] Beagle expansionboard: none
[ 0.000000] Beagle cameraboard: lbcm3m1
[ 0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
[ 0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
[ 0.000000] Memory: 256MB 256MB = 512MB total
[ 0.000000] Memory: 500352KB available (5880K code, 671K data, 204K init, 0K)
[ 0.000000] Hierarchical RCU implementation.
[ 0.000000] NR_IRQS:402
[ 0.000000] Clocking rate (Crystal/Core/MPU): 26.0/332/600 MHz
[ 0.000000] Reprogramming SDRC clock to 332000000 Hz
[ 0.000000] GPMC revision 5.0
[ 0.000000] IRQ: Found an INTC at 0xfa200000 (revision 4.0) with 96 interrups
[ 0.000000] Total of 96 interrupts on 1 active controller
[ 0.000000] OMAP GPIO hardware version 2.5
[ 0.000000] OMAP clockevent source: GPTIMER12 at 32768 Hz
[ 0.000000] Console: colour dummy device 80x30
[ 0.000000] Calibrating delay loop... 505.22 BogoMIPS (lpj=1974272)
[ 0.000000] Mount-cache hash table entries: 512
[ 0.000000] CPU: Testing write buffer coherency: ok
[ 0.000000] tmpfs: No value for mount option 'mode'
[ 0.000000] devtmpfs: initialized
[ 0.000000] regulator: core version 0.5
[ 0.000000] NET: Registered protocol family 16
[ 0.000000] Beagle cameraboard: registering i2c2 bus for lbcm3m1
[ 0.000000] Found NAND on CS0
[ 0.000000] Registering NAND on CS0
[ 0.000000] Unable to get DVI reset GPIO
[ 0.000000] omap_init_mbox: platform not supported
[ 0.000000] Target VDD1 OPP = 4, VDD2 OPP = 2
[ 18.555175] OMAP DMA hardware revision 5.0
[ 18.561431] bio: create slab <bio-0> at 0
[ 18.562652] SCSI subsystem initialized
[ 18.563934] usbcore: registered new interface driver usbfs
[ 18.564086] usbcore: registered new interface driver hub
[ 18.564239] usbcore: registered new device driver usb
[ 18.564666] i2c_omap i2c_omap.1: bus 1 rev4.0 at 2600 kHz
[ 18.567291] twl4030: PIH (irq 7) chaining IRQs 368..375
[ 18.567352] twl4030: power (irq 373) chaining IRQs 376..383
[ 18.567626] twl4030: gpio (irq 368) chaining IRQs 384..401
[ 18.569305] regulator: VUSB1V5: 1500 mV normal standby
[ 18.569519] regulator: VUSB1V8: 1800 mV normal standby
[ 18.569732] regulator: VUSB3V1: 3100 mV normal standby
[ 18.571014] twl4030_usb twl4030_usb: Initialized TWL4030 USB module
[ 18.571411] regulator: VMMC1: 1850 <--> 3150 mV normal standby
[ 18.571655] regulator: VDAC: 1800 mV normal standby
[ 18.571868] regulator: VPLL2: 1800 mV normal standby
[ 18.572113] regulator: VSIM: 1800 <--> 3000 mV normal standby
[ 18.572479] regulator: VAUX3: 1800 mV normal standby
[ 18.572814] regulator: VAUX4: 1800 mV normal standby
[ 18.584167] i2c_omap i2c_omap.2: bus 2 rev4.0 at 400 kHz
[ 18.597320] i2c_omap i2c_omap.3: bus 3 rev4.0 at 100 kHz
[ 18.598510] Switching to clocksource 32k_counter
[ 18.607421] musb_hdrc: version 6.0, musb-dma, otg (peripheral+host), debug=0
[ 18.611114] musb_hdrc: USB OTG mode controller at fa0ab000 using DMA, IRQ 92
[ 18.611145] musb_hdrc musb_hdrc: MUSB HDRC host driver
[ 18.611267] musb_hdrc musb_hdrc: new USB bus registered, assigned bus number1
[ 18.611389] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[ 18.611419] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber1
[ 18.611450] usb usb1: Product: MUSB HDRC host driver
[ 18.611450] usb usb1: Manufacturer: Linux 2.6.32 musb-hcd
[ 18.611450] usb usb1: SerialNumber: musb_hdrc
[ 18.612091] hub 1-0:1.0: USB hub found
[ 18.612121] hub 1-0:1.0: 1 port detected
[ 18.613159] NET: Registered protocol family 2
[ 18.613372] IP route cache hash table entries: 4096 (order: 2, 16384 bytes)
[ 18.613891] TCP established hash table entries: 16384 (order: 5, 131072 byte)
[ 18.614349] TCP bind hash table entries: 16384 (order: 4, 65536 bytes)
[ 18.614562] TCP: Hash tables configured (established 16384 bind 16384)
[ 18.614593] TCP reno registered
[ 18.614593] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 18.614624] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 18.614868] NET: Registered protocol family 1
[ 18.615295] RPC: Registered udp transport module.
[ 18.615325] RPC: Registered tcp transport module.
[ 18.615325] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 18.616210] omap-iommu omap-iommu.0: isp registered
[ 18.617889] VFS: Disk quotas dquot_6.5.2
[ 18.617980] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 18.619049] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 18.619842] JFFS2 version 2.2. (NAND) (SUMMARY) � 2001-2006 Red Hat, Inc.
[ 18.620635] msgmni has been set to 977
[ 18.624389] alg: No test for stdrng (krng)
[ 18.624694] Block layer SCSI generic (bsg) driver version 0.4 loaded (major )
[ 18.624725] io scheduler noop registered
[ 18.624725] io scheduler deadline registered
[ 18.624877] io scheduler cfq registered (default)
[ 18.684692] OMAP DSS rev 2.0
[ 18.684753] OMAP DISPC rev 3.0
[ 18.684783] OMAP VENC rev 2
[ 18.685028] OMAP DSI rev 1.0
[ 19.021667] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[ 19.039733] serial8250.0: ttyS0 at MMIO 0x4806a000 (irq = 72) is a ST16654
[ 19.057159] serial8250.1: ttyS1 at MMIO 0x4806c000 (irq = 73) is a ST16654
[ 19.074554] serial8250.2: ttyS2 at MMIO 0x49020000 (irq = 74) is a ST16654
[ 19.642578] console [ttyS2] enabled
[ 19.652832] brd: module loaded
[ 19.659179] loop: module loaded
[ 19.663604] omap2-nand driver initializing
[ 19.667999] No NAND device found!!!
[ 19.671691] No NAND device found!!!
[ 19.676208] usbcore: registered new interface driver catc
[ 19.681701] catc: v2.8:CATC EL1210A NetMate USB Ethernet driver
[ 19.687774] usbcore: registered new interface driver kaweth
[ 19.693389] pegasus: v0.6.14 (2006/09/27), Pegasus/Pegasus II USB Ethernet dr
[ 19.701019] usbcore: registered new interface driver pegasus
[ 19.706726] rtl8150: v0.6.2 (2004/08/27):rtl8150 based usb-ethernet driver
[ 19.713714] usbcore: registered new interface driver rtl8150
[ 19.719512] usbcore: registered new interface driver asix
[ 19.725036] usbcore: registered new interface driver cdc_ether
[ 19.730987] usbcore: registered new interface driver dm9601
[ 19.736724] usbcore: registered new interface driver smsc95xx
[ 19.742584] usbcore: registered new interface driver gl620a
[ 19.748291] usbcore: registered new interface driver net1080
[ 19.754058] usbcore: registered new interface driver plusb
[ 19.759674] usbcore: registered new interface driver rndis_host
[ 19.765747] usbcore: registered new interface driver cdc_subset
[ 19.771789] usbcore: registered new interface driver zaurus
[ 19.777465] usbcore: registered new interface driver MOSCHIP usb-ethernet drr
[ 19.785552] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 19.792419] ehci-omap ehci-omap.0: OMAP-EHCI Host Controller
[ 19.798431] ehci-omap ehci-omap.0: new USB bus registered, assigned bus numb2
[ 19.806030] ehci-omap ehci-omap.0: irq 77, io mem 0x48064800
[ 19.825195] ehci-omap ehci-omap.0: USB 2.0 started, EHCI 1.00
[ 19.831085] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
[ 19.837951] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber1
[ 19.845245] usb usb2: Product: OMAP-EHCI Host Controller
[ 19.850616] usb usb2: Manufacturer: Linux 2.6.32 ehci_hcd
[ 19.856048] usb usb2: SerialNumber: ehci-omap.0
[ 19.861267] hub 2-0:1.0: USB hub found
[ 19.865142] hub 2-0:1.0: 3 ports detected
[ 19.895599] Initializing USB Mass Storage driver...
[ 19.900665] usbcore: registered new interface driver usb-storage
[ 19.906738] USB Mass Storage support registered.
[ 19.911773] mice: PS/2 mouse device common for all mice
[ 19.917419] input: gpio-keys as /devices/platform/gpio-keys/input/input0
[ 19.925262] input: twl4030_pwrbutton as /devices/platform/i2c_omap.1/i2c-1/11
[ 19.935974] i2c /dev entries driver
[ 19.940063] Linux video capture interface: v2.00
[ 19.945037] omap-iommu omap-iommu.0: isp: version 1.1
[ 19.951446] vpfe_init
[ 19.954284] OMAP Watchdog Timer Rev 0x31: initial timeout 60 sec
[ 20.067749] mmci-omap-hs mmci-omap-hs.1: err -16 configuring card detect
[ 20.074768] Registered led device: beagleboard::usr0
[ 20.079925] Registered led device: beagleboard::usr1
[ 20.086456] Registered led device: beagleboard:mu_stat
[ 20.093536] usbcore: registered new interface driver usbhid
[ 20.099182] usbhid: USB HID core driver
[ 20.103210] Advanced Linux Sound Architecture Driver Version 1.0.21.
[ 20.110137] usbcore: registered new interface driver snd-usb-audio
[ 20.192443] usb 2-2: new high speed USB device using ehci-omap and address 2
[ 20.200256] No device for DAI omap-mcbsp-dai-0
[ 20.204711] No device for DAI omap-mcbsp-dai-1
[ 20.209228] No device for DAI omap-mcbsp-dai-2
[ 20.213714] No device for DAI omap-mcbsp-dai-3
[ 20.218200] No device for DAI omap-mcbsp-dai-4
[ 20.222656] OMAP3 Beagle SoC init
[ 20.226837] asoc: twl4030 <-> omap-mcbsp-dai-0 mapping ok
[ 20.238250] ALSA device list:
[ 20.241302] #0: omap3beagle (twl4030)
[ 20.245239] oprofile: using arm/armv7
[ 20.249206] TCP cubic registered
[ 20.252441] NET: Registered protocol family 17
[ 20.257019] NET: Registered protocol family 15
[ 20.261566] lib80211: common routines for IEEE802.11 drivers
[ 20.267303] ThumbEE CPU extension supported.
[ 20.271606] Power Management for TI OMAP3.
[ 20.276977] Unable to set L3 frequency (400000000)
[ 20.281921] Switched to new clocking rate (Crystal/Core/MPU): 26.0/332/1000 z
[ 20.289276] IVA2 clocking rate: 800 MHz
[ 20.458038] SmartReflex driver initialized
[ 20.462249] omap3beaglelmb: Driver registration complete
[ 20.472961] VFP support v0.3: implementor 41 architecture 3 part 30 variant 3
[ 20.481201] registered taskstats version 1
[ 20.486083] fbcvt: 640x480@60: CVT Name - .307M3-R
[ 20.500030] Console: switching to colour frame buffer device 80x30
[ 20.512176] regulator_init_complete: incomplete constraints, leaving VAUX3 on
[ 20.522827] regulator_init_complete: incomplete constraints, leaving VDAC on
[ 20.530059] usb 2-2: New USB device found, idVendor=0424, idProduct=9514
[ 20.536834] usb 2-2: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 20.544433] omap_vout omap_vout: probed for an unknown device
[ 20.550567] Waiting for root device /dev/mmcblk0p2...
[ 20.556274] hub 2-2:1.0: USB hub found
[ 20.563293] hub 2-2:1.0: 5 ports detected
[ 20.739196] mmc0: new high speed SDHC card at address 1234
[ 20.745025] mmcblk0: mmc0:1234 SA04G 3.67 GiB
[ 20.749786] mmcblk0: p1 p2
[ 20.782226] EXT3-fs (mmcblk0p2): warning: maximal mount count reached, runnid
[ 20.791534] kjournald starting. Commit interval 5 seconds
[ 20.856658] usb 2-2.1: new high speed USB device using ehci-omap and address3
[ 20.981933] usb 2-2.1: New USB device found, idVendor=0424, idProduct=ec00
[ 20.988830] usb 2-2.1: New USB device strings: Mfr=0, Product=0, SerialNumbe0
[ 20.998962] smsc95xx v1.0.4
[ 21.052886] usb0: register 'smsc95xx' at usb-ehci-omap.0-2.1, smsc95xx USB 2c
[ 21.226013] EXT3-fs (mmcblk0p2): using internal journal
[ 21.231292] EXT3-fs (mmcblk0p2): mounted filesystem with writeback data mode
[ 21.238464] VFS: Mounted root (ext3 filesystem) on device 179:2.
[ 21.247283] devtmpfs: error mounting -2
[ 21.251190] Freeing init memory: 204K
[ 21.254943] Warning: unable to open an initial console.
[ 21.260253] Kernel panic - not syncing: No init found. Try passing init= op.
 
Old 04-28-2011, 12:03 AM   #2
ranjith90
LQ Newbie
 
Registered: Apr 2011
Posts: 2

Original Poster
Rep: Reputation: 0
OMAP3 beagleboard.org # printenv
bootcmd=if mmc init ${mmcdev}; then if userbutton; then setenv bootscr user.scr;
bootdelay=3
baudrate=115200
loadaddr=0x80200000
rdaddr=0x81000000
usbtty=cdc_acm
console=ttyS2,115200n8
optargs=
bootscr=boot.scr
camera=lbcm3m1
vram=12M
dvimode=640x480MR-16@60
defaultdisplay=dvi
mmcdev=1
mmcroot=/dev/mmcblk0p2 rw
mmcrootfstype=ext3 rootwait
nandroot=/dev/mtdblock4 rw
nandrootfstype=jffs2
ramroot=/dev/ram0 rw ramdisk_size=65536 initrd=0x81000000,64M
ramrootfstype=ext2
mmcargs=setenv bootargs console=${console} ${optargs} mpurate=${mpurate} buddy=}
nandargs=setenv bootargs console=${console} ${optargs} mpurate=${mpurate} buddy}
loadbootscript=fatload mmc ${mmcdev} ${loadaddr} ${bootscr}
ramargs=setenv bootargs console=${console} ${optargs} mpurate=${mpurate} buddy=}
loadramdisk=fatload mmc ${mmcdev} ${rdaddr} ramdisk.gz
bootscript=echo Running bootscript from mmc ...; source ${loadaddr}
loaduimage=fatload mmc ${mmcdev} ${loadaddr} uImage
mmcboot=echo Booting from mmc ...; run mmcargs; bootm ${loadaddr}
nandboot=echo Booting from nand ...; run nandargs; nand read ${loadaddr} 280000}
ramboot=echo Booting from ramdisk ...; run ramargs; bootm ${loadaddr}
buddy=none
beaglerev=xMA
mpurate=1000
dieid#=0ffa00011ff00000015739eb0702700f

Environment size: 2013/131068 bytes
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
KERNEL panic error for JFFS2 file sysytem..... balakv Linux - Embedded & Single-board computer 1 04-26-2011 06:05 PM
[SOLVED] Can we have JFFS2 Filesystem on NOR Flash. Niraj Kulkarni Linux - Newbie 0 04-28-2010 07:28 AM
JFFS2 [VFS mount root /dev/mtdblock2 ok] - kernel panic on running init process sud_vijay Linux - Kernel 0 03-05-2008 10:05 AM
Hard lock plus Caps and Scroll Lock flashing (kernel panic?) TiredOfThis Linux - General 4 12-11-2007 07:35 PM
writing into JFFS2 filesystem Deepak Inbasekaran Programming 0 06-26-2006 03:23 AM


All times are GMT -5. The time now is 03:52 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration