If you want to boot from MMC card,

1. make sure you're mounting /dev/mmcblk0p1 on /system and /data
directories to ext3 file system in init.rc file, if you've formatted
the card with EXT3.

2. disable MTD and JFFS2 as you're not using NAND.

-
Srikant

On Aug 18, 7:19 pm, jarouac <[email protected]> wrote:
> On Aug 18, 4:45 am, Retti <[email protected]> wrote:
>
> > Hello,
> > I'm not sure, but I would test it with rw-permission to rootfs in
> > init.rc:
>
> > #mount rootfs rootfs / ro remount  -->  mount rootfs rootfs / rw
> > remount
>
> > I had problems with ext3 format, but I use other hardware.
> > But if rw can't solve it, test it with ext2 (and rw).
>
> Hi,
> Thanks for your suggestion. I reformatted to ext2 and mounted rootfs
> rw.
> The messages I get now to kernel panic follow.
> I appreciate your help
> Thanks
> Jonathan
> *****************************************************************
> reading uImage
>
> 2929804 bytes read
> Booting from mmc ...
> ## Booting kernel from Legacy Image at 82000000 ...
>    Image Name:   Linux-2.6.32
>    Image Type:   ARM Linux Kernel Image (uncompressed)
>    Data Size:    2929740 Bytes =  2.8 MB
>    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 (j...@jonb-desktop) (gcc version 4.4.0 (GCC) ) #2
> Mon Aug 16 16:08:00 PDT 2010
> CPU: ARMv7 Processor [411fc083] revision 3 (ARMv7), cr=10c53c7f
> CPU: VIPT nonaliasing data cache, VIPT nonaliasing instruction cache
> Machine: Gumstix Overo
> Memory policy: ECC disabled, Data cache writeback
> OMAP3430/3530 ES3.1 (l2cache iva sgx neon isp )
> SRAM: Mapped pa 0x40200000 to va 0xfe400000 size: 0x100000
> Reserving 33554432 bytes SDRAM for VRAM
> Built 1 zonelists in Zone order, mobility grouping on.  Total pages:
> 65024
> Kernel command line: mem=256M console=ttyS2,115200n8 vram=32M
> omapfb.vram=0:8M omapfb.mode=dvi:480x272mr...@60 omapfb.debug=y
> omapdss.def_disp=lcd43 root=/dev/mmcblk0p2 rw rootfstype=ext3 rootwait
> init=/init
> 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: 256MB = 256MB total
> Memory: 220800KB available (5216K code, 594K data, 172K init, 0K
> highmem)
> Hierarchical RCU implementation.
> NR_IRQS:402
> Clocking rate (Crystal/Core/MPU): 26.0/331/500 MHz
> Reprogramming SDRC clock to 331882352 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: GPTIMER1 at 32768 Hz
> Console: colour dummy device 80x30
> Calibrating delay loop... 499.92 BogoMIPS (lpj=1949696)
> 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
> 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
> i2c_omap i2c_omap.3: bus 3 rev3.12 at 400 kHz
> Bluetooth: Core ver 2.15
> NET: Registered protocol family 31
> Bluetooth: HCI device and connection manager initialized
> Bluetooth: HCI socket layer initialized
> cfg80211: Using static regulatory domain info
> cfg80211: Regulatory domain: 00
>     (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
>     (2402000 KHz - 2472000 KHz @ 40000 KHz), (600 mBi, 2000 mBm)
>     (2457000 KHz - 2482000 KHz @ 20000 KHz), (600 mBi, 2000 mBm)
>     (2474000 KHz - 2494000 KHz @ 20000 KHz), (600 mBi, 2000 mBm)
>     (5170000 KHz - 5250000 KHz @ 40000 KHz), (600 mBi, 2000 mBm)
>     (5735000 KHz - 5835000 KHz @ 40000 KHz), (600 mBi, 2000 mBm)
> cfg80211: Calling CRDA to update world regulatory domain
> Switching to clocksource 32k_counter
> musb_hdrc: version 6.0, musb-dma, host, debug=0
> musb_hdrc: USB Host mode controller at fa0ab000 using DMA, IRQ 92
> musb_hdrc musb_hdrc: MUSB HDRC host driver
> musb_hdrc musb_hdrc: 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.32 musb-hcd
> usb usb1: SerialNumber: musb_hdrc
> hub 1-0:1.0: USB hub found
> hub 1-0:1.0: 1 port detected
> 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.
> VFS: Disk quotas dquot_6.5.2
> Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
> JFFS2 version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
> msgmni has been set to 431
> 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
> omap2-nand driver initializing
> NAND device: Manufacturer ID: 0x2c, Chip ID: 0xba (Micron NAND 256MiB
> 1,8V 16-bit)
> cmdlinepart partition parsing not available
> Creating 5 MTD partitions on "omap2-nand":
> 0x000000000000-0x000000080000 : "xloader"
> 0x000000080000-0x000000240000 : "uboot"
> 0x000000240000-0x000000280000 : "uboot environment"
> 0x000000280000-0x000000680000 : "linux"
> 0x000000680000-0x000010000000 : "rootfs"
> smsc911x: Driver version 2008-10-21.
> smsc911x: Driver version 2008-10-21.
> usbcore: registered new interface driver asix
> usbcore: registered new interface driver cdc_ether
> 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 2
> ehci-omap ehci-omap.0: irq 77, io mem 0x48064800
> ehci-omap ehci-omap.0: USB 2.0 started, EHCI 1.00
> 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: OMAP-EHCI Host Controller
> usb usb2: Manufacturer: Linux 2.6.32 ehci_hcd
> usb usb2: SerialNumber: ehci-omap.0
> hub 2-0:1.0: USB hub found
> hub 2-0:1.0: 3 ports detected
> Initializing USB Mass Storage driver...
> usbcore: registered new interface driver usb-storage
> USB Mass Storage support registered.
> udc: OMAP UDC driver, version: 4 October 2004 (iso) (dma)
> mice: PS/2 mouse device common for all mice
> using rtc device, twl_rtc, for alarms
> twl_rtc twl_rtc: rtc core: registered twl_rtc as rtc0
> twl_rtc twl_rtc: Power up reset detected.
> twl_rtc twl_rtc: Enabling TWL-RTC.
> i2c /dev entries driver
> OMAP Watchdog Timer Rev 0x31: initial timeout 60 sec
> Bluetooth: HCI UART driver ver 2.2
> Bluetooth: HCI H4 protocol initialized
> Bluetooth: HCI BCSP protocol initialized
> Bluetooth: HCILL protocol initialized
> usbcore: registered new interface driver usbhid
> usbhid: USB HID core driver
> Advanced Linux Sound Architecture Driver Version 1.0.21.
> usbcore: registered new interface driver snd-usb-audio
> 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
> overo SoC init
> asoc: twl4030 <-> omap-mcbsp-dai-0 mapping ok
> ALSA device list:
>   #0: overo (twl4030)
> oprofile: using arm/armv7
> TCP cubic registered
> NET: Registered protocol family 17
> NET: Registered protocol family 15
> Bluetooth: L2CAP ver 2.14
> Bluetooth: L2CAP socket layer initialized
> Bluetooth: SCO (Voice Link) ver 0.6
> Bluetooth: SCO socket layer initialized
> Bluetooth: RFCOMM TTY layer initialized
> Bluetooth: RFCOMM socket layer initialized
> Bluetooth: RFCOMM ver 1.11
> Bluetooth: BNEP (Ethernet Emulation) ver 1.3
> Bluetooth: BNEP filters: protocol multicast
> Bluetooth: HIDP (Human Interface Emulation) ver 1.2
> ThumbEE CPU extension supported.
> Power Management for TI OMAP3.
> VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev
> 1
> fbcvt: Aspect ratio not CVT standard
> fbcvt: 480x...@60: CVT Name - Not a CVT standard - 0.130 Mega Pixel
> Image
>
> omapfb omapfb: cannot parse default modes
> Console: switching to colour frame buffer device 60x34
> omapdss DPI: Could not find exact pixel clock. Requested 9200 kHz, got
> 9094 kHz
> mmc0: host does not support reading read-only switch. assuming write-
> enable.
> mmc0: new high speed SDHC card at address 61b8
> mmcblk0: mmc0:61b8 SD08G 7.42 GiB
>  mmcblk0:
> regulator_init_complete: incomplete constraints, leaving VDVI on
>  p1 p2
> regulator_init_complete: incomplete constraints, leaving VDAC on
> twl_rtc twl_rtc: setting system clock to 2000-01-01 00:00:00 UTC
> (946684800)
> List of all partitions:
> 1f00             512 mtdblock0 (driver?)
> 1f01            1792
> ...
>
> read more »

-- 
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting

Reply via email to