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 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 smtp.lore.kernel.org (Postfix) with ESMTPS id 378B2C77B7F for ; Tue, 16 May 2023 11:21:51 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id DAD8286053; Tue, 16 May 2023 13:21:48 +0200 (CEST) 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=pass (2048-bit key; unprotected) header.d=dooray.com header.i=@dooray.com header.b="k7pkwWVG"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 3FB0E846B5; Tue, 16 May 2023 13:21:47 +0200 (CEST) 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 91C13860FE for ; Tue, 16 May 2023 13:21:35 +0200 (CEST) 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 send002-relay.gov-dooray.com) (211.180.235.153) by 129.254.9.16 with ESMTP; 16 May 2023 20:21:31 +0900 X-Original-SENDERIP: 211.180.235.153 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 send002-relay.gov-dooray.com with SMTP id 31e8a3046463673b; Tue, 16 May 2023 20:21:31 +0900 DKIM-Signature: a=rsa-sha256; b=k7pkwWVG50FkyuhkaBADOIJl0YstFl//FXOQ0tkIcLYRI6G7khnu1qhAN6xw2doZXR8qZykFTx mua88wWd6XcFrhiGwyPOQzd2PcFYsK0kJqJQiRPKlwY5ZoFC3jT+P4q356OYXRfFEq0ZsM2FOQww 8UFr1xWlr/INVwIdzP/Ee3UtVoyBRu0YZBiQ6hdzCYlYCZ3i064IqUCo0YlRUus+UJzWUzYMC98P MEK3g3rtwam5q+L8qeK8vVOTspwMAefC113tiQ33yivdPpROoYiNEm0apNTlFqifjxi+4PQut7lO wY3spZ//GC0vOnw8dnXbNlEVzj9H8uAgoW0T6cqA==; c=relaxed/relaxed; s=selector; d=dooray.com; v=1; bh=U54j3InKYWAB0tnUhVTmlVDJecQIUfMgbM6bsyiZfak=; 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 75ab8bb66463673b; Tue, 16 May 2023 20:21:31 +0900 From: "Chan Kim" To: "U-Boot Mailing List" Subject: In u-boot proper, what function in int_sequence_r list jumps to linux? Date: Tue, 16 May 2023 20:21:30 +0900 Message-ID: <002c01d987e8$903dec40$b0b9c4c0$@etri.re.kr> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Outlook 16.0 Thread-Index: AdmH6IrJ4xS8PI6bT0Gel0VONzCXAw== Content-Language: ko X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 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.8 at phobos.denx.de X-Virus-Status: Clean Hello u-boot experts, On qemu arm64 virt machine, I can start u-boot-spl and it loads u-boot(proper) from RAM ( CONFIG_SPL_RAM_SUPPORT=y, CONFIG_SPL_RAM_DEVICE=y) and executes it. Previously I have used u-boot-spl and used falcon mode to jump directly to linux on qemu virt machine and on actual board, but I had modified u-boot code to skip some parts and forced some parameters(in spl_image? Maybe) arbitrarily to my purpose. This time I'm trying to do u-boot-spl => u-boot => linux without changing u-boot source code. In u-boot-spl case, there is the part where it jumps to linux in the board_init_r function (in common/spl/spl.c). But u-boot(proper) case, in board_init_r function (in common/board_r.c) there is no such jump to linux. It just calls functions in init_sequence_r function pointer array. The array starts with initr_trace and ends with run_main_loop. When I run it, it runs the run_main_loop function and comes out to prompt. My question is : in what function am I supposed to jump to linux? I will appreciate any comment or answer. (using u-boot.v2022.07) Thank you. Chan Kim