Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions configs/AM335X/AM335X_linux_toc.txt
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ linux/Foundational_Components/Kernel/Kernel_Drivers/SPI
linux/Foundational_Components/Kernel/Kernel_Drivers/Storage/NAND
linux/Foundational_Components/Kernel/Kernel_Drivers/Storage/MMC-SD
linux/Foundational_Components/Kernel/Kernel_Drivers/UART
linux/Foundational_Components/Kernel/Kernel_Drivers/UBIFS
linux/Foundational_Components/Kernel/Kernel_Drivers/UFS
linux/Foundational_Components/Kernel/Kernel_Drivers/USB/MUSB
linux/Foundational_Components_Kernel_Users_Guide
Expand Down
1 change: 1 addition & 0 deletions configs/AM437X/AM437X_linux_toc.txt
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ linux/Foundational_Components/Kernel/Kernel_Drivers/SPI
linux/Foundational_Components/Kernel/Kernel_Drivers/Storage/NAND
linux/Foundational_Components/Kernel/Kernel_Drivers/Storage/MMC-SD
linux/Foundational_Components/Kernel/Kernel_Drivers/UART
linux/Foundational_Components/Kernel/Kernel_Drivers/UBIFS
linux/Foundational_Components/Kernel/Kernel_Drivers/UFS
linux/Foundational_Components/Kernel/Kernel_Drivers/USB/DWC3
linux/Foundational_Components_Kernel_Users_Guide
Expand Down
1 change: 1 addition & 0 deletions configs/AM57X/AM57X_linux_toc.txt
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ linux/Foundational_Components/Kernel/Kernel_Drivers/Storage/SATA
linux/Foundational_Components/Kernel/Kernel_Drivers/Storage/NAND
linux/Foundational_Components/Kernel/Kernel_Drivers/Storage/MMC-SD
linux/Foundational_Components/Kernel/Kernel_Drivers/UART
linux/Foundational_Components/Kernel/Kernel_Drivers/UBIFS
linux/Foundational_Components/Kernel/Kernel_Drivers/USB/DWC3
linux/Foundational_Components/Kernel/Kernel_Drivers/VPE
linux/Foundational_Components_Kernel_Users_Guide
Expand Down
1 change: 1 addition & 0 deletions configs/AM62AX/AM62AX_linux_toc.txt
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ linux/Foundational_Components/Kernel/Kernel_Drivers/SPI
linux/Foundational_Components/Kernel/Kernel_Drivers/QSPI
linux/Foundational_Components/Kernel/Kernel_Drivers/Storage/MMC-SD
linux/Foundational_Components/Kernel/Kernel_Drivers/UART
linux/Foundational_Components/Kernel/Kernel_Drivers/UBIFS
linux/Foundational_Components/Kernel/Kernel_Drivers/USB/AM62_DWC3
linux/Foundational_Components/Kernel/Kernel_Drivers/VTM
linux/Foundational_Components/Kernel/Kernel_Drivers/Watchdog
Expand Down
1 change: 1 addition & 0 deletions configs/AM62PX/AM62PX_linux_toc.txt
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ linux/Foundational_Components/Kernel/Kernel_Drivers/QSPI
linux/Foundational_Components/Kernel/Kernel_Drivers/Storage/MMC-SD
linux/Foundational_Components/Kernel/Kernel_Drivers/Storage/NAND
linux/Foundational_Components/Kernel/Kernel_Drivers/UART
linux/Foundational_Components/Kernel/Kernel_Drivers/UBIFS
linux/Foundational_Components/Kernel/Kernel_Drivers/USB/AM62_DWC3
linux/Foundational_Components/Kernel/Kernel_Drivers/VTM
linux/Foundational_Components/Kernel/Kernel_Drivers/Watchdog
Expand Down
1 change: 1 addition & 0 deletions configs/AM62X/AM62X_linux_toc.txt
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ linux/Foundational_Components/Kernel/Kernel_Drivers/QSPI
linux/Foundational_Components/Kernel/Kernel_Drivers/Storage/MMC-SD
linux/Foundational_Components/Kernel/Kernel_Drivers/Storage/NAND
linux/Foundational_Components/Kernel/Kernel_Drivers/UART
linux/Foundational_Components/Kernel/Kernel_Drivers/UBIFS
linux/Foundational_Components/Kernel/Kernel_Drivers/USB/AM62_DWC3
linux/Foundational_Components/Kernel/Kernel_Drivers/VTM
linux/Foundational_Components/Kernel/Kernel_Drivers/Watchdog
Expand Down
1 change: 1 addition & 0 deletions configs/AM64X/AM64X_linux_toc.txt
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ linux/Foundational_Components/Kernel/Kernel_Drivers/QSPI
linux/Foundational_Components/Kernel/Kernel_Drivers/Storage/MMC-SD
linux/Foundational_Components/Kernel/Kernel_Drivers/Storage/NAND
linux/Foundational_Components/Kernel/Kernel_Drivers/UART
linux/Foundational_Components/Kernel/Kernel_Drivers/UBIFS
linux/Foundational_Components/Kernel/Kernel_Drivers/USB/CDNS3
linux/Foundational_Components/Kernel/Kernel_Drivers/VTM
linux/Foundational_Components/Kernel/Kernel_Drivers/Watchdog
Expand Down
1 change: 1 addition & 0 deletions configs/AM65X/AM65X_linux_toc.txt
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ linux/Foundational_Components/Kernel/Kernel_Drivers/SPI
linux/Foundational_Components/Kernel/Kernel_Drivers/Storage/NAND
linux/Foundational_Components/Kernel/Kernel_Drivers/Storage/MMC-SD
linux/Foundational_Components/Kernel/Kernel_Drivers/UART
linux/Foundational_Components/Kernel/Kernel_Drivers/UBIFS
linux/Foundational_Components/Kernel/Kernel_Drivers/UFS
linux/Foundational_Components/Kernel/Kernel_Drivers/USB/DWC3
linux/Foundational_Components/Kernel/Kernel_Drivers/VTM
Expand Down
2 changes: 1 addition & 1 deletion configs/AM67/AM67_linux_toc.txt
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ linux/Foundational_Components/Kernel/Kernel_Drivers/SPI
linux/Foundational_Components/Kernel/Kernel_Drivers/Storage/NAND
linux/Foundational_Components/Kernel/Kernel_Drivers/Storage/MMC-SD
linux/Foundational_Components/Kernel/Kernel_Drivers/UART
linux/Foundational_Components/Kernel/Kernel_Drivers/UBIFS
linux/Foundational_Components/Kernel/Kernel_Drivers/USB/CDNS3
linux/Foundational_Components/Kernel/Kernel_Drivers/VTM
linux/Foundational_Components_Kernel_Users_Guide
Expand Down Expand Up @@ -128,4 +129,3 @@ system/Demo_User_Guides/index_Demos
system/Demo_User_Guides/TI_Apps_Launcher_User_Guide
system/Demo_User_Guides/Seva_Store
system/Demo_User_Guides/Chromium_Browser

1 change: 1 addition & 0 deletions configs/AM67A/AM67A_linux_toc.txt
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ linux/Foundational_Components/Kernel/Kernel_Drivers/SPI
linux/Foundational_Components/Kernel/Kernel_Drivers/Storage/NAND
linux/Foundational_Components/Kernel/Kernel_Drivers/Storage/MMC-SD
linux/Foundational_Components/Kernel/Kernel_Drivers/UART
linux/Foundational_Components/Kernel/Kernel_Drivers/UBIFS
linux/Foundational_Components/Kernel/Kernel_Drivers/USB/CDNS3
linux/Foundational_Components/Kernel/Kernel_Drivers/VTM
linux/Foundational_Components_Kernel_Users_Guide
Expand Down
1 change: 1 addition & 0 deletions configs/AM68/AM68_linux_toc.txt
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ linux/Foundational_Components/Kernel/Kernel_Drivers/SPI
linux/Foundational_Components/Kernel/Kernel_Drivers/Storage/NAND
linux/Foundational_Components/Kernel/Kernel_Drivers/Storage/MMC-SD
linux/Foundational_Components/Kernel/Kernel_Drivers/UART
linux/Foundational_Components/Kernel/Kernel_Drivers/UBIFS
linux/Foundational_Components/Kernel/Kernel_Drivers/UFS
linux/Foundational_Components/Kernel/Kernel_Drivers/USB/CDNS3
linux/Foundational_Components/Kernel/Kernel_Drivers/VTM
Expand Down
1 change: 1 addition & 0 deletions configs/AM68A/AM68A_linux_toc.txt
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ linux/Foundational_Components/Kernel/Kernel_Drivers/SPI
linux/Foundational_Components/Kernel/Kernel_Drivers/Storage/NAND
linux/Foundational_Components/Kernel/Kernel_Drivers/Storage/MMC-SD
linux/Foundational_Components/Kernel/Kernel_Drivers/UART
linux/Foundational_Components/Kernel/Kernel_Drivers/UBIFS
linux/Foundational_Components/Kernel/Kernel_Drivers/UFS
linux/Foundational_Components/Kernel/Kernel_Drivers/USB/CDNS3
linux/Foundational_Components/Kernel/Kernel_Drivers/VTM
Expand Down
1 change: 1 addition & 0 deletions configs/AM69/AM69_linux_toc.txt
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ linux/Foundational_Components/Kernel/Kernel_Drivers/SPI
linux/Foundational_Components/Kernel/Kernel_Drivers/Storage/NAND
linux/Foundational_Components/Kernel/Kernel_Drivers/Storage/MMC-SD
linux/Foundational_Components/Kernel/Kernel_Drivers/UART
linux/Foundational_Components/Kernel/Kernel_Drivers/UBIFS
linux/Foundational_Components/Kernel/Kernel_Drivers/UFS
linux/Foundational_Components/Kernel/Kernel_Drivers/USB/CDNS3
linux/Foundational_Components/Kernel/Kernel_Drivers/VTM
Expand Down
1 change: 1 addition & 0 deletions configs/AM69A/AM69A_linux_toc.txt
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ linux/Foundational_Components/Kernel/Kernel_Drivers/SPI
linux/Foundational_Components/Kernel/Kernel_Drivers/Storage/NAND
linux/Foundational_Components/Kernel/Kernel_Drivers/Storage/MMC-SD
linux/Foundational_Components/Kernel/Kernel_Drivers/UART
linux/Foundational_Components/Kernel/Kernel_Drivers/UBIFS
linux/Foundational_Components/Kernel/Kernel_Drivers/UFS
linux/Foundational_Components/Kernel/Kernel_Drivers/USB/CDNS3
linux/Foundational_Components/Kernel/Kernel_Drivers/VTM
Expand Down
1 change: 1 addition & 0 deletions configs/DRA821A/DRA821A_linux_toc.txt
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ linux/Foundational_Components/Kernel/Kernel_Drivers/SPI
linux/Foundational_Components/Kernel/Kernel_Drivers/Storage/NAND
linux/Foundational_Components/Kernel/Kernel_Drivers/Storage/MMC-SD
linux/Foundational_Components/Kernel/Kernel_Drivers/UART
linux/Foundational_Components/Kernel/Kernel_Drivers/UBIFS
linux/Foundational_Components/Kernel/Kernel_Drivers/USB/CDNS3
linux/Foundational_Components_Kernel_Users_Guide
linux/Foundational_Components_Kernel_Release_Notes
Expand Down
1 change: 1 addition & 0 deletions configs/GEN/GEN_linux_toc.txt
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ linux/Foundational_Components/Kernel/Kernel_Drivers/Storage/SATA
linux/Foundational_Components/Kernel/Kernel_Drivers/Storage/NAND
linux/Foundational_Components/Kernel/Kernel_Drivers/Storage/MMC-SD
linux/Foundational_Components/Kernel/Kernel_Drivers/UART
linux/Foundational_Components/Kernel/Kernel_Drivers/UBIFS
linux/Foundational_Components/Kernel/Kernel_Drivers/UFS
linux/Foundational_Components/Kernel/Kernel_Drivers/USB/MUSB
linux/Foundational_Components/Kernel/Kernel_Drivers/USB/DWC3
Expand Down
1 change: 1 addition & 0 deletions configs/J7200/J7200_linux_toc.txt
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ linux/Foundational_Components/Kernel/Kernel_Drivers/SPI
linux/Foundational_Components/Kernel/Kernel_Drivers/Storage/NAND
linux/Foundational_Components/Kernel/Kernel_Drivers/Storage/MMC-SD
linux/Foundational_Components/Kernel/Kernel_Drivers/UART
linux/Foundational_Components/Kernel/Kernel_Drivers/UBIFS
linux/Foundational_Components/Kernel/Kernel_Drivers/USB/CDNS3
linux/Foundational_Components/Kernel/Kernel_Drivers/VTM
linux/Foundational_Components_Kernel_Users_Guide
Expand Down
1 change: 1 addition & 0 deletions configs/J721E/J721E_linux_toc.txt
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ linux/Foundational_Components/Kernel/Kernel_Drivers/SPI
linux/Foundational_Components/Kernel/Kernel_Drivers/Storage/NAND
linux/Foundational_Components/Kernel/Kernel_Drivers/Storage/MMC-SD
linux/Foundational_Components/Kernel/Kernel_Drivers/UART
linux/Foundational_Components/Kernel/Kernel_Drivers/UBIFS
linux/Foundational_Components/Kernel/Kernel_Drivers/UFS
linux/Foundational_Components/Kernel/Kernel_Drivers/USB/CDNS3
linux/Foundational_Components/Kernel/Kernel_Drivers/VTM
Expand Down
1 change: 1 addition & 0 deletions configs/J721S2/J721S2_linux_toc.txt
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ linux/Foundational_Components/Kernel/Kernel_Drivers/SPI
linux/Foundational_Components/Kernel/Kernel_Drivers/Storage/NAND
linux/Foundational_Components/Kernel/Kernel_Drivers/Storage/MMC-SD
linux/Foundational_Components/Kernel/Kernel_Drivers/UART
linux/Foundational_Components/Kernel/Kernel_Drivers/UBIFS
linux/Foundational_Components/Kernel/Kernel_Drivers/UFS
linux/Foundational_Components/Kernel/Kernel_Drivers/USB/CDNS3
linux/Foundational_Components/Kernel/Kernel_Drivers/VTM
Expand Down
2 changes: 1 addition & 1 deletion configs/J722S/J722S_linux_toc.txt
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ linux/Foundational_Components/Kernel/Kernel_Drivers/SPI
linux/Foundational_Components/Kernel/Kernel_Drivers/Storage/NAND
linux/Foundational_Components/Kernel/Kernel_Drivers/Storage/MMC-SD
linux/Foundational_Components/Kernel/Kernel_Drivers/UART
linux/Foundational_Components/Kernel/Kernel_Drivers/UBIFS
linux/Foundational_Components/Kernel/Kernel_Drivers/PWM
linux/Foundational_Components/Kernel/Kernel_Drivers/USB/CDNS3
linux/Foundational_Components/Kernel/Kernel_Drivers/VTM
Expand Down Expand Up @@ -130,4 +131,3 @@ system/Demo_User_Guides/index_Demos
system/Demo_User_Guides/Chromium_Browser

linux/Documentation_Tarball

1 change: 1 addition & 0 deletions configs/J742S2/J742S2_linux_toc.txt
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ linux/Foundational_Components/Kernel/Kernel_Drivers/SPI
linux/Foundational_Components/Kernel/Kernel_Drivers/Storage/NAND
linux/Foundational_Components/Kernel/Kernel_Drivers/Storage/MMC-SD
linux/Foundational_Components/Kernel/Kernel_Drivers/UART
linux/Foundational_Components/Kernel/Kernel_Drivers/UBIFS
linux/Foundational_Components/Kernel/Kernel_Drivers/UFS
linux/Foundational_Components/Kernel/Kernel_Drivers/USB/CDNS3
linux/Foundational_Components/Kernel/Kernel_Drivers/VTM
Expand Down
1 change: 1 addition & 0 deletions configs/J784S4/J784S4_linux_toc.txt
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ linux/Foundational_Components/Kernel/Kernel_Drivers/SPI
linux/Foundational_Components/Kernel/Kernel_Drivers/Storage/NAND
linux/Foundational_Components/Kernel/Kernel_Drivers/Storage/MMC-SD
linux/Foundational_Components/Kernel/Kernel_Drivers/UART
linux/Foundational_Components/Kernel/Kernel_Drivers/UBIFS
linux/Foundational_Components/Kernel/Kernel_Drivers/UFS
linux/Foundational_Components/Kernel/Kernel_Drivers/USB/CDNS3
linux/Foundational_Components/Kernel/Kernel_Drivers/VTM
Expand Down
1 change: 1 addition & 0 deletions configs/TDA4VM/TDA4VM_linux_toc.txt
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ linux/Foundational_Components/Kernel/Kernel_Drivers/SPI
linux/Foundational_Components/Kernel/Kernel_Drivers/Storage/NAND
linux/Foundational_Components/Kernel/Kernel_Drivers/Storage/MMC-SD
linux/Foundational_Components/Kernel/Kernel_Drivers/UART
linux/Foundational_Components/Kernel/Kernel_Drivers/UBIFS
linux/Foundational_Components/Kernel/Kernel_Drivers/UFS
linux/Foundational_Components/Kernel/Kernel_Drivers/USB/CDNS3
linux/Foundational_Components/Kernel/Kernel_Drivers/VTM
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -420,11 +420,12 @@ or via command line arguments):
$ dd if=/dev/mtd6 of=tmp_read.txt bs=num count=1 # read to num bytes to flash
$ diff tmp_read.txt tmp_write.txt # should be NULL

.. rubric:: Using UBIFS on flash
:name: using-ubifs-on-flash
.. note::

Make sure UBIFS filesystem is enabled in the kernel (refer to :ref:`this <enabling-qspi-driver-configurations>`
section for more information).

Make sure UBIFS filesystem is enabled in the kernel (refer to `this
section <#enabling-qspi-driver-configurations>`__ for more information).
Refer :ref:`here <linux-ubifs>` for UBIFS.

.. code-block:: console

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -164,157 +164,7 @@ Information regarding NAND booting and booting the kernel and file
system from NAND can be found in the U-boot User Guide NAND
section.


.. rubric:: **NAND Based File system**
:name: nand-based-file-system

The bootloader and u-boot partitions don't use any filesystem. The
images are flased directly to NAND flash.

The Filesystem though uses UBIFS filesystem. NAND flash is prone to
bit-flips. UBI + UBIFS takes care of the bit-flips issue and as well as
many other things like wear leveling, bad-block management, etc.

.. rubric:: Required Software for UBI image creation
:name: required-software-ubifs

Building a UBI file system requires two applications, ubinize and
mkfs.ubifs. Both are both provided by mtd-utils package.
(sudo apt-get install mtd-utils).

.. rubric:: Building a UBI File system image
:name: building-ubi-file-system

When building a UBI file system you need to have a directory that
contains the exact files and directories layout that you plan to use for
your file system. This is similar to the files and directories layout
you will use to copy a file system onto a SD card for booting purposes.
It is important that your file system size is smaller than the file
system partition in the NAND.

Next you need a file named ubinize.cfg. Below contains the exact
contents of ubinize.cfg you should use. However, replace **<name>**
with a name of your choosing. e.g. rootfs

ubinize.cfg contents:

::

[ubifs]
mode=ubi
image=<name>.ubifs
vol_id=0
vol_type=dynamic
vol_name=rootfs
vol_flags=autoresize

To build a UBI files system requires the below two commands. The
symbol **<directory path>** should be replaced with the path to
your directory that you want to include into a ubifs. The symbol
<name> should be replaced with the same value you used in creating
ubinize.cfg. Make sure you use the same value of <name> across the two
commands and ubinize.cfg. The symbols **<MKUBIFS ARGS>** and
**<UBINIZE ARGS>** are board specific. Replace these values with the
values seen in the below table based on the TI EVM you are using.

Commands to execute:

::

~# mkfs.ubifs -r <directory path> -o <name>.ubifs <MKUBIFS ARGS>
~# ubinize -o <name>.ubi <UBINIZE ARGS> ubinize.cfg

Once these commands are executed <name>.ubi can then be flashed into
the NAND's file-system partition.

+-----------------+--------------------------------+-------------------------------------+
| Board Name | MKUBIFS Args | UBINIZE Args |
+=================+================================+=====================================+
| AM335X GP EVM | -F -m 2048 -e 126976 -c 5600 | -m 2048 -p 128KiB -s 512 -O 2048 |
+-----------------+--------------------------------+-------------------------------------+
| AM437x GP EVM | -F -m 4096 -e 253952 -c 2650 | -m 4096 -p 256KiB -s 4096 -O 4096 |
+-----------------+--------------------------------+-------------------------------------+
| K2E EVM | -F -m 2048 -e 126976 -c 3856 | -m 2048 -p 128KiB -s 2048 -O 2048 |
+-----------------+--------------------------------+-------------------------------------+
| K2L EVM | -F -m 4096 -e 253952 -c 1926 | -m 4096 -p 256KiB -s 4096 -O 4096 |
+-----------------+--------------------------------+-------------------------------------+
| K2G EVM | -F -m 4096 -e 253952 -c 1926 | -m 4096 -p 256KiB -s 4096 -O 4096 |
+-----------------+--------------------------------+-------------------------------------+
| DRA71x EVM | -F -m 2048 -e 126976 -c 8192 | -m 2048 -p 128KiB -s 512 -O 2048 |
+-----------------+--------------------------------+-------------------------------------+
| AM64 GP EVM | -F -m 4096 -e 258048 -c 3970 | -m 4096 -p 256KiB -s 1024 -O 1024 |
+-----------------+--------------------------------+-------------------------------------+
| AM62 LP SK | -F -m 4096 -e 258048 -c 3970 | -m 4096 -p 256KiB -s 1024 -O 1024 |
+-----------------+--------------------------------+-------------------------------------+

Table: Table of Parameters to use for Building UBI filesystem image

|

.. rubric:: Flashing the UBI File system image to NAND
:name: flashing-ubi-file-system

Copy the UBI image created above to the EVM via SD card or Network.
Use ubiformat from EVM Linux to flash the UBI filesystem to the NAND file-system
partition.

::

~# ubiformat -f rootfs.ubi /dev/mtd<X>

Alternatively, you can use u-boot to download and flash the UBI image
to the NAND flash over USB in DFU mode (Not Supported in AM64 in 8.2).

At EVM u-boot:

::

=> setenv dfu_alt_info ${dfu_alt_info_nand}
=> dfu 0 nand list
DFU alt settings list:
dev: NAND alt: 0 name: NAND.tiboot3 layout: RAW_ADDR
dev: NAND alt: 1 name: NAND.tispl layout: RAW_ADDR
dev: NAND alt: 2 name: NAND.tiboot3.backup layout: RAW_ADDR
dev: NAND alt: 3 name: NAND.u-boot layout: RAW_ADDR
dev: NAND alt: 4 name: NAND.u-boot-env layout: RAW_ADDR
dev: NAND alt: 5 name: NAND.u-boot-env.backup layout: RAW_ADDR
dev: NAND alt: 6 name: NAND.file-system layout: RAW_ADDR

=> dfu 0 nand 0

At Host PC:
Attach a micro-USB cable between the PC and the EVMs USB port.

::

linux-pc$ sudo dfu-util -l
Found DFU: [0451:6165] ver=0224, devnum=7, cfg=1, intf=0, path="3-13.1", alt=6, name="NAND.file-system", serial="0000000000000280"
Found DFU: [0451:6165] ver=0224, devnum=7, cfg=1, intf=0, path="3-13.1", alt=5, name="NAND.u-boot-env.backup", serial="0000000000000280"
Found DFU: [0451:6165] ver=0224, devnum=7, cfg=1, intf=0, path="3-13.1", alt=4, name="NAND.u-boot-env", serial="0000000000000280"
Found DFU: [0451:6165] ver=0224, devnum=7, cfg=1, intf=0, path="3-13.1", alt=3, name="NAND.u-boot", serial="0000000000000280"
Found DFU: [0451:6165] ver=0224, devnum=7, cfg=1, intf=0, path="3-13.1", alt=2, name="NAND.tiboot3.backup", serial="0000000000000280"
Found DFU: [0451:6165] ver=0224, devnum=7, cfg=1, intf=0, path="3-13.1", alt=1, name="NAND.tispl", serial="0000000000000280"
Found DFU: [0451:6165] ver=0224, devnum=7, cfg=1, intf=0, path="3-13.1", alt=0, name="NAND.tiboot3", serial="0000000000000280"

linux-pc$ sudo dfu-util -D rootfs.ubi -a NAND.file-system -v
Opening DFU capable USB device...
ID 0451:6165
Run-time device DFU version 0110
Claiming USB DFU Interface...
Setting Alternate Setting #6 ...
Determining device status: state = dfuIDLE, status = 0
dfuIDLE, continuing
DFU mode device DFU version 0110
Device returned transfer size 4096
Copying data from PC to DFU device
Download [= ] 5% 4980736 bytes
Download [=========================] 100% 90177536 bytes
Download done.
Sent a total of 90177536 bytes
state(7) = dfuMANIFEST, status(0) = No error condition is present
state(2) = dfuIDLE, status(0) = No error condition is present
Done!

Refer :ref:`here <linux-ubifs>` for UBIFS.

.. rubric:: **Board specific configurations**
:name: board-specific-configurations
Expand Down Expand Up @@ -526,4 +376,3 @@ http://www.linux-mtd.infradead.org/doc/ubi.html
http://www.linux-mtd.infradead.org/doc/ubifs.html
https://wiki.linaro.org/Flash%20memory
https://lwn.net/Articles/428584/

Loading
Loading