[U-Boot] da850evm: u-boot does not start without UBL since commit f1d2b313c9eb6808d30c16a9eb5251240452a56c

Christian Riesch christian.riesch at omicron.at
Mon Jun 6 09:11:52 CEST 2011


Hello Ben,

On Fri, Jun 3, 2011 at 6:24 PM, Ben Gardiner <bengardiner at nanometrics.ca> 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?

I just tried to reproduce what you did, everything worked as expected :-)

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.

> 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).

$ 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)

$ 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---

> and the contents of my OMAP-L138.ini are as yours:
> [General]
> busWidth=8
> BootMode=SPIMASTER
> crcCheckType=NO_CRC
> [PLLANDCLOCKCONFIG]
> PLL0CFG0 = 0x00180001
> PLL0CFG1 = 0x00000205
> PERIPHCLKCFG = 0x0000000a
> [EMIF3DDR]
> PLL1CFG0 = 0x15010001
> PLL1CFG1 = 0x00000002
> DDRPHYC1R = 0x000000C4
> SDCR = 0x0A034622
> SDTIMR = 0x184929C8
> SDTIMR2 = 0xB80FC700
> SDRCR = 0x00000406
> CLK2XSRC = 0x00000000
> [INPUTFILE]
> FILENAME=u-boot.bin
> LOADADDRESS=0xC1080000
> ENTRYPOINTADDRESS=0xC1080000
>
> I would like to help you debug the operation of UBL-free boot with
> relocation -- can you give me more details on your setup to help me
> reproduce here?

If I try the same with git checkout ab86f72c354f9b2572, I get no
response on the serial console. Furthermore I also tried the most
recent u-boot, 6f4dd40cddbd69c56fec1285fee02cbd5a3833d8, Prepare
v2011.06-rc2, no response on the serial port console.

Thank you very much for your help! Hope the information above helps,
do you need anything else?
Regards, Christian


More information about the U-Boot mailing list