Jump to content

alr

Members
  • Posts

    24
  • Joined

  • Last visited

  1. I achieved to choose between 2 phy devices(with PHY_ADDR = 0 or PHY_ADDR =8) with the sunxi_emac driver. But the problem is during the startup, only 1 each 20 is successful, the other times lauch the next error. The only difference is the connection of the second PHY. Starting kernel ... <6>Booting Linux on physical CPU 0 <6>Initializing cgroup subsys cpuset <6>Initializing cgroup subsys cpu <5>Linux version 3.4.113-sun7i (root@ubuntu-dev) (gcc version 5.4.0 20160609 (Ubuntu/Linaro 5.4.0-6ubuntu1~16.04.4) ) #173 SMP PREEMPT Thu Jun 22 12:06:54 CEST 2017 CPU: ARMv7 Processor [410fc074] revision 4 (ARMv7), cr=10c5387d CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache Machine: sun7i <6>Memory Reserved: <6> SYS : 0x43000000 - 0x4300ffff ( 64 kB) <6> LCD : 0x44000000 - 0x44ffffff ( 16 MB) Memory policy: ECC disabled, Data cache writealloc <6>sunxi: Allwinner A20 (AW1651/sun7i) detected. <7>On node 0 totalpages: 262144 <7>free_area_init_node: node 0, pgdat c0a7b040, node_mem_map d0000000 <7> DMA zone: 512 pages used for memmap <7> DMA zone: 0 pages reserved <7> DMA zone: 65024 pages, LIFO batch:15 <7> Normal zone: 1008 pages used for memmap <7> Normal zone: 128016 pages, LIFO batch:31 <7> HighMem zone: 528 pages used for memmap <7> HighMem zone: 67056 pages, LIFO batch:15 <6>PERCPU: Embedded 8 pages/cpu @d0808000 s8256 r8192 d16320 u32768 <7>pcpu-alloc: s8256 r8192 d16320 u32768 alloc=8*4096<c> <7>pcpu-alloc: <c>[0] <c>0 <c>[0] <c>1 <c> Built 1 zonelists in Zone order, mobility grouping on. Total pages: 260096 <5>Kernel command line: root=UUID=b574c49a-b2ac-4487-9e0f-6a0419e9052f rootwait rootfstype=ext4 console=tty1 console=ttyS0,115200 hdmi.audio=EDID:0 disp.screen0_output_mode=1920x1080p60 panic=10 consoleblank=0 l1 <6>PID hash table entries: 4096 (order: 2, 16384 bytes) <6>Dentry cache hash table entries: 131072 (order: 7, 524288 bytes) <6>Inode-cache hash table entries: 65536 (order: 6, 262144 bytes) <6>allocated 2097152 bytes of page_cgroup <6>please try 'cgroup_disable=memory' option if you don't want memory cgroups <6>Memory: 1024MB = 1024MB total <5>Memory: 1004800k/1004800k available, 43776k reserved, 270336K highmem <5>Virtual kernel memory layout: vector : 0xffff0000 - 0xffff1000 ( 4 kB) fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB) vmalloc : 0xf0000000 - 0xff000000 ( 240 MB) lowmem : 0xc0000000 - 0xef800000 ( 760 MB) pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB) modules : 0xbf000000 - 0xbfe00000 ( 14 MB) .text : 0xc0008000 - 0xc09d3b0c (10031 kB) .init : 0xc09d4000 - 0xc0a0b040 ( 221 kB) .data : 0xc0a0c000 - 0xc0a83830 ( 479 kB) .bss : 0xc0a83854 - 0xc0c58a30 (1877 kB) <6>SLUB: Genslabs=11, HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1 <6>Preemptible hierarchical RCU implementation. <6> RCU dyntick-idle grace-period acceleration is enabled. <6> Additional per-CPU info printed with stalls. <6>NR_IRQS:192 <6>Architected local timer running at 24.00MHz. <6>sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 178956ms <2>start_kernel(): bug: interrupts were enabled early <6>Console: colour dummy device 80x30 <6>console [tty1] enabled <6>Calibrating delay loop... <c>1816.98 BogoMIPS (lpj=9084928) <6>pid_max: default: 32768 minimum: 301 <6>Mount-cache hash table entries: 512 <6>Initializing cgroup subsys cpuacct <6>Initializing cgroup subsys memory <6>Initializing cgroup subsys devices <6>Initializing cgroup subsys freezer <6>Initializing cgroup subsys blkio <6>Initializing cgroup subsys perf_event <6>CPU: Testing write buffer coherency: ok <6>CPU0: thread -1, cpu 0, socket 0, mpidr 80000000 <6>hw perfevents: enabled with ARMv7 Cortex-A7 PMU driver, 5 counters available <6>Setting up static identity map for 0x4071c270 - 0x4071c2c8 CPU1: Booted secondary processor <6>CPU1: thread -1, cpu 1, socket 0, mpidr 80000001 <6>Brought up 2 CPUs <6>SMP: Total of 2 processors activated (3640.52 BogoMIPS). <6>devtmpfs: initialized <6>dummy: <6>NET: Registered protocol family 16 <6>DMA: preallocated 256 KiB pool for atomic coherent allocations <6>hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers. <6>hw-breakpoint: maximum watchpoint size is 8 bytes. <6>[ccu-inf] aw clock manager init <6>[ccu-inf] aw_ccu_init <6>[ccu-inf] script config pll4 to 300MHz <6>[ccu-inf] script config pll6 to 600MHz <6>[ccu-inf] script config pll7 to 297MHz <6>[ccu-inf] script config pll8 to 336MHz <6>Init eGon pin module V2.0 <6>bio: create slab <bio-0> at 0 <6>sunxi_gpio driver init ver 1.3 <6>gpiochip_add: registered GPIOs 1 to 4 on device: A1X_GPIO <5>SCSI subsystem initialized <7>libata version 3.00 loaded. <6>usbcore: registered new interface driver usbfs <6>usbcore: registered new interface driver hub <6>usbcore: registered new device driver usb <6>Linux media interface: v0.10 <6>Linux video capture interface: v2.00 <6>Advanced Linux Sound Architecture Driver Version 1.0.25. <6>cfg80211: Calling CRDA to update world regulatory domain <6>Switching to clocksource arch_sys_counter <5>FS-Cache: Loaded <6>CacheFiles: Loaded [usb_manager]: CONFIG_USB_SW_SUNXI_USB0_OTG [sw_hcd0]: usb host driver initialize........ [sw_hcd0]: open_usb_clock [sw_hcd0]: host_init_state = 1 [sw_hcd0]: platform is usb host [sw_hcd0]: sw_hcd_host0: ConfigData=0xde (UTMI-8, dyn FIFOs, bulk combine, bulk split, HB-ISO Rx (X), HB-ISO Tx (X), SoftConn) [sw_hcd0]: sw_hcd_init_controller: sw_hcd_host0: USB Host mode controller at f1c13000 using PIO, IRQ 70 <6>sw_hcd_host0 sw_hcd_host0: sw_hcd host driver <6>sw_hcd_host0 sw_hcd_host0: new USB bus registered, assigned bus number 1 <6>hub 1-0:1.0: USB hub found <6>hub 1-0:1.0: 1 port detected wrn: hcd is not enable, need not start hcd [sw_hcd0]: sw_usb_host0_disable start -------sw_hcd0_soft_disconnect--------- is_on = 0, hcd0_set_vbus_cnt = 0 [sw_hcd_host0]: Set USB Power Off wrn: hcd is not enable, need not stop hcd [sw_hcd0]: close_usb_clock [sw_hcd0]: sw_usb_host0_disable end [sw_udc]: udc_init: version 20080411 <6>NET: Registered protocol family 2 <6>IP route cache hash table entries: 32768 (order: 5, 131072 bytes) <6>TCP established hash table entries: 131072 (order: 8, 1048576 bytes) <6>TCP bind hash table entries: 65536 (order: 7, 786432 bytes) <6>TCP: Hash tables configured (established 131072 bind 65536) <6>TCP: reno registered <6>UDP hash table entries: 512 (order: 2, 16384 bytes) <6>UDP-Lite hash table entries: 512 (order: 2, 16384 bytes) <6>NET: Registered protocol family 1 <6>RPC: Registered named UNIX socket transport module. <6>RPC: Registered udp transport module. <6>RPC: Registered tcp transport module. <6>RPC: Registered tcp NFSv4.1 backchannel transport module. <6>Trying to unpack rootfs image as initramfs... <6>Freeing initrd memory: 3544K <6>audit: initializing netlink socket (disabled) <5>type=2000 audit(0.850:1): initialized highmem bounce pool size: 64 pages <5>VFS: Disk quotas dquot_6.5.2 Dquot-cache hash table entries: 1024 (order 0, 4096 bytes) <6>squashfs: version 4.0 (2009/01/31) Phillip Lougher <5>NFS: Registering the id_resolver key type <6>NTFS driver 2.1.30 [Flags: R/W]. <6>fuse init (API version 7.18) <6>JFS: nTxBlock = 7877, nTxLock = 63021 <6>SGI XFS with ACLs, security attributes, large block/inode numbers, no debug enabled <6>Btrfs loaded <6>msgmni has been set to 1441 <6>alg: No test for stdrng (krng) <6>Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252) <6>io scheduler noop registered <6>io scheduler deadline registered <6>io scheduler cfq registered (default) <6>sunxi disp driver loaded (/dev/disp api 1.0) <6>Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled <6>[uart]: used uart info.: 0x81 <6>[uart]: serial probe 0 irq 33 mapbase 0x01c28000 <6>sunxi-uart.0: ttyS0 at MMIO 0x1c28000 (irq = 33) is a U6_16550A <6>console [ttyS0] enabled <6>[uart]: serial probe 7 irq 52 mapbase 0x01c29c00 <6>sunxi-uart.7: ttyS1 at MMIO 0x1c29c00 (irq = 52) is a U6_16550A <7>G2D: drv_g2d_init <6>G2D: Module initialized.major:250 <6>brd: module loaded <6>loop: module loaded nand driver is disabled pwm-sunxi: pwm0 configured - period: 20, duty_percent: 50, duty: 10 SATA AHCI Phy Power Failed!! SATA AHCI Phy Calibration Failed!! <6>sw_ahci sw_ahci.0: controller can't do PMP, turning off CAP_PMP <4>sw_ahci sw_ahci.0: forcing PORTS_IMPL to 0x1 <6>sw_ahci sw_ahci.0: AHCI 0001.0100 32 slots 1 ports 3 Gbps 0x1 impl platform mode <6>sw_ahci sw_ahci.0: flags: ncq sntf pm led clo only pio slum part ccc <6>scsi0 : sw_ahci_platform <6>ata1: SATA max UDMA/133 mmio [mem 0x01c18000-0x01c18fff] port 0x100 irq 88 <6>[spi-inf] Found 2 spi devices in config files <6>[spi-inf] boards num modalias max_spd_hz bus_num cs mode <6>[spi-inf] spi_board0 irq gpio not used <6>[spi-inf] 0 spidev 1000000 2 0 0x3 <6>[spi-inf] spi_board1 irq gpio not used <6>[spi-inf] 1 spidev 1000000 1 0 0x3 <4>spi: cannot find any using configuration for all 4 spi controllers, return directly! <6>bonding: Ethernet Channel Bonding Driver: v3.7.1 (April 27, 2011) <6>Fixed MDIO Bus: probed <6>sunxi_emac Using mii phy on PortA <6>EMAC READ <6>sunxi_emac Using MAC from SID: 02:89:08:42:64:e6<6>PPP generic driver version 2.4.2 <6>PPP BSD Compression module registered <6>PPP Deflate Compression module registered <6>PPP MPPE Compression module registered <6>NET: Registered protocol family 24 <6>ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver <6>ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver [sw-ehci1]: open clock [sw-ehci1]: Set USB Power ON <6>sw-ehci sw-ehci.1: SW USB2.0 'Enhanced' Host Controller (EHCI) Driver <6>sw-ehci sw-ehci.1: new USB bus registered, assigned bus number 2 <6>sw-ehci sw-ehci.1: irq 71, io mem 0x01c14000 <6>sw-ehci sw-ehci.1: USB 2.0 started, EHCI 1.00 <6>hub 2-0:1.0: USB hub found <6>hub 2-0:1.0: 1 port detected [sw-ohci1]: open clock <6>sw-ohci sw-ohci.1: SW USB2.0 'Open' Host Controller (OHCI) Driver <6>sw-ohci sw-ohci.1: new USB bus registered, assigned bus number 3 <6>sw-ohci sw-ohci.1: irq 96, io mem 0x01c14400 <6>hub 3-0:1.0: USB hub found <6>hub 3-0:1.0: 1 port detected <6>Initializing USB Mass Storage driver... <6>usbcore: registered new interface driver usb-storage <6>USB Mass Storage support registered. <6>usbcore: registered new interface driver ums-alauda <6>usbcore: registered new interface driver ums-cypress <6>usbcore: registered new interface driver ums-datafab <6>usbcore: registered new interface driver ums_eneub6250 <6>usbcore: registered new interface driver ums-freecom <6>usbcore: registered new interface driver ums-isd200 <6>usbcore: registered new interface driver ums-jumpshot <6>usbcore: registered new interface driver ums-karma <6>usbcore: registered new interface driver ums-onetouch <6>usbcore: registered new interface driver ums-realtek <6>ata1: SATA link down (SStatus 0 SControl 300) <6>usbcore: registered new interface driver ums-sddr09 <6>usbcore: registered new interface driver ums-sddr55 <6>usbcore: registered new interface driver ums-usbat <6>mousedev: PS/2 mouse device common for all mice ===========================hv_keypad_init===================== ========HV Inital =================== <3>tkey_fetch_sysconfig_para: tkey_unused. hv_keypad_init: after fetch_sysconfig_para: normal_i2c: 0x0. normal_i2c[1]: 0x0 <3>sunxi-rtc sunxi-rtc: Warning: RTC time is wrong! <6>sunxi-rtc sunxi-rtc: rtc core: registered rtc as rtc0 <6>i2c /dev entries driver config i2c gpio with gpio_config api <4>i2c i2c-0: Invalid probe address 0x00 <6>I2C: i2c-0: AW16XX I2C adapter config i2c gpio with gpio_config api <4>i2c i2c-1: Invalid probe address 0x00 <6>I2C: i2c-1: AW16XX I2C adapter config i2c gpio with gpio_config api <4>i2c i2c-2: Invalid probe address 0x00 <6>I2C: i2c-2: AW16XX I2C adapter config i2c gpio with gpio_config api <4>i2c i2c-4: Invalid probe address 0x00 <6>I2C: i2c-4: AW16XX I2C adapter [cedar dev]: not installed! ve_mem_reserve=0 [tt]----- avs_dev driver load... ---- [tt]----- register iomem ---- [tt]--- avs_dev driver load ok!! ----- [ace_drv] start!!! [ace_drv] init end!!! [pa_drv] start!!! [pa_drv] init end!!! incomplete xfer (0x20) incomplete xfer (0x20) incomplete xfer (0x20) incomplete xfer (0x20) incomplete xfer (0x20) incomplete xfer (0x20) incomplete xfer (0x20) incomplete xfer (0x20) incomplete xfer (0x20) incomplete xfer (0x20) incomplete xfer (0x20) incomplete xfer (0x20) incomplete xfer (0x20) incomplete xfer (0x20) incomplete xfer (0x20) incomplete xfer (0x20) incomplete xfer (0x20) incomplete xfer (0x20) incomplete xfer (0x20) incomplete xfer (0x20) incomplete xfer (0x20) incomplete xfer (0x20) incomplete xfer (0x20) incomplete xfer (0x20) incomplete xfer (0x20) incomplete xfer (0x20) incomplete xfer (0x20) incomplete xfer (0x20) incomplete xfer (0x20) incomplete xfer (0x20) incomplete xfer (0x20) incomplete xfer (0x20) incomplete xfer (0x20) incomplete xfer (0x20) incomplete xfer (0x20) <6>device-mapper: uevent: version 1.0.3 <6>device-mapper: ioctl: 4.22.0-ioctl (2011-10-19) initialised: dm-devel@redhat.com <6>device-mapper: multipath: version 1.3.2 loaded <6>device-mapper: multipath round-robin: version 1.0.0 loaded <6>device-mapper: multipath queue-length: version 0.1.0 loaded <6>device-mapper: multipath service-time: version 0.2.0 loaded <6>cpuidle: using governor ladder <6>cpuidle: using governor menu <6>[mmc-msg] sw_mci_init <6>[mmc-msg] MMC host used card: 0x5, boot card: 0x5, io_card 0 <6>[mmc-msg] sdc0 set round clock 400000, src 24000000 <6>[mmc-msg] sdc0 set ios: clk 0Hz bm OD pm OFF vdd 3.3V width 1 timing LEGACY(SDR12) dt B <6>[mmc-msg] sdc0 Probe: base:0xf05e6000 irq:64 sg_cpu:f05e8000(4fc00000) ret 0. <6>[mmc-msg] sdc0 set ios: clk 0Hz bm PP pm UP vdd 3.3V width 1 timing LEGACY(SDR12) dt B <6>[mmc-msg] sdc0 power on <6>[mmc-msg] sdc2 set round clock 400000, src 24000000 <6>[mmc-msg] sdc2 set ios: clk 0Hz bm OD pm OFF vdd 3.3V width 1 timing LEGACY(SDR12) dt B <6>[mmc-msg] sdc0 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B <6>[mmc-msg] sdc0 set round clock 400000, src 24000000 <3>[mmc-err] smc 0 err, cmd 52, RTO <3>[mmc-err] smc 0 err, cmd 52, RTO <6>[mmc-msg] sdc0 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B <6>[mmc-msg] sdc0 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B <3>[mmc-err] smc 0 err, cmd 5, RTO <3>[mmc-err] smc 0 err, cmd 5, RTO <3>[mmc-err] smc 0 err, cmd 5, RTO <3>[mmc-err] smc 0 err, cmd 5, RTO <6>[mmc-msg] sdc0 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B <6>[mmc-msg] sdc0 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B <6>[mmc-msg] sdc0 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B <6>[mmc-msg] sdc0 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing SD-HS(SDR25) dt B <6>[mmc-msg] sdc0 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 1 timing SD-HS(SDR25) dt B <6>[mmc-msg] sdc0 set round clock 42857143, src 600000000 <6>[mmc-msg] sdc0 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 4 timing SD-HS(SDR25) dt B <6>mmc0: new high speed SDHC card at address 0007 <6>mmcblk0: mmc0:0007 SD04G 3.70 GiB <6> mmcblk0: p1 <3>[mmc-err] update clock timeout, fatal error <6>[mmc-msg] sdc2 Probe: base:0xf05ea000 irq:66 sg_cpu:f05ec000(4fc01000) ret 0. <6>[mmc-msg] sdc2 set ios: clk 0Hz bm PP pm UP vdd 3.3V width 1 timing LEGACY(SDR12) dt B <6>[mmc-msg] sdc2 power on [mmc_pm]: failed to fetch sdio card configuration! <6>sunxi_leds driver init <6>sunxi_leds_init leds_used is false. Skip leds initialization <6>ledtrig-cpu: registered to indicate activity on CPUs <6>usbcore: registered new interface driver usbhid <6>usbhid: USB HID core driver <6>ashmem: initialized <6>logger: created 256K log 'log_main' <6>logger: created 256K log 'log_events' <6>logger: created 256K log 'log_radio' <6>logger: created 256K log 'log_system' [SPDIF] [spdif_para] isn't defined or spdif_used=0 [I2S-0] Entered sunxi_i2s_init [I2S-0] sunxi-i2s cannot find any using configuration for controllers, return directly! [I2S-0] sndi2s cannot find any using configuration for controllers, return directly! [I2S-0] Entered sunxi_sndi2s_init <6>TCP: bic registered <6>TCP: cubic registered <6>TCP: westwood registered <6>TCP: highspeed registered <6>TCP: hybla registered <6>TCP: htcp registered <6>TCP: vegas registered <6>TCP: veno registered <6>TCP: scalable registered <6>TCP: lp registered <6>TCP: yeah registered <6>TCP: illinois registered <6>Initializing XFRM netlink socket <6>NET: Registered protocol family 10 <6>NET: Registered protocol family 17 <6>NET: Registered protocol family 15 [mmc_pm]: No sdio card, please check your config !! <5>Registering the dns_resolver key type <6>VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 4 <5>Registering SWP/SWPB emulation handler <3>[cpu_freq] ERR:try to get regulator failed, core vdd will not changed! <6>[cpu_freq] INF:-------------------V-F Table------------------- <6>[cpu_freq] INF: voltage = 1450mv frequency = 1008MHz <6>[cpu_freq] INF: voltage = 1425mv frequency = 912MHz <6>[cpu_freq] INF: voltage = 1350mv frequency = 864MHz <6>[cpu_freq] INF: voltage = 1250mv frequency = 720MHz <6>[cpu_freq] INF: voltage = 1150mv frequency = 528MHz <6>[cpu_freq] INF: voltage = 1100mv frequency = 312MHz <6>[cpu_freq] INF: voltage = 1050mv frequency = 144MHz <6>[cpu_freq] INF: voltage = 1000mv frequency = 0MHz <6>[cpu_freq] INF:----------------------------------------------- <6>[cpu_freq] INF:sunxi_cpufreq_initcall, get cpu frequency from sysconfig, max freq: 1008MHz, min freq: 720MHz <6>registered taskstats version 1 <4>[DISP] ***************************************************************** <4>[DISP] *** <4>[DISP] *** LCD Panel Parameter Check <4>[DISP] *** <4>[DISP] *** by dulianping <4>[DISP] *** <4>[DISP] ***************************************************************** <4>[DISP] *** <4>[DISP] *** Interface:<4>[DISP] *** Parallel HV Panel <4>[DISP] *** Lcd Frm to RGB666 <4>[DISP] *** <4>[DISP] *** Timing: <4>[DISP] *** lcd_x: 800 <4>[DISP] *** lcd_y: 480 <4>[DISP] *** lcd_ht: 1055 <4>[DISP] *** lcd_hbp: 216 <4>[DISP] *** lcd_vt: 1050 <4>[DISP] *** lcd_vbp: 35 <4>[DISP] *** lcd_hspw: 0 <4>[DISP] *** lcd_vspw: 0 <4>[DISP] *** lcd_frame_frq: 16Hz <4>[DISP] *** <4>[DISP] *** WRN03: Recommend "lcd_dclk_frq = 33" <4>[DISP] *** <4>[DISP] *** LCD Panel Parameter Check End <4>[DISP] ***************************************************************** <3>[mmc-err] update clock timeout, fatal error <6>[mmc-msg] sdc2 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B <6>[mmc-msg] sdc2 set round clock 400000, src 24000000 <6>Console: switching to colour frame buffer device 100x30 <6>I2C: i2c-3: HDMI I2C adapter <6>console [netcon0] enabled <6>netconsole: network logging started <3>otg_wakelock_init: No USB transceiver found <6>ALSA device list: <6> #0: sunxi-CODEC Audio Codec <6>Freeing init memory: 220K Loading, please wait... <30>systemd-udevd[90]: starting version 215 <3>[mmc-err] update clock timeout, fatal error Begin: Loading essential drivers ... done. Begin: Running /scripts/init-premount ... done. Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done. Begin: Running /scripts/local-premount ... Scanning for Btrfs filesystems done. <3>[mmc-err] update clock timeout, fatal error Begin: Will now check root file system ... fsck from util-linux 2.25.2 [/sbin/fsck.ext4 (1) -- /dev/mmcblk0p1] fsck.ext4 -a -C0 /dev/mmcblk0p1 /dev/mmcblk0p1: clean, 48573/226896 files, 274036/920320 blocks done. <6>EXT4-fs (mmcblk0p1): mounted filesystem with writeback data mode. Opts: (null) done. Begin: Running /scripts/local-bottom ... done. Begin: Running /scripts/init-bottom ... <3>[mmc-err] update clock timeout, fatal error <6>[mmc-msg] sdc2 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B done. <6>[mmc-msg] sdc2 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B <6>[mmc-msg] sdc2 set ios: clk 400000Hz bm OD pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B <6>[mmc-msg] sdc2 set ios: clk 0Hz bm OD pm OFF vdd 3.3V width 1 timing LEGACY(SDR12) dt B <6>[mmc-msg] sdc2 power off <30>systemd[1]: systemd 215 running in system mode. (+PAM +AUDIT +SELINUX +IMA +SYSVINIT +LIBCRYPTSETUP +GCRYPT +ACL +XZ -SECCOMP -APPARMOR) <30>systemd[1]: Detected architecture 'arm'. Welcome to Debian GNU/Linux 8 (jessie)! <30>systemd[1]: Set hostname to <lime2>. <28>systemd[1]: Cannot add dependency job for unit display-manager.service, ignoring: Unit display-manager.service failed to load: No such file or directory. <30>systemd[1]: Starting Forward Password Requests to Wall Directory Watch. <30>systemd[1]: Started Forward Password Requests to Wall Directory Watch. <30>systemd[1]: Expecting device dev-ttyS0.device... Expecting device dev-ttyS0.device... <3>[mmc-err] update clock timeout, fatal error <30>systemd[1]: Starting Remote File Systems (Pre). [ OK ] Reached target Remote File Systems (Pre). <30>systemd[1]: Reached target Remote File Systems (Pre). <30>systemd[1]: Starting Arbitrary Executable File Formats File System Automount Point. [ OK ] Set up automount Arbitrary Executable File Formats F...utomount Point. <30>systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point. <30>systemd[1]: Starting Dispatch Password Requests to Console Directory Watch. <30>systemd[1]: Started Dispatch Password Requests to Console Directory Watch. <30>systemd[1]: Starting Paths. [ OK ] Reached target Paths. <30>systemd[1]: Reached target Paths. <30>systemd[1]: Starting Encrypted Volumes. [ OK ] Reached target Encrypted Volumes. <30>systemd[1]: Reached target Encrypted Volumes. <30>systemd[1]: Starting Swap. [ OK ] Reached target Swap. <30>systemd[1]: Reached target Swap. <30>systemd[1]: Starting Root Slice. [ OK ] Created slice Root Slice. <30>systemd[1]: Created slice Root Slice. <30>systemd[1]: Starting Delayed Shutdown Socket. [ OK ] Listening on Delayed Shutdown Socket. <30>systemd[1]: Listening on Delayed Shutdown Socket. <30>systemd[1]: Starting /dev/initctl Compatibility Named Pipe. [ OK ] Listening on /dev/initctl Compatibility Named Pipe. <30>systemd[1]: Listening on /dev/initctl Compatibility Named Pipe. <30>systemd[1]: Starting Journal Socket (/dev/log). [ OK ] Listening on Journal Socket (/dev/log). <30>systemd[1]: Listening on Journal Socket (/dev/log). <30>systemd[1]: Starting User and Session Slice. [ OK ] Created slice User and Session Slice. <30>systemd[1]: Created slice User and Session Slice. <30>systemd[1]: Starting udev Control Socket. [ OK ] Listening on udev Control Socket. <30>systemd[1]: Listening on udev Control Socket. <30>systemd[1]: Starting udev Kernel Socket. [ OK ] Listening on udev Kernel Socket. <30>systemd[1]: Listening on udev Kernel Socket. <30>systemd[1]: Starting Journal Socket. [ OK ] Listening on Journal Socket. <30>systemd[1]: Listening on Journal Socket. <30>systemd[1]: Starting System Slice. [ OK ] Created slice System Slice. <30>systemd[1]: Created slice System Slice. <30>systemd[1]: Starting Increase datagram queue length... Starting Increase datagram queue length... <30>systemd[1]: Starting Restore / save the current clock... Starting Restore / save the current clock... <30>systemd[1]: Mounting POSIX Message Queue File System... Mounting POSIX Message Queue File System... <30>systemd[1]: Starting Create list of required static device nodes for the current kernel... Starting Create list of required static device nodes...rrent kernel... <30>systemd[1]: Starting udev Coldplug all Devices... Starting udev Coldplug all Devices... <30>systemd[1]: Mounting Debug File System... Mounting Debug File System... <30>systemd[1]: Started Set Up Additional Binary Formats. <30>systemd[1]: Mounted Huge Pages File System. <30>systemd[1]: Starting system-serial\x2dgetty.slice. [ OK ] Created slice system-serial\x2dgetty.slice. <30>systemd[1]: Created slice system-serial\x2dgetty.slice. <30>systemd[1]: Starting system-getty.slice. [ OK ] Created slice system-getty.slice. <30>systemd[1]: Created slice system-getty.slice. <30>systemd[1]: Starting Load Kernel Modules... Starting Load Kernel Modules... <30>systemd[1]: Started File System Check on Root Device. <30>systemd[1]: Starting LSB: Set keymap... Starting LSB: Set keymap... <30>systemd[1]: Starting Slices. <6>Bluetooth: Core ver 2.16 <6>NET: Registered protocol family 31 <6>Bluetooth: HCI device and connection manager initialized <6>Bl[ OK ] Reached target Slices. uetooth: HCI socket layer initialized <6>Bluetooth: L2CAP socket layer initialized <6>Bluetooth: SCO socket layer initialized <30>systemd[1]: Reached target Slices. <6>Bluetooth: HCI UART driver ver 2.2 <6>Bl[ OK ] Mounted Debug File System. uetooth: HCI H4 protocol initialized <6>Bluetooth: HCI BCSP protocol initialized <6>Bluetooth: HCILL protocol initialized <6>Bluetooth: HCIATH3K protocol initialized <30>systemd[1]: Mounted Debug File System. [ OK ] Mounted POSIX Message Queue File System. <6>Bluetooth: RFCOMM TTY layer initialized <6>Bluetooth: RFCOMM socket layer initialized <6>Bluetooth: RFCOMM ver 1.11 <6>Bluetooth: HIDP (Human Interface Emulation) ver 1.2 <30>systemd[1]: Mounted POSIX Message Queue File System. [ OK ] Started Increase datagram queue length. <6>8021q: 802.1Q VLAN Support v1.8 <6>a20-tp-hwmon a20-tp-hwmon: TP initialization success <30>systemd[1]: Started Increase datagram queue length. [ OK ] Started Restore / save the current clock. <30>systemd[1]: Started Restore / save the current clock. [ OK ] Started Create list of required static device nodes ...current kernel. <30>systemd[1]: Started Create list of required static device nodes for the current kernel. [ OK ] Started Load Kernel Modules. <30>systemd[1]: Started Load Kernel Modules. [ OK ] Started LSB: Set keymap. <30>systemd[1]: Started LSB: Set keymap. [ OK ] Started udev Coldplug all Devices. <30>systemd[1]: Started udev Coldplug all Devices. <30>systemd[1]: Time has been changed <30>systemd[1]: Mounting Configuration File System... Mounting Configuration File System... <30>systemd[1]: Mounting FUSE Control File System... Mounting FUSE Control File System... <30>systemd[1]: Starting Apply Kernel Variables... Starting Apply Kernel Variables... <30>systemd[1]: Starting Create Static Device Nodes in /dev... Starting Create Static Device Nodes in /dev... <30>systemd[1]: Starting Syslog Socket. [ OK ] Listening on Syslog Socket. <30>systemd[1]: Listening on Syslog Socket. [ OK ] Mounted FUSE Control File System. <30>systemd[1]: Mounted FUSE Control File System. [ OK ] Mounted Configuration File System. <30>systemd[1]: Mounted Configuration File System. [ OK ] Started Apply Kernel Variables. <30>systemd[1]: Started Apply Kernel Variables. [ OK ] Started Create Static Device Nodes in /dev. <30>systemd[1]: Started Create Static Device Nodes in /dev. <30>systemd[1]: Starting udev Kernel Device Manager... Starting udev Kernel Device Manager... <30>systemd-udevd[170]: starting version 215 [ OK ] Started udev Kernel Device Manager. <30>systemd[1]: Started udev Kernel Device Manager. <30>systemd[1]: Starting Copy rules generated while the root was ro... Starting Copy rules generated while the root was ro... <30>systemd[1]: Starting LSB: Set preliminary keymap... Starting LSB: Set preliminary keymap... <30>systemd[1]: Starting LSB: Tune IDE hard disks... Starting LSB: Tune IDE hard disks... [ OK ] Started Copy rules generated while the root was ro. <30>systemd[1]: Started Copy rules generated while the root was ro. [ OK ] Started LSB: Tune IDE hard disks. <30>systemd[1]: Started LSB: Tune IDE hard disks. [ OK ] Found device /dev/ttyS0. <30>systemd[1]: Found device /dev/ttyS0. <30>systemd[1]: Starting Sound Card. [ OK ] Reached target Sound Card. <30>systemd[1]: Reached target Sound Card. <30>systemd[1]: Starting system-ifup.slice. [ OK ] Created slice system-ifup.slice. <30>systemd[1]: Created slice system-ifup.slice. [ OK ] Started LSB: Set preliminary keymap. <30>systemd[1]: Started LSB: Set preliminary keymap. <30>systemd[1]: Starting Remount Root and Kernel File Systems... Starting Remount Root and Kernel File Systems... <6>EXT4-fs (mmcblk0p1): re-mounted. Opts: commit=600,errors=remount-ro [ OK ] Started Remount Root and Kernel File Systems. <30>systemd[1]: Started Remount Root and Kernel File Systems. <30>systemd[1]: Started Various fixups to make systemd work better on Debian. <30>systemd[1]: Starting Load/Save Random Seed... Starting Load/Save Random Seed... <30>systemd[1]: Starting Local File Systems (Pre). [ OK ] Reached target Local File Systems (Pre). <30>systemd[1]: Reached target Local File Systems (Pre). <30>systemd[1]: Mounting /tmp... Mounting /tmp... [ OK ] Started Load/Save Random Seed. <30>systemd[1]: Started Load/Save Random Seed. [ OK ] Mounted /tmp. <30>systemd[1]: Mounted /tmp. <30>systemd[1]: Starting Local File Systems. [ OK ] Reached target Local File Systems. <30>systemd[1]: Reached target Local File Systems. <30>systemd[1]: Starting Armbian enhanced Log2Ram... Starting Armbian enhanced Log2Ram... <30>systemd[1]: Starting Create Volatile Files and Directories... Starting Create Volatile Files and Directories... <30>systemd[1]: Starting Remote File Systems. [ OK ] Reached target Remote File Systems. <30>systemd[1]: Reached target Remote File Systems. <30>systemd[1]: Starting LSB: Prepare console... Starting LSB: Prepare console... <30>systemd[1]: Starting LSB: Raise network interfaces.... Starting LSB: Raise network interfaces.... [ OK ] Started Create Volatile Files and Directories. <30>systemd[1]: Started Create Volatile Files and Directories. [ OK ] Started Armbian enhanced Log2Ram. <30>systemd[1]: Started Armbian enhanced Log2Ram. [ OK ] Started LSB: Prepare console. <30>systemd[1]: Started LSB: Prepare console. <30>systemd[1]: Starting LSB: Set console font and keymap... Starting LSB: Set console font and keymap... <30>systemd[1]: Starting Journal Service... Starting Journal Service... [ OK ] Started Journal Service. <30>systemd[1]: Started Journal Service. Starting Trigger Flushing of Journal to Persistent Storage... Starting Update UTMP about System Boot/Shutdown... <46>systemd-journald[314]: Received request to flush runtime journal from PID 1 [ OK ] Started Trigger Flushing of Journal to Persistent Storage. [ OK ] Started Update UTMP about System Boot/Shutdown. <6>EMAC READ <6>EMAC init 12544 <6>EMAC WRITE <6>EMAC WRITE <6>EMAC READ <6>EMAC READ <6>EMAC READ <6>EMAC READ <6>EMAC READ <6>EMAC READ <6>sunxi_emac sunxi_emac.0: eth0: link up, 100Mbps, full-duplex, lpa 0xC501 [ OK ] Started LSB: Raise network interfaces.. [ OK ] Started LSB: Set console font and keymap. Starting ifup for eth0... [ OK ] Started ifup for eth0. [ OK ] Reached target Network. [ OK ] Reached target Network is Online. [ OK ] Reached target System Initialization. [ OK ] Listening on D-Bus System Message Bus Socket. [ OK ] Reached target Sockets. [ OK ] Reached target Timers. [ OK ] Reached target Basic System. Starting Entropy daemon using the HAVEGE algorithm... [ OK ] Started Entropy daemon using the HAVEGE algorithm. Starting OpenBSD Secure Shell server... [ OK ] Started OpenBSD Secure Shell server. Starting System Logging Service... <1>Unable to handle kernel paging request at virtual address f164a4f7 [ 13.139101] Unable to handle kernel paging request at virtual address f164a4f7 <1>pgd = ee9a4000 [ 13.148281] pgd = ee9a4000 <1>[f164a4f7] *pgd=00000000[ 13.153473] [f164a4f7] *pgd=00000000 <0>Internal error: Oops: 5 [#1] PREEMPT SMP ARM [ 13.161690] Internal error: Oops: 5 [#1] PREEMPT SMP ARM <d>Modules linked in:[ 13.169062] Modules linked in: a20_tp a20_tp 8021q 8021q garp garp stp stp llc llc hidp hidp rfcomm rfcomm hci_uart hci_uart bluetooth bluetooth [last unloaded: scsi_wait_scan] [last unlo] CPU: 1 Not tainted (3.4.113-sun7i #173) [ 13.192544] CPU: 1 Not tainted (3.4.113-sun7i #173) PC is at dup_mm+0x2c4/0x41c [ 13.200538] PC is at dup_mm+0x2c4/0x41c LR is at dup_mm+0x300/0x41c [ 13.207093] LR is at dup_mm+0x300/0x41c pc : [<c00352cc>] lr : [<c0035308>] psr: a00f0013 sp : ef03bec8 ip : 00000006 fp : eea3c37c [ 13.219969] pc : [<c00352cc>] lr : [<c0035308>] psr: a00f0013 [ 13.219988] sp : ef03bec8 ip : 00000006 fp : eea3c37c r10: eea3c390 r9 : eea3c38c r8 : eea3c370 [ 13.235869] r10: eea3c390 r9 : eea3c38c r8 : eea3c370 r7 : ee91cfc0 r6 : f51e171e r5 : f164a4df r4 : eea3c370 [ 13.246534] r7 : ee91cfc0 r6 : f51e171e r5 : f164a4df r4 : eea3c370 r3 : fff4350b r2 : 00000000 r1 : f51e171e r0 : ee91cfc0 [ 13.258546] r3 : fff4350b r2 : 00000000 r1 : f51e171e r0 : ee91cfc0 Flags: NzCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment user [ 13.271167] Flags: NzCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment user Control: 10c5387d Table: 6e9a406a DAC: 00000015 [ 13.283021] Control: 10c5387d Table: 6e9a406a DAC: 00000015 PC: 0xc003524c: [ 13.290661] [ 13.290667] PC: 0xc003524c: Any hints?
  2. <6>sunxi_gmac: probed <6>eth0: PHY ID 283400c2 at 8 IRQ 0 (sunxi_gmac-0:08) active <6>ADDRCONF(NETDEV_UP): eth0: link is not ready Listening on LPF/eth0/02:49:08:42:14:41 Sending on LPF/eth0/02:49:08:42:14:41 Sending on Socket/fallback DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 6 DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 21 <6>Trying 100/FULL <6>PHY: sunxi_gmac-0:08 - Link is Up<c> - 100/Full<c> <6>ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready <7>eth0: no IPv6 routers present DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 21 DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 13 No DHCPOFFERS received.
  3. this is my ethtool output root@lime2:~# ethtool eth0 Settings for eth0: Supported ports: [ TP AUI BNC MII FIBRE ] Supported link modes: 10baseT/Half 10baseT/Full 100baseT/Half 100baseT/Full Supported pause frame use: No Supports auto-negotiation: Yes Advertised link modes: 10baseT/Half 10baseT/Full 100baseT/Half 100baseT/Full Advertised pause frame use: No Advertised auto-negotiation: Yes Speed: 100MSpe Duplex: Half Port: MII PHYAD: 8 Transceiver: external Auto-negotiation: off Current message level: 0x0000003f (63) drv probe link timer ifdown ifup Link detected and mi ifup eth0 root@lime2:~# ifup eth0 Internet Systems Consortium DHCP Client 4.3.1 Copyright 2004-2014 Internet Systems Consortium. All rights reserved. For info, please visit https://www.isc.org/software/dhcp/ <6>sunxi_gmac: probed <6>eth0: PHY ID 283400c2 at 8 IRQ 0 (sunxi_gmac-0:08) active <6>gmac_init_phy: trying to attach to sunxi_gmac-0:08 <6>PHY_ID: sunxi_gmac-0:08 <6>ADDRCONF(NETDEV_UP): eth0: link is not ready Listening on LPF/eth0/02:49:08:42:14:41 Sending on LPF/eth0/02:49:08:42:14:41 Sending on Socket/fallback DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 3 DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 5 DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 6 <6>Trying 100/FULL <6>PHY: sunxi_gmac-0:08 - Link is Up<c> - 100/Full<c> <6>ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 6 <6>PHY: sunxi_gmac-0:08 - Link is Up<c> - 100/Half<c> DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 12 <7>eth0: no IPv6 routers present DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 15 DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 7 DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 7 No DHCPOFFERS received. No working leases in persistent database - sleeping.
  4. Hi again, I already change the default PHY device modify the driver, I change the gmac/gmac_mdio.c file to active the other device instead the one in 0 address. from this: for (addr = 0; addr < PHY_MAX_ADDR; addr++) to this: for (addr = PHY_MAX_ADDR; addr > -1; addr--) but my problem is that now there is no connection. alr@lime2-emmc:~$ dmesg |grep eth0 [ 10.888810] eth0: PHY ID 283400c2 at 8 IRQ 0 (sunxi_gmac-0:08) active [ 10.893616] eth0: PHY ID 02430c54 at 0 IRQ 0 (sunxi_gmac-0:00)
  5. I didn´t find any solution for this issue, but I have a possible solution: Modify the driver to hardcode the PHY devices I´m interested to use.
  6. when i tried to use the ethtool when i use the current phy address is ok, but when I use the one from the other phy device throws an error. root@lime2-emmc:/proc# sudo ethtool -s eth0 phyad 0x00 root@lime2-emmc:/proc# sudo ethtool -s eth0 phyad 0x08 Cannot set new settings: Invalid argument not setting phy_address
  7. In gmac_core.c in static int gmac_open(struct net_device *ndev) that is placed here: static const struct net_device_ops gmac_netdev_ops = { .ndo_open = gmac_open, .ndo_start_xmit = gmac_xmit, .ndo_stop = gmac_release, .ndo_change_mtu = gmac_change_mtu, .ndo_fix_features = gmac_fix_features, .ndo_set_rx_mode = gmac_set_rx_mode, .ndo_tx_timeout = gmac_tx_timeout, .ndo_do_ioctl = gmac_ioctl, .ndo_set_config = gmac_config, #ifdef CONFIG_NET_POLL_CONTROLLER .ndo_poll_controller = gmac_poll_controller, #endif .ndo_set_mac_address = eth_mac_addr, }; Inside the ret = gmac_mdio_register(ndev); Makes this: * If we're going to bind the MAC to this PHY bus, * and no PHY number was provided to the MAC, * use the one probed here. */ if ((priv->plat->bus_id == mdio_bus_data->bus_id) && (priv->plat->phy_addr == -1)) priv->plat->phy_addr = addr; act = (priv->plat->bus_id == mdio_bus_data->bus_id) && (priv->plat->phy_addr == addr); I would like to know how I can pass a custom address(in my case the address of the second PHY device) when the driver is loaded, to avoid the initialization of the first PHY device.
  8. Hi. My custom board has two PHY devices in the same bus. But I don´t know how to change to use the other one. alr@lime2-emmc:~$ dmesg |grep eth0 [ 10.888810] eth0: PHY ID 02430c54 at 0 IRQ 0 (sunxi_gmac-0:00) active [ 10.893616] eth0: PHY ID 283400c2 at 8 IRQ 0 (sunxi_gmac-0:08) Thanks!
  9. I just realized that the boot and boot1 sectors of the emmc on the LIme2-emmc board are 16Mb each. And the boot sectors on my EMMC of my custom board are 4MB each. is this related with the SPL? Can I configure armbian u-boot to change this? Thanks again.
  10. OK the problem was the Shutdown pin in the external amplifier. The values that the sunxi-codec driver sends to the GPIO pin are switched. I have to patch the sunxi-codec driver to allow the analog output sound work.
  11. When I put the oscilloscope in the HPOUTR or HPOUTL A20´s pins I get only 2V and without signal during the speaker-test. Any hints?
  12. Hello I´m having problems to manage the audio in my a20 board. I´m using ARMBIAN 5.26 stable Debian GNU/Linux 8 (jessie) 3.4.113-sun7i [audio_para] audio_used = 1 capture_used = 1 playback_used = 1 audio_lr_change = 0 alr@lime2-emmc:~$ aplay -l **** List of PLAYBACK Hardware Devices **** card 0: sunxicodec [sunxi-CODEC], device 0: M1 PCM [sunxi PCM] Subdevices: 1/1 Subdevice #0: subdevice #0 alr@lime2-emmc:~$ alr@lime2-emmc:~$ groups alr alr : alr dialout sudo audio video plugdev netdev bluetooth alr@lime2-emmc:~$ alr@lime2-emmc:~$ aplay -L null Discard all samples (playback) or generate zero samples (capture) default:CARD=sunxicodec sunxi-CODEC, sunxi PCM Default Audio Device sysdefault:CARD=sunxicodec sunxi-CODEC, sunxi PCM Default Audio Device dmix:CARD=sunxicodec,DEV=0 sunxi-CODEC, sunxi PCM Direct sample mixing device dsnoop:CARD=sunxicodec,DEV=0 sunxi-CODEC, sunxi PCM Direct sample snooping device hw:CARD=sunxicodec,DEV=0 sunxi-CODEC, sunxi PCM Direct hardware device without any conversions plughw:CARD=sunxicodec,DEV=0 sunxi-CODEC, sunxi PCM Hardware device with all software conversions But when I test the speaker I don´t listen any sound. alr@lime2-emmc:~$ speaker-test -D hw:0,0 -twav -c2 speaker-test 1.0.28 Playback device is hw:0,0 Stream parameters are 48000Hz, S16_LE, 2 channels WAV file(s) Rate set to 48000Hz (requested 48000Hz) Buffer size range from 4096 to 8192 Period size range from 1024 to 2048 Using max buffer size 8192 Periods = 4 was set period_size = 2048 was set buffer_size = 8192 0 - Front Left 1 - Front Right Time per period = 2.862686 0 - Front Left 1 - Front Right Time per period = 3.029435 0 - Front Left 1 - Front Right Time per period = 2.987453 0 - Front Left 1 - Front Right I remove the Mute of the playback on the alsamixer and launched the speaker test again, and when I returned to the alsamixer the playback is muted again. Am I missing something? The audio input is working fine I just record a test.wav and the result of the input is OK. I did with arecord -f dat -d 20 -D hw:0,0 test.wav I have to check the audio in my pc because the output still doesn´t work. Thanks
  13. Thanks again for the idea! I finally got the UART7/GPIO shared pins working without problems. I´m using gpio_lib.
  14. Thanks for the answer! So you are saying that with devmem2 I can set the memory value to the 0x01C20800 + 0x128 (offset) = PI_CFG2 and change the 22:20 and 18:16 bits from 0b001 to 0b011 and 0b011 to 0b001. To use as output pins or UART7 pins. Should I change anything else to allow the UART7 functionality ?. I assume that I also must to change the PI_PULL0 Offset: 0x13C to match the pullup configs into the FEX file : uart_tx = port:PI20<3><1><default><default> uart_rx = port:PI21<3><1><default><default> Thanks for the hint!
  15. Hello, I have a custom board with A20 and I like to share the UART7(I20/I21) pins. I mean sometimes used as UART and other times used as output ports. Should I always change the FEX file to use one u other functionality. The perfect way is using both option without restart the system. Thanks!
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines