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 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 E5452EB64D9 for ; Thu, 6 Jul 2023 22:54:17 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 9EE6686398; Fri, 7 Jul 2023 00:54:15 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=samsung.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=samsung.com header.i=@samsung.com header.b="fEkT8CSb"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id E671586387; Fri, 7 Jul 2023 00:54:13 +0200 (CEST) Received: from mailout3.samsung.com (mailout3.samsung.com [203.254.224.33]) (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 E474B86398 for ; Fri, 7 Jul 2023 00:54:04 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=samsung.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=jh80.chung@samsung.com Received: from epcas1p2.samsung.com (unknown [182.195.41.46]) by mailout3.samsung.com (KnoxPortal) with ESMTP id 20230706225358epoutp03bc595ed0bd5b82536faa3467a9a3ea9f~vaS_sG2zs3108131081epoutp03Z for ; Thu, 6 Jul 2023 22:53:58 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout3.samsung.com 20230706225358epoutp03bc595ed0bd5b82536faa3467a9a3ea9f~vaS_sG2zs3108131081epoutp03Z DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1688684038; bh=Dryw9jnVJokJ6TZr4q5+8EbLRItpzBNiWUAKhLaUc7Q=; h=From:To:Cc:In-Reply-To:Subject:Date:References:From; b=fEkT8CSbA3ygwrbp4PHg1vsSvd5BVy+eR75LaPjavLludZF5CNELM0qNZeAzvaZQj 3n/hJK+ldLPewtnO66yw/tkw3vGYuGRq8expwUkW4gpPL82fl7CesFt9m0DP6jjOZE FdqyBVbZVCvlD60i//LMWDEhhkgjDjy570JO9EFI= Received: from epsnrtp4.localdomain (unknown [182.195.42.165]) by epcas1p4.samsung.com (KnoxPortal) with ESMTP id 20230706225358epcas1p4798f06d2c588ba6352c88fe69fe98c72~vaS_SLtGB2748527485epcas1p4U; Thu, 6 Jul 2023 22:53:58 +0000 (GMT) Received: from epsmges1p1.samsung.com (unknown [182.195.38.237]) by epsnrtp4.localdomain (Postfix) with ESMTP id 4QxsK13C2Nz4x9Px; Thu, 6 Jul 2023 22:53:57 +0000 (GMT) Received: from epcas1p4.samsung.com ( [182.195.41.48]) by epsmges1p1.samsung.com (Symantec Messaging Gateway) with SMTP id 75.21.33652.50647A46; Fri, 7 Jul 2023 07:53:57 +0900 (KST) Received: from epsmtrp2.samsung.com (unknown [182.195.40.14]) by epcas1p1.samsung.com (KnoxPortal) with ESMTPA id 20230706225357epcas1p1868bc9166f104dc6ad756b208e8f7e2a~vaS9MH_EE2045120451epcas1p1l; Thu, 6 Jul 2023 22:53:57 +0000 (GMT) Received: from epsmgms1p2new.samsung.com (unknown [182.195.42.42]) by epsmtrp2.samsung.com (KnoxPortal) with ESMTP id 20230706225357epsmtrp2c4f6148ff0e6eeb579ae547f17bb7205~vaS9LYgRl0437504375epsmtrp2G; Thu, 6 Jul 2023 22:53:57 +0000 (GMT) X-AuditID: b6c32a35-1fffd70000008374-15-64a746058201 Received: from epsmtip1.samsung.com ( [182.195.34.30]) by epsmgms1p2new.samsung.com (Symantec Messaging Gateway) with SMTP id 5F.6A.30535.40647A46; Fri, 7 Jul 2023 07:53:56 +0900 (KST) Received: from jh80chung01 (unknown [10.113.111.84]) by epsmtip1.samsung.com (KnoxPortal) with ESMTPA id 20230706225356epsmtip1dc4586af421efef509ece631b48bbf3f~vaS88qn8h2372623726epsmtip1T; Thu, 6 Jul 2023 22:53:56 +0000 (GMT) From: "Jaehoon Chung" To: =?UTF-8?Q?'Pali_Roh=C3=A1r'?= , "'Tom Rini'" Cc: "'Peng Fan'" , "'Stefan Roese'" , In-Reply-To: <20230706173922.3nixe6ruolis6s25@pali> Subject: RE: [PATCH u-boot 0/4] mmc: Explain and cleanup partition selection Date: Fri, 7 Jul 2023 07:53:56 +0900 Message-ID: <03a701d9b05c$beca2960$3c5e7c20$@samsung.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Outlook 16.0 Content-Language: ko Thread-Index: AQLX2RzxVRTRvp7osm1Ga4rwBUHM3wEEJT2GAjYhAYEB9UmEPQHvsKVRrXgNIwA= X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFupnk+LIzCtJLcpLzFFi42LZdljTQJfVbXmKwa+DYhYL9pxms/ix6gur xcl1H5gspk7azG7xdm8nuwOrx7xZJ1g8Nq3qZPN4dWAVu8fZOzsYPTa+28EUwBqVbZORmpiS WqSQmpecn5KZl26r5B0c7xxvamZgqGtoaWGupJCXmJtqq+TiE6DrlpkDtF1JoSwxpxQoFJBY XKykb2dTlF9akqqQkV9cYquUWpCSU2BaoFecmFtcmpeul5daYmVoYGBkClSYkJ1xqPcHS8Fm pYq+3nlsDYzbFLsYOTkkBEwkVpxbzdTFyMUhJLCDUeLgxBdMIAkhgU+MEltPJ0EkvjFKnL+3 lA2m49u5ZlaIxF5GiQ2rV7NDOC8ZJc4dP8UOUsUmoCfxf9FCZhBbRCBC4lT3ebBuZoEYiZ3X VwB1c3BwChhLfN8HViIs4COx8GczI4jNIqAiMWHFNFY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CA2s0CcxJSdk9gg GtqZJFr/b2IEGcQpYCzxfR9YvbCAj8TCn81gu1gEVCQmrJgGNpNXwFLi/vJPzBC2oMTJmU9Y IGZqS/Q+bGWEsZctfM0McaeCxM+ny1gh4iISszvboO7xk3h8awLTBEbhWUhGzUIyahaSUbOQ tC9gZFnFKJlaUJybnltsWGCUl1quV5yYW1yal66XnJ+7iREcOVpaOxj3rPqgd4iRiYPxEKME B7OSCO+xM8tShHhTEiurUovy44tKc1KLDzFKc7AoifN+e92bIiSQnliSmp2aWpBaBJNl4uCU amAq/Mv00N+gsiz75GyNRctYvI+sXe3Nsy6c3/lOd5jX/2fTypsEufjf+K2p3WYmrhbV1B7f HX3ta9GEyvc3H/5h8qs9XTK9+Nxrtzh9kR8t5b80115MU1Ja+2pnpM0C23/WF2e/3W5dPOdR kfN2n0vuzOL/uj9Y1+Yobdk7dYEgY9oUGVX/WK8XX9PetF1bLrp7W9xJCQOulcef+NUKNDv/ UncTsb3Tq5L8wNWI5a7kXoXDCxdxGhRZ6b8z1Hja4rqrnOffaf5vCjmzu/0eCZ0TD95Su39p gNBszT8BYhf2GoZGfPFitvvWk/dRW/1Eu4z4zSmXSou3VOzbsmt9zd+Sy/90rULnr3xo8HSe /0ElluKMREMt5qLiRAAZqrM7CwMAAA== X-CMS-MailID: 20230706225357epcas1p1868bc9166f104dc6ad756b208e8f7e2a X-Msg-Generator: CA Content-Type: text/plain; charset="utf-8" X-Sendblock-Type: SVC_REQ_APPROVE CMS-TYPE: 101P DLP-Filter: Pass X-CFilter-Loop: Reflected X-CMS-RootMailID: 20230703121637epcas1p38475ee827947796e877335866979abcb References: <20230413211057.10975-1-pali@kernel.org> <38d6a7fe-7a85-750f-5609-51a902494a63@samsung.com> <20230706105034.fj243i473ks3t3sn@pali> <20230706173922.3nixe6ruolis6s25@pali> 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 Hi > -----Original Message----- > From: Pali Roh=C3=A1r=20=0D=0A>=20Sent:=20Friday,=20Ju= ly=207,=202023=202:39=20AM=0D=0A>=20To:=20Jaehoon=20Chung=20;=20Tom=20Rini=20=0D=0A>=20Cc:=20Peng=20Fa= n=20;=20Stefan=20Roese=20;=20u-boot=40lis= ts.denx.de=0D=0A>=20Subject:=20Re:=20=5BPATCH=20u-boot=200/4=5D=20mmc:=20Ex= plain=20and=20cleanup=20partition=20selection=0D=0A>=20=0D=0A>=20On=20Thurs= day=2006=20July=202023=2012:50:34=20Pali=20Roh=C3=A1r=20wrote:=0D=0A>=20>= =20On=20Monday=2003=20July=202023=2021:16:37=20Jaehoon=20Chung=20wrote:=0D= =0A>=20>=20>=20Hi,=0D=0A>=20>=20>=0D=0A>=20>=20>=20On=204/14/23=2006:10,=20= Pali=20Roh=C3=A1r=20wrote:=0D=0A>=20>=20>=20>=20Some=20people=20do=20not=20= want=20to=20read=20review=20comments=20in=20emails.=20So=20put=0D=0A>=20>= =20>=20>=20comments=20and=20explanation=20into=20the=20source=20code=20itse= lf;=20make=20emmc=0D=0A>=20>=20>=20>=20partition=20selection=20code=20more= =20explicit=20and=20validate=20configuration=20in=0D=0A>=20>=20>=20>=20bubt= =20command.=0D=0A>=20>=20>=0D=0A>=20>=20>=20Sorry=20for=20too=20late.=0D=0A= >=20>=20>=20After=20applied=20this=20patch-set,=20some=20board=20are=20fail= ed=20with=20spl's=20size=20overflowed=0D=0A>=20>=20>=0D=0A>=20>=20>=20The= =20below=20is=20one=20of=20failed=20log.=0D=0A>=20>=20>=0D=0A>=20>=20>=20+a= rm-linux-gnueabi-ld.bfd:=20region=20=60.sram'=20overflowed=20by=20352=20byt= es=0D=0A>=20>=20>=20+make=5B2=5D:=20***=20=5Bscripts/Makefile.spl:527:=20sp= l/u-boot-spl=5D=20Error=201=0D=0A>=20>=20>=20+make=5B1=5D:=20***=20=5BMakef= ile:2049:=20spl/u-boot-spl=5D=20Error=202=0D=0A>=20>=0D=0A>=20>=20Crap,=20a= nd=20again=20we=20have=20there=20same=20issue.=20Patch=20after=20months=20d= oes=20not=0D=0A>=20>=20apply=20anymore.=20And=20resending=20the=20patch=20w= ould=20again=20result=20in=20the=20same=0D=0A>=20>=20problem=20that=20it=20= would=20not=20apply=20anymore=20after=20half=20of=20the=20year...=0D=0A>=20= =0D=0A>=20Here=20is=20v2=20patch=20with=20simple=20fix=20for=20that=20platf= orm:=0D=0A>=20https://protect2.fireeye.com/v1/url?k=3Dbec9bc29-df42a906-bec= 83766-74fe485cbfe7-=0D=0A>=202e40f47b53afb09d&q=3D1&e=3De8f6a6f2-8f6f-4bf1-= 9b91-=0D=0A>=203f71d3577fc7&u=3Dhttps%3A%2F%2Fpatchwork.ozlabs.org%2Fprojec= t%2Fuboot%2Fpatch%2F20230706173502.2796-1-=0D=0A>=20pali%40kernel.org%2F=0D= =0A>=20=0D=0A>=20And=20it=20passed=20_now_=20CI=20pipeline:=0D=0A>=20https:= //protect2.fireeye.com/v1/url?k=3D543f3751-35b4227e-543ebc1e-74fe485cbfe7-= =0D=0A>=20ff5f636a3c274f12&q=3D1&e=3De8f6a6f2-8f6f-4bf1-9b91-3f71d3577fc7&u= =3Dhttps%3A%2F%2Fgithub.com%2Fu-boot%2Fu-=0D=0A>=20boot%2Fpull%2F340=0D=0A>= =20=0D=0A=0D=0AThanks=20for=20sharing=20it.=20=0D=0A=0D=0ABest=20Regards,= =0D=0AJaehoon=20Chung=0D=0A=0D=0A>=20>=0D=0A>=20>=20Anyway,=20only=20first= =20patch=20is=20SPL=20specific,=20other=20should=20apply=20without=20any=0D= =0A>=20>=20problem.=0D=0A>=20>=0D=0A>=20>=20>=0D=0A>=20>=20>=20Best=20Regar= ds,=0D=0A>=20>=20>=20Jaehoon=20Chung=0D=0A>=20>=20>=0D=0A>=20>=20>=20>=0D= =0A>=20>=20>=20>=20Pali=20Roh=C3=A1r=20(4):=0D=0A>=20>=20>=20>=20=20=20mmc:= =20spl:=20Make=20partition=20choice=20in=0D=0A>=20>=20>=20>=20=20=20=20=20d= efault_spl_mmc_emmc_boot_partition()=20more=20explicit=0D=0A>=20>=20>=20>= =20=20=20cmd:=20mvebu/bubt:=20Validate=20EXT_CSD=5B179=5D=20eMMC=20register= =20in=0D=0A>=20>=20>=20>=20=20=20=20=20mmc_burn_image()=0D=0A>=20>=20>=20>= =20=20=20sunxi:=20eMMC:=20Add=20comments=20explaining=20mapping=20between= =20bootpart=20and=0D=0A>=20>=20>=20>=20=20=20=20=20mmc_switch_part()=0D=0A>= =20>=20>=20>=20=20=20board:=20purism:=20Use=20U-Boot=20mmc=20function=20for= =20converting=20boot=20part=20to=0D=0A>=20>=20>=20>=20=20=20=20=20part=20ac= cess=0D=0A>=20>=20>=20>=0D=0A>=20>=20>=20>=20=20arch/arm/mach-sunxi/board.c= =20=20=20=20=7C=2012=20++++++++++-=0D=0A>=20>=20>=20>=20=20board/purism/lib= rem5/librem5.c=20=7C=20=206=20+-----=0D=0A>=20>=20>=20>=20=20cmd/mvebu/bubt= .c=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=7C=2024=20+++++++++++++++++= ++--=0D=0A>=20>=20>=20>=20=20common/spl/spl_mmc.c=20=20=20=20=20=20=20=20= =20=20=20=7C=2038=20+++++++++++++++++++++++++++-------=0D=0A>=20>=20>=20>= =20=204=20files=20changed,=2064=20insertions(+),=2016=20deletions(-)=0D=0A>= =20>=20>=0D=0A=0D=0A