Getting self-compiled Angstrom image to boot...

Hi,

with the Ångström Distribution I

    bitbake virtual/kernel
    bitbake systemd-gnome-image

successfully.

A 16GB SD-Card was formatted/prepared with mkcard.txt/sh.

I installed the files of the first and second partition
as recommended.

After a failed boot I recognized, that the kernel parameter
tells the kernel, that the rootf is ext4 and not ext3 as formatted
by the mkcard-script.
I reformatted the second partition to ext4 and reinstalled the
rootfs and finally rebooted the system.

But it hangs in the middle of the bootprocess already being able
to read files from the rootfs.

I checked the partitions with a forced fsck with my PC but nothing
was found.

A reboot still hangs as logged below.

The demo image boots fine, though.

What did I wrong? How can I fix it?

Thank you very much in advance for any help!
Best regards,
mcc

The boot log:

reading u-boot.img
reading u-boot.img

U-Boot 2011.09-00043-gdc52533-dirty (Aug 18 2012 - 20:55:11)

I2C: ready
DRAM: 256 MiB
WARNING: Caches not enabled
No daughter card present
NAND: HW ECC Hamming Code selected
No NAND device found!!!
0 MiB
MMC: OMAP SD/MMC: 0, OMAP SD/MMC: 1
*** Warning - readenv() failed, using default environment

Net: cpsw
Hit any key to stop autoboot: 0
SD/MMC found on device 0
reading uEnv.txt

** Unable to read "uEnv.txt" from mmc 0:1 **
Loading file "/boot/uImage" from mmc device 0:2 xxa2
3318728 bytes read
## Booting kernel from Legacy Image at 80007fc0 ...
   Image Name: Angstrom/3.2.23/beaglebone
   Image Type: ARM Linux Kernel Image (uncompressed)
   Data Size: 3318664 Bytes = 3.2 MiB
   Load Address: 80008000
   Entry Point: 80008000
   Verifying Checksum ... OK
   XIP Kernel Image ... OK
OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
[ 0.000000] Initializing cgroup subsys cpuset
[ 0.000000] Initializing cgroup subsys cpu
[ 0.000000] Linux version 3.2.23 (mccramer@solfire) (gcc version 4.5.4 20120305 (prerelease) (GCC) ) #1 Sat Aug 18 19:50:22 CEST 2012
[ 0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=50c53c7d
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[ 0.000000] Machine: am335xevm
[ 0.000000] Memory policy: ECC disabled, Data cache writeback
[ 0.000000] AM335X ES1.0 (sgx neon )
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 65024
[ 0.000000] Kernel command line: console=ttyO0,115200n8 root=/dev/mmcblk0p2 ro rootfstype=ext4 rootwait ip=none
[ 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] allocated 1048576 bytes of page_cgroup
[ 0.000000] please try 'cgroup_disable=memory' option if you don't want memory cgroups
[ 0.000000] Memory: 256MB = 256MB total
[ 0.000000] Memory: 253240k/253240k available, 8904k reserved, 0K highmem
[ 0.000000] Virtual kernel memory layout:
[ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
[ 0.000000] fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB)
[ 0.000000] vmalloc : 0xd0800000 - 0xff000000 ( 744 MB)
[ 0.000000] lowmem : 0xc0000000 - 0xd0000000 ( 256 MB)
[ 0.000000] modules : 0xbf800000 - 0xc0000000 ( 8 MB)
[ 0.000000] .text : 0xc0008000 - 0xc047ea18 (4571 kB)
[ 0.000000] .init : 0xc047f000 - 0xc04b7000 ( 224 kB)
[ 0.000000] .data : 0xc04b8000 - 0xc0509ee8 ( 328 kB)
[ 0.000000] .bss : 0xc0509f0c - 0xc0575654 ( 430 kB)
[ 0.000000] NR_IRQS:410 nr_irqs:410 410
[ 0.000000] IRQ: Found an INTC at 0xfa200000 (revision 5.0) with 128 interrupts
[ 0.000000] Total of 128 interrupts on 1 active controller
[ 0.000000] OMAP clockevent source: GPTIMER2 at 24000000 Hz
[ 0.000000] OMAP clocksource: GPTIMER1 at 32768 Hz
[ 0.000000] sched_clock: 32 bits at 32kHz, resolution 30517ns, wraps every 131071999ms
[ 0.000000] Console: colour dummy device 80x30
[ 0.000183] Calibrating delay loop... 498.89 BogoMIPS (lpj=2494464)
[ 0.058563] pid_max: default: 32768 minimum: 301
[ 0.058746] Security Framework initialized
[ 0.058807] Mount-cache hash table entries: 512
[ 0.059234] Initializing cgroup subsys cpuacct
[ 0.059295] Initializing cgroup subsys memory
[ 0.059326] Initializing cgroup subsys devices
[ 0.059356] Initializing cgroup subsys freezer
[ 0.059356] Initializing cgroup subsys blkio
[ 0.059387] Initializing cgroup subsys perf_event
[ 0.059478] CPU: Testing write buffer coherency: ok
[ 0.060760] devtmpfs: initialized
[ 0.081390] omap_hwmod: gfx: failed to hardreset
[ 0.098083] omap_hwmod: pruss: failed to hardreset
[ 0.098724] print_constraints: dummy:
[ 0.098999] NET: Registered protocol family 16
[ 0.100250] OMAP GPIO hardware version 0.1
[ 0.101531] omap_mux_init: Add partition: #1: core, flags: 0
[ 0.103088] omap_i2c.1: alias fck already exists
[ 0.103485] hw-breakpoint: debug architecture 0x4 unsupported.
[ 0.103668] omap2_mcspi.1: alias fck already exists
[ 0.103820] omap2_mcspi.2: alias fck already exists
[ 0.104003] edma.0: alias fck already exists
[ 0.104034] edma.0: alias fck already exists
[ 0.104064] edma.0: alias fck already exists
[ 0.104156] cape: pcm register
[ 0.114501] bio: create slab <bio-0> at 0
[ 0.115814] SCSI subsystem initialized
[ 0.116790] usbcore: registered new interface driver usbfs
[ 0.116943] usbcore: registered new interface driver hub
[ 0.117126] usbcore: registered new device driver usb
[ 0.117279] musb-ti81xx musb-ti81xx: musb0, board_mode=0x13, plat_mode=0x3
[ 0.117431] musb-ti81xx musb-ti81xx: musb1, board_mode=0x13, plat_mode=0x1
[ 0.117980] omap_i2c omap_i2c.1: bus 1 rev2.4.0 at 100 kHz
[ 0.119293] Advanced Linux Sound Architecture Driver Version 1.0.24.
[ 0.119934] Switching to clocksource gp timer
[ 0.147613] musb-hdrc: version 6.0, ?dma?, otg (peripheral+host)
[ 0.147827] musb-hdrc musb-hdrc.0: dma type: pio
[ 0.148010] MUSB0 controller's USBSS revision = 4ea20800
[ 0.148529] musb-hdrc musb-hdrc.0: USB OTG mode controller at d081c000 using PIO, IRQ 18
[ 0.148864] musb-hdrc musb-hdrc.1: dma type: pio
[ 0.149047] MUSB1 controller's USBSS revision = 4ea20800
[ 0.149169] musb-hdrc musb-hdrc.1: MUSB HDRC host driver
[ 0.149291] musb-hdrc musb-hdrc.1: new USB bus registered, assigned bus number 1
[ 0.149414] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[ 0.149444] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 0.149475] usb usb1: Product: MUSB HDRC host driver
[ 0.149475] usb usb1: Manufacturer: Linux 3.2.23 musb-hcd
[ 0.149505] usb usb1: SerialNumber: musb-hdrc.1
[ 0.150360] hub 1-0:1.0: USB hub found
[ 0.150390] hub 1-0:1.0: 1 port detected
[ 0.150939] musb-hdrc musb-hdrc.1: USB Host mode controller at d081e800 using PIO, IRQ 19
[ 0.151397] NET: Registered protocol family 2
[ 0.151611] IP route cache hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.152069] TCP established hash table entries: 8192 (order: 4, 65536 bytes)
[ 0.152313] TCP bind hash table entries: 8192 (order: 3, 32768 bytes)
[ 0.152435] TCP: Hash tables configured (established 8192 bind 8192)
[ 0.152435] TCP reno registered
[ 0.152465] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.152496] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.152801] NET: Registered protocol family 1
[ 0.153198] RPC: Registered named UNIX socket transport module.
[ 0.153198] RPC: Registered udp transport module.
[ 0.153228] RPC: Registered tcp transport module.
[ 0.153228] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.155181] audit: initializing netlink socket (disabled)
[ 0.155242] type=2000 audit(0.150:1): initialized
[ 0.166442] VFS: Disk quotas dquot_6.5.2
[ 0.166534] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 0.167785] msgmni has been set to 494
[ 0.168945] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
[ 0.169067] io scheduler noop registered
[ 0.169097] io scheduler deadline registered
[ 0.169158] io scheduler cfq registered (default)
[ 0.170288] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[ 0.171905] omap_uart.0: ttyO0 at MMIO 0x44e09000 (irq = 72) is a OMAP UART0
[ 0.799224] console [ttyO0] enabled
[ 0.803558] omap_uart.1: ttyO1 at MMIO 0x48022000 (irq = 73) is a OMAP UART1
[ 0.811462] omap_uart.2: ttyO2 at MMIO 0x48024000 (irq = 74) is a OMAP UART2
[ 0.819335] omap_uart.3: ttyO3 at MMIO 0x481a6000 (irq = 44) is a OMAP UART3
[ 0.827209] omap_uart.4: ttyO4 at MMIO 0x481a8000 (irq = 45) is a OMAP UART4
[ 0.835113] omap_uart.5: ttyO5 at MMIO 0x481aa000 (irq = 46) is a OMAP UART5
[ 0.844390] brd: module loaded
[ 0.852386] loop: module loaded
[ 0.855804] at24 1-0051: 32768 byte 24c256 EEPROM, writable, 64 bytes/write
[ 0.920532] No daughter card found
[ 0.924163] at24 1-0050: 32768 byte 24c256 EEPROM, writable, 64 bytes/write
[ 0.939453] Board name: A335BONE
[ 0.942871] Board version: 00A6
[ 0.946166] The board is a AM335x Beaglebone.
[ 0.951477] tps65217 1-0024: TPS65217 ID 0xf version 1.1
[ 0.958953] print_constraints: DCDC1: 900 <--> 1800 mV at 1800 mV
[ 0.967437] print_constraints: DCDC2: 900 <--> 3300 mV at 1275 mV
[ 0.975891] print_constraints: DCDC3: 900 <--> 1500 mV at 1100 mV
[ 0.984313] print_constraints: LDO1: 1000 <--> 3300 mV at 1800 mV
[ 0.992736] print_constraints: LDO2: 900 <--> 3300 mV at 3300 mV
[ 1.001068] print_constraints: LDO3: 1800 <--> 3300 mV at 3300 mV
[ 1.009521] print_constraints: LDO4: 1800 <--> 3300 mV at 3300 mV
[ 1.016571] Maximum current provided by the USB port is 500mA which is not sufficient when operating @OPP120 and OPPTURBO. The current requirement for some use-cases using OPP100 might also exceed the maximum current that the USB port can provide. Unless you are fully confident that the current requirements for OPP100 use-case don't exceed the USB limits, switching to AC power is recommended.
[ 1.053771] omap_i2c.3: alias fck already exists
[ 1.058990] omap_i2c omap_i2c.3: bus 3 rev2.4.0 at 100 kHz
[ 1.065765] omap_hsmmc.0: alias fck already exists
[ 1.074615] at24 3-0054: 32768 byte 24c256 EEPROM, writable, 64 bytes/write
[ 1.105102] BeagleBone cape EEPROM: found eeprom at address 0x54
[ 1.111480] BeagleBone cape: Beagleboardtoys. BeagleBone LCD7 CAPE............, revision 00A2
[ 1.120452] BeagleBone cape partnumber: BB-BONE-LCD7-01.
[ 1.126068] BeagleBone cape: initializing LCD cape
[ 1.131561] da8xx_lcdc.0: alias fck already exists
[ 1.136932] da8xx_lcdc da8xx_lcdc.0: GLCD: Found TFC_S9700RTWV35TR_01B panel
[ 1.158081] Console: switching to colour frame buffer device 100x30
[ 1.176086] BeagleBone cape: initializing LCD cape touchscreen
[ 1.182281] TSC connected to BeagleBone
[ 1.186706] BeagleBone cape: Registering PWM backlight for LCD cape
[ 1.193359] BeagleBone cape: Registering gpio-keys for LCD cape
[ 1.199981] at24 3-0055: 32768 byte 24c256 EEPROM, writable, 64 bytes/write
[ 1.260559] BeagleBone cape EEPROM: could not read eeprom at address 0x55
[ 1.267730] at24 3-0056: 32768 byte 24c256 EEPROM, writable, 64 bytes/write
[ 1.330566] BeagleBone cape EEPROM: could not read eeprom at address 0x56
[ 1.337738] at24 3-0057: 32768 byte 24c256 EEPROM, writable, 64 bytes/write
[ 1.400573] BeagleBone cape EEPROM: could not read eeprom at address 0x57
[ 1.407714] BeagleBone cape: initializing w1-gpio
[ 1.412841] w1-gpio connected to P8_6
[ 1.417419] SCSI Media Changer driver v0.25
[ 1.422363] CAN device driver interface
[ 1.426391] CAN bus driver for Bosch D_CAN controller 1.0
[ 1.480590] davinci_mdio davinci_mdio.0: davinci mdio revision 1.6
[ 1.487121] davinci_mdio davinci_mdio.0: detected phy mask fffffffe
[ 1.494781] davinci_mdio.0: probed
[ 1.498382] davinci_mdio davinci_mdio.0: phy[0]: device 0:00, driver SMSC LAN8710/LAN8720
[ 1.507263] usbcore: registered new interface driver cdc_acm
[ 1.513244] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[ 1.521820] usbcore: registered new interface driver usblp
[ 1.527648] usbcore: registered new interface driver cdc_wdm
[ 1.533691] usbcore: registered new interface driver uas
[ 1.539306] Initializing USB Mass Storage driver...
[ 1.544616] usbcore: registered new interface driver usb-storage
[ 1.550964] USB Mass Storage support registered.
[ 1.555969] usbcore: registered new interface driver libusual
[ 1.562591] mousedev: PS/2 mouse device common for all mice
[ 1.569091] dev addr = cf1fe808
[ 1.572418] pdev addr = cf1fe800
[ 1.576324] input: ti-tsc-adcc as /devices/platform/omap/tsc/input/input0
[ 1.584594] omap_rtc omap_rtc: rtc core: registered omap_rtc as rtc0
[ 1.591857] i2c /dev entries driver
[ 1.596008] Linux media interface: v0.10
[ 1.600219] Linux video capture interface: v2.00
[ 1.605438] Driver for 1-wire Dallas network protocol.
[ 1.612335] OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
[ 1.620208] cpuidle: using governor ladder
[ 1.624755] cpuidle: using governor menu
[ 1.632141] usbcore: registered new interface driver usbhid
[ 1.638000] usbhid: USB HID core driver
[ 1.643157] usbcore: registered new interface driver snd-usb-audio
[ 1.650756] ALSA device list:
[ 1.653900] No soundcards found.
[ 1.657867] TCP cubic registered
[ 1.661346] Initializing XFRM netlink socket
[ 1.665863] NET: Registered protocol family 17
[ 1.670654] NET: Registered protocol family 15
[ 1.675323] can: controller area network core (rev 20090105 abi 8)
[ 1.681945] NET: Registered protocol family 29
[ 1.686645] can: raw protocol (rev 20090105)
[ 1.691192] Registering the dns_resolver key type
[ 1.696197] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
[ 1.704315] ThumbEE CPU extension supported.
[ 1.708892] mux: Failed to setup hwmod io irq -22
[ 1.714691] Power Management for AM33XX family
[ 1.719573] Trying to load am335x-pm-firmware.bin (60 secs timeout)
[ 1.726318] Copied the M3 firmware to UMEM
[ 1.736602] registered taskstats version 1
[ 1.741333] Detected MACID=d4:94:a1:99:9b:82
[ 1.748229] input: gpio-keys as /devices/platform/gpio-keys/input/input1
[ 1.755920] omap_rtc omap_rtc: setting system clock to 2000-01-01 00:00:00 UTC (946684800)
[ 1.765411] Waiting for root device /dev/mmcblk0p2...
[ 1.855224] mmc0: host does not support reading read-only switch. assuming write-enable.
[ 1.868835] mmc0: new high speed SDHC card at address e624
[ 1.875244] mmcblk0: mmc0:e624 SU16G 14.8 GiB
[ 1.883697] mmcblk0: p1 p2
[ 2.017944] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[ 2.026611] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
[ 2.038177] devtmpfs: mounted
[ 2.041809] Freeing init memory: 224K

Welcome to The Ångström Distribution!

[ 2.392272] NET: Registered protocol family 10
Starting Load Kernel Modules...
Starting POSIX Message Queue File System...
Started Apply Kernel Variables [ OK ]
Starting Debug File System...
Started Huge Pages File System [ OK ]
Started Set Up Additional Binary Formats [ OK ]
Starting Temporary Directory...
Starting Remount API VFS...
Starting udev Coldplug all Devices...
Starting udev Kernel Device Manager...
Starting Journal Service...
Started Journal Service [ OK ]
Starting File System Check on Root Device...
[ 3.043609] udevd[65]: starting version 182
Started udev Kernel Device Manager [ OK ]
Started Load Kernel Modules [ OK ]
Started POSIX Message Queue File System [ OK ]
Started Debug File System [ OK ]
Started Temporary Directory [ OK ]
Started Remount API VFS [ OK ]
Started FUSE Control File System [ OK ]
Started Configuration File System [ OK ]
Started File System Check on Root Device [ OK ]
Starting Remount Root FS...
Started udev Coldplug all Devices [ 3.492706] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
       [ OK ]
Started Remount Root FS [ OK ]
Starting Load Random Seed...
Starting Recreate Volatile Files and Directories...
Started Machine ID first boot configure [ OK ]
Starting Run pending postinsts...
Started Load Random Seed [ OK ]
Started Recreate Volatile Files and Directories [ OK ]
systemd-fsck[68]: /dev/mmcblk0p2: clean, 18282/969136 files, 155692/3869656 blocks

Yeah I also face the same problem, any solution
THanks,
ali