xefil

Members
  • Content Count

    14
  • Joined

  • Last visited

  1. Hmmm, nothing good: root@hass-mobile:~# i2cdetect -l i2c-1 i2c mv64xxx_i2c adapter I2C adapter i2c-2 i2c mv64xxx_i2c adapter I2C adapter i2c-0 i2c mv64xxx_i2c adapter I2C adapter root@hass-mobile:~# i2cdetect -y 3 Error: Could not open file `/dev/i2c-3' or `/dev/i2c/3': No such file or directory (...) root@hass-mobile:~# i2cdetect -y 2 0 1 2 3 4 5 6 7 8 9 a b c d e f 00: -- -- -- -- -- -- -- -- -- -- -- -- -- 10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 70: -- -- -- -- -- -- -- -- root@hass-mobile:~# i2cdetect -y 1 0 1 2 3 4 5 6 7 8 9 a b c d e f 00: -- -- -- -- -- -- -- -- -- -- -- -- -- 10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 70: -- -- -- -- -- -- -- -- root@hass-mobile:~# i2cdetect -y 0 0 1 2 3 4 5 6 7 8 9 a b c d e f 00: -- -- -- -- -- -- -- -- -- -- -- -- -- 10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 30: -- -- -- -- UU -- -- -- -- -- -- -- -- -- -- -- 40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 70: -- -- -- -- -- -- -- -- and as dmesg: [ 0.000000] Booting Linux on physical CPU 0x0 [ 0.000000] Linux version 4.19.47-sunxi (root@ubuntu-bionic) (gcc version 7.4.1 20181213 [linaro-7.4-2019.02 revision 56ec6f6b99cc167ff0c2f8e1a2eed33b1edc85d4] (Linaro GCC 7.4-2019.02)) #5.88 SMP Tue Jun 4 14:29:26 UTC 2019 [ 0.000000] CPU: ARMv7 Processor [410fc074] revision 4 (ARMv7), cr=50c5387d [ 0.000000] CPU: div instructions available: patching division code [ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache [ 0.000000] OF: fdt: Machine model: LeMaker Banana Pro [ 0.000000] Memory policy: Data cache writealloc [ 0.000000] cma: Reserved 128 MiB at 0x77c00000 [ 0.000000] On node 0 totalpages: 261738 [ 0.000000] Normal zone: 1728 pages used for memmap [ 0.000000] Normal zone: 0 pages reserved [ 0.000000] Normal zone: 196608 pages, LIFO batch:63 [ 0.000000] HighMem zone: 65130 pages, LIFO batch:15 [ 0.000000] psci: probing for conduit method from DT. [ 0.000000] psci: Using PSCI v0.1 Function IDs from DT [ 0.000000] random: get_random_bytes called from start_kernel+0x8d/0x3c6 with crng_init=0 [ 0.000000] percpu: Embedded 18 pages/cpu s41548 r8192 d23988 u73728 [ 0.000000] pcpu-alloc: s41548 r8192 d23988 u73728 alloc=18*4096 [ 0.000000] pcpu-alloc: [0] 0 [0] 1 [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 260010 [ 0.000000] Kernel command line: root=UUID=20720bd6-b106-4f62-b4ea-2608dccf0a23 rootwait rootfstype=ext4 console=ttyS0,115200 console=tty1 hdmi.audio=EDID:0 disp.screen0_output_mode=1920x1080p60 panic=10 consoleblank=0 loglevel=1 ubootpart=6fadc9cf-01 ubootsource=mmc usb-storage.quirks=0x2537:0x1066:u,0x2537:0x1068:u sunxi_ve_mem_reserve=0 sunxi_g2d_mem_reserve=0 sunxi_fb_mem_reserve=16 cgroup_enable=memory swapaccount=1 [ 0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes) [ 0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes) [ 0.000000] allocated 1051048 bytes of page_ext [ 0.000000] Memory: 884624K/1046952K available (9216K kernel code, 1004K rwdata, 2580K rodata, 1024K init, 331K bss, 31256K reserved, 131072K cma-reserved, 129448K highmem) [ 0.000000] Virtual kernel memory layout: vector : 0xffff0000 - 0xffff1000 ( 4 kB) fixmap : 0xffc00000 - 0xfff00000 (3072 kB) vmalloc : 0xf0800000 - 0xff800000 ( 240 MB) lowmem : 0xc0000000 - 0xf0000000 ( 768 MB) pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB) modules : 0xbf800000 - 0xbfe00000 ( 6 MB) .text : 0x(ptrval) - 0x(ptrval) (10208 kB) .init : 0x(ptrval) - 0x(ptrval) (1024 kB) .data : 0x(ptrval) - 0x(ptrval) (1005 kB) .bss : 0x(ptrval) - 0x(ptrval) ( 332 kB) [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1 [ 0.000000] ftrace: allocating 39983 entries in 79 pages [ 0.000000] rcu: Hierarchical RCU implementation. [ 0.000000] rcu: RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=2. [ 0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2 [ 0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16 [ 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.000007] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns [ 0.000018] Switching to timer-based delay loop, resolution 41ns [ 0.000373] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns [ 0.000591] clocksource: hstimer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 6370868154 ns [ 0.000843] Console: colour dummy device 80x30 [ 0.000861] console [tty1] enabled [ 0.000921] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=96000) [ 0.000934] pid_max: default: 32768 minimum: 301 [ 0.001163] Security Framework initialized [ 0.001178] AppArmor: AppArmor disabled by boot time parameter [ 0.001263] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes) [ 0.001275] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes) [ 0.002242] CPU: Testing write buffer coherency: ok [ 0.002687] /cpus/cpu@0 missing clock-frequency property [ 0.002702] /cpus/cpu@1 missing clock-frequency property [ 0.002713] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000 [ 0.003360] Setting up static identity map for 0x40100000 - 0x40100054 [ 0.003529] rcu: Hierarchical SRCU implementation. [ 0.004560] smp: Bringing up secondary CPUs ... [ 0.015385] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001 [ 0.015555] smp: Brought up 1 node, 2 CPUs [ 0.015564] SMP: Total of 2 processors activated (96.00 BogoMIPS). [ 0.015569] CPU: All CPU(s) started in HYP mode. [ 0.015572] CPU: Virtualization extensions available. [ 0.016845] devtmpfs: initialized [ 0.025689] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 4 [ 0.025952] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns [ 0.025975] futex hash table entries: 512 (order: 3, 32768 bytes) [ 0.031355] xor: measuring software checksum speed [ 0.071400] arm4regs : 1136.000 MB/sec [ 0.111453] 8regs : 677.000 MB/sec [ 0.151516] 32regs : 693.000 MB/sec [ 0.191578] neon : 1151.000 MB/sec [ 0.191583] xor: using function: neon (1151.000 MB/sec) [ 0.191673] pinctrl core: initialized pinctrl subsystem [ 0.192810] NET: Registered protocol family 16 [ 0.195734] DMA: preallocated 2048 KiB pool for atomic coherent allocations [ 0.196308] audit: initializing netlink subsys (disabled) [ 0.196577] audit: type=2000 audit(0.188:1): state=initialized audit_enabled=0 res=1 [ 0.197217] cpuidle: using governor ladder [ 0.197254] cpuidle: using governor menu [ 0.197843] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers. [ 0.197849] hw-breakpoint: maximum watchpoint size is 8 bytes. [ 0.284331] raid6: int32x1 gen() 170 MB/s [ 0.352179] raid6: int32x1 xor() 145 MB/s [ 0.420362] raid6: int32x2 gen() 231 MB/s [ 0.488542] raid6: int32x2 xor() 179 MB/s [ 0.556719] raid6: int32x4 gen() 234 MB/s [ 0.624731] raid6: int32x4 xor() 174 MB/s [ 0.692882] raid6: int32x8 gen() 223 MB/s [ 0.761032] raid6: int32x8 xor() 155 MB/s [ 0.829093] raid6: neonx1 gen() 447 MB/s [ 0.897264] raid6: neonx1 xor() 416 MB/s [ 0.965423] raid6: neonx2 gen() 600 MB/s [ 1.033550] raid6: neonx2 xor() 537 MB/s [ 1.101685] raid6: neonx4 gen() 721 MB/s [ 1.169813] raid6: neonx4 xor() 605 MB/s [ 1.238008] raid6: neonx8 gen() 649 MB/s [ 1.306077] raid6: neonx8 xor() 548 MB/s [ 1.306081] raid6: using algorithm neonx4 gen() 721 MB/s [ 1.306085] raid6: .... xor() 605 MB/s, rmw enabled [ 1.306089] raid6: using neon recovery algorithm [ 1.307879] SCSI subsystem initialized [ 1.308236] libata version 3.00 loaded. [ 1.308493] usbcore: registered new interface driver usbfs [ 1.308541] usbcore: registered new interface driver hub [ 1.308603] usbcore: registered new device driver usb [ 1.308858] media: Linux media interface: v0.10 [ 1.308892] videodev: Linux video capture interface: v2.00 [ 1.309064] pps_core: LinuxPPS API ver. 1 registered [ 1.309069] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it> [ 1.309086] PTP clock support registered [ 1.311241] clocksource: Switched to clocksource arch_sys_counter [ 1.430636] VFS: Disk quotas dquot_6.6.0 [ 1.430729] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes) [ 1.431548] simple-framebuffer 7fe79000.framebuffer: framebuffer at 0x7fe79000, 0x178e00 bytes, mapped to 0x(ptrval) [ 1.431561] simple-framebuffer 7fe79000.framebuffer: format=x8r8g8b8, mode=656x536x32, linelength=2880 [ 1.439351] fbcon_init: disable boot-logo (boot-logo bigger than screen). [ 1.439363] Console: switching to colour frame buffer device 82x33 [ 1.446298] simple-framebuffer 7fe79000.framebuffer: fb0: simplefb registered! [ 1.454810] NET: Registered protocol family 2 [ 1.455756] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes) [ 1.455791] TCP established hash table entries: 8192 (order: 3, 32768 bytes) [ 1.455886] TCP bind hash table entries: 8192 (order: 4, 65536 bytes) [ 1.456009] TCP: Hash tables configured (established 8192 bind 8192) [ 1.456153] UDP hash table entries: 512 (order: 2, 16384 bytes) [ 1.456217] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes) [ 1.456474] NET: Registered protocol family 1 [ 1.457164] RPC: Registered named UNIX socket transport module. [ 1.457172] RPC: Registered udp transport module. [ 1.457175] RPC: Registered tcp transport module. [ 1.457179] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 1.457437] Trying to unpack rootfs image as initramfs... [ 1.812644] Freeing initrd memory: 4824K [ 1.813392] hw perfevents: no interrupt-affinity property for /pmu, guessing. [ 1.813732] hw perfevents: enabled with armv7_cortex_a7 PMU driver, 5 counters available [ 1.815382] Initialise system trusted keyrings [ 1.815677] workingset: timestamp_bits=14 max_order=18 bucket_order=4 [ 1.822087] zbud: loaded [ 1.824817] NFS: Registering the id_resolver key type [ 1.824851] Key type id_resolver registered [ 1.824856] Key type id_legacy registered [ 1.824871] nfs4filelayout_init: NFSv4 File Layout Driver Registering... [ 1.824876] Installing knfsd (copyright (C) 1996 okir@monad.swb.de). [ 1.826222] JFS: nTxBlock = 7972, nTxLock = 63782 [ 1.837433] SGI XFS with ACLs, security attributes, realtime, no debug enabled [ 1.847521] Key type asymmetric registered [ 1.847534] Asymmetric key parser 'x509' registered [ 1.847606] bounce: pool size: 64 pages [ 1.847684] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246) [ 1.847905] io scheduler noop registered [ 1.847911] io scheduler deadline registered [ 1.848159] io scheduler cfq registered (default) [ 1.848167] io scheduler mq-deadline registered [ 1.848171] io scheduler kyber registered [ 1.848317] io scheduler bfq registered [ 1.850063] sun4i-usb-phy 1c13400.phy: Couldn't get regulator usb1_vbus... Deferring probe [ 1.853856] sun4i-pinctrl 1c20800.pinctrl: initialized sunXi PIO driver [ 1.915492] Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled [ 1.918146] console [ttyS0] disabled [ 1.938321] 1c28000.serial: ttyS0 at MMIO 0x1c28000 (irq = 47, base_baud = 1500000) is a U6_16550A [ 1.938387] console [ttyS0] enabled [ 1.961619] 1c29000.serial: ttyS1 at MMIO 0x1c29000 (irq = 48, base_baud = 1500000) is a U6_16550A [ 1.984721] 1c29c00.serial: ttyS2 at MMIO 0x1c29c00 (irq = 49, base_baud = 1500000) is a U6_16550A [ 1.991971] brd: module loaded [ 1.999421] loop: module loaded [ 2.055285] ahci-sunxi 1c18000.sata: controller can't do PMP, turning off CAP_PMP [ 2.055329] ahci-sunxi 1c18000.sata: SSS flag set, parallel bus scan disabled [ 2.055359] ahci-sunxi 1c18000.sata: AHCI 0001.0100 32 slots 1 ports 3 Gbps 0x1 impl platform mode [ 2.055372] ahci-sunxi 1c18000.sata: flags: ncq sntf stag pm led clo only pio slum part ccc [ 2.057004] scsi host0: ahci-sunxi [ 2.057395] ata1: SATA max UDMA/133 mmio [mem 0x01c18000-0x01c18fff] port 0x100 irq 35 [ 2.060566] libphy: Fixed MDIO Bus: probed [ 2.061212] sun7i-dwmac 1c50000.ethernet: PTP uses main clock [ 2.061226] sun7i-dwmac 1c50000.ethernet: no reset control found [ 2.062429] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 2.062436] ehci-platform: EHCI generic platform driver [ 2.062838] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver [ 2.062870] ohci-platform: OHCI generic platform driver [ 2.063760] usbcore: registered new interface driver usb-storage [ 2.064765] sunxi-rtc 1c20d00.rtc: registered as rtc0 [ 2.064774] sunxi-rtc 1c20d00.rtc: RTC enabled [ 2.064933] i2c /dev entries driver [ 2.065885] axp20x-i2c 0-0034: AXP20x variant AXP209 found [ 2.080123] input: axp20x-pek as /devices/platform/soc@1c00000/1c2ac00.i2c/i2c-0/0-0034/axp20x-pek/input/input0 [ 2.080332] axp20x-regulator axp20x-regulator: regulators node not found [ 2.080368] ldo1: supplied by regulator-dummy [ 2.080616] ldo2: supplied by regulator-dummy [ 2.081695] ldo3: supplied by regulator-dummy [ 2.082328] ldo4: supplied by regulator-dummy [ 2.082507] ldo5: supplied by regulator-dummy [ 2.083544] dcdc2: supplied by regulator-dummy [ 2.084192] dcdc3: supplied by regulator-dummy [ 2.087702] axp20x-i2c 0-0034: Backup (RTC) battery charging is disabled [ 2.087840] axp20x-i2c 0-0034: AXP20X driver loaded [ 2.091058] sunxi-wdt 1c20c90.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0) [ 2.092422] sunxi-mmc 1c0f000.mmc: Linked as a consumer to regulator.2 [ 2.093180] sunxi-mmc 1c0f000.mmc: Got CD GPIO [ 2.093467] ledtrig-cpu: registered to indicate activity on CPUs [ 2.093558] hidraw: raw HID events driver (C) Jiri Kosina [ 2.093708] usbcore: registered new interface driver usbhid [ 2.093711] usbhid: USB HID core driver [ 2.094882] Initializing XFRM netlink socket [ 2.095761] NET: Registered protocol family 10 [ 2.116599] Segment Routing with IPv6 [ 2.116713] NET: Registered protocol family 17 [ 2.116746] NET: Registered protocol family 15 [ 2.116818] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this. [ 2.116872] 8021q: 802.1Q VLAN Support v1.8 [ 2.117255] Key type dns_resolver registered [ 2.117747] Registering SWP/SWPB emulation handler [ 2.118549] registered taskstats version 1 [ 2.118594] Loading compiled-in X.509 certificates [ 2.118708] zswap: loaded using pool lzo/zbud [ 2.118938] sunxi-mmc 1c0f000.mmc: initialized, max. request size: 16384 KB [ 2.119609] sunxi-mmc 1c12000.mmc: Linked as a consumer to regulator.2 [ 2.122203] Btrfs loaded, crc32c=crc32c-generic [ 2.122606] sunxi-mmc 1c12000.mmc: Dropping the link to regulator.2 [ 2.129844] random: fast init done [ 2.133030] Key type encrypted registered [ 2.146432] sun4i-usb-phy 1c13400.phy: Linked as a consumer to regulator.11 [ 2.146675] sun4i-usb-phy 1c13400.phy: Linked as a consumer to regulator.12 [ 2.147614] sun7i-dwmac 1c50000.ethernet: PTP uses main clock [ 2.147629] sun7i-dwmac 1c50000.ethernet: no reset control found [ 2.147734] sun7i-dwmac 1c50000.ethernet: Linked as a consumer to regulator.13 [ 2.154181] mmc0: host does not support reading read-only switch, assuming write-enable [ 2.156084] mmc0: new high speed SDHC card at address 0001 [ 2.157671] mmcblk0: mmc0:0001 00000 14.6 GiB [ 2.159430] mmcblk0: p1 [ 2.255532] sun7i-dwmac 1c50000.ethernet: Version ID not available [ 2.255546] sun7i-dwmac 1c50000.ethernet: DWMAC1000 [ 2.255554] sun7i-dwmac 1c50000.ethernet: DMA HW capability register supported [ 2.255562] sun7i-dwmac 1c50000.ethernet: Normal descriptors [ 2.255567] sun7i-dwmac 1c50000.ethernet: Ring mode enabled [ 2.274344] libphy: stmmac: probed [ 2.274367] RTL8211E Gigabit Ethernet stmmac-0:00: attached PHY driver [RTL8211E Gigabit Ethernet] (mii_bus:phy_addr=stmmac-0:00, irq=POLL) [ 2.274376] RTL8211E Gigabit Ethernet stmmac-0:01: attached PHY driver [RTL8211E Gigabit Ethernet] (mii_bus:phy_addr=stmmac-0:01, irq=POLL) [ 2.275960] ehci-platform 1c14000.usb: EHCI Host Controller [ 2.275999] ehci-platform 1c14000.usb: new USB bus registered, assigned bus number 1 [ 2.276459] ehci-platform 1c14000.usb: irq 32, io mem 0x01c14000 [ 2.291244] ehci-platform 1c14000.usb: USB 2.0 started, EHCI 1.00 [ 2.291529] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 4.19 [ 2.291538] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 2.291545] usb usb1: Product: EHCI Host Controller [ 2.291551] usb usb1: Manufacturer: Linux 4.19.47-sunxi ehci_hcd [ 2.291557] usb usb1: SerialNumber: 1c14000.usb [ 2.292233] hub 1-0:1.0: USB hub found [ 2.292285] hub 1-0:1.0: 1 port detected [ 2.293257] ehci-platform 1c1c000.usb: EHCI Host Controller [ 2.293289] ehci-platform 1c1c000.usb: new USB bus registered, assigned bus number 2 [ 2.293685] ehci-platform 1c1c000.usb: irq 36, io mem 0x01c1c000 [ 2.307253] ehci-platform 1c1c000.usb: USB 2.0 started, EHCI 1.00 [ 2.307484] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 4.19 [ 2.307493] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 2.307499] usb usb2: Product: EHCI Host Controller [ 2.307505] usb usb2: Manufacturer: Linux 4.19.47-sunxi ehci_hcd [ 2.307511] usb usb2: SerialNumber: 1c1c000.usb [ 2.308144] hub 2-0:1.0: USB hub found [ 2.308190] hub 2-0:1.0: 1 port detected [ 2.309155] ohci-platform 1c14400.usb: Generic Platform OHCI controller [ 2.309189] ohci-platform 1c14400.usb: new USB bus registered, assigned bus number 3 [ 2.309441] ohci-platform 1c14400.usb: irq 33, io mem 0x01c14400 [ 2.369783] ata1: SATA link down (SStatus 0 SControl 300) [ 2.371483] usb usb3: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 4.19 [ 2.371492] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 2.371498] usb usb3: Product: Generic Platform OHCI controller [ 2.371505] usb usb3: Manufacturer: Linux 4.19.47-sunxi ohci_hcd [ 2.371510] usb usb3: SerialNumber: 1c14400.usb [ 2.372195] hub 3-0:1.0: USB hub found [ 2.372254] hub 3-0:1.0: 1 port detected [ 2.373178] ohci-platform 1c1c400.usb: Generic Platform OHCI controller [ 2.373208] ohci-platform 1c1c400.usb: new USB bus registered, assigned bus number 4 [ 2.373477] ohci-platform 1c1c400.usb: irq 37, io mem 0x01c1c400 [ 2.435452] usb usb4: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 4.19 [ 2.435462] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 2.435469] usb usb4: Product: Generic Platform OHCI controller [ 2.435475] usb usb4: Manufacturer: Linux 4.19.47-sunxi ohci_hcd [ 2.435481] usb usb4: SerialNumber: 1c1c400.usb [ 2.436113] hub 4-0:1.0: USB hub found [ 2.436173] hub 4-0:1.0: 1 port detected [ 2.437483] sunxi-rtc 1c20d00.rtc: setting system clock to 2019-06-04 00:14:29 UTC (1559607269) [ 2.437744] of_cfs_init [ 2.437803] sunxi-mmc 1c12000.mmc: Linked as a consumer to regulator.2 [ 2.437893] of_cfs_init: OK [ 2.438118] vcc3v0: disabling [ 2.438126] vcc5v0: disabling [ 2.438868] sunxi-mmc 1c12000.mmc: Dropping the link to regulator.2 [ 2.442591] Freeing unused kernel memory: 1024K [ 2.451518] Run /init as init process [ 2.514461] random: systemd-udevd: uninitialized urandom read (16 bytes read) [ 2.515209] random: systemd-udevd: uninitialized urandom read (16 bytes read) [ 2.515490] random: systemd-udevd: uninitialized urandom read (16 bytes read) [ 3.242070] sunxi-mmc 1c12000.mmc: Linked as a consumer to regulator.2 [ 3.243552] sunxi-mmc 1c12000.mmc: allocated mmc-pwrseq [ 3.267405] sunxi-mmc 1c12000.mmc: initialized, max. request size: 16384 KB [ 3.284815] mmc1: queuing unknown CIS tuple 0x80 (2 bytes) [ 3.286463] mmc1: queuing unknown CIS tuple 0x80 (3 bytes) [ 3.288114] mmc1: queuing unknown CIS tuple 0x80 (3 bytes) [ 3.291057] mmc1: queuing unknown CIS tuple 0x80 (7 bytes) [ 3.307392] mmc1: new high speed SDIO card at address 0001 [ 4.216145] EXT4-fs (mmcblk0p1): mounted filesystem with writeback data mode. Opts: (null) [ 4.796282] systemd[1]: systemd 232 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD +IDN) [ 4.796886] systemd[1]: Detected architecture arm. [ 4.799588] systemd[1]: Set hostname to <hass-mobile>. [ 5.271935] systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point. [ 5.273376] systemd[1]: Listening on udev Control Socket. [ 5.274210] systemd[1]: Listening on udev Kernel Socket. [ 5.275143] systemd[1]: Listening on Journal Socket. [ 5.275946] systemd[1]: Reached target Remote File Systems. [ 5.277590] systemd[1]: Created slice User and Session Slice. [ 5.279075] systemd[1]: Created slice System Slice. [ 5.517928] cfg80211: Loading compiled-in X.509 certificates for regulatory database [ 5.568011] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7' [ 5.568707] EXT4-fs (mmcblk0p1): re-mounted. Opts: commit=600,errors=remount-ro [ 5.572230] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2 [ 5.572243] platform regulatory.0: Falling back to syfs fallback for: regulatory.db [ 5.620371] Ethernet Channel Bonding Driver: v3.7.1 (April 27, 2011) [ 5.621128] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43362-sdio for chip BCM43362/1 [ 5.905596] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43362-sdio for chip BCM43362/1 [ 6.332980] systemd-journald[212]: Received request to flush runtime journal from PID 1 [ 6.510281] cfg80211: failed to load regulatory.db [ 6.536979] brcmfmac: brcmf_c_process_clm_blob: no clm_blob available (err=-11), device may have limited channels available [ 6.542414] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM43362/1 wl0: Apr 22 2013 14:50:00 version 5.90.195.89.6 FWID 01-b30a427d [ 7.518663] zram: Added device: zram0 [ 7.520658] zram: Added device: zram1 [ 7.521466] zram: Added device: zram2 [ 7.707061] zram1: detected capacity change from 0 to 523030528 [ 7.881032] Adding 510768k swap on /dev/zram1. Priority:5 extents:1 across:510768k SSFS [ 8.156965] zram0: detected capacity change from 0 to 52428800 [ 8.840489] EXT4-fs (zram0): mounted filesystem without journal. Opts: discard [ 9.000960] sun4i-ss 1c15000.crypto-engine: Die ID 0 [ 9.162782] Registered IR keymap rc-empty [ 9.162967] rc rc0: sunxi-ir as /devices/platform/soc@1c00000/1c21800.ir/rc/rc0 [ 9.163138] input: sunxi-ir as /devices/platform/soc@1c00000/1c21800.ir/rc/rc0/input1 [ 9.166001] rc rc0: lirc_dev: driver sunxi-ir registered at minor = 0, raw IR receiver, no transmitter [ 9.183612] sunxi-ir 1c21800.ir: initialized sunXi IR driver [ 9.367811] sun4i-codec 1c22c00.codec: ASoC: Failed to create component debugfs directory [ 9.375946] sun4i-codec 1c22c00.codec: Codec <-> 1c22c00.codec mapping ok [ 9.541839] lima 1c40000.gpu: bus rate = 300000000 [ 9.541854] lima 1c40000.gpu: mod rate = 384000000 [ 9.549593] [TTM] Zone kernel: Available graphics memory: 380512 kiB [ 9.549604] [TTM] Zone highmem: Available graphics memory: 510772 kiB [ 9.549608] [TTM] Initializing pool allocator [ 9.550687] lima 1c40000.gpu: gp - mali400 version major 1 minor 1 [ 9.550767] lima 1c40000.gpu: pp0 - mali400 version major 1 minor 1 [ 9.550824] lima 1c40000.gpu: pp1 - mali400 version major 1 minor 1 [ 9.550891] lima 1c40000.gpu: l2 cache 64K, 4-way, 64byte cache line, 64bit external bus [ 9.569099] [drm] Initialized lima 1.0.0 20170325 for 1c40000.gpu on minor 0 [ 11.684996] random: crng init done [ 11.685009] random: 7 urandom warning(s) missed due to ratelimiting [ 16.689953] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready [ 16.699432] RTL8211E Gigabit Ethernet stmmac-0:00: attached PHY driver [RTL8211E Gigabit Ethernet] (mii_bus:phy_addr=stmmac-0:00, irq=POLL) [ 16.701625] sun7i-dwmac 1c50000.ethernet eth0: No Safety Features support found [ 16.701641] sun7i-dwmac 1c50000.ethernet eth0: RX IPC Checksum Offload disabled [ 16.701653] sun7i-dwmac 1c50000.ethernet eth0: No MAC Management Counters available [ 16.701662] sun7i-dwmac 1c50000.ethernet eth0: PTP not supported by HW [ 16.702255] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready [ 16.833949] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready [ 16.930135] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready [ 19.111285] brcmfmac: brcmf_p2p_create_p2pdev: timeout occurred [ 19.111309] brcmfmac: brcmf_cfg80211_add_iface: add iface p2p-dev-wlan0 type 10 failed: err=-5 [ 19.146950] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready [ 21.132680] sun7i-dwmac 1c50000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx [ 21.132741] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready as well as lsmod, if needed: root@hass-mobile:~# lsmod Module Size Used by sun4i_gpadc_iio 16384 0 lima 40960 0 gpu_sched 20480 1 lima ttm 57344 1 lima sun4i_codec 32768 3 evdev 20480 1 axp20x_adc 16384 0 industrialio 49152 2 sun4i_gpadc_iio,axp20x_adc snd_soc_core 114688 1 sun4i_codec snd_pcm_dmaengine 16384 1 snd_soc_core snd_pcm 69632 3 sun4i_codec,snd_pcm_dmaengine,snd_soc_core sun4i_ts 16384 0 snd_timer 24576 1 snd_pcm sun4i_gpadc 16384 0 snd 45056 3 snd_timer,snd_soc_core,snd_pcm soundcore 16384 1 snd pwm_sun4i 16384 0 sunxi_cir 16384 0 sun4i_ss 24576 0 cpufreq_dt 16384 0 thermal_sys 57344 3 sun4i_ts,cpufreq_dt,sun4i_gpadc_iio uio_pdrv_genirq 16384 0 uio 16384 1 uio_pdrv_genirq zstd 16384 2 zram 24576 2 bonding 94208 0 brcmfmac 159744 0 brcmutil 16384 1 brcmfmac cfg80211 393216 1 brcmfmac ip_tables 20480 0 x_tables 20480 1 ip_tables pwrseq_simple 16384 1 realtek 16384 1 Ideas? :'( Simon
  2. Ok, now something new is happened, but it's not working... vagrant@ubuntu-bionic:~/armbian/output/debug$ grep userpatch patching.log Processing file /home/vagrant/armbian/userpatches/u-boot/u-boot-sunxi/u-boot-sunxi-next.patch Processing file /home/vagrant/armbian/userpatches/kernel/sunxi-next/kernel-sunxi-next.patch BTW, again only backlight is controllable. Is there something I can check on the BananaPiPro itself to understand if the device is loaded into kernel? lsmod, devices, dmesg, whatever? I could of course share the whole "debug" folder in the compiler VM as well ;-) Thanks for your help! Simon
  3. Ok, I'll place it then here: '/home/vagrant/armbian/userpatches/u-boot/u-boot-sunxi' and here '/home/vagrant/armbian/userpatches/kernel/sunxi-next' (one per path) and let me see if something changes
  4. Okie, I'll do that. Move '~/armbian/output/patch' files. BTW to be sure, for 'userpatches/u-boot/u-boot-sunxi' I have to move '/home/vagrant/armbian/output/patch/u-boot-sunxi-next.patch' where exactly: $ pwd /home/vagrant/armbian/userpatches/u-boot/u-boot-sunxi vagrant@ubuntu-bionic:~/armbian/userpatches/u-boot/u-boot-sunxi$ ls -al total 4 drwxrwxrwx 1 vagrant vagrant 0 Jun 3 12:25 . drwxrwxrwx 1 vagrant vagrant 4096 Jun 3 12:25 .. drwxrwxrwx 1 vagrant vagrant 0 Jun 3 12:25 board_lime2 drwxrwxrwx 1 vagrant vagrant 0 Jun 3 12:25 board_olimex-som-a20 drwxrwxrwx 1 vagrant vagrant 0 Jun 3 12:25 board_pine64so drwxrwxrwx 1 vagrant vagrant 0 Jun 3 12:25 branch_default Subfolders are empty. So where exactly? And for 'userpatches/kernel/sunxi-next' I have to move '/home/vagrant/armbian/output/patch/kernel-sunxi-next.patch'... $ pwd /home/vagrant/armbian/userpatches/kernel/sunxi-next vagrant@ubuntu-bionic:~/armbian/userpatches/kernel/sunxi-next$ ls -al total 4 drwxrwxrwx 1 vagrant vagrant 0 Jun 3 12:25 . drwxrwxrwx 1 vagrant vagrant 4096 Jun 3 12:25 .. here? Thanks for the support! Simon
  5. Maybe yes, maybe not? AFAYK, reading the howto procedure, I've to modify the files when asked, in the path indicated during the setup (compile.sh), as indicated above. This will create the patches, I hope, in the path '/home/vagrant/armbian/output/patch'. So there is where I've found the .patch file. About userpatches: vagrant@ubuntu-bionic:~/armbian/userpatches$ find . -type f ./customize-image.sh ./README There is nothing new. The only fresh paches are: vagrant@ubuntu-bionic:~/armbian/output/patch$ ls -al total 8 drwxrwxrwx 1 vagrant vagrant 0 Jun 4 11:44 . drwxrwxrwx 1 vagrant vagrant 0 Jun 3 12:25 .. -rwxrwxrwx 1 vagrant vagrant 1569 Jun 4 11:43 kernel-sunxi-next.patch -rwxrwxrwx 1 vagrant vagrant 2087 Jun 4 11:38 u-boot-sunxi-next.patch Hmmmm :-) Btw, having the ability to turn backlight on and off, something was added :-) but I've no idea to check if the device is recognized. Ideas? Thanks, Simon
  6. Hmmm, nothing strange, but the same way, nothing that is telling me my patches are applied:
  7. I've retried to build it again. The results are slightly different deb in size. I've double checked that in the patch folder the patches are present and they are: Installed, nothing changed. Is there a way to check it in the logs of the armbian itself? Thanks a lot! Simon
  8. Sorry, but I'venot totally understood. Board settings were applied: And this is not done applying the mods specified in the doc? How can I understand if the patches are applied or not? Thanks, Simon
  9. Hello to all, I've followed this thread to compile the new u-boot and kernel: The only difference during the instructions was that I've had to enable the 'EXPERT="yes"' mode to access BananaPiPro. After patching and compiling, the result was: -rwxr-xr-x 1 root root 176360 Jun 3 04:42 linux-dtb-next-sunxi_5.88_armhf.deb -rwxr-xr-x 1 root root 10597964 Jun 3 04:42 linux-headers-next-sunxi_5.88_armhf.deb -rwxr-xr-x 1 root root 20541784 Jun 3 04:42 linux-image-next-sunxi_5.88_armhf.deb -rwxr-xr-x 1 root root 396289200 Jun 3 04:43 linux-source-next-sunxi_5.88_all.deb -rwxr-xr-x 1 root root 247868 Jun 3 04:43 linux-u-boot-next-bananapipro_5.88_armhf.deb I've installed those packages without problems, but now the LCD monitor remains ON but without any output. If I follow the instructions to turn it ON and OFF via GPIO-PIN 34, the display turns in fact on and off, but nothing is shown. I've tested an Android image, which works well, it means it's not an LCD issue. So what I'm missing? Any help? Thanks, Simon!!
  10. THANKS! I'll give it a try and let you know Simon
  11. Good morning, That's a great point to start with, and as always, first rule, RTFM, you're absolutely right. I've started reading it and it's a little complicated. The part that I think it's referred on what I need is: Due I'll need to connect on this board two radio (one NRF24L01+ and one RFM69), I fear to make some damages, so I ask here. I would start with one radio first, the RFM69. But here comes the first question it's not totally clear for me: 1. Is the BananaPi able to have two radio connected on the GPIO? Seems yes if the above doc speeks about SPI 0 - 1 - 2 all with required MOSI, MISO, SCK, CS.... But I've read somewhere for RPi the following: 2. I'ts valid for BananaPi as well? BTW then, let's start with the first radio assuming I can start with bus0. The overlay should look like: overlays=spi-spidev param_spidev_spi_bus=0 That should create a "/dev/spidev***" device. This should give me those connections GPIO available: MOSI: PI12 -> CON3-PORT19 MISO: PI13 -> CON3-PORT21 SCK: PI11 -> CON3-PORT23 CS: PI10 -> CON3-PORT24 Then I'm missing the power 3.3v (CON3-PORT01), ground (CON3-PORT06) and IRQ, which should be ok any normal PIN (i.e. CON3-PORT22). Until here makes it sense?? Sorry, but as written above I fear I could make some mistrakes and damage the devices. Assuming the above works, how can then I add a second spidev? This is something I cannot understand from the documentation. Many thanks, Simon
  12. Hello, Sorry but nobody can give me some hints? Thanks, Simon
  13. Hello to all! I'm using Armbian on my BananaPi board. I've the following version: ARMBIAN 5.38 stable Debian GNU/Linux 9 (stretch) 4.14.15-sunxi BOARD=bananapi BOARD_NAME="Banana Pi" VERSION=5.35 LINUXFAMILY=sunxi BRANCH=next ARCH=arm IMAGE_TYPE=user-built BOARD_TYPE=conf INITRD_ARCH=arm KERNEL_IMAGE_TYPE=zImage I need to follow these instructions to wire a radio on the board: https://www.mysensors.org/build/orange But I cannot find the script.bin file. Why? I can remember the file was here on old releases. Any help or suggestion? Thanks, Simon