VersaLogic Zebra VL-EPC-2701 User Manual page 34

Yocto linux, arm i.mx6 single board computer with gigabit ethernet, video, usb, sata, serial i/o, digital i/o, can bus, spi and i2c
Table of Contents

Advertisement

root@imx6zebra:~# scp <username>@<Host PC IP>:<image directory
path>/<U-boot file name> .
Alternatively, the file can be copied onto an USB flash drive and then mounted on the Zebra
board.
3. Determine the device name for the SPI flash.
root@imx6zebra:~# mtdinfo -a
Count of MTD devices:
Present MTD devices:
Sysfs interface supported:
mtd0
Name:
Type:
Eraseblock size:
Amount of eraseblocks:
Minimum input/output unit size: 1 byte
Sub-page size:
Character device major/minor:
Bad blocks are allowed:
Device is writable:
4. Erase the SPI flash.
root@imx6zebra:~# flash_erase /dev/mtd0 0 0
Erasing 4 Kibyte @ 1ff000 -- 100 % complete
5. Write the new U-boot file to the SPI flash.
root@imx6zebra:~# dd if=<U-boot file name> of=/dev/mtd0 bs=1k
seek=1
439+0 records in
439+0 records out
449536 bytes (450 kB, 439 KiB) copied, 1.41179 s, 318 kB/s
6. Reboot the Zebra and verify that the U-boot version number has been updated.
34
1
mtd0
yes
spi0.0
nor
4096 bytes, 4.0 KiB
512 (2097152 bytes, 2.0 MiB)
1 byte
90:2
false
true
Zebra (VL-EPC-2701) Yocto Linux User Guide
Customizing the Image

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents