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:
- Prepare a Linux host. (Ubuntu 10.04 LTS in this case) or virtual machine is okay too.
- Install the EZSDK on the host.
- Install the minicom on the host by executing sudo apt-get install minicom
- 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)
- Prepare a UART to USB converter. (as it is NOT provided)
- Connect the UART from DM8148 to USB port of the host. (UART port is the one beside the SD card slot on DM8148)
- Connect power supply to DM8148.
- Configure DM8148 to SD boot mode. The following is the configuration:
- SW1.1 = 1
- SW1.2 = 1
- SW1.3 = 1
- SW1.4 = 0
- SW1.5 = 1
- SW1.8 = 1 (To enable 16-bits of NAND usage)
- SW2.1 = 1 (To enable NAND)
- 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)
- Now, you need to create a new SD card and use this card instead of the provided SD card.
- Connect your new SD card via a SD card reader to your Ubuntu host.
- Open a new terminal and execute the following code:
- export EZSDK="Your ti-ezsdk_dm814x-evm_X_XX_XX_XX/bin directory"
- 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)
- After done, disconnect the new SD card and insert to DM8184 SD card slot.
- 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/.
- Just use the default setting, by pressing Enter twice, the script will automatically bring you to minicom.
- 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.
- If you don't see any output, your minicom configuration might wrong. I mean the /dev/ttyUSBX part.
- 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.
- On a terminal, execute minicom -w.
- 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