Embedded module TQMa335x - Windows EC 2013 BSP documentation



In order to use an external SD Card for booting, follow these steps :

  • Insert SD Card into PC cardreader
  • Note the drive letter of the inserted card
  • Open a command shell
  • Navigate to the BSP SCRIPTS subfolder e.g. WINCE800\platform\AM335x_TQS\SCRIPTS
  • Prepare the SD Card with the command prepsd drive letter e.g. prepsd L:

Every time the Bootloader or the Image change you have to apply the following steps:

  • Copy the files MLO, EBOOTSD.nb0 and NK.bin to the SD Card. These files can be taken from the Bootloader and Images –folders of the BSP package or from the Release Directory of an OSDesign after building it
  • When taking the NK.bin from the Release Directory, make sure the image was not built with the write image to eMMC flash option active. When using the image from the BSP package, select the NK.bin from RAM_SDCard subfolder
  • Eject the SD Card from PC cardreader
  • Insert the card into the MBa335x SDCard slot (X10)
  • Make sure dip switch S2 is configured for boot from MMC0/SD first see Mba335 dip switch settings
  • Make sure dip switch S1 is configured to select 24MHz Quartz frequency see Mba335 dip switch settings
  • Connect a serial cable between the debug port (X15) and PC
  • Power up the board
  • Windows Embedded Compact should boot up. The default configuration is to autoboot NK.bin from the card. This can be confirmed by examining the debug messages on the serial console (X-Loader → Eboot → NK Image).

In order to boot from internal eMMC, the eMMC X-Loader and Eboot must first be programmed using external SD Card boot. Follow these steps:

  • Build a Retail Image
  • Follow the same steps as under 3.1 (Boot from external SD Card), but copy the files MLO and EBOOTEMMC.nb0 to the card instead
  • Rename the file EBOOTEMMC.nb0 on the card to EBOOTSD.nb0.
  • Connect the board to your network infrastructure using Ethernet port 1 (X11) of the board
  • Boot the board from the external SD card
  • Enter the EBOOT menu by pressing Space in the serial console when prompted Hit space to enter configuration menu
  • Make sure the network configuration is set according to your infrastructure by entering the Network Settings menu item pressing 4. After this, return to the main menu by pressing 0
  • Make sure Internal EMAC is selected as boot device by pressing 2 (Select Boot Device) and pressing 1
  • Optional: save the configuration by pressing 7
  • Start network boot by pressing 0
  • In Platform Builder, select Project → XXX Properties and navigate to the Configuration Properties → General section. Select xldremmc.bin from the Target file name for debugger: –dropdown menu. Confirm the setting and close the properties dialog
  • Select TARGET → Attach Device
  • Wait for your device to show up under Active target devices (e.g. “AM335X-21879”). The target device string must match the EBOOT console output (e.g. “INFO: * Device Name AM335X-21879 *”)
  • Select the device and press Apply
  • The X-Loader should be downloaded and flashed automatically. Confirm this by examining the serial console output for “INFO: XLDR/EBOOT/IPL downloaded, spin forever”
  • Reboot the board
  • Follow the same steps as under 3.2.2., but select ebootemmc.bin instead of xldremmc.bin as target file name. To do this, first select TARGET → Detach Device from the PlatformBuilder menu, select the file in the Project Properties dialog and select TARGET → Attach Device after this. If you previously saved the network settings using the Eboot menu, it is not necessary to re-configure it again.
  • Change the configuration of dip switch S2 for boot from MMC1 / eMMC first see Mba335 dip switch settings
  • Remove the external SD Card from X10
  • Power up the board. The X-Loader and EBOOT should boot up from eMMC
  • Enter the EBOOT menu by pressing Space
  • Enter the eMMC Management submenu by pressing 5
  • Format the eMMC disk by pressing 7 and confirm. Wait for the operations to complete. Note: this may take several minutes. Please be patient
  • Start Ethernet Auto Download by exiting the Eboot menu (press 0 several times)
  • In PlatformBuilder, select the NK.bin file from the Target File Name dropdown list
  • Select write image to eMMC flash in the Catalog under Configuration and rebuild
  • Download the created NK.bin to the device. The image should be written to eMMC and boot automatically (this can take some time)
  • Reboot the board, enter the Eboot menu and select 2 (Select Boot Device). Press 2 to select NK from eMMC. Exit to the main menu by pressing 0
  • Optional: save the configuration by pressing 7.
  • Exit Eboot menu by pressing 0. The NK Image should be loaded and started from eMMC.

Follow the same steps as under 3.2.2. but download the file logo.nb0 to the device. In order to select this file for download, go to Configuration Properties → General section. Type logo.nb0 into the Target file name for debugger: –box. The boot logo should be downloaded and flashed automatically by the Eboot. The logo should be displayed on the display at the next boot.

  • Last modified: 2022/08/04 15:02