Hi Christian, On Mon, Jun 6, 2011 at 3:11 AM, Christian Riesch <[email protected]> wrote: > Hello Ben, > > On Fri, Jun 3, 2011 at 6:24 PM, Ben Gardiner <[email protected]> > wrote: >> I've been trying to reproduce here but not having any luck so far. > > What are your results? Any error messages/different behavior than > described in my emails?
Same as you "(no sign of life on the serial port)" > I just tried to reproduce what you did, everything worked as expected :-) :) ok > My hardware is the AM1808 experimenter's kit from LogicPD, base board > 1015525 Rev. 2, the SOM is 1015232 Rev. 4. It is connected to a USB > serial port on my Linux box, /dev/ttyUSB0. So I guess there is a difference right off the bat here: I have OMAPL138 evm from LogicPD, base board 1013527 rev 5; SOM 1014650 rev A. >> I'm using the 2.31 Davincii Serial Boot and flashing utilites [1], >> Mono 2.10 and the parent of commit >> f1d2b313c9eb6808d30c16a9eb5251240452a56c: '4fff329 >> nand_boot_fsl_nfc.c: make "nfc" a "static const" pointer' >> >> I build u-boot with 'make mrproper; make da850evm_config; make -j9 all'; > > $ cd u-boot > $ git checkout 4fff329 > $ export CROSS_COMPILE=arm-none-linux-gnueabi- > $ make mrproper; make da850evm_config; make -j9 all > > $ cd .. > $ mkdir ben > $ ln -s ../u-boot/u-boot.bin . > $ nano OMAP-L138.ini (copy&pasted the configuration from your email > to the text editor) > >> I create an ais_output.bin with 'mono >> /media/unixdata/src/OMAP-L138_FlashAndBootUtils_2_31/OMAP-L138/GNU/AISUtils/HexAIS_OMAP-L138.exe' >> I erase the SPI flash with 'mono >> /media/unixdata/src/OMAP-L138_FlashAndBootUtils_2_31/OMAP-L138/GNU/sfh_OMAP-L138.exe >> -erase -p /dev/ttyS0' >> I write the SPI flash with 'mono >> /media/unixdata/src/OMAP-L138_FlashAndBootUtils_2_31/OMAP-L138/GNU/sfh_OMAP-L138.exe >> -flash_noubl ais_output.bin' > > I am using flash and boot utils 2.31 as well. Mono version is 2.4, I > had to rebuild the utilities to make them run with mono on my machine. > I modified the flash and boot utils' makefiles to build for the AM1808 > target only (otherwise I would have to install the DSP compiler). There's another difference -- I have tried rebuilding also but I always gave up when 'timake' was not available. How are you working around this? You are perhaps rebuilding in windows with CCSv3? > $ mono ../flash-2.31/HexAIS_OMAP-L138.exe > > $ mono ../flash-2.31/sfh_OMAP-L138.exe -erase -targetType AM1808 -p > /dev/ttyUSB0 > (added the -targetType option, default is OMAP-L138) > > $ mono ../flash-2.31/sfh_OMAP-L138.exe -targetType AM1808 -p > /dev/ttyUSB0 -flash_noubl ais_output.bin > (added -targetType and -p options) I'll try the 'targetType' option also. > $ minicom > -> reboot of the board with boot configuration set to "boot from SPI" > -> u-boot prompt appears on the serial console: > > ---snip--- > U-Boot 2010.09-rc2-00028-g4fff329 (Jun 06 2011 - 08:10:46) > > I2C: ready > DRAM: 64 MiB > Using default environment > > *** Warning - bad CRC, using default environment > > In: serial > Out: serial > Err: serial > DA850-evm > > ---snip--- Ok well that's promising. > Thank you very much for your help! Hope the information above helps, > do you need anything else? > Regards, Christian I think it would be good to know how you're rebuilding the Flash and Boot utilities and what compiler you are using for building u-boot. I am using codesourcery's 2009q1 here. Best Regards, Ben Gardiner --- Nanometrics Inc. http://www.nanometrics.ca _______________________________________________ U-Boot mailing list [email protected] http://lists.denx.de/mailman/listinfo/u-boot

