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 9E60AECAAD5 for ; Sun, 4 Sep 2022 01:29:32 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 34CB483FB5; Sun, 4 Sep 2022 03:29:30 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=kernel.org 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=kernel.org header.i=@kernel.org header.b="prQQ/YCH"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 2F76F84382; Sun, 4 Sep 2022 03:29:29 +0200 (CEST) Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) (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 A99C1839C3 for ; Sun, 4 Sep 2022 03:29:26 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=kernel.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=pali@kernel.org Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 47B1A60E08 for ; Sun, 4 Sep 2022 01:29:25 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 86867C433C1 for ; Sun, 4 Sep 2022 01:29:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1662254964; bh=yJz3R0ItgVAQmnGCFPnteLsdjHB8qoPRNVbz846aJuM=; h=From:To:Subject:Date:From; b=prQQ/YCHOUWrCIMsarhtJuThefxlHa4mdqcusoC2FYgXhHiQnVshL8q3u9BZlhYM8 4cRqIeTZfybkSJ2lTcU7ezYnnHOqnBWW6I0LjiKF3aP5RXkslWY007sf8F9X3I4S01 vvs/Iv2mggg18H3jBVdy97xGSc16S4WaFkSVFXR/fGd1ast1aip3qaln4WThiIf1aG 1YF0BH4Jclgp7+kZ3u793y5jIfZQe8ZPUL+3KfQNF/LiwQEEcrE9zmUYQM5LBX5tOK AmwqKJrPBlRHjgH2Z2gdG0TJTcbIvOnGnAGeuBtWCtJS4esozrBU4US85kksGsADwK n01qfWEGPGeyw== Received: by pali.im (Postfix) id DACD14E0C; Sun, 4 Sep 2022 03:29:21 +0200 (CEST) From: =?UTF-8?q?Pali=20Roh=C3=A1r?= To: u-boot@lists.denx.de Subject: [PATCH 0/9] Nokia RX-51: Small cleanups and UBI boot test case Date: Sun, 4 Sep 2022 03:28:57 +0200 Message-Id: <20220904012906.17718-1-pali@kernel.org> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 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 Do various small fixup/cleanups and extend test script to boot kernel image from UBI volume. This test verifies that U-Boot UBI implementation is working and U-Boot can read volume with bootable kernel code correctly. And therefore CI prevents UBI breakage. Note that U-Boot UBIFS code on ARM is currently somehow broken and trying to mount UBIFS from UBI volume fails :-( I have already tried to debug this issue but I have no idea why it is failing. Function check_lpt_crc in unpack_ltab is failing. Volume is for sure correct and valid because Linux kernel can successfully mount it. And to make it more suspicious, U-Boot UBIFS is working fine on big endian powerpc platform. So UBIFS issue is probably endian or arch specific. (This is UBIFS related, not UBI related.) Pali Rohár (9): Nokia RX-51: Remove label copy_kernel_start from lowlevel_init.S Nokia RX-51: Do not clear unknown memory in lowlevel_init.S Nokia RX-51: Set default SYS_LOAD_ADDR to 0x80008000 Nokia RX-51: Change UBIFS volume size to 1870 LEBs in test script Nokia RX-51: Call bootm in test script only when image is valid Nokia RX-51: Fix documentation how to enable UBI support Nokia RX-51: Do not set useless ARCH= in test script Nokia RX-51: Add comment describing kernel image type into test script Nokia RX-51: Add booting from UBI into test script board/nokia/rx51/lowlevel_init.S | 7 +-- configs/nokia_rx51_defconfig | 2 +- doc/board/nokia/rx51.rst | 3 +- test/nokia_rx51_test.sh | 97 +++++++++++++++++++++++++------- 4 files changed, 82 insertions(+), 27 deletions(-) -- 2.20.1