VersaLogic Zebra VL-EPC-2701 User Manual page 33

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

Customizing the Image
Just for information purpose, the U-Boot images for Solo and DualLite Zebra boards are different
in order to support the different RAM installed on these boards. A Zebra board will have the
appropriate version burned onto the SPI flash during manufacturing. In case the user wants to
rebuild the U-Boot image, the correct version can be selected by editing the file sources/meta-
versalogic/conf/machine/imx6zebra.conf and comment out the board version that is
not used.
For example, to build a Solo image, the file should look like this:
...
# Change these value to build either a solo or dual lite
# mx6solozebra is default. mx6dlzebra is for dual lite
UBOOT_CONFIG ??= "spinor"
UBOOT_CONFIG[spinor] = "mx6solozebra_config"
UBOOT_CONFIG[sd] = "mx6solozebra_config,sdcard"
UBOOT_CONFIG[sata] = "mx6solozebra_sata_config"
UBOOT_CONFIG[mfgtool] = "mx6solozebra_config"
#UBOOT_CONFIG[spinor] = "mx6dlzebra_config"
#UBOOT_CONFIG[sd] = "mx6dlzebra_config,sdcard"
#UBOOT_CONFIG[sata] = "mx6dlzebra_sata_config"
#UBOOT_CONFIG[mfgtool] = "mx6dlzebra_config"
SERIAL_CONSOLE = "115200 ttymxc0"
If a newer version of U-boot is available, then the Zebra can be updated following these steps:
1. Copy the new U-boot file to a TFTP server. For example, copy the file to /tftpboot on
the host PC
2. Power on Zebra and stop U-boot auto boot. Execute the following commands to update it:
=> dhcp
=> setenv serverip <Host PC IP>
=> tftp 0x10800000 <U-boot file name>
=> sf probe
=> sf erase 0 0xc0000
=> sf write 10800000 0x400 $filesize
3. Reboot the Zebra and verify that the U-boot version number has been updated.
There is also an alternative method to update U-boot.
1. Boot the Zebra up using one of the methods described in the previous sections, MicroSD
or network boot.
2. Copy the new U-boot file to the Zebra.
Zebra (VL-EPC-2701) Yocto Linux User Guide
33

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents