Hi all,
I have a development setup which has the bootloader (u-boot) in the NOR
flash and kernel, rootfs on an SD card. An earlier post had the SD driver
for u-boot which worked great. I read the kernel from the SD card in CPU
mode, but the kernel is configured for MMC/SD access in DMA mode. There
seems to be a problem from switching to DMA mode from CPU mode. However, if
the kernel is also configured in CPU mode, i can successfully boot into the
rootfs. Has someone found a workaround/fix for this problem? Given below is
the boot log. I use 2.6.18 git based kernel. I face the same problem even
in the montavista LSP2.0 kernel.
Regards,
Pradeep Sriram
Starting kernel ...
Linux version 2.6.18 ([EMAIL PROTECTED]) (gcc version 3.4.6) #2 PREEMPT
Thu Dec 4 17:54:21 IST 2008
CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177
Machine: DaVinci EVM
Memory policy: ECC disabled, Data cache writeback
CPU0: D VIVT write-back cache
CPU0: I cache: 16384 bytes, associativity 4, 32 byte lines, 128 sets
CPU0: D cache: 8192 bytes, associativity 4, 32 byte lines, 64 sets
Built 2 zonelists. Total pages: 50176
Kernel command line: console=ttyS0,115200n8 ro noinitrd ip=none board=vvd
video=dm64xxfb:format=s-video:bootsplash:output=ntsc root=/dev/mmcblk0p3
rootfstype=ext3 mem=60M [EMAIL PROTECTED] DRAMSIZE=256 NANDSIZE=512
TI DaVinci Board: vvd
PID hash table entries: 1024 (order: 10, 4096 bytes)
Console: colour dummy device 80x30
Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
Memory: 60MB 136MB = 196MB total
Memory: 195504KB available (2645K code, 477K data, 112K init)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
NET: Registered protocol family 16
Registered USB platform device.
Registered USB platform device.
Registered FB Davinci platform device.
SCSI subsystem initialized
usbcore: registered new driver usbfs
usbcore: registered new driver hub
musb_hdrc: version 2.2a/db-0.5.2/dbg, cppi-dma, host, debug=1
VVD Board: Unsupported Operation 0
musb_hdrc: USB Host mode controller at d0800000 using DMA, IRQ 12
musb_hdrc musb_hdrc: MUSB HDRC host driver
musb_hdrc musb_hdrc: new USB bus registered, assigned bus number 1
usb usb1: Product: MUSB HDRC host driver
usb usb1: Manufacturer: Linux 2.6.18 musb-hcd
usb usb1: SerialNumber: musb_hdrc
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
NET: Registered protocol family 2
IP route cache hash table entries: 2048 (order: 1, 8192 bytes)
TCP established hash table entries: 8192 (order: 3, 32768 bytes)
TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
TCP: Hash tables configured (established 8192 bind 4096)
TCP reno registered
Board ID from eeprom: ff
DaVinci NAND Controller rev. 2.1
NAND: chip->ecc.size = 2048
NAND: chip->ecc.bytes = 12
Warning: NAND config: Set A1CR reg to 0x0422010c, was 0x3ffffffd, should be
done by bootloader.
No NAND device found!!!
Chip Select is not set for NAND
SCS read ERROR: -19
RC5_VERISMO_MFRID_IR is set
DaVinci GPIO driver, version 1: INIT
Initializing DaVinci McBSP system
NetWinder Floating Point Emulator V0.97 (double precision)
======> LED BLINK START
yaffs Dec 4 2008 17:50:37 Installing.
Initializing Cryptographic API
io scheduler noop registered
io scheduler anticipatory registered (default)
DaVinci: Output on NTSC in SVIDEO format, Enabled windows: Video0 Video1
OSD0 OSD1
Setting Video0 size 720x480, position (0,0)
Setting Video1 size 720x480, position (0,0)
Setting OSD0 size 720x480, position (0,0)
Setting OSD1 size 720x480, position (0,0)
Using u-boot settings for DM420 OSD
kmem_cache_create verismo_ui_event_cache interlaced
start_kernel(): kmem_cache_alloc 0 c3a00000
start_kernel(): kmem_cache_alloc 1 c3b00000
start_kernel(): kmem_cache_alloc 2 c0400000
start_kernel(): kmem_cache_alloc 3 c0500000
start_kernel(): kmem_cache_alloc 4 c0600000
Framebuffer allocated at 0x83000000 mapped to 0xff008000, size 5400k
Framebuffer allocated at 0x82800000 mapped to 0xff54e000, size 3600k
Framebuffer allocated at 0x83600000 mapped to 0xff8d2000, size 864k
Framebuffer allocated at 0x82c00000 mapped to 0xff9aa000, size 2430k
fb0: dm_osd0_fb frame buffer device
fb1: dm_vid0_fb frame buffer device
fb2: dm_osd1_fb frame buffer device
fb3: dm_vid1_fb frame buffer device
DaVinci WDT driver Init, version 1.0
DaVinci HDMI Audio driver, version 1: INIT
Serial: 8250/16550 driver $Revision: 1.1.1.1 $ 3 ports, IRQ sharing disabled
serial8250: ttyS0 at MMIO 0xe1420000 (irq = 40) is a 16550A
serial8250: ttyS2 at MMIO 0xe1420800 (irq = 42) is a 16550A
RAMDISK driver initialized: 2 RAM disks of 81920K size 1024 blocksize
TI DaVinci EMAC: MAC address is 00:01:02:03:04:05
TI DaVinci EMAC Linux version updated 4.0
TI DaVinci EMAC: Installed 1 instances.
usbmon: debugfs is not available
Initializing USB Mass Storage driver...
usbcore: registered new driver usb-storage
USB Mass Storage support registered.
usbcore: registered new driver usbhid
drivers/usb/input/hid-core.c: v2.6:USB HID core driver
i2c /dev entries driver
TLV320AIC23 I2C version 1.8 (10-Feb-2006)
major=254
MMC input clock = 99000000
Davinci MMC/SD probe
mmcsd_regs at virtual address 0xe1610000, phys 0x01e10000
MMCSD: dma
Registering UDA1334 ADAC
TCP bic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
ieee80211: 802.11 data/management/control stack, git-1.1.13
ieee80211: Copyright (C) 2004-2005 Intel Corporation <
[EMAIL PROTECTED]>
mmc0: host does not support reading read-only switch. assuming write-enable.
mmcblk0: mmc0:0002 495616KiB SDSC
mmcblk0:dma_ccerr_handler
dma_ccerr_handler ch:26 callback:c01d50e4
EMR = 0x0
unknown partition table
Sending DHCP requests .., OK
I
_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source