* Yocto Qt5 Integration for Wandboard - Kernel Panic @ 2014-01-19 21:21 Jay Cady 2014-01-21 21:57 ` John Weber 0 siblings, 1 reply; 5+ messages in thread From: Jay Cady @ 2014-01-19 21:21 UTC (permalink / raw) To: meta-freescale [-- Attachment #1: Type: text/plain, Size: 1070 bytes --] Hi, I'm trying to integrate Qt5 with Yocto on the Wandboard Dual (i.MX6). I've been following these two tutorials: http://wiki.wandboard.org/index.php/Getting_started_with_Yocto_on_Wandboard http://wiki.wandboard.org/index.php/Building_Qt5_using_yocto_on_Wandboard The problem occurs when I am ready to bitbake the meta-qt5 recipe into the core-image-minimal. I add the recommended features to the local.conf and remove the x11 and wayland components in order to get the eglfs drivers. Then I bitbake core-image-minimal, the bitbake succeeds fine. I then run a dd command to write the core-image-minimal-wandboard-dual.sdcard to my sdcard. Finally, upon inserting the sdcard into my wandboard, I boot it up and view the output through serial. The boot fails with a "Kernel panic - not syncing: No init found.". Here is the log of the first boot: http://pastebin.com/gr8LpMRU And here is the log of when the board is reset: http://pastebin.com/eauuw3Q2 Does anyone have any idea why this is happening and how I can fix it? Thank you! [-- Attachment #2: Type: text/html, Size: 1561 bytes --] ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Yocto Qt5 Integration for Wandboard - Kernel Panic 2014-01-19 21:21 Yocto Qt5 Integration for Wandboard - Kernel Panic Jay Cady @ 2014-01-21 21:57 ` John Weber 2014-01-21 22:06 ` Jay Cady 0 siblings, 1 reply; 5+ messages in thread From: John Weber @ 2014-01-21 21:57 UTC (permalink / raw) To: meta-freescale [-- Attachment #1: Type: text/html, Size: 3974 bytes --] ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Yocto Qt5 Integration for Wandboard - Kernel Panic 2014-01-21 21:57 ` John Weber @ 2014-01-21 22:06 ` Jay Cady 2014-01-22 15:37 ` Jay Cady 0 siblings, 1 reply; 5+ messages in thread From: Jay Cady @ 2014-01-21 22:06 UTC (permalink / raw) To: John Weber; +Cc: meta-freescale [-- Attachment #1: Type: text/plain, Size: 2479 bytes --] Hey John, Wow, that is really surprising. I will give that build a try tonight and see my results. Do I exclude git by writing the line "DISTRO_FEATURES_remove = "git"" in my local.conf? If this solves it, you will be my hero. Thanks! Jay On Tue, Jan 21, 2014 at 4:57 PM, John Weber <rjohnweber@gmail.com> wrote: > Hi Jay, > > > On 1/19/14 3:21 PM, Jay Cady wrote: > > Hi, > > I'm trying to integrate Qt5 with Yocto on the Wandboard Dual (i.MX6). > I've been following these two tutorials: > > > http://wiki.wandboard.org/index.php/Getting_started_with_Yocto_on_Wandboard > > http://wiki.wandboard.org/index.php/Building_Qt5_using_yocto_on_Wandboard > > The problem occurs when I am ready to bitbake the meta-qt5 recipe into > the core-image-minimal. I add the recommended features to the local.conf > and remove the x11 and wayland components in order to get the eglfs > drivers. Then I bitbake core-image-minimal, the bitbake succeeds fine. I > then run a dd command to write the core-image-minimal-wandboard-dual.sdcard > to my sdcard. > > I was curious so I tried replicating those steps and was able to get it to > fail on my Wandboard Dual immediately. > > There are a LOT of packages added to the image, so I figured that one of > them was somehow causing the problem. I started binary searching. After 9 > iterations of including/excluding packages from the build, I found that GIT > of all things was causing the kernel panic. If you exclude git, then you > get a successful boot. > > That is just *weird*. I don't have the time to figure out why this is, > but I hope that this helps you. > > John > > > Finally, upon inserting the sdcard into my wandboard, I boot it up and > view the output through serial. The boot fails with a "Kernel panic - not > syncing: No init found.". > > Here is the log of the first boot: http://pastebin.com/gr8LpMRU > And here is the log of when the board is reset: > http://pastebin.com/eauuw3Q2 > > Does anyone have any idea why this is happening and how I can fix it? > > Thank you! > > > _______________________________________________ > meta-freescale mailing listmeta-freescale@yoctoproject.orghttps://lists.yoctoproject.org/listinfo/meta-freescale > > > > _______________________________________________ > meta-freescale mailing list > meta-freescale@yoctoproject.org > https://lists.yoctoproject.org/listinfo/meta-freescale > > [-- Attachment #2: Type: text/html, Size: 4557 bytes --] ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Yocto Qt5 Integration for Wandboard - Kernel Panic 2014-01-21 22:06 ` Jay Cady @ 2014-01-22 15:37 ` Jay Cady 2014-01-22 15:39 ` Otavio Salvador 0 siblings, 1 reply; 5+ messages in thread From: Jay Cady @ 2014-01-22 15:37 UTC (permalink / raw) To: meta-freescale [-- Attachment #1: Type: text/plain, Size: 2863 bytes --] All, John's solution worked marvelously. The wiki page has been updated for anyone else in my situation. If anyone encounters the same error, simply don't include git in the install_appends. Thanks John! On Tue, Jan 21, 2014 at 5:06 PM, Jay Cady <jcady92@gmail.com> wrote: > Hey John, > > Wow, that is really surprising. I will give that build a try tonight and > see my results. > > Do I exclude git by writing the line "DISTRO_FEATURES_remove = "git"" in > my local.conf? > > If this solves it, you will be my hero. > > Thanks! > Jay > > > On Tue, Jan 21, 2014 at 4:57 PM, John Weber <rjohnweber@gmail.com> wrote: > >> Hi Jay, >> >> >> On 1/19/14 3:21 PM, Jay Cady wrote: >> >> Hi, >> >> I'm trying to integrate Qt5 with Yocto on the Wandboard Dual (i.MX6). >> I've been following these two tutorials: >> >> >> http://wiki.wandboard.org/index.php/Getting_started_with_Yocto_on_Wandboard >> >> >> http://wiki.wandboard.org/index.php/Building_Qt5_using_yocto_on_Wandboard >> >> The problem occurs when I am ready to bitbake the meta-qt5 recipe into >> the core-image-minimal. I add the recommended features to the local.conf >> and remove the x11 and wayland components in order to get the eglfs >> drivers. Then I bitbake core-image-minimal, the bitbake succeeds fine. I >> then run a dd command to write the core-image-minimal-wandboard-dual.sdcard >> to my sdcard. >> >> I was curious so I tried replicating those steps and was able to get it >> to fail on my Wandboard Dual immediately. >> >> There are a LOT of packages added to the image, so I figured that one of >> them was somehow causing the problem. I started binary searching. After 9 >> iterations of including/excluding packages from the build, I found that GIT >> of all things was causing the kernel panic. If you exclude git, then you >> get a successful boot. >> >> That is just *weird*. I don't have the time to figure out why this is, >> but I hope that this helps you. >> >> John >> >> >> Finally, upon inserting the sdcard into my wandboard, I boot it up and >> view the output through serial. The boot fails with a "Kernel panic - not >> syncing: No init found.". >> >> Here is the log of the first boot: http://pastebin.com/gr8LpMRU >> And here is the log of when the board is reset: >> http://pastebin.com/eauuw3Q2 >> >> Does anyone have any idea why this is happening and how I can fix it? >> >> Thank you! >> >> >> _______________________________________________ >> meta-freescale mailing listmeta-freescale@yoctoproject.orghttps://lists.yoctoproject.org/listinfo/meta-freescale >> >> >> >> _______________________________________________ >> meta-freescale mailing list >> meta-freescale@yoctoproject.org >> https://lists.yoctoproject.org/listinfo/meta-freescale >> >> > [-- Attachment #2: Type: text/html, Size: 5323 bytes --] ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Yocto Qt5 Integration for Wandboard - Kernel Panic 2014-01-22 15:37 ` Jay Cady @ 2014-01-22 15:39 ` Otavio Salvador 0 siblings, 0 replies; 5+ messages in thread From: Otavio Salvador @ 2014-01-22 15:39 UTC (permalink / raw) To: Jay Cady; +Cc: meta-freescale@yoctoproject.org On Wed, Jan 22, 2014 at 1:37 PM, Jay Cady <jcady92@gmail.com> wrote: > All, > > John's solution worked marvelously. > > The wiki page has been updated for anyone else in my situation. If anyone > encounters the same error, simply don't include git in the install_appends. Oh man, I'd like to understand WHY! -- Otavio Salvador O.S. Systems http://www.ossystems.com.br http://code.ossystems.com.br Mobile: +55 (53) 9981-7854 Mobile: +1 (347) 903-9750 ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2014-01-22 15:39 UTC | newest] Thread overview: 5+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2014-01-19 21:21 Yocto Qt5 Integration for Wandboard - Kernel Panic Jay Cady 2014-01-21 21:57 ` John Weber 2014-01-21 22:06 ` Jay Cady 2014-01-22 15:37 ` Jay Cady 2014-01-22 15:39 ` Otavio Salvador
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.