[discussion thread here ] Few days back looking at OMAP3430 Public TRM I found the section 26.4.8.2(page 3427), it was exciting to see what possibilities lay here.. a little more digging later and few hours of coding later, figured out that by adding a certain data as a prefix to the real image, we can boot u-boot or for that matter any image straight from NAND flash into sdram.. essentially this is what x-loader does, only that OMAP3430 ROMCode already has that feature.. What exactly is Configuration Header(CH)? CH is a set of register values to the critical OMAP registers that define how the clocks, sdram controller, gpmc controller, mmc controllers are configured.. it is more like an array of register values - you fill them up with the correct values, and store the load address you would like the resultant image to load up, bingo, we have the image booting off that location.. There are few of these structures that are defined in the TRM which has a detailed description on the real...
Comments
g.|s.
using stty and direct file access
Example:
stty --save -F /dev/ttyUSB0
1:0:18b2:0:3:1c:7f:15:1:5:1:0:11:13:1a:0:12:f:17:16:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0
This gives you the settings which you can use to reprogram the tty at a later point of time. so my fav technique is to first use minicom to set everything up, dump with stty as above..
I=`sudo stty --save -F /dev/ttyUSB0`
stty -F /dev/ttyUSB0 $I
now to dump the serial port:
cat /dev/ttyUSB0
or write to serial port:
echo "ls">/dev/ttyUSB0
Thanks.