Congatec SMARC conga-SMX8-X Скачать руководство пользователя страница 7

Copyright 

© 

2019 

congatec 

AG 

 

      SX8X_SDS_q11 

 

     

7/8

The following environment variables are predefined for conga-SMX8-X 
(Prototype Revision Y.1):

Name

Default value

Description

bootcmd

Defines the startup command of the bootloader, i.e. 

how the system performs the boot process

fdt_file

imx8qxp-cgtsx8x.dtb

The device tree blob, might be exchanged in order to 

enhance functionality

image

Image

The name of the kernel image file that is loaded 

during boot process

ipaddr

not specified

Address of the system (used for network boot)

serverip

not specified

Address of the remote host (used for network boot)

netmask

not specified

Netmask of the network (used for network boot)

nfsroot

not specified

The location where the NFS root filesystem is stored 

(used for network boot)

mmcdev

"1" (external SD card)

The boot device number (used for mmcboot)

mmcpart

"1" (first partition)

The number of the bootpartiton on the bootdevice 

(used for mmcboot)

mmcroot

"/dev/mmcblk1p2 rootwait 

rw" (2nd partition on device 1)

The root filesystem (used for mmcboot), might also 

be used to extend the kernel command line

Following, some frequently used scripts:

Name

Description

mmcboot

Boots the system from mmc (with the specified parameters for mmcboot), i.e. 

eMMC, SD card

mmcargs

Configures the bootargs for mmcboot

netboot

Boots the system from network (with the specified parameters for network boot)

netargs

Configures the bootargs for network boot

loadbootscript

Used during boot, loads an eventually existing boot script

loadimage

Used during boot, loads the kernel

loadfdt

Used during boot, loads the device tree blob file

There are several commands to change the behavior of the bootloader and 
to customize the boot process. The help command can be used to display 
a list of all available commands.

2.4 

Updating or Fixing the Boot Container

The boot container of the conga-SMX8-X (Prototype Revision Y.1) is stored 

in SPI flash. To update or fix a corrupted boot container, boot from a 

recovery SD card instead of SPI flash. Follow the steps below to create a 

recovery SD card and update or fix the boot container:

1.  Flash your root filesystem image to an SD card

 ("recovery SD card"):

dd if=your_rootfs.sdcard of=/dev/sdX

2.  Write your boot container (SD) to the recovery SD card:

dd if=your_bootcontainer_sd.bin of=/dev/sdX bs=1k seek=32

3.  Copy your boot container (SPI flash) to the recovery SD card:

mkdir 

-p 

/mnt/sd 

     

mount 

/dev/sdX1 

/mnt/sd 

    

cp -avr your_bootcontainer_fspi.bin /mnt/sd/. 

 

sync; umount /mnt/sd

4.  Insert the recovery SD card into the SD card slot of the carrier board

5.  Set the DIP switches to boot from SD card (see step 2 of section 1.4)

6.  Start the system (see step 12 of section 1.4)

7.  Log in as root and enter the following commands:

cd 

/run/media/mmcblk1p1 

    

flash_eraseall /dev/mtd0 

 

 

 

 

dd if=xyz_bootcontainer_fspi.bin of=/dev/mtd0 

 

poweroff

8.  Switch the PSU off

The boot container is updated. The recovery SD card can be removed and 
the DIP switches set back to boot from SPI flash (see step 2 of section 1.4).

 

Note

1  Do not use the SD card included in the sample distribution set for this purpose.

Содержание SMARC conga-SMX8-X

Страница 1: ...Copyright 2019 congatec AG SX8X_SDS_q11 1 8 conga SMX8 X Prototype Revision Y 1 Sample Distribution Set for congatec SMARC 2 0 Development Quick Start Guide Revision 1 1...

Страница 2: ...igns are created from lead free components and are completely RoHS compliant Electrostatic Sensitive Device All congatec AG products are electrostatic sensitive devices They are enclosed in static shi...

Страница 3: ...shipped by congatec or the remainder of the original warranty whichever is longer This Limited Warranty extends to congatec s direct customer only and is not assignable or transferable Except as set f...

Страница 4: ...10000285 A MicroSDHC Card UHS I Kingston industrial SDCIT EU Class 10 8 GB microSD card with SD card adapter and preinstalled image 1 N A 1 1 Quick Start Guide conga SMX8 X Sample Distribution Set Qu...

Страница 5: ...Connect the USB 2 0 to Serial Adapter to the RS232 adapter cable port labeled CONSOLE 8 Mount the cooling solution onto the module Final torque 0 4 Nm 9 Mount the module onto the carrier board Final t...

Страница 6: ...er SCFW loading the bootloader is executed and performs basic system initialization serial console etc Afterwards the environment settings are parsed and the system boot continues as specified Press a...

Страница 7: ...during boot loads an eventually existing boot script loadimage Used during boot loads the kernel loadfdt Used during boot loads the device tree blob file There are several commands to change the behav...

Страница 8: ...Information The software provided on the included SD card is based on the Yocto Project www yoctoproject org and i MX 8QuadXPlus specific add on layers provided by NXP and congatec The conga SMX8 X so...

Отзывы: