History log of /fuchsia/zircon/system/dev/nand/nandpart/nandpart.h
Revision Date Author Comments
# 174ec509 06-Aug-2018 Suraj Malhotra <surajmalhotra@google.com>

[nandpart][skip-block] Mark devices as Unbindable.

Necessary for testing.

Tested: Manually tested spawning a ram-nand device and killing it.
Change-Id: I723f0aedfaf2f2d1fda52fd699e21cc0f54c38c8


# 18d036ea 25-Jul-2018 Suraj Malhotra <surajmalhotra@google.com>

[astro][gauss][nandpart][skip-block] Add support for partition copies.

The bootloader (or TPL partition) for astro and gauss require that it be
written 4 times. To accomplish this, the partition is borken into 4 sub
partitions, at physical quarter boundries. From each sub-partition, a
skip-block write is performed.

This enables us to pave the bootloader. Another way to accomplish this
same behavior would be to modify the partition map to instead expose 4
skip-block partitions for the bootloader partition, and have the paver
manually write each copy in succession. This was avoided as it would
require device specific information embedded in it.

Reads will always read the first copy. We could expose the ability to
chose which copy of the partition gets read, or do some sort of smart
fallback for reading other copies of the partition for failed reads if
there is a good use case for it.

Change-Id: I08e30c7078e44fd7f957d4997bacc1fc213836af
Tested: Paved the bootloader.


# f3d04996 28-Jun-2018 Suraj Malhotra <surajmalhotra@google.com>

[dev][nandpart][bad-block] Implement bad-block protocol.

bad-block protocol implementation is specific to the methodology used
in the AML u-boot bootloader. We preserve the same semantics so as to
allow the bootloader to continue to read the system partitions even
after additional bad blocks have been grown.

Change-Id: I37954fccf67822459f9c7522c0299a5568c65fb1
Tested: TODO


# e94a5c3a 09-Jul-2018 Suraj Malhotra <surajmalhotra@google.com>

[ddk][nand] Change get_bad_block_list to get_factory_bad_block_list

This is to differentiate it from the get_bad_block_list API in the
bad-block protocol.

Change-Id: I42882cdfddf50306fc3c432988d3d27aa90d8791
Tested: It compiles.


# aa273c19 04-Jun-2018 Mike Voydanoff <voydanoff@google.com>

[dev][nandpart] Initial implementation of NAND partition map driver

Change-Id: Id67e223706ff09c90392483922d5fcc668504bb4
Tested: Manually testd that enumeration works via `dm dump`