From owner-freebsd-arm@freebsd.org Wed Mar 23 05:16:21 2016 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B6877AB4842 for ; Wed, 23 Mar 2016 05:16:21 +0000 (UTC) (envelope-from russ.haley@gmail.com) Received: from mail-vk0-x236.google.com (mail-vk0-x236.google.com [IPv6:2607:f8b0:400c:c05::236]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 7387D18D1 for ; Wed, 23 Mar 2016 05:16:21 +0000 (UTC) (envelope-from russ.haley@gmail.com) Received: by mail-vk0-x236.google.com with SMTP id e6so5947730vkh.2 for ; Tue, 22 Mar 2016 22:16:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to; bh=WLlnYxM3ly18gjlZv/NUOwnBRrOwAsN1xyh0QX99HCE=; b=FJB4er7ITJkQ5MMJouugHu/thJBM+tOXTkRD03Lhymxpg2EIDN3eY4outolbVe5Lho oq6jUagPkL6krb7I3NhSjfdVmb/u/RS1TsFdCjoeDG/Ltqq6+bkdqcJPaXkbabJ10tIw TVj/Azk72oojSA6nV42jY1VgWQS75AjH8UDAPqpRN7zm6+LTog6H7uGt68ykYGAnWjiF 9CkFbNeU6yMQr82ZzaxyRPTD6C1eB7BXVupWAI034P912pjMBkpYkYU2MHdmZ6M0q/Qa DcGM2vqzRzpMSPl1Nk8BjZOScoIzsOc0tZM4y+QQ4jTZHSVqY7odqmd9sRlWQBYXq34/ tcwQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to; bh=WLlnYxM3ly18gjlZv/NUOwnBRrOwAsN1xyh0QX99HCE=; b=AlhsCISzFU/47bXnDY2uYcjO6Cdlhtp5sGfxQPaAsa9BWrrHVHcVNG5Nuqzxje/0vA jO7qnk8aNk3SjEWIDb+8UaQsofGClqeyUEnddsLYnSfZ+8TF0+vLOSAxyfKWDKsfn1jf ZDozn+dO/TXTxs1ZEXzVQA07/E9xK8FXOwwN9ToG2zkXqcoEwXCxilUAEClR+tpSgNmB Ja6cz/lfOFHcFYUJS9cM6Qx17MUu0ZQprDq62zlWuw0JfMBIW30y6ivjFp9E3fgwSnI8 ZrYFgl7uytT4OX/8rT4g8Gg1YvVaSoQkth9CJYHwblRM5QTKnAS7vXsYwtrs9M5xQa9o jJ6w== X-Gm-Message-State: AD7BkJK9Vy6L0ulj0YbyRPPwOt1DY9VDN4Ig7ZzfJ3F6i5LaMCDoEp7db3BMAiRzp+0fIfoG0/HtbfvJncuRZQ== MIME-Version: 1.0 X-Received: by 10.176.0.139 with SMTP id 11mr488365uaj.36.1458710179162; Tue, 22 Mar 2016 22:16:19 -0700 (PDT) Received: by 10.31.54.13 with HTTP; Tue, 22 Mar 2016 22:16:19 -0700 (PDT) In-Reply-To: References: <5432b449f37a481bc7099fbab25fbd2e@bakulin.de> Date: Tue, 22 Mar 2016 22:16:19 -0700 Message-ID: Subject: Re: Fwd: SDIO Patch D4761.diff Not Building For Me From: Russell Haley To: Ilya Bakulin , freebsd-arm Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Mar 2016 05:16:21 -0000 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 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 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 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 ?) >>>> >>>> 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