Quantcast
Channel: Forums - Recent Threads
Viewing all articles
Browse latest Browse all 262198

EVMK2H: Loading latest pre-built UBOOT and Linux to EVMK2H flash

$
0
0

Part Number: EVMK2H

I am trying to update the UBOOT and Linux on an EVMK2HX module (stored in flash) to the pre-built files in the current version (06_00_00_07) and then upgrade the 2 GB EVMK2HX memory module to an 8 GB one.  There appear to be a number of ways to do this, which seem to be somewhat inconsistent( to a newbie).

  1. The following steps for downloading the 06_00_00_07 SDK provided UBOOT image to NOR flash were gleaned from the documentation (mostly section 3.1.1.2.5). Are they correct?
    1. Setup a TFTP server on the local network, connect the EVMK2HX Ethernet and USB-to-Serial cables, set the boot switches to 0001, and boot the module.
    2. At the prompt on the serial connection, type:
    • printenv                               (see EVs just to know what they are)
    • env default –f –a
    • saveenv
    • setenv server_ip <TFTP Server IP address>
    • setenv tftp_root <TFTP root directory where the UBI image is copied to>
    • setenv name_uboot u-boot-spi.gph
    • run get_uboot_net
    • run burn_uboot_spi

 

2. Can the module be rebooted to see if the UBOOT load was successful, or should the Linux image be loaded prior to rebooting?

3. The 06_00_00_07 SDK Getting Started Guide section 1.1.4.2 indicates that the Linux image is written as a single ubi file(named tisdk-server-rootfs-image-k2h-evm.ubi), however a single tar.xz file is provided instead. How is that file converted into a ubi file that can be downloaded?

4. The following steps for downloading the 06_00_00_07 SDK provided Linux ubi file were gleaned from section 3.4 and section 3.3.6 question 3:

    1. Setup a TFTP server on the local network, connect the EVMK2HX Ethernet and USB-to-Serial cables, set the boot switches to 0001, and boot the module. (Skip this step if the answer to question 2 is to load Linux before rebooting)
    2. At the prompt on the serial connection, type:
      • setenv server_ip <TFTP Server IP address>
      • setenv name_ubi <the UBI image name>
      • setenv tftp_root <TFTP root directory where the UBI image is copied to>
      • run get_ubi_net
      • run burn_ubi
      • setenv boot ubi
      • saveenv
      • boot

c. Test the changes by typing:

      • bootmode #2
      • reboot

 5. If the EVMK2HX module does not boot after the above, what is the recovery mechanism? … Use the UART and BMC mechanism described by     board-support/u-boot-2019 … /board/ti/ks2_evm/README

Just trying to make sure the steps are correct and a recovery path is known.

Thanks,

- bob g.


Viewing all articles
Browse latest Browse all 262198

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>