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.

GPIO as SPI Chip Select in am335x

Other Parts Discussed in Thread: TPS65910, DA8XX

HI All,

       I am working on SPI where I have to interface multiple devices i am able to use  SPI0_CS0 and SPI0_SC1.

but I want to use GPIO as Chip select.

I have gone through this link :

http://docs.blackfin.uclinux.org/doku.php?id=spi

where I found :

static struct spi_board_info ... .chip_select = GPIO_PFXX + MAX_CTRL_CS,

if it will work then pls provide example to represent a gpio.

I am trying to use mii1_rxd3.gpio2_18 to make it as chip select .

I am taking care of that mii1_rxd3 is not used any where and apart from that i have edited mux file:


_AM33XX_MUXENTRY(MII1_RXD3, 0,
        NULL, NULL, NULL,NULL,
        NULL, NULL, NULL, "gpio2_18"),


I am able get the clock pulse and data pulse down on CRO but gpio pin is not configured as i suppose .

Help me out I will be thankful to you;


Regards

Praveen


  • Any Body who can help !!!

    Regards

    Praveen

  • Hi all ,

     I got the answer!!

    i have created a script file in which I am making gpio as output and pullup ;

    when I am trying to access hwclock I am pulling down specific gpio and executing the command 

    after that making it pull up;

    I am not using any predefined chip select.

    RTC on SPI using GPIO working fine;

    Regards

    Praveen

  • Hi all,

               I am too working on the same i.e) Making gpio pin as spi chip select. In my am335x evm board, the spi is connected to the serial NOR flash . While booting I checked with CRO the gpio pin is pulling down But after boots up while mounting the filesystem using "mount -t jffs2 /dev/mtdblock0 /mnt/spi/ " the following error is produced

    [   43.398223] Cowardly refusing to erase blocks on filesystem with no valid JFFS2 nodes
    [   43.406616] empty_blocks 0, bad_blocks 0, c->nr_blocks 32
    mount: mounting /dev/mtdblock0 on /mnt/ failed: Input/output error
     

    Since Im new to this, Im guessing that  "this occurs because of cant access the nor device" ...  Please provide me the neccessary solutions..


    Thanks in advance

    Arun

  • Hi Arun,


    I have control gpio as Chip select through script . Directly run that script from console ; and it worked !!

    provide description about your NOR Flash you are using ;

    and log of your boot up !!

  • Thanks a lot Praveen,....The below is the bootlogs that got...

    U-Boot 2013.01.01-g5caf692 (Mar 01 2014 - 12:06:18)

    I2C:   ready
    DRAM:  512 MiB
    WARNING: Caches not enabled
    NAND:  No NAND device found!!!
    0 MiB
    MMC:   OMAP SD/MMC: 0, OMAP SD/MMC: 1
    *** Warning - readenv() failed, using default environment

    musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, bulk combine, bulk split, HB-ISO Rx, HB-ISO Tx, SoftConn)
    musb-hdrc: MHDRC RTL version 2.0
    musb-hdrc: setup fifo_mode 4
    musb-hdrc: 28/31 max ep, 16384/16384 memory
    USB Peripheral mode controller at 47401000 using PIO, IRQ 0
    musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, bulk combine, bulk split, HB-ISO Rx, HB-ISO Tx, SoftConn)
    musb-hdrc: MHDRC RTL version 2.0
    musb-hdrc: setup fifo_mode 4
    musb-hdrc: 28/31 max ep, 16384/16384 memory
    USB Host mode controller at 47401800 using PIO, IRQ 0
    Net:   <ethaddr> not set. Validating first E-fuse MAC
    cpsw, usb_ether
    Hit any key to stop autoboot:  0
    mmc0 is current device
    SD/MMC found on device 0
    reading uEnv.txt
    153 bytes read in 3 ms (49.8 KiB/s)
    Loaded environment from uEnv.txt
    Importing environment from mmc ...
    Running uenvcmd ...
    reading uImage
    3270448 bytes read in 365 ms (8.5 MiB/s)
    ## Booting kernel from Legacy Image at 80200000 ...
       Image Name:   Linux-3.2.0-gc68e821-dirty
       Image Type:   ARM Linux Kernel Image (uncompressed)
       Data Size:    3270384 Bytes = 3.1 MiB
       Load Address: 80008000
       Entry Point:  80008000
       Verifying Checksum ... OK
       Loading Kernel Image ... OK
    OK

    Starting kernel ...

    Uncompressing Linux... done, booting the kernel.
    [    0.000000] Linux version 3.2.0-gc68e821-dirty (mistral@mistral-desktop) (gcc version 4.7.3 20130226 (prerelease) (crosst4
    [    0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c53c7d
    [    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction 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 on.  Total pages: 32512
    [    0.000000] Kernel command line: console=ttyO0,115200n8 root=/dev/mmcblk0p2 mem=128M rootwait
    [    0.000000] PID hash table entries: 512 (order: -1, 2048 bytes)
    [    0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
    [    0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
    [    0.000000] Memory: 128MB = 128MB total
    [    0.000000] Memory: 123152k/123152k available, 7920k 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 : 0xc8800000 - 0xff000000   ( 872 MB)
    [    0.000000]     lowmem  : 0xc0000000 - 0xc8000000   ( 128 MB)
    [    0.000000]     modules : 0xbf000000 - 0xc0000000   (  16 MB)
    [    0.000000]       .text : 0xc0008000 - 0xc05bf000   (5852 kB)
    [    0.000000]       .init : 0xc05bf000 - 0xc05fb000   ( 240 kB)
    [    0.000000]       .data : 0xc05fc000 - 0xc0669ac8   ( 439 kB)
    [    0.000000]        .bss : 0xc0669aec - 0xc0698ae4   ( 188 kB)
    [    0.000000] NR_IRQS:396
    [    0.000000] IRQ: Found an INTC at 0xfa200000 (revision 5.0) with 128 interrupts
    [    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 131071999ms
    [    0.000000] Console: colour dummy device 80x30
    [    0.000122] 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.059539] CPU: Testing write buffer coherency: ok
    [    0.080078] omap_hwmod: pruss: failed to hardreset
    [    0.081207] print_constraints: dummy:
    [    0.081573] NET: Registered protocol family 16
    [    0.083740] OMAP GPIO hardware version 0.1
    [    0.086334] omap_mux_init: Add partition: #1: core, flags: 0
    [    0.088287]  omap_i2c.1: alias fck already exists
    [    0.089233]  omap2_mcspi.1: alias fck already exists
    [    0.089477]  omap2_mcspi.2: alias fck already exists
    [    0.090423]  edma.0: alias fck already exists
    [    0.090423]  edma.0: alias fck already exists
    [    0.090454]  edma.0: alias fck already exists
    [    0.117706] bio: create slab <bio-0> at 0
    [    0.119995] SCSI subsystem initialized
    [    0.121643] usbcore: registered new interface driver usbfs
    [    0.121948] usbcore: registered new interface driver hub
    [    0.122131] usbcore: registered new device driver usb
    [    0.122467] registerd cppi-dma Intr @ IRQ 17
    [    0.122467] Cppi41 Init Done Qmgr-base(c887a000) dma-base(c8878000)
    [    0.122497] Cppi41 Init Done
    [    0.122497] musb-ti81xx musb-ti81xx: musb0, board_mode=0x13, plat_mode=0x3
    [    0.122802] musb-ti81xx musb-ti81xx: musb1, board_mode=0x13, plat_mode=0x1
    [    0.139007] omap_i2c omap_i2c.1: bus 1 rev2.4.0 at 100 kHz
    [    0.140899] tps65910 1-002d: JTAGREVNUM 0x0
    [    0.143310] print_constraints: VRTC:
    [    0.144775] print_constraints: VIO: at 1800 mV
    [    0.147094] print_constraints: VDD1: 600 <--> 1500 mV at 1262 mV normal
    [    0.149383] print_constraints: VDD2: 600 <--> 1500 mV at 1137 mV normal
    [    0.150421] print_constraints: VDD3: 5000 mV
    [    0.151824] print_constraints: VDIG1: at 1800 mV
    [    0.153259] print_constraints: VDIG2: at 1800 mV
    [    0.154663] print_constraints: VPLL: at 1800 mV
    [    0.156097] print_constraints: VDAC: at 1800 mV
    [    0.157531] print_constraints: VAUX1: at 1800 mV
    [    0.158966] print_constraints: VAUX2: at 3300 mV
    [    0.160400] print_constraints: VAUX33: at 3300 mV
    [    0.161834] print_constraints: VMMC: at 3300 mV
    [    0.162322] tps65910 1-002d: No interrupt support, no core IRQ
    [    0.163726] Advanced Linux Sound Architecture Driver Version 1.0.24.
    [    0.164886] Switching to clocksource gp timer
    [    0.180419] musb-hdrc: version 6.0, ?dma?, otg (peripheral+host)
    [    0.180603] musb-hdrc musb-hdrc.0: dma type: dma-cppi41
    [    0.180908] MUSB0 controller's USBSS revision = 4ea20800
    [    0.181884] musb-hdrc musb-hdrc.0: USB OTG mode controller at c883c000 using DMA, IRQ 18
    [    0.182037] musb-hdrc musb-hdrc.1: dma type: dma-cppi41
    [    0.182342] MUSB1 controller's USBSS revision = 4ea20800
    [    0.182830] musb-hdrc musb-hdrc.1: MUSB HDRC host driver
    [    0.182922] musb-hdrc musb-hdrc.1: new USB bus registered, assigned bus number 1
    [    0.183044] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
    [    0.183074] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [    0.183074] usb usb1: Product: MUSB HDRC host driver
    [    0.183074] usb usb1: Manufacturer: Linux 3.2.0-gc68e821-dirty musb-hcd
    [    0.183105] usb usb1: SerialNumber: musb-hdrc.1
    [    0.183898] hub 1-0:1.0: USB hub found
    [    0.183929] hub 1-0:1.0: 1 port detected
    [    0.184478] musb-hdrc musb-hdrc.1: USB Host mode controller at c883e800 using DMA, IRQ 19
    [    0.184936] NET: Registered protocol family 2
    [    0.185211] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
    [    0.185485] TCP established hash table entries: 4096 (order: 3, 32768 bytes)
    [    0.185577] TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
    [    0.185638] TCP: Hash tables configured (established 4096 bind 4096)
    [    0.185638] TCP reno registered
    [    0.185668] UDP hash table entries: 256 (order: 0, 4096 bytes)
    [    0.185668] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
    [    0.185882] NET: Registered protocol family 1
    [    0.186157] RPC: Registered named UNIX socket transport module.
    [    0.186157] RPC: Registered udp transport module.
    [    0.186187] RPC: Registered tcp transport module.
    [    0.186187] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    0.186431] NetWinder Floating Point Emulator V0.97 (double precision)
    [    0.194061] VFS: Disk quotas dquot_6.5.2
    [    0.194122] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
    [    0.194641] JFFS2 version 2.2. (NAND) �© 2001-2006 Red Hat, Inc.
    [    0.194885] msgmni has been set to 240
    [    0.198242] alg: No test for stdrng (krng)
    [    0.198913] io scheduler noop registered
    [    0.198944] io scheduler deadline registered
    [    0.199005] io scheduler cfq registered (default)
    [    0.202789] omap_uart.0: ttyO0 at MMIO 0x44e09000 (irq = 72) is a OMAP UART0
    [    0.847229] console [ttyO0] enabled
    [    0.851501] omap_uart.1: ttyO1 at MMIO 0x48022000 (irq = 73) is a OMAP UART1
    [    0.859344] omap_uart.2: ttyO2 at MMIO 0x48024000 (irq = 74) is a OMAP UART2
    [    0.867126] omap_uart.3: ttyO3 at MMIO 0x481a6000 (irq = 44) is a OMAP UART3
    [    0.874877] omap_uart.4: ttyO4 at MMIO 0x481a8000 (irq = 45) is a OMAP UART4
    [    0.882690] omap_uart.5: ttyO5 at MMIO 0x481aa000 (irq = 46) is a OMAP UART5
    [    0.890960] omap4_rng omap4_rng: OMAP4 Random Number Generator ver. 2.00
    [    0.907379] brd: module loaded
    [    0.915405] loop: module loaded
    [    0.918914] i2c-core: driver [tsl2550] using legacy suspend method
    [    0.925384] i2c-core: driver [tsl2550] using legacy resume method
    [    0.931823] at24 1-0051: 32768 byte 24c256 EEPROM, writable, 64 bytes/write
    [    0.945739] Detected a daughter card on AM335x EVM..
    [    0.950714] CPLD version: CPLD1.0F
    [    0.954589] at24 1-0050: 32768 byte 24c256 EEPROM, writable, 64 bytes/write
    [    0.969757] Board name: A33515BB
    [    0.973114] Board version: 1.4A
    [    0.976409] SKU: SKU#01
    [    0.979492] The board is general purpose EVM in profile 2
    [    0.985107] ************ BEFORE configure************
    [    0.991271]  da8xx_lcdc.0: alias fck already exists
    [    0.997009] da8xx_lcdc da8xx_lcdc.0: GLCD: Found TFC_S9700RTWV35TR_01B panel
    [    1.021118] Console: switching to colour frame buffer device 100x30
    [    1.037139]  omap_hsmmc.0: alias fck already exists
    [    1.042633]  omap_hsmmc.1: alias fck already exists
    [    1.048248] *********** SPI init with gpio*********************** after configure ****
    [    1.059661] registered am33xx_sr device
    [    1.066497] mtdoops: mtd device (mtddev=name/number) must be supplied
    [    1.073272] Configure SPI0_CS0 enable pin...
    [    1.078094]
    [    1.078094] **** code within spi_write_ (null)
    [    1.084197] **** code after spi_write_ function 0
    [    1.089141] ****id [0]ef
    [    1.091766] *** jedec = id[0]= ef00
    [    1.095397] *** jedec = id[1]= ef4000
    [    1.099243] *** jedec = id[3,4]= 0
    [    1.102783] ******** ARRAY_SIZE(m25_ids)=91
    [    1.107177] m25p80 spi1.0: found s25fl064k, expected w25q64
    [    1.113159] m25p80 spi1.0: s25fl064k (8192 Kbytes)
    [    1.118377] Creating 5 MTD partitions on "spi_flash":
    [    1.123657] 0x000000000000-0x000000020000 : "SPL"
    [    1.130065] 0x000000020000-0x00000007f000 : "U-Boot"
    [    1.136566] 0x00000007f000-0x000000080000 : "U-Boot Env"
    [    1.143341] 0x000000080000-0x0000003e2000 : "Kernel"
    [    1.149780] 0x0000003e2000-0x000000800000 : "File System"
    [    1.157073] omap2-nand driver initializing
    [    1.161499] OneNAND driver initializing
    [    1.166900] CAN device driver interface
    [    1.170928] CAN bus driver for Bosch D_CAN controller 1.0
    [    1.225524] davinci_mdio davinci_mdio.0: davinci mdio revision 1.6
    [    1.231964] davinci_mdio davinci_mdio.0: detected phy mask fffffffe
    [    1.239440] davinci_mdio.0: probed
    [    1.243011] davinci_mdio davinci_mdio.0: phy[0]: device 0:00, driver unknown
    [    1.250732] usbcore: registered new interface driver zd1201
    [    1.256805] usbcore: registered new interface driver cdc_ether
    [    1.263031] usbcore: registered new interface driver cdc_eem
    [    1.269104] usbcore: registered new interface driver dm9601
    [    1.274963] cdc_ncm: 04-Aug-2011
    [    1.278503] usbcore: registered new interface driver cdc_ncm
    [    1.284423] Initializing USB Mass Storage driver...
    [    1.289733] usbcore: registered new interface driver usb-storage
    [    1.296020] USB Mass Storage support registered.
    [    1.300933]  gadget: using random self ethernet address
    [    1.306396]  gadget: using random host ethernet address
    [    1.312469] usb0: MAC c2:f3:3f:99:23:7d
    [    1.316528] usb0: HOST MAC 7a:87:97:c0:8c:b8
    [    1.321044]  gadget: Ethernet Gadget, version: Memorial Day 2008
    [    1.327331]  gadget: g_ether ready
    [    1.330902] musb-hdrc musb-hdrc.0: MUSB HDRC host driver
    [    1.336517] musb-hdrc musb-hdrc.0: new USB bus registered, assigned bus number 2
    [    1.344360] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
    [    1.351470] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [    1.359008] usb usb2: Product: MUSB HDRC host driver
    [    1.364166] usb usb2: Manufacturer: Linux 3.2.0-gc68e821-dirty musb-hcd
    [    1.371093] usb usb2: SerialNumber: musb-hdrc.0
    [    1.376678] hub 2-0:1.0: USB hub found
    [    1.380615] hub 2-0:1.0: 1 port detected
    [    1.385925] mousedev: PS/2 mouse device common for all mice
    [    1.392822] input: ti-tsc as /devices/platform/omap/ti_tscadc/tsc/input/input0
    [    1.401550] omap_rtc am33xx-rtc: rtc core: registered am33xx-rtc as rtc0
    [    1.408813] i2c /dev entries driver
    [    1.412872] Linux video capture interface: v2.00
    [    1.418090] usbcore: registered new interface driver uvcvideo
    [    1.424072] USB Video Class driver (1.1.1)
    [    1.430511] OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
    [    1.439178] cpuidle: using governor ladder
    [    1.443939] cpuidle: using governor menu
    [    1.452026] omap4_aes_mod_init: loading AM33X AES driver
    [    1.457733] omap4-aes omap4-aes: AM33X AES hw accel rev: 3.02
    [    1.464202] omap4_aes_probe: probe() done
    [    1.468902] omap4_sham_mod_init: loading AM33X SHA/MD5 driver
    [    1.475036] omap4-sham omap4-sham: AM33X SHA/MD5 hw accel rev: 4.03
    [    1.487823] omap4_sham_probe: probe() done
    [    1.497955] usbcore: registered new interface driver usbhid
    [    1.503784] usbhid: USB HID core driver
    [    1.512237] tiadc tiadc: attached adc driver
    [    1.517547] usbcore: registered new interface driver snd-usb-audio
    [    1.525665] ALSA device list:
    [    1.528778]   No soundcards found.
    [    1.532318] oprofile: hardware counters not available
    [    1.537628] oprofile: using timer interrupt.
    [    1.542083] nf_conntrack version 0.5.0 (1924 buckets, 7696 max)
    [    1.548767] ip_tables: (C) 2000-2006 Netfilter Core Team
    [    1.554443] TCP cubic registered
    [    1.557861] NET: Registered protocol family 17
    [    1.562500] can: controller area network core (rev 20090105 abi 8)
    [    1.569061] NET: Registered protocol family 29
    [    1.573699] can: raw protocol (rev 20090105)
    [    1.578155] can: broadcast manager protocol (rev 20090105 t)
    [    1.584106] Registering the dns_resolver key type
    [    1.589080] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
    [    1.597106] ThumbEE CPU extension supported.
    [    1.601623] mux: Failed to setup hwmod io irq -22
    [    1.607238] Power Management for AM33XX family
    [    1.612121] Trying to load am335x-pm-firmware.bin (60 secs timeout)
    [    1.618804] Copied the M3 firmware to UMEM
    [    1.623168] Cortex M3 Firmware Version = 0x181
    [    1.627990] smartreflex smartreflex: am33xx_sr_probe: Zero NValue read from EFUSE
    [    1.635833] smartreflex: probe of smartreflex failed with error -22
    [    1.642974] sr_init: platform driver register failed
    [    1.653320] clock: disabling unused clocks to save power
    [    1.672180] Detected MACID=0:18:31:ed:5f:49
    [    1.677856] cpsw: Detected MACID = 00:18:31:ed:5f:4a
    [    1.684265] omap_rtc am33xx-rtc: setting system clock to 2000-01-01 00:00:00 UTC (946684800)
    [    1.693695] Waiting for root device /dev/mmcblk0p2...
    [    1.701110] mmc0: new high speed SDHC card at address 0007
    [    1.707519] mmcblk0: mmc0:0007 SD16G 14.9 GiB
    [    1.714050]  mmcblk0: p1 p2
    [    1.811462] kjournald starting.  Commit interval 5 seconds
    [    1.817291] EXT3-fs (mmcblk0p2): warning: mounting unchecked fs, running e2fsck is recommended
    [    2.243896] EXT3-fs (mmcblk0p2): using internal journal
    [    2.249359] EXT3-fs (mmcblk0p2): mounted filesystem with ordered data mode
    [    2.256591] VFS: Mounted root (ext3 filesystem) on device 179:2.
    [    2.263305] Freeing init memory: 240K
    INIT: version 2.88 booting
    Starting udev
    ERROR: could not open directory /lib/modules/3.2.0-gc68e821-dirty: No such file or directory
    WARNING: -e needs -E or -F
    ERROR: could not open directory /lib/modules/3.2.0-gc68e821-dirty: No such file or directory
    FATAL: could not search modules: No such file or directory
    Starting Bootlog daemon: bootlogd: cannot allocate pseudo tty: No such file or directory
    bootlogd.
    ALSA: Restoring mixer settings...
    /usr/sbin/alsactl: load_state:1686: No soundcards found...
    Configuring network interfaces... [   11.763641] net eth0: CPSW phy found : id is : 0x4dd074
    udhcpc (v1.20.2) started
    Sending discover...
    Sending discover...
    Sending discover...
    ^CError VT_SETMODE failed: Bad file descriptor
    Tue Jun 25 23:13:00 UTC 2013
    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 is not currently loaded
    nl80211 not found.
    Starting network benchmark server: netserver.
    Starting syslogd/klogd: done
    Starting thttpd.
    Starting PVR
    find: /lib/modules/3.2.0-gc68e821-dirty: No such file or directory
    Error: missing filename.
    Could not find pvrsrvkm driver
    Starting Lighttpd Web Server: lighttpd.
    2013-06-25 23:13: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.

     _____                    _____           _         _   
    |  _  |___ ___ ___ ___   |  _  |___ ___  |_|___ ___| |_
    |     |  _| .'| . | . |  |   __|  _| . | | | -_|  _|  _|
    |__|__|_| |__,|_  |___|  |__|  |_| |___|_| |___|___|_|  
                  |___|                    |___|            

    Arago Project http://arago-project.org am335x-evm ttyO0

    Arago 2013.05 am335x-evm ttyO0

    am335x-evm login: root

    Since this is my first work in kernel side ... I'm still learning. So, Can you please clearly say what are the things needed for you to understand about my NOR flash

  • Now it works .... Mounting is happening in NOR and coping a file is executed without any error .... Thanks for your help Praveen

  • Hi Arun,

    I am Happy u did it by your own !!!  

    if u can brief how u did it .. it will be helpful next engineer who will face you problem !!! 

    Regards 

    Praveen