Hello,TIer.
We have been always use a fixed 1.0V DC/DC for DM8168's AVS supply.Nowadays,we start to enable AVS for DM8168's AVS.We use AVS based on GPIO.
However,when we enable AVS from the kernel according to the TI wiki page,some strange problem happens:
1.
Uboot:DVRRDK 4.0 EVM version
Kernel:DVRRDK 3.0,Enable AVS;
Phenomenon:The boot will be halted after print "OMAP Watchdog Timer Rev 0x00: initial timeout 60 sec"
Sometimes
2
Uboot:DVRRDK 4.0 DVR version
Kernel:DVRRDK 3.0,Enable AVS
Phenomenon:The boot will be halted when DM8168 trying to connect SATA,and then reboot.
3.
Uboot:DVRRDK 4.0 EVM version
Kernel:DVRRDK 3.0 Disable AVS:
Phenomenon:When uncompress kernel,it prints "uncompression error"
4. I change another board,and modify AVS DC/DC's output capacitor to 660uF.
However,sometimes,it can boot up normally.
I notice that during the Uboot boot,the AVS2 pin output a sequence of pulse,it seems that it is not a AVS control pin,it is still a GPMC_DIR pin.and AVS0 also toggole 2 or 3times.
Is it a hardware problem?
AVS IO mapping:
AVS0----GP1[0]---Q42
AVS1----GP1[29]---Q45
AVS2----GP1[20]---Q43
AVS3----GP0[1]---Q46
AVS4----GP0[4]---Q443542.EastsoftSCH _ SHEET75 - Power_D.pdf
NAND read: device 0 offset 0x580000, size 0x300000 3145728 bytes read: OK ## Booting kernel from Legacy Image at 81000000 ... Image Name: Linux-2.6.37 Created: 2014-04-16 6:19:27 UTC Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 2839264 Bytes = 2.7 MiB Load Address: 80008000 Entry Point: 80008000 Verifying Checksum ... OK Loading Kernel Image ... OK OK Starting kernel ... Uncompressing Linux... done, booting the kernel. Linux version 2.6.37 (root@ubuntu) (gcc version 4.3.3 (Sourcery G++ Lite 2009q1-203) ) #48 Tue Apr 15 20:51:49 CST 2014 CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c53c7f CPU: VIPT nonaliasing data cache, VIPT aliasing instruction cache Machine: ti8168es reserved size = 52428800 at 0x0 FB: Reserving 52428800 bytes SDRAM for VRAM Memory policy: ECC disabled, Data cache writeback OMAP chip is TI8168 2.0 Built 1 zonelists in Zone order, mobility grouping on. Total pages: 52224 Kernel command line: mem=256M console=ttyO2,115200n8 PID hash table entries: 1024 (order: 0, 4096 bytes) Dentry cache hash table entries: 32768 (order: 5, 131072 bytes) Inode-cache hash table entries: 16384 (order: 4, 65536 bytes) Memory: 206MB = 206MB total Memory: 202648k/202648k available, 59496k reserved, 0K highmem Virtual kernel memory layout: vector : 0xffff0000 - 0xffff1000 ( 4 kB) fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB) DMA : 0xffc00000 - 0xffe00000 ( 2 MB) vmalloc : 0xd0800000 - 0xf8000000 ( 632 MB) lowmem : 0xc0000000 - 0xd0000000 ( 256 MB) pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB) modules : 0xbf000000 - 0xbfe00000 ( 14 MB) .init : 0xc0008000 - 0xc003d000 ( 212 kB) .text : 0xc003d000 - 0xc0558000 (5228 kB) .data : 0xc0558000 - 0xc05a2900 ( 299 kB) SLUB: Genslabs=11, HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 NR_IRQS:407 IRQ: Found an INTC at 0xfa200000 (revision 5.0) with 128 interrupts Total of 128 interrupts on 1 active controller GPMC revision 6.0 Trying to install interrupt handler for IRQ400 Trying to install interrupt handler for IRQ401 Trying to install interrupt handler for IRQ402 Trying to install interrupt handler for IRQ403 Trying to install interrupt handler for IRQ404 Trying to install interrupt handler for IRQ405 Trying to install interrupt handler for IRQ406 Trying to install type control for IRQ407 Trying to set irq flags for IRQ407 OMAP clockevent source: GPTIMER1 at 27000000 Hz Console: colour dummy device 80x30 Calibrating delay loop... 1199.30 BogoMIPS (lpj=5996544) pid_max: default: 32768 minimum: 301 Security Framework initialized Mount-cache hash table entries: 512 CPU: Testing write buffer coherency: ok devtmpfs: initialized omap_voltage_early_init: voltage driver support not added regulator: core version 0.5 regulator: dummy: NET: Registered protocol family 16 omap_voltage_domain_lookup: Voltage driver init not yet happened.Faulting! omap_voltage_add_dev: VDD specified does not exist! OMAP GPIO hardware version 0.1 OMAP GPIO hardware version 0.1 omap_mux_init: Add partition: #1: core, flags: 0 _omap_mux_get_by_name: Could not find signal i2c2_scl.i2c2_scl _omap_mux_get_by_name: Could not find signal i2c2_sda.i2c2_sda registered ti816x_gpio_vr device registered ti816x_sr device pm_dbg_init: only OMAP3 supported registered ti81xx_vpss device registered ti81xx_vidout device registered ti81xx on-chip HDMI device registered ti81xx_fb device ti81xx_pcie: Invoking PCI BIOS... ti81xx_pcie: Setting up Host Controller... ti81xx_pcie: Register base mapped @0xd0820000 ti81xx_pcie: Starting PCI scan... PCI: bus0: Fast back to back transfers disabled PCI: bus1: Fast back to back transfers disabled pci 0000:00:00.0: BAR 8: assigned [mem 0x20000000-0x200fffff] pci 0000:01:00.0: BAR 0: assigned [mem 0x20000000-0x20007fff] pci 0000:01:00.0: BAR 0: set to [mem 0x20000000-0x20007fff] (PCI address [0x20000000-0x20007fff]) pci 0000:01:00.0: BAR 1: assigned [mem 0x20008000-0x2000bfff] pci 0000:01:00.0: BAR 1: set to [mem 0x20008000-0x2000bfff] (PCI address [0x20008000-0x2000bfff]) pci 0000:00:00.0: PCI bridge to [bus 01-01] pci 0000:00:00.0: bridge window [io disabled] pci 0000:00:00.0: bridge window [mem 0x20000000-0x200fffff] pci 0000:00:00.0: bridge window [mem pref disabled] PCI: enabling device 0000:00:00.0 (0140 -> 0143) bio: create slab <bio-0> at 0 regulator: VFB: 800 <--> 1025 mV at 905 mV vgaarb: loaded xr20m1172 Initcall... SCSI subsystem initialized usbcore: registered new interface driver usbfs usbcore: registered new interface driver hub usbcore: registered new device driver usb USBSS revision 4ea20809 registerd cppi-dma Intr @ IRQ 17 Cppi41 Init Done omap_i2c omap_i2c.1: bus 1 rev4.0 at 100 kHz xr20m1172: Probe Called... xr20m1172 1-0030: chip found, driver version 0.0.1 XR20M1172_CORE_TEST register reading...00 omap_i2c omap_i2c.2: bus 2 rev4.0 at 100 kHz Advanced Linux Sound Architecture Driver Version 1.0.23. Switching to clocksource gp timer musb-hdrc: version 6.0, host, debug=0 musb-hdrc musb-hdrc.0: dma type: dma-cppi41 MUSB controller-0 revision 4ea20800 musb-hdrc musb-hdrc.0: MUSB HDRC host driver musb-hdrc musb-hdrc.0: new USB bus registered, assigned bus number 1 usb usb1: New USB device found, idVendor=1d6b, idProduct=0002 usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 usb usb1: Product: MUSB HDRC host driver usb usb1: Manufacturer: Linux 2.6.37 musb-hcd usb usb1: SerialNumber: musb-hdrc.0 hub 1-0:1.0: USB hub found hub 1-0:1.0: 1 port detected musb-hdrc musb-hdrc.0: USB Host mode controller at d081e000 using DMA, IRQ 18 musb-hdrc musb-hdrc.1: dma type: dma-cppi41 MUSB controller-1 revision 4ea20800 musb-hdrc musb-hdrc.1: MUSB HDRC host driver musb-hdrc musb-hdrc.1: new USB bus registered, assigned bus number 2 usb usb2: New USB device found, idVendor=1d6b, idProduct=0002 usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1 usb usb2: Product: MUSB HDRC host driver usb usb2: Manufacturer: Linux 2.6.37 musb-hcd usb usb2: SerialNumber: musb-hdrc.1 hub 2-0:1.0: USB hub found hub 2-0:1.0: 1 port detected musb-hdrc musb-hdrc.1: USB Host mode controller at d0826800 using DMA, IRQ 19 NET: Registered protocol family 2 IP route cache hash table entries: 2048 (order: 1, 8192 bytes) TCP established hash table entries: 8192 (order: 4, 65536 bytes) TCP bind hash table entries: 8192 (order: 3, 32768 bytes) TCP: Hash tables configured (established 8192 bind 8192) TCP reno registered UDP hash table entries: 256 (order: 0, 4096 bytes) UDP-Lite hash table entries: 256 (order: 0, 4096 bytes) NET: Registered protocol family 1 RPC: Registered udp transport module. RPC: Registered tcp transport module. RPC: Registered tcp NFSv4.1 backchannel transport module. NetWinder Floating Point Emulator V0.97 (double precision) PMU: registered new PMU device of type 0 omap-iommu omap-iommu.0: ducati registered omap-iommu omap-iommu.1: sys registered JFFS2 version 2.2. (NAND) © 2001-2006 Red Hat, Inc. msgmni has been set to 395 io scheduler noop registered io scheduler deadline registered io scheduler cfq registered (default) Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled omap_uart.0: ttyO0 at MMIO 0x48020000 (irq = 72) is a OMAP UART0 omap_uart.1: ttyO1 at MMIO 0x48022000 (irq = 73) is a OMAP UART1 omap_uart.2: ttyO2 at MMIO 0x48024000 (irq = 74) is a OMAP UART2 console [ttyO2] enabled brd: module loaded loop: module loaded ahci probe: devid name is ahci ahci CAP register dump =0x6726ff81 Modified ahci CAP register dump =0x6f26ff81 ahci ahci.0: forcing PORTS_IMPL to 0x3 ahci: SSS flag set, parallel bus scan disabled ahci ahci.0: AHCI 0001.0100 32 slots 2 ports 3 Gbps 0x3 impl platform mode ahci ahci.0: flags: ncq sntf stag pm led clo only pmp pio slum part ccc scsi0 : ahci_platform scsi1 : ahci_platform ata1: SATA max UDMA/133 mmio [mem 0x4a140000-0x4a150fff] port 0x100 irq 16 ata2: SATA max UDMA/133 irq_stat 0x00000040, connection status changed irq 16 omap2-nand driver initializing ONFI flash detected ONFI param page 0 valid NAND device: Maf ID: 0x01, Chip ID: 0xdc (AMD, NAND 512MiB 3,3V 8-bit) erasesize: 0x20000, writesize: 2048, oobsize: 64 Creating 6 MTD partitions on "omap2-nand.0": 0x000000000000-0x000000260000 : "U-Boot" 0x000000260000-0x000000280000 : "U-Boot Env" 0x000000280000-0x000000580000 : "U-Boot Logo" 0x000000580000-0x0000009c0000 : "Kernel" 0x0000009c0000-0x00001d1c0000 : "File System" 0x00001d1c0000-0x000020000000 : "Reserved" davinci_mdio davinci_mdio.0: davinci mdio revision 1.6 davinci_mdio davinci_mdio.0: detected phy mask fffffff9 davinci_mdio.0: probed davinci_mdio davinci_mdio.0: phy[1]: device 0:01, driver ET1011C davinci_mdio davinci_mdio.0: phy[2]: device 0:02, driver ET1011C usbcore: registered new interface driver cdc_ether usbcore: registered new interface driver dm9601 ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver usbcore: registered new interface driver cdc_wdm Initializing USB Mass Storage driver... usbcore: registered new interface driver usb-storage USB Mass Storage support registered. mice: PS/2 mouse device common for all mice omap_rtc omap_rtc: rtc core: registered omap_rtc as rtc0 rtc-pcf8563 1-0051: chip found, driver version 0.4.3 rtc-pcf8563 1-0051: rtc core: registered rtc-pcf8563 as rtc1 i2c /dev entries driver Linux video capture interface: v2.00 usbcore: registered new interface driver uvcvideo USB Video Class driver (v1.0.0) OMAP Watchdog Timer Rev 0x00: initial timeout 60 sec Internal error: Oops - undefined instruction: 0 [#1] last sysfs file: Modules linked in: CPU: 0 Not tainted (2.6.37 #48) PC is at 0xc057cb20 LR is at __setup_irq+0x254/0x300 pc : [<c057cb20>] lr : [<c009d604>] psr: a0000013 sp : c009e1d0 ip : cc82bdf0 fp : c009e134 r10: c0575598 r9 : cca4da00 r8 : 60000013 r7 : 0000000e r6 : 00000040 r5 : cc82bdc8 r4 : cc82bddc r3 : cc820b9f r2 : 05755740 r1 : c0575574 r0 : 00000000 Flags: NzCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment user Control: 10c5387d Table: 80004019 DAC: 00000017 Process fà„!Ÿå (pid: -509603837, stack limit = 0xc009e2e8)
NAND read: device 0 offset 0x580000, size 0x300000 3145728 bytes read: OK ## Booting kernel from Legacy Image at 81000000 ... Image Name: Linux-2.6.37 Created: 2014-04-03 2:03:08 UTC Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 2836500 Bytes = 2.7 MiB Load Address: 80008000 Entry Point: 80008000 Verifying Checksum ... OK Loading Kernel Image ... OK OK Starting kernel ... Uncompressing Linux... uncompression error -- System halted