From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=209.85.208.53 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1795436282; b=yuzSU8Hsm3Oz5epaMcONz15XoMQJnadZGmKJlMSGnTjfuNquUPmqBIpvcAKpRkl5rWNr 0tPIM9AwcweuvnXI19VIz1wN9Zbuy8ZQfCa+abBhqunnrcNC1D8YmQiQ5Ys6tVWzZFhWa k0pmiEGUUJXXbbu2eMkhr5ZEdPHhMz7hKqY33nTTHWZ7EMepXLO//4RRjbPQfYMThNkG9 l5ylzFdUVjRTQ5SyUKbxzl7tzOSKaolc+n2soA81lDek0q0ZExYSju2fFwYMOum5uBufG BNBJcVE2w3JQQINWwt8dbT/QkfhJ6tmXGP4JIB54rgw5G8Bap9YN5djV5MCTtVktZXQ== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795436282; h=DMARC-Filter:Received:DKIM-Signature:X-Google-DKIM-Signature: X-Forwarded-Encrypted:X-Gm-Message-State:X-Gm-Gg:X-Received:Received: Mime-Version:Content-Transfer-Encoding:Content-Type:Date:Message-Id: Cc:Subject:From:To:X-Mailer:References:In-Reply-To; bh=a88ULBFAQx4LAiXbEAQvfvekeJqnITJpUHZuo0L1DZQ=; b=cK3Qq4pJaIInI7XB3hZspgakmInw2GuxNobbgZCJ3U99aim8qiuXuSrDwlVxqhOiAg/R wg1DTbP9Lkd7nf1sECVLIT1RzWdW0weCI14oSQVfjuqOmCUSCkrrWRsKu2Vk3ufBBgImv oAm9zvH/wu8ll9BzCLwolseILu3vP4c6OwK0TBi94LZogB2WKaXYXWW9PmeO0dfx8xRnz PiervPvIvkqQHfDbcmVKLCEbFoH42/pyblAOzgfV0L111DA1eSqwGyiS37pG7v7kjQ/FS SOFYCxynbrfVxqaxVoYXVLQZ78gVFpfW/U1e5vQMD2MU1QrXtAZbw5pAmFV1egpmFdA== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20260707 header.b=d6YfVoas; arc=none smtp.remote-ip=209.85.208.53 Received: from mail-ed1-f53.google.com (mail-ed1-f53.google.com [209.85.208.53]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C37D6606A327 for ; Mon, 23 Nov 2026 12:18:01 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org C37D6606A327 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20260707 header.b=d6YfVoas Received: by mail-ed1-f53.google.com with SMTP id 4fb4d7f45d1cf-6bab10844b5so1449714a12.1 for ; Mon, 23 Nov 2026 04:18:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1795436280; x=1796041080; darn=vger.kernel.org; h=in-reply-to:references:to:from:subject:cc:message-id:date :content-type:content-transfer-encoding:mime-version:from:to:cc :subject:date:message-id:reply-to:content-type; bh=a88ULBFAQx4LAiXbEAQvfvekeJqnITJpUHZuo0L1DZQ=; b=d6YfVoaswLbKwgD3P19bFRJ7ZURGLAM6cgUFg1Az7CArc+wqW7p9oN5XEDfz/OWZM7 BNhsP3uqnO00vH5pTASrYPmILCkbDfnqyXbzN1aOLyXO8gKYRq0+8PPp6XSsqmClS/8y QKiU2lH2JXFvZ/cONB9A/We4EBus2jE8TIhb0YJYYCNbsds4KUlnma5I/AYVFUNggDM7 VwxyJX7CVMT991m7EQNBh0qTSsWXSpLL8PQg+qDdReUbN6U2+9KdXOVGrc0vAuPLIv2T 56SIttjVScC5XssqtGrOHAGAyglgIEmqbhLOnpJbhijs2+qCpmOi+mgWNmrU6hfO5c0h qjNA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1795436280; x=1796041080; h=in-reply-to:references:to:from:subject:cc:message-id:date :content-type:content-transfer-encoding:mime-version:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to :content-type; bh=a88ULBFAQx4LAiXbEAQvfvekeJqnITJpUHZuo0L1DZQ=; b=iNappTy10RtihGYwwZY+IOCDWgyIHAeASmP1D4RZ+esWAC2PSmTJ6RKnjwLGxqtb6F KoTzgVC+IOLwor3zz9hpSTWVaOVIpLKTYj/VwzGeRLj4jI6IAsmPwQOa9wiTD5O3B+rB ie+0U+12+3u2lPa3yEdA57oCpms7cPOR/wJAcQEaPfheEaBJmioGfE7x8xDNmQ7ghswr HpaKIkFqHDGetb4msnv9wgTneOLMS2PfvTOQKmu9aY9hNYQ16ZpO5E+S/uF0aGYXzBAw FUPM0VxvGt41ZYb1wU45JG0j0s1uzioFaMRHSQYtZ7vGR77JlDd5W+IXITg4YdAw5Xsz GKzQ== X-Forwarded-Encrypted: i=1; AL+hErEdH0gZ+4TtnQ64KUAvu5XMDI4rRVPZLkwxyQSnKaP08eFOixevHtaioDvecnvBz2U4KXdS6rcU5T9L@vger.kernel.org X-Gm-Message-State: APuU4Z+9HdWZBBhDLjhZF3Dh1Ohs2pzLIIAPX90FLOPR0/CrKxRhL6t+ IG8H5qqminw0wyc//6Bu3Lb3bUyA2ntIU++/WweMgsoT5707QWmGhdjlg3X73W6clmRiLLMNBuE = X-Gm-Gg: AZFdTZfPGiuIxTceklftlSFejQjClpZ5uMRe2B37Yq6SFG+3XYBFd5G6/yyt0nePICe J6nkvwGw4EWTIQKWxL49oaOak3YgB84ZmD5/s0oxikANC9lzHg59wqiGjTBlZ/FqvN6RfhEnix9 SZb0S4fjSYuXd61hwx0/FMb6SDKAXbIFKF/YJZaYuRmy6EygS3dQgYwU200c4wV1Et9l/7iHfPF auudhv43zFKw3kyHwgdYSm+ssMb6uFXgnaZvARuN/rTDxWDp8ySNIynbj294JxR4aph2/WHkaeb 7PoTUmJ6oMMm/EpM8Nu3WWuUquwo2ZoRktjD9N3L+XXyehJVwL3jTp0vdLGVeGqj4gwmV5J9ivs g19n5b8Do3gGrBdyxT8V6IRtp3vxOMJUXxB53BIQJU48VwM56++bpRNWRxT1MhGcGI1w/zVieHN e4rqKVAkIN+wNKsJVPmS5O/DhjNIytXQnV+gC0rseip/vIzsByQussexlu9jQncxZ0Hq08QANxy FW+mgKpeQ04AYxLutghWknu2/dFHba2aOo4fL3J5yrtmrgYmpRNP5Yelmwm4TGDSZDUybOLzkVm e/wh7qkyUy1N62I4IpiwD0VdClBNwIPZS6o6cW5KA/RuOS0qUb+lztVO X-Received: by 2002:a17:907:6d26:b0:c51:50c9:741c with SMTP id a640c23a62f3a-c5150c98208mr692273566b.10.1795436279974; Mon, 23 Nov 2026 04:17:59 -0800 (PST) Received: from localhost ([50.7.123.82]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-c513aec5115sm397263266b.51.2026.11.23.04.17.57 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 23 Nov 2026 04:17:59 -0800 (PST) X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 Date: Mon, 23 Nov 2026 15:17:55 +0300 Message-Id: Cc: "Rob Herring" , "Krzysztof Kozlowski" , "Conor Dooley" , "Matthias Brugger" , "AngeloGioacchino Del Regno" , "Sean Wang" , "Greg Kroah-Hartman" , "Jiri Slaby" , "Daniel Lezcano" , "Thomas Gleixner" , "Mattijs Korpershoek" , "Dmitry Torokhov" , "Kees Cook" , "Tony Luck" , "Guilherme G. Piccoli" , , , , , , , , "Krzysztof Kozlowski" , "Conor Dooley" Subject: Re: [PATCH v3 0/7] arm64: mediatek: Add initial MT6895 and Xiaomi Poco X4 GT support From: "Alexander Letuchiy" To: "Roman Vivchar" X-Mailer: aerc 0.22.0-0-gc2f86b7abde3 References: <20261123-initial-mt6895-v3-0-95c46597e63d@gmail.com> In-Reply-To: On Mon Nov 23, 2026 at 3:04 PM MSK, Roman Vivchar wrote: > On Monday, November 23rd, 2026 at 1:59 PM, Alexander Letuchiy wrote: > >> Hi Roman, >>=20 >> On Mon Nov 23, 2026 at 2:41 PM MSK, Roman Vivchar wrote: >> > > Bootloader dependency >> > > --------------------- >> > > This was tested with a modified LK bootloader that is not public. >> > >> > How are other xaga users supposed to boot the kernel? You might want t= o >> > port uniLoader instead, or if you're on an old enough security patch y= ou >> > can even replace stock LK with U-Boot. U-Boot chainloading is also >> > possible. >>=20 >> Right now I am replacing the stock LK with a modified one that knows >> how to handle mainline DTs without expecting downstream Android nodes. > > LK is known to mess up GPIO and clock state. The earlier you replace LK > the better. > >>=20 >> In an ideal world, I would like to replace LK directly with U-Boot as >> you suggested, though U-Boot chainloading or uniLoader are also valid >> options. Luckily, the security patch level isn't really a concern here = =E2=80=94 >> xaga is already EOL and hasn't received official firmware updates for a >> while, so LK replacement works across the final stock builds. I >> definitely plan to look into a proper open bootloader setup for other >> users in the future. > > You can take a look at mt6768. It's not upstream, but we replace U-Boot > and TF-A with custom forks, as well as provide tooling to prepend > meditek-specific headers for the latter. > > Best regards, > Roman Thanks for the pointers and the mt6768 reference, I'll check it out. Best regards, Alexander