This thread has been locked.

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

ADC on SITARA

Other Parts Discussed in Thread: TPS65910, DA8XX, AM3517, AM3352

Hello,

in your documentation in

http://processors.wiki.ti.com/index.php/AM335x_ADC_Driver%27s_Guide

you explain how to have ADC module. Si i do validate the menu :  <M> TI's ADC driver

but i don't have drivers/staging/iio/adc/ti_adc.ko module. Even with ADC in kernel (not in module) i don't have the 
/sys/bus/iio/devices/iio\:device0/in_voltage0_raw structure
What else should be done.

Thank you

  • Hi,

    Which version of the SDK are you using?

    Have you done any modifications to the board-am335xevm.h file?

    Please share your .config file located in the linux kernel dir (it's a hidden file).

    Please also share your build commands.

    Best regards,
    Miroslav

  • Hello,

    thank you for your reply. I use linux-3.2.0with psp04.06.00.11 for Pengwyn running on SILICA board.

    - So it is not an evm board. How can i how witch .h file is used (i made no modification) ?

    -i have no .config file under kernel dir

  • Please share your build steps. What configuration do you use to compile the kernel?

    The default PSP configuration for the EVM is am335x_evm_defconfig as shown here: http://processors.wiki.ti.com/index.php/AMSDK_Linux_User%27s_Guide#Using_Default_Configurations

    You need to configure the kernel before you compile it and once the kernel is configured a .config file is generated inside the kernel dir. Please note that the file is hidden.

    The CONFIG_TI_ADC=y option is enabled by default in this config.

    I don't know if your board uses a different configuration or it has on-board EEPROM to simulate the AM335x GP EVM board.

    Best regards,
    Miroslav

  • Hello,

    thank you for your help

    i did make the command :

    make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- tisdk_am335x-evm_defconfig

    the output is

    #
    # configuration written to .config
    #
    but i don't have any .config file under kernel :

    pengwyn@pengwyn-desktop:~/ti-sdk-am335x-evm-05.06.00.00/board-support/linux-3.2.0-psp05.06.00.00/kernel$ ls -la .c*
    -rw-r--r-- 1 pengwyn pengwyn 31963 2013-01-27 18:52 .capability.o.cmd
    -rw-r--r-- 1 pengwyn pengwyn   124 2014-01-06 16:47 .config_data.gz.cmd
    -rw-r--r-- 1 pengwyn pengwyn 20590 2014-01-06 16:47 .configs.o.cmd
    -rw-r--r-- 1 pengwyn pengwyn 27759 2013-01-27 18:52 .cpu.o.cmd
    -rw-r--r-- 1 pengwyn pengwyn 17999 2013-01-27 18:53 .cpu_pm.o.cmd
    -rw-r--r-- 1 pengwyn pengwyn 34841 2013-01-27 18:52 .cred.o.cmd

    i join the makefile used :
    8540.Makefile.zip

    Have you any idea where is that .config ?

    best regards

  • Hi,

    The .config file is located in the parent folder of the dir you are searching in.

    I can see that the SDK you are using is 05.06.00.00 and the latest SDK is 06.00.00.00. It is strongly recommended that you use the latest SDK.

    The PSP that comes with your SDK is 04.06.00.09 which came with some new TSC/ADC related changes like a migration of the IIO and MFD framework.

    Best regards,
    Miroslav

  • Hello

    thank you for your reply

    1) where can i get the latest SDK 06.00.00.00 ?; once i get it, how can i install the new SDK ? (i use pengwyn environement wich come with a linux virtual machine with SDK already installed in it)

    2) i make

    0; make CROSS_COMPILE=arm-arago-linux-gnueabi- ARCH=arm am335x_evm_defconfig;

    and then menu config and i saw that the ADC configuration was lost, so i re-validate it (<*>TI ADC) and now when i load the image i ma stopped at Calibrating touchscreen :

    Starting PVR                                                                    
    [   11.420196] pvrsrvkm: disagrees about version of symbol contig_page_data     
    [   11.427215] pvrsrvkm: Unknown symbol contig_page_data (err -22)              
    [   11.433624] pvrsrvkm: disagrees about version of symbol __alloc_pages_nodemas
    k                                                                               
    [   11.441192] pvrsrvkm: Unknown symbol __alloc_pages_nodemask (err -22)        
    insmod: error inserting '/lib/modules/3.2.0/kernel/drivers/gpu/pvr/pvrsrvkm.ko':
     -1 Invalid parameters                                                          
    Could not find pvrsrvkm driver                                                  
    Starting Lighttpd Web Server: lighttpd.                                         
    2012-12-17 06:16:05: (log.c.166) server started                                 
    Calibrating touchscreen (first time only)xres = 800, yres = 480

    Even if i de-validate the []  Staging drivers  --->

    i get stuck at that calibrating touchscreen ....

    What can i do ?

    Thanks

    brest regards

    setenv serverip 10.0.0.2 
    setenv ipaddr 10.0.0.3 
    setenv bootargs console=ttyS0,115200n8 noinitrd
    setenv rootpath /home/pengwyn/ti-sdk-am335x-evm-05.06.00.00/targetNFS
    setenv netargs 'run bootargs_defaults;setenv bootargs ${bootargs} root=/dev/nfs nfsroot=${serverip}:${rootpath},proto=tcp,port=2049 rw ip=dhcp'
    setenv netboot echo Booting from network ...; setenv autoload no;  dhcp; tftp ${kloadaddr} ${bootfile}; run netargs; bootm ${kloadaddr}
  • The latest SDK can be downloaded from here: http://software-dl.ti.com/sitara_linux/esd/AM35xSDK/latest/index_FDS.html
    Here is the Sitara Linux Software Developer's guide and here are the SDK Installer Execution Steps. Install it in your virtual machine and try using the create-sdcard.sh script located inside <sdk_dir>/bin/ to create a new sd card using the prebuilt images.

    Best regards,
    Miroslav

  • Hello,

    I re-started from scratch to integrate ADC into linux image, using Sitara SDK for my Pengwyn platform.

    How can i know which platform is selected when i run make image ?

    Thanks

    Best regards

  • First you configure the kernel by running:

    make am335x_evm_defconfig

    , which creates the .config file, which is later used in the build process.

    Then you can run make uImage and the kernel image is created for the TI AM335x EVMs. The board file can distinguish between the different EVM platforms by reading the on-board EEPROM. You can see how this is done in the am335x_evm_setup() function inside the <linux_dir>/arch/arm/mach-omap2/board-am335xevm.c board file.

    Once the EEPROM header is known, the board is initialized accordingly.

    Best regards,
    Miroslav

  • Hello, i validate TI ADC but get no repertory when lauching linux image :
    root@am335x-evm:~# ls -al /sys/bus/iio/devices                                  
    drwxr-xr-x    2 root     root             0 Jan  1  2000 .                      
    drwxr-xr-x    4 root     root             0 Jan  1  2000 ..

    I validate TI ADC :

    Device Drivers ---> [*] Staging drivers ---> [*] Industrial I/O support ---> [*] Enable buffer support within IIO <*> Industrial I/O lock free software ring < > Industrial I/O buffering based on kfifo -*- Enable triggered sampling support (2) Maximum number of consumers per trigger Analog to digital converters ---> <*> TI's ADC driver


    1) Do i need to modify u-boot to have ADC access in linux ?
    2) Is there something else to do to have ADC in linux image
    Thanks
  • I guess your board has an on-board EEPROM. Please print what is read from the EEPROM inside the am335x_evm_setup() function I mentioned in my previous post. If the board name stored inside the EEPROM is "A335BONE", which corresponds to the BeagleBone board, then your ADC won't be initialized at all. The ADC is only initialized if the board file detects the board to be either the GP EVM or the SK EVM.

    Best regards,
    Miroslav

  • Hello

    How can i get this EEPROM information, i don't understand

    it seems that my linux image is based on am335x-evm, has it is shown when booting image :

    Starting kernel ...                                                             
                                                                                    
    Uncompressing Linux... done, booting the kernel.                                
    [    0.000000] Linux version 3.2.0 (pengwyn@pengwyn-desktop) (gcc version 4.5.3
    20110311 (prerelease) (GCC) ) #32 Thu Jan 9 16:02:17 CET 2014                   
    [    0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c53c7d  
    [    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instructio
    n cache                                                                         
    [    0.000000] Machine: am335xevm                                               
    [    0.000000] Memory policy: ECC disabled, Data cache writeback                
    [    0.000000] AM335X ES1.0 (sgx neon )                                         
    [    0.000000] Built 1 zonelists in Zone order, mobility grouping off.  Total pa
    ges: 65024                                                                      
    [    0.000000] Kernel command line: console=ttyO0,115200n8 root=/dev/nfs nfsroot
    =10.0.0.2:/home/pengwyn/ti-sdk-am335x-evm-05.06.00.00/targetNFS,proto=tcp,port=2
    049 rw ip=dhcp                                                                  
    [    0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes)              
    [    0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)  
    [    0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)    
    [    0.000000] Memory: 256MB = 256MB total                                      
    [    0.000000] Memory: 253236k/253236k available, 8908k reserved, 0K highmem    
    [    0.000000] Virtual kernel memory layout:                                    
    [    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)                
    [    0.000000]     fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)                
    [    0.000000]     vmalloc : 0xd0800000 - 0xff000000   ( 744 MB)                
    [    0.000000]     lowmem  : 0xc0000000 - 0xd0000000   ( 256 MB)                
    [    0.000000]     modules : 0xbf000000 - 0xc0000000   (  16 MB)                
    [    0.000000]       .text : 0xc0008000 - 0xc05a2000   (5736 kB)                
    [    0.000000]       .init : 0xc05a2000 - 0xc05e0000   ( 248 kB)                
    [    0.000000]       .data : 0xc05e0000 - 0xc064b0a0   ( 429 kB)                
    [    0.000000]        .bss : 0xc064b0c4 - 0xc0676624   ( 174 kB)                
    [    0.000000] NR_IRQS:396                                                      
    [    0.000000] IRQ: Found an INTC at 0xfa200000 (revision 5.0) with 128 interrup
    ts                                                                              
    [    0.000000] Total of 128 interrupts on 1 active controller                   
    [    0.000000] OMAP clockevent source: GPTIMER2 at 24000000 Hz                  
    [    0.000000] OMAP clocksource: GPTIMER1 at 32768 Hz                           
    [    0.000000] sched_clock: 32 bits at 32kHz, resolution 30517ns, wraps every 13
    1071999ms                                                                       
    [    0.000000] Console: colour dummy device 80x30                               
    [    0.000152] Calibrating delay loop... 718.02 BogoMIPS (lpj=3590144)          
    [    0.058929] pid_max: default: 32768 minimum: 301                             
    [    0.059051] Security Framework initialized                                   
    [    0.059173] Mount-cache hash table entries: 512                              
    [    0.059509] CPU: Testing write buffer coherency: ok                          
    [    0.080047] omap_hwmod: pruss: failed to hardreset                           
    [    0.081146] print_constraints: dummy:                                        
    [    0.081512] NET: Registered protocol family 16                               
    [    0.083648] OMAP GPIO hardware version 0.1                                   
    [    0.086212] omap_mux_init: Add partition: #1: core, flags: 0                 
    [    0.088134]  omap_i2c.1: alias fck already exists                            
    [    0.089050]  omap2_mcspi.1: alias fck already exists                         
    [    0.089294]  omap2_mcspi.2: alias fck already exists                         
    [    0.090240]  edma.0: alias fck already exists                                
    [    0.090270]  edma.0: alias fck already exists                                
    [    0.090301]  edma.0: alias fck already exists                                
    [    0.117431] bio: create slab <bio-0> at 0                                    
    [    0.119720] SCSI subsystem initialized                                       
    [    0.121307] usbcore: registered new interface driver usbfs                   
    [    0.121582] usbcore: registered new interface driver hub                     
    [    0.121795] usbcore: registered new device driver usb                        
    [    0.121948] musb-ti81xx musb-ti81xx: musb0, board_mode=0x13, plat_mode=0x3   
    [    0.122192] musb-ti81xx musb-ti81xx: musb1, board_mode=0x13, plat_mode=0x1   
    [    0.123321] omap_i2c omap_i2c.1: bus 1 rev2.4.0 at 100 kHz                   
    [    0.124694] tps65910 1-002d: could not be detected                           
    [    0.126007] Advanced Linux Sound Architecture Driver Version 1.0.24.         
    [    0.127105] Switching to clocksource gp timer                                
    [    0.142547] musb-hdrc: version 6.0, ?dma?, otg (peripheral+host)             
    [    0.142730] musb-hdrc musb-hdrc.0: dma type: pio                             
    [    0.143035] MUSB0 controller's USBSS revision = 4ea20800                     
    [    0.143707] musb-hdrc musb-hdrc.0: USB OTG mode controller at d083c000 using
    PIO, IRQ 18                                                                     
    [    0.143859] musb-hdrc musb-hdrc.1: dma type: pio                             
    [    0.144165] MUSB1 controller's USBSS revision = 4ea20800                     
    [    0.144348] musb-hdrc musb-hdrc.1: MUSB HDRC host driver                     
    [    0.144439] musb-hdrc musb-hdrc.1: new USB bus registered, assigned bus numbe
    r 1                                                                             
    [    0.144561] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002    
    [    0.144561] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=
    1                                                                               
    [    0.144592] usb usb1: Product: MUSB HDRC host driver                         
    [    0.144592] usb usb1: Manufacturer: Linux 3.2.0 musb-hcd                     
    [    0.144622] usb usb1: SerialNumber: musb-hdrc.1                              
    [    0.145446] hub 1-0:1.0: USB hub found                                       
    [    0.145477] hub 1-0:1.0: 1 port detected                                     
    [    0.146026] musb-hdrc musb-hdrc.1: USB Host mode controller at d083e800 using
     PIO, IRQ 19                                                                    
    [    0.146453] NET: Registered protocol family 2                                
    [    0.146636] IP route cache hash table entries: 2048 (order: 1, 8192 bytes)   
    [    0.146911] TCP established hash table entries: 8192 (order: 4, 65536 bytes)
    [    0.147064] TCP bind hash table entries: 8192 (order: 3, 32768 bytes)        
    [    0.147247] TCP: Hash tables configured (established 8192 bind 8192)         
    [    0.147247] TCP reno registered                                              
    [    0.147277] UDP hash table entries: 256 (order: 0, 4096 bytes)               
    [    0.147308] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)          
    [    0.147491] NET: Registered protocol family 1                                
    [    0.147735] RPC: Registered named UNIX socket transport module.              
    [    0.147735] RPC: Registered udp transport module.                            
    [    0.147766] RPC: Registered tcp transport module.                            
    [    0.147766] RPC: Registered tcp NFSv4.1 backchannel transport module.        
    [    0.147979] NetWinder Floating Point Emulator V0.97 (double precision)       
    [    0.157562] VFS: Disk quotas dquot_6.5.2                                     
    [    0.157623] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)       
    [    0.158142] msgmni has been set to 494                                       
    [    0.161285] alg: No test for stdrng (krng)                                   
    [    0.161926] io scheduler noop registered                                     
    [    0.161956] io scheduler deadline registered                                 
    [    0.162017] io scheduler cfq registered (default)                            
    [    0.162933] Could not set LED4 to fully on                                   
    [    0.164672] omap_uart.0: ttyO0 at MMIO 0x44e09000 (irq = 72) is a OMAP UART0
    [    0.718627] console [ttyO0] enabled                                          
    [    0.722839] omap_uart.1: ttyO1 at MMIO 0x48022000 (irq = 73) is a OMAP UART1
    [    0.730651] omap_uart.2: ttyO2 at MMIO 0x48024000 (irq = 74) is a OMAP UART2
    [    0.738433] omap_uart.3: ttyO3 at MMIO 0x481a6000 (irq = 44) is a OMAP UART3
    [    0.746154] omap_uart.4: ttyO4 at MMIO 0x481a8000 (irq = 45) is a OMAP UART4
    [    0.753936] omap_uart.5: ttyO5 at MMIO 0x481aa000 (irq = 46) is a OMAP UART5
    [    0.762176] omap4_rng omap4_rng: OMAP4 Random Number Generator ver. 2.00     
    [    0.778503] brd: module loaded                                               
    [    0.786651] loop: module loaded                                              
    [    0.790191] i2c-core: driver [tsl2550] using legacy suspend method           
    [    0.796630] i2c-core: driver [tsl2550] using legacy resume method            
    [    0.803070] at24 1-0051: 32768 byte 24c256 EEPROM, writable, 64 bytes/write  
    [    0.867614] No daughter card found                                           
    [    0.871215] at24 1-0050: 32768 byte 24c256 EEPROM, writable, 64 bytes/write  
    [    0.878479] MAC address Pengwyn                                              
    [    0.881744] Board it's Pengwyn !                                             
    [    0.885101] Board name: Pengwyn                                              
    [    0.888488] Board version: #1.0                                              
    [    0.891754] The board is a Silica Pengwyn.                                   
    [    0.896820]  omap_hsmmc.0: alias fck already exists                          
    [    0.902282]  omap_hsmmc.1: alias fck already exists                          
    [    0.908142]  da8xx_lcdc.0: alias fck already exists                          
    [    0.913604] da8xx_lcdc da8xx_lcdc.0: GLCD: Found MODE480P panel              
    [    0.929962] lis331dlh is not supported on this evm (6)                       
    [    0.935424]  davinci-mcasp.1: alias fck already exists                       
    [    0.941162] Configure Bluetooth Enable pin...                                
    [    0.946258] omap-gpmc omap-gpmc: GPMC revision 6.0                           
    [    0.951293] Registering NAND on CS0                                          
    [    0.955108] usb 1-1: new full-speed USB device number 2 using musb-hdrc      
    [    0.963409] registered am33xx_sr device                                      
    [    0.969940] mtdoops: mtd device (mtddev=name/number) must be supplied        
    [    0.977172] omap2-nand driver initializing                                   
    [    0.981811] ONFI flash detected                                              
    [    0.985229] ONFI param page 0 valid                                          
    [    0.988891] NAND device: Manufacturer ID: 0x2c, Chip ID: 0x38 (Micron MT29F8G
    08ABABAWP)                                                                      
    [    0.997436] Creating 8 MTD partitions on "omap2-nand.0":                     
    [    1.003021] 0x000000000000-0x000000080000 : "SPL"                            
    [    1.009368] 0x000000080000-0x000000100000 : "SPL.backup1"                    
    [    1.016296] 0x000000100000-0x000000180000 : "SPL.backup2"                    
    [    1.023345] 0x000000180000-0x000000200000 : "SPL.backup3"                    
    [    1.030364] 0x000000200000-0x000000380000 : "U-Boot"                         
    [    1.036865] 0x000000380000-0x000000400000 : "U-Boot Env"                     
    [    1.043701] 0x000000400000-0x000001000000 : "Kernel"                         
    [    1.051483] 0x000001000000-0x000040000000 : "File System"                    
    [    1.163269] OneNAND driver initializing                                      
    [    1.168731] CAN device driver interface                                      
    [    1.172729] CAN bus driver for Bosch D_CAN controller 1.0                    
    [    1.201934] usb 1-1: New USB device found, idVendor=0403, idProduct=6001     
    [    1.208923] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
    [    1.216369] usb 1-1: Product: US232R                                         
    [    1.220092] usb 1-1: Manufacturer: FTDI                                      
    [    1.224090] usb 1-1: SerialNumber: FTF2RJNW                                  
    [    1.228790] davinci_mdio davinci_mdio.0: davinci mdio revision 1.6           
    [    1.235229] davinci_mdio davinci_mdio.0: detected phy mask fffffffd          
    [    1.242828] davinci_mdio.0: probed                                           
    [    1.246398] davinci_mdio davinci_mdio.0: phy[1]: device 0:01, driver unknown
    [    1.254669] usbcore: registered new interface driver zd1201                  
    [    1.260986] usbcore: registered new interface driver cdc_ether               
    [    1.267242] usbcore: registered new interface driver cdc_eem                 
    [    1.273315] usbcore: registered new interface driver dm9601                  
    [    1.279205] cdc_ncm: 04-Aug-2011                                             
    [    1.282714] usbcore: registered new interface driver cdc_ncm                 
    [    1.288635] Initializing USB Mass Storage driver...                          
    [    1.293975] usbcore: registered new interface driver usb-storage             
    [    1.300262] USB Mass Storage support registered.                             
    [    1.305450] usbcore: registered new interface driver usbserial               
    [    1.311553] usbserial: USB Serial Driver core                                
    [    1.316223] USB Serial support registered for FTDI USB Serial Device         
    [    1.323028] ftdi_sio 1-1:1.0: FTDI USB Serial Device converter detected      
    [    1.330230] usb 1-1: Detected FT232RL                                        
    [    1.334045] usb 1-1: Number of endpoints 2                                   
    [    1.338348] usb 1-1: Endpoint 1 MaxPacketSize 64                             
    [    1.343139] usb 1-1: Endpoint 2 MaxPacketSize 64                             
    [    1.347961] usb 1-1: Setting MaxPacketSize 64                                
    [    1.352966] usb 1-1: FTDI USB Serial Device converter now attached to ttyUSB0
    [    1.360656] usbcore: registered new interface driver ftdi_sio                
    [    1.366638] ftdi_sio: v1.6.0:USB FTDI Serial Converters Driver               
    [    1.373168] mousedev: PS/2 mouse device common for all mice                  
    [    1.380004] omap_rtc am33xx-rtc: rtc core: registered am33xx-rtc as rtc0     
    [    1.387207] i2c /dev entries driver                                          
    [    1.391265] Linux video capture interface: v2.00                             
    [    1.396392] usbcore: registered new interface driver uvcvideo                
    [    1.402435] USB Video Class driver (1.1.1)                                   
    [    1.408843] OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec             
    [    1.415374] _regulator_get: deviceless supply vdd_mpu not found, using dummy
    regulator                                                                       
    [    1.424072] cpuidle: using governor ladder                                   
    [    1.428863] cpuidle: using governor menu                                     
    [    1.507537] omap4_aes_mod_init: loading AM33X AES driver                     
    [    1.513244] omap4-aes omap4-aes: AM33X AES hw accel rev: 3.02                
    [    1.519775] omap4_aes_probe: probe() done                                    
    [    1.524200] omap4_sham_mod_init: loading AM33X SHA/MD5 driver                
    [    1.530334] omap4-sham omap4-sham: AM33X SHA/MD5 hw accel rev: 4.03          
    [    1.542022] omap4_sham_probe: probe() done                                   
    [    1.551971] usbcore: registered new interface driver usbhid                  
    [    1.557830] usbhid: USB HID core driver                                      
    [    1.561950] ti_tscadc ti_tscadc: Could not find platform data                
    [    1.567962] tiadc: probe of tiadc failed with error -22                      
    [    1.574218] usbcore: registered new interface driver snd-usb-audio           
    [    1.582641] ALSA device list:                                                
    [    1.585723]   No soundcards found.                                           
    [    1.589294] oprofile: hardware counters not available                        
    [    1.594573] oprofile: using timer interrupt.                                 
    [    1.599060] nf_conntrack version 0.5.0 (3956 buckets, 15824 max)             
    [    1.605834] ip_tables: (C) 2000-2006 Netfilter Core Team                     
    [    1.611511] TCP cubic registered                                             
    [    1.614868] NET: Registered protocol family 17                               
    [    1.619537] can: controller area network core (rev 20090105 abi 8)           
    [    1.626037] NET: Registered protocol family 29                               
    [    1.630706] can: raw protocol (rev 20090105)                                 
    [    1.635162] can: broadcast manager protocol (rev 20090105 t)                 
    [    1.641082] Registering the dns_resolver key type                            
    [    1.646057] VFP support v0.3: implementor 41 architecture 3 part 30 variant c
     rev 3                                                                          
    [    1.654083] ThumbEE CPU extension supported.                                 
    [    1.658599] mux: Failed to setup hwmod io irq -22                            
    [    1.664093] Power Management for AM33XX family                               
    [    1.668975] Trying to load am335x-pm-firmware.bin (60 secs timeout)          
    [    1.675628] Copied the M3 firmware to UMEM                                   
    [    1.680084] Compensating OPP0 for 0mV Orig nvalue:0x999784 New nvalue:0x99978
    4                                                                               
    [    1.687744] Compensating OPP1 for 0mV Orig nvalue:0x999784 New nvalue:0x99978
    4                                                                               
    [    1.695404] _regulator_get: deviceless supply vdd_core not found, using dummy
     regulator                                                                      
    [    1.703826] smartreflex smartreflex: am33xx_sr_probe: cannot determine opp   
    [    1.711029] smartreflex: probe of smartreflex failed with error -22          
    [    1.718170] sr_init: platform driver register failed                         
    [    1.723388] backlight_init: Error on attempting to enable backlight, not supp
    orted                                                                           
    [    1.734680] clock: disabling unused clocks to save power                     
    [    1.753997] Detected MACID=0:18:30:fd:2d:5a                                  
    [    1.759429] cpsw: Detected MACID = 00:18:30:fd:2d:5b                         
    [    1.766418] input: gpio-keys as /devices/platform/gpio-keys/input/input0     
    [    1.774047] omap_rtc am33xx-rtc: setting system clock to 2000-01-01 00:00:00
    UTC (946684800)                                                                 
    [    1.787078] net eth0: CPSW phy found : id is : 0x20005c90                    
    [    1.800170] PHY 0:00 not found                                               
    [    3.778961] PHY: 0:01 - Link is Up - 100/Full                                
    [    3.798309] Sending DHCP requests ., OK                                      
    [    3.818756] IP-Config: Got DHCP answer from 0.0.0.0, my address is 10.0.0.3  
    [    3.828460] IP-Config: Complete:                                             
    [    3.831848]      device=eth0, addr=10.0.0.3, mask=255.255.255.0, gw=10.0.0.1,
    [    3.839050]      host=10.0.0.3, domain=le.corp, nis-domain=(none),           
    [    3.845489]      bootserver=0.0.0.0, rootserver=10.0.0.2, rootpath=          
    [    3.922058] VFS: Mounted root (nfs filesystem) on device 0:14.               
    [    3.928558] Freeing init memory: 248K                                        
    INIT: version 2.88 booting                                                      
    Starting udev                                                                   
    Starting Bootlog daemon: bootlogd: cannot allocate pseudo tty: No such file or d
    irectory                                                                        
    bootlogd.                                                                       
    ALSA: Restoring mixer settings...                                               
    NOT configuring network interfaces: / is an NFS mount                           
    /usr/sbin/alsactl: load_state:1686: No soundcards found...                      
    Mon Dec 17 06:07:00 UTC 2012                                                    
    INIT: Entering runlevel: 5                                                      
    Starting system message bus: dbus.                                              
    Starting Dropbear SSH server: dropbear.                                         
    Starting telnet daemon.                                                         
    Performing wifi calibration...                                                  
    rm: can't remove '/lib/firmware/ti-connectivity/wl1271-nvs.bin': No such file or
     directory                                                                      
    ERROR: Module wl12xx_sdio does not exist in /proc/modules                       
    nl80211 not found.                                                              
    [   10.603363] Disabling lock debugging due to kernel taint                     
    Starting network benchmark server: netserver.                                   
    Starting syslogd/klogd: done                                                    
    Starting thttpd.                                                                
    Starting PVR                                                                    
    [   12.522430] pvrsrvkm: disagrees about version of symbol contig_page_data     
    [   12.529510] pvrsrvkm: Unknown symbol contig_page_data (err -22)              
    [   12.535858] pvrsrvkm: disagrees about version of symbol __alloc_pages_nodemas
    k                                                                               
    [   12.543395] pvrsrvkm: Unknown symbol __alloc_pages_nodemask (err -22)        
    insmod: error inserting '/lib/modules/3.2.0/kernel/drivers/gpu/pvr/pvrsrvkm.ko':
     -1 Invalid parameters                                                          
    Could not find pvrsrvkm driver                                                  
    Starting Lighttpd Web Server: lighttpd.                                         
    2012-12-17 06:07:03: (log.c.166) server started                                 
    /                                                                               
    Starting Matrix GUI application.                                                
    ***************************************************************                 
    ***************************************************************                 
    NOTICE: This file system contains the followin GPLv3 packages:                  
            binutils-symlinks                                                       
            binutils                                                                
            gdbserver                                                               
                                                                                    
    If you do not wish to distribute GPLv3 components please remove                 
    the above packages prior to distribution.  This can be done using               
    the opkg remove command.  i.e.:                                                 
        opkg remove <package>                                                       
    Where <package> is the name printed in the list above                           
                                                                                    
    NOTE: If the package is a dependency of another package you                     
          will be notified of the dependent packages.  You should                   
          use the --force-removal-of-dependent-packages option to                   
          also remove the dependent packages as well                                
    ***************************************************************                 
    ***************************************************************                 
    Stopping Bootlog daemon: bootlogd.                                              
    umount: can't umount /mnt/.psplash: Invalid argument                            
                                                                                    
     _____                    _____           _         _                           
    |  _  |___ ___ ___ ___   |  _  |___ ___  |_|___ ___| |_                         
    |     |  _| .'| . | . |  |   __|  _| . | | | -_|  _|  _|                        
    |__|__|_| |__,|_  |___|  |__|  |_| |___|_| |___|___|_|                          
                  |___|                    |___|                                    
                                                                                    
    Arago Project http://arago-project.org am335x-evm ttyO0                         
                                                                                    
    Arago 2012.10 am335x-evm ttyO0                                                  
                                                                                    
    am335x-evm login: root                                                          
    root@am335x-evm:~# ls -al /sys/bus/iio/devices                                  
    drwxr-xr-x    2 root     root             0 Jan  1  2000 .                      
    drwxr-xr-x    4 root     root             0 Jan  1  2000 ..                     
    root@am335x-evm:~#

  • Please attach your board file, located in <linux_dir>/arch/arm/mach-omap2/board-am335xevm.c

    Best regards,
    Miroslav

  • Hello,

    the link you give to me for downloading points to AM3517, i use a AM3352; is it the good link for latest SDK for AM3352 ?

    thanks

  • I'm sorry, it seems I have copied the wrong link. Here is the correct SDK download page: http://software-dl.ti.com/sitara_linux/esd/AM335xSDK/latest/index_FDS.html

    Best regards,
    Miroslav

  • Hello,

    i don't have this file so i am downloading the latest SDK for AM335x.

    Once installed, what should i do to make a linux image for a Pengwyn board ?

    thanks

  • If you don't have this file in the SDK provided by Silica, then most probably the SDK has been modified to use another board file and the am335x_evm_defconfig won't work for your board.

    Please ask Silica for support on this as we can only support the official TI SDK and the official AM335x EVMs.

    Best regards,
    Miroslav