<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>i.MX ProcessorsのトピックRe: Btrfs support imx6q based board</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Btrfs-support-imx6q-based-board/m-p/1554878#M197614</link>
    <description>&lt;P&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/202155"&gt;@Sanket_Parekh&lt;/a&gt;&amp;nbsp; thanks for the quick reply and it resolves the issue around btrfs filesystem.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 16 Nov 2022 11:37:47 GMT</pubDate>
    <dc:creator>arulpandiyan_va</dc:creator>
    <dc:date>2022-11-16T11:37:47Z</dc:date>
    <item>
      <title>Btrfs support imx6q based board</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Btrfs-support-imx6q-based-board/m-p/1549610#M197278</link>
      <description>&lt;P&gt;I am using imx6D based customer board, where we are wanted to use BTRFS filesystem on the system.&lt;/P&gt;&lt;P&gt;We have enabled below BTRFS support on u-boot&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;CONFIG_FS_BTRFS=y
CONFIG_CMD_BTRFS=y&lt;/LI-CODE&gt;&lt;P&gt;and in kernel below configurations.&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;CONFIG_BTRFS_FS=y&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;but while booting the device, We are getting the failures below. Could you please help us to understand what we are missing here?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;U-Boot 2021.04-g8372631b-dirty (Nov 02 2022 - 11:13:15 +0000)

CPU:   i.MX6D rev1.6 at 792MHz
CPU:   Industrial temperature grade (-40C to 105C) at 41C
Reset cause: POR
Model: Freescale i.MX6 Quad SABRE Smart Device Board
Board: MX6-CUSTOM
DRAM:  1 GiB
PMIC: PFUZE100! DEV_ID=0x10 REV_ID=0x21
MMC:   FSL_SDHC: 1, FSL_SDHC: 2, FSL_SDHC: 3
In:    serial
Out:   serial
Err:   serial
Net:   FEC [PRIME]
Normal Boot
Hit any key to stop autoboot:  0
switch to partitions #0, OK
mmc3(part 0) is current device
CACHE: Misaligned operation at range [4ef69818, 4ef6a818]
CACHE: Misaligned operation at range [4ef69818, 4ef6a818]
ERROR: v7_outer_cache_inval_range - start address is not aligned - 0x4ef69818
ERROR: v7_outer_cache_inval_range - stop address is not aligned - 0x4ef6a818
CACHE: Misaligned operation at range [4ef69818, 4ef6a818]
CACHE: Misaligned operation at range [4ef69818, 4ef6a818]
ERROR: v7_outer_cache_inval_range - start address is not aligned - 0x4ef69818
ERROR: v7_outer_cache_inval_range - stop address is not aligned - 0x4ef6a818
Scanning mmc 3:1...
CACHE: Misaligned operation at range [4ef694f8, 4ef6a4f8]
CACHE: Misaligned operation at range [4ef694f8, 4ef6a4f8]
ERROR: v7_outer_cache_inval_range - start address is not aligned - 0x4ef694f8
ERROR: v7_outer_cache_inval_range - stop address is not aligned - 0x4ef6a4f8
CACHE: Misaligned operation at range [4ef694f8, 4ef6a4f8]
CACHE: Misaligned operation at range [4ef694f8, 4ef6a4f8]
ERROR: v7_outer_cache_inval_range - start address is not aligned - 0x4ef694f8
ERROR: v7_outer_cache_inval_range - stop address is not aligned - 0x4ef6a4f8
BTRFS: superblock checksum mismatch
No valid Btrfs found
** Unrecognized filesystem type **
CACHE: Misaligned operation at range [4ef694a0, 4ef6a4a0]
CACHE: Misaligned operation at range [4ef694a0, 4ef6a4a0]
CACHE: Misaligned operation at range [4ef694a0, 4ef6a4a0]
CACHE: Misaligned operation at range [4ef694a0, 4ef6a4a0]
BTRFS: superblock checksum mismatch
No valid Btrfs found
** Unrecognized filesystem type **
CACHE: Misaligned operation at range [4ef694a0, 4ef6a4a0]
CACHE: Misaligned operation at range [4ef694a0, 4ef6a4a0]
CACHE: Misaligned operation at range [4ef694a0, 4ef6a4a0]
CACHE: Misaligned operation at range [4ef694a0, 4ef6a4a0]
BTRFS: superblock checksum mismatch
No valid Btrfs found
** Unrecognized filesystem type **
CACHE: Misaligned operation at range [4ef694f8, 4ef6a4f8]
CACHE: Misaligned operation at range [4ef694f8, 4ef6a4f8]
ERROR: v7_outer_cache_inval_range - start address is not aligned - 0x4ef694f8
ERROR: v7_outer_cache_inval_range - stop address is not aligned - 0x4ef6a4f8
CACHE: Misaligned operation at range [4ef694f8, 4ef6a4f8]
CACHE: Misaligned operation at range [4ef694f8, 4ef6a4f8]
ERROR: v7_outer_cache_inval_range - start address is not aligned - 0x4ef694f8
ERROR: v7_outer_cache_inval_range - stop address is not aligned - 0x4ef6a4f8
BTRFS: superblock checksum mismatch
No valid Btrfs found
** Unrecognized filesystem type **
CACHE: Misaligned operation at range [4ef694a0, 4ef6a4a0]
CACHE: Misaligned operation at range [4ef694a0, 4ef6a4a0]
CACHE: Misaligned operation at range [4ef694a0, 4ef6a4a0]
CACHE: Misaligned operation at range [4ef694a0, 4ef6a4a0]
BTRFS: superblock checksum mismatch
No valid Btrfs found
** Unrecognized filesystem type **
CACHE: Misaligned operation at range [4ef694a0, 4ef6a4a0]
CACHE: Misaligned operation at range [4ef694a0, 4ef6a4a0]
CACHE: Misaligned operation at range [4ef694a0, 4ef6a4a0]
CACHE: Misaligned operation at range [4ef694a0, 4ef6a4a0]
BTRFS: superblock checksum mismatch
No valid Btrfs found
** Unrecognized filesystem type **
CACHE: Misaligned operation at range [4ef694f8, 4ef6a4f8]
CACHE: Misaligned operation at range [4ef694f8, 4ef6a4f8]
ERROR: v7_outer_cache_inval_range - start address is not aligned - 0x4ef694f8
ERROR: v7_outer_cache_inval_range - stop address is not aligned - 0x4ef6a4f8
CACHE: Misaligned operation at range [4ef694f8, 4ef6a4f8]
CACHE: Misaligned operation at range [4ef694f8, 4ef6a4f8]
ERROR: v7_outer_cache_inval_range - start address is not aligned - 0x4ef694f8
ERROR: v7_outer_cache_inval_range - stop address is not aligned - 0x4ef6a4f8
BTRFS: superblock checksum mismatch
No valid Btrfs found
** Unrecognized filesystem type **
CACHE: Misaligned operation at range [4ef694f8, 4ef6a4f8]
CACHE: Misaligned operation at range [4ef694f8, 4ef6a4f8]
ERROR: v7_outer_cache_inval_range - start address is not aligned - 0x4ef694f8
ERROR: v7_outer_cache_inval_range - stop address is not aligned - 0x4ef6a4f8
CACHE: Misaligned operation at range [4ef694f8, 4ef6a4f8]
CACHE: Misaligned operation at range [4ef694f8, 4ef6a4f8]
ERROR: v7_outer_cache_inval_range - start address is not aligned - 0x4ef694f8
ERROR: v7_outer_cache_inval_range - stop address is not aligned - 0x4ef6a4f8
BTRFS: superblock checksum mismatch
No valid Btrfs found
** Unrecognized filesystem type **
CACHE: Misaligned operation at range [4ef694f8, 4ef6a4f8]
CACHE: Misaligned operation at range [4ef694f8, 4ef6a4f8]
ERROR: v7_outer_cache_inval_range - start address is not aligned - 0x4ef694f8
ERROR: v7_outer_cache_inval_range - stop address is not aligned - 0x4ef6a4f8
CACHE: Misaligned operation at range [4ef694f8, 4ef6a4f8]
CACHE: Misaligned operation at range [4ef694f8, 4ef6a4f8]
ERROR: v7_outer_cache_inval_range - start address is not aligned - 0x4ef694f8
ERROR: v7_outer_cache_inval_range - stop address is not aligned - 0x4ef6a4f8
BTRFS: superblock checksum mismatch
No valid Btrfs found
** Unrecognized filesystem type **
libfdt fdt_check_header(): FDT_ERR_BADMAGIC
Card did not respond to voltage select! : -110
Scanning disk mmc@2194000.blk...
Disk mmc@2194000.blk not ready
Card did not respond to voltage select! : -110
Scanning disk mmc@2198000.blk...
Disk mmc@2198000.blk not ready
Scanning disk mmc@219c000.blk...
BTRFS: superblock checksum mismatch
No valid Btrfs found
** Unrecognized filesystem type **
Found 5 disks
No EFI system partition
BootOrder not defined
EFI boot manager: Cannot load any image
CACHE: Misaligned operation at range [4ef69550, 4ef6a550]
CACHE: Misaligned operation at range [4ef69550, 4ef6a550]
ERROR: v7_outer_cache_inval_range - start address is not aligned - 0x4ef69550
ERROR: v7_outer_cache_inval_range - stop address is not aligned - 0x4ef6a550
CACHE: Misaligned operation at range [4ef69550, 4ef6a550]
CACHE: Misaligned operation at range [4ef69550, 4ef6a550]
ERROR: v7_outer_cache_inval_range - start address is not aligned - 0x4ef69550
ERROR: v7_outer_cache_inval_range - stop address is not aligned - 0x4ef6a550
BTRFS: superblock checksum mismatch
No valid Btrfs found
** Unrecognized filesystem type **
MX6 CUSTOM U-Boot &amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 07 Nov 2022 10:34:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Btrfs-support-imx6q-based-board/m-p/1549610#M197278</guid>
      <dc:creator>arulpandiyan_va</dc:creator>
      <dc:date>2022-11-07T10:34:38Z</dc:date>
    </item>
    <item>
      <title>Re: Btrfs support imx6q based board</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Btrfs-support-imx6q-based-board/m-p/1552610#M197478</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/161353"&gt;@arulpandiyan_va&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;DIV&gt;I hope you are doing well.&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;"&lt;STRONG&gt;CACHE: Misaligned operation at range [4ef694a0, 4ef6a4a0]&lt;/STRONG&gt; " may occur if&amp;nbsp; The superblock buffer is not cache-aligned.&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;In a later version of u-boot, this bug is resolved by using&lt;STRONG&gt;&amp;nbsp;ALLOC_CACHE_ALIGN_BUFFER&lt;/STRONG&gt; in&amp;nbsp;btrfs_read_dev_super() function at&amp;nbsp;/fs/btrfs/disk-io.c&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;you should update to the latest version of uboot or just apply the below-suggested change in the btrfs_read_dev_super() function:&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT color="#ff0000"&gt;-char tmp[BTRFS_SUPER_INFO_SIZE];&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#38761d"&gt;+ALLOC_CACHE_ALIGN_BUFFER(&lt;WBR /&gt;char, tmp, BTRFS_SUPER_INFO_SIZE);&lt;BR /&gt;&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;If the issue still&amp;nbsp;persists, please provide me with the Environment variable of uboot using printenv and the steps you have followed to create btrfs.&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;Thanks &amp;amp; Regards&lt;/DIV&gt;
&lt;DIV&gt;Sanket Parekh&lt;/DIV&gt;</description>
      <pubDate>Fri, 11 Nov 2022 12:03:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Btrfs-support-imx6q-based-board/m-p/1552610#M197478</guid>
      <dc:creator>Sanket_Parekh</dc:creator>
      <dc:date>2022-11-11T12:03:46Z</dc:date>
    </item>
    <item>
      <title>Re: Btrfs support imx6q based board</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Btrfs-support-imx6q-based-board/m-p/1554878#M197614</link>
      <description>&lt;P&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/202155"&gt;@Sanket_Parekh&lt;/a&gt;&amp;nbsp; thanks for the quick reply and it resolves the issue around btrfs filesystem.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Nov 2022 11:37:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Btrfs-support-imx6q-based-board/m-p/1554878#M197614</guid>
      <dc:creator>arulpandiyan_va</dc:creator>
      <dc:date>2022-11-16T11:37:47Z</dc:date>
    </item>
  </channel>
</rss>

