<feed xmlns='http://www.w3.org/2005/Atom'>
<title>u-boot.git/cmd/nand.c, branch master</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.
</subtitle>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/'/>
<entry>
<title>cmd: nand: nand dump with ecc option</title>
<updated>2025-08-23T14:37:20+00:00</updated>
<author>
<name>david regan</name>
<email>dregan@broadcom.com</email>
</author>
<published>2025-08-14T18:04:58+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=bb5d3a7a1c83cca588b5795630bf8fb3db950e5e'/>
<id>bb5d3a7a1c83cca588b5795630bf8fb3db950e5e</id>
<content type='text'>
option to show nand dump data ecc corrected as opposed to just raw

Signed-off-by: david regan &lt;dregan@broadcom.com&gt;
Signed-off-by: Michael Trimarchi &lt;michael@amarulasolutions.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
option to show nand dump data ecc corrected as opposed to just raw

Signed-off-by: david regan &lt;dregan@broadcom.com&gt;
Signed-off-by: Michael Trimarchi &lt;michael@amarulasolutions.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>cmd: nand: nand dump display update</title>
<updated>2025-08-23T14:37:17+00:00</updated>
<author>
<name>david regan</name>
<email>dregan@broadcom.com</email>
</author>
<published>2025-08-14T18:04:57+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=b5ce63e1350f94b51986765e8bd56f45d16af650'/>
<id>b5ce63e1350f94b51986765e8bd56f45d16af650</id>
<content type='text'>
show characters with nand dump similar to md
along with offset into NAND

Signed-off-by: david regan &lt;dregan@broadcom.com&gt;
Signed-off-by: Michael Trimarchi &lt;michael@amarulasolutions.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
show characters with nand dump similar to md
along with offset into NAND

Signed-off-by: david regan &lt;dregan@broadcom.com&gt;
Signed-off-by: Michael Trimarchi &lt;michael@amarulasolutions.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>cmd: nand: more descriptive help info</title>
<updated>2025-08-23T14:37:14+00:00</updated>
<author>
<name>david regan</name>
<email>dregan@broadcom.com</email>
</author>
<published>2025-08-14T18:04:56+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=7ec4e91b2f3782530157766a9fc46d0eb27fae3a'/>
<id>7ec4e91b2f3782530157766a9fc46d0eb27fae3a</id>
<content type='text'>
nand read/write raw change 'count' to 'pages' since count is ambiguous

Signed-off-by: david regan &lt;dregan@broadcom.com&gt;
Signed-off-by: Michael Trimarchi &lt;michael@amarulasolutions.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
nand read/write raw change 'count' to 'pages' since count is ambiguous

Signed-off-by: david regan &lt;dregan@broadcom.com&gt;
Signed-off-by: Michael Trimarchi &lt;michael@amarulasolutions.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>cmd: nand: bug fix MTD_OOB_AUTO to MTD_OPS_AUTO_OOB</title>
<updated>2025-08-23T14:37:11+00:00</updated>
<author>
<name>david regan</name>
<email>dregan@broadcom.com</email>
</author>
<published>2025-08-14T18:04:55+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=590c28b378ff76022b910accfb8ff7c56095f4f8'/>
<id>590c28b378ff76022b910accfb8ff7c56095f4f8</id>
<content type='text'>
bug fix MTD_OOB_AUTO to MTD_OPS_AUTO_OOB since MTD_OOB_AUTO does not exist

Fixes: dfe64e2c8973 ("mtd: resync with Linux-3.7.1")
Signed-off-by: david regan &lt;dregan@broadcom.com&gt;
Signed-off-by: Michael Trimarchi &lt;michael@amarulasolutions.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
bug fix MTD_OOB_AUTO to MTD_OPS_AUTO_OOB since MTD_OOB_AUTO does not exist

Fixes: dfe64e2c8973 ("mtd: resync with Linux-3.7.1")
Signed-off-by: david regan &lt;dregan@broadcom.com&gt;
Signed-off-by: Michael Trimarchi &lt;michael@amarulasolutions.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>nand: Add a watch command</title>
<updated>2024-12-17T19:17:41+00:00</updated>
<author>
<name>Michael Trimarchi</name>
<email>michael@amarulasolutions.com</email>
</author>
<published>2024-12-12T18:28:07+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=1fac577207196e12932c2c733b58e3b14013b1ce'/>
<id>1fac577207196e12932c2c733b58e3b14013b1ce</id>
<content type='text'>
This is a debug command to monitor the retention state of the data on
the array. The command needs a duplication of the mtd_read_oob()
function to actually return the maximum number of bitflips encountered
while reading the page. We could write a specific implementation for the
Sunxi driver but this is probably enough.

    nand watch &lt;off&gt; &lt;size&gt; - check an area for bitflips
    nand watch.part &lt;part&gt; - check a partition for bitflips
    nand watch.chip - check the whole device for bitflips

The output may be a bit verbose and could look like:

    =&gt; nand watch.chip
    device 0 whole chip
    size adjusted to 0xff60000 (5 bad blocks)

    NAND watch for bitflips in area 0x0-0xff60000:
    Page       0 (0x00000000) -&gt; error -74
    Page       1 (0x00000800) -&gt; error -74
    Page       2 (0x00001000) -&gt; error -74
    Page       3 (0x00001800) -&gt; error -74
    Page       4 (0x00002000) -&gt; error -74
    Page       5 (0x00002800) -&gt; error -74
    Page       6 (0x00003000) -&gt; error -74
    Page       7 (0x00003800) -&gt; error -74
    Page       8 (0x00004000) -&gt; error -74
    Page       9 (0x00004800) -&gt; error -74
    Page      10 (0x00005000) -&gt; error -74
    Page      11 (0x00005800) -&gt; error -74
    Page      12 (0x00006000) -&gt; error -74
    Page      13 (0x00006800) -&gt; error -74
    Page      14 (0x00007000) -&gt; error -74
    Page      15 (0x00007800) -&gt; error -74
    Page      16 (0x00008000) -&gt; error -74
    Page      17 (0x00008800) -&gt; error -74
    Page      18 (0x00009000) -&gt; error -74
    Page      19 (0x00009800) -&gt; error -74
    Page      20 (0x0000a000) -&gt; error -74
    Page      21 (0x0000a800) -&gt; error -74
    Page      22 (0x0000b000) -&gt; error -74
    Page      23 (0x0000b800) -&gt; error -74
    Page    1110 (0x0022b000) -&gt; up to  1 bf/chunk
    Page    1122 (0x00231000) -&gt; up to  1 bf/chunk
    Page    1132 (0x00236000) -&gt; up to  1 bf/chunk
    Page    1362 (0x002a9000) -&gt; up to  1 bf/chunk
    Page    4990 (0x009bf000) -&gt; up to  1 bf/chunk
    Page    5728 (0x00b30000) -&gt; up to  1 bf/chunk
    Page    7116 (0x00de6000) -&gt; up to  1 bf/chunk
    Page    7160 (0x00dfc000) -&gt; up to  1 bf/chunk
    Page    7494 (0x00ea3000) -&gt; up to  1 bf/chunk
    Page   10842 (0x0152d000) -&gt; up to  1 bf/chunk
    Page   11614 (0x016af000) -&gt; up to  1 bf/chunk
    Page   11970 (0x01761000) -&gt; up to  1 bf/chunk
    Page   12536 (0x0187c000) -&gt; up to  1 bf/chunk
    Page   12687 (0x018c7800) -&gt; up to  1 bf/chunk
    Page   14298 (0x01bed000) -&gt; up to  1 bf/chunk
    Page   18268 (0x023ae000) -&gt; up to  1 bf/chunk
    Page   18760 (0x024a4000) -&gt; up to  1 bf/chunk
    Page   21440 (0x029e0000) -&gt; up to  1 bf/chunk
    Page   22336 (0x02ba0000) -&gt; up to  1 bf/chunk
    Page   22592 (0x02c20000) -&gt; up to  1 bf/chunk
    Page   23872 (0x02ea0000) -&gt; up to  1 bf/chunk
    Page   27584 (0x035e0000) -&gt; up to  1 bf/chunk
    Page   35008 (0x04460000) -&gt; up to  1 bf/chunk
    Page   37184 (0x048a0000) -&gt; up to  1 bf/chunk
    Page   41728 (0x05180000) -&gt; up to  1 bf/chunk
    Page   42176 (0x05260000) -&gt; up to  1 bf/chunk
    Page   43200 (0x05460000) -&gt; up to  1 bf/chunk
    Page   43328 (0x054a0000) -&gt; up to  1 bf/chunk
    Page   45376 (0x058a0000) -&gt; up to  1 bf/chunk
    Page   47040 (0x05be0000) -&gt; up to  1 bf/chunk
    Page   47552 (0x05ce0000) -&gt; up to  1 bf/chunk
    Page   49344 (0x06060000) -&gt; up to  1 bf/chunk
    Page   49856 (0x06160000) -&gt; up to  1 bf/chunk
    Page   62784 (0x07aa0000) -&gt; up to  1 bf/chunk
    Page   65153 (0x07f40800) -&gt; up to  1 bf/chunk
    Page   65228 (0x07f66000) -&gt; up to  1 bf/chunk
    Page   65382 (0x07fb3000) -&gt; up to  1 bf/chunk
    Page   98624 (0x0c0a0000) -&gt; up to  1 bf/chunk
    Page  101952 (0x0c720000) -&gt; up to  1 bf/chunk
    Page  107584 (0x0d220000) -&gt; up to  1 bf/chunk
    Page  118208 (0x0e6e0000) -&gt; up to  1 bf/chunk
    Page  126656 (0x0f760000) -&gt; up to  1 bf/chunk
    Page  127680 (0x0f960000) -&gt; up to  1 bf/chunk
    Page  129920 (0x0fdc0000) -&gt; up to  1 bf/chunk
    Maximum number of bitflips: 1
    Pages with bitflips: 44/130752

It is also possible to reduce the output with the .quiet suffix in order
to just show the summary.

    =&gt; nand watch.chip
    device 0 whole chip
    size adjusted to 0xff60000 (5 bad blocks)

    NAND watch for bitflips in area 0x0-0xff60000:
    Maximum number of bitflips: 1
    Pages with bitflips: 44/130752

Signed-off-by: Miquel Raynal &lt;miquel.raynal@bootlin.com&gt;
Signed-off-by: Michael Trimarchi &lt;michael@amarulasolutions.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is a debug command to monitor the retention state of the data on
the array. The command needs a duplication of the mtd_read_oob()
function to actually return the maximum number of bitflips encountered
while reading the page. We could write a specific implementation for the
Sunxi driver but this is probably enough.

    nand watch &lt;off&gt; &lt;size&gt; - check an area for bitflips
    nand watch.part &lt;part&gt; - check a partition for bitflips
    nand watch.chip - check the whole device for bitflips

The output may be a bit verbose and could look like:

    =&gt; nand watch.chip
    device 0 whole chip
    size adjusted to 0xff60000 (5 bad blocks)

    NAND watch for bitflips in area 0x0-0xff60000:
    Page       0 (0x00000000) -&gt; error -74
    Page       1 (0x00000800) -&gt; error -74
    Page       2 (0x00001000) -&gt; error -74
    Page       3 (0x00001800) -&gt; error -74
    Page       4 (0x00002000) -&gt; error -74
    Page       5 (0x00002800) -&gt; error -74
    Page       6 (0x00003000) -&gt; error -74
    Page       7 (0x00003800) -&gt; error -74
    Page       8 (0x00004000) -&gt; error -74
    Page       9 (0x00004800) -&gt; error -74
    Page      10 (0x00005000) -&gt; error -74
    Page      11 (0x00005800) -&gt; error -74
    Page      12 (0x00006000) -&gt; error -74
    Page      13 (0x00006800) -&gt; error -74
    Page      14 (0x00007000) -&gt; error -74
    Page      15 (0x00007800) -&gt; error -74
    Page      16 (0x00008000) -&gt; error -74
    Page      17 (0x00008800) -&gt; error -74
    Page      18 (0x00009000) -&gt; error -74
    Page      19 (0x00009800) -&gt; error -74
    Page      20 (0x0000a000) -&gt; error -74
    Page      21 (0x0000a800) -&gt; error -74
    Page      22 (0x0000b000) -&gt; error -74
    Page      23 (0x0000b800) -&gt; error -74
    Page    1110 (0x0022b000) -&gt; up to  1 bf/chunk
    Page    1122 (0x00231000) -&gt; up to  1 bf/chunk
    Page    1132 (0x00236000) -&gt; up to  1 bf/chunk
    Page    1362 (0x002a9000) -&gt; up to  1 bf/chunk
    Page    4990 (0x009bf000) -&gt; up to  1 bf/chunk
    Page    5728 (0x00b30000) -&gt; up to  1 bf/chunk
    Page    7116 (0x00de6000) -&gt; up to  1 bf/chunk
    Page    7160 (0x00dfc000) -&gt; up to  1 bf/chunk
    Page    7494 (0x00ea3000) -&gt; up to  1 bf/chunk
    Page   10842 (0x0152d000) -&gt; up to  1 bf/chunk
    Page   11614 (0x016af000) -&gt; up to  1 bf/chunk
    Page   11970 (0x01761000) -&gt; up to  1 bf/chunk
    Page   12536 (0x0187c000) -&gt; up to  1 bf/chunk
    Page   12687 (0x018c7800) -&gt; up to  1 bf/chunk
    Page   14298 (0x01bed000) -&gt; up to  1 bf/chunk
    Page   18268 (0x023ae000) -&gt; up to  1 bf/chunk
    Page   18760 (0x024a4000) -&gt; up to  1 bf/chunk
    Page   21440 (0x029e0000) -&gt; up to  1 bf/chunk
    Page   22336 (0x02ba0000) -&gt; up to  1 bf/chunk
    Page   22592 (0x02c20000) -&gt; up to  1 bf/chunk
    Page   23872 (0x02ea0000) -&gt; up to  1 bf/chunk
    Page   27584 (0x035e0000) -&gt; up to  1 bf/chunk
    Page   35008 (0x04460000) -&gt; up to  1 bf/chunk
    Page   37184 (0x048a0000) -&gt; up to  1 bf/chunk
    Page   41728 (0x05180000) -&gt; up to  1 bf/chunk
    Page   42176 (0x05260000) -&gt; up to  1 bf/chunk
    Page   43200 (0x05460000) -&gt; up to  1 bf/chunk
    Page   43328 (0x054a0000) -&gt; up to  1 bf/chunk
    Page   45376 (0x058a0000) -&gt; up to  1 bf/chunk
    Page   47040 (0x05be0000) -&gt; up to  1 bf/chunk
    Page   47552 (0x05ce0000) -&gt; up to  1 bf/chunk
    Page   49344 (0x06060000) -&gt; up to  1 bf/chunk
    Page   49856 (0x06160000) -&gt; up to  1 bf/chunk
    Page   62784 (0x07aa0000) -&gt; up to  1 bf/chunk
    Page   65153 (0x07f40800) -&gt; up to  1 bf/chunk
    Page   65228 (0x07f66000) -&gt; up to  1 bf/chunk
    Page   65382 (0x07fb3000) -&gt; up to  1 bf/chunk
    Page   98624 (0x0c0a0000) -&gt; up to  1 bf/chunk
    Page  101952 (0x0c720000) -&gt; up to  1 bf/chunk
    Page  107584 (0x0d220000) -&gt; up to  1 bf/chunk
    Page  118208 (0x0e6e0000) -&gt; up to  1 bf/chunk
    Page  126656 (0x0f760000) -&gt; up to  1 bf/chunk
    Page  127680 (0x0f960000) -&gt; up to  1 bf/chunk
    Page  129920 (0x0fdc0000) -&gt; up to  1 bf/chunk
    Maximum number of bitflips: 1
    Pages with bitflips: 44/130752

It is also possible to reduce the output with the .quiet suffix in order
to just show the summary.

    =&gt; nand watch.chip
    device 0 whole chip
    size adjusted to 0xff60000 (5 bad blocks)

    NAND watch for bitflips in area 0x0-0xff60000:
    Maximum number of bitflips: 1
    Pages with bitflips: 44/130752

Signed-off-by: Miquel Raynal &lt;miquel.raynal@bootlin.com&gt;
Signed-off-by: Michael Trimarchi &lt;michael@amarulasolutions.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet"</title>
<updated>2024-05-20T19:35:03+00:00</updated>
<author>
<name>Tom Rini</name>
<email>trini@konsulko.com</email>
</author>
<published>2024-05-20T19:35:03+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=03de305ec48b0bb28554372abb40ccd46dbe0bf9'/>
<id>03de305ec48b0bb28554372abb40ccd46dbe0bf9</id>
<content type='text'>
As part of bringing the master branch back in to next, we need to allow
for all of these changes to exist here.

Reported-by: Jonas Karlman &lt;jonas@kwiboo.se&gt;
Signed-off-by: Tom Rini &lt;trini@konsulko.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
As part of bringing the master branch back in to next, we need to allow
for all of these changes to exist here.

Reported-by: Jonas Karlman &lt;jonas@kwiboo.se&gt;
Signed-off-by: Tom Rini &lt;trini@konsulko.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Revert "Merge patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet""</title>
<updated>2024-05-19T14:16:36+00:00</updated>
<author>
<name>Tom Rini</name>
<email>trini@konsulko.com</email>
</author>
<published>2024-05-19T02:20:43+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=d678a59d2d719da9e807495b4b021501f2836ca5'/>
<id>d678a59d2d719da9e807495b4b021501f2836ca5</id>
<content type='text'>
When bringing in the series 'arm: dts: am62-beagleplay: Fix Beagleplay
Ethernet"' I failed to notice that b4 noticed it was based on next and
so took that as the base commit and merged that part of next to master.

This reverts commit c8ffd1356d42223cbb8c86280a083cc3c93e6426, reversing
changes made to 2ee6f3a5f7550de3599faef9704e166e5dcace35.

Reported-by: Jonas Karlman &lt;jonas@kwiboo.se&gt;
Signed-off-by: Tom Rini &lt;trini@konsulko.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When bringing in the series 'arm: dts: am62-beagleplay: Fix Beagleplay
Ethernet"' I failed to notice that b4 noticed it was based on next and
so took that as the base commit and merged that part of next to master.

This reverts commit c8ffd1356d42223cbb8c86280a083cc3c93e6426, reversing
changes made to 2ee6f3a5f7550de3599faef9704e166e5dcace35.

Reported-by: Jonas Karlman &lt;jonas@kwiboo.se&gt;
Signed-off-by: Tom Rini &lt;trini@konsulko.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>cmd: Remove &lt;common.h&gt; and add needed includes</title>
<updated>2024-05-06T21:05:04+00:00</updated>
<author>
<name>Tom Rini</name>
<email>trini@konsulko.com</email>
</author>
<published>2024-04-27T14:10:59+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=301bac6047c85e2c5e39929805ca661bb09a7481'/>
<id>301bac6047c85e2c5e39929805ca661bb09a7481</id>
<content type='text'>
Remove &lt;common.h&gt; from all "cmd/" files and when needed add
missing include files directly.

Signed-off-by: Tom Rini &lt;trini@konsulko.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Remove &lt;common.h&gt; from all "cmd/" files and when needed add
missing include files directly.

Signed-off-by: Tom Rini &lt;trini@konsulko.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>cmd: nand: Map memory before accessing it</title>
<updated>2023-11-16T17:43:48+00:00</updated>
<author>
<name>Sean Anderson</name>
<email>seanga2@gmail.com</email>
</author>
<published>2023-11-04T20:37:45+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=d2e0a9a6918503ff6fd649189427413935535040'/>
<id>d2e0a9a6918503ff6fd649189427413935535040</id>
<content type='text'>
In sandbox, all memory must be mapped before accessing it. Do so for the
nand command.

Signed-off-by: Sean Anderson &lt;seanga2@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In sandbox, all memory must be mapped before accessing it. Do so for the
nand command.

Signed-off-by: Sean Anderson &lt;seanga2@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>cmd: Convert existing long help messages to the new macro</title>
<updated>2023-10-16T14:24:58+00:00</updated>
<author>
<name>Tom Rini</name>
<email>trini@konsulko.com</email>
</author>
<published>2023-10-07T19:13:08+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=3616218b5acea74011aea2d14aa1f6366f242849'/>
<id>3616218b5acea74011aea2d14aa1f6366f242849</id>
<content type='text'>
- Generally we just drop the #ifdef CONFIG_SYS_LONGHELP and endif lines
  and use U_BOOT_LONGHELP to declare the same variable name as before
- In a few places, either rename the variable to follow convention or
  introduce the variable as it was being done inline before.

Signed-off-by: Tom Rini &lt;trini@konsulko.com&gt;
Reviewed-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- Generally we just drop the #ifdef CONFIG_SYS_LONGHELP and endif lines
  and use U_BOOT_LONGHELP to declare the same variable name as before
- In a few places, either rename the variable to follow convention or
  introduce the variable as it was being done inline before.

Signed-off-by: Tom Rini &lt;trini@konsulko.com&gt;
Reviewed-by: Simon Glass &lt;sjg@chromium.org&gt;
</pre>
</div>
</content>
</entry>
</feed>
