i can boot from uart0,the boot set is 0100 0010 0011 0111 (mmc0 spi0 uart0 usb0),the debug information is :
CCCCCCCC
U-Boot SPL 2013.01.01 (Sep 26 2014 - 12:13:39)
Could not probe the EEPROM; something fundamentally wrong on the I2C bus.
Could not get board ID.
musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, bulk combine, bulk split, HB-ISO
Rx, HB-ISO Tx, SoftConn)
musb-hdrc: MHDRC RTL version 2.0
musb-hdrc: setup fifo_mode 4
musb-hdrc: 28/31 max ep, 16384/16384 memory
USB Peripheral mode controller at 47401000 using PIO, IRQ 0
musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, bulk combine, bulk split, HB-ISO
Rx, HB-ISO Tx, SoftConn)
musb-hdrc: MHDRC RTL version 2.0
musb-hdrc: setup fifo_mode 4
musb-hdrc: 28/31 max ep, 16384/16384 memory
USB Host mode controller at 47401800 using PIO, IRQ 0
CCCxyzModem - CRC mode, 2(SOH)/358(STX)/0(CAN) packets, 5 retries
Loaded 366036 bytes
U-Boot 2013.01.01 (Sep 26 2014 - 12:13:39)
I2C: ready
DRAM: 512 MiB
WARNING: Caches not enabled
Could not probe the EEPROM; something fundamentally wrong on the I2C bus.
Could not get board ID.
NAND: 2048 MiB
MMC: OMAP SD/MMC: 0, OMAP SD/MMC: 1
ECC: uncorrectable.
ECC: uncorrectable.
ECC: uncorrectable.
ECC: uncorrectable.
NAND read from offset 260000 failed -74
*** Warning - readenv() failed, using default environment
musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, bulk combine, bulk split, HB-ISO
Rx, HB-ISO Tx, SoftConn)
musb-hdrc: MHDRC RTL version 2.0
musb-hdrc: setup fifo_mode 4
musb-hdrc: 28/31 max ep, 16384/16384 memory
USB Peripheral mode controller at 47401000 using PIO, IRQ 0
musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, bulk combine, bulk split, HB-ISO
Rx, HB-ISO Tx, SoftConn)
musb-hdrc: MHDRC RTL version 2.0
musb-hdrc: setup fifo_mode 4
musb-hdrc: 28/31 max ep, 16384/16384 memory
USB Host mode controller at 47401800 using PIO, IRQ 0
Net: PHY reset timed out
cpsw, usb_ether
Hit any key to stop autoboot: 0
U-Boot#
so the ddr and uart0 is configurated is ok , howver this boot can't boot my board from sd. i see the mmc0 config in the mux.c is
static struct module_pin_mux mmc0_pin_mux[] = {
{OFFSET(mmc0_dat3), (MODE(0) | RXACTIVE | PULLUP_EN)}, /* MMC0_DAT3 */
{OFFSET(mmc0_dat2), (MODE(0) | RXACTIVE | PULLUP_EN)}, /* MMC0_DAT2 */
{OFFSET(mmc0_dat1), (MODE(0) | RXACTIVE | PULLUP_EN)}, /* MMC0_DAT1 */
{OFFSET(mmc0_dat0), (MODE(0) | RXACTIVE | PULLUP_EN)}, /* MMC0_DAT0 */
{OFFSET(mmc0_clk), (MODE(0) | RXACTIVE | PULLUP_EN)}, /* MMC0_CLK */
{OFFSET(mmc0_cmd), (MODE(0) | RXACTIVE | PULLUP_EN)}, /* MMC0_CMD */
{OFFSET(mcasp0_aclkr), (MODE(4) | RXACTIVE)}, /* MMC0_WP */
{OFFSET(spi0_cs1), (MODE(5) | RXACTIVE | PULLUP_EN)},/* MMC0_CD */
{-1},
};
the boot2011.09 are the same as 2013.01
however the hadware my board is
/*MMC0_WP*/(no used but connect to PMIC sleep as a gpio and pull up)
* MMC0_CD */(connect to mcasp0_aclkx )
so , no matter how to change this config and build in ubuntu, the boot can't work?
why?
i think now the problem is the configuration of mmc0 because
1. i have try 2 other boot ,they can work in this board.
2. uart0 can boot this board
so how to do now?
i am in trobule.