kissste

Members
  • Content Count

    7
  • Joined

  • Last visited

About kissste

  • Rank
    Newbie

Recent Profile Visitors

327 profile views
  1. dwmac-sun8i 5020000.ethernet eth0: Could not attach to PHY dwmac-sun8i 5020000.ethernet eth0: stmmac_open: Cannot attach to PHY (error: -19) This error is coming up. I have tried downgrading and regardless getting the same error. eth0 is not working anymore.
  2. Pine H64 model A fails to boot with emmc being plugged in. "sunxi-mmc 4022000.mmc: data error, sending stop command" followed by "sunxi-mmc 4022000.mmc: send stop command failed"
  3. U-Boot SPL 2019.01-armbian (Apr 08 2019 - 01:44:37 +0200) DRAM: 4096 MiB Trying to boot from MMC1 NOTICE: BL31: v2.1(debug):8a08e27 NOTICE: BL31: Built : 00:11:54, Apr 5 2019 NOTICE: BL31: Detected Allwinner H6 SoC (1728) NOTICE: BL31: Found U-Boot DTB at 0xc06ea70, model: Pine H64 INFO: ARM GICv2 driver initialized NOTICE: PMIC: Probing AXP805 NOTICE: PMIC: AXP805 detected INFO: BL31: Platform setup done INFO: BL31: Initializing runtime services WARNING: BL31: cortex_a53: CPU workaround for 819472 was missing! WARNING: BL31: cortex_a53: CPU workaround for 824069 was missing! WARNING: BL31: cortex_a53: CPU workaround for 827319 was missing! INFO: BL31: cortex_a53: CPU workaround for 855873 was applied INFO: BL31: Preparing for EL3 exit to normal world INFO: Entry point address = 0x4a000000 INFO: SPSR = 0x3c9 U-Boot 2019.01-armbian (Apr 08 2019 - 01:44:37 +0200) Allwinner Technology CPU: Allwinner H6 (SUN50I) Model: Pine H64 DRAM: 3 GiB MMC: SUNXI SD/MMC: 0, SUNXI SD/MMC: 1 Loading Environment from FAT... Unable to use mmc 1:1... In: serial@5000000 Out: serial@5000000 Err: serial@5000000 Net: No ethernet found. starting USB... No controllers found Hit any key to stop autoboot: 0 switch to partitions #0, OK mmc0 is current device Scanning mmc 0:1... Found U-Boot script /boot/boot.scr 3042 bytes read in 27 ms (109.4 KiB/s) ## Executing script at 4fc00000 U-boot loaded from SD Boot script loaded from mmc 165 bytes read in 23 ms (6.8 KiB/s) 26173 bytes read in 91 ms (280.3 KiB/s) 4161 bytes read in 104 ms (39.1 KiB/s) Applying kernel provided DT fixup script (sun50i-h6-fixup.scr) ## Executing script at 44000000 8711420 bytes read in 911 ms (9.1 MiB/s) 14436360 bytes read in 1492 ms (9.2 MiB/s) ## Loading init Ramdisk from Legacy Image at 4fe00000 ... Image Name: uInitrd Image Type: AArch64 Linux RAMDisk Image (gzip compressed) Data Size: 8711356 Bytes = 8.3 MiB Load Address: 00000000 Entry Point: 00000000 Verifying Checksum ... OK ## Flattened Device Tree blob at 4fa00000 Booting using the fdt blob at 0x4fa00000 Loading Ramdisk to 497b1000, end 49fffcbc ... OK reserving fdt memory region: addr=4fa00000 size=6c000 Loading Device Tree to 0000000049742000, end 00000000497b0fff ... OK Starting kernel ... [ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034] [ 0.000000] Linux version 5.0.7-sunxi64 (root@nightly) (gcc version 7.4.1 20181213 [linaro-7.4-2019.02 revision 56ec6f6b99cc167ff0c2f8e1a2eed33b1edc85d4] (Linaro GCC 7.4-2019.02)) #5.78.190413 SMP Sat Apr 13 01:24:27 CEST 2019 [ 0.000000] Machine model: Pine H64 [ 0.000000] cma: Reserved 128 MiB at 0x00000000f8000000 [ 0.000000] NUMA: No NUMA configuration found [ 0.000000] NUMA: Faking a node at [mem 0x0000000040000000-0x00000000ffffffff] [ 0.000000] NUMA: NODE_DATA [mem 0xf79d9840-0xf79dafff] [ 0.000000] Zone ranges: [ 0.000000] DMA32 [mem 0x0000000040000000-0x00000000ffffffff] [ 0.000000] Normal empty [ 0.000000] Movable zone start for each node [ 0.000000] Early memory node ranges [ 0.000000] node 0: [mem 0x0000000040000000-0x00000000ffffffff] [ 0.000000] Initmem setup node 0 [mem 0x0000000040000000-0x00000000ffffffff] [ 0.000000] psci: probing for conduit method from DT. [ 0.000000] psci: PSCIv1.1 detected in firmware. [ 0.000000] psci: Using standard PSCI v0.2 function IDs [ 0.000000] psci: MIGRATE_INFO_TYPE not supported. [ 0.000000] psci: SMC Calling Convention v1.1 [ 0.000000] random: get_random_bytes called from start_kernel+0xa8/0x3f0 with crng_init=0 [ 0.000000] percpu: Embedded 22 pages/cpu @(____ptrval____) s52952 r8192 d28968 u90112 [ 0.000000] Detected VIPT I-cache on CPU0 [ 0.000000] CPU features: detected: ARM erratum 845719 [ 0.000000] Speculative Store Bypass Disable mitigation not required [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 774144 [ 0.000000] Policy zone: DMA32 [ 0.000000] Kernel command line: root=UUID=ebfa02c2-3f5d-4b27-bb44-1efd898b9c6f rootwait rootfstype=ext4 console=ttyS0,115200 console=tty1 panic=10 consoleblank=0 loglevel=7 ubootpart=3ec23de2-01 usb-storage.quirks=0x2537:0x1066:u,0x2537:0x1068:u cgroup_enable=memory swapaccount=1 [ 0.000000] printk: log_buf_len individual max cpu contribution: 4096 bytes [ 0.000000] printk: log_buf_len total cpu_extra contributions: 12288 bytes [ 0.000000] printk: log_buf_len min size: 16384 bytes [ 0.000000] printk: log_buf_len: 32768 bytes [ 0.000000] printk: early log buf free: 13808(84%) [ 0.000000] Memory: 2935272K/3145728K available (10238K kernel code, 722K rwdata, 2504K rodata, 576K init, 288K bss, 79384K reserved, 131072K cma-reserved) [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1 [ 0.000000] rcu: Hierarchical RCU implementation. [ 0.000000] rcu: RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=4. [ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies. [ 0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4 [ 0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0 [ 0.000000] GIC: Using split EOI/Deactivate mode [ 0.000000] arch_timer: cp15 timer(s) running at 24.00MHz (phys). [ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns [ 0.000004] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns [ 0.000217] Console: colour dummy device 80x25 [ 0.000553] printk: console [tty1] enabled [ 0.000625] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=96000) [ 0.000646] pid_max: default: 32768 minimum: 301 [ 0.000734] LSM: Security Framework initializing [ 0.000751] AppArmor: AppArmor disabled by boot time parameter [ 0.002318] Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes) [ 0.003113] Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes) [ 0.003170] Mount-cache hash table entries: 8192 (order: 4, 65536 bytes) [ 0.003222] Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes) [ 0.004461] ASID allocator initialised with 32768 entries [ 0.004540] rcu: Hierarchical SRCU implementation. [ 0.005051] smp: Bringing up secondary CPUs ... [ 0.005739] Detected VIPT I-cache on CPU1 [ 0.005788] CPU1: Booted secondary processor 0x0000000001 [0x410fd034] [ 0.006370] Detected VIPT I-cache on CPU2 [ 0.006398] CPU2: Booted secondary processor 0x0000000002 [0x410fd034] [ 0.006960] Detected VIPT I-cache on CPU3 [ 0.006987] CPU3: Booted secondary processor 0x0000000003 [0x410fd034] [ 0.007050] smp: Brought up 1 node, 4 CPUs [ 0.007102] SMP: Total of 4 processors activated. [ 0.007113] CPU features: detected: 32-bit EL0 Support [ 0.007124] CPU features: detected: CRC32 instructions [ 0.007371] CPU: All CPU(s) started at EL2 [ 0.007393] alternatives: patching kernel code [ 0.008954] devtmpfs: initialized [ 0.013510] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns [ 0.013560] futex hash table entries: 1024 (order: 4, 65536 bytes) [ 0.017717] xor: measuring software checksum speed [ 0.056091] 8regs : 1750.000 MB/sec [ 0.096130] 32regs : 2151.000 MB/sec [ 0.136174] arm64_neon: 1907.000 MB/sec [ 0.136185] xor: using function: 32regs (2151.000 MB/sec) [ 0.136249] pinctrl core: initialized pinctrl subsystem [ 0.136976] NET: Registered protocol family 16 [ 0.137437] audit: initializing netlink subsys (disabled) [ 0.137584] audit: type=2000 audit(0.136:1): state=initialized audit_enabled=0 res=1 [ 0.138029] cpuidle: using governor menu [ 0.138264] vdso: 2 pages (1 code @ (____ptrval____), 1 data @ (____ptrval____)) [ 0.138282] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers. [ 0.139376] DMA: preallocated 256 KiB pool for atomic allocations [ 0.139468] Serial: AMBA PL011 UART driver [ 0.149330] HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages [ 0.149356] HugeTLB registered 32.0 MiB page size, pre-allocated 0 pages [ 0.149369] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages [ 0.149381] HugeTLB registered 64.0 KiB page size, pre-allocated 0 pages [ 0.149822] cryptd: max_cpu_qlen set to 1000 [ 0.216341] raid6: neonx8 gen() 1254 MB/s [ 0.284427] raid6: neonx8 xor() 1169 MB/s [ 0.352541] raid6: neonx4 gen() 1157 MB/s [ 0.420582] raid6: neonx4 xor() 1103 MB/s [ 0.488732] raid6: neonx2 gen() 887 MB/s [ 0.556760] raid6: neonx2 xor() 924 MB/s [ 0.624888] raid6: neonx1 gen() 553 MB/s [ 0.692966] raid6: neonx1 xor() 654 MB/s [ 0.761112] raid6: int64x8 gen() 749 MB/s [ 0.829153] raid6: int64x8 xor() 572 MB/s [ 0.897257] raid6: int64x4 gen() 792 MB/s [ 0.965358] raid6: int64x4 xor() 583 MB/s [ 1.033505] raid6: int64x2 gen() 517 MB/s [ 1.101545] raid6: int64x2 xor() 460 MB/s [ 1.169663] raid6: int64x1 gen() 337 MB/s [ 1.237700] raid6: int64x1 xor() 339 MB/s [ 1.237711] raid6: using algorithm neonx8 gen() 1254 MB/s [ 1.237720] raid6: .... xor() 1169 MB/s, rmw enabled [ 1.237730] raid6: using neon recovery algorithm [ 1.238696] SCSI subsystem initialized [ 1.238860] usbcore: registered new interface driver usbfs [ 1.238904] usbcore: registered new interface driver hub [ 1.238971] usbcore: registered new device driver usb [ 1.239201] pps_core: LinuxPPS API ver. 1 registered [ 1.239213] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it> [ 1.239240] PTP clock support registered [ 1.240232] clocksource: Switched to clocksource arch_sys_counter [ 1.240365] VFS: Disk quotas dquot_6.6.0 [ 1.240427] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes) [ 1.245916] NET: Registered protocol family 2 [ 1.246431] tcp_listen_portaddr_hash hash table entries: 2048 (order: 3, 32768 bytes) [ 1.246548] TCP established hash table entries: 32768 (order: 6, 262144 bytes) [ 1.246906] TCP bind hash table entries: 32768 (order: 7, 524288 bytes) [ 1.247417] TCP: Hash tables configured (established 32768 bind 32768) [ 1.247551] UDP hash table entries: 2048 (order: 4, 65536 bytes) [ 1.247666] UDP-Lite hash table entries: 2048 (order: 4, 65536 bytes) [ 1.247900] NET: Registered protocol family 1 [ 1.248327] RPC: Registered named UNIX socket transport module. [ 1.248340] RPC: Registered udp transport module. [ 1.248350] RPC: Registered tcp transport module. [ 1.248359] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 1.248577] Unpacking initramfs... [ 1.685538] Freeing initrd memory: 8504K [ 1.836446] Initialise system trusted keyrings [ 1.836621] workingset: timestamp_bits=44 max_order=20 bucket_order=0 [ 1.841274] zbud: loaded [ 1.842544] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 1.843194] NFS: Registering the id_resolver key type [ 1.843223] Key type id_resolver registered [ 1.843232] Key type id_legacy registered [ 1.843248] nfs4filelayout_init: NFSv4 File Layout Driver Registering... [ 1.843260] Installing knfsd (copyright (C) 1996 okir@monad.swb.de). [ 1.844039] 9p: Installing v9fs 9p2000 file system support [ 1.973624] NET: Registered protocol family 38 [ 1.976426] Key type asymmetric registered [ 1.976448] Asymmetric key parser 'x509' registered [ 1.976512] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 248) [ 1.976697] io scheduler mq-deadline registered [ 1.976710] io scheduler kyber registered [ 1.976862] io scheduler bfq registered [ 1.977130] sun50i-de2-bus 1000000.display-engine: Error couldn't map SRAM to device [ 1.977707] sun4i-usb-phy 5100400.phy: Couldn't get regulator usb0_vbus... Deferring probe [ 1.978024] sun50i-usb3-phy 5210000.phy: failed to get phy clock [ 1.981505] sun50i-h6-r-pinctrl 7022000.pinctrl: initialized sunXi PIO driver [ 1.988477] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled [ 1.991290] cacheinfo: Unable to detect cache hierarchy for CPU 0 [ 1.995246] loop: module loaded [ 1.996215] libphy: Fixed MDIO Bus: probed [ 1.997736] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 1.997753] ehci-platform: EHCI generic platform driver [ 1.997902] ehci-platform 5101000.usb: EHCI Host Controller [ 1.997942] ehci-platform 5101000.usb: new USB bus registered, assigned bus number 1 [ 1.998235] ehci-platform 5101000.usb: irq 18, io mem 0x05101000 [ 2.012241] ehci-platform 5101000.usb: USB 2.0 started, EHCI 1.00 [ 2.012438] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.00 [ 2.012457] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 2.012472] usb usb1: Product: EHCI Host Controller [ 2.012484] usb usb1: Manufacturer: Linux 5.0.7-sunxi64 ehci_hcd [ 2.012497] usb usb1: SerialNumber: 5101000.usb [ 2.012939] hub 1-0:1.0: USB hub found [ 2.012977] hub 1-0:1.0: 1 port detected [ 2.013478] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver [ 2.013506] ohci-platform: OHCI generic platform driver [ 2.013640] ohci-platform 5101400.usb: Generic Platform OHCI controller [ 2.013665] ohci-platform 5101400.usb: new USB bus registered, assigned bus number 2 [ 2.013900] ohci-platform 5101400.usb: irq 19, io mem 0x05101400 [ 2.076546] usb usb2: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 5.00 [ 2.076565] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 2.076580] usb usb2: Product: Generic Platform OHCI controller [ 2.076593] usb usb2: Manufacturer: Linux 5.0.7-sunxi64 ohci_hcd [ 2.076606] usb usb2: SerialNumber: 5101400.usb [ 2.076990] hub 2-0:1.0: USB hub found [ 2.077034] hub 2-0:1.0: 1 port detected [ 2.077777] usbcore: registered new interface driver usb-storage [ 2.078187] mousedev: PS/2 mouse device common for all mice [ 2.078613] sun6i-rtc 7000000.rtc: registered as rtc0 [ 2.078627] sun6i-rtc 7000000.rtc: RTC enabled [ 2.078690] i2c /dev entries driver [ 2.078874] sun50i-h6-r-pinctrl 7022000.pinctrl: 7022000.pinctrl supply vcc-pl not found, using dummy regulator [ 2.078941] sun50i-h6-r-pinctrl 7022000.pinctrl: Linked as a consumer to regulator.0 [ 2.079399] axp20x-i2c 0-0036: AXP20x variant AXP806 found [ 2.084709] input: axp20x-pek as /devices/platform/soc/7081400.i2c/i2c-0/0-0036/axp221-pek/input/input0 [ 2.085832] dcdca: supplied by regulator-dummy [ 2.086864] dcdcc: supplied by regulator-dummy [ 2.087453] dcdcd: supplied by regulator-dummy [ 2.087925] vdd-sys: Bringing 900000uV into 960000-960000uV [ 2.088386] dcdce: supplied by regulator-dummy [ 2.088965] aldo1: supplied by regulator-dummy [ 2.089542] aldo2: supplied by regulator-dummy [ 2.090013] vcc-ac200: Bringing 700000uV into 3300000-3300000uV [ 2.090457] aldo3: supplied by regulator-dummy [ 2.090907] vcc-3v3-1: Bringing 700000uV into 3300000-3300000uV [ 2.091658] bldo1: supplied by regulator-dummy [ 2.092650] bldo2: supplied by regulator-dummy [ 2.093250] bldo3: supplied by regulator-dummy [ 2.093697] vcc-wifi-io: Bringing 700000uV into 1800000-1800000uV [ 2.094445] bldo4: supplied by regulator-dummy [ 2.095046] cldo1: supplied by regulator-dummy [ 2.095648] cldo2: supplied by regulator-dummy [ 2.096099] vcc-wifi-1: Bringing 700000uV into 3300000-3300000uV [ 2.096864] cldo3: supplied by regulator-dummy [ 2.097315] vcc-wifi-2: Bringing 700000uV into 3300000-3300000uV [ 2.098072] sw: supplied by regulator-dummy [ 2.098237] axp20x-i2c 0-0036: AXP20X driver loaded [ 2.098956] sun50i-h6-r-pinctrl 7022000.pinctrl: 7022000.pinctrl supply vcc-pm not found, using dummy regulator [ 2.099179] sdhci: Secure Digital Host Controller Interface driver [ 2.099190] sdhci: Copyright(c) Pierre Ossman [ 2.099221] Synopsys Designware Multimedia Card Interface Driver [ 2.099715] sdhci-pltfm: SDHCI platform and OF driver helper [ 2.100332] ledtrig-cpu: registered to indicate activity on CPUs [ 2.100612] hidraw: raw HID events driver (C) Jiri Kosina [ 2.100709] usbcore: registered new interface driver usbhid [ 2.100720] usbhid: USB HID core driver [ 2.101896] NET: Registered protocol family 10 [ 2.122205] Segment Routing with IPv6 [ 2.122311] NET: Registered protocol family 17 [ 2.122485] 8021q: 802.1Q VLAN Support v1.8 [ 2.122645] 9pnet: Installing 9P2000 support [ 2.122708] Key type dns_resolver registered [ 2.123319] registered taskstats version 1 [ 2.123330] Loading compiled-in X.509 certificates [ 2.123414] zswap: loaded using pool lzo/zbud [ 2.124468] Btrfs loaded, crc32c=crc32c-generic [ 2.132812] Key type encrypted registered [ 2.141659] sun4i-usb-phy 5100400.phy: Linked as a consumer to regulator.18 [ 2.142065] phy phy-5210000.phy.2: Linked as a consumer to regulator.18 [ 2.146273] sun50i-h6-pinctrl 300b000.pinctrl: initialized sunXi PIO driver [ 2.146547] sun50i-h6-pinctrl 300b000.pinctrl: 300b000.pinctrl supply vcc-ph not found, using dummy regulator [ 2.146622] sun50i-h6-pinctrl 300b000.pinctrl: Linked as a consumer to regulator.0 [ 2.146978] printk: console [ttyS0] disabled [ 2.167755] 5000000.serial: ttyS0 at MMIO 0x5000000 (irq = 15, base_baud = 1500000) is a 16550A [ 3.523441] printk: console [ttyS0] enabled [ 3.529347] sun4i-drm display-engine: bound 1100000.mixer (ops 0xffff000010b27968) [ 3.537053] sun4i-drm display-engine: bound 6510000.tcon-top (ops 0xffff000010b2bb50) [ 3.545126] sun4i-drm display-engine: bound 6515000.lcd-controller (ops 0xffff000010b24450) [ 3.553550] sun8i-dw-hdmi 6000000.hdmi: 6000000.hdmi supply hvcc not found, using dummy regulator [ 3.562468] sun8i-dw-hdmi 6000000.hdmi: Linked as a consumer to regulator.0 [ 3.569623] sun8i-dw-hdmi 6000000.hdmi: Detected HDMI TX controller v2.12a with HDCP (DWC HDMI 2.0 TX PHY) [ 3.579698] sun8i-dw-hdmi 6000000.hdmi: registered DesignWare HDMI I2C bus driver [ 3.587432] sun4i-drm display-engine: bound 6000000.hdmi (ops 0xffff000010b26d20) [ 3.594923] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013). [ 3.601539] [drm] No driver support for vblank timestamp query. [ 3.607712] [drm] Initialized sun4i-drm 1.0.0 20150629 for display-engine on minor 0 [ 3.615499] [drm] Cannot find any crtc or sizes [ 3.620514] [drm] Cannot find any crtc or sizes [ 3.732493] xhci-hcd xhci-hcd.2.auto: xHCI Host Controller [ 3.738005] xhci-hcd xhci-hcd.2.auto: new USB bus registered, assigned bus number 3 [ 3.746122] xhci-hcd xhci-hcd.2.auto: hcc params 0x0220f064 hci version 0x100 quirks 0x0000000002010010 [ 3.755562] xhci-hcd xhci-hcd.2.auto: irq 20, io mem 0x05200000 [ 3.761778] usb usb3: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.00 [ 3.770052] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 3.777280] usb usb3: Product: xHCI Host Controller [ 3.782165] usb usb3: Manufacturer: Linux 5.0.7-sunxi64 xhci-hcd [ 3.788176] usb usb3: SerialNumber: xhci-hcd.2.auto [ 3.793456] hub 3-0:1.0: USB hub found [ 3.797243] hub 3-0:1.0: 1 port detected [ 3.801418] xhci-hcd xhci-hcd.2.auto: xHCI Host Controller [ 3.806921] xhci-hcd xhci-hcd.2.auto: new USB bus registered, assigned bus number 4 [ 3.814591] xhci-hcd xhci-hcd.2.auto: Host supports USB 3.0 SuperSpeed [ 3.821269] usb usb4: We don't know the algorithms for LPM for this host, disabling LPM. [ 3.829481] usb usb4: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.00 [ 3.837755] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 3.844983] usb usb4: Product: xHCI Host Controller [ 3.849868] usb usb4: Manufacturer: Linux 5.0.7-sunxi64 xhci-hcd [ 3.855880] usb usb4: SerialNumber: xhci-hcd.2.auto [ 3.861084] hub 4-0:1.0: USB hub found [ 3.864866] hub 4-0:1.0: 1 port detected [ 3.869483] ehci-platform 5311000.usb: EHCI Host Controller [ 3.875081] ehci-platform 5311000.usb: new USB bus registered, assigned bus number 5 [ 3.883152] ehci-platform 5311000.usb: irq 21, io mem 0x05311000 [ 3.904247] ehci-platform 5311000.usb: USB 2.0 started, EHCI 1.00 [ 3.910494] usb usb5: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.00 [ 3.918769] usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 3.925999] usb usb5: Product: EHCI Host Controller [ 3.930884] usb usb5: Manufacturer: Linux 5.0.7-sunxi64 ehci_hcd [ 3.936897] usb usb5: SerialNumber: 5311000.usb [ 3.941785] hub 5-0:1.0: USB hub found [ 3.945569] hub 5-0:1.0: 1 port detected [ 3.950068] ohci-platform 5311400.usb: Generic Platform OHCI controller [ 3.956707] ohci-platform 5311400.usb: new USB bus registered, assigned bus number 6 [ 3.964662] ohci-platform 5311400.usb: irq 22, io mem 0x05311400 [ 4.032502] usb usb6: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 5.00 [ 4.040777] usb usb6: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 4.048006] usb usb6: Product: Generic Platform OHCI controller [ 4.053933] usb usb6: Manufacturer: Linux 5.0.7-sunxi64 ohci_hcd [ 4.059944] usb usb6: SerialNumber: 5311400.usb [ 4.064842] hub 6-0:1.0: USB hub found [ 4.068691] hub 6-0:1.0: 1 port detected [ 4.073372] usb_phy_generic usb_phy_generic.3.auto: usb_phy_generic.3.auto supply vcc not found, using dummy regulator [ 4.084148] usb_phy_generic usb_phy_generic.3.auto: Linked as a consumer to regulator.0 [ 4.092422] musb-hdrc musb-hdrc.4.auto: MUSB HDRC host driver [ 4.098181] musb-hdrc musb-hdrc.4.auto: new USB bus registered, assigned bus number 7 [ 4.106177] usb usb7: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.00 [ 4.114455] usb usb7: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 4.121685] usb usb7: Product: MUSB HDRC host driver [ 4.126657] usb usb7: Manufacturer: Linux 5.0.7-sunxi64 musb-hcd [ 4.132669] usb usb7: SerialNumber: musb-hdrc.4.auto [ 4.138302] hub 7-0:1.0: USB hub found [ 4.142094] hub 7-0:1.0: 1 port detected [ 4.146906] sun50i-h6-pinctrl 300b000.pinctrl: 300b000.pinctrl supply vcc-pf not found, using dummy regulator [ 4.157036] sunxi-mmc 4020000.mmc: Linked as a consumer to regulator.14 [ 4.164240] sunxi-mmc 4020000.mmc: Got CD GPIO [ 4.194041] sunxi-mmc 4020000.mmc: initialized, max. request size: 16384 KB, uses new timings mode [ 4.203554] sun50i-h6-pinctrl 300b000.pinctrl: 300b000.pinctrl supply vcc-pg not found, using dummy regulator [ 4.213654] sunxi-mmc 4021000.mmc: Linked as a consumer to regulator.15 [ 4.220336] sunxi-mmc 4021000.mmc: Linked as a consumer to regulator.11 [ 4.227513] sunxi-mmc 4021000.mmc: allocated mmc-pwrseq [ 4.266788] mmc0: host does not support reading read-only switch, assuming write-enable [ 4.276590] mmc0: Problem switching card into high-speed mode! [ 4.282516] mmc0: new SDHC card at address 0001 [ 4.287236] usb 3-1: new high-speed USB device number 2 using xhci-hcd [ 4.294557] mmcblk0: mmc0:0001 SD 29.1 GiB [ 4.298922] usb 5-1: new high-speed USB device number 2 using ehci-platform [ 4.307381] mmcblk0: p1 [ 4.312427] random: fast init done [ 4.460245] sunxi-mmc 4021000.mmc: initialized, max. request size: 16384 KB, uses new timings mode [ 4.469819] sun50i-h6-pinctrl 300b000.pinctrl: 300b000.pinctrl supply vcc-pc not found, using dummy regulator [ 4.479943] sunxi-mmc 4022000.mmc: Linked as a consumer to regulator.14 [ 4.486608] sunxi-mmc 4022000.mmc: Linked as a consumer to regulator.11 [ 4.500271] usb 3-1: New USB device found, idVendor=148f, idProduct=3070, bcdDevice= 1.01 [ 4.508471] usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [ 4.515615] usb 3-1: Product: 802.11 n WLAN [ 4.519810] usb 3-1: Manufacturer: Ralink [ 4.523828] usb 3-1: SerialNumber: 1.0 [ 4.540270] sunxi-mmc 4022000.mmc: initialized, max. request size: 2048 KB, uses new timings mode [ 4.549450] sun6i-rtc 7000000.rtc: setting system clock to 1970-01-01T00:00:09 UTC (9) [ 4.557507] of_cfs_init [ 4.560034] of_cfs_init: OK [ 4.563017] vcc3v3: disabling [ 4.565996] vcc1v8: disabling [ 4.568978] vdd-gpu: disabling [ 4.572697] Freeing unused kernel memory: 576K [ 4.588281] Run /init as init process [ 4.664320] mmc2: new DDR MMC card at address 0001 [ 4.670421] mmcblk2: mmc2:0001 NCard 14.5 GiB [ 4.675813] mmcblk2boot0: mmc2:0001 NCard partition 1 4.00 MiB [ 4.682544] mmcblk2boot1: mmc2:0001 NCard partition 2 4.00 MiB [ 4.689552] mmcblk2: p1 [ 4.720051] sunxi-mmc 4022000.mmc: data error, sending stop command [ 4.726460] sunxi-mmc 4022000.mmc: send stop command failed [ 4.732785] sunxi-mmc 4022000.mmc: data error, sending stop command [ 5.736234] sunxi-mmc 4022000.mmc: send stop command failed
  4. My PineH64, as well as OrangePI one plus (H6) were working fine using 4.18.rc7-bionic till I have tried apt upgrade I'm getting the following error on both. Any ideas? Thank you vm Starting kernel ... [ 2.104055] Internal error: Oops: 96000004 [#1] SMP [ 2.108938] Modules linked in: [ 2.111997] CPU: 1 PID: 33 Comm: kworker/1:1 Not tainted 4.19.11-sunxi64 #5.67.181221 [ 2.119819] Hardware name: Pine H64 (DT) [ 2.123750] Workqueue: events deferred_probe_work_func [ 2.128887] pstate: 80000005 (Nzcv daif -PAN -UAO) [ 2.133679] pc : sun8i_dwmac_probe+0x16c/0x550 [ 2.138121] lr : sun8i_dwmac_probe+0x21c/0x550 [ 2.142560] sp : ffff00000924bb00 [ 2.145871] x29: ffff00000924bb00 x28: 0000000000000000 [ 2.151181] x27: ffff000008d7e9a0 x26: ffff000008bf1b20 [ 2.156491] x25: ffff800077fe1b88 x24: ffff000008c45000 [ 2.161800] x23: ffff800075167c10 x22: ffff800075167c00 [ 2.167110] x21: ffff800009b88018 x20: ffff8000099ede18 [ 2.172419] x19: ffff000008d68000 x18: 0000000000008000 [ 2.177728] x17: 0000000000000001 x16: 0000000000000019 [ 2.183037] x15: 00000000fffffff0 x14: ffff000008c83000 [ 2.188347] x13: 6572206f74207265 x12: 0000000000000030 [ 2.193656] x11: 0101010101010101 x10: 7f7f7f7f7f7f7f7f [ 2.198965] x9 : feff727264626260 x8 : ffff00000924b7c8 [ 2.204275] x7 : 0000000000000000 x6 : 0000000000000003 [ 2.209584] x5 : 0000000000000002 x4 : 0000000000000003 [ 2.214893] x3 : 0000000000000000 x2 : ffff00000924bb70 [ 2.220203] x1 : ffff800009b88400 x0 : ffff800075167c10 [ 2.225516] Process kworker/1:1 (pid: 33, stack limit = 0x(____ptrval____)) [ 2.232472] Call trace: [ 2.234921] sun8i_dwmac_probe+0x16c/0x550 [ 2.239019] platform_drv_probe+0x50/0xa0 [ 2.243029] really_probe+0x1c4/0x298 [ 2.246692] driver_probe_device+0x58/0x100 [ 2.250875] __device_attach_driver+0x98/0xf0 [ 2.255231] bus_for_each_drv+0x64/0xc8 [ 2.259067] __device_attach+0xd8/0x130 [ 2.262902] device_initial_probe+0x10/0x18 [ 2.267084] bus_probe_device+0x90/0x98 [ 2.270920] deferred_probe_work_func+0x74/0xb0 [ 2.275452] process_one_work+0x1e4/0x360 [ 2.279462] worker_thread+0x268/0x4b0 [ 2.283212] kthread+0x128/0x130 [ 2.286442] ret_from_fork+0x10/0x1c [ 2.290019] Code: f9401283 9101c3a2 aa1703e0 f9400463 (a9401464) [ 2.296109] ---[ end trace 5d7d5a8453aae6f4 ]--- [ 2.301096] sunxi-mmc 4020000.mmc: Got CD GPIO [ 2.327072] sunxi-mmc 4022000.mmc: initialized, max. request size: 2048 KB [ 2.330897] sunxi-mmc 4020000.mmc: initialized, max. request size: 16384 KB, uses new timings mode [ 2.391260] mmc0: host does not support reading read-only switch, assuming write-enable [ 2.402549] mmc0: Problem switching card into high-speed mode! [ 2.408501] mmc0: new SDHC card at address 0001 [ 2.413921] mmcblk0: mmc0:0001 SD 29.1 GiB [ 2.419970] mmcblk0: p1 [ 2.488162] mmc1: new high speed MMC card at address 0001 [ 2.494443] mmcblk1: mmc1:0001 NCard 14.5 GiB [ 2.499686] mmcblk1boot0: mmc1:0001 NCard partition 1 4.00 MiB [ 2.506308] mmcblk1boot1: mmc1:0001 NCard partition 2 4.00 MiB [ 2.513295] mmcblk1: p1
  5. PineH64 - Booting from SD Card works well. But, trying to boot from EMMC and getting this: U-Boot SPL 2018.03-rc1-armbian (Apr 24 2018 - 21:55:29 +0200) DRAM: 4096 MiB, 3072 MiB usable Trying to boot from MMC2 mmc_load_image_raw_sector: mmc block read error SPL: failed to boot from all boot devices ### ERROR ### Please RESET the board ### So, U-Boot loads something but then SPL is having trouble. Here is a boot from SD Card, which is fine: U-Boot SPL 2018.03-rc1-armbian (Apr 29 2018 - 22:12:29 +0200) DRAM: 4096 MiB, 3072 MiB usable Trying to boot from MMC1 INFO: PSCI: Powering off cluster 0 core 1 INFO: PSCI: Disabling power to cluster 0 core 1 INFO: PSCI: Powering off cluster 0 core 2 INFO: PSCI: Disabling power to cluster 0 core 2 INFO: PSCI: Powering off cluster 0 core 3 INFO: PSCI: Disabling power to cluster 0 core 3 NOTICE: BL31: v1.4(debug):c591d63 NOTICE: BL31: Built : 20:35:18, Apr 26 2018 INFO: ARM GICv2 driver initialized INFO: BL31: Platform setup done INFO: BL31: Initializing runtime services INFO: BL31: cortex_a53: errata workaround for 835769 was applied INFO: BL31: cortex_a53: errata workaround for 843419 was applied INFO: BL31: cortex_a53: errata workaround for 855873 was applied INFO: BL31: Preparing for EL3 exit to normal world INFO: Entry point address = 0x4a000000 INFO: SPSR = 0x3c9 U-Boot 2018.03-rc1-armbian (Apr 29 2018 - 22:12:29 +0200) Allwinner Technology CPU: Allwinner H6 (SUN50I) Model: Pine H64 DRAM: 3 GiB MMC: SUNXI SD/MMC: 0, SUNXI SD/MMC: 1 Loading Environment from FAT... Unable to use mmc 1:1... Failed (-5) In: serial@5000000 Out: serial@5000000 Err: serial@5000000 Net: No ethernet found. starting USB... No controllers found Hit any key to stop autoboot: 0 switch to partitions #0, OK mmc0 is current device Scanning mmc 0:1... Found U-Boot script /boot/boot.scr 3100 bytes read in 207 ms (13.7 KiB/s) ## Executing script at 4fc00000 U-boot loaded from SD Boot script loaded from mmc 165 bytes read in 166 ms (0 Bytes/s) 11031 bytes read in 359 ms (29.3 KiB/s) ** File not found /boot/dtb/allwinner/overlay/sun50i-h6-fixup.scr ** 9230674 bytes read in 1224 ms (7.2 MiB/s) 15811072 bytes read in 1876 ms (8 MiB/s) ## Loading init Ramdisk from Legacy Image at 4fe00000 ... Image Name: uInitrd Image Type: AArch64 Linux RAMDisk Image (gzip compressed) Data Size: 9230610 Bytes = 8.8 MiB Load Address: 00000000 Entry Point: 00000000 Verifying Checksum ... OK ## Flattened Device Tree blob at 4fa00000 Booting using the fdt blob at 0x4fa00000 Loading Ramdisk to 49732000, end 49fff912 ... OK reserving fdt memory region: addr=4fa00000 size=69000 Loading Device Tree to 00000000496c6000, end 0000000049731fff ... OK Starting kernel ... Loading, please wait... starting version 237 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. Begin: Will now check root file system ... fsck from util-linux 2.31.1 [/sbin/fsck.ext4 (1) -- /dev/mmcblk0p1] fsck.ext4 -a -C0 /dev/mmcblk0p1 /dev/mmcblk0p1: recovering journal /dev/mmcblk0p1: clean, 34409/1711248 files, 337575/7562636 blocks done. done. Begin: Running /scripts/local-bottom ... done. Begin: Running /scripts/init-bottom ... done. once running, EMMC is visible, partition table looks good to me. mmcblk1 is EMMC and mmcblk0 is SD Card steve@pineh64:~$ sudo fdisk /dev/mmcblk1 Command (m for help): p Disk /dev/mmcblk1: 14.5 GiB, 15518924800 bytes, 30310400 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disklabel type: dos Disk identifier: 0xea8d319c Device Boot Start End Sectors Size Id Type /dev/mmcblk1p1 8192 2138111 2129920 1G 83 Linux Command (m for help): q steve@pineh64:~$ sudo fdisk /dev/mmcblk0 Command (m for help): p Disk /dev/mmcblk0: 29.1 GiB, 31293702144 bytes, 61120512 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disklabel type: dos Disk identifier: 0xea8d319c Device Boot Start End Sectors Size Id Type /dev/mmcblk0p1 8192 60509279 60501088 28.9G 83 Linux
  6. This is what I get after excluding xradio driver from the build. CC drivers/of/configfs.o drivers/of/configfs.c: In function ‘create_overlay’: drivers/of/configfs.c:67:8: error: implicit declaration of function ‘of_overlay_create’; did you mean ‘of_overlay_remove’? [-Werror=implicit-function-declaration] err = of_overlay_create(overlay->overlay); ^~~~~~~~~~~~~~~~~ of_overlay_remove drivers/of/configfs.c: In function ‘cfs_overlay_release’: drivers/of/configfs.c:218:3: error: implicit declaration of function ‘of_overlay_destroy’; did you mean ‘of_overlay_remove’? [-Werror=implicit-function-declaration] of_overlay_destroy(overlay->ov_id); ^~~~~~~~~~~~~~~~~~ of_overlay_remove cc1: some warnings being treated as errors scripts/Makefile.build:312: recipe for target 'drivers/of/configfs.o' failed make[2]: *** [drivers/of/configfs.o] Error 1 scripts/Makefile.build:559: recipe for target 'drivers/of' failed make[1]: *** [drivers/of] Error 2 Makefile:1060: recipe for target 'drivers' failed make: *** [drivers] Error 2 [ error ] ERROR in function compile_kernel [ compilation.sh:337 ] [ error ] Kernel was not built [ @host ] [ o.k. ] Process terminated
  7. Try to get armbian compiled for PineH64. Unfortunately, hitting this roadblock. drivers/net/wireless/xradio/sdio.c:17:10: fatal error: asm/mach-types.h: No such file or directory #include <asm/mach-types.h> ^~~~~~~~~~~~~~~~~~ compilation terminated. scripts/Makefile.build:312: recipe for target 'drivers/net/wireless/xradio/sdio.o' failed make[4]: *** [drivers/net/wireless/xradio/sdio.o] Error 1 scripts/Makefile.build:559: recipe for target 'drivers/net/wireless/xradio' failed make[3]: *** [drivers/net/wireless/xradio] Error 2 scripts/Makefile.build:559: recipe for target 'drivers/net/wireless' failed make[2]: *** [drivers/net/wireless] Error 2 scripts/Makefile.build:559: recipe for target 'drivers/net' failed make[1]: *** [drivers/net] Error 2 Makefile:1060: recipe for target 'drivers' failed make: *** [drivers] Error 2 [ error ] ERROR in function compile_kernel [ compilation.sh:337 ] [ error ] Kernel was not built [ @host ] [ o.k. ] Process terminated Any suggestions? Is this even needed - xradio. I will try to exclude it from the build. Thank you