davinciemac switch support

2011-03-01 Thread rohan tabish
is there any support for switch on davinci emac for dm6446

Regard's


  ___
Davinci-linux-open-source mailing list
Davinci-linux-open-source@linux.davincidsp.com
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source


Fw: [ERR] LAN9313 support

2011-02-17 Thread rohan tabish




  --- Begin Message ---
We are using LAN9313 switch with our custom board DM6446 can anyone tell  is 
there any support for it in the kernel.I have seen the source there  is no 
support for this chip.

Can anyone help in getting started 


  ___
Davinci-linux-open-source mailing list
Davinci-linux-open-source@linux.davincidsp.com
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
--- End Message ---
___
Davinci-linux-open-source mailing list
Davinci-linux-open-source@linux.davincidsp.com
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source


LAN9313 support

2011-02-17 Thread rohan tabish
We are using LAN9313 switch with our custom board DM6446 can anyone tell  is 
there any support for it in the kernel.I have seen the source there  is no 
support for this chip.

Can anyone help in getting started 


  ___
Davinci-linux-open-source mailing list
Davinci-linux-open-source@linux.davincidsp.com
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source


Re: Problem with 256MB DDR on DM365

2010-08-30 Thread rohan tabish

    128Mb of DDR  is selected from UBL and it depends on whether the RAM is 
selected with 16bit bus width or 32-bit bus width

Regard's

Rohan Tabish
--- On Mon, 30/8/10, hitesh  wrote:

From: hitesh 
Subject: Problem with 256MB DDR on DM365
To: davinci-linux-open-source@linux.davincidsp.com
Date: Monday, 30 August, 2010, 18:46



  


  Hi ALL

 

  We are facing one issue related to the memory allocation on DM365
  based board. We have 256MB DDR on our board.

  But when we allocate more than 128 MB of memory to the kernel (in
  bootargs), sometimes kernel gives paging request errors while
  running application or sometimes it is not able to even boot (i.e.
  kernel panic).

  

  We have done changes in the U-boot to configure the DDR of 256MB.
  

  

  We have modified the following U-boot source file: 

  File: include/configs/davinci_dm365_evm.h

  Change: (As below)

  

  #define CFG_MALLOC_LEN  (0x4 +
  128*1024) /* malloc () len */

  #define CFG_GBL_DATA_SIZE  
  (128)    /* reserved for initial data */

  #define CFG_MEMTEST_START  
  (0x8200) /* memtest start address  */

  #define CFG_MEMTEST_END
  (0x9000) /* 16MB RAM test  */

  #define CONFIG_NR_DRAM_BANKS    (1)
   /* we have 1 bank of DRAM */

  #define CONFIG_STACKSIZE    (256*1024)             
   /* regular stack  */

  #define PHYS_SDRAM_1           
  0x8000   /* DDR Start  */

  // ORIGINAL: #define PHYS_SDRAM_1_SIZE 
  0x800    /* DDR size 128MB */

  #define PHYS_SDRAM_1_SIZE  
  0x1000   /* DDR size 256MB */

  

  

  Details of our DM365 board is as follows:



  Silicon Version of DM365:   DM365ZCE30
  DVSDK Version:  dvsdk_2_10_01_18
  Linux Version:  linux-2.6.18_pro500


  PSP Version:    PSP_02_10_00_14
  DDR Size:   256MB.

Any body help me what are the changes are still left?

  Is there any missing in setting?

  What are the setting if we go from 128MB ddr to 256MB size of DDR?

  

  Thanks

  Hitesh Patel

  ---


  

-Inline Attachment Follows-

___
Davinci-linux-open-source mailing list
Davinci-linux-open-source@linux.davincidsp.com
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source



  ___
Davinci-linux-open-source mailing list
Davinci-linux-open-source@linux.davincidsp.com
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source


steps to compile UBL?

2010-08-19 Thread rohan tabish
I have dwonload UBL source from sourceforge but compiling it gives errors any 
one knows what are the steps to compile 

Regard's



  ___
Davinci-linux-open-source mailing list
Davinci-linux-open-source@linux.davincidsp.com
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source


steps to compile UBL?

2010-08-19 Thread rohan tabish
I have dwonload UBL source from sourceforge but compiling it gives errors any 
one knows what are the steps to compile 

Regard's



  ___
Davinci-linux-open-source mailing list
Davinci-linux-open-source@linux.davincidsp.com
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source


Booting linux for DDR2 with 16bit bus width

2010-08-18 Thread rohan tabish
what is the place to configure linux with 16bit bus width? Is it UBL U-boot or 
kernel???

We have a design in which we only want to use 128MB of RAM that is only 16bit 
bus width?

Regard's




  ___
Davinci-linux-open-source mailing list
Davinci-linux-open-source@linux.davincidsp.com
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source


configuring RAM with 16bit?

2010-08-18 Thread rohan tabish
How to boot linux using DDR2 with 16bit bus width i did the following 
modification at the u-boot prompt

mm 0x2008

and changed to 0x4611 and the board started doing BOOTME BOOTME so i want 
to know what is the best place to configure it do 16 bit wide bus 

Regard's



  ___
Davinci-linux-open-source mailing list
Davinci-linux-open-source@linux.davincidsp.com
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source


How to configure DDR2??

2010-08-18 Thread rohan tabish
how to change the bus width of ddr2 in linux i changed it using u-boot by 
following

mm 0x2008

and try to configure it for 16 bits but it everything gets halt anyone knows 
how to configure DDR2 for 16 bit

Regard's



  ___
Davinci-linux-open-source mailing list
Davinci-linux-open-source@linux.davincidsp.com
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source


Re: Boot time

2010-07-29 Thread rohan tabish
set verify=n this will ignore checksum

Regard's
RT

--- On Thu, 29/7/10, Nicolas Luna  wrote:

From: Nicolas Luna 
Subject: Boot time
To: davinci-linux-open-source@linux.davincidsp.com
Date: Thursday, 29 July, 2010, 0:59

Hi guys,
I'm trying to make by board boot as quick as possible. I did some optimisation 
with the "All This For 1 Second Boot" wiki and other website. I would like to 
reduce a little bit more the boot time and I wonder if you guys could give me 
some clues.

I copied my boot log below. For sure I'll remove the uboot autoboot delay and 
probably build a new kernel with modules. I putted in bold part that I think it 
is possible to do more optimisation.


1- See bullet #3.2- The verifying Checksum is about 400 msec is it possible to 
skip it?3- It takes ~1 sec to start booting the kernel and there is a other ~1 
sec delay between the starting kernel and the beginning of the uncompressing. 
Why it's so long? Ok maybe there is the copy from NOR to RAM but it should not 
take more than few msec.
4- It takes ~1 sec to the kernel to free 120K memory... I got enought RAM is it 
possible to remove it?
I got custom hardware based on OMAP-L138 with FS (jffs2) and compressed kernel 
in NOR Flash.

Thanks a lot
Nicolas
-
0.000 0.000: OMAP-L138 initialization passed!
0.000 0.000: Booting TI User Boot Loader0.004 0.004:    UBL Version: 1.650.004 
0.000:    UBL Flashtype: NOR0.008 0.004: Starting NOR Copy...0.008 0.000: CFI 
Query...passed.
0.012 0.004: NOR Initialization:0.012 0.000:    Command Set: Intel0.012 0.000:  
  Manufacturer: INTEL0.016 0.004:    Size: 0x0020 MB0.020 0.004: Valid 
magicnum, 0x55424CBB, found..
0.184 0.164:    DONE0.188 0.004: Jumping to entry point at 0xC108.0.504 
0.316:1.548 1.044: Hit any key to stop autoboot:  02.372 0.824: ## Booting 
kernel from Legacy Image at c0007fc0 ...
2.372 0.000:    Image Name:   Linux-2.6.342.380 0.008:    Image Type:   ARM 
Linux Kernel Image (uncompressed)2.380 0.000:    Data Size:    1505956 Bytes =  
1.4 MB2.384 0.004:    Load Address: c0008000
2.388 0.004:    Entry Point:  c00080002.808 0.420:    Verifying Checksum ... 
OK2.808 0.000:    Loading Kernel Image ... OK2.808 0.000: OK2.808 0.000:2.812 
0.004: Starting kernel ...
2.812 0.000:3.860 1.048: Uncompressing Linux... done, booting the kernel.4.264 
0.404: Linux version 2.6.34 (i...@idt-ubuntu-linux) (gcc version 4.3.3 
(Sourcery G++ Lite 2009q1-203) ) #89 PREEMPT Thu Jul 22 15:24:03 EDT 2010
4.268 0.004: CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=000531774.272 
0.004: CPU: VIVT data cache, VIVT instruction cache4.276 0.004: Machine: 
DaVinci DA850/OMAP-L138 EVM4.280 0.004: Memory policy: ECC disabled, Data cache 
writeback
4.284 0.004: DaVinci da850/omap-l138 variant 0x04.288 0.004: Built 1 zonelists 
in Zone order, mobility grouping on.  Total pages: 325124.300 0.012: Kernel 
command line: lpj=747520 mem=128M console=ttyS2,115200n8 root=/dev/mtdblock2 
rootfstype=jffs2 rw ip=off
4.304 0.004: PID hash table entries: 512 (order: -1, 2048 bytes)4.308 0.004: 
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)4.316 0.008: 
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
4.316 0.000: Memory: 128MB = 128MB total4.324 0.008: Memory: 126752k/126752k 
available, 4320k reserved, 0K highmem4.324 0.000: Virtual kernel memory 
layout:4.332 0.008:     vector  : 0x - 0x1000   (   4 kB)
4.336 0.004:     fixmap  : 0xfff0 - 0xfffe   ( 896 kB)4.340 0.004:     
DMA     : 0xff00 - 0xffe0   (  14 MB)4.344 0.004:     vmalloc : 
0xc880 - 0xfea0   ( 866 MB)
4.348 0.004:     lowmem  : 0xc000 - 0xc800   ( 128 MB)4.352 0.004:     
modules : 0xbf00 - 0xc000   (  16 MB)4.356 0.004:       .init : 
0xc0008000 - 0xc0026000   ( 120 kB)4.360 0.004:       .text : 0xc0026000 - 
0xc02e8000   (2824 kB)
4.364 0.004:       .data : 0xc02e8000 - 0xc0307a60   ( 127 kB)4.372 0.008: 
SLUB: Genslabs=11, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=14.376 
0.004: Hierarchical RCU implementation.
4.376 0.000: NR_IRQS:2454.380 0.004: Console: colour dummy device 80x304.384 
0.004: Calibrating delay loop (skipped) preset value.. 149.50 BogoMIPS 
(lpj=747520)4.388 0.004: Mount-cache hash table entries: 512
4.392 0.004: CPU: Testing write buffer coherency: ok4.396 0.004: DaVinci: 144 
gpio irqs4.396 0.000: NET: Registered protocol family 164.400 0.004: bio: 
create slab  at 0
4.404 0.004: SCSI subsystem initialized4.408 0.004: usbcore: registered new 
interface driver usbfs4.412 0.004: usbcore: registered new interface driver 
hub4.416 0.004: usbcore: registered new device driver usb
4.416 0.000: Switching to clocksource timer0_14.420 0.004: musb_hdrc: version 
6.0, pio, host, debug=04.424 0.004: Waiting for USB PHY clock good...4.428 
0.004: musb_hdrc musb_hdrc: MUSB HDRC host driver
4.432 0.004: musb_hdrc musb_hdrc: new USB bus registered, assigned bus nu

DSP/BIOS Link for GIT Kernel

2010-07-16 Thread rohan tabish
Is there any source for DSP/BIOS/Link for git kernel

Regard's
RT



  ___
Davinci-linux-open-source mailing list
Davinci-linux-open-source@linux.davincidsp.com
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source


DSP/BIOS

2010-07-16 Thread rohan tabish
Does Git kernel supports DSP/BIOS API from TI.


Regard's
RT



  ___
Davinci-linux-open-source mailing list
Davinci-linux-open-source@linux.davincidsp.com
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source


Re: Problem with UBIFS

2010-07-15 Thread rohan tabish
yup that is right i read it its great thanks

--- On Thu, 15/7/10, Steve Chen  wrote:

From: Steve Chen 
Subject: Re: Problem with UBIFS
To: "rohan tabish" 
Cc: davinci-linux-open-source@linux.davincidsp.com
Date: Thursday, 15 July, 2010, 17:57



On Thu, Jul 15, 2010 at 2:32 AM, rohan tabish  wrote:


Using sync option solves the problem but it is not recomended
According to

http://www.linux-mtd.infradead.org/doc/ubifs.html 

You can use fsync in the application to force write-through for specific files 
while having write-back as the default for performance.

Steve




  ___
Davinci-linux-open-source mailing list
Davinci-linux-open-source@linux.davincidsp.com
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source


Re: Problem with UBIFS

2010-07-15 Thread rohan tabish
Using sync option solves the problem but it is not recomended

--- On Thu, 15/7/10, rohan tabish  wrote:

From: rohan tabish 
Subject: Problem with UBIFS
To: davinci-linux-open-source@linux.davincidsp.com
Date: Thursday, 15 July, 2010, 11:00

I have used UBIFS as i have 256MB of FLASH but i have to save my changes to the 
flash when i do mkdir 123 the directory is created but when i reset the board 
the directory isn't there.however when i reset board after few seconds then the 
directory is dere after reset can anyone tell me what is the resaon i read 
UBIFS it says that it has write back support which makes its very fast 
ascompared to other but i want the data to be there i have to do fileoperation 
and when my data is changed and written to filei want it to me there after i 
reset the system i want that write to happen immediately.

Regard's
RT





  
-Inline Attachment Follows-

___
Davinci-linux-open-source mailing list
Davinci-linux-open-source@linux.davincidsp.com
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source



  ___
Davinci-linux-open-source mailing list
Davinci-linux-open-source@linux.davincidsp.com
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source


Problem with UBIFS

2010-07-14 Thread rohan tabish
I have used UBIFS as i have 256MB of FLASH but i have to save my changes to the 
flash when i do mkdir 123 the directory is created but when i reset the board 
the directory isn't there.however when i reset board after few seconds then the 
directory is dere after reset can anyone tell me what is the resaon i read 
UBIFS it says that it has write back support which makes its very fast 
ascompared to other but i want the data to be there i have to do fileoperation 
and when my data is changed and written to filei want it to me there after i 
reset the system i want that write to happen immediately.

Regard's
RT



  ___
Davinci-linux-open-source mailing list
Davinci-linux-open-source@linux.davincidsp.com
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source


yaffs

2010-07-12 Thread rohan tabish
i have enable yaffs support in the kernl it gives following error when i mount 
using yaffs2

mount -t yaffs2 /dev/mtdblock3 /mnt/yaffs: dev is 32505859 name is 
"mtdblock3" 

 
yaffs: passed flags 
""  
 
=   
 
BUG yaffs_o_1: Objects remaining on 
kmem_cache_close()  
 
-   
 

 
INFO: Slab 0xc0435e60 objects=32 used=4 fp=0xc6873f80 
flags=0x0080  
 
Backtrace:  
 
[] (dump_backtrace+0x0/0x110) from [] 
(dump_stack+0x18/0x1c)
 
 r6:c0435e60 r5:c688b3c0 
r4:c7075c38
 
[] (dump_stack+0x0/0x1c) from [] 
(slab_err+0x58/0x64)   
 
[] (slab_err+0x0/0x64) from [] 
(list_slab_objects+0x80/0x164)   
 
 r3:c02e253c 
r2:c02d90c4
 
 r6:c6873000 r5:c688b3c0 
r4:c02e253c
 
[] (list_slab_objects+0x0/0x164) from [] 
(kmem_cache_destroy+0xe0/0x1b0) 
[] (kmem_cache_destroy+0x0/0x1b0) from [] 
(yaffs_DeinitialiseRawTnodesAndObjects+0x78/0xe4)  
[] (yaffs_DeinitialiseRawTnodesAndObjects+0x0/0xe4) from [] 
(yaffs_DeinitialiseTnodesAndObjects+0x18/0x28)   
 r5:c33ab800 
r4:c7014000
 
[] (yaffs_DeinitialiseTnodesAndObjects+0x0/0x28) from [] 
(yaffs_GutsInitialise+0x594/0x870)  
 r4:c68e3efc
 
[] (yaffs_GutsInitialise+0x0/0x870) from [] 
(yaffs_internal_read_super+0x8b4/0xb3c)  
[] (yaffs_internal_read_super+0x0/0xb3c) from [] 
(yaffs2_internal_read_super_mtd+0x24/0x34)  
[] (yaffs2_internal_read_super_mtd+0x0/0x34) from [] 
(get_sb_bdev+0x11c/0x174)   
[] (get_sb_bdev+0x0/0x174) from [] 
(yaffs2_read_super+0x24/0x30)
 
[] (yaffs2_read_super+0x0/0x30) from [] 
(vfs_kern_mount+0x58/0xdc)  
 
[] (vfs_kern_mount+0x0/0xdc) from [] 
(do_kern_mount+0x40/0xe4)  
 
 r8:c03337b8 r7:c767d660 r6:c687 r5:c767d680 
r4:8000
 
[] (do_kern_mount+0x0/0xe4) from [] 
(do_mount+0x6b4/0x720)  
 
 r8:8000 r7:c767d680 r6:0020 r5: 
r4:
 
[] (do_mount+0x0/0x720) from [] 
(sys_mount+0x8c/0xcc)   
 
[] (sys_mount+0x0/0xcc) from [] 
(ret_fast_syscall+0x0/0x28) 
 
 r7:0015 r6:bec7af87 r5:bec7af78 
r4:001fafb8
 
INFO: Object 0xc6873000 
@offset=0   
 
INFO: Object 0xc6873080 
@offset=128 
 
INFO: Object 0xc6873100 
@offset=256 
 
INFO: Object 0xc6873180 
@offset=384 

YAFFS2 not in git????

2010-07-11 Thread rohan tabish
How to use yaffs with git kernel there is no support for it?


Regard's
Rohan Tabish



  ___
Davinci-linux-open-source mailing list
Davinci-linux-open-source@linux.davincidsp.com
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source


jffs2 question

2010-07-11 Thread rohan tabish
I am using jffs2 filesystem got alot of these messages and then increase each 
time i boot

JFFS2 notice: (1) check_node_data: wrong data CRC in data node at 0x0047dce8: 
read 0x9b72523b, calculated 0x2d0a05f4


CRC messages


how what these messages area for? they add latency to my system

Regard's




  ___
Davinci-linux-open-source mailing list
Davinci-linux-open-source@linux.davincidsp.com
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source


question on /dev devices

2010-07-07 Thread rohan tabish

i have written a filesytem now i want to do fast boot but populating the

/dev takes about 5seconds how can i avoid populating /dev at each bootup.


Also i want to know that  where these devices acutally are ??i mean in the RAM 
or in 

the flash in case of jffs2 image?if they are the part of the jffs2 then why 
then are not 

there at the other bootup?i guess they are in the ram am i right??we mount 
devices 

from the ram to our filesytem to communicate with these devices.we populate to 
make 

nodes in /dev and it takes around 5seconds how can i reduce this time.Also 
doing 

mknod create node for a device but at reboot the device does not exist this 
means 

doing mknod /dev/ /proc/sys/kernel/hotplug
status $? 0

echo -n " Populating /dev    : "
mkdir /dev/input
mkdir /dev/snd

mdev -s
status $? 0

i want fast boot right now i did it using jffs2 image and time is about 
13seconds from ubl to linux prompt with all the services up and running.

does doing alot of insmod and mknod on the jffs2 image affects the life of the 
flash?

regard's
RT


  ___
Davinci-linux-open-source mailing list
Davinci-linux-open-source@linux.davincidsp.com
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source


Populating /dev on each boot up

2010-07-07 Thread rohan tabish
Hello 

I have a question for you i want to know that when the system boots up u-boot 
copies the linux kernel from the flash to the ram and start execution.It then 
looks for the filesystem and mount in my case the filesystem used is jffs2 
following are the steps that i do in the start up script i mount /proc /dev run 
some deamons all these take only 0.14seconds but populating the /dev takes 
almost around 5seconds and create alot of devices in the /dev it means at each 
bootup these devices are written in the /dev directory?
off course i know that these devices are required to communicate with the 
hardware but i want fast boot-up so my question is that should i copy these 
devices to myfilesystem once and then recycle the board with removing 
populating deivces script is that  okI did this but at bootup it says can't 
acess  /dev/ttyS0 nosuch file or directory
regard's



  ___
Davinci-linux-open-source mailing list
Davinci-linux-open-source@linux.davincidsp.com
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source


Is populating /dev devices????

2010-07-06 Thread rohan tabish
Is populating /dev devices required at each bootup .It takes about 5sec to 
populate all the devices how to ignore this?

Regard's
Rohan Tabish



  ___
Davinci-linux-open-source mailing list
Davinci-linux-open-source@linux.davincidsp.com
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source


Choosing filesytems JFFS2 or Ramdisk

2010-07-05 Thread rohan tabish
Hello

I have an application requirement which performs alot of read write operations 
on the file system so what is the recommended file system i should use i guess 
using jffs2 is the option because having ram disk as file system will not be 
able to save the configuration on next boot.

There is also a problem with JFFS2 as file system doing many file operations on 
flash will finish its life over the time as flash have limited life 

Kindly suggest what should be the preferred way out

Regard's
r...@n



  ___
Davinci-linux-open-source mailing list
Davinci-linux-open-source@linux.davincidsp.com
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source


Question on RAMDISK

2010-07-05 Thread rohan tabish
Hello everyone

I am using a ramdisk image to boot the system its takes around 7secs to copy 
the ramdisk image from the flash to the RAM and then takes 3.6 seconds after 
kernal uncompressing to the linux prompt

I want to know that how to reduce this time of 7seconds.

Also can anyone tell how to update the ramdisk image from the linux prompt.e.g 
if i have created a file and now iwant it at the next boot then how to make 
this file part of the old ramdisk image

Regard's
RT



  ___
Davinci-linux-open-source mailing list
Davinci-linux-open-source@linux.davincidsp.com
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source


using jffs2 or ramdisk saving flash

2010-07-01 Thread rohan tabish
I am using DM6446 have written device drivers each time my system boots i need 
to do insmod to install many drivers.for jffs2 file system these drivers are 
installed in flash that is lsmod displays the flash address this means each 
time i boot i write to flash in real product with time the flash will die so i 
have to switch to ramdisk image but problem with this is that it takes alot of 
time to boot the system.

Anyone know how to save flash and boot quickly


Regard's

RT



  ___
Davinci-linux-open-source mailing list
Davinci-linux-open-source@linux.davincidsp.com
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source


BSD on davinci

2010-07-01 Thread rohan tabish
anyone having any idea of porting BSD on davinci platform

Regard's
RT



  ___
Davinci-linux-open-source mailing list
Davinci-linux-open-source@linux.davincidsp.com
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source


Help: hw to enable second serial port on DM6446

2010-06-08 Thread rohan tabish
anyone knows hw to enable second serial port on DM6446


  ___
Davinci-linux-open-source mailing list
Davinci-linux-open-source@linux.davincidsp.com
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source


HELP:How to enable the UART1

2010-06-08 Thread rohan tabish
Hello everyone 
I want to enable the UART1 on DM6446 anyone knows that.Is there supoort in the 
kernel for the ttyS1

Regard's
RT



  ___
Davinci-linux-open-source mailing list
Davinci-linux-open-source@linux.davincidsp.com
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source


DM6446:how to change PLL1 frequecy in linux

2010-03-09 Thread rohan tabish
Hello 
I want to know how to change the PLL1 frequency in Linux Have read the sprue14 
it says that the all the peripherals using this frequency should be powered 
off.more over since i want to low the frequency of only SYSCLK 5 but that is 
not programmable i have changed the value in that register but that isn't 
working



Regard's
RT



  ___
Davinci-linux-open-source mailing list
Davinci-linux-open-source@linux.davincidsp.com
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source


Enabling and using ASP interface

2010-02-25 Thread rohan tabish
Anyone knows how to use the ASP interface on ARM

Regard's
RT



  ___
Davinci-linux-open-source mailing list
Davinci-linux-open-source@linux.davincidsp.com
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source


DM6446 HELP:GPIO

2010-02-25 Thread rohan tabish
Hello everyine i want to know how to acess lets say an LED which is connected 
to GPIO.

any help regarding it will be useful.I have seen the gpio.h file there are 
MACROS defined do i just need to use those MACROS

Regard's
RT




  ___
Davinci-linux-open-source mailing list
Davinci-linux-open-source@linux.davincidsp.com
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source


Re: HOW TO TRANSFER A FILE VIA serial in LINUX

2010-02-22 Thread rohan tabish
xmodem in busybox works fine

--- On Mon, 22/2/10, Nick Thompson  wrote:

From: Nick Thompson 
Subject: Re: HOW TO TRANSFER A FILE VIA serial in LINUX
To: "rohan tabish" 
Cc: "davinci-linux-open-source@linux.davincidsp.com" 

Date: Monday, 22 February, 2010, 21:05

On 22/02/10 15:26, rohan tabish wrote:
> Nick thanks for your reply i have chossen busybox providing the linux 
> utilities do you know is dere any utlity in it to transfer the file 
> 
> Regard's
> RT 

I'm not a busybox expert, but I don't think it includes zmodem tools.

May be you could try http://www.ohse.de/uwe/software/lrzsz.html

Nick.



  ___
Davinci-linux-open-source mailing list
Davinci-linux-open-source@linux.davincidsp.com
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source


Loadb equailent in linux

2010-02-22 Thread rohan tabish
Hello everyon we are using DM6446 i don't have any ethernet port in our custom 
board i want to know how to transfer a file using serial port once we get to 
the linux prompt how to add file to the file system using the prompt via serial 
port

Regard's
Rohan Tabish 



  ___
Davinci-linux-open-source mailing list
Davinci-linux-open-source@linux.davincidsp.com
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source


HOW TO TRANSFER A FILE VIA serial in LINUX

2010-02-22 Thread rohan tabish
Hello everyone i want to know how to transfer any file via /dev/ttyS0 to flash 
while linux is running on ttyS0

Regard's
RT



  ___
Davinci-linux-open-source mailing list
Davinci-linux-open-source@linux.davincidsp.com
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source


DM6446:file trasfer via UART

2010-02-18 Thread rohan tabish
Hello everyone I am using DM6446 we have made our own custom board for some 
reason we have not connected the ethernet port i am able to boot using the 
filsystem in the NAND flash.

Now i have created a program and i want to transfer or copy it to the 
filesystem.Anyone knows how to do it.

In our previous design we had ethernet port so we can mount on the other 
computer using the ethernet over nfs and copy that file into the filesystem.But 
now the only way is the serial port but linux is running on dat port.

Anyone knows how to transfer an executable or anyfile over serial while the 
linux is bootup.



Regard's
Rohan Tabish



  ___
Davinci-linux-open-source mailing list
Davinci-linux-open-source@linux.davincidsp.com
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source


HELP:COMPILATION

2010-02-15 Thread rohan tabish
Hello everyone i am using ELDK cross compiler CC enviroment is 

arm-linux-gnueabi-g++

as shown in the example but the problem is that i am unable to do make it 
sucessfully.
here is the error what i get 




/root/ELDK/usr/bin/../lib/gcc/arm-linux-gnueabi/4.2.2/../../../../arm-linux-gnueabi/bin/ld:
macaw.o: Relocations in generic ELF (EM: 3)

macaw.o: could not read symbols: File in wrong format

collect2: ld returned 1 exit status

make: *** [macaw] Error 1

my make file is 


macaw:        macaw.h MACAW_Changes.h MACAW_Frames.h MACAW_Generic.h \
        MACAW_PHY.h MACAW_Timers.h\
        macaw.o MACAW_Generic.o MACAW_PHY.o MACAWTest.o \
        MACAW_Timers.o SystemClockResolution.o \

        arm-linux-gnueabi-g++ macaw.o \
        MACAW_Generic.o MACAW_PHY.o MACAWTest.o \
        MACAW_Timers.o SystemClockResolution.o \
        -static -lstdc++ -o macaw

when i change arm-linux-gnueabi-g++ to only g++ it gets sucessfully compiled

Regard's
RT


  ___
Davinci-linux-open-source mailing list
Davinci-linux-open-source@linux.davincidsp.com
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source


[no subject]

2010-02-15 Thread rohan tabish



Hello everyone i am using ELDK cross compiler CC enviroment is 

arm-linux-gnueabi-g++

as shown in the example but the problem is that i am unable to do make it 
sucessfully.
here is the error what i get 




/root/ELDK/usr/bin/../lib/gcc/arm-linux-gnueabi/4.2.2/../../../../arm-linux-gnueabi/bin/ld:
macaw.o: Relocations in generic ELF (EM: 3)

macaw.o: could not read symbols: File in wrong format

collect2: ld returned 1 exit status

make: *** [macaw] Error 1

my make file is 

#CC = /home/arm/arm9ndc/usr/bin/arm-linux-gnueabi-gcc
#PATH=$PATH:/home/arm/armcomplete/arm/usr/bin/

macaw:        macaw.h MACAW_Changes.h MACAW_Frames.h MACAW_Generic.h \
        MACAW_PHY.h MACAW_Timers.h\
        macaw.o MACAW_Generic.o MACAW_PHY.o MACAWTest.o \
        MACAW_Timers.o SystemClockResolution.o \

        arm-linux-gnueabi-g++ macaw.o \
        MACAW_Generic.o MACAW_PHY.o MACAWTest.o \
        MACAW_Timers.o SystemClockResolution.o \
        -static -lstdc++ -o macaw



Regard's
RT



  ___
Davinci-linux-open-source mailing list
Davinci-linux-open-source@linux.davincidsp.com
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source


DM6446:how to integrate the DSPLINK to GIT kernel

2010-02-10 Thread rohan tabish
anyone knows how to use DSP link with the git kernel any page or useful page 


Regard's
Rohan Tabish



  ___
Davinci-linux-open-source mailing list
Davinci-linux-open-source@linux.davincidsp.com
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source


PHY Detection problem in u-boot

2010-02-02 Thread rohan tabish
Hello everyone we have made our own custom board with some revision DM6446.I 
have sucessfully ported the linux on that board using the open source git 
kernel but in our new board we have done revision.The PHY that we previously 
used was LAN 8700 now we have changed the PHY to LAN8710 but the PHY does not 
gets detected.

The ETH PHY driver in the u-boot is assumed to be generic so it should detect 
the PHY whenever it boots up it says GENERIC ETH PHY  @ 00.


Here is my u-boot log 

TI UBL Version: 1.31
Booting Catalog Boot Loader
BootMode = NAND
Starting NAND Copy...
Valid magicnum, 0xA1ACED66, found in block 0x0006.
   DONE
Jumping to entry point at 0x8108.


U-Boot 2009.06-rc2 (Oct 15 2009 - 10:32:33)

I2C:   ready
DRAM:  256 MB
NAND:  256 MiB
In:    serial
Out:   serial
Err:   serial
ARM Clock: 297MHz
DDR Clock: 162MHz
Read from EEPROM @ 0x50 failed
Ethernet PHY: GENERIC @ 0x00
Hit any key to stop autoboot:  0
U-Boot > mii
Usage:
mii - MII utility commands

U-Boot > help mii
mii device - list available devices
mii device    - set current device
mii info     - display MII PHY info
mii read        - read  MII PHY  register 
mii write - write MII PHY  register 
mii dump        - pretty-print   (0-5 only)
Addr and/or reg may be ranges, e.g. 2-7.
U-Boot > mii write 2 2 2
U-Boot > mii read 2 2
Error reading from the PHY addr=02 reg=02
U-Boot > ping 172.16.0.90
WARN: emac_send_packet: No link

Do i need to add the support for the new PHY in u-boot what further 
modifications i will have to do in the kernel to Add the support for LAN 8710.


Regard's
RT



  ___
Davinci-linux-open-source mailing list
Davinci-linux-open-source@linux.davincidsp.com
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source


MTD Erase failure: -22

2010-02-01 Thread rohan tabish
hello everyone 


DM6446

we have our own custom board DM6446 I have used the open source git kernel and 
u-boot for booting i have sucessfully done the bootin but i am curious about 
this error when it u-boot i do nand erase i get the following error at various 
addresses any on knows y i am unable to erase

 NAND 256MiB 1,8V 8-bit: MTD Erase failure: -22

for example nand erase 0x47



  ___
Davinci-linux-open-source mailing list
Davinci-linux-open-source@linux.davincidsp.com
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source


Problem using u-boot loadb command

2010-02-01 Thread rohan tabish
hello everyone I am using DM6446 have made our own custom board for some 
reasons have not used the ethernet interface in our design so i have to flash 
the uImage(kernel) image and the filesystem by transferring using the loadb 
command in the u-boot but when i load the binary using the loadb command and 
try to tranfer it using kermit mode it gets no response and finally i get a 
dialogue box error limit exceeds


Anyone encountered this kind of error

Regard's
Rohan Tabish



  ___
Davinci-linux-open-source mailing list
Davinci-linux-open-source@linux.davincidsp.com
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source


Problem using the Flash utility

2010-01-31 Thread rohan tabish
Hello everyone I am using the FLASH utility to burn the ubl.bin and u-boot.bin 
to the NAND flash I am able to burn them sucessfully but when i boot the board 
sometimes i get the eth PHY detected and sometimes when i boot The ETH PHY not 
gets detected anyone knows what this issue can b.

Have used the following command for burning 

sfh_DM644x.exe -erase -flashType NAND -targetType DM6446
sfh_DM644x.exe -flash -flashType NAND -targetType DM6446  


Regard's
Rohan Tabish



  ___
Davinci-linux-open-source mailing list
Davinci-linux-open-source@linux.davincidsp.com
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source


Help NANDERASE UTILITY

2010-01-21 Thread rohan tabish
Hello everyone I have a JFFS2 image i want to write it to NAND with escaping 
the bad blocks.For that i can to know that i have to use the nanderase and 
nandwrite utility anyone knows where i can get the nandwrite and nanderase 
utility or its source.


Regard's
Rohan Tabish



  ___
Davinci-linux-open-source mailing list
Davinci-linux-open-source@linux.davincidsp.com
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source


DMA:HELP

2010-01-20 Thread rohan tabish
hello everyone we have made our own custom board DM6446  Have used the open 
source  Linux I want to disable the DMA

When I do 

cat /proc/iomem

01c0-01c0 : edma_cc0    
  01c0-01c0 : edma.0    
01c1-01c103ff : edma_tc0    
01c10400-01c107ff : edma_tc1    
01c2-01c2001f : serial  
01c21000-01c21040 : i2c_davinci.1   
  01c21000-01c21040 : i2c_davinci   
01c21c00-01c21fff : watchdog    
01c70400-01c704ff : vpfe-capture    
01c72600-01c7277f : davincifb   
01c73400-01c734ff : vpss    
01c8-01c847ff : davinci_emac.1  
  01c8-01c847ff : eth0  
01e0-01e00fff : davinci_nand.0  
01e02000-01e03fff : davinci-asp 
01e1-01e10fff : davinci_mmc.0   
0200-02ff : davinci_nand.0  
8000-8e5f : System RAM  
  80028000-80310fff : Kernel text   
  80312000-8036099b : Kernel data   

I want to disable the module because MY DSP is using DMA anyone knows how to 
disable the DMA.

Regard's
Rohan Tabsih



  ___
Davinci-linux-open-source mailing list
Davinci-linux-open-source@linux.davincidsp.com
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source


DM6446:VLYNQ HELP

2010-01-19 Thread rohan tabish
Hello everyone i am using DM6446 and want to enable the VLYNQ interface Have 
read the 

sprue36.pdf VLYNQ port interface but i am unable to get the clear 
information.Also have 

downloaded  the CCS version of the VLYNQ code.I am able to see the clock but i 
am not able 

to get back what is transmitted.Anyone has enabled the VLYNQ interface on 
DM6446.


Regard's
Rohan Tabish



  ___
Davinci-linux-open-source mailing list
Davinci-linux-open-source@linux.davincidsp.com
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source


Davinci:Problem using MACRO

2010-01-11 Thread rohan tabish
#define SPI_REG(reg)    (*(int *_IOMEM) IO_ADDRESS(reg))


Hello everyone I am using DM6446 and i have problem using the MACRO defined 
above i have included the following harware.h file for using this MACRO 

arch/arm/mach-davinci/include/mach/hardware.h

The module gets compiled correctly but when i load the module it gives the 
following error.
insmod my_led.ko

 my_led: disagrees about version of symbol module_layout  
    
insmod: can't insert 'my_led.ko': invalid module format  

Anyone knows how to solve this issue.


Regard's 
Rohan Tabish



  ___
Davinci-linux-open-source mailing list
Davinci-linux-open-source@linux.davincidsp.com
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source


VLYNQ:Problem in git kernel

2010-01-03 Thread rohan tabish
ts in struct initializer
drivers/vlynq/vlynq.c:253: warning: (near initialization for 
'vlynq_remote_chip')
drivers/vlynq/vlynq.c:254: error: unknown field 'mask' specified in initializer
drivers/vlynq/vlynq.c:254: warning: excess elements in struct initializer
drivers/vlynq/vlynq.c:254: warning: (near initialization for 
'vlynq_remote_chip')
drivers/vlynq/vlynq.c:255: error: unknown field 'ack' specified in initializer
drivers/vlynq/vlynq.c:255: warning: excess elements in struct initializer
drivers/vlynq/vlynq.c:255: warning: (near initialization for 
'vlynq_remote_chip')
drivers/vlynq/vlynq.c: In function 'vlynq_setup_irq':
drivers/vlynq/vlynq.c:292: error: implicit declaration of function 
'set_irq_chip_and_handler'
drivers/vlynq/vlynq.c:293: error: 'handle_level_irq' undeclared (first use in 
this function)
drivers/vlynq/vlynq.c:294: error: implicit declaration of function 
'set_irq_chip_data'
drivers/vlynq/vlynq.c:301: error: 'handle_simple_irq' undeclared (first use in 
this function)
make[2]: *** [drivers/vlynq/vlynq.o] Error 1
make[1]: *** [drivers/vlynq] Error 2
make: *** [drivers] Error 2

*
aNY ONE KNOWS HOW TO RESOLVE THIS ISSUE


Regard's 
Rohan Tabish



  ___
Davinci-linux-open-source mailing list
Davinci-linux-open-source@linux.davincidsp.com
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source


Configuring VLYNQ interface?

2009-12-31 Thread rohan tabish
Hello everyone i want to enable the VLYNQ interface for the open source git 
kernel but 

make menuconfig under

Device Driver under

TI VLYNQ(EMPTY)

Regard's
Rohan Tabish



  ___
Davinci-linux-open-source mailing list
Davinci-linux-open-source@linux.davincidsp.com
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source


VLYNQ Inerface

2009-12-31 Thread rohan tabish
Hello everyone 
i want to enable the  VLYNQ interface but  there is nothing in the open source 
git kernel when i  do make menuconfig 
and go to Device Driver--->TI VLNYQ(EMPTY)


Though there are files in /driver/vlynq folder


Anyone knows how to enable the vlynq driver in the git kernel

Regard's
Rohan Tabish

 


  ___
Davinci-linux-open-source mailing list
Davinci-linux-open-source@linux.davincidsp.com
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source


error executing dynamic link program

2009-12-14 Thread rohan tabish
Hello everyone i am using the open source git kernel have used busybox to 
provide the basic utilities such as the shell,rm and other utilities.And adding 
the basic startup scripts and letting those script mount the kernel on the 
filesystem.

When i cross compile the program on computer without static link it says file 
not found.
And when i execute it using static linking it executes the program anyone know 
how to resolve this isssue.
Regard's
RT



  ___
Davinci-linux-open-source mailing list
Davinci-linux-open-source@linux.davincidsp.com
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source


Re: SPI driver

2009-12-13 Thread rohan tabish

I have written a code in CCS for SPI and i am able to read write to ADC that we 
have attached to the SPI in our custom  board. There might be problem with  
your code i think
Regard's
RT



--- On Fri, 11/12/09, Rondeau, Michael  wrote:

From: Rondeau, Michael 
Subject: SPI driver
To: "davinci-linux-open-source@linux.davincidsp.com" 

Date: Friday, 11 December, 2009, 18:45




 
 






We have been using a bit-banging SPI driver for several
years to write to some GPIO expander chips.  I now need to read some
inputs from the GPIO expander.  The driver is not working in read mode and
I am debugging it now.  But, I was wondering if TI has gotten a TI 6446
hardware SPI driver working. 

   

Thanks 

Michael Rondeau 

   



 


-Inline Attachment Follows-

___
Davinci-linux-open-source mailing list
Davinci-linux-open-source@linux.davincidsp.com
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source



  ___
Davinci-linux-open-source mailing list
Davinci-linux-open-source@linux.davincidsp.com
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source


DM6446:DDR and NAND Memory test

2009-12-10 Thread rohan tabish
Hello everyone We are using our on custom board i am able to boot and get to 
the prompt using the open source git kernel.Now i want to make a simple RAM and 
NAND test anyone knows how to do that 

Regard's
Rohan Tabish



  ___
Davinci-linux-open-source mailing list
Davinci-linux-open-source@linux.davincidsp.com
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source


DM6446:support for SPI interface

2009-11-18 Thread rohan tabish
Hello everyone i am using DM6446 and want to enable the SPI interface but i am 
not able to configure it.
I think the git kernel does not includes any SPI support for DM6446.

can any one tell how to enable the SPI interface on DM6446. What source code 
modification is required in dm644x.c file is required


Regard's
RT



  ___
Davinci-linux-open-source mailing list
Davinci-linux-open-source@linux.davincidsp.com
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source


DM6446:How to reserve RAM specific Area

2009-11-16 Thread rohan tabish
Hello everyone 
we have made our own custom board i want to reserve a fixed RAM area to be used 
by other processor

One
way to do that is to boot the kernel with mem= value and
then use the remaining space of the RAM by allocating it using the
modules.But in this fashion we will always load the module at the end.

I want to know is there any other way to reserve the RAM area anywhere we want.

Regard's
Rohan Tabish


  ___
Davinci-linux-open-source mailing list
Davinci-linux-open-source@linux.davincidsp.com
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source


DM6446:how to reserve RAM specific are to b used my other processor

2009-11-16 Thread rohan tabish
Hello everyone 
we have made our own custom board i want to reserve a fixed RAM area to be used 
by other processor

One way to do that is to boot the kernel with mem= value and then use the 
remaining space of the RAM by allocating it using the modules.But in this 
fashion we will always load the module at the end.

I want to know is there any other way to reserve the RAM area anywhere we want.

Regard's
Rohan Tabish



  ___
Davinci-linux-open-source mailing list
Davinci-linux-open-source@linux.davincidsp.com
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source


DM6446:uanble to detect the correct RAM size

2009-11-15 Thread rohan tabish
hello everyone we have made our on custom board DM6446 and have attached 256MB 
of the RAM with it but after booting and getting the prompt when i do 

cat /proc/iomem

01c0-01c0 : 
edma_cc0  
 
01c0-01c0 : 
edma.0  
 
01c1-01c103ff : 
edma_tc0  
 
01c10400-01c107ff : 
edma_tc1  
 
01c2-01c2001f : 
serial
 
01c21000-01c21040 : 
i2c_davinci.1 
 
01c21000-01c21040 : 
i2c_davinci 
 
01c21c00-01c21fff : 
watchdog  
 
01c70400-01c704ff : 
vpfe-capture  
 
01c72600-01c7277f : 
davincifb 
 
01c73400-01c734ff : 
vpss  
 
01c8-01c847ff : 
davinci_emac.1
 
01c8-01c847ff : 
eth0
 
01e0-01e00fff : 
davinci_nand.0
 
01e02000-01e03fff : 
davinci-asp   
 
01e1-01e10fff : 
davinci_mmc.0 
 
0200-02ff : 
davinci_nand.0
 
8000-877f : System 
RAM 
80028000-80318fff : Kernel 
text  
8031a000-8036879b : Kernel data 


it shows system RAM size of 0x77F which is 128MB can any one tell how to 
configure the kernel for 256MB of RAM


With Regard's
Rohan Tabish



  ___
Davinci-linux-open-source mailing list
Davinci-linux-open-source@linux.davincidsp.com
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source


DM6446:using DSP link with git kernel

2009-11-04 Thread rohan tabish
Hello everyone

I have the open source kernel from git to get to the linux prompt.Now i want to 
run the DSP side from arm for that DSP link is used for DVSDK but i am not 
using the Montavista tool chain i am using the open source git kernel anyone 
having any idea how to do that.

Can anyone mention the steps that i need to follow to run the DSP code using 
this link any tutorial or helpful link regarding this?

At present i am writing the own driver and i am able to release the DSP from 
reset.I have read datasheet that when the DSP is released from the reset it 
execute the code at the location in the register DSPBOOTADDR.

I have generated code using the code composer studio converted that .out file 
to .hex file loaded to the loacation but DSP does not executes it.

I want to know that how to make sure that the .hex file generated by hex 
utility from .out file is that working file or not 

With Regard's
Rohan Tabish



  ___
Davinci-linux-open-source mailing list
Davinci-linux-open-source@linux.davincidsp.com
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source


DM6446:open source DSP link source

2009-10-30 Thread rohan tabish
hi

I have ported the open source linux on our custom board DM6446.Now i want to 
enable DSP from it under arm and want to run my applications using DSP anyone 
having any idea



Regard's
RT



  ___
Davinci-linux-open-source mailing list
Davinci-linux-open-source@linux.davincidsp.com
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source


DM6446:How to execute DSP code from ARM

2009-10-30 Thread rohan tabish
Hello everyone

We have made our own custom board i am done with the linux using open source 
from git.now i want enable the dsp and execute its code bay placing the code in 
the RAM.I have created the code of dsp using the CCS which is .out file I want 
to know that do i need to trasnfer the file to RAM  in .out format or hex 
format.Any one having any idea

Regard's
Rohan Tabish



  ___
Davinci-linux-open-source mailing list
Davinci-linux-open-source@linux.davincidsp.com
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source


DM6446:Enabling DSP from linux prompt

2009-10-29 Thread rohan tabish
Hello every body
I am using DM6446 able to get to the linux prompt.Now i want to enable the DSP 
and want to execute DSP code from ARM anyone having any idea how to do that?

Regard's
Rohan Tabish



  ___
Davinci-linux-open-source mailing list
Davinci-linux-open-source@linux.davincidsp.com
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source


DM6446:how to develop DSP side link using git kernel

2009-10-29 Thread rohan tabish
Hello everybody

We have developed our own custom board. i am done with the linux bootup on arm 
using the open source git kernel.

Now i want know how to create dsp link on the arm side anyone having any idea 
regarding this

Regard's
Rohan Tabish   



  ___
Davinci-linux-open-source mailing list
Davinci-linux-open-source@linux.davincidsp.com
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source


Diferrence between busybox filesystem and others

2009-10-26 Thread rohan tabish
Hye guys 

I am using open source code from git and i am able to get the prompt using 
busybox as filesystem anyone know what's the difference between busybox based 
filesystem and other.
I think filesystem is just directory struture.and using some basic utilities as 
provided by busybox for embeded development provides a complete system.

Please correct me if i am wrong

Regard's
Rohan Tabish



  ___
Davinci-linux-open-source mailing list
Davinci-linux-open-source@linux.davincidsp.com
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source


DM6446:How to write own code to acess GPIO pins

2009-10-26 Thread rohan tabish
hello everyone,

i am using my DM6446 and i am able to get the prompt.now i want to acess my 
memory map I/O at address 0x0640 at which on our custom board we have 
attached an LED.Now i want to blink that LED from my prompt.I know i have to 
make a module and make adriver to acess anyone having ideahow to do this.


Regard's 
Rohan Tabish



  ___
Davinci-linux-open-source mailing list
Davinci-linux-open-source@linux.davincidsp.com
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source


ADDing Support For 256MB on NAND

2009-10-15 Thread rohan tabish
 unable to register port at index 1 (IO0 MEM1c20400 IRQ2
serial8250 serial8250.0: unable to register port at index 2 (IO0 MEM1c20800 IRQ2
brd: module loaded  
at24 1-0050: 32768 byte 24c256 EEPROM (writable)    
davinci_emac_probe: using random MAC addr: 06:7a:89:8b:69:82    
emac-mii: probed    
dm9000 Ethernet Driver, V1.31   
Platform driver 'dm9000' needs updating - please use dev_pm_ops     
console [netcon0] enabled   
netconsole: network logging started     
physmap platform flash device: 0100 at 0200     
physmap-flash physmap-flash.0: map_probe failed     
Generic platform RAM MTD, (c) 2004 Simtec Electronics   
i2c /dev entries driver     
TCP cubic registered    
NET: Registered protocol family 17  
RPC: Registered udp transport module.   
RPC: Registered tcp transport module.   
Clocks: disable unused uart1    
Clocks: disable unused uart2    
Clocks: disable unused ide  
Clocks: disable unused asp0     
Clocks: disable unused mmcsd    
Clocks: disable unused spi  
Clocks: disable unused usb  
Clocks: disable unused vlynq    
Clocks: disable unused pwm0     
Clocks: disable unused pwm1     
Clocks: disable unused pwm2     
Clocks: disable unused timer1   
RAMDISK: ext2 filesystem found at block 0   
RAMDISK: Loading 7000KiB [1 disk] into ram disk... done.    
VFS: Mounted root (ext2 filesystem) on device 1:0.  
Freeing init memory: 124K   
    
    System initialization...    
    
    Hostname   : OMAP3EVM   
    Filesystem : v1.0.0     
    
    
    Kernel release : Linux 2.6.31-rc5-davinci1  
    Kernel version : #2 PREEMPT Thu Oct 15 11:51:07 PKT 2009    
    
 Mounting /proc : [SUCCESS]     
 Mounting /sys  : [SUCCESS]     
 Mounting /dev  : [SUCCESS]     
 Mounting /dev/pts  : [SUCCESS]     
 Enabling hot-plug  : [SUCCESS]     
 Populating /dev    : [SUCCESS]     
 Mounting other filesystems : [SUCCESS]     
 Starting syslogd   : [SUCCESS]     
 Starting telnetd   : [SUCCESS]     
    
System initialization complete.     
    
Please press Enter to activate this console. 


With Regard's
Rohan Tabish


Send instant messages to your online friends http://uk.messenger.yahoo.com ___
Davinci-linux-open-source mailing list
Davinci-linux-open-source@linux.davincidsp.com
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source


Git:Problem adding support go for 2Gbit NAND for DM6446

2009-10-14 Thread rohan tabish
S]
 
    
System initialization complete.
 
    
Please press Enter to activate this console.   
# cat
 proc/mtd  
dev:    size   erasesize  name  
# 

I
guess my NAND driver is not getting configured when the kernel boots
up.Anyone know how to resolve this issue. I want to burn my filesystem
in the NAND flash.

With regard's
Rohan
 Tabish


Send instant messages to your online friends http://uk.messenger.yahoo.com ___
Davinci-linux-open-source mailing list
Davinci-linux-open-source@linux.davincidsp.com
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source


DM6446:Creating MTD partion NAND problem

2009-10-14 Thread rohan tabish
ete. 
    
Please press Enter to activate this console.   
# cat proc/mtd  
dev:    size   erasesize  name  
# 

I guess my NAND driver is not getting configured when the kernel boots 
up.Anyone know how to resolve this issue. I want to burn my filesystem in the 
NAND flash.

With regard's
Rohan Tabish


   
   


 














With Regard's 
Rohan Tabish



  ___
Davinci-linux-open-source mailing list
Davinci-linux-open-source@linux.davincidsp.com
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source


DM6446:kernel size problem

2009-10-13 Thread rohan tabish
hye guys 

I previously compiled the kernel with MTD utilities modules now i have added 
the support in the uImage my previously compiled kernel size was 1.4MBwhich 
boots well but the newly compiled size  comes out to be 2.6 MB

When i transfer it to the board using the nfs command in the u-boot  via 
ethernet and boot it it gives messages BOOTME,BOOTME,BOOtME

here is what i get


TI UBL Version: 1.31    
Booting Catalog Boot Loader 
BootMode = NAND 
Starting NAND Copy...   
Valid magicnum, 0xA1ACED66, found in block 0x0006.  
   DONE 
Jumping to entry point at 0x8108.   
    
    
U-Boot 2009.08 (Oct 13 2009 - 16:05:48) 
    
Cores: ARM 297 MHz, DSP 594 MHz 
DDR:   162 MHz  
I2C:   ready    
DRAM:  256 MB   
NAND:  256 MiB  
nand_bbt: Out of memory 
In:    serial   
Out:   serial   
Err:   serial   
Read from EEPROM @ 0x50 failed  
Net:   Ethernet PHY: GENERIC @ 0x1f 
    
Hit any key to stop autoboot:  0    
U-Boot > setenv bootfile /home/rohan/workdir/uImage 
U-Boot > nfs 0x8200 
Using  device   
File transfer via NFS from server 172.16.0.197; our IP address is 172.16.0.92   
Filename '/home/rohan/workdir/uImage'.  
Load address: 0x8200    
Loading: #  
 #  
 #  
 #  
 #  
 #  
 #  
 #  
 #  
done    
Bytes transferred = 2745708 (29e56c hex)    
Automatic boot of image at addr 0x8200 ...  
## Booting kernel from Legacy Image at 8200 ... 
   Image Name:   Linux-2.6.31-rc5-davinci1  
   Image Type:   ARM Linux Kernel Image (uncompressed)  
   Data Size:    2745644 Bytes =  2.6 MB    
   Load Address: 8000   
   Entry Point:  8000   
   Verifying Checksum ... OK    
   Loading Kernel Image ... OK  
OK  
    
Starting kernel ... 
    
 BOOTME BOOTME BOOTME BOOTME BOOTME BOOTME BOOTME BOOTME BOOTME BOOTME BOOTME B


Anyone know what problem is it.

Regard's
Rohan Tabish




  ___
Davinci-linux-ope

DM6446:auto boot problem

2009-10-13 Thread rohan tabish
Hye guys

we have made our own board but are not able to autoboot.we have written our 
kernel image in the flash but when we power up the board it goes to the u-boot 
prompt over dere we write boot the board then boots.I have read that 
config_BOOTDELAY needs to be define in the source code but when i change it 
from undef to define and compile it i got the following error.

env_common.c:73:52: error: operator '>=' has no left operand
make[1]: *** [env_common.o] Error 1
make[1]: Leaving directory `/root/Desktop/u-boot/common'
make: *** [common/libcommon.a] Error 2
 here are by u-boot variables
baudrate=115200 
ethaddr=00:1C:C0:0A:00:01   
bootm=0x8070    
     
bootdelay=10    
rootpath=/home/rohan/workdir    
nfshost=172.16.0.197    
hostname=rohan  
dnsip=172.16.0.1    
filesize=16D30C 
fileaddr=8070   
gatewayip=172.16.0.10   
netmask=255.255.240.0   
ipaddr=172.16.0.92  
serverip=172.16.0.197   
bootargs=console=ttyS0,115200n8 root=/dev/ram0 rw initrd=0x8160,16M mem=120M
bootfile=/home/rohan/workdir/fsn.bin    
bootcmd=nboot 0x8000 0 0x10;bootm   
stdin=serial    
stdout=serial   
stderr=serial   
videostd=ntsc   
ver=U-Boot 2009.06-rc2 (Sep 28 2009 - 12:25:52) 
   
Any one having any idea about it.How can i solve it
Regard's
Rohan Tabish


Send instant messages to your online friends http://uk.messenger.yahoo.com ___
Davinci-linux-open-source mailing list
Davinci-linux-open-source@linux.davincidsp.com
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source


Re: DM6446:running application

2009-10-12 Thread rohan tabish

i have resolved this using the static flag thanks alot for your help

With Regard's
Rohan Tabish

--- On Mon, 12/10/09, Bjørn Forsman  wrote:

From: Bjørn Forsman 
Subject: Re: DM6446:running application
To: "rohan tabish" 
Cc: davinci-linux-open-source@linux.davincidsp.com
Date: Monday, 12 October, 2009, 11:52 AM

2009/10/11 rohan tabish 
>
> Hi guyz
>
> This group is great Thanks alot for your help.i have referred busybox as my 
> filesystem and made an initrd (initial ram disk image) I was able to run all 
> the utilities in that i complied with the busybox.But when i cross compile a 
> simple HELLO world program and put it in the File system and run it using the 
> following command.
>
> #./hello
> hello:No such file

I think I've seen this before. IIRC, the error is from the dynamic
linker not finding any of the libraries ./hello needs. Try building
hello with the '-static' flag.

Regards,
Bjørn Forsman



  ___
Davinci-linux-open-source mailing list
Davinci-linux-open-source@linux.davincidsp.com
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source


DM6446:putting gcc in busybox based filesystem

2009-10-10 Thread rohan tabish
Hye guyz

Anyone have any idea how to put the gcc compiler in busybox based 
cross_compiled filesystem.

With Regard's
Rohan Tabish



  ___
Davinci-linux-open-source mailing list
Davinci-linux-open-source@linux.davincidsp.com
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source


DM6446:running application

2009-10-10 Thread rohan tabish
Hi guyz

This group is great Thanks alot for your help.i have referred busybox as my 
filesystem and made an initrd (initial ram disk image) I was able to run all 
the utilities in that i complied with the busybox.But when i cross compile a 
simple HELLO world program and put it in the File system and run it using the 
following command.

#./hello
hello:No such file 

but when i do ls i can find file there anyone having any idea how to run 
application n such a filesystem.I added a new command in the busybox and added 
my code there but why it is not running like dis.

With Regard's
Rohan Taish
  



  ___
Davinci-linux-open-source mailing list
Davinci-linux-open-source@linux.davincidsp.com
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source


DM6446:eth0 problem in git kernel

2009-10-08 Thread rohan tabish
protocol family 17
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
Clocks: disable unused uart1
Clocks: disable unused uart2
Clocks: disable unused ide
Clocks: disable unused asp0
Clocks: disable unused mmcsd
Clocks: disable unused spi
Clocks: disable unused usb
Clocks: disable unused vlynq
Clocks: disable unused pwm0
Clocks: disable unused pwm1
Clocks: disable unused pwm2
Clocks: disable unused timer1
eth0: no PHY found
IP-Config: Failed to open eth0
IP-Config: No network devices available.
VFS: Unable to mount root fs via NFS, trying floppy.
VFS: Cannot open root device "nfs,nolock" or unknown-block(2,0)
Please append a correct "root=" boot option; here are the available partitions:
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(2,0)
Backtrace:
[] (dump_backtrace+0x0/0x110) from [] (dump_stack+0x18/0x1c)
 r6:c0021850 r5:c02ebe64 r4:c7023f58
[] (dump_stack+0x0/0x1c) from [] (panic+0x54/0x134)
[] (panic+0x0/0x134) from [] (mount_block_root+0x1d4/0x21c)
 r3:0001 r2:c7022000 r1:c7023f58 r0:c0291804
[] (mount_block_root+0x0/0x21c) from [] 
(mount_root+0xc4/0xfc)
[] (mount_root+0x0/0xfc) from [] 
(prepare_namespace+0x16c/0x1d0)
 r5:c0021808 r4:c02eb944
[] (prepare_namespace+0x0/0x1d0) from [] 
(kernel_init+0xd8/0x10c)
 r5:c0020364 r4:c02eb938
[] (kernel_init+0x0/0x10c) from [] (do_exit+0x0/0x62c)
 r5: r4:

With Regard's
Rohan Tabish




  ___
Davinci-linux-open-source mailing list
Davinci-linux-open-source@linux.davincidsp.com
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source


Able 2 mount filesystem but unable to get console

2009-09-16 Thread rohan tabish
 : [SUCCESS]
 Mounting /dev/pts    : [SUCCESS]
 Enabling hot-plug : [SUCCESS]
 Populating /dev    : [SUCCESS]
 Mounting other filesystems : [SUCCESS]
 Starting syslogd   : [SUCCESS]

System initialization complete.

it stops here i can enter the commands  from keyboard here but i am unable to 
see any login prompt can any 1 help me

With Regard's
Rohan Tabish




  ___
Davinci-linux-open-source mailing list
Davinci-linux-open-source@linux.davincidsp.com
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source


ping problem on DM6446

2009-09-13 Thread rohan tabish
Hey guys i am using DM6446.I think there is something wrong with the board the 
board is able to ping all the other PC's on the network but is other computer 
are unable to ping the board.The board is also unable to ping itself.

  
 With Regard's
      
 Rohan Tabish



  ___
Davinci-linux-open-source mailing list
Davinci-linux-open-source@linux.davincidsp.com
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source


Re: Re: DM6446:problem with NFS mounting

2009-09-08 Thread rohan tabish
Thanks jaya for your help i have tried it but it isn't working.i have seen the 
file /var/log/messages the following lines get print there when i use the 
command nfs to download the uImage.uImage gets download sucessfully

Sep  8 13:59:26 localhost mountd[2082]: authenticated mount request
from 172.16.0.92:1000 for /home/rohan/workdir (/home/rohan/workdir)

Sep  8 13:59:27 localhost mountd[2082]: can't get hostname of 172.16.0.92

 but when i boot it it says 


Looking up port of RPC 13/2 on 172.16.1.102
rpcbind: server 172.16.1.102 not responding, timed out
Root-NFS: Unable to get nfsd port number from server, using default
Looking up port of RPC 15/1 on 172.16.1.102
rpcbind: server 172.16.1.102 not responding, timed out
Root-NFS: Unable to get mountd port number from server, using default
Root-NFS: Server returned error -5 while mounting /home/admin
VFS: Unable to mount root fs via NFS, trying floppy.
VFS: Cannot open root device "nfs" or unknown-block(2,0)
Please append a correct "root=" boot option; here are the available partitions:
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(2,0)

with Regard's 
Rohan Tabish


--- On Tue, 8/9/09, Jaya krishnan  wrote:

From: Jaya krishnan 
Subject: Re: Re: DM6446:problem with NFS mounting
To: "rohan tabish" 
Cc: davinci-linux-open-source@linux.davincidsp.com
Date: Tuesday, 8 September, 2009, 12:12 PM

Hi

It  looks  the  board ip  is  missing  in the bootargs. Try setting  it  
statically.

Ex:
setenv  bootargs console=ttyS0,115200n8 noinitrd rw 
ip=172.16.0.92:172.16.1.244:172.16.0.10:255.255.240.0:::off root=/dev/nfs 
nfsroot=$(nfshost):$(rootpath),nolock mem=120M
 
Regards
JK
 

--- Original Message ---
Sender : rohan tabish
Date   : Sep 07, 2009 19:41 (GMT+09:00)
Title  : Re: DM6446:problem with NFS mounting

Here are my u-boot parameters 
U-Boot > printenv
baudrate=115200
ethaddr=00:1C:C0:0A:00:01
bootm=0x8070
filesize=20
fileaddr=8070
gatewayip=172.16.0.10
netmask=255.255.240.0
bootcmd_nand=nand read 0x8070 0x10 0x20; bootm 0x8070
bootfile=/home/admin/uImage
serverip=172.16.0.97
bootdelay=10
bootcmd=nboot 0x8070 0 10; bootm
nfshost=172.16.1.244
rootpath=/home/rohan/workdir/
ipaddr=172.16.0.92
bootargs=console=ttyS0,115200n8 noinitrd rw root=/dev/nfs nfsroot=172.16.1.244:/
home/rohan/workdir ,nolock mem=120M
stdin=serial
stdout=serial
stderr=serial
videostd=ntsc
ver=U-Boot 2009.06-rc2 (Aug 22 2009 - 16:01:10)

Have also tried with the bootargs as

bootargs=console=ttyS0,115200n8 noinitrd rw root=/dev/nfs nfsroot=172.16.1.244:/
home/rohan/workdir ,tcp nolock mem=120M

bootargs=console=ttyS0,115200n8 noinitrd rw root=/dev/nfs nfsroot=172.16.1.244:/
home/rohan/workdir ,nfsvers=3,tcp nolock mem=120M

With REgard's 
Rohan Tabish


--- On Mon, 7/9/09, Jaya krishnan  wrote:

From: Jaya krishnan 
Subject: Re: DM6446:problem with NFS mounting
To: "rohan tabish" , 
"davinci-linux-open-source@linux.davincidsp.com" 

Date: Monday, 7 September, 2009, 2:53 PM

Can  you  post  your  U Boot  parameters?

Regards
JK

 
 

--- Original Message ---
Sender : rohan tabish
Date   : Sep 07, 2009 18:12 (GMT+09:00)
Title  : DM6446:problem with NFS mounting


                Wehave made our own custom board  DM6446 i am done with the 
u-boot andthe kernel.But my problem is that i am unable to to mount the 
kernelusing NFS and i am getting the following error. I have mounted my NFShost 
on other Clients and I am able to sucessfully mount the files onthe client and 
from client on the server.

I have also transferedthe uImage via NFS to my board.But when i boot the kernel 
it givesfollowing errors.as shown in my log.My firewall ans SeLinux all 
aredisabled.Anyone cane help me about this what error is this m badlystuck.


Looking up port of RPC 13/2 on 172.16.1.102
rpcbind: server 172.16.1.102 not responding, timed out
Root-NFS: Unable to get nfsd port number from server, using default
Looking up port of RPC 15/1 on 172.16.1.102
rpcbind: server 172.16.1.102 not responding, timed out
Root-NFS: Unable to get mountd port number from server, using default
Root-NFS: Server returned error -5 while mounting /home/admin
VFS: Unable to mount root fs via NFS, trying floppy.
VFS: Cannot open root device "nfs" or unknown-block(2,0)
Please append a correct "root=" boot option; here are the available partitions:
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(2,0)

With Regard's
Rohan Tabish

 
   Jayakrishnan M M
Research Engineer
Key Systems Development Group
Security & Imaging             Solutions Division
SAMSUNG TECHWIN CO.,LTD

TEL +82-2-3467-7255
FAX +82-2-3467-7316
Mobile +82-10-6409-3619
E-mail:jaya.krish...@samsung.com            
 
  
 
 

 
   Jayakrishnan M M
Research Engineer
Key Systems Development Group
Security & Imaging             Solutions Division

DM6446:problem with NFS mounting

2009-09-07 Thread rohan tabish


We
have made our own custom board  DM6446 i am done with the u-boot and
the kernel.But my problem is that i am unable to to mount the kernel
using NFS and i am getting the following error. I have mounted my NFS
host on other Clients and I am able to sucessfully mount the files on
the client and from client on the server.

I have also transfered
the uImage via NFS to my board.But when i boot the kernel it gives
following errors.as shown in my log.My firewall ans SeLinux all are
disabled.Anyone cane help me about this what error is this m badly
stuck.



Looking up port of RPC 13/2 on 172.16.1.102

rpcbind: server 172.16.1.102 not responding, timed out

Root-NFS: Unable to get nfsd port number from server, using default

Looking up port of RPC 15/1 on 172.16.1.102

rpcbind: server 172.16.1.102 not responding, timed out

Root-NFS: Unable to get mountd port number from server, using default

Root-NFS: Server returned error -5 while mounting /home/admin

VFS: Unable to mount root fs via NFS, trying floppy.

VFS: Cannot open root device "nfs" or unknown-block(2,0)

Please append a correct "root=" boot option; here are the available partitions:

Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(2,0)

With Regard's
Rohan Tabish


  ___
Davinci-linux-open-source mailing list
Davinci-linux-open-source@linux.davincidsp.com
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source


probelm booting via NFS

2009-09-07 Thread rohan tabish
We have made our own custom board  DM6446 i am done with the u-boot and the 
kernel.But my problem is that i am unable to to mount the kernel using NFS and 
i am getting the following error. I have mounted my NFS host on other Clients 
and I am able to sucessfully mount the files on the client and from client on 
the server.

I have also transfered the uImage via NFS to my board.But when i boot the 
kernel it gives following errors.as shown in my log.My firewall ans SeLinux all 
are disabled.Anyone cane help me about this what error is this m badly stuck.



Looking up port of RPC 13/2 on 172.16.1.102

rpcbind: server 172.16.1.102 not responding, timed out

Root-NFS: Unable to get nfsd port number from server, using default

Looking up port of RPC 15/1 on 172.16.1.102

rpcbind: server 172.16.1.102 not responding, timed out

Root-NFS: Unable to get mountd port number from server, using default

Root-NFS: Server returned error -5 while mounting /home/admin

VFS: Unable to mount root fs via NFS, trying floppy.

VFS: Cannot open root device "nfs" or unknown-block(2,0)

Please append a correct "root=" boot option; here are the available partitions:

Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(2,0)

With Regard's
Rohan Tabish



  ___
Davinci-linux-open-source mailing list
Davinci-linux-open-source@linux.davincidsp.com
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source


creating simple heloo world program on DM6446

2009-09-04 Thread rohan tabish
hye gyez i jst want to create a simple HELLO world appication for my Davinci 
using cross compiler ELDK have downloaded the u-boot source from git when in 
that source code there are examples of the u-boot.in those examples there is 
example of hello world also when i compile it i get binary and when i load dis 
binary using u boot command loadb and run it using go 0x8070 it get  halts 
does anyone have any idea about it.
 
 
 
 
U-Boot 2009.06-rc2 (Aug 22 2009 - 16:01:10)
I2C:   ready
DRAM:  256 MB
NAND:  256 MiB
In:    serial
Out:   serial
Err:   serial
ARM Clock: 297MHz
DDR Clock: 162MHz
Read from EEPROM @ 0x50 failed
Ethernet PHY: GENERIC @ 0x1f
U-Boot > loadb
## Ready for binary (kermit) download to 0x8070 at 115200 bps...
## Total Size  = 0x0228 = 552 Bytes
## Start Addr  = 0x8070
U-Boot > go 0x8070
## Starting application at 0x8070 ...


  ___
Davinci-linux-open-source mailing list
Davinci-linux-open-source@linux.davincidsp.com
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source


Fw: FileSystem Help

2009-08-30 Thread rohan tabish
known-block(2,0)

Please append a correct "root=" boot option; here
are the available partitions:

Kernel panic - not syncing: VFS: Unable to mount root fs on
unknown-block(2,0)

Backtrace:

[] (dump_backtrace+0x0/0x110) from
[] (dump_stack+0x18/0x1c)

   

 r6:c0021850
r5:c02ebd24 r4:cf823f58

[] (dump_stack+0x0/0x1c) from
[] (panic+0x54/0x134)

[] (panic+0x0/0x134) from []
(mount_block_root+0x1d4/0x21c)

 r3:0001
r2:cf822000 r1:cf823f58 r0:c0291d74

[] (mount_block_root+0x0/0x21c) from
[] (mount_root+0xc4/0xf

c)

[] (mount_root+0x0/0xfc) from
[] (prepare_namespace+0x16c/0x

1d0)

 r5:c0021808
r4:c02eb804

[] (prepare_namespace+0x0/0x1d0) from
[] (kernel_init+0xd8/0

x10c)

 r5:c00204a4
r4:c02eb7f8

[] (kernel_init+0x0/0x10c) from
[] (do_exit+0x0/0x62c)

 r5:
r4:

I am reading DVSDK getting started 
guide.
I am new to linux and all diswith regard's 
Rohan Tabish








  




  


  ___
Davinci-linux-open-source mailing list
Davinci-linux-open-source@linux.davincidsp.com
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source


nand support not available

2009-08-27 Thread rohan tabish
Hi,
I'm trying to boot kernel 2.6.31-rc5 on dm6446 evm ,but when it booted
we can get this information both IDE and Flash are enabled, but they
share AEMIF pins.Disable IDE for NAND/NOR support. So I can't mount my 
filesysterm via NFS, how to ?


  ___
Davinci-linux-open-source mailing list
Davinci-linux-open-source@linux.davincidsp.com
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source


kernel filesytem

2009-08-25 Thread rohan tabish
I am really thankful to everyone who helped me.:)
hye guys i am done with the kernel booting and got the kernel panic msgs.Does 
any1 have any idea how to write FILESYSTEM for the kernel do i need to download 
the FILESYSTEM source code from somewhere?

I got following kernel panic msgs:



Starting kernel ...

Uncompressing Linux.
... done, booting the kernel.
Linux version 2.6.31-rc5-davinci1 (r...@skw) (gcc version 4.2.2) #1 PREEMPT Thu
Aug 20 11:17:51 WIT 2009
CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177
CPU: VIVT data cache, VIVT instruction cache
Machine: DaVinci DM644x EVM
Memory policy: ECC disabled, Data cache writeback
DaVinci dm6446a variant 0x1
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 65024
Kernel command line: console=ttyS0,115200n8 noinitrd rw
PID hash table entries: 1024 (order: 10, 4096 bytes)
Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
Memory: 256MB = 256MB total
Memory: 256540KB available (2708K code, 295K data, 124K init, 0K highmem)
SLUB: Genslabs=11, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
NR_IRQS:229
Console: colour dummy device 80x30
Calibrating delay loop... 147.86 BogoMIPS (lpj=739328)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
DaVinci: 71 gpio irqs
NET: Registered protocol family 16
WARNING: both IDE and Flash are enabled, but they share AEMIF pins.
    Disable IDE for NAND/NOR support.
MUX: Setting register HPIEN_DISABLE
   PINMUX0 (0x) = 0x8c1f -> 0x8c1f
MUX: initialized ATAEN
MUX: Setting register ATAEN
   PINMUX0 (0x) = 0x8c1f -> 0x80020c1f
MUX: initialized HDIREN
MUX: Setting register HDIREN
   PINMUX0 (0x) = 0x80020c1f -> 0x80030c1f
MUX: initialized MCBSP
MUX: Setting register MCBSP
   PINMUX1 (0x0004) = 0x0081 -> 0x0481
bio: create slab  at 0
pcf857x: probe of 1-0038 failed with error -121
pcf857x: probe of 1-0039 failed with error -121
pcf857x: probe of 1-003a failed with error -121
NET: Registered protocol family 2
IP route cache hash table entries: 2048 (order: 1, 8192 bytes)
TCP established hash table entries: 8192 (order: 4, 65536 bytes)
TCP bind hash table entries: 8192 (order: 3, 32768 bytes)
TCP: Hash tables configured (established 8192 bind 8192)
TCP reno registered
NET: Registered protocol family 1
msgmni has been set to 501
io scheduler noop registered
io scheduler anticipatory registered (default)
Setting Up Clocks for DM420 OSD
Console: switching to colour frame buffer device 90x30
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
Serial: 8250/16550 driver, 3 ports, IRQ sharing disabled
Platform driver 'serial8250' needs updating - please use dev_pm_ops
serial8250.0: ttyS0 at MMIO 0x1c2 (irq = 40) is a 16550A
console [ttyS0] enabled
serial8250 serial8250.0: unable to register port at index 1 (IO0 MEM1c20400 IRQ4
1): -22
serial8250 serial8250.0: unable to register port at index 2 (IO0 MEM1c20800 IRQ4
2): -22
brd: module loaded
at24 1-0050: 32768 byte 24c256 EEPROM (writable)
davinci_emac_probe: using random MAC addr: 0e:bb:af:11:24:84
emac-mii: probed
dm9000 Ethernet Driver, V1.31
Platform driver 'dm9000' needs updating - please use dev_pm_ops
console [netcon0] enabled
netconsole: network logging started
i2c /dev entries driver
TCP cubic registered
NET: Registered protocol family 17
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
Clocks: disable unused uart1
Clocks: disable unused uart2
Clocks: disable unused ide
Clocks: disable unused asp0
Clocks: disable unused mmcsd
Clocks: disable unused spi
Clocks: disable unused usb
Clocks: disable unused vlynq
Clocks: disable unused pwm0
Clocks: disable unused pwm1
Clocks: disable unused pwm1
Clocks: disable unused timer1
Root-NFS: No NFS server available, giving up.
VFS: Unable to mount root fs via NFS, trying floppy.
VFS: Cannot open root device "" or unknown-block(2,0)
Please append a correct "root=" boot option; here are the available partitions:
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(2,0)
Backtrace:
[] (dump_backtrace+0x0/0x110) from [] (dump_stack+0x18/0x1c)

 r6:c0021850 r5:c02ebd24 r4:cf823f58
[] (dump_stack+0x0/0x1c) from [] (panic+0x54/0x134)
[] (panic+0x0/0x134) from [] (mount_block_root+0x1d4/0x21c)
 r3:0001 r2:cf822000 r1:cf823f58 r0:c0291d54
[] (mount_block_root+0x0/0x21c) from [] (mount_root+0xc4/0xf
c)
[] (mount_root+0x0/0xfc) from [] (prepare_namespace+0x16c/0x
1d0)
 r5:c00204a4 r4:c02eb804
[] (prepare_namespace+0x0/0x1d0) from [] (kernel_init+0xd8/0
x10c)
 r5:c00204a4 r4:c02eb7f8
[] (kernel_init+0x0/0x10c) from [] (do_exit+0x0/0x62c)
 r5: r4:.



  

Re: Fw: Re: compile help

2009-08-23 Thread rohan tabish

I have downloaded the u-boot code.compiled that using make davinci_dvevm_config 
but the uboot does not load.As we have made our own custom board and have 
attached a nand having large pages.when i compiled the u-boot source code using 
make davinci_schmoogie_config then u-boot load.and when i downloaded the uImage 
it displays following error.do i need to modify the schmoogie.c file or 
davinci_dvevm.c

 with regard's
    
 Rohan Tabish

--- On Sun, 23/8/09, Steve Chen  wrote:


From: Steve Chen 
Subject: Re: Fw: Re: compile help
To: "rohan tabish" 
Cc: davinci-linux-open-source@linux.davincidsp.com
Date: Sunday, 23 August, 2009, 5:10 PM


On Fri, 2009-08-21 at 04:31 +0000, rohan tabish wrote:
> Hye guys i have made a uImage file and loaded it in my board but the
> kernel got halt.when i enabled the debuging option i got following
> error msgs does any1 knw wht is that
> 
> > Image Name: Linux-2.6.31-rc5-davinci1
> >
> > Created: 2009-08-16 13:56:56 UTC
> >
> > Image Type: ARM Linux Kernel Image (uncompressed)
> >
> > Data Size: 1478408 Bytes = 1.4 MB
> >
> > Load Address: 80008000
> >
> > Entry Point: 80008000
> >
> > Verifying Checksum ... OK
> >
> > Loading Kernel Image ... OK
> >
> >
> >
> > Starting kernel ...
> >
> >
> >
> > Uncompressing
> >
> Linux
> > done, booting the kernel.
> >
> >
> >
> >
> > Error: unrecognized/unsupported machine ID (r1 =
> > 0x04e7).
> >
> > 
> >
> > Available machine support:
> >
> > 
> >
> > ID (hex) NAME
> >
> > 0385 DaVinci
> > DM644x EVM
> >
> > 0679 Lyrtech
> > SFFSDR
> >
> > 0565 DaVinci
> > DM355 EVM
> >
> > 085a DaVinci
> > DM355 leopard
> >
> > 0564 DaVinci
> > DM646x EVM
> >
> > 0793 DaVinci
> > DM365 EVM
> >
> 

This is not a compile problem.  U-boot is passing 0x4e7 (schmoogie board
instead of DaVinci).  Change U-boot to pass in the correct value in r1
(as suggested by the error message) would resolve the problem.

Regards,

Steve




  ___
Davinci-linux-open-source mailing list
Davinci-linux-open-source@linux.davincidsp.com
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source


Fw: Re: compile help

2009-08-20 Thread rohan tabish
Hye guys i have made a uImage file and loaded it in my board but the kernel got 
halt.when i enabled the debuging option i got following error msgs does any1 
knw wht is that

> Image Name: Linux-2.6.31-rc5-davinci1
>
> Created: 2009-08-16 13:56:56 UTC
>
> Image Type: ARM Linux Kernel Image (uncompressed)
>
> Data Size: 1478408 Bytes = 1.4 MB
>
> Load Address: 80008000
>
> Entry Point: 80008000
>
> Verifying Checksum ... OK
>
> Loading Kernel Image ... OK
>
>
>
> Starting kernel ...
>
>
>
> Uncompressing
> Linux
> done, booting the kernel.
>
>
>
>
> Error: unrecognized/unsupported machine ID (r1 =
> 0x04e7).
>
> 
>
> Available machine support:
>
> 
>
> ID (hex) NAME
>
> 0385 DaVinci
> DM644x EVM
>
> 0679 Lyrtech
> SFFSDR
>
> 0565 DaVinci
> DM355 EVM
>
> 085a DaVinci
> DM355 leopard
>
> 0564 DaVinci
> DM646x EVM
>
> 0793 DaVinci
> DM365 EVM
>
> 
>
> Please check your kernel config and/or bootloader


after that it halted.
With Regard's
Rohan Tabish



  ___
Davinci-linux-open-source mailing list
Davinci-linux-open-source@linux.davincidsp.com
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source


compile help

2009-08-18 Thread rohan tabish
Hey guys i have downloaded the latest source code from git for Davinci 
Kernel.When i load the kernel in the board it gets halt.

 Booting kernel from Legacy Image at 8070 ...

   Image Name:   Linux-2.6.31-rc5-davinci1
   Created:  2009-08-16  13:56:56 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    1478408 Bytes =  1.4 MB
   Load Address: 80008000
   Entry Point:  80008000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK

Starting kernel ...

Uncompressing 
Linux
 done, booting the kernel.


 after that.
 I have checked the version of the kernel in the linux on which i am compiling 
the source code.The version is  2.6.23.17 -88.fc7.It is found  by command 
"uname  -r".Is this the cause for that.if so plz tell me how to update the 
kernel.

I have found in some forums 2 set the bootargs. My bootargs are correct. they 
are:

bootargs=mem=56M console=ttyS0,115200n8 root=/dev/hda1 rw noinitrd ip=dhcp

Can any1 tell me whats going wrong.



  ___
Davinci-linux-open-source mailing list
Davinci-linux-open-source@linux.davincidsp.com
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source


uImage not booting kernel

2009-08-18 Thread rohan tabish
hi everyone i am trying to embedded linux in DM6446. i am using open
source code to build the kernel, using cross compiler. when i load the
kernel using tftp and run it the kernel gets halted.can anyone help
me.here is whaT I AM GETTING.
i have not loaded the file system for the kernel.


bootargs=mem=56M console=ttyS0,115200n8 root=/dev/hda1 rw noinitrd ip=dhcp
bootcmd=setenv setboot setenv bootargs \$(bootargs) 
video=dm64xxfb:output=\$(videostd);run setboot
baudrate=115200
bootfile="uImage"
ethaddr=00:1c:c0:0a:00:02
ipaddr=172.16.0.91
serverip=172.16.0.97
gatewayip=172.16.0.10
netmask=255.255.240.0
stdin=serial
stdout=serial
stderr=serial
serial#=FAILED
ver=U-Boot 2009.06 (Aug 10 2009 - 18:38:34)
 
Environment size: 418/131068 bytes
U-Boot > bootm

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

   Image Name:   Linux-2.6.31-rc5-davinci1

   Created:  2009-08-16  13:56:56 UTC

   Image Type:   ARM Linux Kernel Image (uncompressed)

   Data Size:    1478408 Bytes =  1.4 MB

   Load Address: 80008000

   Entry Point:  80008000

   Verifying Checksum ... OK

   Loading Kernel Image ... OK

OK

 

Starting kernel ...

 

Uncompressing Linux.

... done, booting the kernel.


  ___
Davinci-linux-open-source mailing list
Davinci-linux-open-source@linux.davincidsp.com
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source