stop at starting kernel

Hello,
I have a beagle board rev C4 not Xm and I try to put android froyo 2.2
on it.
I download all the android source here :

http://software-dl.ti.com/dsps/dsps_public_sw/sdo_tii/TI_Android_DevKit/02_02_00/index_FDS.html

I also downloaded toolchaine here :
http://android.git.kernel.org/?p=platform/prebuilt.git;a=tree;f=linux-x86/toolchain/arm-eabi-4.4.0;h=0f1763c115040381493278dde810a69e4bc37a76;hb=HEAD

I followed the document in order to compile x-load, u-boot, kernel and
rootfs with the toolchaine.

for u-boot :

#> make CROSS_COMPILE=~/toolchaine/prebuilt/linux-x86/toolchain/arm-
eabi-4.4.0/bin/arm-eabi- distclean
#> make CROSS_COMPILE=/home/thibault/Bureau/source_android_froyo/
toolchaine/prebuilt/linux-x86/toolchain/arm-eabi-4.4.0/bin/arm-eabi-
omap3_beagle_config
#>make CROSS_COMPILE=/home/thibault/Bureau/source_android_froyo/
toolchaine/prebuilt/linux-x86/toolchain/arm-eabi-4.4.0/bin/arm-eabi-

for kernel :

#> make CROSS_COMPILE=~/toolchaine/prebuilt/linux-x86/toolchain/arm-
eabi-4.4.0/bin/arm-eabi- distclean
#> make CROSS_COMPILE=/home/thibault/Bureau/source_android_froyo/
toolchaine/prebuilt/linux-x86/toolchain/arm-eabi-4.4.0/bin/arm-eabi-
omap3_beagle_android_defconfig
#>make CROSS_COMPILE=/home/thibault/Bureau/source_android_froyo/
toolchaine/prebuilt/linux-x86/toolchain/arm-eabi-4.4.0/bin/arm-eabi-
menuconfig

In the menuconfig, I changed following things :
System type/TI OMAP Implementation/Low-level debug console UART
(UART2)
Boot option/root=/dev/mtdblock4 rootfstype=jffs2 console=ttyS2 ,
115200n8
Device Drivers/Input device support/(800) Horizontal screen resolution
et (480) Vertical
File system/Miscellaneous File Systems/<*>Journalling Flash File
System v2 (JFFS2) support
Kernel hacking/[*]Kernel low-level debugging function

I try to boot from nand
But, after "starting kernel ..." nothing.
the bdinfo show me that arch number is 0x60A so it's not a match_type
problem.
I have looked everywhere to find a solution but I can't see where is
the mistake !!

help would be so nice
thanks

Putting the rowboat mailing list in copy...

Hello,
I have a beagle board rev C4 not Xm and I try to put android froyo 2.2
on it.
I download all the android source here :

http://software-dl.ti.com/dsps/dsps_public_sw/sdo_tii/TI_Android_DevKit/02_02_00/index_FDS.html

I also downloaded toolchaine here :
http://android.git.kernel.org/?p=platform/prebuilt.git;a=tree;f=linux-x86/toolchain/arm-eabi-4.4.0;h=0f1763c115040381493278dde810a69e4bc37a76;hb=HEAD

I followed the document in order to compile x-load, u-boot, kernel and
rootfs with the toolchaine.

for u-boot :

#> make CROSS_COMPILE=~/toolchaine/prebuilt/linux-x86/toolchain/arm-
eabi-4.4.0/bin/arm-eabi- distclean
#> make CROSS_COMPILE=/home/thibault/Bureau/source_android_froyo/
toolchaine/prebuilt/linux-x86/toolchain/arm-eabi-4.4.0/bin/arm-eabi-
omap3_beagle_config
#>make CROSS_COMPILE=/home/thibault/Bureau/source_android_froyo/
toolchaine/prebuilt/linux-x86/toolchain/arm-eabi-4.4.0/bin/arm-eabi-

for kernel :

#> make CROSS_COMPILE=~/toolchaine/prebuilt/linux-x86/toolchain/arm-
eabi-4.4.0/bin/arm-eabi- distclean
#> make CROSS_COMPILE=/home/thibault/Bureau/source_android_froyo/
toolchaine/prebuilt/linux-x86/toolchain/arm-eabi-4.4.0/bin/arm-eabi-
omap3_beagle_android_defconfig
#>make CROSS_COMPILE=/home/thibault/Bureau/source_android_froyo/
toolchaine/prebuilt/linux-x86/toolchain/arm-eabi-4.4.0/bin/arm-eabi-
menuconfig

In the menuconfig, I changed following things :
System type/TI OMAP Implementation/Low-level debug console UART
(UART2)
Boot option/root=/dev/mtdblock4 rootfstype=jffs2 console=ttyS2 ,
115200n8

Isn't this a revision 2.6.37 kernel? I think that the console might
have been moved to ttyO2.

Thank for the reply, I have a Android_Linux_Kernel_2_6_32 version.
So do you think I should put ttyO2 ?

It works !! :slight_smile:
So I have put a precompiled kernel and copy paste his cammand line to
my own kernel in menuconfig/boot option.

Kernel command line: console=ttyS2,115200n8 mpurate=720 vram=12M
omapfb.mode=dvi:1024x768MR-16@60 omapdss.def_disp=dvi root=/dev/
mtdblock4 rw rootfstype=jffs2

But now, I have another issue :

No filesystem could mount root, tried: jffs2
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-
block(2,0)

I know that is a known issue but, if you could help me to resoled it,
that would be very nice of you.

It works !! :slight_smile:
So I have put a precompiled kernel and copy paste his cammand line to
my own kernel in menuconfig/boot option.

Kernel command line: console=ttyS2,115200n8 mpurate=720 vram=12M
omapfb.mode=dvi:1024x768MR-16@60 omapdss.def_disp=dvi root=/dev/
mtdblock4 rw rootfstype=jffs2

What did you change? It looks like you just added the video modes. I
agree with the 2.6.32 kernel, you should be sticking to ttyS2.

But now, I have another issue :

No filesystem could mount root, tried: jffs2
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-
block(2,0)

I know that is a known issue but, if you could help me to resoled it,
that would be very nice of you.

Did you flash the file system onto the NAND first? Can you provide a
complete log of your steps and the serial output, including the NAND
flash programming steps?

Hi,
Thanks for the reply,

In order to make the kernel works, I changed all the boot command line
in the menuconfig.

I flashed the filesystem onto the NAND with u-boot
Here the link of how I did :

http://elinux.org/BeagleBoardNAND

and this is my log :

Booting from nand ...

NAND read: device 0 offset 0x280000, size 0x400000

4194304 bytes read: OK

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

   Image Name: Linux-2.6.32

   Image Type: ARM Linux Kernel Image (uncompressed)

   Data Size: 2618424 Bytes = 2.5 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.32 (thibault@cafeier) (gcc version 4.4.0 (GCC) ) #2
Fri Aug 5 10:39:12 CEST 2011

CPU: ARMv7 Processor [411fc083] revision 3 (ARMv7), cr=10c53c7f

CPU: VIPT nonaliasing data cache, VIPT nonaliasing instruction cache

Machine: OMAP3 Beagle Board

Memory policy: ECC disabled, Data cache writeback

OMAP3430/3530 ES3.1 (l2cache iva sgx neon isp 720m )

SRAM: Mapped pa 0x40200000 to va 0xfe400000 size: 0x100000

Reserving 12582912 bytes SDRAM for VRAM

Built 1 zonelists in Zone order, mobility grouping on. Total pages:
65024

Kernel command line: console=ttyS2,115200n8 mpurate=720 vram=12M
omapfb.mode=dvi:1024x768MR-16@60 omapdss.def_disp=dvi root=mtd4
rootfstype=jffs2

PID hash table entries: 1024 (order: 0, 4096 bytes)

Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)

Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)

Memory: 128MB 128MB = 256MB total

Memory: 241664KB available (4532K code, 825K data, 172K init, 0K
highmem)

Hierarchical RCU implementation.

NR_IRQS:402

Clocking rate (Crystal/Core/MPU): 26.0/332/500 MHz

Reprogramming SDRC clock to 332000000 Hz

GPMC revision 5.0

IRQ: Found an INTC at 0xfa200000 (revision 4.0) with 96 interrupts

Total of 96 interrupts on 1 active controller

OMAP GPIO hardware version 2.5

OMAP clockevent source: GPTIMER12 at 32768 Hz

Console: colour dummy device 80x30

Calibrating delay loop... 487.36 BogoMIPS (lpj=1904640)

Mount-cache hash table entries: 512

CPU: Testing write buffer coherency: ok

regulator: core version 0.5

NET: Registered protocol family 16

Found NAND on CS0

Registering NAND on CS0

Unable to get DVI reset GPIO

Target VDD1 OPP = 6, VDD2 OPP = 3

OMAP DMA hardware revision 4.0

bio: create slab <bio-0> at 0

SCSI subsystem initialized

usbcore: registered new interface driver usbfs

usbcore: registered new interface driver hub

usbcore: registered new device driver usb

i2c_omap i2c_omap.1: bus 1 rev3.12 at 2600 kHz

twl4030: PIH (irq 7) chaining IRQs 368..375

twl4030: power (irq 373) chaining IRQs 376..383

twl4030: gpio (irq 368) chaining IRQs 384..401

regulator: VUSB1V5: 1500 mV normal standby

regulator: VUSB1V8: 1800 mV normal standby

regulator: VUSB3V1: 3100 mV normal standby

twl4030_usb twl4030_usb: Initialized TWL4030 USB module

regulator: VMMC1: 1850 <--> 3150 mV normal standby

regulator: VDAC: 1800 mV normal standby

regulator: VPLL2: 1800 mV normal standby

regulator: VSIM: 1800 <--> 3000 mV normal standby

regulator: VAUX3: 1800 mV normal standby

regulator: VAUX4: 1800 mV normal standby

i2c_omap i2c_omap.2: bus 2 rev3.12 at 100 kHz

i2c_omap i2c_omap.3: bus 3 rev3.12 at 100 kHz

Switching to clocksource 32k_counter

musb_hdrc: version 6.0, musb-dma, otg (peripheral+host), debug=0

musb_hdrc: USB OTG mode controller at fa0ab000 using DMA, IRQ 92

NET: Registered protocol family 2

IP route cache hash table entries: 2048 (order: 1, 8192 bytes)

TCP established hash table entries: 8192 (order: 4, 65536 bytes)

TCP bind hash table entries: 8192 (order: 3, 32768 bytes)

TCP: Hash tables configured (established 8192 bind 8192)

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.

omap-iommu omap-iommu.0: isp registered

NetWinder Floating Point Emulator V0.97 (double precision)

ashmem: initialized

VFS: Disk quotas dquot_6.5.2

Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)

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

yaffs Aug 4 2011 18:00:31 Installing.

msgmni has been set to 472

alg: No test for stdrng (krng)

io scheduler noop registered

io scheduler deadline registered

io scheduler cfq registered (default)

OMAP DSS rev 2.0

OMAP DISPC rev 3.0

OMAP VENC rev 2

Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled

serial8250.0: ttyS0 at MMIO 0x4806a000 (irq = 72) is a ST16654

serial8250.1: ttyS1 at MMIO 0x4806c000 (irq = 73) is a ST16654

serial8250.2: ttyS2 at MMIO 0x49020000 (irq = 74) is a ST16654

console [ttyS2] enabled

brd: module loaded

loop: module loaded

usbcore: registered new interface driver asix

usbcore: registered new interface driver cdc_ether

usbcore: registered new interface driver cdc_eem

usbcore: registered new interface driver dm9601

usbcore: registered new interface driver smsc95xx

usbcore: registered new interface driver gl620a

usbcore: registered new interface driver net1080

usbcore: registered new interface driver plusb

usbcore: registered new interface driver rndis_host

usbcore: registered new interface driver cdc_subset

usbcore: registered new interface driver zaurus

usbcore: registered new interface driver MOSCHIP usb-ethernet driver

ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver

ehci-omap ehci-omap.0: OMAP-EHCI Host Controller

ehci-omap ehci-omap.0: new USB bus registered, assigned bus number 1

ehci-omap ehci-omap.0: irq 77, io mem 0x48064800

ehci-omap ehci-omap.0: USB 2.0 started, EHCI 1.00

hub 1-0:1.0: USB hub found

hub 1-0:1.0: 3 ports detected

Initializing USB Mass Storage driver...

usbcore: registered new interface driver usb-storage

USB Mass Storage support registered.

android init

android_probe pdata: c04d153c

android_bind

android_usb gadget: android_usb ready

musb_hdrc musb_hdrc: MUSB HDRC host driver

musb_hdrc musb_hdrc: new USB bus registered, assigned bus number 2

hub 2-0:1.0: USB hub found

hub 2-0:1.0: 1 port detected

f_adb init

android_register_function adb

adb_bind_config

f_mass_storage init

android_register_function usb_mass_storage

mice: PS/2 mouse device common for all mice

input: gpio-keys as /devices/platform/gpio-keys/input/input0

i2c /dev entries driver

Linux video capture interface: v2.00

omap-iommu omap-iommu.0: isp: version 1.1

OMAP Watchdog Timer Rev 0x31: initial timeout 60 sec

mmci-omap-hs mmci-omap-hs.1: err -16 configuring card detect

usbcore: registered new interface driver usbhid

usbhid: USB HID core driver

logger: created 64K log 'log_main'

logger: created 256K log 'log_events'

logger: created 64K log 'log_radio'

logger: created 64K log 'log_system'

Advanced Linux Sound Architecture Driver Version 1.0.21.

usbcore: registered new interface driver snd-usb-audio

usb 1-2: new high speed USB device using ehci-omap and address 2

No device for DAI omap-mcbsp-dai-0

No device for DAI omap-mcbsp-dai-1

No device for DAI omap-mcbsp-dai-2

No device for DAI omap-mcbsp-dai-3

No device for DAI omap-mcbsp-dai-4

OMAP3 Beagle SoC init

asoc: twl4030 <-> omap-mcbsp-dai-0 mapping ok

ALSA device list:

  #0: omap3beagle (twl4030)

TCP cubic registered

NET: Registered protocol family 17

NET: Registered protocol family 15

Power Management for TI OMAP3.

------------[ cut here ]------------

WARNING: at arch/arm/mach-omap2/dpll.c:439 omap3_noncore_dpll_set_rate
+0x220/0x264()

Modules linked in:

[<c00399d8>] (unwind_backtrace+0x0/0xd8) from [<c005f8a0>]
(warn_slowpath_common+0x48/0x60)

[<c005f8a0>] (warn_slowpath_common+0x48/0x60) from [<c0043910>]
(omap3_noncore_dpll_set_rate+0x220/0x264)

[<c0043910>] (omap3_noncore_dpll_set_rate+0x220/0x264) from
[<c0041f20>] (omap2_clk_set_rate+0x20/0x2c)

[<c0041f20>] (omap2_clk_set_rate+0x20/0x2c) from [<c004887c>]
(clk_set_rate+0x38/0x88)

[<c004887c>] (clk_set_rate+0x38/0x88) from [<c00103f0>]
(omap2_clk_set_freq+0x270/0x408)

[<c00103f0>] (omap2_clk_set_freq+0x270/0x408) from [<c000fd6c>]
(omap3_sr_init+0xd4/0x154)

[<c000fd6c>] (omap3_sr_init+0xd4/0x154) from [<c0033344>]
(do_one_initcall+0x5c/0x1b4)

[<c0033344>] (do_one_initcall+0x5c/0x1b4) from [<c0008578>]
(kernel_init+0x98/0x110)

[<c0008578>] (kernel_init+0x98/0x110) from [<c0034ecc>]
(kernel_thread_exit+0x0/0x8)

---[ end trace 1e983701b8aa800f ]---

Switched to new clocking rate (Crystal/Core/MPU): 26.0/332/720 MHz

IVA2 clocking rate: 520 MHz

SmartReflex driver initialized

VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev
1

fbcvt: 1024x768@60: CVT Name - .786M3-R

regulator_init_complete: incomplete constraints, leaving VAUX3 on

regulator_init_complete: incomplete constraints, leaving VDVI on

regulator_init_complete: incomplete constraints, leaving VDAC on

drivers/rtc/hctosys.c: unable to open rtc device (rtc0)

omapdss DPI error: display already enabled

omap_vout omap_vout: 'dvi' Display already enabled

omapdss DPI error: display already enabled

omap_vout omap_vout: 'dvi' Display already enabled

omap_vout omap_vout: Buffer Size = 3686400

omap_vout omap_vout: : registered and initialized video device 0

omap_vout omap_vout: Buffer Size = 3686400

omap_vout omap_vout: : registered and initialized video device 1

VFS: Cannot open root device "mtd4" or unknown-block(0,0)

Please append a correct "root=" boot option; here are the available
partitions:

Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-
block(0,0)

Hi,

Le 22/08/2011 11:13, tbezierslafosse@cameon-dev.com a �crit :

In order to make the kernel works, I changed all the boot command line
in the menuconfig.

I flashed the filesystem onto the NAND with u-boot
Here the link of how I did :

BeagleBoardNAND - eLinux.org

check carrefully this page and your log and you will find some differences :

1- you don't have any log about your mtd device or nand flash detection, how to you want the kernel to find a file system if it doesn't find a flash ?
you should have something like :
"NAND device: Manufacturer ID: 0x2c, Chip ID: 0xba (Micron NAND 256MiB 1,8V 16-bit)"

2- root=mtd4 is wrong in your bootargs

Eric

Thank you,

i tried root=/dev/mtdblock4 too but same problem.

I will try to resolve the detection of nand

I will let you know

How can i get what you say, I mean :

NAND device: Manufacturer ID: 0x2c, Chip ID: 0xba (Micron NAND 256MiB
1,8V
16-bit) ?

because I enabled mdt support in menuconfig of kernel and I put :

mtdparts=mtdparts=nand:512k(x-loader),1920k(u-boot),128k(u-boot-env),
4m(kernel),96m(fs)

in the command line but it does nothing.

Any idea ?

thanks a lot

Le 22/08/2011 15:14, tbezierslafosse@cameon-dev.com a �crit :

How can i get what you say, I mean :

NAND device: Manufacturer ID: 0x2c, Chip ID: 0xba (Micron NAND 256MiB
1,8V
16-bit) ?

because I enabled mdt support in menuconfig of kernel and I put :

mtdparts=mtdparts=nand:512k(x-loader),1920k(u-boot),128k(u-boot-env),
4m(kernel),96m(fs)

in the command line but it does nothing.

Any idea ?

try to see in the MTD menu if you checked everything which is necessary for your board, for example the NAND controler driver of your CPU.

Eric

Hi,
there are some good news thanks to you,
I activated mtd support for omap2 and omap3 in menuconfig and the
kernel can see the NAND
here my log :

Uncompressing
Linux..............................................................................................................................................................
done, booting the kernel.
[ 0.000000] Linux version 2.6.32 (thibault@cafeier) (gcc version
4.4.0 (GCC) ) #4 Tue Aug 23 17:29:29 CEST 2011
[ 0.000000] CPU: ARMv7 Processor [411fc083] revision 3 (ARMv7),
cr=10c53c7f
[ 0.000000] CPU: VIPT nonaliasing data cache, VIPT nonaliasing
instruction cache
[ 0.000000] Machine: OMAP3 Beagle Board
[ 0.000000] Memory policy: ECC disabled, Data cache writeback
[ 0.000000] OMAP3430/3530 ES3.1 (l2cache iva sgx neon isp 720m )
[ 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 pages: 65024
[ 0.000000] Kernel command line: console=ttyS2,115200n8 mpurate=720
vram=12M omapfb.mode=dvi:1024x768MR-16@60 omapdss.def_disp=dvi root=/
dev/mtdblock4 rw rootfstype=jffs2
[ 0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.000000] Dentry cache hash table entries: 32768 (order: 5,
131072 bytes)
[ 0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536
bytes)
[ 0.000000] Memory: 128MB 128MB = 256MB total
[ 0.000000] Memory: 241920KB available (4368K code, 829K data, 156K
init, 0K highmem)
[ 0.000000] Hierarchical RCU implementation.
[ 0.000000] NR_IRQS:402
[ 0.000000] Clocking rate (Crystal/Core/MPU): 26.0/332/500 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
interrupts
[ 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... 488.41 BogoMIPS (lpj=1908736)
[ 0.000000] Mount-cache hash table entries: 512
[ 0.000000] CPU: Testing write buffer coherency: ok
[ 0.000000] regulator: core version 0.5
[ 0.000000] NET: Registered protocol family 16
[ 0.000000] Found NAND on CS0
[ 0.000000] Registering NAND on CS0
[ 0.000000] Unable to get DVI reset GPIO
[ 0.000000] Target VDD1 OPP = 6, VDD2 OPP = 3
[ 421.513610] OMAP DMA hardware revision 4.0
[ 421.544616] bio: create slab <bio-0> at 0
[ 421.547973] SCSI subsystem initialized
[ 421.551208] usbcore: registered new interface driver usbfs
[ 421.551483] usbcore: registered new interface driver hub
[ 421.551788] usbcore: registered new device driver usb
[ 421.562805] i2c_omap i2c_omap.1: bus 1 rev3.12 at 2600 kHz
[ 421.566192] twl4030: PIH (irq 7) chaining IRQs 368..375
[ 421.566223] twl4030: power (irq 373) chaining IRQs 376..383
[ 421.566650] twl4030: gpio (irq 368) chaining IRQs 384..401
[ 421.568603] regulator: VUSB1V5: 1500 mV normal standby
[ 421.569183] regulator: VUSB1V8: 1800 mV normal standby
[ 421.569732] regulator: VUSB3V1: 3100 mV normal standby
[ 421.571166] twl4030_usb twl4030_usb: Initialized TWL4030 USB module
[ 421.572296] regulator: VMMC1: 1850 <--> 3150 mV normal standby
[ 421.572906] regulator: VDAC: 1800 mV normal standby
[ 421.573486] regulator: VPLL2: 1800 mV normal standby
[ 421.574096] regulator: VSIM: 1800 <--> 3000 mV normal standby
[ 421.574768] regulator: VAUX3: 1800 mV normal standby
[ 421.575469] regulator: VAUX4: 1800 mV normal standby
[ 421.585632] i2c_omap i2c_omap.2: bus 2 rev3.12 at 100 kHz
[ 421.600891] i2c_omap i2c_omap.3: bus 3 rev3.12 at 100 kHz
[ 421.603485] Switching to clocksource 32k_counter
[ 421.605895] musb_hdrc: version 6.0, musb-dma, otg (peripheral
+host), debug=0
[ 421.608123] musb_hdrc: USB OTG mode controller at fa0ab000 using
DMA, IRQ 92
[ 421.609161] NET: Registered protocol family 2
[ 421.609375] IP route cache hash table entries: 2048 (order: 1, 8192
bytes)
[ 421.609893] TCP established hash table entries: 8192 (order: 4,
65536 bytes)
[ 421.610137] TCP bind hash table entries: 8192 (order: 3, 32768
bytes)
[ 421.610290] TCP: Hash tables configured (established 8192 bind
8192)
[ 421.610290] TCP reno registered
[ 421.610321] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 421.610351] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 421.610595] NET: Registered protocol family 1
[ 421.610992] RPC: Registered udp transport module.
[ 421.610992] RPC: Registered tcp transport module.
[ 421.611022] RPC: Registered tcp NFSv4.1 backchannel transport
module.
[ 421.612701] omap-iommu omap-iommu.0: isp registered
[ 421.613006] NetWinder Floating Point Emulator V0.97 (double
precision)
[ 421.622192] ashmem: initialized
[ 421.622772] VFS: Disk quotas dquot_6.5.2
[ 421.622863] Dquot-cache hash table entries: 1024 (order 0, 4096
bytes)
[ 421.624084] JFFS2 version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
[ 421.624694] yaffs Aug 23 2011 17:07:16 Installing.
[ 421.624755] msgmni has been set to 472
[ 421.628448] alg: No test for stdrng (krng)
[ 421.628540] io scheduler noop registered
[ 421.628540] io scheduler deadline registered
[ 421.628723] io scheduler cfq registered (default)
[ 421.689758] OMAP DSS rev 2.0
[ 421.689819] OMAP DISPC rev 3.0
[ 421.689880] OMAP VENC rev 2
[ 422.038726] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[ 422.060546] serial8250.0: ttyS0 at MMIO 0x4806a000 (irq = 72) is a
ST16654
[ 422.081054] serial8250.1: ttyS1 at MMIO 0x4806c000 (irq = 73) is a
ST16654
[ 422.101593] serial8250.2: ttyS2 at MMIO 0x49020000 (irq = 74) is a
ST16654
[ 422.585968] console [ttyS2] enabled
[ 422.602050] brd: module loaded
[ 422.611724] loop: module loaded
[ 422.616851] omap2-nand driver initializing
[ 422.621429] NAND device: Manufacturer ID: 0x2c, Chip ID: 0xba
(Micron NAND 256MiB 1,8V 16-bit)
[ 422.630493] cmdlinepart partition parsing not available
[ 422.635833] Creating 5 MTD partitions on "omap2-nand":
[ 422.641021] 0x000000000000-0x000000080000 : "X-Loader"
[ 422.647979] 0x000000080000-0x000000260000 : "U-Boot"
[ 422.655029] 0x000000260000-0x000000280000 : "U-Boot Env"
[ 422.661621] 0x000000280000-0x000000680000 : "Kernel"
[ 422.669464] 0x000000680000-0x000010000000 : "File System"
[ 422.780242] usbcore: registered new interface driver asix
[ 422.786010] usbcore: registered new interface driver cdc_ether
[ 422.792266] usbcore: registered new interface driver cdc_eem
[ 422.798187] usbcore: registered new interface driver dm9601
[ 422.804107] usbcore: registered new interface driver smsc95xx
[ 422.810150] usbcore: registered new interface driver gl620a
[ 422.816040] usbcore: registered new interface driver net1080
[ 422.821960] usbcore: registered new interface driver plusb
[ 422.827728] usbcore: registered new interface driver rndis_host
[ 422.833984] usbcore: registered new interface driver cdc_subset
[ 422.840209] usbcore: registered new interface driver zaurus
[ 422.846099] usbcore: registered new interface driver MOSCHIP usb-
ethernet driver
[ 422.854156] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI)
Driver
[ 422.861053] ehci-omap ehci-omap.0: OMAP-EHCI Host Controller
[ 422.867218] ehci-omap ehci-omap.0: new USB bus registered, assigned
bus number 1
[ 422.874877] ehci-omap ehci-omap.0: irq 77, io mem 0x48064800
[ 422.892730] ehci-omap ehci-omap.0: USB 2.0 started, EHCI 1.00
[ 422.899597] hub 1-0:1.0: USB hub found
[ 422.903442] hub 1-0:1.0: 3 ports detected
[ 422.932037] Initializing USB Mass Storage driver...
[ 422.937286] usbcore: registered new interface driver usb-storage
[ 422.943359] USB Mass Storage support registered.
[ 422.948028] android init
[ 422.950653] android_probe pdata: c04a38fc
[ 422.954925] android_bind
[ 422.957550] android_usb gadget: android_usb ready
[ 422.962280] musb_hdrc musb_hdrc: MUSB HDRC host driver
[ 422.967895] musb_hdrc musb_hdrc: new USB bus registered, assigned
bus number 2
[ 422.976257] hub 2-0:1.0: USB hub found
[ 422.980102] hub 2-0:1.0: 1 port detected
[ 422.984527] f_adb init
[ 422.986968] android_register_function adb
[ 422.990997] adb_bind_config
[ 422.994781] f_mass_storage init
[ 422.997955] android_register_function usb_mass_storage
[ 423.003845] mice: PS/2 mouse device common for all mice
[ 423.010101] input: gpio-keys as /devices/platform/gpio-keys/input/
input0
[ 423.018798] i2c /dev entries driver
[ 423.023681] Linux video capture interface: v2.00
[ 423.029296] omap-iommu omap-iommu.0: isp: version 1.1
[ 423.037994] OMAP Watchdog Timer Rev 0x31: initial timeout 60 sec
[ 423.150878] mmci-omap-hs mmci-omap-hs.1: err -16 configuring card
detect
[ 423.158935] Registered led device: beagleboard::usr0
[ 423.164367] Registered led device: beagleboard::usr1
[ 423.170135] Registered led device: beagleboard::pmu_stat
[ 423.176910] usbcore: registered new interface driver usbhid
[ 423.182586] usbhid: USB HID core driver
[ 423.187194] logger: created 64K log 'log_main'
[ 423.192047] logger: created 256K log 'log_events'
[ 423.197052] logger: created 64K log 'log_radio'
[ 423.201934] logger: created 64K log 'log_system'
[ 423.207366] Advanced Linux Sound Architecture Driver Version
1.0.21.
[ 423.214508] usbcore: registered new interface driver snd-usb-audio
[ 423.230010] usb 1-2: new high speed USB device using ehci-omap and
address 2
[ 423.286010] No device for DAI omap-mcbsp-dai-0
[ 423.290496] No device for DAI omap-mcbsp-dai-1
[ 423.295013] No device for DAI omap-mcbsp-dai-2
[ 423.299499] No device for DAI omap-mcbsp-dai-3
[ 423.303985] No device for DAI omap-mcbsp-dai-4
[ 423.308471] OMAP3 Beagle SoC init
[ 423.313995] asoc: twl4030 <-> omap-mcbsp-dai-0 mapping ok
[ 423.324066] ALSA device list:
[ 423.327056] #0: omap3beagle (twl4030)
[ 423.331207] TCP cubic registered
[ 423.334472] NET: Registered protocol family 17
[ 423.339019] NET: Registered protocol family 15
[ 423.343566] Power Management for TI OMAP3.
[ 423.349609] ------------[ cut here ]------------
[ 423.354278] WARNING: at arch/arm/mach-omap2/dpll.c:439
omap3_noncore_dpll_set_rate+0x220/0x264()
[ 423.363098] Modules linked in:
[ 423.366210] [<c00359d8>] (unwind_backtrace+0x0/0xd8) from
[<c005b148>] (warn_slowpath_common+0x48/0x60)
[ 423.375640] [<c005b148>] (warn_slowpath_common+0x48/0x60) from
[<c003f208>] (omap3_noncore_dpll_set_rate+0x220/0x264)
[ 423.386322] [<c003f208>] (omap3_noncore_dpll_set_rate+0x220/0x264)
from [<c003d884>] (omap2_clk_set_rate+0x20/0x2c)
[ 423.396820] [<c003d884>] (omap2_clk_set_rate+0x20/0x2c) from
[<c0044150>] (clk_set_rate+0x38/0x88)
[ 423.405853] [<c0044150>] (clk_set_rate+0x38/0x88) from [<c000fcd0>]
(omap2_clk_set_freq+0x270/0x408)
[ 423.415039] [<c000fcd0>] (omap2_clk_set_freq+0x270/0x408) from
[<c000f64c>] (omap3_sr_init+0xd4/0x154)
[ 423.424407] [<c000f64c>] (omap3_sr_init+0xd4/0x154) from
[<c002f344>] (do_one_initcall+0x5c/0x1b4)
[ 423.433410] [<c002f344>] (do_one_initcall+0x5c/0x1b4) from
[<c0008578>] (kernel_init+0x98/0x110)
[ 423.442260] [<c0008578>] (kernel_init+0x98/0x110) from [<c0030ecc>]
(kernel_thread_exit+0x0/0x8)
[ 423.451110] ---[ end trace bab173746a25e156 ]---
[ 423.456054] Switched to new clocking rate (Crystal/Core/MPU):
26.0/332/720 MHz
[ 423.463348] IVA2 clocking rate: 520 MHz
[ 423.642669] SmartReflex driver initialized
[ 423.654571] VFP support v0.3: implementor 41 architecture 3 part 30
variant c rev 1
[ 423.667388] fbcvt: 1024x768@60: CVT Name - .786M3-R
[ 423.683044] hub 1-2:1.0: USB hub found
[ 423.687011] hub 1-2:1.0: 4 ports detected
[ 423.696990] regulator_init_complete: incomplete constraints,
leaving VAUX3 on
[ 423.704406] regulator_init_complete: incomplete constraints,
leaving VDVI on
[ 423.711639] regulator_init_complete: incomplete constraints,
leaving VDAC on
[ 423.719055] drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
[ 423.725524] omapdss DPI error: display already enabled
[ 423.730712] omap_vout omap_vout: 'dvi' Display already enabled
[ 423.736602] omapdss DPI error: display already enabled
[ 423.741790] omap_vout omap_vout: 'dvi' Display already enabled
[ 423.747680] omap_vout omap_vout: Buffer Size = 3686400
[ 423.753967] omap_vout omap_vout: : registered and initialized video
device 0
[ 423.761138] omap_vout omap_vout: Buffer Size = 3686400
[ 423.767364] omap_vout omap_vout: : registered and initialized video
device 1
[ 423.923980] mmc0: new high speed SDHC card at address aaaa
[ 423.931091] mmcblk0: mmc0:aaaa SD04G 3.69 GiB
[ 423.935882] mmcblk0: p1 p2 p3
[ 423.979125] usb 1-2.3: new low speed USB device using ehci-omap and
address 3
[ 424.117126] input: PS/2+USB Mouse as /devices/platform/ehci-omap.0/
usb1/1-2/1-2.3/1-2.3:1.0/input/input1
[ 424.128723] generic-usb 0003:04F3:0210.0001: input: USB HID v1.11
Mouse [PS/2+USB Mouse] on usb-ehci-omap.0-2.3/input0
[ 424.874237] VFS: Mounted root (jffs2 filesystem) on device 31:4.
[ 424.880340] Freeing init memory: 156K
[ 424.884063] Warning: unable to open an initial console.
[ 424.889373] Kernel panic - not syncing: No init found. Try passing
init= option to kernel.

If someone have a look at this and could tell me why there is "No init
found" that would be great.
I will tell you if I find it on my own of course.

Hi,
there are some good news thanks to you,
I activated mtd support for omap2 and omap3 in menuconfig and the
kernel can see the NAND
here my log :

Uncompressing
Linux..............................................................................................................................................................
done, booting the kernel.
[ 0.000000] Linux version 2.6.32 (thibault@cafeier) (gcc version
4.4.0 (GCC) ) #4 Tue Aug 23 17:29:29 CEST 2011
[ 0.000000] CPU: ARMv7 Processor [411fc083] revision 3 (ARMv7),
cr=10c53c7f
[ 0.000000] CPU: VIPT nonaliasing data cache, VIPT nonaliasing
instruction cache
[ 0.000000] Machine: OMAP3 Beagle Board
[ 0.000000] Memory policy: ECC disabled, Data cache writeback
[ 0.000000] OMAP3430/3530 ES3.1 (l2cache iva sgx neon isp 720m )
[ 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 pages: 65024
[ 0.000000] Kernel command line: console=ttyS2,115200n8 mpurate=720
vram=12M omapfb.mode=dvi:1024x768MR-16@60 omapdss.def_disp=dvi root=/
dev/mtdblock4 rw rootfstype=jffs2
[ 0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.000000] Dentry cache hash table entries: 32768 (order: 5,
131072 bytes)
[ 0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536
bytes)
[ 0.000000] Memory: 128MB 128MB = 256MB total
[ 0.000000] Memory: 241920KB available (4368K code, 829K data, 156K
init, 0K highmem)
[ 0.000000] Hierarchical RCU implementation.
[ 0.000000] NR_IRQS:402
[ 0.000000] Clocking rate (Crystal/Core/MPU): 26.0/332/500 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
interrupts
[ 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... 488.41 BogoMIPS (lpj=1908736)
[ 0.000000] Mount-cache hash table entries: 512
[ 0.000000] CPU: Testing write buffer coherency: ok
[ 0.000000] regulator: core version 0.5
[ 0.000000] NET: Registered protocol family 16
[ 0.000000] Found NAND on CS0
[ 0.000000] Registering NAND on CS0
[ 0.000000] Unable to get DVI reset GPIO
[ 0.000000] Target VDD1 OPP = 6, VDD2 OPP = 3
[ 421.513610] OMAP DMA hardware revision 4.0
[ 421.544616] bio: create slab<bio-0> at 0
[ 421.547973] SCSI subsystem initialized
[ 421.551208] usbcore: registered new interface driver usbfs
[ 421.551483] usbcore: registered new interface driver hub
[ 421.551788] usbcore: registered new device driver usb
[ 421.562805] i2c_omap i2c_omap.1: bus 1 rev3.12 at 2600 kHz
[ 421.566192] twl4030: PIH (irq 7) chaining IRQs 368..375
[ 421.566223] twl4030: power (irq 373) chaining IRQs 376..383
[ 421.566650] twl4030: gpio (irq 368) chaining IRQs 384..401
[ 421.568603] regulator: VUSB1V5: 1500 mV normal standby
[ 421.569183] regulator: VUSB1V8: 1800 mV normal standby
[ 421.569732] regulator: VUSB3V1: 3100 mV normal standby
[ 421.571166] twl4030_usb twl4030_usb: Initialized TWL4030 USB module
[ 421.572296] regulator: VMMC1: 1850<--> 3150 mV normal standby
[ 421.572906] regulator: VDAC: 1800 mV normal standby
[ 421.573486] regulator: VPLL2: 1800 mV normal standby
[ 421.574096] regulator: VSIM: 1800<--> 3000 mV normal standby
[ 421.574768] regulator: VAUX3: 1800 mV normal standby
[ 421.575469] regulator: VAUX4: 1800 mV normal standby
[ 421.585632] i2c_omap i2c_omap.2: bus 2 rev3.12 at 100 kHz
[ 421.600891] i2c_omap i2c_omap.3: bus 3 rev3.12 at 100 kHz
[ 421.603485] Switching to clocksource 32k_counter
[ 421.605895] musb_hdrc: version 6.0, musb-dma, otg (peripheral
+host), debug=0
[ 421.608123] musb_hdrc: USB OTG mode controller at fa0ab000 using
DMA, IRQ 92
[ 421.609161] NET: Registered protocol family 2
[ 421.609375] IP route cache hash table entries: 2048 (order: 1, 8192
bytes)
[ 421.609893] TCP established hash table entries: 8192 (order: 4,
65536 bytes)
[ 421.610137] TCP bind hash table entries: 8192 (order: 3, 32768
bytes)
[ 421.610290] TCP: Hash tables configured (established 8192 bind
8192)
[ 421.610290] TCP reno registered
[ 421.610321] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 421.610351] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 421.610595] NET: Registered protocol family 1
[ 421.610992] RPC: Registered udp transport module.
[ 421.610992] RPC: Registered tcp transport module.
[ 421.611022] RPC: Registered tcp NFSv4.1 backchannel transport
module.
[ 421.612701] omap-iommu omap-iommu.0: isp registered
[ 421.613006] NetWinder Floating Point Emulator V0.97 (double
precision)
[ 421.622192] ashmem: initialized
[ 421.622772] VFS: Disk quotas dquot_6.5.2
[ 421.622863] Dquot-cache hash table entries: 1024 (order 0, 4096
bytes)
[ 421.624084] JFFS2 version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
[ 421.624694] yaffs Aug 23 2011 17:07:16 Installing.
[ 421.624755] msgmni has been set to 472
[ 421.628448] alg: No test for stdrng (krng)
[ 421.628540] io scheduler noop registered
[ 421.628540] io scheduler deadline registered
[ 421.628723] io scheduler cfq registered (default)
[ 421.689758] OMAP DSS rev 2.0
[ 421.689819] OMAP DISPC rev 3.0
[ 421.689880] OMAP VENC rev 2
[ 422.038726] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[ 422.060546] serial8250.0: ttyS0 at MMIO 0x4806a000 (irq = 72) is a
ST16654
[ 422.081054] serial8250.1: ttyS1 at MMIO 0x4806c000 (irq = 73) is a
ST16654
[ 422.101593] serial8250.2: ttyS2 at MMIO 0x49020000 (irq = 74) is a
ST16654
[ 422.585968] console [ttyS2] enabled
[ 422.602050] brd: module loaded
[ 422.611724] loop: module loaded
[ 422.616851] omap2-nand driver initializing
[ 422.621429] NAND device: Manufacturer ID: 0x2c, Chip ID: 0xba
(Micron NAND 256MiB 1,8V 16-bit)
[ 422.630493] cmdlinepart partition parsing not available
[ 422.635833] Creating 5 MTD partitions on "omap2-nand":
[ 422.641021] 0x000000000000-0x000000080000 : "X-Loader"
[ 422.647979] 0x000000080000-0x000000260000 : "U-Boot"
[ 422.655029] 0x000000260000-0x000000280000 : "U-Boot Env"
[ 422.661621] 0x000000280000-0x000000680000 : "Kernel"
[ 422.669464] 0x000000680000-0x000010000000 : "File System"
[ 422.780242] usbcore: registered new interface driver asix
[ 422.786010] usbcore: registered new interface driver cdc_ether
[ 422.792266] usbcore: registered new interface driver cdc_eem
[ 422.798187] usbcore: registered new interface driver dm9601
[ 422.804107] usbcore: registered new interface driver smsc95xx
[ 422.810150] usbcore: registered new interface driver gl620a
[ 422.816040] usbcore: registered new interface driver net1080
[ 422.821960] usbcore: registered new interface driver plusb
[ 422.827728] usbcore: registered new interface driver rndis_host
[ 422.833984] usbcore: registered new interface driver cdc_subset
[ 422.840209] usbcore: registered new interface driver zaurus
[ 422.846099] usbcore: registered new interface driver MOSCHIP usb-
ethernet driver
[ 422.854156] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI)
Driver
[ 422.861053] ehci-omap ehci-omap.0: OMAP-EHCI Host Controller
[ 422.867218] ehci-omap ehci-omap.0: new USB bus registered, assigned
bus number 1
[ 422.874877] ehci-omap ehci-omap.0: irq 77, io mem 0x48064800
[ 422.892730] ehci-omap ehci-omap.0: USB 2.0 started, EHCI 1.00
[ 422.899597] hub 1-0:1.0: USB hub found
[ 422.903442] hub 1-0:1.0: 3 ports detected
[ 422.932037] Initializing USB Mass Storage driver...
[ 422.937286] usbcore: registered new interface driver usb-storage
[ 422.943359] USB Mass Storage support registered.
[ 422.948028] android init
[ 422.950653] android_probe pdata: c04a38fc
[ 422.954925] android_bind
[ 422.957550] android_usb gadget: android_usb ready
[ 422.962280] musb_hdrc musb_hdrc: MUSB HDRC host driver
[ 422.967895] musb_hdrc musb_hdrc: new USB bus registered, assigned
bus number 2
[ 422.976257] hub 2-0:1.0: USB hub found
[ 422.980102] hub 2-0:1.0: 1 port detected
[ 422.984527] f_adb init
[ 422.986968] android_register_function adb
[ 422.990997] adb_bind_config
[ 422.994781] f_mass_storage init
[ 422.997955] android_register_function usb_mass_storage
[ 423.003845] mice: PS/2 mouse device common for all mice
[ 423.010101] input: gpio-keys as /devices/platform/gpio-keys/input/
input0
[ 423.018798] i2c /dev entries driver
[ 423.023681] Linux video capture interface: v2.00
[ 423.029296] omap-iommu omap-iommu.0: isp: version 1.1
[ 423.037994] OMAP Watchdog Timer Rev 0x31: initial timeout 60 sec
[ 423.150878] mmci-omap-hs mmci-omap-hs.1: err -16 configuring card
detect
[ 423.158935] Registered led device: beagleboard::usr0
[ 423.164367] Registered led device: beagleboard::usr1
[ 423.170135] Registered led device: beagleboard::pmu_stat
[ 423.176910] usbcore: registered new interface driver usbhid
[ 423.182586] usbhid: USB HID core driver
[ 423.187194] logger: created 64K log 'log_main'
[ 423.192047] logger: created 256K log 'log_events'
[ 423.197052] logger: created 64K log 'log_radio'
[ 423.201934] logger: created 64K log 'log_system'
[ 423.207366] Advanced Linux Sound Architecture Driver Version
1.0.21.
[ 423.214508] usbcore: registered new interface driver snd-usb-audio
[ 423.230010] usb 1-2: new high speed USB device using ehci-omap and
address 2
[ 423.286010] No device for DAI omap-mcbsp-dai-0
[ 423.290496] No device for DAI omap-mcbsp-dai-1
[ 423.295013] No device for DAI omap-mcbsp-dai-2
[ 423.299499] No device for DAI omap-mcbsp-dai-3
[ 423.303985] No device for DAI omap-mcbsp-dai-4
[ 423.308471] OMAP3 Beagle SoC init
[ 423.313995] asoc: twl4030<-> omap-mcbsp-dai-0 mapping ok
[ 423.324066] ALSA device list:
[ 423.327056] #0: omap3beagle (twl4030)
[ 423.331207] TCP cubic registered
[ 423.334472] NET: Registered protocol family 17
[ 423.339019] NET: Registered protocol family 15
[ 423.343566] Power Management for TI OMAP3.
[ 423.349609] ------------[ cut here ]------------
[ 423.354278] WARNING: at arch/arm/mach-omap2/dpll.c:439
omap3_noncore_dpll_set_rate+0x220/0x264()
[ 423.363098] Modules linked in:
[ 423.366210] [<c00359d8>] (unwind_backtrace+0x0/0xd8) from
[<c005b148>] (warn_slowpath_common+0x48/0x60)
[ 423.375640] [<c005b148>] (warn_slowpath_common+0x48/0x60) from
[<c003f208>] (omap3_noncore_dpll_set_rate+0x220/0x264)
[ 423.386322] [<c003f208>] (omap3_noncore_dpll_set_rate+0x220/0x264)
from [<c003d884>] (omap2_clk_set_rate+0x20/0x2c)
[ 423.396820] [<c003d884>] (omap2_clk_set_rate+0x20/0x2c) from
[<c0044150>] (clk_set_rate+0x38/0x88)
[ 423.405853] [<c0044150>] (clk_set_rate+0x38/0x88) from [<c000fcd0>]
(omap2_clk_set_freq+0x270/0x408)
[ 423.415039] [<c000fcd0>] (omap2_clk_set_freq+0x270/0x408) from
[<c000f64c>] (omap3_sr_init+0xd4/0x154)
[ 423.424407] [<c000f64c>] (omap3_sr_init+0xd4/0x154) from
[<c002f344>] (do_one_initcall+0x5c/0x1b4)
[ 423.433410] [<c002f344>] (do_one_initcall+0x5c/0x1b4) from
[<c0008578>] (kernel_init+0x98/0x110)
[ 423.442260] [<c0008578>] (kernel_init+0x98/0x110) from [<c0030ecc>]
(kernel_thread_exit+0x0/0x8)
[ 423.451110] ---[ end trace bab173746a25e156 ]---
[ 423.456054] Switched to new clocking rate (Crystal/Core/MPU):
26.0/332/720 MHz
[ 423.463348] IVA2 clocking rate: 520 MHz
[ 423.642669] SmartReflex driver initialized
[ 423.654571] VFP support v0.3: implementor 41 architecture 3 part 30
variant c rev 1
[ 423.667388] fbcvt: 1024x768@60: CVT Name - .786M3-R
[ 423.683044] hub 1-2:1.0: USB hub found
[ 423.687011] hub 1-2:1.0: 4 ports detected
[ 423.696990] regulator_init_complete: incomplete constraints,
leaving VAUX3 on
[ 423.704406] regulator_init_complete: incomplete constraints,
leaving VDVI on
[ 423.711639] regulator_init_complete: incomplete constraints,
leaving VDAC on
[ 423.719055] drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
[ 423.725524] omapdss DPI error: display already enabled
[ 423.730712] omap_vout omap_vout: 'dvi' Display already enabled
[ 423.736602] omapdss DPI error: display already enabled
[ 423.741790] omap_vout omap_vout: 'dvi' Display already enabled
[ 423.747680] omap_vout omap_vout: Buffer Size = 3686400
[ 423.753967] omap_vout omap_vout: : registered and initialized video
device 0
[ 423.761138] omap_vout omap_vout: Buffer Size = 3686400
[ 423.767364] omap_vout omap_vout: : registered and initialized video
device 1
[ 423.923980] mmc0: new high speed SDHC card at address aaaa
[ 423.931091] mmcblk0: mmc0:aaaa SD04G 3.69 GiB
[ 423.935882] mmcblk0: p1 p2 p3
[ 423.979125] usb 1-2.3: new low speed USB device using ehci-omap and
address 3
[ 424.117126] input: PS/2+USB Mouse as /devices/platform/ehci-omap.0/
usb1/1-2/1-2.3/1-2.3:1.0/input/input1
[ 424.128723] generic-usb 0003:04F3:0210.0001: input: USB HID v1.11
Mouse [PS/2+USB Mouse] on usb-ehci-omap.0-2.3/input0
[ 424.874237] VFS: Mounted root (jffs2 filesystem) on device 31:4.
[ 424.880340] Freeing init memory: 156K
[ 424.884063] Warning: unable to open an initial console.
[ 424.889373] Kernel panic - not syncing: No init found. Try passing
init= option to kernel.

If someone have a look at this and could tell me why there is "No init
found" that would be great.
I will tell you if I find it on my own of course.

Do you actually have a JFFS2 file system installed in /dev/mtdblock4
(NAND FLASH 'File System' partition)? How did you create it? How did
you install it?

Hi,
Yes, I have JFFS2 file system, I create it by using in a terminal this
command :

mkfs.jffs2 --root=<my_directory_I_want_to_convert> -o <output_file> -

-X zlib

And after doing that, I get a JFFS2 file (about 50Mo). I flash it onto
the NAND with u-boot :

mmc init
fatload mmc 0:1 82000000 rootfs.jffs2
nandecc sw
nand erase 680000 6000000
nand write.jffs2 82000000 680000 6000000

Maybe the compression option zlib in the kernel is not set.. I'll
check that

Seems my command mkfs.jffs2 is wrong because I get messages like :

CLEANMARKER node found at 0x00000000 has totlen 0xc != normal 0x0
and
[ 412.784667] Empty flash at 0x0404067c ends at 0x04040680

does anyone has ever had a problem like this?
Thank you

Hi,

Le 24/08/2011 10:06, tbezierslafosse@cameon-dev.com a �crit :

Yes, I have JFFS2 file system, I create it by using in a terminal this
command :

mkfs.jffs2 --root=<my_directory_I_want_to_convert> -o<output_file> -

-X zlib

google with : ti mkfs.jffs2 nand flash
leads to

http://processors.wiki.ti.com/index.php/Create_a_JFFS2_Target_Image#Making_a_JFFS2_image

Eric

Hi,
Thanks for the link.
I changed my command of mkfs.jffs2 and I don't have all CLEANMARKERS
message anymore.
The message :
[412.784667] Empty flash at 0x0404067c ends at 0x04040680
means that I wrote a bigger size than my rootfs file on the flash, so
there is some empty space.

But now, I have this messages :

[ 502.462371] request_suspend_state: wakeup (0->0) at 137762908938
(1970-01-01 00:02:17.762908938 UTC)
[ 502.474212] init: untracked pid 1071 exited
[ 511.769042] request_suspend_state: wakeup (0->0) at 147069580081
(1970-01-01 00:02:27.069580081 UTC)
[ 511.780731] init: untracked pid 1092 exited
[ 519.994262] request_suspend_state: wakeup (0->0) at 155294830325
(1970-01-01 00:02:35.294799807 UTC)
[ 520.006103] init: untracked pid 1117 exited
[ 529.345184] request_suspend_state: wakeup (0->0) at 164645751956
(1970-01-01 00:02:44.645721438 UTC)
[ 529.357025] init: untracked pid 1142 exited
[ 537.990997] request_suspend_state: wakeup (0->0) at 173291534427
(1970-01-01 00:02:53.291534427 UTC)
[ 538.014709] init: untracked pid 1167 exited
[ 546.775085] request_suspend_state: wakeup (0->0) at 182075622561
(1970-01-01 00:03:02.075622561 UTC)
[ 546.786926] init: untracked pid 1188 exited
[ 555.559509] request_suspend_state: wakeup (0->0) at 190860076908
(1970-01-01 00:03:10.860046390 UTC)
[ 555.571411] init: untracked pid 1211 exited
...

And when I do a log cat, I get this :
--------- beginning of /dev/log/main
I/DEBUG ( 879): debuggerd: Mar 31 2011 09:51:38
I/Netd ( 878): Netd 1.0 starting
--------- beginning of /dev/log/system
I/Vold ( 877): Vold 2.1 (the revenge) firing up
D/Vold ( 877): USB mass storage support is not enabled in the
kernel
D/Vold ( 877): usb_configuration switch is not enabled in the
kernel
D/Vold ( 877): Volume sdcard state changing -1 (Initializing) -> 0
(No-Media)
D/Vold ( 877): Volume sdcard state changing 0 (No-Media) -> 2
(Pending)
D/Vold ( 877): Volume sdcard state changing 2 (Pending) -> 1 (Idle-
Unmounted)
D/AndroidRuntime( 881):
D/AndroidRuntime( 881): >>>>>> AndroidRuntime START
com.android.internal.os.ZygoteInit <<<<<<
D/AndroidRuntime( 881): CheckJNI is ON
D/dalvikvm( 881): creating instr width table
I/ ( 882): ServiceManager: 0xad50
E/ALSALib ( 882): external/alsa-lib/src/control/control.c:909:
(snd_ctl_open_noupdate) Invalid CTL AndroidPlayback
W/AudioHardwareALSA( 882): Unable to attach mixer to device
AndroidPlayback: No such file or directory
E/ALSALib ( 882): external/alsa-lib/src/control/control.c:909:
(snd_ctl_open_noupdate) Invalid CTL AndroidCapture
W/AudioHardwareALSA( 882): Unable to attach mixer to device
AndroidCapture: No such file or directory
D/TIALSAModule( 882): TI ALSA module opened
D/TIALSAModule( 882): Initializing devices for TI ALSA module
I/CameraService( 882): CameraService started (pid=882)
D/AudioHardwareALSA( 882): openOutputStream called for devices:
0x00000002
D/TIALSAModule( 882): open called for devices 00000002 in mode 0...
I/TIALSAModule( 882): Initialized ALSA PLAYBACK device default
I/AudioFlinger( 882): AudioFlinger's thread 0x38878 ready to run
D/TIALSAModule( 882): route called for devices 00000002 in mode 0...
E/AudioHardwareALSA( 882): CALLING STANDBY
D/dalvikvm( 881): DexOpt: --- BEGIN 'core.jar' (bootstrap=1) ---
D/dalvikvm( 1003): creating instr width table
E/dalvikvm( 1003): unable to mmap DEX cache: Invalid argument
E/dalvikvm( 1003): Optimization failed
W/dalvikvm( 881): DexOpt: --- END 'core.jar' --- status=0xff00,
process failed
E/dalvikvm( 881): Unable to extract+optimize DEX from '/system/
framework/core.jar'
D/dalvikvm( 881): Unable to process classpath element '/system/
framework/core.jar'
D/dalvikvm( 881): DexOpt: --- BEGIN 'bouncycastle.jar' (bootstrap=1)

Maybe you should follow this link to build your own Android file system:
http://code.google.com/p/rowboat/ .

2011/8/25 tbezierslafosse@cameon-dev.com <tbezierslafosse@cameon-dev.com>