From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 79993C433F5 for ; Tue, 16 Nov 2021 12:59:42 +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 6E13F61A40 for ; Tue, 16 Nov 2021 12:59:41 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 6E13F61A40 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=etri.re.kr 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 C382B838A5; Tue, 16 Nov 2021 13:59:37 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=fail (p=none dis=none) header.from=etri.re.kr Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=dooray.com header.i=@dooray.com header.b="iTQphzxb"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id E50D88316B; Tue, 16 Nov 2021 11:05:55 +0100 (CET) Received: from mscreen.etri.re.kr (mscreen.etri.re.kr [129.254.9.16]) (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 5FAE08316B for ; Tue, 16 Nov 2021 11:05:49 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=etri.re.kr Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=ckim@etri.re.kr Received: from unknown (HELO send001-relay.gov-dooray.com) (211.180.235.152) by 129.254.9.16 with ESMTP; 16 Nov 2021 19:05:43 +0900 X-Original-SENDERIP: 211.180.235.152 X-Original-MAILFROM: ckim@etri.re.kr X-Original-RCPTTO: u-boot@lists.denx.de Received: from [10.162.225.106] (HELO smtp001-imp.gov-dooray.com) ([10.162.225.106]) by send001-relay.gov-dooray.com with SMTP id a8acad2d61938277; Tue, 16 Nov 2021 19:05:43 +0900 DKIM-Signature: a=rsa-sha256; b=iTQphzxblshAOM99v4YBXFc2GMDUHdAJ2J/ucepBb44oQJc1HZ+a1oVBz0m1zCoKg/B0ow2uYq QJPYMSPruET2daHA/k5XfoMQL29jjlrn1iAlI+BOW4hZcPQr0TmjB0Y0/5kOlln9WMd+odB1jsCM 2jpW8UV4kDuu53riZCmVI2+fZgRhO0+kanCDROuEevXx6lCVc54Ew/XknFM6/Uq5lwtWZ8VM5VOZ DFZk+osL2+tALYnGi1wZp//WxmwMd6tpEskqPeKQRQdCBM7orwm1h5t1z1xnxThkU6UgKDOsqwEi skqg6S9nVEvoiOSqxr6RA+5Tx0Zwqepn63LCMdZw==; c=relaxed/relaxed; s=selector; d=dooray.com; v=1; bh=MSb9wK1yuG21PK/b4EhtX3VyXGDpHvlz2qJi/A7cE0Y=; h=From:To:Subject:Message-ID; Received: from [129.254.132.39] (HELO CHANKIMPC) ([129.254.132.39]) by smtp001-imp.gov-dooray.com with SMTP id 91f8950161938277; Tue, 16 Nov 2021 19:05:43 +0900 From: "Chan Kim" To: "U-Boot Mailing List" Subject: board_init.c file not compiled Date: Tue, 16 Nov 2021 19:05:42 +0900 Message-ID: <071701d7dad1$83eee310$8bcca930$@etri.re.kr> MIME-Version: 1.0 X-Mailer: Microsoft Outlook 16.0 Thread-Index: Adfaz8UjHWHkcFsNQlepSxXMghMU7w== Content-Language: ko X-Mailman-Approved-At: Tue, 16 Nov 2021 13:56:51 +0100 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.35 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.35 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 Hello all, I'm new to u-boot and having difficulty while trying to build u-boot for our test board.(arm64, armv8) I wanted to try the "SPL falcon" mode". The DDR is not ready yet in the board. A small scp chip(cortex-M7) will initialize clk and will load kernel(including initramfs), dtb, u-boot-spl, images to a small internal RAM. And the AP chip will start from the u-boot-spl. (I know some low-level init can be skipped) I added SPL related config settings and ran this command. make CROSS_COMPILE=aarch64-none-elf- ab21m_defconfig make CROSS_COMPILE=aarch64-none-elf- I see "u-boot/arch/arm/lib/crt0_64.S:88: undefined reference to `board_init_f_alloc_reserve'" error during the u-boot build. (not related to SPL). By comparing the build process with that of rk3036 board (arm board with SUPPORT_SPL, no SUPPORT_TPL), I found in my case even common/board_init.c is not compiled. Where should I look? I'm reading the documents or build scripts here and there but can't figure it out. Thank you. Chan Kim