Date: Fri, 18 Mar 2016 12:06:57 -0700 From: Russell Haley <russ.haley@gmail.com> To: Ilya Bakulin <ilya@bakulin.de>, freebsd-arm <freebsd-arm@freebsd.org> Subject: Fwd: SDIO Patch D4761.diff Not Building For Me Message-ID: <CABx9NuSMK-X%2BvzTBH4bVsFLDFwWuF49t5JU7mzqVErDOMXGEzA@mail.gmail.com> In-Reply-To: <CABx9NuRXWEY%2BsBQN==q5YSaPU0f-o_pLQCpQOw1e32w=R0nPsg@mail.gmail.com> References: <CABx9NuRq4ZKrHEPkf%2BNRLxjdg9e%2B=FHUfi_7Q4HrRT4C_oMNQg@mail.gmail.com> <b85f676d6c1150e8e7384433f7983f7b@bakulin.de> <CABx9NuTEiOPEH6JaU-HDgvPwRSu_CTYb7643fV=10AY6uiyRkQ@mail.gmail.com> <ce69cba9e622e8ea5048d012d65e4908@bakulin.de> <CABx9NuT8Fc6JvAD75vaijAQ2C8%2BKuY0Yw4BENcrhYAMP4fqWnw@mail.gmail.com> <CABx9NuS9%2BEWVFV8jfpcYc2OEe7%2BUWfa4uGiQ7vg7_RPXxNnhzQ@mail.gmail.com> <CABx9NuQuDVOZJt7%2B%2BK0cY%2B7oDLRkhrWmZ5WoNqFdTEMhZ0zQQQ@mail.gmail.com> <CABx9NuRXWEY%2BsBQN==q5YSaPU0f-o_pLQCpQOw1e32w=R0nPsg@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Ilya, I have tried re-compiling with the "corrected" include file in /sys/dev/mmc/mmc.c (#include <cam/mmc/mmcreg.h> ?) I can't include my build output because it's over 200kb in size and Pastebin.com crashes all my browsers here at work. I will email it to you separately. Thanks, Russ ---------- Forwarded message ---------- From: Russell Haley <russ.haley@gmail.com> Date: Fri, Mar 18, 2016 at 12:13 AM Subject: Re: SDIO Patch D4761.diff Not Building For Me To: Ilya Bakulin <ilya@bakulin.de>, freebsd-arm <freebsd-arm@freebsd.org> On Thu, Mar 17, 2016 at 11:08 PM, Russell Haley <russ.haley@gmail.com> wrot= e: > On Thu, Mar 17, 2016 at 10:58 PM, Russell Haley <russ.haley@gmail.com> wr= ote: >> On Thu, Mar 17, 2016 at 11:04 AM, Russell Haley <russ.haley@gmail.com> w= rote: >>> On Thu, Mar 17, 2016 at 10:48 AM, Ilya Bakulin <ilya@bakulin.de> wrote: >>>> On 2016-03-17 18:41, Russell Haley wrote: >>>>> >>>>> On Thu, Mar 17, 2016 at 8:50 AM, Ilya Bakulin <ilya@bakulin.de> wrote= : >>>>>> >>>>>> Hi Russel, >>>>>> >>>>>> I have uploaded a new version of my patch to Phabricator. >>>>>> In this version I have removed all "new" kernel config files as they= are >>>>>> not >>>>>> required to commit the patch. >>>>>> Please use my Github branch to build the code from: >>>>>> https://github.com/kibab/freebsd/tree/mmccam >>>>>> I think now all problems with building should be fixed. >> > Sorry, I think I'm having Github problems. > > if I try to clone the link you provided it gacks: > > # git clone https://github.com/kibab/freebsd/tree/mmccam > Cloning into 'mmccam'... > fatal: repository 'https://github.com/kibab/freebsd/tree/mmccam/' not fou= nd > root@a5e5b565-d3ae-11e5-a511-0c54a518c15b:/usr/git/kibab/src2 # > > > SO I tried cloning just that branch: > > git clone -b mmccam --single-branch https://github.com/kibab/freebsd.git > > but I got an error in > > /usr/git/FreeBSD/sys/dev/mmc/mmc.c > > saying it couldn't find the include dev/mmc/mmcreg.h > > sorry, didn't keep the output. I tried changing it to cam/mmc/mmcreg.h > but it blew up later on. I was able to get back to buildkernel using git checkout. My issues below were due to not rebuilding world. Anyway, mmc.c failed as noted above (missing include). I tried replacing dev/mmc/mmcreg.h with cam/mmc/mmcreg.h without success. The full output is attached. Thanks! Russ > SO THEN I tried just cloning the whole thing: > > git clone https://github.com/kibab/freebsd.git > > and it couldn't find the IMX6 kernel conf as you alluded to above. SO I t= ried > > git checkout mmccam > > and now I get > > make TARGET=3Darm TARGET_ARCH=3Darmv6 KERNCONF=3DIMX6 -j20 buildkernel > --- buildkernel --- > --- buildkernel --- > -------------------------------------------------------------- >>>> Kernel build for IMX6 started on Fri Mar 18 06:00:10 UTC 2016 > -------------------------------------------------------------- > =3D=3D=3D> IMX6 > mkdir -p /usr/obj/arm.armv6/usr/git/kibab/src/sys > -------------------------------------------------------------- >>>> stage 1: configuring the kernel > -------------------------------------------------------------- > cd /usr/git/kibab/src/sys/arm/conf; > PATH=3D/usr/obj/arm.armv6/usr/git/kibab/src/tmp/legacy/usr/sbin:/usr/obj/= arm.armv6/usr/git/kibab/src/tmp/legacy/usr/bin:/usr/obj/arm.armv6/usr/git/k= ibab/src/tmp/legacy/bin:/usr/obj/arm.armv6/usr/git/kibab/src/tmp/usr/sbin:/= usr/obj/arm.armv6/usr/git/kibab/src/tmp/usr/bin:/sbin:/bin:/usr/sbin:/usr/b= in > config -d /usr/obj/arm.armv6/usr/git/kibab/src/sys/IMX6 -I > '/usr/git/kibab/src/sys/arm/conf' > '/usr/git/kibab/src/sys/arm/conf/IMX6' > config: illegal option -- I > usage: config [-CgmpV] [-d destdir] sysname > config -x kernel > *** [buildkernel] Error code 64 > > make[1]: stopped in /usr/git/kibab/src > 1 error > > make[1]: stopped in /usr/git/kibab/src > *** [buildkernel] Error code 2 > > make: stopped in /usr/git/kibab/src > 1 error > > make: stopped in /usr/git/kibab/src > > > Sorry, if I've buggered this. Explicit instructions seem to be in > order at this point. > > Russ > >>>>> Awesome Ilya, I will try your GitHub branch. Will it still build if I >>>>> don't have the source under /usr/src? No matter, I'll try it both >>>>> ways. I believe this already has your freescale patch applied as well >>>>> so it makes my life easier. Although part of the learning experience >>>>> is seeing the diff after the patches are applied. >>>> >>>> >>>> Yes it definitely will build outside of /usr/src. And yes it already h= as all >>>> my work including Freescale patches, + soon there will be Raspberry Pi >>>> related stuff. >>>> I'm thinking about writing a small instruction on compiling and testin= g my >>>> work. >>>> Meanwhile try to follow https://bakulin.de/freebsd/mmccam.html. >>>> >>>> -- >>>> Ilya >>> >>> http://cf067b.medialib.glogster.com/media/b2/b2e20d06e350a2e6f37f9622cd= 18093c7d802a19432835e9e00562b4c5d78a7d/high-five-kitty.jpg >>> >>> Thanks! >>> Russ
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CABx9NuSMK-X%2BvzTBH4bVsFLDFwWuF49t5JU7mzqVErDOMXGEzA>