Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Mar 2016 22:16:19 -0700
From:      Russell Haley <russ.haley@gmail.com>
To:        Ilya Bakulin <ilya@bakulin.de>, freebsd-arm <freebsd-arm@freebsd.org>
Subject:   Re: Fwd: SDIO Patch D4761.diff Not Building For Me
Message-ID:  <CABx9NuSaWNX3qEwmGdpez-qf8GEjH4%2Bvd3y9tuR1ogZBDzsAng@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
Hi Ilya,

Mixed success tonight. I tried to install the kernel but got an error:

/usr/git/kibab/src% make ARCH=armv6 TARGET_ARCH=armv6 KERNCONF=IMX6MMC
installkernel DESTDIR=/mnt/sdcard

resulted in (The full output is at Pastebin here: http://pastebin.com/uX3GARg4):

===> ipfilter (install)
install -o root -g wheel -m 555   ipl.ko /mnt/sdcard/boot/kernel/
install: ipl.ko: No such file or directory
*** Error code 71

Stop.
bmake[4]: stopped in /usr/git/kibab/src/sys/modules/ipfilter
*** Error code 1

Stop.
bmake[3]: stopped in /usr/git/kibab/src/sys/modules
*** Error code 1

Stop.
bmake[2]: stopped in /usr/obj/arm.armv6/usr/git/kibab/src/sys/IMX6MMC
*** Error code 1

Stop.
bmake[1]: stopped in /usr/git/kibab/src
*** Error code 1

Stop.
make: stopped in /usr/git/kibab/src




SO instead, since it was a working image I just copied the kernel in

root@JailBird:/usr/obj/arm.armv6/usr/git/kibab/src/sys/IMX6MMC% cp
kernel /mnt/sdcard/boot/kernel/


Well, it booted the kernel and then spewed output and eventually ended
with a failed DHCP request (?). Here is the pastebin of said output.

http://pastebin.com/zpZdgsQJ

I'm going to start going through the output. Thanks!

Russ

On Mon, Mar 21, 2016 at 9:54 PM, Russell Haley <russ.haley@gmail.com> wrote:
> 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?CABx9NuSaWNX3qEwmGdpez-qf8GEjH4%2Bvd3y9tuR1ogZBDzsAng>