Quantcast
Channel: Processors
Viewing all articles
Browse latest Browse all 123577

Forum Post: RE: Booting from NAND flash memory

$
0
0

Oh, allow me to conclude everything, so that people like me would not face the same issue in the future.

Steps to boot from NAND:

  1. Prepare a Linux host. (Ubuntu 10.04 LTS in this case) or virtual machine is okay too.
  2. Install the EZSDK on the host. 
  3. Install the minicom on the host by executing sudo apt-get install minicom
  4. Configure the minicom and set its serial port to /dev/ttyUSB0 (it may vary for different case, normally try /dev/ttyUSB1 if /dev/ttyUSB0 didn't work)
  5. Prepare a UART to USB converter. (as it is NOT provided)
  6. Connect the UART from DM8148 to USB port of the host. (UART port is the one beside the SD card slot on DM8148)
  7. Connect power supply to DM8148.
  8. Configure DM8148 to SD boot mode. The following is the configuration:
    1. SW1.1 = 1
    2. SW1.2 = 1
    3. SW1.3 = 1
    4. SW1.4 = 0
    5. SW1.5 = 1
    6. SW1.8 = 1 (To enable 16-bits of NAND usage)
    7. SW2.1 = 1 (To enable NAND)
  9. Go to your bin folder located in the EZSDK directory. (usually in home folder named ti-ezsdk_dm814x-evm_X_XX_XX_XX, where X is the version number)
  10. Now, you need to create a new SD card and use this card instead of the provided SD card.
  11. Connect your new SD card via a SD card reader to your Ubuntu host.
  12. Open a new terminal and execute the following code:
    1. export EZSDK="Your ti-ezsdk_dm814x-evm_X_XX_XX_XX/bin directory"
    2. sudo $EZSDK/bin/mksdboot.sh --device /dev/sdb --sdk $EZSDK (make sure /dev/sdb is the new SD card and no valuable data on it)
    3. After done, disconnect the new SD card and insert to DM8184 SD card slot.
  13. Open a new terminal (Ctrl + Alt + t) and simply drag and drop a file named setup-nand-images.sh located in the same directory as $EZSDK/bin/.
  14. Just use the default setting, by pressing Enter twice, the script will automatically bring you to minicom.
  15. By that time, power up your DM8148. You will see some output and then a timer for autoboot. Cancel it by pressing any keys. It will start flashing everything.
  16. If you don't see any output, your minicom configuration might wrong. I mean the /dev/ttyUSBX part.
  17. After the script is successfully executed, power off your machine. Configure it to NAND boot by just simply set the current SW1.1 and SW1.3 to 0.
  18. On a terminal, execute minicom -w.
  19. Power up your DM8148 and there you have it, booted from NAND. No need go through NETRA NAND or CCS.

 

Hopefully this sharing of my experience helps!

 

Best regards,

Benz


Viewing all articles
Browse latest Browse all 123577

Trending Articles



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