2010-01-21 02:04:36     rootfs.jffs2 - kernel panic : not syncing: No init found - BF527 Ezkit

Document created by Aaronwu Employee on Aug 20, 2013
Version 1Show Document
  • View in full screen mode

2010-01-21 02:04:36     rootfs.jffs2 - kernel panic : not syncing: No init found - BF527 Ezkit

Anoop sasi (INDIA)

Message: 84877   

 

Hi

 

Am in a problem . I was trying to boot uClinux 2009R1.5 with rootfs on parallel flash (M29W320EB) on a bf527 EZKit..

 

I have set up my kernel according to this    docs.blackfin.uclinux.org/doku.php?id=linux-kernel:jffs&s[]=jffs2  document and i have gone through MTD partitioning doc also . I made 3 partioton and I flashed vmImage to 0x20040000 and rootfs.jffs2 to 0x20140000. Bootargs are:

 

setenv bootargs root=/dev/mtdblock2 rootfstype=jffs2 rw clkin_hz=25000000 earlyprintk=serial,uart1,115200 console=ttyBF0,115200

 

but when i try to mount root file system am getting the following errors ...

 

 

CPU:   ADSP bf527-0.0 (Detected Rev: 0.0) (parallel flash boot)

Board: ADI BF527 EZ-Kit board

       Support:   blackfin.uclinux.org/

Clock: VCO: 525 MHz, Core: 525 MHz, System: 131.250 MHz

RAM:   64 MB

Flash: 4 MB

In:    serial

Out:   serial

Err:   serial

Net:   Blackfin EMAC

MAC:   00:E0:22:FE:BA:4D

Hit any key to stop autoboot: 0

## Booting kernel from Legacy Image at 20040000 ...

   Image Name:   Linux-2.6.28.10-ADI-2009R1

   Created:      2010-01-20   8:47:31 UTC

   Image Type:   Blackfin Linux Kernel Image (gzip compressed)

   Data Size:    1043829 Bytes = 1019.4 kB

   Load Address: 00001000

   Entry Point: 001d4cf8

   Verifying Checksum ... OK

   Uncompressing Kernel Image ... OK

Starting Kernel at = 001d4cf8

Linux version 2.6.28.10-ADI-2009R1 (vinay@036pc) (gcc version 4.1.2 (ADI svn)) 0

bootconsole [early_shadow0] enabled

bootconsole [early_BFuart0] enabled

early printk enabled on early_BFuart0

Board Memory: 64MB

Kernel Managed Memory: 64MB

Memory map:

fixedcode = 0x00000400-0x00000490

text      = 0x00001000-0x0013c080

rodata    = 0x0013c080-0x001a0ab0

bss       = 0x001a1000-0x001b6364

data      = 0x001b6364-0x001ce000

    stack   = 0x001cc000-0x001ce000

init      = 0x001ce000-0x001e8000

available = 0x001e8000-0x03eff000

DMA Zone = 0x03f00000-0x04000000

Hardware Trace Active and Enabled

Boot Mode: 1

Blackfin support (C) 2004-2009 Analog Devices, Inc.

Compiled for ADSP-BF527 Rev 0.0

Blackfin Linux support by   blackfin.uclinux.org/

Processor Speed: 525 MHz core clock and 131 MHz System Clock

NOMPU: setting up cplb tables

Instruction Cache Enabled for CPU0

Data Cache Enabled for CPU0 (write-back)

Built 1 zonelists in Zone order, mobility grouping off. Total pages: 16001

Kernel command line: root=/dev/mtdblock2 rw rootfstype=jffs2 clkin_hz=25000000 0

Configuring Blackfin Priority Driven Interrupts

PID hash table entries: 256 (order: 8, 1024 bytes)

Console: colour dummy device 80x25

Linux version 2.6.28.10-ADI-2009R1 (vinay@036pc) (gcc version 4.1.2 (ADI svn)) 0

bootconsole [early_shadow0] enabled

bootconsole [early_BFuart0] enabled

early printk enabled on early_BFuart0

Board Memory: 64MB

Kernel Managed Memory: 64MB

Memory map:

fixedcode = 0x00000400-0x00000490

text      = 0x00001000-0x0013c080

rodata    = 0x0013c080-0x001a0ab0

bss       = 0x001a1000-0x001b6364

data      = 0x001b6364-0x001ce000

    stack   = 0x001cc000-0x001ce000

init      = 0x001ce000-0x001e8000

available = 0x001e8000-0x03eff000

DMA Zone = 0x03f00000-0x04000000

Hardware Trace Active and Enabled

Boot Mode: 1

Blackfin support (C) 2004-2009 Analog Devices, Inc.

Compiled for ADSP-BF527 Rev 0.0

Blackfin Linux support by   blackfin.uclinux.org/

Processor Speed: 525 MHz core clock and 131 MHz System Clock

NOMPU: setting up cplb tables

Instruction Cache Enabled for CPU0

Data Cache Enabled for CPU0 (write-back)

Built 1 zonelists in Zone order, mobility grouping off. Total pages: 16001

Kernel command line: root=/dev/mtdblock2 rw rootfstype=jffs2 clkin_hz=25000000 0

Configuring Blackfin Priority Driven Interrupts

PID hash table entries: 256 (order: 8, 1024 bytes)

Console: colour dummy device 80x25

console [tty0] enabled

console [ttyBF0] enabled, bootconsole disabled

console [ttyBF0] enabled, bootconsole disabled

Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)

Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)

Memory available: 61984k/65536k RAM, (104k init code, 1260k kernel code, 584k d)

Calibrating delay loop... 1046.52 BogoMIPS (lpj=2093056)

Security Framework initialized

Mount-cache hash table entries: 512

Blackfin Scratchpad data SRAM: 4 KB

Blackfin L1 Data A SRAM: 16 KB (15 KB free)

Blackfin L1 Data B SRAM: 16 KB (16 KB free)

Blackfin L1 Instruction SRAM: 48 KB (43 KB free)

net_namespace: 288 bytes

NET: Registered protocol family 16

Blackfin DMA Controller

ezkit_init(): registering device resources

SCSI subsystem initialized

usbcore: registered new interface driver usbfs

usbcore: registered new interface driver hub

usbcore: registered new device driver usb

musb_hdrc: version 6.0, pio, host, debug=0

musb_hdrc: USB Host mode controller at ffc03800 using PIO, IRQ 59

musb_hdrc musb_hdrc.0: MUSB HDRC host driver

musb_hdrc musb_hdrc.0: new USB bus registered, assigned bus number 1

usb usb1: configuration #1 chosen from 1 choice

hub 1-0:1.0: USB hub found

hub 1-0:1.0: 1 port detected

NET: Registered protocol family 23

NET: Registered protocol family 2

IP route cache hash table entries: 1024 (order: 0, 4096 bytes)

TCP established hash table entries: 2048 (order: 2, 16384 bytes)

TCP bind hash table entries: 2048 (order: 1, 8192 bytes)

TCP: Hash tables configured (established 2048 bind 2048)

TCP reno registered

NET: Registered protocol family 1

JFFS2 version 2.2. (NAND) �© 2001-2006 Red Hat, Inc.

msgmni has been set to 121

io scheduler noop registered

io scheduler anticipatory registered (default)

io scheduler cfq registered

bfin-t350mcqb: 320x240 24-bit RGB FrameBuffer initializing...

dma_alloc_init: dma_page @ 0x03e1a000 - 256 pages at 0x03f00000

Console: switching to colour frame buffer device 40x30

bfin-otp: initialized

Serial: Blackfin serial driver

bfin-uart.1: ttyBF0 at MMIO 0xffc02000 (irq = 31) is a BFIN-UART

brd: module loaded

bfin_mii_bus: probed

bfin_mac: attached PHY driver [Generic PHY] (mii_bus:phy_addr=0:01, irq=-1, mdc)

bfin_mac bfin_mac.0: Blackfin on-chip Ethernet MAC driver, Version 1.1

Driver 'sd' needs updating - please use bus_type methods

physmap platform flash device: 00400000 at 20000000

physmap-flash.0: Found 1 x16 devices at 0x0 in 16-bit bank

Amd/Fujitsu Extended Query Table at 0x0040

number of CFI chips: 1

cfi_cmdset_0002: Disabling erase-suspend-program due to code brokenness.

cmdlinepart partition parsing not available

RedBoot partition parsing not available

Using physmap partition information

Creating 3 MTD partitions on "physmap-flash.0":

0x00000000-0x00040000 : "uboot"

0x00040000-0x00140000 : "uClinux"

0x00140000-0x00400000 : "file system(nor)"

m25p80 spi0.1: m25p16 (2048 Kbytes)

Creating 2 MTD partitions on "m25p80":

0x00000000-0x00040000 : "bootloader"

0x00040000-0x00200000 : "linux kernel"

bfin-spi bfin-spi.0: Blackfin BF5xx on-chip SPI Controller Driver, Version 1.0,7

usbmon: debugfs is not available

Initializing USB Mass Storage driver...

usbcore: registered new interface driver usb-storage

USB Mass Storage support registered.

rtc-bfin rtc-bfin: rtc core: registered rtc-bfin as rtc0

bfin-wdt: initialized: timeout=20 sec (nowayout=0)

usbcore: registered new interface driver usbhid

usbhid: v2.6:USB HID core driver

TCP cubic registered

NET: Registered protocol family 17

rtc-bfin rtc-bfin: setting system clock to 1970-01-04 09:27:09 UTC (293229)

jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000000: 0x2003 id

jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0000000c: 0xaa00 id

jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000010: 0x00aa id

jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000018: 0xaaaa id

jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0000001c: 0xaaaa id

jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000020: 0xaaaa id

jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000028: 0xaaaa id

jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0000002c: 0x00aa id

jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0000003c: 0xaaaa id

jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000044: 0xaaaa id

Further such events for this erase block will not be printed

Empty flash at 0x00008b44 ends at 0x00008b48

Empty flash at 0x00008d14 ends at 0x00008d18

jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00010044: 0x96e2 id

jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0001004c: 0x3f5f id

jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00010050: 0x8ba8 id

jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00010054: 0x579c id

jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00010058: 0xd713 id

jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0001005c: 0xcb5a id

jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00010060: 0xe35e id

jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00010064: 0x36b4 id

jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00010068: 0xe300 id

jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0001006c: 0xddbc id

Further such events for this erase block will not be printed

Empty flash at 0x0001d524 ends at 0x0001d528

Empty flash at 0x0001d62c ends at 0x0001d630

jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00020000: 0xb0f0 id

jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00020004: 0x341f id

jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0002000c: 0xe41e id

jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00020010: 0xe002 id

jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00020018: 0xb662 id

jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00020028: 0x03e8 id

jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0002002c: 0x0006 id

jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00020030: 0x4b56 id

jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00020034: 0x4b56 id

jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00020038: 0x4b56 id

Further such events for this erase block will not be printed

Empty flash at 0x00021504 ends at 0x00021508

Empty flash at 0x000216f8 ends at 0x000216fc

Empty flash at 0x00028858 ends at 0x0002885c

Empty flash at 0x00028928 ends at 0x0002892c

jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00030228: 0x45f3 id

jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0003022c: 0xb851 id

jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00030230: 0x66ef id

jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00030234: 0xd1a0 id

jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00030238: 0x4daa id

jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0003023c: 0x7a56 id

jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00030240: 0x0a8c id

jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00030244: 0x4408 id

jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00030248: 0x5759 id

jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0003024c: 0x3fa7 id

Further such events for this erase block will not be printed

Empty flash at 0x0003d520 ends at 0x0003d524

Empty flash at 0x0003d5fc ends at 0x0003d600

jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00040000: 0xb0f0 id

jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00040004: 0x2003 id

jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0004000c: 0xe41e id

jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00040010: 0xe002 id

jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00040018: 0x998e id

jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00040028: 0x03e8 id

jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0004002c: 0x0006 id

jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00040030: 0x4b56 id

jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00040034: 0x4b56 id

jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00040038: 0x4b56 id

Further such events for this erase block will not be printed

Empty flash at 0x00042298 ends at 0x0004229c

Empty flash at 0x00042370 ends at 0x00042374

Empty flash at 0x0004a494 ends at 0x0004a498

Empty flash at 0x0004af5c ends at 0x0004af60

jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00050000: 0x0c00 id

jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000500d8: 0xd9a2 id

jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000500dc: 0xb003 id

jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000500e0: 0xcd81 id

jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000500e4: 0x9ba8 id

jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000500e8: 0x6e68 id

jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000500ec: 0x7787 id

jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000500f0: 0xd5d1 id

jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000500f4: 0x0cba id

jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000500f8: 0x8f1f id

Further such events for this erase block will not be printed

Empty flash at 0x00050b7c ends at 0x00050b80

Empty flash at 0x00050cd4 ends at 0x00050cd8

Empty flash at 0x000578e4 ends at 0x000578e8

Empty flash at 0x00057964 ends at 0x00057968

Empty flash at 0x0005fba8 ends at 0x0005fbac

Empty flash at 0x0005fd44 ends at 0x0005fd48

jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00060000: 0x0030 id

jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00060004: 0x2003 id

jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0006000c: 0xe41e id

jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00060010: 0xe002 id

jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00060018: 0xd80c id

jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00060028: 0x03e8 id

jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00060030: 0x4b56 id

jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00060034: 0x4b56 id

jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00060038: 0x4b56 id

jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0006004c: 0x80de id

Further such events for this erase block will not be printed

Empty flash at 0x00065530 ends at 0x00065534

Empty flash at 0x000656c4 ends at 0x000656c8

Empty flash at 0x0006d5b0 ends at 0x0006d5b4

Empty flash at 0x0006d8d0 ends at 0x0006d8d4

jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00070000: 0xe0a2 id

jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00070004: 0x2003 id

jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0007000c: 0xe41e id

jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00070010: 0xe002 id

jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00070018: 0xe7b1 id

jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00070028: 0x03e8 id

jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0007002c: 0x0001 id

jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00070030: 0x4b56 id

jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00070034: 0x4b56 id

jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00070038: 0x4b56 id

Further such events for this erase block will not be printed

Empty flash at 0x000725ac ends at 0x000725b0

Empty flash at 0x000729f8 ends at 0x000729fc

Empty flash at 0x0007a018 ends at 0x0007a01c

Empty flash at 0x0007a428 ends at 0x0007a42c

jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00080000: 0x6486 id

jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00080004: 0x2003 id

jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0008000c: 0xe41e id

jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00080010: 0xe002 id

jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00080018: 0x4dbf id

jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00080028: 0x03e8 id

jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0008002c: 0x0001 id

jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00080030: 0x4b56 id

jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00080034: 0x4b56 id

jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00080038: 0x4b56 id

Further such events for this erase block will not be printed

Empty flash at 0x00080728 ends at 0x0008072c

Empty flash at 0x0008b1c4 ends at 0x0008b1c8

Empty flash at 0x0008b4e4 ends at 0x0008b4e8

jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00090000: 0x0c00 id

jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00090004: 0x2003 id

jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00090010: 0xaaaa id

jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00090028: 0xaaaa id

jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0009002c: 0xaaaa id

jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00090038: 0xaaaa id

jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0009003c: 0x00aa id

jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00090044: 0x433f id

jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00090164: 0x6fbc id

jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000902d8: 0xaaaa id

Further such events for this erase block will not be printed

Empty flash at 0x00090d6c ends at 0x00090d70

Empty flash at 0x00091040 ends at 0x00091044

Empty flash at 0x00098f2c ends at 0x00098f30

Empty flash at 0x00099248 ends at 0x0009924c

jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000a0000: 0x6486 id

jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000a0004: 0x2003 id

jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000a000c: 0xe41e id

jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000a0010: 0xe002 id

jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000a0018: 0x7ee3 id

jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000a0028: 0x03e8 id

jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000a002c: 0x0001 id

jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000a0030: 0x4b56 id

jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000a0034: 0x4b56 id

jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000a0038: 0x4b56 id

Further such events for this erase block will not be printed

Empty flash at 0x000ad9a4 ends at 0x000ad9a8

Empty flash at 0x000adec4 ends at 0x000adec8

jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000b0000: 0x0c00 id

jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000b0004: 0x2003 id

jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000b000c: 0xe41e id

jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000b0010: 0xe002 id

jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000b0018: 0xc658 id

jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000b0028: 0x03e8 id

jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000b002c: 0x0001 id

jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000b0030: 0x4b56 id

jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000b0034: 0x4b56 id

jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000b0038: 0x4b56 id

Further such events for this erase block will not be printed

Empty flash at 0x000b2578 ends at 0x000b257c

Empty flash at 0x000b2658 ends at 0x000b265c

Empty flash at 0x000b97c4 ends at 0x000b97c8

Empty flash at 0x000b9878 ends at 0x000b987c

VFS: Mounted root (jffs2 filesystem).

Freeing unused kernel memory: 104k freed

Warning: unable to open an initial console.

Kernel panic - not syncing: No init found. Try passing init= option to kernel.

 

CTRL-A Z for help | 57600 8N1 | NOR | Minicom 2.3-rc | VT102 | Online 01:34

 

 

 

 

I have checked the rootfs by executing 'md.b 0x20130000 0x02' in uboot and got the wanted 85 19. Am attaching the kernel config file also

 

Please help me in this...

 

Regards

Anoop

 

configfiles.txt

QuoteReplyEditDelete

 

 

2010-01-21 02:12:37     Re: rootfs.jffs2 - kernel panic : not syncing: No init found - BF527 Ezkit

Mike Frysinger (UNITED STATES)

Message: 84878   

 

show the exact steps you're using to write the flash.  no magic bitmask at address 0 means something basic is wrong.

 

  docs.blackfin.uclinux.org/doku.php?id=linux-kernel:jffs#using_u-boot_to_write_the_jffs2_and_kernel_image

QuoteReplyEditDelete

 

 

2010-01-21 03:13:33     Re: rootfs.jffs2 - kernel panic : not syncing:No init found - BF527 Ezkit

Anoop sasi (INDIA)

Message: 84880    Following are the steps I used to write in to flash

 

1. Copied the images to the tftp directory

Then I did the following ...

 

bfin> tftp 0x1000000 vmImage

Using Blackfin EMAC device

TFTP from server 192.168.0.2; our IP address is 192.168.0.15

Filename 'vmImage'.

Load address: 0x1000000

Loading: #################################################################

#######

done

Bytes transferred = 1043894 (fedb6 hex)

bfin> protect off all

Un-Protect Flash Bank # 1

....................................................................... done

bfin> erase 0x20040000 0x203fffff

 

............................................................ done

Erased 60 sectors

bfin> cp.b 0x1000000 0x20040000 $(filesize)

Copy to Flash... done

bfin> tftp 0x1000000 rootfs.jffs2

Using Blackfin EMAC device

TFTP from server 192.168.0.2; our IP address is 192.168.0.15

Filename 'rootfs.jffs2'.

Load address: 0x1000000

Loading: #################################################################

#################################################################

#################################################

done

Bytes transferred = 2621440 (280000 hex)

bfin> protect off all

Un-Protect Flash Bank # 1

....................................................................... done

bfin> cp.b 0x1000000 0x20140000 $(filesize)

Copy to Flash... done

bfin> fsinfo

### filesystem type is JFFS2

Scanning JFFS2 FS: ... done.

Compression: NONE

frag count: 173

compressed sum: 15223

uncompressed sum: 15223

Compression: ZERO

frag count: 0

compressed sum: 0

uncompressed sum: 0

Compression: RTIME

frag count: 0

compressed sum: 0

uncompressed sum: 0

Compression: RUBINMIPS

frag count: 0

compressed sum: 0

uncompressed sum: 0

Compression: COPY

frag count: 0

compressed sum: 0

uncompressed sum: 0

Compression: DYNRUBIN

frag count: 0

compressed sum: 0

uncompressed sum: 0

Compression: ZLIB

frag count: 1139

compressed sum: 2459174

uncompressed sum: 4364672

bfin> ls

drwxr-xr-x 0 Wed Jan 20 10:36:03 2010 bin

drwxr-xr-x 0 Wed Jan 20 10:36:07 2010 etc

drwxr-xr-x 0 Wed Jan 20 10:35:59 2010 home

drwxr-xr-x 0 Wed Jan 20 10:36:07 2010 lib

drwxr-xr-x 0 Wed Jan 20 10:35:59 2010 mnt

drwxr-xr-x 0 Wed Jan 20 10:35:59 2010 proc

drwxr-xr-x 0 Wed Jan 20 10:36:00 2010 root

lrwxrwxrwx 3 Wed Jan 20 10:35:59 2010 sbin -> bin

drwxr-xr-x 0 Wed Jan 20 10:35:59 2010 sys

drwxrwxrwt 0 Wed Jan 20 10:35:59 2010 tmp

drwxr-xr-x 0 Wed Jan 20 10:35:59 2010 usr

drwxr-xr-x 0 Wed Jan 20 10:35:59 2010 var

drwxr-xr-x 0 Wed Jan 20 10:36:08 2010 dev

bfin> md.b 0x20140000 0x02

20140000: 85 19 ..

bfin>bootm 0x20040000

 

The boot argument were already changed in the u-boot code.

QuoteReplyEditDelete

 

 

2010-01-21 20:29:22     Re: rootfs.jffs2 - kernel panic : not syncing: No init found - BF527 Ezkit

Mike Frysinger (UNITED STATES)

Message: 84947   

 

you said 'md.b 0x20130000 0x02', but i'm guessing that's a typo and you meant 0x20140000

 

is something wrong with your console ?  it looks like it's chopping to 80 chars.  if you cant fix your terminal, use minicom to capture the boot log.

QuoteReplyEditDelete

 

 

2010-01-21 22:51:16     Re: rootfs.jffs2 - kernel panic : not syncing:No init found - BF527 Ezkit

Anoop sasi (INDIA)

Message: 84952    Hi Mike

 

Actually I did the following and am getting the expected reply also.

 

bfin> md.b 0x20140000 0x02

20140000: 85 19

 

I used minicom only to capture the boot log and I don't know why it is chopping to 80 chars.

 

Regards

Anoop

Attachments

Outcomes