[U-Boot] BDI2000 configuration for P2020DS

Ira W. Snyder iws at ovro.caltech.edu
Thu Jul 14 22:41:18 CEST 2011


On Thu, Jul 14, 2011 at 08:16:13PM +0000, McClintock Matthew-B29882 wrote:
> On Thu, Jul 14, 2011 at 1:59 PM, Ira W. Snyder <iws at ovro.caltech.edu> wrote:
> > The documentation Freescale sent me claims that U-Boot is in a 4MB SPI
> > flash, however, the U-Boot that came with the board is unable to
> > initialize the SPI subsystem per their instructions.
> >
> > => sf probe 0
> > SF: Unsupported Manufacturer 00
> > Failed to initialize SPI flash at 0:0
> 
> SPI is working for me. What version of u-boot are you running? Can you
> paste your boot log?
> 

I'm using the U-Boot that came on the board: 2009.11-V100R00. I have not
changed any DIP switches. My boot log is below.

Thanks for the help,
Ira


U-Boot 2009.11-V100R00 (Dec 09 2010 - 14:39:42)

CPU0:  P2020E, Version: 2.0, (0x80ea0020)
Core:  E500, Version: 5.0, (0x80211050)
Clock Configuration:
       CPU0:1200 MHz, CPU1:1200 MHz, 
       CCB:600  MHz,
       DDR:333.333 MHz (666.667 MT/s data rate) (Asynchronous), LBC:37.500 MHz
L1:    D-cache 32 kB enabled
       I-cache 32 kB enabled
I2C:   ready
SPI:   ready
DRAM:   2 GB
L2:    512 KB enabled
MMC:  FSL_ESDHC: 0
SF: Unsupported manufacturer 00
*** Warning - bad CRC, using default environment

EEPROM: NXID v0
EEPROM: COMX

    PCIE3 connected to Slot0 as Root Complex (base addr ffe08000)
    PCIE3 on bus 00 - 00

    PCIE2 connected to Slot 1 as Root Complex (base addr ffe09000)
    PCIE2 on bus 01 - 01

    PCIE1 connected to Slot 2 as Root Complex (base addr ffe0a000)
    Current Status: LSR-11, LTSSM-16, PEX width-x1, Clock-2.5GT/s
               Scanning PCI bus 03
        03  00  18ca  0027  0300  00
    PCIE1 on bus 02 - 03

In:    serial
Out:   serial
Err:   serial
Net:   eTSEC1, eTSEC2, eTSEC3
Hit any key to stop autoboot:  0 
=> 
=> sf probe 0
SF: Unsupported manufacturer 00
Failed to initialize SPI flash at 0:0
=> printenv
ramboot=setenv bootargs root=/dev/ram rw DVO_OUTPUT=$DVO_OUTPUT console=$consoledev,$baudrate $othbootargs;tftp $ramdiskaddr $tftppath/$ramdiskfile;tftp $loadaddr $tftppath/$bootfile;tftp $fdtaddr $tftppath/$fdtfile;bootm $loadaddr $ramdiskaddr $fdtaddr
nfsboot=setenv bootargs root=/dev/nfs rw nfsroot=$serverip:$rootpath ip=$ipaddr:$serverip:$gatewayip:$netmask:$hostname:$netdev:off DVO_OUTPUT=$DVO_OUTPUT console=$consoledev,$baudrate $othbootargs;tftp $loadaddr $tftppath/$bootfile;tftp $fdtaddr $tftppath/$fdtfile;bootm $loadaddr - $fdtaddr
bootdelay=10
baudrate=115200
loads_echo=1
ipaddr=192.168.0.250
serverip=192.168.0.197
rootpath=/local/tftpboot/COMX-P2020/current/rootfs_nfs
gatewayip=192.168.0.1
netmask=255.255.255.0
hostname=COMX-P2020
bootfile=uImage
loadaddr=1000000
bootcmd=run sdboot
sdboot=setenv bootargs root=/dev/mmcblk0p2 rw rootdelay=$rootdelaysecond DVO_OUTPUT=$DVO_OUTPUT console=$consoledev,$baudrate $othbootargs; mmcinfo;ext2load mmc 0:2 $loadaddr /boot/$bootfile;ext2load mmc 0:2 $fdtaddr /boot/$fdtfile;bootm $loadaddr - $fdtaddr
sdfatboot=setenv bootargs root=/dev/ram rw rootdelay=$rootdelaysecond DVO_OUTPUT=$DVO_OUTPUT console=$consoledev,$baudrate $othbootargs; mmcinfo;fatload mmc 0:1 $loadaddr $bootfile;fatload mmc 0:1 $fdtaddr $fdtfile;fatload mmc 0:1 $ramdiskaddr $ramdiskfile;bootm $loadaddr $ramdiskaddr $fdtaddr
usbboot=setenv bootargs root=/dev/sda1 rw rootdelay=$rootdelaysecond DVO_OUTPUT=$DVO_OUTPUT console=$consoledev,$baudrate $othbootargs;usb start;ext2load usb 0:1 $loadaddr /boot/$bootfile;ext2load usb 0:1 $fdtaddr /boot/$fdtfile;bootm $loadaddr - $fdtaddr
usbfatboot=setenv bootargs root=/dev/ram rw DVO_OUTPUT=$DVO_OUTPUT console=$consoledev,$baudrate $othbootargs; usb start; fatload usb 0:2 $loadaddr $bootfile; fatload usb 0:2 $fdtaddr $fdtfile; fatload usb 0:2 $ramdiskaddr $ramdiskfile; bootm $loadaddr $ramdiskaddr $fdtaddr
usbext2boot=setenv bootargs root=/dev/ram rw DVO_OUTPUT=$DVO_OUTPUT console=$consoledev,$baudrate $othbootargs; usb start; ext2load usb 0:4 $loadaddr $bootfile; ext2load usb 0:4 $fdtaddr $fdtfile; ext2load usb 0:4 $ramdiskaddr $ramdiskfile; bootm $loadaddr $ramdiskaddr $fdtaddr
upgradespi=sf probe 0;setenv startaddr 0;setenv erasesize a0000;tftp 1000000 $tftppath/$uboot_spi;sf erase $startaddr $erasesize;sf write 1000000 $startaddr $filesize;sf erase 100000 120000
clearspienv=sf probe 0;sf erase 100000 20000
othbootargs=ramdisk_size=700000 cache-sram-size=0x10000
netdev=eth0
rootdelaysecond=15
uboot_nor=u-boot-nor.bin
uboot_spi=u-boot-spi.bin
uboot_sd=u-boot-sd.bin
consoledev=ttyS0
ramdiskaddr=2000000
ramdiskfile=rootfs-dev.ext2.img
fdtaddr=c00000
fdtfile=comx.dtb
tftppath=COMX-P2020/current
DVO_OUTPUT=enable
ethaddr=EC:9E:CD:01:4D:B4
eth1addr=EC:9E:CD:01:4D:B5
eth2addr=EC:9E:CD:01:4D:B6
ethact=eTSEC1

Environment size: 2804/8188 bytes


More information about the U-Boot mailing list