From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-yb1-f170.google.com (mail-yb1-f170.google.com [209.85.219.170]) by mx.groups.io with SMTP id smtpd.web08.9090.1611046642055852348 for ; Tue, 19 Jan 2021 00:57:22 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20161025 header.b=A77H/Xlz; spf=pass (domain: gmail.com, ip: 209.85.219.170, mailfrom: jupiter.hce@gmail.com) Received: by mail-yb1-f170.google.com with SMTP id i141so7777582yba.0 for ; Tue, 19 Jan 2021 00:57:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=2SlW3dVigeJJGP1YqqL1G7x+CL/LCaJGO7Gi+Xt01HY=; b=A77H/Xlz4h1BhVTldrEIlflSuLSL+6NVXzj6bMbi1Tk2b70LFBc08BcsO0Xar63lut 7gMxs6aYqRKnZicFGuh2W4kp/QVRSBG/lzX5783COZ0vd9X4dgiDRdIW2KTjxoWxsgn5 JMBhH+OlVhUCHO4GSq5BCvdlMRYqj2TINmypZ5ODqHcN+zMq1COjZbEttxmVK11FIbYl Ip3nC/zpGfsQLtFyzycN71WVwlcRqGriKslj9NcZusk51eQVsp8GX4VwrIR7LeG60AQo IFCGdja2zbiUIuLt7JY6RKf2hKHVq4C7CfDkDaaS11/hsppqZ2iCOQaA+oEQr8AQHBym h8TA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=2SlW3dVigeJJGP1YqqL1G7x+CL/LCaJGO7Gi+Xt01HY=; b=KST6LWOaotmF7aBTgoQNPepocSik9iuAuH9a2XudzS9ern1A+CxIjv/HM55EIcWZA1 uByozoYorSFI1md/14ELZnCglzx5QgiSr4C2TJWEOlk/Hf+Drs9AtBOVaHdj7yJpLj3x fnHrVpVqrAabl/pFtmSXRYXUQpuDy96wfRZps4JUKOTOXEBkb2Ax5aSg0l3zLWxizjPN 8JO9dHV7iPRPrf2fLMwfrdQCpwgnBwkPpKpGSMG2422sfFbuQ2f/ze6+7l4tfj9lsxIE mz7T6DNtHAYbziu/nmz9jblvR3lMwDZd4u97g7B/DpVvAeEqkendz5ivH6i8H3bnCQVW /kBw== X-Gm-Message-State: AOAM531wxa4nJzDCUcB7mxlV28QejaVWvOFl3FddravS1mxD2Fgm1B7P lrRxdwEYkO9xLKH+4491FY5q9TZeWWeXwn2YB2k= X-Google-Smtp-Source: ABdhPJy4F9jCHUrq7TiTVJMXnCRnWndhcoo1PlMTbzw8ixingPMlTvgxqv61Je6Tf/CRPG4WFNRRJhXjSU2eV5lolL0= X-Received: by 2002:a25:4113:: with SMTP id o19mr4754862yba.156.1611046641289; Tue, 19 Jan 2021 00:57:21 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: "JH" Date: Tue, 19 Jan 2021 19:56:44 +1100 Message-ID: Subject: Re: MTD UBI undefined reference failed to build OE gatesgarth branch To: Tom Hochstein Cc: Lauren Post , Otavio Salvador , Andrey Zhizhikin , Jun Zhu , "meta-freescale@lists.yoctoproject.org" Content-Type: text/plain; charset="UTF-8" Hi Tom, Thanks for your response and help. > In trying to duplicate your issue, as Andrey pointed out, I see that > imx6ullevk.conf does in fact not have support for nand. I'm not sure why, as > we have had it in out meta-imx layer for some time. Yes, indeed I was able to build it on the zeus branch and to work on zeus for a long time. > So I updated imx6ullevk.conf with nand support. It built fine. It is not that problem, I defined nand support in my machine configure already, do you have a build system with bitbake, oe-core (poky) for building gatesgarth branch so I can debug it? > Can you try building with my fork? > > https://github.com/thochstein/meta-freescale Which branch should I build it? I pulled your fork, but I could not find gatesgarth, so I used master branch to build, it still has many undefined references: | /build/YoctoGatesgarth/build/tmp-glibc/work/solar-oe-linux-gnueabi/u-boot-imx/2020.04-r0/git/cmd/ubi.c:478: undefined reference to `mtd_probe_devices' | arm-oe-linux-gnueabi-ld.bfd: /build/YoctoGatesgarth/build/tmp-glibc/work/solar-oe-linux-gnueabi/u-boot-imx/2020.04-r0/git/cmd/ubi.c:479: undefined reference to `get_mtd_device_nm' | arm-oe-linux-gnueabi-ld.bfd: /build/YoctoGatesgarth/build/tmp-glibc/work/solar-oe-linux-gnueabi/u-boot-imx/2020.04-r0/git/cmd/ubi.c:484: undefined reference to `put_mtd_device' | arm-oe-linux-gnueabi-ld.bfd: drivers/built-in.o: in function `ubi_detach_mtd_dev': | /build/YoctoGatesgarth/build/tmp-glibc/work/solar-oe-linux-gnueabi/u-boot-imx/2020.04-r0/git/drivers/mtd/ubi/build.c:1161: undefined reference to `put_mtd_device' Thank you very much. Kind regards, Jupiter