Leo355 840402 SDK Installer

From RidgeRun Developer Connection

Jump to:navigation, search

***********Note : RidgeRun no longer provides support for the DM355.***********

Contents

Step By Step Image Installation

Note: The first time I ran these steps, I had corrupted my development directory ($DEVDIR) because I had built a different SDK with DEVDIR pointing to the directory for my leo355 SDK. I found this out when it didn't boot to Linux properly and I saw all sorts of messages for the OMAP-L138 - I knew something was wrong.

To fix my mistake, I just deleted the SDK's version of the target file system and rebuilt.

cd $DEVDIR # this time I made sure it was set correctly
sudo rm -rf fs/fs
make 


Configuration Details

I am using Ubuntu 8.04 port /dev/ttyUSB3 for my serial connection to a LeopardBoard 355 version 1.2 power with an external 5v power supply. I am using a JFFS2 target file system located in NAND.

To get the image to fit into NAND, I disabled all the GStreamer related packages. I had to delete the SDK's version of the target file system $DEVDIR/fs/fs to get rid of the GStreamer related packages as well (then run make fs to recreated the target file system).


Verify U-boot is active

Generally I like picocom better than minicom because it is easier to explain how to configure properly and it doesn't send AT commands. Exit picocom with CNTL-A followed by CNTL-X.

sudo apt-get install picocom
picocom -b 115200 -r -l /dev/ttyUSB3

You should see the u-boot prompt - for me it was:

DM355 LEOPARD # 

I already have the U-Boot 2009.11 customized by RidgeRun installed. I don't recall the u-boot prompt for the version of u-boot that comes pre-loaded on leo355.


Verify SDK Build =

For DM355, it is best to use the version of U-Boot that comes with the RidgeRun SDK.

First, you can verify all the images you need have been correctly build (by a previous make not described in this wiki page).

cd $DEVDIR
ls images

With JFFS2 as the target file system, my result are:

tfischer@sax-lx:~/sdk/leo355$ ls images | cat -
bootloader
bootloader.nandbin
bspconfig
cmdline
fsimage
fsimage.uImage
kernel
kernel.uImage
ubl
ubl.nandbin
upgrade_bootloader.bin
vmlinux


Install the SDK U-boot

You can either configure the serial port used to talk to the target hardware using make config, or you can specify the port as a parameter to the make command. Since I have lots of hardware and lots of serial ports, I tend to specify the port as a parameter to the make command.

To see exactly what is going on, add VERBOSE=1.

make installbootloader PORT=/dev/ttyUSB3 VERBOSE=1

The output is:

tfischer@sax-lx:~/sdk/leo355$ make installbootloader PORT=/dev/ttyUSB3 VERBOSE=1
  Ridgerun Linux SDK
  Board configuration: Leopard Board
 
echo -e "#!/usr/bin/perl" > /home/tfischer/sdk/leo355/installer/u-boot-installer/installer
echo -e "#This file is autogenerated by makefile, don't modify\n" >> /home/tfischer/sdk/leo355/installer/u-boot-installer/installer
echo "my \$DEVDIR = \"/home/tfischer/sdk/leo355\";" >> /home/tfischer/sdk/leo355/installer/u-boot-installer/installer
echo "my \$KERNEL = \"linux-2.6.29\";" >> /home/tfischer/sdk/leo355/installer/u-boot-installer/installer
echo "my \$TFTPIMGSUFIX = \".tfischer.leopard\";" >> /home/tfischer/sdk/leo355/installer/u-boot-installer/installer
echo "my \$TIFLASHUTILSDIR = \"/home/tfischer/sdk/leo355/bootloader/u-boot-2009.11/ti-flash-utils-1.5\";" >> /home/tfischer/sdk/leo355/installer/u-boot-installer/installer
perl /home/tfischer/sdk/leo355/installer/u-boot-installer/bspconfigparser.pl \
	    /home/tfischer/sdk/leo355/bsp/mach/bspconfig \
	    >> /home/tfischer/sdk/leo355/installer/u-boot-installer/installer
cat /home/tfischer/sdk/leo355/installer/u-boot-installer/u-boot-installer >> /home/tfischer/sdk/leo355/installer/u-boot-installer/installer
chmod +x /home/tfischer/sdk/leo355/installer/u-boot-installer/installer
echo -e "\040" Installation system of uboot images over TFTP for host 10.111.0.3
  Installation system of uboot images over TFTP for host 10.111.0.3
echo -e "\040" Please be sure u-boot is running on port /dev/ttyUSB3 and none process \(like minicom\) is using it 
  Please be sure u-boot is running on port /dev/ttyUSB3 and none process (like minicom) is using it
if [ -n "`lsof -t /dev/ttyUSB3`" ] ; then \
		echo -e "\040" "\033[31mError: u-boot /dev/ttyUSB3 port in use\033[0m\n"; \
		lsof /dev/ttyUSB3; \
		exit -1; \
	else \
		echo -e "\040" "u-boot port /dev/ttyUSB3\n"; \
	fi
  u-boot port /dev/ttyUSB3

cd /home/tfischer/sdk/leo355/installer/u-boot-installer/ ; perl installer bootloader
  Performing handshake with u-boot...done.

Uboot prompt: [DM355 LEOPARD]
  Trying to identify NAND block size... Sending [nand info]
nand size before regular expression: [nand0, sector size 128 KiB
DM355 LEOPARD # ]nand size after match for old uboot nand info: [nand0, sector size 128 KiB
DM355 LEOPARD # ]no match, trying new output formatnand size after match for new uboot nand info: [128]detected 0x20000

  Loading upgrade bootloader version...
  Disabling boot command...
    Uboot <= setenv bootcmd
Sending [setenv bootcmd]
  Disabling autostart option...
    Uboot <= setenv autostart no
Sending [setenv autostart no]
    Uboot <= saveenv
Sending [saveenv]
  Loading bootloader...
  Configuring the network...
    Uboot <= setenv autoload no
Sending [setenv autoload no]
    Uboot <= dhcp
Sending [dhcp]
    Uboot <= setenv serverip 10.111.0.3
Sending [setenv serverip 10.111.0.3]
    Uboot <= mw.l 0x82000000 0xff 0x28001
Sending [mw.l 0x82000000 0xff 0x28001]
    Uboot <= tftp 0x82000000 upgrade_bootloader.bin.tfischer.leopard
Sending [tftp 0x82000000 upgrade_bootloader.bin.tfischer.leopard]
  Running upgrade bootloader...
Sending [go 0x82000000]
    Uboot => go 0x82000000

  Performing handshake with u-boot...done.

Uboot prompt: [Upgrade Bootloader]
  Configuring the network...
    Uboot <= setenv autoload no
Sending [setenv autoload no]
    Uboot <= dhcp
Sending [dhcp]
    Uboot <= setenv serverip 10.111.0.3
Sending [setenv serverip 10.111.0.3]
    Uboot <= setenv autostart no
Sending [setenv autostart no]
  Loading UBL
    Uboot <= mw.l 0x81600000 0xff 0x8001
Sending [mw.l 0x81600000 0xff 0x8001]
    Uboot <= tftp 0x81600000 ubl.nandbin.tfischer.leopard
Sending [tftp 0x81600000 ubl.nandbin.tfischer.leopard]
  Loading bootloader
    Uboot <= mw.l 0x81700000 0xff 0x28001
Sending [mw.l 0x81700000 0xff 0x28001]
    Uboot <= tftp 0x81700000 bootloader.nandbin.tfischer.leopard
Sending [tftp 0x81700000 bootloader.nandbin.tfischer.leopard]
  Installing bootloader...
  Erasing memory...
    Uboot <= nand scrub
Sending [nand scrub]
Sending [y]
  Saving UBL...
    Uboot <= nand write.ubl 0x81600000 0x20000 20000
Sending [nand write.ubl 0x81600000 0x20000 20000]
  Saving bootloader...
    Uboot <= nand write 0x81700000 40000 0xA0000
Sending [nand write 0x81700000 40000 0xA0000]

Notice the nand scrub, above - your entire NAND chip was erased, including bad block information, and a new bad block table was created.


Power Cycle after Bootloader Upgrade

After you have updated the bootloader, you are still running the upgrade version (which is not the same as the version you built using the SDK - the memory location is different).

Power cycle the board to get the correct version of the bootloader running:

DM35x
 initialization passed!
Customized by RidgeRun
TI UBL Version: 1.50
Booting Catalog Boot Loader
BootMode = NAND
Starting NAND Copy...
Valid magicnum, 0xA1ACED66, found in block 0x00000002.
   DONE
Jumping to entry point at 0x81080000.


U-Boot customized by RidgeRun
U-Boot 2009.11 (Apr 26 2010 - 12:05:24)

Cores: ARM 216 MHz
DDR:   171 MHz
I2C:   ready
DRAM:  128 MB
NAND:  256 MiB
Bad block table not found for chip 0
Bad block table not found for chip 0
Bad block table written to 0x00000ffe0000, version 0x01
Bad block table written to 0x00000ffc0000, version 0x01
*** Warning - bad CRC or NAND, using default environment

Net:   dm9000
Hit any key to stop autoboot:  0 
DM355 LEOPARD # 

Exit the terminal emulator (picocom, minicom, etc).


Installing the Kernel, Target File System, and U-Boot Environment Variables

Once you have the bootloader built by the SDK installed and running, you can install the the rest of the needed components and settings.

make install PORT=/dev/ttyUSB3 VERBOSE=1

With my output showing:

tfischer@sax-lx:~/sdk/leo355$ make install PORT=/dev/ttyUSB3 VERBOSE=1
  Ridgerun Linux SDK
  Board configuration: Leopard Board
 
echo -e "\040" Installation system of uboot images over TFTP for host 10.111.0.3
  Installation system of uboot images over TFTP for host 10.111.0.3
echo -e "\040" Please be sure u-boot is running on port /dev/ttyUSB3 and none process \(like minicom\) is using it 
  Please be sure u-boot is running on port /dev/ttyUSB3 and none process (like minicom) is using it
if [ -n "`lsof -t /dev/ttyUSB3`" ] ; then \
		echo -e "\040" "\033[31mError: u-boot /dev/ttyUSB3 port in use\033[0m\n"; \
		lsof /dev/ttyUSB3; \
		exit -1; \
	else \
		echo -e "\040" "u-boot port /dev/ttyUSB3\n"; \
	fi
  u-boot port /dev/ttyUSB3

cd /home/tfischer/sdk/leo355/installer/u-boot-installer/ ; perl installer all
  Performing handshake with u-boot...done.

Uboot prompt: [DM355 LEOPARD]
  Trying to identify NAND block size... Sending [nand info]
nand size before regular expression: [nand0, sector size 128 KiB
DM355 LEOPARD # ]nand size after match for old uboot nand info: [nand0, sector size 128 KiB
DM355 LEOPARD # ]no match, trying new output formatnand size after match for new uboot nand info: [128]detected 0x20000

  Verifying if mtd partitons need to be redefined...
Sending [printenv mtdparts]
    Uboot <= setenv mtdparts mtdparts=davinci_nand.0:640k(UBOOT),128k(UBOOT_ENV),3840k(KERNEL),21888k(FS)
Sending [setenv mtdparts mtdparts=davinci_nand.0:640k(UBOOT),128k(UBOOT_ENV),3840k(KERNEL),21888k(FS)]
    Uboot <= mtdparts
Sending [mtdparts]
    Uboot <= saveenv
Sending [saveenv]

  Verifying if kernel needs to be installed...
Sending [printenv kernelmd5sum]
  Loading Kernel image...
  Configuring the network...
    Uboot <= setenv autoload no
Sending [setenv autoload no]
    Uboot <= dhcp
Sending [dhcp]
    Uboot <= setenv serverip 10.111.0.3
Sending [setenv serverip 10.111.0.3]
    Uboot <= setenv autostart
Sending [setenv autostart]
    Uboot <= mw.l 0x82000000 0xff 0xd0001
Sending [mw.l 0x82000000 0xff 0xd0001]
    Uboot <= tftp 0x82000000 kernel.uImage.tfischer.leopard
Sending [tftp 0x82000000 kernel.uImage.tfischer.leopard]
    Uboot <= setenv autostart yes
Sending [setenv autostart yes]
  Erasing NAND...
    Uboot <= nand erase KERNEL
Sending [nand erase KERNEL]
  Saving kernel...
    Uboot <= nand write 0x82000000 KERNEL 340000
Sending [nand write 0x82000000 KERNEL 340000]
  Saving new kernel load address...
    Uboot <= setenv kernelloadaddr 0x82000000
Sending [setenv kernelloadaddr 0x82000000]
  Saving new kernel save addresses and offset...
    Uboot <= setenv kernelsaveaddr 0xC0000
Sending [setenv kernelsaveaddr 0xC0000]
    Uboot <= setenv kerneloffset 0xC0000
Sending [setenv kerneloffset 0xC0000]
  Saving new kernel size...
    Uboot <= setenv ksize 0x340000
Sending [setenv ksize 0x340000]
  Saving new kernel md5sum value...
    Uboot <= setenv kernelmd5sum d4a14add506307c05618ac1d7321553f
Sending [setenv kernelmd5sum d4a14add506307c05618ac1d7321553f]
    Uboot <= saveenv
Sending [saveenv]

  Verifying if file system needs to be installed...
Sending [printenv fssize]
Sending [printenv fssaveaddr]
  Loading file system image...
    Uboot <= mw.l 0x82340000 0x00 0x558001
Sending [mw.l 0x82340000 0x00 0x558001]
    Uboot <= tftp 0x82340000 fsimage.uImage.tfischer.leopard
Sending [tftp 0x82340000 fsimage.uImage.tfischer.leopard]
  Erasing NAND...
    Uboot <= nand erase FS
Sending [nand erase FS]
  Saving file system...
    Uboot <= nand write.jffs2 82340000 FS 1560000
Sending [nand write.jffs2 82340000 FS 1560000]
  Saving new file system size...
    Uboot <= setenv fssize 0x1555A40
Sending [setenv fssize 0x1555A40]
  Saving new file system save addresses and offset...
    Uboot <= setenv fssaveaddr 0x480000
Sending [setenv fssaveaddr 0x480000]
    Uboot <= setenv fsoffset 0x480000
Sending [setenv fsoffset 0x480000]
    Uboot <= saveenv
Sending [saveenv]

  Verifying if kernel command line needs to be installed...
Sending [printenv bootargs]
    Uboot <= setenv bootargs console=ttyS0,115200n8 video=davincifb:osd1=0x0x8 root=/dev/mtdblock3 rw mem=116M rootfstype=jffs2 mtdparts=davinci_nand.0:640k(UBOOT),128k(UBOOT_ENV),3840k(KERNEL),21888k(FS)
Sending [setenv bootargs console=ttyS0,115200n8 video=davincifb:osd1=0x0x8 root=/dev/mtdblock3 rw mem=116M rootfstype=jffs2 mtdparts=davinci_nand.0:640k(UBOOT),128k(UBOOT_ENV),3840k(KERNEL),21888k(FS)]
    Uboot <= saveenv
Sending [saveenv]

  Verifying if the boot command needs to be installed...
Sending [printenv bootcmd]
    Uboot <= setenv bootcmd nboot KERNEL
Sending [setenv bootcmd nboot KERNEL]
    Uboot <= setenv autostart yes
Sending [setenv autostart yes]
    Uboot <= saveenv
Sending [saveenv]


Power Cycle and Review U-Boot Environment

This set is not necessary, but you might find it helpful if you run into problems. Here is what my u-boot environment looks like right after performing a full NAND update (ubl, u-boot, u-boot environment, kernel, JFFS2 target file system).

DM35x
 initialization passed!
Customized by RidgeRun
TI UBL Version: 1.50
Booting Catalog Boot Loader
BootMode = NAND
Starting NAND Copy...
Valid magicnum, 0xA1ACED66, found in block 0x00000002.
   DONE
Jumping to entry point at 0x81080000.


U-Boot customized by RidgeRun
U-Boot 2009.11 (Apr 26 2010 - 12:05:24)

Cores: ARM 216 MHz
DDR:   171 MHz
I2C:   ready
DRAM:  128 MB
NAND:  256 MiB
Bad block table found at page 131008, version 0x01
Bad block table found at page 130944, version 0x01
nand_read_bbt: Bad block at 0x000000020000
nand_read_bbt: Bad block at 0x000000040000
nand_read_bbt: Bad block at 0x000000060000
nand_read_bbt: Bad block at 0x000000080000
nand_read_bbt: Bad block at 0x0000000a0000
nand_read_bbt: Bad block at 0x0000000c0000
nand_read_bbt: Bad block at 0x000000800000
nand_read_bbt: Bad block at 0x000000980000
nand_read_bbt: Bad block at 0x000002060000
nand_read_bbt: Bad block at 0x000002220000
nand_read_bbt: Bad block at 0x000004f00000
nand_read_bbt: Bad block at 0x000005ae0000
nand_read_bbt: Bad block at 0x0000075e0000
nand_read_bbt: Bad block at 0x000007f80000
nand_read_bbt: Bad block at 0x000008460000
nand_read_bbt: Bad block at 0x000008640000
nand_read_bbt: Bad block at 0x00000a680000
nand_read_bbt: Bad block at 0x00000b6a0000
nand_read_bbt: Bad block at 0x00000c540000
nand_read_bbt: Bad block at 0x00000df60000
nand_read_bbt: Bad block at 0x00000e520000
nand_read_bbt: Bad block at 0x00000e7e0000
Net:   dm9000
Hit any key to stop autoboot:  0 
DM355 LEOPARD # 
DM355 LEOPARD # 
DM355 LEOPARD # 
DM355 LEOPARD # printenv
bootdelay=3
baudrate=115200
ethaddr="00:0e:99:00:05:2e"
ethact=dm9000
mtdparts=mtdparts=davinci_nand.0:640k(UBOOT),128k(UBOOT_ENV),3840k(KERNEL),21888k(FS)
mtdids=nand0=davinci_nand.0
partition=nand0,0
mtddevnum=0
mtddevname=UBOOT
autoload=no
bootfile=uImage
kernelloadaddr=0x82000000
kernelsaveaddr=0xC0000
kerneloffset=0xC0000
ksize=0x340000
kernelmd5sum=d4a14add506307c05618ac1d7321553f
filesize=1555A40
fileaddr=82340000
ipaddr=10.111.0.196
serverip=10.111.0.3
fssize=0x1555A40
fssaveaddr=0x480000
fsoffset=0x480000
bootargs=console=ttyS0,115200n8 video=davincifb:osd1=0x0x8 root=/dev/mtdblock3 rw mem=116M rootfstype=jffs2 mtdparts=davinci_nand.0:640k(UBOOT),128k(UBOOT_ENV),3840k(KERNEL),21888k(FS)
bootcmd=nboot KERNEL
autostart=yes
stdin=serial
stdout=serial
stderr=serial
ver=U-Boot 2009.11 (Apr 26 2010 - 12:05:24)

Environment size: 825/131068 bytes
DM355 LEOPARD # 

All NAND flash chips have bad blocks - don't worry about it.


Power Cycle to boot to Linux

I could just run 'boot' in u-boot, but instead I chose to power cycle and watch it boot to Linux.

DM35x
 initialization passed!
Customized by RidgeRun
TI UBL Version: 1.50
Booting Catalog Boot Loader
BootMode = NAND
Starting NAND Copy...
Valid magicnum, 0xA1ACED66, found in block 0x00000002.
   DONE
Jumping to entry point at 0x81080000.


U-Boot customized by RidgeRun
U-Boot 2009.11 (Apr 26 2010 - 12:05:24)

Cores: ARM 216 MHz
DDR:   171 MHz
I2C:   ready
DRAM:  128 MB
NAND:  256 MiB
Bad block table found at page 131008, version 0x01
Bad block table found at page 130944, version 0x01
nand_read_bbt: Bad block at 0x000000020000
nand_read_bbt: Bad block at 0x000000040000
nand_read_bbt: Bad block at 0x000000060000
nand_read_bbt: Bad block at 0x000000080000
nand_read_bbt: Bad block at 0x0000000a0000
nand_read_bbt: Bad block at 0x0000000c0000
nand_read_bbt: Bad block at 0x000000800000
nand_read_bbt: Bad block at 0x000000980000
nand_read_bbt: Bad block at 0x000002060000
nand_read_bbt: Bad block at 0x000002220000
nand_read_bbt: Bad block at 0x000004f00000
nand_read_bbt: Bad block at 0x000005ae0000
nand_read_bbt: Bad block at 0x0000075e0000
nand_read_bbt: Bad block at 0x000007f80000
nand_read_bbt: Bad block at 0x000008460000
nand_read_bbt: Bad block at 0x000008640000
nand_read_bbt: Bad block at 0x00000a680000
nand_read_bbt: Bad block at 0x00000b6a0000
nand_read_bbt: Bad block at 0x00000c540000
nand_read_bbt: Bad block at 0x00000df60000
nand_read_bbt: Bad block at 0x00000e520000
nand_read_bbt: Bad block at 0x00000e7e0000
Net:   dm9000
Hit any key to stop autoboot:  0 

Loading from nand0, offset 0xc0000
Skipping bad block 0x000c0000
   Image Name:   "RR Linux Kernel"
   Created:      2010-08-10   3:38:15 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    3376616 Bytes =  3.2 MB
   Load Address: 80008000
   Entry Point:  80008000
Skipping bad block 0x000c0000
Automatic boot of image at addr 0x80700000 ...
## Booting kernel from Legacy Image at 80700000 ...
   Image Name:   "RR Linux Kernel"
   Created:      2010-08-10   3:38:15 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    3376616 Bytes =  3.2 MB
   Load Address: 80008000
   Entry Point:  80008000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
OK

Starting kernel ...

[    0.000000] Linux version 2.6.29-ridgerun-davinci1 (tfischer@sax-lx) (gcc version 4.2.4) #2 PREEMPT Sat Jun 12 02:33:28 MDT 2010
[    0.000000] CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177
[    0.000000] CPU: VIVT data cache, VIVT instruction cache
[    0.000000] Machine: DaVinci DM355 leopard
[    0.000000] Memory policy: ECC disabled, Data cache writeback
[    0.000000] DaVinci DM0355 variant 0x0
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 29464
[    0.000000] Kernel command line: console=ttyS0,115200n8 video=davincifb:osd1=0x0x8 root=/dev/mtdblock3 rw mem=116M rootfstype=jffs2 mtdparts=davinci_nand.0:640k(UBOOT),128k(UBOOT_ENV),3840k(KERNEL),21888k(FS)
[    0.000000] PID hash table entries: 512 (order: 9, 2048 bytes)
[42949372.960000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
[42949372.960000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
[42949372.980000] Memory: 116MB = 116MB total
[42949372.980000] Memory: 114076KB available (3056K code, 208K data, 116K init)
[42949372.980000] Calibrating delay loop... 107.72 BogoMIPS (lpj=538624)
[42949373.210000] Mount-cache hash table entries: 512
[42949373.210000] CPU: Testing write buffer coherency: ok
[42949373.210000] net_namespace: 520 bytes
[42949373.220000] NET: Registered protocol family 16
[42949373.220000] MUX: initialized INT_EDMA_CC
[42949373.220000] MUX: initialized VIN_CINL_EN
[42949373.250000] DaVinci: 104 gpio irqs
[42949373.330000] bio: create slab <bio-0> at 0
[42949373.340000] vpss vpss: dm355_vpss vpss probed
[42949373.340000] vpss vpss: dm355_vpss vpss probe success
[42949373.340000] ch0 default output "COMPOSITE", mode "NTSC"
[42949373.340000] VPBE Encoder Initialized
[42949373.350000] SCSI subsystem initialized
[42949373.350000] usbcore: registered new interface driver usbfs
[42949373.350000] usbcore: registered new interface driver hub
[42949373.360000] usbcore: registered new device driver usb
[42949373.370000] Avnetlcd encoder initialized
[42949373.380000] musb_hdrc: version 6.0, pio, host, debug=0
[42949373.400000] musb_hdrc: USB Host mode controller at fec64000 using PIO, IRQ 12
[42949373.400000] musb_hdrc musb_hdrc: MUSB HDRC host driver
[42949373.400000] musb_hdrc musb_hdrc: new USB bus registered, assigned bus number 1
[42949373.400000] usb usb1: configuration #1 chosen from 1 choice
[42949373.400000] hub 1-0:1.0: USB hub found
[42949373.400000] hub 1-0:1.0: 1 port detected
[42949373.410000] NET: Registered protocol family 2
[42949373.410000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
[42949373.410000] TCP established hash table entries: 4096 (order: 3, 32768 bytes)
[42949373.410000] TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
[42949373.410000] TCP: Hash tables configured (established 4096 bind 4096)
[42949373.410000] TCP reno registered
[42949373.410000] NET: Registered protocol family 1
[42949373.420000] JFFS2 version 2.2. (NAND) (SUMMARY)  � 2001-2006 Red Hat, Inc.
[42949373.430000] msgmni has been set to 223
[42949373.430000] io scheduler noop registered (default)
[42949373.440000] davincifb davincifb.0: dm_osd0_fb: 720x480x16@0,0 with framebuffer size 1350KB
[42949373.450000] davincifb davincifb.0: dm_vid0_fb: 0x0x16@0,0 with framebuffer size 675KB
[42949373.460000] davincifb davincifb.0: dm_osd1_fb: 0x0x8@0,0 with framebuffer size 1350KB
[42949373.470000] davincifb davincifb.0: dm_vid1_fb: 0x0x16@0,0 with framebuffer size 675KB
[42949373.480000] Serial: 8250/16550 driver, 3 ports, IRQ sharing disabled
[42949373.480000] serial8250.0: ttyS0 at MMIO 0x1c20000 (irq = 40) is a 16550A
[42949373.480000] console [ttyS0] enabled
[42949373.810000] brd: module loaded
[42949373.840000] loop: module loaded
[42949373.840000] dm9000 Ethernet Driver, V1.31
[42949373.970000] Unable to read MAC address: Generating random value ...
[42949373.970000] The random generated MAC address: 8e:54:6e:89:f2:40 will be assigned to your device
[42949373.980000] eth0 (dm9000): not using net_device_ops yet
[42949373.990000] eth0: dm9000e at c785c000,c7860016 IRQ 73 MAC: 8e:54:6e:89:f2:40 (chip)
[42949374.000000] Linux video capture interface: v2.00
[42949374.010000] vpfe-capture vpfe-capture: video device registered
[42949374.010000] vpfe-capture vpfe-capture: v4l2 int master registered
[42949374.020000] vpfe_capture: init successful
[42949374.030000] Trying to register davinci display video device.
[42949374.030000] layer=c65f7200,layer->video_dev=c65f7364
[42949374.040000] Trying to register davinci display video device.
[42949374.040000] layer=c65f7000,layer->video_dev=c65f7164
[42949374.050000] davinci_init:DaVinci V4L2 Display Driver V1.0 loaded
[42949374.060000] vpfe-capture vpfe-capture: register slave mt9v113 
[42949374.070000] mt9v113 1-003c: chip id mismatch read 0x0, expecting 0x2280
[42949374.070000] mt9v113 1-003c: Unable to detect decoder
[42949374.080000] mt9v113 1-003c: Registered to v4l2 master vpfe-capture!!
[42949374.090000] Driver 'sd' needs updating - please use bus_type methods
[42949374.100000] NAND device: Manufacturer ID: 0x2c, Chip ID: 0xda (Micron NAND 256MiB 3,3V 8-bit)
[42949374.110000] 2 NAND chips detected
[42949374.110000] Scanning device for bad blocks
[42949374.120000] Bad eraseblock 3 at 0x000000060000
[42949374.120000] Bad eraseblock 4 at 0x000000080000
[42949374.130000] Bad eraseblock 5 at 0x0000000a0000
[42949374.130000] Bad eraseblock 6 at 0x0000000c0000
[42949374.140000] Bad eraseblock 64 at 0x000000800000
[42949374.140000] Bad eraseblock 76 at 0x000000980000
[42949374.160000] Bad eraseblock 259 at 0x000002060000
[42949374.160000] Bad eraseblock 273 at 0x000002220000
[42949374.180000] Bad eraseblock 632 at 0x000004f00000
[42949374.190000] Bad eraseblock 727 at 0x000005ae0000
[42949374.200000] Bad eraseblock 943 at 0x0000075e0000
[42949374.210000] Bad eraseblock 1020 at 0x000007f80000
[42949374.220000] Bad eraseblock 1059 at 0x000008460000
[42949374.220000] Bad eraseblock 1074 at 0x000008640000
[42949374.240000] Bad eraseblock 1332 at 0x00000a680000
[42949374.250000] Bad eraseblock 1461 at 0x00000b6a0000
[42949374.260000] Bad eraseblock 1578 at 0x00000c540000
[42949374.270000] Bad eraseblock 1787 at 0x00000df60000
[42949374.280000] Bad eraseblock 1833 at 0x00000e520000
[42949374.290000] Bad eraseblock 1855 at 0x00000e7e0000
[42949374.300000] Bad eraseblock 2051 at 0x000010060000
[42949374.310000] Bad eraseblock 2052 at 0x000010080000
[42949374.310000] Bad eraseblock 2053 at 0x0000100a0000
[42949374.320000] Bad eraseblock 2054 at 0x0000100c0000
[42949374.320000] Bad eraseblock 2112 at 0x000010800000
[42949374.330000] Bad eraseblock 2124 at 0x000010980000
[42949374.340000] Bad eraseblock 2307 at 0x000012060000
[42949374.350000] Bad eraseblock 2321 at 0x000012220000
[42949374.370000] Bad eraseblock 2680 at 0x000014f00000
[42949374.380000] Bad eraseblock 2775 at 0x000015ae0000
[42949374.390000] Bad eraseblock 2991 at 0x0000175e0000
[42949374.400000] Bad eraseblock 3068 at 0x000017f80000
[42949374.410000] Bad eraseblock 3107 at 0x000018460000
[42949374.410000] Bad eraseblock 3122 at 0x000018640000
[42949374.430000] Bad eraseblock 3380 at 0x00001a680000
[42949374.440000] Bad eraseblock 3509 at 0x00001b6a0000
[42949374.450000] Bad eraseblock 3626 at 0x00001c540000
[42949374.460000] Bad eraseblock 3835 at 0x00001df60000
[42949374.470000] Bad eraseblock 3881 at 0x00001e520000
[42949374.470000] Bad eraseblock 3903 at 0x00001e7e0000
[42949374.490000] 4 cmdlinepart partitions found on MTD device davinci_nand.0
[42949374.490000] Creating 4 MTD partitions on "davinci_nand.0":
[42949374.500000] 0x000000000000-0x0000000a0000 : "UBOOT"
[42949374.510000] 0x0000000a0000-0x0000000c0000 : "UBOOT_ENV"
[42949374.520000] 0x0000000c0000-0x000000480000 : "KERNEL"
[42949374.530000] 0x000000480000-0x0000019e0000 : "FS"
[42949374.540000] davinci_nand davinci_nand.0: controller rev. 2.3
[42949374.550000] Initializing USB Mass Storage driver...
[42949374.550000] usbcore: registered new interface driver usb-storage
[42949374.560000] USB Mass Storage support registered.
[42949374.560000] i2c /dev entries driver
[42949374.570000] watchdog watchdog: heartbeat 60 sec
[42949374.580000] davinci_mmc davinci_mmc.0: Using DMA, 4-bit mode
[42949374.600000] davinci_mmc davinci_mmc.1: Using DMA, 4-bit mode
[42949374.610000] Advanced Linux Sound Architecture Driver Version 1.0.18a.
[42949374.620000] No device for DAI tlv320aic3x
[42949374.630000] No device for DAI davinci-i2s
[42949374.630000] AIC3X Audio Codec 0.2
[42949374.640000] asoc: tlv320aic3x <-> davinci-i2s mapping ok
[42949374.670000] ALSA device list:
[42949374.680000]   #0: Leopard Board (tlv320aic3x)
[42949374.680000] TCP cubic registered
[42949374.680000] NET: Registered protocol family 17
[42949374.690000] RPC: Registered udp transport module.
[42949374.700000] RPC: Registered tcp transport module.
[42949374.710000] drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
[42949374.730000] JFFS2 warning: (1) jffs2_sum_scan_sumnode: Summary node crc error, skipping summary information.
[42949374.790000] JFFS2 warning: (1) jffs2_sum_scan_sumnode: Summary node crc error, skipping summary information.
[42949374.840000] JFFS2 warning: (1) jffs2_sum_scan_sumnode: Summary node crc error, skipping summary information.
[42949374.900000] JFFS2 warning: (1) jffs2_sum_scan_sumnode: Summary node crc error, skipping summary information.
[42949374.960000] JFFS2 warning: (1) jffs2_sum_scan_sumnode: Summary node crc error, skipping summary information.
[42949375.020000] JFFS2 warning: (1) jffs2_sum_scan_sumnode: Summary node crc error, skipping summary information.
[42949375.070000] JFFS2 warning: (1) jffs2_sum_scan_sumnode: Summary node crc error, skipping summary information.
[42949375.130000] JFFS2 warning: (1) jffs2_sum_scan_sumnode: Summary node crc error, skipping summary information.
[42949375.190000] JFFS2 warning: (1) jffs2_sum_scan_sumnode: Summary node crc error, skipping summary information.
[42949375.240000] JFFS2 warning: (1) jffs2_sum_scan_sumnode: Summary node crc error, skipping summary information.
[42949375.300000] JFFS2 warning: (1) jffs2_sum_scan_sumnode: Summary node crc error, skipping summary information.
[42949375.360000] JFFS2 warning: (1) jffs2_sum_scan_sumnode: Summary node crc error, skipping summary information.
[42949375.410000] JFFS2 warning: (1) jffs2_sum_scan_sumnode: Summary node crc error, skipping summary information.
[42949375.470000] JFFS2 warning: (1) jffs2_sum_scan_sumnode: Summary node crc error, skipping summary information.
[42949375.520000] JFFS2 warning: (1) jffs2_sum_scan_sumnode: Summary node crc error, skipping summary information.
[42949375.580000] JFFS2 warning: (1) jffs2_sum_scan_sumnode: Summary node crc error, skipping summary information.
[42949375.640000] JFFS2 warning: (1) jffs2_sum_scan_sumnode: Summary node crc error, skipping summary information.
[42949375.690000] JFFS2 warning: (1) jffs2_sum_scan_sumnode: Summary node crc error, skipping summary information.
[42949375.750000] JFFS2 warning: (1) jffs2_sum_scan_sumnode: Summary node crc error, skipping summary information.
[42949375.810000] JFFS2 warning: (1) jffs2_sum_scan_sumnode: Summary node crc error, skipping summary information.
[42949375.870000] JFFS2 warning: (1) jffs2_sum_scan_sumnode: Summary node crc error, skipping summary information.
[42949375.920000] JFFS2 warning: (1) jffs2_sum_scan_sumnode: Summary node crc error, skipping summary information.
[42949375.980000] JFFS2 warning: (1) jffs2_sum_scan_sumnode: Summary node crc error, skipping summary information.
[42949376.040000] JFFS2 warning: (1) jffs2_sum_scan_sumnode: Summary node crc error, skipping summary information.
[42949376.090000] JFFS2 warning: (1) jffs2_sum_scan_sumnode: Summary node crc error, skipping summary information.
[42949376.150000] JFFS2 warning: (1) jffs2_sum_scan_sumnode: Summary node crc error, skipping summary information.
[42949376.210000] JFFS2 warning: (1) jffs2_sum_scan_sumnode: Summary node crc error, skipping summary information.
[42949376.260000] JFFS2 warning: (1) jffs2_sum_scan_sumnode: Summary node crc error, skipping summary information.
[42949376.320000] JFFS2 warning: (1) jffs2_sum_scan_sumnode: Summary node crc error, skipping summary information.
[42949376.380000] JFFS2 warning: (1) jffs2_sum_scan_sumnode: Summary node crc error, skipping summary information.
[42949376.430000] JFFS2 warning: (1) jffs2_sum_scan_sumnode: Summary node crc error, skipping summary information.
[42949376.490000] JFFS2 warning: (1) jffs2_sum_scan_sumnode: Summary node crc error, skipping summary information.
[42949376.540000] JFFS2 warning: (1) jffs2_sum_scan_sumnode: Summary node crc error, skipping summary information.
[42949376.600000] JFFS2 warning: (1) jffs2_sum_scan_sumnode: Summary node crc error, skipping summary information.
[42949376.660000] JFFS2 warning: (1) jffs2_sum_scan_sumnode: Summary node crc error, skipping summary information.
[42949376.710000] JFFS2 warning: (1) jffs2_sum_scan_sumnode: Summary node crc error, skipping summary information.
[42949376.770000] JFFS2 warning: (1) jffs2_sum_scan_sumnode: Summary node crc error, skipping summary information.
[42949376.830000] JFFS2 warning: (1) jffs2_sum_scan_sumnode: Summary node crc error, skipping summary information.
[42949376.880000] JFFS2 warning: (1) jffs2_sum_scan_sumnode: Summary node crc error, skipping summary information.
[42949376.940000] JFFS2 warning: (1) jffs2_sum_scan_sumnode: Summary node crc error, skipping summary information.
[42949377.000000] JFFS2 warning: (1) jffs2_sum_scan_sumnode: Summary node crc error, skipping summary information.
[42949377.050000] JFFS2 warning: (1) jffs2_sum_scan_sumnode: Summary node crc error, skipping summary information.
[42949377.110000] JFFS2 warning: (1) jffs2_sum_scan_sumnode: Summary node crc error, skipping summary information.
[42949377.160000] JFFS2 warning: (1) jffs2_sum_scan_sumnode: Summary node crc error, skipping summary information.
[42949377.220000] JFFS2 warning: (1) jffs2_sum_scan_sumnode: Summary node crc error, skipping summary information.
[42949377.280000] JFFS2 warning: (1) jffs2_sum_scan_sumnode: Summary node crc error, skipping summary information.
[42949377.500000] JFFS2 warning: (1) jffs2_sum_scan_sumnode: Summary node crc error, skipping summary information.
[42949377.560000] JFFS2 warning: (1) jffs2_sum_scan_sumnode: Summary node crc error, skipping summary information.
[42949377.620000] JFFS2 warning: (1) jffs2_sum_scan_sumnode: Summary node crc error, skipping summary information.
[42949377.670000] JFFS2 warning: (1) jffs2_sum_scan_sumnode: Summary node crc error, skipping summary information.
[42949377.730000] JFFS2 warning: (1) jffs2_sum_scan_sumnode: Summary node crc error, skipping summary information.
[42949377.780000] JFFS2 warning: (1) jffs2_sum_scan_sumnode: Summary node crc error, skipping summary information.
[42949377.840000] JFFS2 warning: (1) jffs2_sum_scan_sumnode: Summary node crc error, skipping summary information.
[42949377.900000] JFFS2 warning: (1) jffs2_sum_scan_sumnode: Summary node crc error, skipping summary information.
[42949377.950000] JFFS2 warning: (1) jffs2_sum_scan_sumnode: Summary node crc error, skipping summary information.
[42949378.010000] JFFS2 warning: (1) jffs2_sum_scan_sumnode: Summary node crc error, skipping summary information.
[42949378.070000] JFFS2 warning: (1) jffs2_sum_scan_sumnode: Summary node crc error, skipping summary information.
[42949378.120000] VFS: Mounted root (jffs2 filesystem) on device 31:3.
[42949378.130000] Freeing init memory: 116K
init started: BusyBox v1.14.2 (2010-08-09 22:16:08 MDT)
starting pid 268, tty '': '/etc/rcS'
Starting System
done.
Welcome to
__________ .__     .___               __________                
\______   \|__|  __| _/  ____    ____ \______   \ __ __   ____  
 |       _/|  | / __ |  / ___\ _/ __ \ |       _/|  |  \ /    \ 
 |    |   \|  |/ /_/ | / /_/  >\  ___/ |    |   \|  |  /|   |  \
 |____|_  /|__|\____ | \___  /  \___  >|____|_  /|____/ |___|  /
        \/          \//_____/       \/        \/             \/ 
	   
    Embedded Linux Solutions
 
For further information see:
http://www.ridgerun.com
Build host: sax-lx
Built by: tfischer
Build date: Mon, 09 Aug 2010 22:17:21 -0600
Build tag: leopard
Configuring network interfaces
[42949385.330000] eth0: link up, 100Mbps, full-duplex, lpa 0x45E1
udhcpc (v1.14.2) started
Sending discover...
Sending select for 10.111.0.197...
Lease of 10.111.0.197 obtained, lease time 43200
deleting routers
adding dns 10.111.0.1

Please press Enter to activate this console. 
starting pid 358, tty '/dev/ttyS0': '-/bin/sh'


BusyBox v1.14.2 (2010-08-09 22:16:08 MDT) built-in shell (ash)
Enter 'help' for a list of built-in commands.

/ # 

The first time you boot with a fresh JFFS2 file system, you will see all sorts of messages. Most of these are because the NAND space is bigger than the JFFS2 file system image, so when JFFS2 gets control the first time, it needs to finish adding a valid file system to the rest of the NAND space reserved for JFFS2.

Navigation
Toolbox