This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Linux Boot Problem After U-boot Upgrade

Other Parts Discussed in Thread: TVP5150

Hi,

I currently have the following working on a dm365 board:

linux-2.6.32.17-psp03.01.01.38-r47

U-Boot 2009.03-svn1905 (Nov 22 2011 - 12:47:33)

 

Due to some intermittent nand issues with bootup, we want to upgrade the u-boot to something newer. So I downloaded ti-dvsdk_dm365-evm_4_02_00_06 and tried the prebuilt-images  (u-boot-dm365-evm.bin,  uImage-dm365-evm.bin) (u-boot-2010.12-rc2-psp03.01.01.39, linux-2.6.32.17-psp03.01.01.39 ) but it fails to boot properly. I got a penguin on the screen but the serial console is all garbage (all 0x00s) after uncompressing the kernel. The interesting thing is that I can get the pre built uImage  (linux-2.6.32.17-psp03.01.01.39) to boot proper if I use the old u-boot (U-Boot 2009.03-svn1905). 

Any ideas on what's wrong with u-boot-2010.12-rc2-psp03.01.01.39 that would cause the serial output problem and how to fix it??

Thanks!!

Roy

-----------------------------------------------uboot param

 

baudrate=115200

bootargs=mem=60M console=ttyS0,115200n8 root=/dev/nfs rw nfsroot=192.168.82.1:/home/rlam/nfsroot tvp5150.debug=1 davinci_capture.device_type=4 dm365_imp.oper_mode=0 ip=dhcp

bootcmd=dhcp;bootm

bootdelay=2

bootfile=/tftpboot/uImage

ethact=DaVinci-EMAC

ethaddr=00:40:a6:01:01:82

stderr=serial

stdin=serial

stdout=serial

ver=U-Boot 2010.12-rc2 (Mar 24 2011 - 19:27:17)

 

 

----------------------------------------------- serial output

 

DM36x initialization passed!

TI UBL Version: 1.50

Booting Catalog Boot Loader

BootMode = NAND

Starting NAND Copy...

Valid magicnum, 0xA1ACED66, found in block 0x00000019.

 

   DONE

Jumping to entry point at 0x81080000.

 

 

U-Boot 2010.12-rc2 (Mar 24 2011 - 19:27:17)

 

Cores: ARM 297 MHz

DDR:   243 MHz

I2C:   ready

DRAM:  128 MiB

NAND:  512 MiB

MMC:   davinci: 0, davinci: 1

Bad block table found at page 131008, version 0x01

Bad block table found at page 262080, version 0x01

Bad block table found at page 130944, version 0x01

Bad block table found at page 262016, version 0x01

nand_read_bbt: Bad block at 0x00000cf60000

nand_read_bbt: Bad block at 0x00000fce0000

nand_read_bbt: Bad block at 0x00001cf60000

nand_read_bbt: Bad block at 0x00001fce0000

 

Net:   Read from EEPROM @ 0x50 failed

Ethernet PHY: GENERIC @ 0x00

DaVinci-EMAC

Hit any key to stop autoboot:0 

BOOTP broadcast 1

DHCP client bound to address 192.168.82.57

Using DaVinci-EMAC device

TFTP from server 192.168.82.1; our IP address is 192.168.82.57

Filename '/tftpboot/uImage'.

Load address: 0x80700000

Loading: *#######################################################################################################

############################################

done

Bytes

 transferred = 2148124 (20c71c hex)

## Booting kernel from Legacy Image at 80700000 ...

   Image Name:   Arago/2.6.32.17-psp03.01.01.39/d

   Created:      2011-03-25   0:30:27 UTC

   Image Type:   ARM Linux Kernel Image (uncompressed)

   Data Size:    2148060 Bytes = 2 MiB

   Load Address: 80008000

   Entry Point:  80008000

   Verifying Checksum ... 

OK

   Loading Kernel Image ... 

OK

OK

 

Starting kernel ...

 

Uncompressing Linux........

............................................................

............................................................

............ done, booting the kernel.

 

\0x00\0x00\0x00\0x00\0x00\0x00\0x00\0x00\0x00\0x00\0x00\0x00\0x00\0x00\0x00\0x00\0x00\0x00\0x00\0x00\0x00\0x00\0x00\0x00\0x00\0x00\0x00\0x00\0x00\0x00\0x00\0x00\0x00\0x00\0x00\0x00\0x00\0x00\0x00\0x00\0x00\0x00\0x00\0x00\0x00\0x00\0x00\0x00\0x00\0x00\0x00\0x00\0x00\0x00\0x00\0x00\0x00\0x00\0x00\0x00\0x00\0x00\0x00\0x00\0x00\0x00\0x00\0x00\0x00\0x00\0x00\0x00\0x00\0x00\0x00\0x00\0x00\0x00\0x00\0x00\0x00\0x00\0x00\0x00\0x00\0x00\0x00\0x00\0x00\0x00\0x00\0x00\0x00\0x00\0x00\0x00\0x00\0x00\0x00\0x00\0x00\0x00\0x00\0x00\0x00\0x00\0x00\0x00\0x00\0x00\0x0