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 6AD04C4332F for ; Mon, 19 Dec 2022 03:37:05 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 3571284F2C; Mon, 19 Dec 2022 04:37:03 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=quarantine dis=none) header.from=mediatek.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=mediatek.com header.i=@mediatek.com header.b="VCtQaFYA"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 3926184DEB; Mon, 19 Dec 2022 04:37:01 +0100 (CET) Received: from mailgw02.mediatek.com (unknown [210.61.82.184]) (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 2B55B81A10 for ; Mon, 19 Dec 2022 04:36:55 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=quarantine dis=none) header.from=mediatek.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=macpaul.lin@mediatek.com X-UUID: f723e71142974786be9dd54a5d65efc3-20221219 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=Content-Transfer-Encoding:Content-Type:In-Reply-To:From:References:CC:To:Subject:MIME-Version:Date:Message-ID; bh=7N0U+eL0KKsHSauWMbfCiK+A3jNt5/9NM9+83JnaAE8=; b=VCtQaFYARPUBniiaEuPc0+Ckcw767/Rjh8G3egrbF9y3IR9nJY92dvDGULaMEolzIwLyghMEK8AGxxAjccvl+nuhhP+UBSg0eMc/g0xIrMy+QR8Z6gDRJ/zEPbBeJ+NQFlshxOiuzhCFYU5UBXzn5CgK+IJTCKCRS19T+lM1vDk=; X-CID-P-RULE: Release_Ham X-CID-O-INFO: VERSION:1.1.14, REQID:09dab1fb-9291-4b80-b7ad-40808d105d98, IP:0, U RL:0,TC:0,Content:0,EDM:0,RT:0,SF:45,FILE:0,BULK:0,RULE:Release_Ham,ACTION :release,TS:45 X-CID-INFO: VERSION:1.1.14, REQID:09dab1fb-9291-4b80-b7ad-40808d105d98, IP:0, URL :0,TC:0,Content:0,EDM:0,RT:0,SF:45,FILE:0,BULK:0,RULE:Release_Ham,ACTION:r elease,TS:45 X-CID-META: VersionHash:dcaaed0, CLOUDID:b07745f3-ff42-4fb0-b929-626456a83c14, B ulkID:2212191136493NTTMR8P,BulkQuantity:0,Recheck:0,SF:28|17|19|48|102,TC: nil,Content:0,EDM:-3,IP:nil,URL:11|1,File:nil,Bulk:nil,QS:nil,BEC:nil,COL: 0 X-UUID: f723e71142974786be9dd54a5d65efc3-20221219 Received: from mtkcas10.mediatek.inc [(172.21.101.39)] by mailgw02.mediatek.com (envelope-from ) (Generic MTA with TLSv1.2 ECDHE-RSA-AES256-SHA384 256/256) with ESMTP id 966625042; Mon, 19 Dec 2022 11:36:48 +0800 Received: from mtkmbs13n1.mediatek.inc (172.21.101.193) by mtkmbs13n2.mediatek.inc (172.21.101.108) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.792.15; Mon, 19 Dec 2022 11:36:46 +0800 Received: from [172.21.84.99] (172.21.84.99) by mtkmbs13n1.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.2.792.15 via Frontend Transport; Mon, 19 Dec 2022 11:36:45 +0800 Message-ID: <36dfce60-0e34-781e-8d9e-93b87a273e5a@mediatek.com> Date: Mon, 19 Dec 2022 11:36:44 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.9.1 Subject: Re: [PATCH v3 2/2] board: mediatek: add mt8195 demo board Content-Language: en-US To: Tom Rini CC: Chunfeng Yun , "fparent @ baylibre . com" , "marex @ denx . de" , "sjg @ chromium . org" , "marcel . ziswiler @ toradex . com" , "aouledameur @ baylibre . com" , "frieder . schrempf @ kontron . de" , "philippe . reynes @ softathome . com" , "u-boot @ lists . denx . de" , GSS_MTK_Uboot_upstream , "william . zhang @ broadcom . com" , "samuel @ sholland . org" , "festevam @ denx . de" , Weijie Gao , Ryder Lee , "paul . liu @ linaro . org" , Miles Chen , Bear Wang , Pablo Sun , Macpaul Lin References: <20221108032149.22447-1-macpaul.lin@mediatek.com> <20221110073453.28110-1-macpaul.lin@mediatek.com> <20221110073453.28110-2-macpaul.lin@mediatek.com> <20221212165304.GA2141545@bill-the-cat> <20221212185305.GA3787616@bill-the-cat> <20221212190219.GC3787616@bill-the-cat> From: Macpaul Lin In-Reply-To: <20221212190219.GC3787616@bill-the-cat> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 8bit 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.6 at phobos.denx.de X-Virus-Status: Clean On 12/13/22 03:02, Tom Rini wrote: > On Mon, Dec 12, 2022 at 01:53:05PM -0500, Tom Rini wrote: >> On Mon, Dec 12, 2022 at 11:53:04AM -0500, Tom Rini wrote: >>> On Thu, Nov 10, 2022 at 03:34:53PM +0800, Macpaul Lin wrote: >>> >>>> From: Fabien Parent >>>> >>>> Add mt8195-demo board support. >>>> This demo purpose board uses MediaTek's MT8195 SoC. >>>> >>>> Signed-off-by: Fabien Parent >>>> Signed-off-by: Amjad Ouled-Ameur >>>> Signed-off-by: Macpaul Lin >>> [snip] >>>> +#include >>>> + >>>> +#define CONFIG_SYS_NS16550_SERIAL >>>> +#define CONFIG_SYS_NS16550_REG_SIZE -4 >>>> +#define CONFIG_SYS_NS16550_MEM32 >>>> +#define CONFIG_SYS_NS16550_COM1 0x11002000 >>>> +#define CONFIG_SYS_NS16550_CLK 26000000 >>> >>> This is unused, I believe. But when trying to build with current next I >>> get: >>> Error: Load Address must be set. >>> Error: Bad parameters for image type >>> >>> Please rebase on top of current next and repost, thanks! Thanks for the information, will send patch v4 later. >> >> Sorry for the noise, this failed due to another patch that needs to be >> reworked instead. > > Welp, I should have finished my re-testing. The patch that broke > phycore-rk3288 and I assumed broke this platform too, did not break this > platform, there's still some other problem here. > I've tested it on uboot/next and got the following result. $ make ARCH=arm phycore-rk3288_defconfig $ make ARCH=arm scripts/kconfig/conf --syncconfig Kconfig UPD include/config.h CFG u-boot.cfg GEN include/autoconf.mk GEN include/autoconf.mk.dep CFG spl/u-boot.cfg GEN spl/include/autoconf.mk UPD include/config/uboot.release UPD include/generated/version_autogenerated.h UPD include/generated/timestamp_autogenerated.h UPD include/generated/dt.h ENVC include/generated/env.txt ENVP include/generated/env.in ENVT include/generated/environment.h CC lib/asm-offsets.s cc1: error: bad value (‘generic-armv7-a’) for ‘-mtune=’ switch cc1: note: valid arguments to ‘-mtune=’ switch are: nocona core2 nehalem corei7 westmere sandybridge corei7-avx ivybridge core-avx-i haswell core-avx2 broadwell skylake skylake-avx512 bonnell atom silvermont slm knl intel x86-64 eden-x2 nano nano-1000 nano-2000 nano-3000 nano-x2 eden-x4 nano-x4 k8 k8-sse3 opteron opteron-sse3 athlon64 athlon64-sse3 athlon-fx amdfam10 barcelona bdver1 bdver2 bdver3 bdver4 znver1 btver1 btver2 generic scripts/Makefile.build:147: recipe for target 'lib/asm-offsets.s' failed make[1]: *** [lib/asm-offsets.s] Error 1 Makefile:1932: recipe for target 'prepare0' failed make: *** [prepare0] Error 2 I'm not sure should I test it on custodian tree: arm/next, too. This failure seems not related to the 2nd patch of mt8195-demo board. Thanks Macpaul Lin