Ok, i tried with gumstix-console-image and now there is a new error. 

[    3.515869] EXT3-fs (mmcblk0p2): error: couldn't mount because of unsupported optional features (240)
[    3.526519] List of all partitions:
[    3.530242] 1f00             512 mtdblock0  (driver?)
[    3.535614] 1f01            1792 mtdblock1  (driver?)
[    3.540924] 1f02             256 mtdblock2  (driver?)
[    3.546356] 1f03            4096 mtdblock3  (driver?)
[    3.551727] 1f04          517632 mtdblock4  (driver?)
[    3.557037] b300         7759872 mmcblk0  driver: mmcblk
[    3.562683]   b301           72261 mmcblk0p1 00000000-0000-0000-0000-000000000000
[    3.570587]   b302         7687102 mmcblk0p2 00000000-0000-0000-0000-000000000000
[    3.578674] No filesystem could mount root, tried:  ext3
[    3.584320] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(179,2)

Full boot log here http://pastebin.com/gYHtnywK

Why can't i boot via MMC?



On 23/01/2013, at 9:43 AM, adam <adam@gumstix.com> wrote:

Hi Trung, 

You can first try with the files here - http://cumulus.gumstix.org/images/angstrom/developer/yocto/
If that works, something else is wrong. 

Let us know!

Adam

On Tue, Jan 22, 2013 at 2:36 PM, Trung Hoang [via Gumstix] <[hidden email]> wrote:
Now that I am using the Yocto Project tools with OE, I can successfully build the gumstix-console-image.

However, when i follow http://www.gumstix.org/create-a-bootable-microsd-card.html there are files which are not named the same. 

trung@trung-hard12:~/yocto/build/tmp/deploy/images$ ls -l
total 458088
-rw-r--r-- 1 trung trung  51317892 Jan 22 18:15 gumstix-console-image-overo-20130122064210.rootfs.tar.bz2
-rw-r--r-- 1 trung trung  51319359 Jan 22 20:39 gumstix-console-image-overo-20130122093511.rootfs.tar.bz2
-rw-r--r-- 1 trung trung  49943182 Jan 22 21:01 gumstix-console-image-overo-20130122095743.rootfs.tar.bz2
-rw-r--r-- 1 trung trung  58032248 Jan 22 21:10 gumstix-console-image-overo-20130122100624.rootfs.tar.bz2
-rw-r--r-- 1 trung trung  84588326 Jan 22 22:03 gumstix-console-image-overo-20130122102352.rootfs.tar.bz2
lrwxrwxrwx 1 trung trung        57 Jan 22 22:03 gumstix-console-image-overo.tar.bz2 -> gumstix-console-image-overo-20130122102352.rootfs.tar.bz2
-rw-r--r-- 1 trung trung 107201249 Jan 22 23:22 gumstix-xfce-image-overo-20130122115432.rootfs.tar.bz2
lrwxrwxrwx 1 trung trung        54 Jan 22 23:22 gumstix-xfce-image-overo.tar.bz2 -> gumstix-xfce-image-overo-20130122115432.rootfs.tar.bz2
lrwxrwxrwx 1 trung trung        17 Jan 22 17:51 MLO -> MLO-overo-2012.07
lrwxrwxrwx 1 trung trung        17 Jan 22 17:51 MLO-overo -> MLO-overo-2012.07
-rwxr-xr-x 1 trung trung     45340 Jan 22 17:51 MLO-overo-2012.07
-rw-rw-r-- 1 trung trung  62878577 Jan 22 18:03 modules-3.5.0-r0-overo.tgz
-rw-rw-r-- 1 trung trung       294 Jan 22 23:14 README_-_DO_NOT_DELETE_FILES_IN_THIS_DIRECTORY.txt
lrwxrwxrwx 1 trung trung        27 Jan 22 17:51 u-boot.img -> u-boot-overo-2012.07-r0.img
-rwxr-xr-x 1 trung trung    261100 Jan 22 17:51 u-boot-overo-2012.07-r0.img
lrwxrwxrwx 1 trung trung        27 Jan 22 17:51 u-boot-overo.img -> u-boot-overo-2012.07-r0.img
-rw-r--r-- 1 trung trung   3462112 Jan 22 18:03 uImage-3.5-r0-overo-20130122064210.bin
lrwxrwxrwx 1 trung trung        38 Jan 22 18:03 uImage-overo.bin -> uImage-3.5-r0-overo-20130122064210.bin
trung@trung-hard12:~/yocto/build/tmp/deploy/images$




Anyhow I copy over what looks obvious and then booting from MMC i get this error:

[    3.434295] Unable to handle kernel NULL pointer dereference at virtual address 00
000028
[    3.442810] pgd = c0004000
[    3.445678] [00000028] *pgd=00000000
[    3.449462] Internal error: Oops: 5 [#1] PREEMPT ARM
[    3.454681] Modules linked in:
[    3.457885] CPU: 0    Not tainted  (3.5.0 #1)
[    3.462493] PC is at dss_mgr_check_timings+0x4/0x30
[    3.467620] LR is at dpi_check_timings+0x18/0xc8
[    3.472473] pc : [<c025e42c>]    lr : [<c0260f4c>]    psr: 40000113
[    3.472473] sp : dec2be00  ip : 22222222  fp : c06a97a8
[    3.484527] r10: 00000010  r9 : c06aaec8  r8 : deefb540
[    3.489990] r7 : deefd800  r6 : c06a9008  r5 : c06a9008  r4 : dec2be90
[    3.496856] r3 : dec1ca40  r2 : dec2be50  r1 : dec2be90  r0 : 00000000
[    3.503723] Flags: nZcv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment kernel
[    3.511383] Control: 10c5387d  Table: 80004019  DAC: 00000015
[    3.517425] Process swapper (pid: 1, stack limit = 0xdec2a2f0)
[    3.523529] Stack: (0xdec2be00 to 0xdec2c000)
[    3.528106] be00: dec1ca40 c0260f4c 00000001 dedad794 ffffffff c045e6dc 22222222 22222222
[    3.536712] be20: 22222222 22222222 0000000f dedad794 c06a9008 dec2be90 deefd800 deefb540
[    3.545288] be40: c06aaec8 dedad794 c06a9008 dec2be90 deefd800 c026eb98 def96800 deedc780
[    3.553894] be60: c06a9008 c0676390 0000003d c0489b18 00000018 dec2be84 dec2be88 00000000
[    3.562499] be80: c06aaec0 dec2beb8 def95f00 def96800 03000400 0000dac0 00300020 00040050
[    3.571075] bea0: 0003000f c0137e34 00000000 c005339c 00000000 00000003 00000000 00000000
[    3.579681] bec0: c06caa98 c06aaec8 c06caa98 c06caa98 00000000 0000009e c068d920 c0656160
[    3.588256] bee0: 00000000 c02995f0 c02995dc c0298328 c06caa98 c06aaec8 c06aaec8 c06aaefc
[    3.596862] bf00: c06caa98 c0298578 c06caa98 dec2bf18 c0298518 c0296a5c dec077d8 dec948f0
[    3.605438] bf20: c06caa98 c06caa98 deefb5c0 c06d07f8 00000000 c0297900 c0598238 c0598239
[    3.614044] bf40: dec2bf48 c06caa98 00000001 00000000 c06f72c0 0000009e c0656160 c0298a98
[    3.622650] bf60: 00000000 c06caa84 00000001 00000000 c06f72c0 0000009e c0656160 c0299870
[    3.631225] bf80: 00000007 c0675e98 00000000 c0675ec0 dec2a000 c0008674 00000007 00000007
[    3.639831] bfa0: 00000000 00000007 c068354c 00000007 c0683550 c0683530 c06f72c0 0000009e
[    3.648437] bfc0: c068d920 c06568c4 00000007 00000007 c0656160 00000000 00000000 c0656790
[    3.657012] bfe0: c000eac4 00000013 00000000 00000000 00000000 c000eac4 6bbafff7 dd73dbff
[    3.665649] [<c025e42c>] (dss_mgr_check_timings+0x4/0x30) from [<c0260f4c>] (dpi_check_timings+0x18/0xc8)
[    3.675720] [<c0260f4c>] (dpi_check_timings+0x18/0xc8) from [<c026eb98>] (tfp410_check_timings+0x28/0x3c)
[    3.685791] [<c026eb98>] (tfp410_check_timings+0x28/0x3c) from [<c0676390>] (omapfb_probe+0x4a4/0x9d0)
[    3.695587] [<c0676390>] (omapfb_probe+0x4a4/0x9d0) from [<c02995f0>] (platform_drv_probe+0x14/0x18)
[    3.705200] [<c02995f0>] (platform_drv_probe+0x14/0x18) from [<c0298328>](driver_probe_device+0x144/0x334)
[    3.715454] [<c0298328>] (driver_probe_device+0x144/0x334) from [<c0298578>] (__driver_attach+0x60/0x84)
[    3.725402] [<c0298578>] (__driver_attach+0x60/0x84) from [<c0296a5c>] (bus_for_each_dev+0x4c/0x78)
[    3.734924] [<c0296a5c>] (bus_for_each_dev+0x4c/0x78) from [<c0297900>] (bus_add_driver+0xc0/0x240)
[    3.744445] [<c0297900>] (bus_add_driver+0xc0/0x240) from [<c0298a98>] (driver_register+0x9c/0x128)
[    3.753936] [<c0298a98>] (driver_register+0x9c/0x128) from [<c0299870>] (platform_driver_probe+0x18/0x98)
[    3.764007] [<c0299870>] (platform_driver_probe+0x18/0x98) from [<c0675ec0>] (omapfb_init+0x28/0x54)
[    3.773620] [<c0675ec0>] (omapfb_init+0x28/0x54) from [<c0008674>] (do_one_initcall+0x90/0x160)
[    3.782775] [<c0008674>] (do_one_initcall+0x90/0x160) from [<c06568c4>] (kernel_init+0x134/0x1f4)
[    3.792114] [<c06568c4>] (kernel_init+0x134/0x1f4) from [<c000eac4>] (kernel_thread_exit+0x0/0x8)
[    3.801422] Code: e3e00015 e8bd8010 c05c7450 e92d4008 (e5900028)
[    3.808868] ---[ end trace 167cb5446851038a ]---
[    3.813781] Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b
[    3.813781]


How can i go from a yocto image to something i can MMC boot?!


------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnnow-d2d
_______________________________________________
gumstix-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gumstix-users



If you reply to this email, your message will be added to the discussion below:
http://gumstix.8.n6.nabble.com/Yocto-OE-gumstix-console-image-build-to-MMC-boot-tp4966566.html
To start a new topic under Gumstix, email [hidden email]
To unsubscribe from Gumstix, click here.
NAML



View this message in context: Re: Yocto OE gumstix-console-image build to MMC boot
Sent from the Gumstix mailing list archive at Nabble.com.
------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnnow-d2d_______________________________________________
gumstix-users mailing list
gumstix-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gumstix-users