Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Mar 2016 21:55:38 -0700
From:      Russell Haley <russ.haley@gmail.com>
To:        freebsd-arm <freebsd-arm@freebsd.org>
Subject:   Fwd: Fwd: SDIO Patch D4761.diff Not Building For Me
Message-ID:  <CABx9NuTvyY_g9qkbp=F8i34EXbGy8tRumN5t1nB3h%2B8rqwsYCw@mail.gmail.com>
In-Reply-To: <CABx9NuRTao6YhdzKPONwKgzfeAN80UmQ060QTf%2Buv18gkHogtg@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> <CABx9NuSMK-X%2BvzTBH4bVsFLDFwWuF49t5JU7mzqVErDOMXGEzA@mail.gmail.com> <5432b449f37a481bc7099fbab25fbd2e@bakulin.de> <CABx9NuQKTFWUoTr2ufXANDo6C2AwLiYC7wd_5wSUg9J7M1Rofg@mail.gmail.com> <CABx9NuRTao6YhdzKPONwKgzfeAN80UmQ060QTf%2Buv18gkHogtg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Ilya,

Adding "MODULES_OVERRIDE=" worked, thanks so much Ilya.  I've got
something early in the morning so it's going to have to wait until
tomorrow night to get tested. :(

make TARGET=arm TARGET_ARCH=armv6 KERNCONF=IMX6MMC MODULES_OVERRIDE=
-j20 buildkernel

....

--- kernel.full ---
linking kernel.full
ctfmerge -L VERSION -g -o kernel.full ...
     text     data       bss       dec        hex   filename
  5852361   317316   1196032   7365709   0x70644d   kernel.full
--- kernel.debug ---
objcopy --only-keep-debug kernel.full kernel.debug
--- kernel ---
objcopy --strip-debug --add-gnu-debuglink=kernel.debug  kernel.full kernel
--------------------------------------------------------------
>>> Kernel build for IMX6MMC completed on Tue Mar 22 04:50:12 UTC 2016
--------------------------------------------------------------

Thanks!

Russ

On Mon, Mar 21, 2016 at 10:17 AM, Russell Haley <russ.haley@gmail.com> wrote:
> Ilya,
>
> Sorry, I forgot that you had proper instructions (got lost in all the
> emails I guess?). I'll try this again as soon as possible.
>
> Thanks,
>
> Russ
>
> On Sun, Mar 20, 2016 at 7:43 AM, Ilya Bakulin <ilya@bakulin.de> wrote:
>> On 2016-03-18 20:06, Russell Haley wrote:
>>>
>>> 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
>>
>>
>> Please use IMX6MMC kernel config file, it has all necessary modifications.
>> dev/mmc/mmc.c should not be built at all because it's the old MMC stack
>> implementation. If it fails, try adding "MODULES_OVERRIDE=" when calling
>> make, because we don't need any modules anyway.
>>
>> I have updated instructions on https://bakulin.de/freebsd/mmccam.html to
>> include kernel config names.
>>
>> --
>> Ilya



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CABx9NuTvyY_g9qkbp=F8i34EXbGy8tRumN5t1nB3h%2B8rqwsYCw>