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.

C6a816x : NAND Flash booting

Hi,

 

 

 

My Development Environment

host PC : Ubunto10.04 LTS

target : Texas Instrument - c6a816x/am389x DDR2 EVM

 

 

 

switch setting
SW3 : [BTM4:0] : 10010
SW4 : NAND - on, SPI - off

 

U-Boot network Configuration

did it.

Flashing U-Boot onto NAND Flash   

using CCS

 

Im not sure I did well the following commands.

 

 

Flashing Linux Kernel from U-Boot

TI8168_EVM# tftp 81000000 uImage

TI8168_EVM# nand erase 0x00180000 0x00400000

TI8168_EVM# nand write 0x81000000 0x00280000 0x200000

Creating JFFS2 File-system

~$> sudo apt-get install mtd-utils

~$> mkfs.jffs2 -lqnp -e 128 -r target -o /tftpboot/rd-jffs2.bin

Flashing File-system from U-Boot

TI8168_EVM# tftp 81000000 rd-jffs2.bin

TI8168_EVM# nand erase 0x006c0000 0x0c800000

TI8168_EVM# nand write 0x81000000 0x006c0000 0x01040000

 

 

~$ minicom


Welcome to minicom 2.4

OPTIONS: I18n
Compiled on Jan 25 2010, 06:49:09.
Port /dev/ttyUSB0

Press CTRL-A Z for help on special keys

 

U-Boot 2010.06 (Nov 18 2010 - 22:36:59)

TI8168-GP rev 1.0

ARM clk: 987MHz
DDR clk: 398MHz

I2C:   ready
DRAM:  2 GiB
NAND:  256 MiB

 

[eye image]

 

Net:   Ethernet PHY: GENERIC @ 0x01
DaVinci EMAC
Hit any key to stop autoboot:  0
BOOTP broadcast 1
BOOTP broadcast 2
BOOTP broadcast 3
BOOTP broadcast 4
BOOTP broadcast 5

I commanded ctrl + c

Abort
Using DaVinci EMAC device
TFTP from server 192.168.76.200; our IP address is 192.168.76.202
Filename 'uImage'.
Load address: 0x81000000
Loading: #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
done
Bytes transferred = 1993896 (1e6ca8 hex)
## Booting kernel from Legacy Image at 81000000 ...
   Image Name:   Arago/2.6.34-psp04.00.00.07/c6a8
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    1993832 Bytes = 1.9 MiB
   Load Address: 80008000
   Entry Point:  80008000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.

 

no halted.

just stopped.