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.

AM335x USB disable

Other Parts Discussed in Thread: AM3352, TPS65910, TPS65217

Hi,

We made one customised board using AM3352 ZCZ Package and we don't want to use USB Ports both 0 & 1.We have grounded corresponding pins as shown below in schematics.

We have provided 1.8V (VDDA1P8V_USB0 & VDDA1P8V_USB1) and 3.3V (VDDA3P3V_USB0 & VDDA3P3V_USB1) supplies to USB Power pins of AM335x as per the schematics checklist provided by TI wikipage.

While booting process we are getting the following error

"ti81xx_interrupt 1146: VBUS error workaround (delay coming)"

Is there any USB drivers or pin configurations to be removed from kernel software files ... ? Please specify the path of the files to be removed ...

Thanks in advance

  • Hi,

    What Linux version is this?
  • Hi,
    Latest version u-boot2016.05

    We tried disabling USB drivers in kernel file ... it got stuck at loading boot image .... only

    Any other changes required ...? Please specify the path of the files to be changed ...

    Thanks
  • The software team have been notified. They will respond here.
  • Hi,

    This kind of error usually indicates problem with the hardware.

    Have a look at the following threads:
    e2e.ti.com/.../299887
    e2e.ti.com/.../299916
    e2e.ti.com/.../233404

    Best Regards,
    Yordan
  • I'd lean more strongly to SW rather than HW. The issue appears to be related to the fact that with both USB ports disabled, there is no instance of VBUS_VALID. This shouldn't matter of course...

    I think the SW isn't being configured to disable/ignore USB in a USB-less design such as this.

  • Manjunath,

    If usb is not used at all, you should disable 'USB Support' under 'Device Drivers' in kernel menuconfig. Is this what you did but kernel fails to boot?
  • Hi binu,

                  Thanks ... We were successfully able to disable both USB ports ... Now that error is not coming ...

    But booting is stoping at the below line.

    "Waiting for root device /dev/mmcblk0p2..."

    We taught it might be SD Card partition problem ... so we changed to new SD Card and new SD Card read reader ... Still the problem exists ...

    what I read was rootfs file is in second partition of SD Card ... I think while booting transfer from first partition to second partition is not happening ...

    Is there any settings or software changes required while transfer from first partition to second partition ?

    One more doubt is I checked mmc0_clk & mmc_cd pins after power ON ... For few seconds clock is coming (48 MHz) and it will disappear ... mmc_cd is coming around 3.217V since it has been pulled up for 3.3V

    Will clock be available only during Data transfer or Clock will be present all time ...?

    Thanks in advance.

  • Can you post the full console log?

    Steve K.

  • Hi Steve,

    Please find below the console log.Input clock is 25 MHz.

    U-Boot 2013.01.01 (Nov 26 2016 - 17:50:35)


    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
    ** Unable to read file uEnv.txt **
    reading uImage
    2925984 bytes read in 293 ms (9.5 MiB/s)
    Booting from mmc ...
    ## Booting kernel from Legacy Image at 80007fc0 ...
    Image Name: Linux-3.2.0
    Image Type: ARM Linux Kernel Image (uncompressed)
    Data Size: 2925920 Bytes = 2.8 MiB
    Load Address: 80008000
    Entry Point: 80008000
    Verifying Checksum ... OK
    XIP Kernel Image ... OK
    OK

    Starting kernel ...

    Uncompressing Linux... done, booting the kernel.

    [ 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 ES2.1 (neon )
    [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 130048
    [ 0.000000] Kernel command line: console=ttyO0,115200n8 root=/dev/mmcblk0p2 ro rootfstype=ext3 rootwait ip=none
    [ 0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
    [ 0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
    [ 0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
    [ 0.000000] Memory: 512MB = 512MB total
    [ 0.000000] Memory: 513704k/513704k available, 10584k 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 : 0xe0800000 - 0xff000000 ( 488 MB)
    [ 0.000000] lowmem : 0xc0000000 - 0xe0000000 ( 512 MB)
    [ 0.000000] modules : 0xbf000000 - 0xc0000000 ( 16 MB)
    [ 0.000000] .text : 0xc0008000 - 0xc0520000 (5216 kB)
    [ 0.000000] .init : 0xc0520000 - 0xc055a000 ( 232 kB)
    [ 0.000000] .data : 0xc055a000 - 0xc05b8c50 ( 380 kB)
    [ 0.000000] .bss : 0xc05b8c74 - 0xc05e7224 ( 186 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 25000000 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.000061] Calibrating delay loop... 996.14 BogoMIPS (lpj=4980736)
    [ 0.089263] pid_max: default: 32768 minimum: 301
    [ 0.089355] Security Framework initialized
    [ 0.089416] Mount-cache hash table entries: 512
    [ 0.089721] CPU: Testing write buffer coherency: ok
    [ 0.108856] omap_hwmod: gfx: failed to hardreset
    [ 0.124511] omap_hwmod: pruss: failed to hardreset
    [ 0.125396] print_constraints: dummy:
    [ 0.125671] NET: Registered protocol family 16
    [ 0.127319] OMAP GPIO hardware version 0.1
    [ 0.129272] omap_mux_init: Add partition: #1: core, flags: 0
    [ 0.130737] omap_i2c.1: alias fck already exists
    [ 0.131408] omap2_mcspi.1: alias fck already exists
    [ 0.131561] omap2_mcspi.2: alias fck already exists
    [ 0.132232] edma.0: alias fck already exists
    [ 0.132263] edma.0: alias fck already exists
    [ 0.132263] edma.0: alias fck already exists
    [ 0.148834] bio: create slab <bio-0> at 0
    [ 0.150543] SCSI subsystem initialized
    [ 0.169281] omap_i2c omap_i2c.1: bus 1 rev2.4.0 at 100 kHz
    [ 0.189239] tps65910 1-002d: could not be detected
    [ 0.190216] Advanced Linux Sound Architecture Driver Version 1.0.24.
    [ 0.191040] Switching to clocksource gp timer
    [ 0.202392] NET: Registered protocol family 2
    [ 0.202545] IP route cache hash table entries: 4096 (order: 2, 16384 bytes)
    [ 0.202789] TCP established hash table entries: 16384 (order: 5, 131072 bytes)
    [ 0.203002] TCP bind hash table entries: 16384 (order: 4, 65536 bytes)

    [ 0.203125] TCP: Hash tables configured (established 16384 bind 16384)

    [ 0.203125] TCP reno registered

    [ 0.203125] UDP hash table entries: 256 (order: 0, 4096 bytes)

    [ 0.203155] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
    [ 0.203308] NET: Registered protocol family 1

    [ 0.203521] RPC: Registered named UNIX socket transport module.

    [ 0.203521] RPC: Registered udp transport module.

    [ 0.203521] RPC: Registered tcp transport module.

    [ 0.203521] RPC: Registered tcp NFSv4.1 backchannel transport module.

    [ 0.203704] NetWinder Floating Point Emulator V0.97 (double precision)

    [ 0.220550] VFS: Disk quotas dquot_6.5.2

    [ 0.220611] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)

    [ 0.221038] msgmni has been set to 1003

    [ 0.223510] alg: No test for stdrng (krng)

    [ 0.224029] io scheduler noop registered
    [ 0.224029] io scheduler deadline registered

    [ 0.224090] io scheduler cfq registered (default)
    [ 0.225036] Could not set LED4 to fully on

    [ 0.261901] omap_uart.0: ttyO0 at MMIO 0x44e09000 (irq = 72) is a OMAP UART0

    [ 0.697692] console [ttyO0] enabled

    [ 0.701782] omap_uart.1: ttyO1 at MMIO 0x48022000 (irq = 73) is a OMAP UART1

    [ 0.709472] omap_uart.2: ttyO2 at MMIO 0x48024000 (irq = 74) is a OMAP UART2

    [ 0.717193] omap_uart.3: ttyO3 at MMIO 0x481a6000 (irq = 44) is a OMAP UART3

    [ 0.724884] omap_uart.4: ttyO4 at MMIO 0x481a8000 (irq = 45) is a OMAP UART4

    [ 0.732574] omap_uart.5: ttyO5 at MMIO 0x481aa000 (irq = 46) is a OMAP UART5

    [ 0.740631] omap4_rng omap4_rng: OMAP4 Random Number Generator ver. 2.00

    [ 0.754516] brd: module loaded

    [ 0.761291] loop: module loaded
    [ 0.764801] i2c-core: driver [tsl2550] using legacy suspend method

    [ 0.771240] i2c-core: driver [tsl2550] using legacy resume method

    [ 0.777679] at24 1-0051: 32768 byte 24c256 EEPROM, writable, 64 bytes/write

    [ 0.881500] No daughter card found

    [ 0.885101] at24 1-0050: 32768 byte 24c256 EEPROM, writable, 64 bytes/write

    [ 0.900268] Board name: A335BNLT

    [ 0.903656] Board version: 000C

    [ 0.906921] The board is a AM335x Beaglebone Black.

    [ 0.914031] tps65217 1-0024: TPS65217 ID 0xe version 1.2

    [ 0.921569] print_constraints: DCDC1: 900 <--> 1800 mV at 1500 mV

    [ 0.929962] print_constraints: DCDC2: 900 <--> 3300 mV at 1325 mV

    [ 0.938385] print_constraints: DCDC3: 900 <--> 1500 mV at 1125 mV

    [ 0.946777] print_constraints: LDO1: 1000 <--> 3300 mV at 1800 mV

    [ 0.955169] print_constraints: LDO2: 900 <--> 3300 mV at 3300 mV

    [ 0.963470] print_constraints: LDO3: 1800 <--> 3300 mV at 1800 mV

    [ 0.971862] print_constraints: LDO4: 1800 <--> 3300 mV at 3300 mV

    [ 0.979125] omap_hsmmc.0: alias fck already exists

    [ 0.984527] omap_hsmmc.1: alias fck already exists

    [ 0.989868] omap_i2c.3: alias fck already exists

    [ 1.011596] omap_i2c omap_i2c.3: bus 3 rev2.4.0 at 100 kHz

    [ 1.018829] registered am33xx_sr device

    [ 1.024291] mtdoops: mtd device (mtddev=name/number) must be supplied

    [ 1.031341] omap2-nand driver initializing

    [ 1.035797] OneNAND driver initializing

    [ 1.040771] CAN device driver interface

    [ 1.044799] CAN bus driver for Bosch D_CAN controller 1.0

    [ 1.091583] davinci_mdio davinci_mdio.0: davinci mdio revision 1.6

    [ 1.098052] davinci_mdio davinci_mdio.0: detected phy mask fffffffc

    [ 1.105682] davinci_mdio.0: probed

    [ 1.109222] davinci_mdio davinci_mdio.0: phy[0]: device 0:00, driver unknown

    [ 1.116607] davinci_mdio davinci_mdio.0: phy[1]: device 0:01, driver unknown

    [ 1.124420] mousedev: PS/2 mouse device common for all mice

    [ 1.131072] omap_rtc am33xx-rtc: rtc core: registered am33xx-rtc as rtc0

    [ 1.138305] i2c /dev entries driver

    [ 1.142425] Linux video capture interface: v2.00
    [ 1.422363] OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec

    [ 1.429809] cpuidle: using governor ladder

    [ 1.434448] cpuidle: using governor menu

    [ 1.441955] omap4_aes_mod_init: loading AM33X AES driver

    [ 1.447601] omap4-aes omap4-aes: AM33X AES hw accel rev: 3.02

    [ 1.454254] omap4_aes_probe: probe() done

    [ 1.458618] omap4_sham_mod_init: loading AM33X SHA/MD5 driver

    [ 1.464752] omap4-sham omap4-sham: AM33X SHA/MD5 hw accel rev: 4.03

    [ 1.478363] omap4_sham_probe: probe() done

    [ 1.485931] ALSA device list:
    [ 1.489013] No soundcards found.

    [ 1.492614] oprofile: hardware counters not available

    [ 1.497894] oprofile: using timer interrupt.

    [ 1.502380] nf_conntrack version 0.5.0 (8026 buckets, 32104 max)

    [ 1.509063] ip_tables: (C) 2000-2006 Netfilter Core Team

    [ 1.514739] TCP cubic registered

    [ 1.518127] NET: Registered protocol family 17

    [ 1.522766] can: controller area network core (rev 20090105 abi 8)

    [ 1.529296] NET: Registered protocol family 29

    [ 1.533966] can: raw protocol (rev 20090105)

    [ 1.538421] can: broadcast manager protocol (rev 20090105 t)

    [ 1.544372] Registering the dns_resolver key type

    [ 1.549346] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3

    [ 1.557373] ThumbEE CPU extension supported.

    [ 1.561889] mux: Failed to setup hwmod io irq -22

    [ 1.567352] Power Management for AM33XX family
    [ 1.572174] Trying to load am335x-pm-firmware.bin (60 secs timeout)

    [ 1.578857] Copied the M3 firmware to UMEM

    [ 1.583251] Cortex M3 Firmware Version = 0x181
    [ 1.588684] create_regulator: DCDC2: Failed to create debugfs directory

    [ 1.596252] smartreflex smartreflex: am33xx_sr_probe: Driver initialized

    [ 1.607147] clock: disabling unused clocks to save power

    [ 1.622192] Detected MACID=84:eb:18:b8:b4:c2

    [ 1.627563] cpsw: Detected MACID = 84:eb:18:b8:b4:c4

    [ 1.633605] omap_rtc am33xx-rtc: setting system clock to 2000-01-01 00:00:01 UTC (946684801)

    [ 1.642883] Waiting for root device /dev/mmcblk0p2...

    CTRL-A Z for help |115200 8N1 | NOR | Minicom 2.5 | VT102 | Online 00:20

  • I notice you are using a very old SDK. Since you are using a 25MHz clock source, did you modify u-boot and the kernel. In u-boot, in include/configs/am335x_evm.h you have to change

    #define V_OSCK                          24000000  /* Clock output from T2 */

    to

    #define V_OSCK                          25000000  /* Clock output from T2 */

    In the kernel, you have to change arch/arm/mach-omap2/clock33xx_data.c

    static struct clk sys_clkin_ck = {
            .name           = "sys_clkin_ck",
            .parent         = &virt_24m_ck,

    to

    static struct clk sys_clkin_ck = {
            .name           = "sys_clkin_ck",
            .parent         = &virt_25m_ck,

    It could be that the clocks are not set correctly.

    Steve K.

  • Hi,

         Thanks for the reply.We have made the changes mentioned in the kernel file as told and now that error has vanished but booting gets hanged as shown below.Its showing the following messages.

    [ 1.605773] Root-NFS: no NFS server address
    [ 1.610168] VFS: Unable to mount root fs via NFS, trying floppy.
    [ 1.616760] VFS: Cannot open root device "mmcblk0p2" or unknown-block(2,0)

    Is there any IP address we have to provide in any files? If please provide the path of that file ...

    And one more thing we are not using NAND memory for booting.We are booting only through SD Card(MMC0).

    Uncompressing Linux... done, booting the kernel.
    [ 0.000000] Linux version 3.2.0 (root@rrtestpc-ThinkCentre-A58) (gcc version 4.7.3 20130226 (prerelease) (crosstool-NG linaro-1.13.1-4.7-2013.
    03-20130313 - Linaro GCC 2013.03) ) #4 Wed Dec 7 11:48:03 IST 2016
    [ 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 ES2.1 (neon )
    [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 130048
    [ 0.000000] Kernel command line: console=tty0 console=ttyO0,115200n8 root=/dev/mmcblk0p2 rootfstype=ext4 bootcmd=mmc rescan mem=512M
    [ 0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
    [ 0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
    [ 0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
    [ 0.000000] Memory: 512MB = 512MB total
    [ 0.000000] Memory: 513384k/513384k available, 10904k 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 : 0xe0800000 - 0xff000000 ( 488 MB)
    [ 0.000000] lowmem : 0xc0000000 - 0xe0000000 ( 512 MB)
    [ 0.000000] modules : 0xbf000000 - 0xc0000000 ( 16 MB)
    [ 0.000000] .text : 0xc0008000 - 0xc0570000 (5536 kB)
    [ 0.000000] .init : 0xc0570000 - 0xc05aa000 ( 232 kB)
    [ 0.000000] .data : 0xc05aa000 - 0xc0608aa0 ( 379 kB)
    [ 0.000000] .bss : 0xc0608ac4 - 0xc0637464 ( 187 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 25000000 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.000000] console [tty0] enabled
    [ 0.000305] Calibrating delay loop... 996.14 BogoMIPS (lpj=4980736)
    [ 0.089233] pid_max: default: 32768 minimum: 301Untitled Document
    [ 0.089324] Security Framework initialized
    [ 0.089416] Mount-cache hash table entries: 512
    [ 0.089721] CPU: Testing write buffer coherency: ok
    [ 0.108886] omap_hwmod: gfx: failed to hardreset
    [ 0.124542] omap_hwmod: pruss: failed to hardreset
    [ 0.125457] print_constraints: dummy:
    [ 0.125793] NET: Registered protocol family 16
    [ 0.127471] OMAP GPIO hardware version 0.1
    [ 0.129455] omap_mux_init: Add partition: #1: core, flags: 0
    [ 0.130950] omap_i2c.1: alias fck already exists
    [ 0.131652] omap2_mcspi.1: alias fck already exists
    [ 0.131835] omap2_mcspi.2: alias fck already exists
    [ 0.132537] edma.0: alias fck already exists
    [ 0.132568] edma.0: alias fck already exists
    [ 0.132598] edma.0: alias fck already exists
    [ 0.149078] bio: create slab <bio-0> at 0
    [ 0.150787] SCSI subsystem initialized
    [ 0.152221] omap_i2c omap_i2c.1: bus 1 rev2.4.0 at 100 kHz
    [ 0.153289] tps65910 1-002d: could not be detected
    [ 0.154296] Advanced Linux Sound Architecture Driver Version 1.0.24.
    [ 0.155120] Switching to clocksource gp timer
    [ 0.166503] NET: Registered protocol family 2
    [ 0.166687] IP route cache hash table entries: 4096 (order: 2, 16384 bytes)
    [ 0.166961] TCP established hash table entries: 16384 (order: 5, 131072 bytes)
    [ 0.167175] TCP bind hash table entries: 16384 (order: 4, 65536 bytes)
    [ 0.167327] TCP: Hash tables configured (established 16384 bind 16384)
    [ 0.167327] TCP reno registered
    [ 0.167358] UDP hash table entries: 256 (order: 0, 4096 bytes)
    [ 0.167388] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
    [ 0.167541] NET: Registered protocol family 1
    [ 0.167785] RPC: Registered named UNIX socket transport module.
    [ 0.167785] RPC: Registered udp transport module.
    [ 0.167816] RPC: Registered tcp transport module.
    [ 0.167816] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [ 0.168029] NetWinder Floating Point Emulator V0.97 (double precision)
    [ 0.184906] VFS: Disk quotas dquot_6.5.2
    [ 0.184997] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
    [ 0.185699] msgmni has been set to 1002
    [ 0.188140] alg: No test for stdrng (krng)
    [ 0.188690] io scheduler noop registered
    [ 0.188720] io scheduler deadline registered
    [ 0.188781] io scheduler cfq registered (default)
    [ 0.189727] Could not set LED4 to fully on
    [ 0.226013] omap_uart.0: ttyO0 at MMIO 0x44e09000 (irq = 72) is a OMAP UART0
    [ 0.667266] console [ttyO0] enabled
    [ 0.671356] omap_uart.1: ttyO1 at MMIO 0x48022000 (irq = 73) is a OMAP UART1
    [ 0.679107] omap_uart.2: ttyO2 at MMIO 0x48024000 (irq = 74) is a OMAP UART2
    [ 0.686828] omap_uart.3: ttyO3 at MMIO 0x481a6000 (irq = 44) is a OMAP UART3
    [ 0.694519] omap_uart.4: ttyO4 at MMIO 0x481a8000 (irq = 45) is a OMAP UART4
    [ 0.702239] omap_uart.5: ttyO5 at MMIO 0x481aa000 (irq = 46) is a OMAP UART5
    [ 0.710327] omap4_rng omap4_rng: OMAP4 Random Number Generator ver. 2.00
    [ 0.724090] brd: module loaded
    [ 0.730926] loop: module loaded
    [ 0.734375] i2c-core: driver [tsl2550] using legacy suspend method
    [ 0.740905] i2c-core: driver [tsl2550] using legacy resume method
    [ 0.747344] at24 1-0051: 32768 byte 24c256 EEPROM, writable, 64 bytes/write
    [ 0.845611] No daughter card found
    [ 0.849212] at24 1-0050: 32768 byte 24c256 EEPROM, writable, 64 bytes/write
    [ 0.864410] Board name: A335BNLT
    [ 0.867797] Board version: 000C
    [ 0.871063] The board is a AM335x Beaglebone Black.
    [ 0.878204] tps65217 1-0024: TPS65217 ID 0xe version 1.2
    [ 0.885742] print_constraints: DCDC1: 900 <--> 1800 mV at 1500 mV
    [ 0.894195] print_constraints: DCDC2: 900 <--> 3300 mV at 1325 mV
    [ 0.902618] print_constraints: DCDC3: 900 <--> 1500 mV at 1125 mV
    [ 0.911010] print_constraints: LDO1: 1000 <--> 3300 mV at 1800 mV
    [ 0.919433] print_constraints: LDO2: 900 <--> 3300 mV at 3300 mV
    [ 0.927734] print_constraints: LDO3: 1800 <--> 3300 mV at 1800 mV
    [ 0.936126] print_constraints: LDO4: 1800 <--> 3300 mV at 3300 mV
    [ 0.943420] omap_hsmmc.0: alias fck already exists
    [ 0.948883] omap_hsmmc.1: alias fck already exists
    [ 0.954223] omap_i2c.3: alias fck already exists
    [ 0.959442] omap_i2c omap_i2c.3: bus 3 rev2.4.0 at 100 kHz
    [ 0.966766] registered am33xx_sr device
    [ 0.972198] mtdoops: mtd device (mtddev=name/number) must be supplied
    [ 0.979339] omap2-nand driver initializing
    [ 0.983734] OneNAND driver initializing
    [ 0.988739] CAN device driver interface
    [ 0.992767] CAN bus driver for Bosch D_CAN controller 1.0
    [ 1.045776] davinci_mdio davinci_mdio.0: davinci mdio revision 1.6
    [ 1.052246] davinci_mdio davinci_mdio.0: detected phy mask fffffffc
    [ 1.059906] davinci_mdio.0: probed
    [ 1.063476] davinci_mdio davinci_mdio.0: phy[0]: device 0:00, driver unknown
    [ 1.070861] davinci_mdio davinci_mdio.0: phy[1]: device 0:01, driver unknown
    [ 1.078704] mousedev: PS/2 mouse device common for all mice
    [ 1.085357] omap_rtc am33xx-rtc: rtc core: registered am33xx-rtc as rtc0
    [ 1.092620] i2c /dev entries driver
    [ 1.096740] Linux video capture interface: v2.00
    [ 1.376495] OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
    [ 1.383972] cpuidle: using governor ladder
    [ 1.388671] cpuidle: using governor menu
    [ 1.396118] mmc1: mmc_rescan_try_freq: trying to init card at 400000 Hz
    [ 1.403442] omap4_aes_mod_init: loading AM33X AES driver
    [ 1.409088] omap4-aes omap4-aes: AM33X AES hw accel rev: 3.02
    [ 1.415527] omap4_aes_probe: probe() done
    [ 1.420196] omap4_sham_mod_init: loading AM33X SHA/MD5 driver
    [ 1.426330] omap4-sham omap4-sham: AM33X SHA/MD5 hw accel rev: 4.03
    [ 1.439056] omap4_sham_probe: probe() done
    [ 1.447143] ALSA device list:
    [ 1.450347] No soundcards found.
    [ 1.453887] oprofile: hardware counters not available
    [ 1.459197] oprofile: using timer interrupt.
    [ 1.463684] nf_conntrack version 0.5.0 (8021 buckets, 32084 max)
    [ 1.470428] ip_tables: (C) 2000-2006 Netfilter Core Team
    [ 1.476104] TCP cubic registered
    [ 1.479492] NET: Registered protocol family 17
    [ 1.484130] can: controller area network core (rev 20090105 abi 8)
    [ 1.490692] NET: Registered protocol family 29
    [ 1.495361] can: raw protocol (rev 20090105)
    [ 1.499816] can: broadcast manager protocol (rev 20090105 t)
    [ 1.505798] Registering the dns_resolver key type
    [ 1.510772] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
    [ 1.518829] ThumbEE CPU extension supported.
    [ 1.523345] mux: Failed to setup hwmod io irq -22
    [ 1.528808] Power Management for AM33XX family
    [ 1.533630] Trying to load am335x-pm-firmware.bin (60 secs timeout)
    [ 1.540344] Copied the M3 firmware to UMEM
    [ 1.544708] Cortex M3 Firmware Version = 0x181
    [ 1.550262] create_regulator: DCDC2: Failed to create debugfs directory
    [ 1.557922] smartreflex smartreflex: am33xx_sr_probe: Driver initialized
    [ 1.569946] clock: disabling unused clocks to save power
    [ 1.584899] Detected MACID=84:eb:18:b8:b4:c2
    [ 1.590362] cpsw: Detected MACID = 84:eb:18:b8:b4:c4
    [ 1.596435] omap_rtc am33xx-rtc: setting system clock to 2000-01-01 00:00:00 UTC (946684800)
    [ 1.605773] Root-NFS: no NFS server address
    [ 1.610168] VFS: Unable to mount root fs via NFS, trying floppy.
    [ 1.616760] VFS: Cannot open root device "mmcblk0p2" or unknown-block(2,0)
    [ 1.623962] Please append a correct "root=" boot option; here are the available partitions:
    [ 1.632751] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(2,0)
    [ 1.641418] Backtrace:
    [ 1.644012] [<c0017dbc>] (dump_backtrace+0x0/0x10c) from [<c03fd9d0>] (dump_stack+0x18/0x1c)
    [ 1.652862] r6:00008000 r5:c04d6db0 r4:c060b808 r3:c05cdf0c
    [ 1.658813] [<c03fd9b8>] (dump_stack+0x0/0x1c) from [<c03fdc0c>] (panic+0x64/0x194)
    [ 1.666870] [<c03fdba8>] (panic+0x0/0x194) from [<c0570c88>] (mount_block_root+0x174/0x228)
    [ 1.675598] r3:00000000 r2:00000000 r1:df02df40 r0:c04d6db0
    [ 1.681549] r7:c04d6e18
    [ 1.684204] [<c0570b14>] (mount_block_root+0x0/0x228) from [<c0570ef0>] (mount_root+0xc8/0xe8)
    [ 1.693237] [<c0570e28>] (mount_root+0x0/0xe8) from [<c057107c>] (prepare_namespace+0x16c/0x1c0)
    [ 1.702423] r4:c0608b60
    [ 1.705078] [<c0570f10>] (prepare_namespace+0x0/0x1c0) from [<c05708fc>] (kernel_init+0xf4/0x120)
    [ 1.714385] r5:c05a9b9c r4:c05a9b9c
    [ 1.718139] [<c0570808>] (kernel_init+0x0/0x120) from [<c0042040>] (do_exit+0x0/0x65c)
    [ 1.726440] r5:c0570808 r4:00000000

  • Hi,

          Thanks for the reply.We have made the changes as per the previous post in u-boot and kernel files.We compiled and checked it.

    Upto "Starting udev its fine" ...  After that some problem in booting process ... Its behaving abruptly each time when we power on and off ...

    Same files is getting booted in AM335x starter kit board ...

    We have disabled LCD Display and USB ports drivers in menu config ... We are booting through MMC0 ...

    We checked DDR3 using emulator ... Its fine ...

    What is that udev file ? Any changes are required in that file ... Please suggest us ...

    Below is the console log.

    Uncompressing Linux... done, booting the kernel.
    [    0.000000] Linux version 3.2.0 (root@rrtestpc-ThinkCentre-A58) (gcc version 4.7.3 20130226 (prerelease) (crosstool-NG linaro-1.13.1-4.7-2013.
    03-20130313 - Linaro GCC 2013.03) ) #4 Fri Dec 9 12:33:39 IST 2016
    [    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 ES2.1 (neon )
    [    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 130048
    [    0.000000] Kernel command line: console=ttyO0,115200n8 root=/dev/mmcblk0p2 ro rootfstype=ext3 rootwait ip=none
    [    0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
    [    0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
    [    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
    [    0.000000] Memory: 512MB = 512MB total
    [    0.000000] Memory: 514236k/514236k available, 10052k 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 : 0xe0800000 - 0xff000000   ( 488 MB)
    [    0.000000]     lowmem  : 0xc0000000 - 0xe0000000   ( 512 MB)
    [    0.000000]     modules : 0xbf000000 - 0xc0000000   (  16 MB)
    [    0.000000]       .text : 0xc0008000 - 0xc04a8000   (4736 kB)
    [    0.000000]       .init : 0xc04a8000 - 0xc04de000   ( 216 kB)
    [    0.000000]       .data : 0xc04de000 - 0xc0536c28   ( 356 kB)
    [    0.000000]        .bss : 0xc0536c4c - 0xc05627c4   ( 175 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 25000000 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.000061] Calibrating delay loop... 996.14 BogoMIPS (lpj=4980736)
    [    0.088836] pid_max: default: 32768 minimum: 301
    [    0.088928] Security Framework initialized
    [    0.088989] Mount-cache hash table entries: 512
    [    0.089294] CPU: Testing write buffer coherency: ok
    [    0.089874] devtmpfs: initialized
    [    0.108612] omap_hwmod: gfx: failed to hardreset
    [    0.124267] omap_hwmod: pruss: failed to hardreset
    [    0.125152] print_constraints: dummy:
    [    0.125427] NET: Registered protocol family 16
    [    0.127075] OMAP GPIO hardware version 0.1
    [    0.128906] omap_mux_init: Add partition: #1: core, flags: 0
    [    0.130401]  omap_i2c.1: alias fck already exists
    [    0.131072]  omap2_mcspi.1: alias fck already exists
    [    0.131256]  omap2_mcspi.2: alias fck already exists
    [    0.131988]  edma.0: alias fck already exists
    [    0.131988]  edma.0: alias fck already exists
    [    0.131988]  edma.0: alias fck already exists
    [    0.145416] bio: create slab <bio-0> at 0
    [    0.147003] SCSI subsystem initialized
    [    0.148376] omap_i2c omap_i2c.1: bus 1 rev2.4.0 at 100 kHz
    [    0.149475] tps65910 1-002d: could not be detected
    [    0.151245] Switching to clocksource gp timer
    [    0.164642] NET: Registered protocol family 2
    [    0.164794] IP route cache hash table entries: 4096 (order: 2, 16384 bytes)
    [    0.165039] TCP established hash table entries: 16384 (order: 5, 131072 bytes)
    [    0.165252] TCP bind hash table entries: 16384 (order: 4, 65536 bytes)
    [    0.165374] TCP: Hash tables configured (established 16384 bind 16384)
    [    0.165405] TCP reno registered
    [    0.165405] UDP hash table entries: 256 (order: 0, 4096 bytes)
    [    0.165405] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
    [    0.165557] NET: Registered protocol family 1
    [    0.165771] RPC: Registered named UNIX socket transport module.
    [    0.165802] RPC: Registered udp transport module.
    [    0.165802] RPC: Registered tcp transport module.
    [    0.165802] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    0.165985] NetWinder Floating Point Emulator V0.97 (double precision)
    [    0.182830] VFS: Disk quotas dquot_6.5.2
    [    0.182891] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
    [    0.183288] msgmni has been set to 1004
    [    0.185699] alg: No test for stdrng (krng)
    [    0.186340] io scheduler noop registered
    [    0.186340] io scheduler deadline registered
    [    0.186401] io scheduler cfq registered (default)
    [    0.187377] omap_uart.0: ttyO0 at MMIO 0x44e09000 (irq = 72) is a OMAP UART0
    [    0.615753] console [ttyO0] enabled
    [    0.619873] omap_uart.1: ttyO1 at MMIO 0x48022000 (irq = 73) is a OMAP UART1
    [    0.627655] omap_uart.2: ttyO2 at MMIO 0x48024000 (irq = 74) is a OMAP UART2
    [    0.635406] omap_uart.3: ttyO3 at MMIO 0x481a6000 (irq = 44) is a OMAP UART3
    [    0.643127] omap_uart.4: ttyO4 at MMIO 0x481a8000 (irq = 45) is a OMAP UART4
    [    0.650848] omap_uart.5: ttyO5 at MMIO 0x481aa000 (irq = 46) is a OMAP UART5
    [    0.658966] omap4_rng omap4_rng: OMAP4 Random Number Generator ver. 2.00
    [    0.673461] brd: module loaded
    [    0.680480] loop: module loaded
    [    0.683959] i2c-core: driver [tsl2550] using legacy suspend method
    [    0.690399] i2c-core: driver [tsl2550] using legacy resume method
    [    0.696838] at24 1-0051: 32768 byte 24c256 EEPROM, writable, 64 bytes/write
    [    0.801452] No daughter card found
    [    0.805053] at24 1-0050: 32768 byte 24c256 EEPROM, writable, 64 bytes/write
    [    0.820220] Board name: A335BNLT
    [    0.823608] Board version: 000C
    [    0.826873] The board is a AM335x Beaglebone Black.
    [    0.833984] tps65217 1-0024: TPS65217 ID 0xe version 1.2
    [    0.841491] print_constraints: DCDC1: 900 <--> 1800 mV at 1500 mV
    [    0.849914] print_constraints: DCDC2: 900 <--> 3300 mV at 1325 mV
    [    0.858337] print_constraints: DCDC3: 900 <--> 1500 mV at 1125 mV
    [    0.866699] print_constraints: LDO1: 1000 <--> 3300 mV at 1800 mV
    [    0.875061] print_constraints: LDO2: 900 <--> 3300 mV at 3300 mV
    [    0.883361] print_constraints: LDO3: 1800 <--> 3300 mV at 1800 mV
    [    0.891723] print_constraints: LDO4: 1800 <--> 3300 mV at 3300 mV
    [    0.898986]  omap_hsmmc.0: alias fck already exists
    [    0.904418]  omap_hsmmc.1: alias fck already exists
    [    0.909759]  omap_i2c.3: alias fck already exists
    [    0.914978] omap_i2c omap_i2c.3: bus 3 rev2.4.0 at 100 kHz
    [    0.922241] registered am33xx_sr device
    [    0.927703] mtdoops: mtd device (mtddev=name/number) must be supplied
    [    0.934783] omap2-nand driver initializing
    [    0.939178] OneNAND driver initializing
    [    0.945098] CAN device driver interface
    [    0.949096] CAN bus driver for Bosch D_CAN controller 1.0
    [    1.001525] davinci_mdio davinci_mdio.0: davinci mdio revision 1.6
    [    1.007995] davinci_mdio davinci_mdio.0: detected phy mask fffffffc
    [    1.015625] davinci_mdio.0: probed
    [    1.019195] davinci_mdio davinci_mdio.0: phy[0]: device 0:00, driver Marvell 88E1512
    [    1.027313] davinci_mdio davinci_mdio.0: phy[1]: device 0:01, driver Marvell 88E1512
    [    1.035919] mousedev: PS/2 mouse device common for all mice
    [    1.042785] omap_rtc am33xx-rtc: rtc core: registered am33xx-rtc as rtc0
    [    1.049804] am33xx-rtc: already running
    [    1.054016] i2c /dev entries driver
    [    1.332458] OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
    [    1.339904] cpuidle: using governor ladder
    [    1.344573] cpuidle: using governor menu
    [    1.351898] omap4_aes_mod_init: loading AM33X AES driver
    [    1.357543] omap4-aes omap4-aes: AM33X AES hw accel rev: 3.02
    [    1.364196] omap4_aes_probe: probe() done
    [    1.368560] omap4_sham_mod_init: loading AM33X SHA/MD5 driver
    [    1.374664] omap4-sham omap4-sham: AM33X SHA/MD5 hw accel rev: 4.03
    [    1.388244] omap4_sham_probe: probe() done
    [    1.396087] oprofile: hardware counters not available
    [    1.401397] oprofile: using timer interrupt.
    [    1.405883] nf_conntrack version 0.5.0 (8034 buckets, 32136 max)
    [    1.412597] ip_tables: (C) 2000-2006 Netfilter Core Team
    [    1.418243] TCP cubic registered
    [    1.421600] NET: Registered protocol family 17
    [    1.426300] can: controller area network core (rev 20090105 abi 8)
    [    1.432830] NET: Registered protocol family 29
    [    1.437469] can: raw protocol (rev 20090105)
    [    1.441925] can: broadcast manager protocol (rev 20090105 t)
    [    1.447875] Registering the dns_resolver key type
    [    1.452850] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
    [    1.460876] ThumbEE CPU extension supported.
    [    1.465393] mux: Failed to setup hwmod io irq -22
    [    1.470855] Power Management for AM33XX family
    [    1.475677] Trying to load am335x-pm-firmware.bin (60 secs timeout)
    [    1.482360] Copied the M3 firmware to UMEM
    [    1.486724] Cortex M3 Firmware Version = 0x181
    [    1.492126] create_regulator: DCDC2: Failed to create debugfs directory
    [    1.499694] smartreflex smartreflex: am33xx_sr_probe: Driver initialized
    [    1.510559] clock: disabling unused clocks to save power
    [    1.525756] Detected MACID=84:eb:18:b8:b4:c2
    [    1.531097] cpsw: Detected MACID = 84:eb:18:b8:b4:c4
    [    1.537200] omap_rtc am33xx-rtc: setting system clock to 2000-01-01 00:00:19 UTC (946684819)
    [    1.546478] Waiting for root device /dev/mmcblk0p2...
    [    1.584136] mmc0: host does not support reading read-only switch. assuming write-enable.
    [    1.595947] mmc0: new high speed SDHC card at address aaaa
    [    1.602172] mmcblk0: mmc0:aaaa SU04G 3.69 GiB
    [    1.608367]  mmcblk0: p1 p2
    [    1.664855] kjournald starting.  Commit interval 5 seconds
    [    1.670623] EXT3-fs (mmcblk0p2): mounted filesystem with ordered data mode
    [    1.677886] VFS: Mounted root (ext3 filesystem) readonly on device 179:2.
    [    1.686462] devtmpfs: mounted
    [    1.689849] Freeing init memory: 216K
    INIT: version 2.88 booting
    Error opening /dev/fb0: No such file or directory
    Starting udev
    [    2.190155] udev[740]: starting version 164
    [    2.300750] Unable to handle kernel paging request at virtual address 7fffffff
    [    2.308319] pgd = c0004000
    [    2.311157] [7fffffff] *pgd=00000000
    [    2.314880] Internal error: Oops: 5 [#1]
    [    2.319000] Modules linked in:
    [    2.322174] CPU: 0    Not tainted  (3.2.0 #4)
    [    2.326751] PC is at wait_for_common+0x110/0x130
    [    2.331573] LR is at __schedule+0x19c/0x35c
    [    2.335937] pc : [<c036c010>]    lr : [<c036c388>]    psr: 200f0093
    [    2.335968] sp : df277e40  ip : df265d3c  fp : df277e84
    [    2.347961] r10: c003b2c0  r9 : df1b63c0  r8 : df265d38
    [    2.353424] r7 : 00000000  r6 : 00000000  r5 : 00000002  r4 : df276000
    [    2.360229] r3 : 00000000  r2 : 00200200  r1 : 00100100  r0 : 7fffffff
    [    2.367065] Flags: nzCv  IRQs off  FIQs on  Mode SVC_32  ISA ARM  Segment kernel
    [    2.374786] Control: 10c5387d  Table: 9f504019  DAC: 00000015
    [    2.380798] Process mmcqd/0 (pid: 709, stack limit = 0xdf2762f0)
    [    2.387054] Stack: (0xdf277e40 to 0xdf278000)
    [    2.391632] 7e40: df277ec4 00000001 df1b63c0 c003b2c0 00100100 00200200 df277f14 df1d9400
    [    2.400177] 7e60: df1d9400 df265d28 df265d38 00000000 df266650 c05353f8 df277e94 df277e88
    [    2.408721] 7e80: c036c048 c036bf0c df277ec4 df277e98 c028f22c c036c03c df265d28 df265e18
    [    2.417266] 7ea0: df1d9400 df265e18 00000000 df265c04 df265e18 df277f14 df277ef4 df277ec8
    [    2.425842] 7ec0: c028fdc8 c028f1b8 df277f14 df25d000 df265c04 df25d000 df265c04 df265c00
    [    2.434387] 7ee0: df266650 00000000 df277f44 df277ef8 c029c724 c028fd78 c028f61c c028f44c
    [    2.442932] 7f00: 00000000 00000000 df265c00 df277f14 00100100 00000000 c01be35c df25d000
    [    2.451477] 7f20: df265c04 00000000 df265c00 df265c00 df266650 df265c0c df277f8c df277f48
    [    2.460021] 7f40: c029cc5c c029c6c0 df277f74 df277f58 c01b3140 c01be184 df1b63c0 df265c04
    [    2.468597] 7f60: 00000000 df265c04 00000000 df276000 df1c6730 00000001 df266650 df265c0c
    [    2.477142] 7f80: df277fbc df277f90 c029cf50 c029ca20 00000000 df035cbc df265c04 c029cef0
    [    2.485687] 7fa0: 00000013 00000000 00000000 00000000 df277ff4 df277fc0 c00573cc c029cefc
    [    2.494232] 7fc0: df035cbc 00000000 df265c04 00000000 df277fd0 df277fd0 00000000 df035cbc
    [    2.502777] 7fe0: c0057340 c0042054 00000000 df277ff8 c0042054 c005734c bf73ab55 d8d6371f
    [    2.511352] Backtrace:
    [    2.513916] [<c036bf00>] (wait_for_common+0x0/0x130) from [<c036c048>] (wait_for_completion+0x18/0x1c)
    [    2.523651] [<c036c030>] (wait_for_completion+0x0/0x1c) from [<c028f22c>] (mmc_wait_for_req_done+0x80/0xcc)
    [    2.533813] [<c028f1ac>] (mmc_wait_for_req_done+0x0/0xcc) from [<c028fdc8>] (mmc_start_req+0x5c/0x128)
    [    2.543548] [<c028fd6c>] (mmc_start_req+0x0/0x128) from [<c029c724>] (mmc_blk_issue_rw_rq+0x70/0x360)
    [    2.553192] [<c029c6b4>] (mmc_blk_issue_rw_rq+0x0/0x360) from [<c029cc5c>] (mmc_blk_issue_rq+0x248/0x494)
    [    2.563201] [<c029ca14>] (mmc_blk_issue_rq+0x0/0x494) from [<c029cf50>] (mmc_queue_thread+0x60/0xf4)
    [    2.572753] [<c029cef0>] (mmc_queue_thread+0x0/0xf4) from [<c00573cc>] (kthread+0x8c/0x94)
    [    2.581420] [<c0057340>] (kthread+0x0/0x94) from [<c0042054>] (do_exit+0x0/0x65c)
    [    2.589233]  r6:c0042054 r5:c0057340 r4:df035cbc
    [    2.594085] Code: 00000000 00000000 bf000000 df4f59c0 (c05012d4)
    [    2.600494] ---[ end trace 657e760ae7d9bc00 ]---
     

    Thanks in advance.

  • Hi,

          Thanks for the reply.We have made the changes as per the previous post in u-boot and kernel files.We compiled and checked it.

    Upto "Starting udev its fine" ...  After that some problem in booting process ... Its behaving abruptly each time when we power on and off ...

    Same files is getting booted in AM335x starter kit board ...

    We have disabled LCD Display and USB ports drivers in menu config ... We are booting through MMC0 ...

    We checked DDR3 using emulator ... Its fine ...

    What is that udev file ? Any changes are required in that file ... Please suggest us ...

    Below is the console log.

    Uncompressing Linux... done, booting the kernel.
    [    0.000000] Linux version 3.2.0 (root@rrtestpc-ThinkCentre-A58) (gcc version 4.7.3 20130226 (prerelease) (crosstool-NG linaro-1.13.1-4.7-2013.
    03-20130313 - Linaro GCC 2013.03) ) #4 Fri Dec 9 12:33:39 IST 2016
    [    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 ES2.1 (neon )
    [    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 130048
    [    0.000000] Kernel command line: console=ttyO0,115200n8 root=/dev/mmcblk0p2 ro rootfstype=ext3 rootwait ip=none
    [    0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
    [    0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
    [    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
    [    0.000000] Memory: 512MB = 512MB total
    [    0.000000] Memory: 514236k/514236k available, 10052k 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 : 0xe0800000 - 0xff000000   ( 488 MB)
    [    0.000000]     lowmem  : 0xc0000000 - 0xe0000000   ( 512 MB)
    [    0.000000]     modules : 0xbf000000 - 0xc0000000   (  16 MB)
    [    0.000000]       .text : 0xc0008000 - 0xc04a8000   (4736 kB)
    [    0.000000]       .init : 0xc04a8000 - 0xc04de000   ( 216 kB)
    [    0.000000]       .data : 0xc04de000 - 0xc0536c28   ( 356 kB)
    [    0.000000]        .bss : 0xc0536c4c - 0xc05627c4   ( 175 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 25000000 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.000061] Calibrating delay loop... 996.14 BogoMIPS (lpj=4980736)
    [    0.088836] pid_max: default: 32768 minimum: 301
    [    0.088928] Security Framework initialized
    [    0.088989] Mount-cache hash table entries: 512
    [    0.089294] CPU: Testing write buffer coherency: ok
    [    0.089874] devtmpfs: initialized
    [    0.108612] omap_hwmod: gfx: failed to hardreset
    [    0.124267] omap_hwmod: pruss: failed to hardreset
    [    0.125152] print_constraints: dummy: 
    [    0.125427] NET: Registered protocol family 16
    [    0.127075] OMAP GPIO hardware version 0.1
    [    0.128906] omap_mux_init: Add partition: #1: core, flags: 0
    [    0.130401]  omap_i2c.1: alias fck already exists
    [    0.131072]  omap2_mcspi.1: alias fck already exists
    [    0.131256]  omap2_mcspi.2: alias fck already exists
    [    0.131988]  edma.0: alias fck already exists
    [    0.131988]  edma.0: alias fck already exists
    [    0.131988]  edma.0: alias fck already exists
    [    0.145416] bio: create slab <bio-0> at 0
    [    0.147003] SCSI subsystem initialized
    [    0.148376] omap_i2c omap_i2c.1: bus 1 rev2.4.0 at 100 kHz
    [    0.149475] tps65910 1-002d: could not be detected
    [    0.151245] Switching to clocksource gp timer
    [    0.164642] NET: Registered protocol family 2
    [    0.164794] IP route cache hash table entries: 4096 (order: 2, 16384 bytes)
    [    0.165039] TCP established hash table entries: 16384 (order: 5, 131072 bytes)
    [    0.165252] TCP bind hash table entries: 16384 (order: 4, 65536 bytes)
    [    0.165374] TCP: Hash tables configured (established 16384 bind 16384)
    [    0.165405] TCP reno registered
    [    0.165405] UDP hash table entries: 256 (order: 0, 4096 bytes)
    [    0.165405] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
    [    0.165557] NET: Registered protocol family 1
    [    0.165771] RPC: Registered named UNIX socket transport module.
    [    0.165802] RPC: Registered udp transport module.
    [    0.165802] RPC: Registered tcp transport module.
    [    0.165802] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    0.165985] NetWinder Floating Point Emulator V0.97 (double precision)
    [    0.182830] VFS: Disk quotas dquot_6.5.2
    [    0.182891] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
    [    0.183288] msgmni has been set to 1004
    [    0.185699] alg: No test for stdrng (krng)
    [    0.186340] io scheduler noop registered
    [    0.186340] io scheduler deadline registered
    [    0.186401] io scheduler cfq registered (default)
    [    0.187377] omap_uart.0: ttyO0 at MMIO 0x44e09000 (irq = 72) is a OMAP UART0
    [    0.615753] console [ttyO0] enabled
    [    0.619873] omap_uart.1: ttyO1 at MMIO 0x48022000 (irq = 73) is a OMAP UART1
    [    0.627655] omap_uart.2: ttyO2 at MMIO 0x48024000 (irq = 74) is a OMAP UART2
    [    0.635406] omap_uart.3: ttyO3 at MMIO 0x481a6000 (irq = 44) is a OMAP UART3
    [    0.643127] omap_uart.4: ttyO4 at MMIO 0x481a8000 (irq = 45) is a OMAP UART4
    [    0.650848] omap_uart.5: ttyO5 at MMIO 0x481aa000 (irq = 46) is a OMAP UART5
    [    0.658966] omap4_rng omap4_rng: OMAP4 Random Number Generator ver. 2.00
    [    0.673461] brd: module loaded
    [    0.680480] loop: module loaded
    [    0.683959] i2c-core: driver [tsl2550] using legacy suspend method
    [    0.690399] i2c-core: driver [tsl2550] using legacy resume method
    [    0.696838] at24 1-0051: 32768 byte 24c256 EEPROM, writable, 64 bytes/write
    [    0.801452] No daughter card found
    [    0.805053] at24 1-0050: 32768 byte 24c256 EEPROM, writable, 64 bytes/write
    [    0.820220] Board name: A335BNLT
    [    0.823608] Board version: 000C
    [    0.826873] The board is a AM335x Beaglebone Black.
    [    0.833984] tps65217 1-0024: TPS65217 ID 0xe version 1.2
    [    0.841491] print_constraints: DCDC1: 900 <--> 1800 mV at 1500 mV 
    [    0.849914] print_constraints: DCDC2: 900 <--> 3300 mV at 1325 mV 
    [    0.858337] print_constraints: DCDC3: 900 <--> 1500 mV at 1125 mV 
    [    0.866699] print_constraints: LDO1: 1000 <--> 3300 mV at 1800 mV 
    [    0.875061] print_constraints: LDO2: 900 <--> 3300 mV at 3300 mV 
    [    0.883361] print_constraints: LDO3: 1800 <--> 3300 mV at 1800 mV 
    [    0.891723] print_constraints: LDO4: 1800 <--> 3300 mV at 3300 mV 
    [    0.898986]  omap_hsmmc.0: alias fck already exists
    [    0.904418]  omap_hsmmc.1: alias fck already exists
    [    0.909759]  omap_i2c.3: alias fck already exists
    [    0.914978] omap_i2c omap_i2c.3: bus 3 rev2.4.0 at 100 kHz
    [    0.922241] registered am33xx_sr device
    [    0.927703] mtdoops: mtd device (mtddev=name/number) must be supplied
    [    0.934783] omap2-nand driver initializing
    [    0.939178] OneNAND driver initializing
    [    0.945098] CAN device driver interface
    [    0.949096] CAN bus driver for Bosch D_CAN controller 1.0
    [    1.001525] davinci_mdio davinci_mdio.0: davinci mdio revision 1.6
    [    1.007995] davinci_mdio davinci_mdio.0: detected phy mask fffffffc
    [    1.015625] davinci_mdio.0: probed
    [    1.019195] davinci_mdio davinci_mdio.0: phy[0]: device 0:00, driver Marvell 88E1512
    [    1.027313] davinci_mdio davinci_mdio.0: phy[1]: device 0:01, driver Marvell 88E1512
    [    1.035919] mousedev: PS/2 mouse device common for all mice
    [    1.042785] omap_rtc am33xx-rtc: rtc core: registered am33xx-rtc as rtc0
    [    1.049804] am33xx-rtc: already running
    [    1.054016] i2c /dev entries driver
    [    1.332458] OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
    [    1.339904] cpuidle: using governor ladder
    [    1.344573] cpuidle: using governor menu
    [    1.351898] omap4_aes_mod_init: loading AM33X AES driver
    [    1.357543] omap4-aes omap4-aes: AM33X AES hw accel rev: 3.02
    [    1.364196] omap4_aes_probe: probe() done
    [    1.368560] omap4_sham_mod_init: loading AM33X SHA/MD5 driver
    [    1.374664] omap4-sham omap4-sham: AM33X SHA/MD5 hw accel rev: 4.03
    [    1.388244] omap4_sham_probe: probe() done
    [    1.396087] oprofile: hardware counters not available
    [    1.401397] oprofile: using timer interrupt.
    [    1.405883] nf_conntrack version 0.5.0 (8034 buckets, 32136 max)
    [    1.412597] ip_tables: (C) 2000-2006 Netfilter Core Team
    [    1.418243] TCP cubic registered
    [    1.421600] NET: Registered protocol family 17
    [    1.426300] can: controller area network core (rev 20090105 abi 8)
    [    1.432830] NET: Registered protocol family 29
    [    1.437469] can: raw protocol (rev 20090105)
    [    1.441925] can: broadcast manager protocol (rev 20090105 t)
    [    1.447875] Registering the dns_resolver key type
    [    1.452850] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
    [    1.460876] ThumbEE CPU extension supported.
    [    1.465393] mux: Failed to setup hwmod io irq -22
    [    1.470855] Power Management for AM33XX family
    [    1.475677] Trying to load am335x-pm-firmware.bin (60 secs timeout)
    [    1.482360] Copied the M3 firmware to UMEM
    [    1.486724] Cortex M3 Firmware Version = 0x181
    [    1.492126] create_regulator: DCDC2: Failed to create debugfs directory
    [    1.499694] smartreflex smartreflex: am33xx_sr_probe: Driver initialized
    [    1.510559] clock: disabling unused clocks to save power
    [    1.525756] Detected MACID=84:eb:18:b8:b4:c2
    [    1.531097] cpsw: Detected MACID = 84:eb:18:b8:b4:c4
    [    1.537200] omap_rtc am33xx-rtc: setting system clock to 2000-01-01 00:00:19 UTC (946684819)
    [    1.546478] Waiting for root device /dev/mmcblk0p2...
    [    1.584136] mmc0: host does not support reading read-only switch. assuming write-enable.
    [    1.595947] mmc0: new high speed SDHC card at address aaaa
    [    1.602172] mmcblk0: mmc0:aaaa SU04G 3.69 GiB 
    [    1.608367]  mmcblk0: p1 p2
    [    1.664855] kjournald starting.  Commit interval 5 seconds
    [    1.670623] EXT3-fs (mmcblk0p2): mounted filesystem with ordered data mode
    [    1.677886] VFS: Mounted root (ext3 filesystem) readonly on device 179:2.
    [    1.686462] devtmpfs: mounted
    [    1.689849] Freeing init memory: 216K
    INIT: version 2.88 booting
    Error opening /dev/fb0: No such file or directory
    Starting udev
    [    2.190155] udev[740]: starting version 164
    [    2.300750] Unable to handle kernel paging request at virtual address 7fffffff
    [    2.308319] pgd = c0004000
    [    2.311157] [7fffffff] *pgd=00000000
    [    2.314880] Internal error: Oops: 5 [#1]
    [    2.319000] Modules linked in:
    [    2.322174] CPU: 0    Not tainted  (3.2.0 #4)
    [    2.326751] PC is at wait_for_common+0x110/0x130
    [    2.331573] LR is at __schedule+0x19c/0x35c
    [    2.335937] pc : [<c036c010>]    lr : [<c036c388>]    psr: 200f0093
    [    2.335968] sp : df277e40  ip : df265d3c  fp : df277e84
    [    2.347961] r10: c003b2c0  r9 : df1b63c0  r8 : df265d38
    [    2.353424] r7 : 00000000  r6 : 00000000  r5 : 00000002  r4 : df276000
    [    2.360229] r3 : 00000000  r2 : 00200200  r1 : 00100100  r0 : 7fffffff
    [    2.367065] Flags: nzCv  IRQs off  FIQs on  Mode SVC_32  ISA ARM  Segment kernel
    [    2.374786] Control: 10c5387d  Table: 9f504019  DAC: 00000015
    [    2.380798] Process mmcqd/0 (pid: 709, stack limit = 0xdf2762f0)
    [    2.387054] Stack: (0xdf277e40 to 0xdf278000)
    [    2.391632] 7e40: df277ec4 00000001 df1b63c0 c003b2c0 00100100 00200200 df277f14 df1d9400
    [    2.400177] 7e60: df1d9400 df265d28 df265d38 00000000 df266650 c05353f8 df277e94 df277e88
    [    2.408721] 7e80: c036c048 c036bf0c df277ec4 df277e98 c028f22c c036c03c df265d28 df265e18
    [    2.417266] 7ea0: df1d9400 df265e18 00000000 df265c04 df265e18 df277f14 df277ef4 df277ec8
    [    2.425842] 7ec0: c028fdc8 c028f1b8 df277f14 df25d000 df265c04 df25d000 df265c04 df265c00
    [    2.434387] 7ee0: df266650 00000000 df277f44 df277ef8 c029c724 c028fd78 c028f61c c028f44c
    [    2.442932] 7f00: 00000000 00000000 df265c00 df277f14 00100100 00000000 c01be35c df25d000
    [    2.451477] 7f20: df265c04 00000000 df265c00 df265c00 df266650 df265c0c df277f8c df277f48
    [    2.460021] 7f40: c029cc5c c029c6c0 df277f74 df277f58 c01b3140 c01be184 df1b63c0 df265c04
    [    2.468597] 7f60: 00000000 df265c04 00000000 df276000 df1c6730 00000001 df266650 df265c0c
    [    2.477142] 7f80: df277fbc df277f90 c029cf50 c029ca20 00000000 df035cbc df265c04 c029cef0
    [    2.485687] 7fa0: 00000013 00000000 00000000 00000000 df277ff4 df277fc0 c00573cc c029cefc
    [    2.494232] 7fc0: df035cbc 00000000 df265c04 00000000 df277fd0 df277fd0 00000000 df035cbc
    [    2.502777] 7fe0: c0057340 c0042054 00000000 df277ff8 c0042054 c005734c bf73ab55 d8d6371f
    [    2.511352] Backtrace: 
    [    2.513916] [<c036bf00>] (wait_for_common+0x0/0x130) from [<c036c048>] (wait_for_completion+0x18/0x1c)
    [    2.523651] [<c036c030>] (wait_for_completion+0x0/0x1c) from [<c028f22c>] (mmc_wait_for_req_done+0x80/0xcc)
    [    2.533813] [<c028f1ac>] (mmc_wait_for_req_done+0x0/0xcc) from [<c028fdc8>] (mmc_start_req+0x5c/0x128)
    [    2.543548] [<c028fd6c>] (mmc_start_req+0x0/0x128) from [<c029c724>] (mmc_blk_issue_rw_rq+0x70/0x360)
    [    2.553192] [<c029c6b4>] (mmc_blk_issue_rw_rq+0x0/0x360) from [<c029cc5c>] (mmc_blk_issue_rq+0x248/0x494)
    [    2.563201] [<c029ca14>] (mmc_blk_issue_rq+0x0/0x494) from [<c029cf50>] (mmc_queue_thread+0x60/0xf4)
    [    2.572753] [<c029cef0>] (mmc_queue_thread+0x0/0xf4) from [<c00573cc>] (kthread+0x8c/0x94)
    [    2.581420] [<c0057340>] (kthread+0x0/0x94) from [<c0042054>] (do_exit+0x0/0x65c)
    [    2.589233]  r6:c0042054 r5:c0057340 r4:df035cbc
    [    2.594085] Code: 00000000 00000000 bf000000 df4f59c0 (c05012d4) 
    [    2.600494] ---[ end trace 657e760ae7d9bc00 ]---
     

    Thanks in advance.