Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-13.7 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id B71E0C4338F for ; Sat, 24 Jul 2021 01:09:04 +0000 (UTC) Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 9675660E96 for ; Sat, 24 Jul 2021 01:09:03 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 9675660E96 Authentication-Results: mail.kernel.org; dmarc=fail (p=quarantine dis=none) header.from=ti.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=lists.denx.de Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 9EBCE82DC1; Sat, 24 Jul 2021 03:08:59 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=quarantine dis=none) header.from=ti.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=ti.com header.i=@ti.com header.b="IlrMdH1t"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 01B3982DC4; Sat, 24 Jul 2021 03:08:56 +0200 (CEST) Received: from fllv0015.ext.ti.com (fllv0015.ext.ti.com [198.47.19.141]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 018DA82D96 for ; Sat, 24 Jul 2021 03:08:50 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=quarantine dis=none) header.from=ti.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=nm@ti.com Received: from lelv0265.itg.ti.com ([10.180.67.224]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id 16O18mnw070378; Fri, 23 Jul 2021 20:08:48 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1627088928; bh=goHHMzWP+4EntelGCULbXSAHJgqsID+yDUj8tWn/5JQ=; h=Date:From:To:CC:Subject:References:In-Reply-To; b=IlrMdH1t8gwsdxFw1bOpBhtZUzT9zwJL1iIq22mzfxokjGHkr/pW1x19EYZc5YeXf WOgWXgb2d5kIpPkx/VL8vHP4YSBctX9hVlURWfw7laGFy0rXeX2OAJXKS+8PoCmVEu avRnFKfXydnsKHvv8ICaAuhgQ20Zk2OvewpwVW9Y= Received: from DLEE115.ent.ti.com (dlee115.ent.ti.com [157.170.170.26]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 16O18mAf019852 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 23 Jul 2021 20:08:48 -0500 Received: from DLEE108.ent.ti.com (157.170.170.38) by DLEE115.ent.ti.com (157.170.170.26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2176.2; Fri, 23 Jul 2021 20:08:46 -0500 Received: from fllv0040.itg.ti.com (10.64.41.20) by DLEE108.ent.ti.com (157.170.170.38) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2176.2 via Frontend Transport; Fri, 23 Jul 2021 20:08:46 -0500 Received: from localhost (ileax41-snat.itg.ti.com [10.172.224.153]) by fllv0040.itg.ti.com (8.15.2/8.15.2) with ESMTP id 16O18kWT018650; Fri, 23 Jul 2021 20:08:46 -0500 Date: Fri, 23 Jul 2021 20:08:46 -0500 From: Nishanth Menon To: Antoine Naud CC: Ramon Fried , "u-boot@lists.denx.de" Subject: Re: Help with TI-U-BOOT Message-ID: <20210724010846.3xso3ov7s44svllv@exponent> References: <410550feefdb4927bfd8c41ebe7fd282@SVOExch.Opsens.local> <0a61a99c0fd248d89f79b9d3cd8ee216@SVOExch.Opsens.local> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20171215 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.2 at phobos.denx.de X-Virus-Status: Clean On 14:17-20210723, Antoine Naud wrote: > Here is the full list of my commands: > > $ sudo apt-get update > $ sudo apt-get install git-core > $ sudo apt-get install build-essential autoconf automake bison flex libssl-dev bc u-boot-tools python diffstat texinfo gawk chrpath dos2unix wget unzip socat doxygen libc6:i386 libncurses5:i386 libstdc++6:i386 libz1:i386 g++-multilib > $ sudo apt-get update > $ sudo apt-get install python3.8 > $ sudo apt-get install python3-distutils > $ sudo apt-get update > $ sudo dpkg-reconfigure dash > > $ wget https://developer.arm.com/-/media/Files/downloads/gnu-a/9.2-2019.12/binrel/gcc-arm-9.2-2019.12-x86_64-arm-none-linux-gnueabihf.tar.xz > $ tar -Jxvf gcc-arm-9.2-2019.12-x86_64-arm-none-linux-gnueabihf.tar.xz -C $HOME > $ wget https://developer.arm.com/-/media/Files/downloads/gnu-a/9.2-2019.12/binrel/gcc-arm-9.2-2019.12-x86_64-aarch64-none-linux-gnu.tar.xz > $ tar -Jxvf gcc-arm-9.2-2019.12-x86_64-aarch64-none-linux-gnu.tar.xz -C $HOME > > $ git clone git://arago-project.org/git/projects/oe-layersetup.git tisdk > $ cd tisdk > $ ./oe-layertool-setup.sh -f configs/coresdk/coresdk-07.03.00.005-config.txt > $ cd build > $ . conf/setenv > $ export TOOLCHAIN_PATH_ARMV7=$HOME/gcc-arm-9.2-2019.12-x86_64-arm-none-linux-gnueabihf > $ export TOOLCHAIN_PATH_ARMV8=$HOME/gcc-arm-9.2-2019.12-x86_64-aarch64-none-linux-gnu > $ MACHINE=adm437x-evm ARAGO_RT_ENABLE=1 bitbake tisdk-base-image > > $ git clone git://git.ti.com/ti-u-boot/ti-u-boot.git I think you might have missed a step here -> by default when you clone, you get to the master branch which is not aligned with the OE configuration you picked. OE recipes is a bit smarter, and picks a specific commit in a release and builds with it. Since I am familiar with the convention, the branch you are looking for is ti-u-boot-2020.01 So: git checkout ti-u-boot-2020.01 to flip over to the branch that coresdk-07.03.00.05 -> you can even pick the exact tag corresponding to the release if you like. > $ make CROSS_COMPILE=arm-linux-gnueabihf- O=CSCM_build CSCM_defconfig all Hmm.. personally I did'nt know you could mix defconfig and all step in one shot.. but hey, seems to work for me: $ git branch -v master a15fa1ba67d7 Merge tag 'dm-pull-21jul21' of https://gitlab.denx.de/u-boot/custodians/u-boot-dm * ti-u-boot-2020.01 e995ed0ec11b configs: am64x_sk: Drop unused defconfigs $ make -j`nproc` CROSS_COMPILE=arm-linux-gnueabihf- O=CSCM_build am335x_evm_mini_defconfig all [...] COPY spl/u-boot-spl.bin MKIMAGE MLO MKIMAGE MLO.byteswap CFGCHK u-boot.cfg > Now, that said, since there is a bit of a mix of TI conventions involved, i would suggest asking for help in https://e2e.ti.com/ -- Regards, Nishanth Menon Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3 1A34 DDB5 849D 1736 249D