Quantcast
Channel: Processors forum - Recent Threads
Viewing all articles
Browse latest Browse all 17527

Linux/OMAP-L138: How to flash ais image with U-Boot to NAND from Linux

$
0
0

Part Number:OMAP-L138

Tool/software: Linux

Currently I can flash the bootloader (an AIS image with U-Boot) to the NAND flash on my OMAP-L138 board using the utility "sfh_OMAP-L138.exe".

This works fine, but with disadvantages:

  1. I have to set a DIP switch for UART boot mode.
  2. This tool is a Windows prorgam.

Is there a method to update the bootloader in NAND flash (patition 1; device /dev/mtd1) directly from linux?

I've already tried with "mtd-utils"

flash_erase /dev/mtd1 0 0
nandwrite -p /dev/mtd1 <ais file>

but after that the board doesn't start after switching power off and on.


Viewing all articles
Browse latest Browse all 17527

Trending Articles



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