xefil
-
Posts
16 -
Joined
-
Last visited
Content Type
Forums
Store
Crowdfunding
Applications
Events
Raffles
Community Map
Posts posted by xefil
-
-
Armbianmonitor:
Hi all,
I've a bananapi 1 and would like to follow this guide to attach to my board directly a Zigbee device CC2530+CC2591: https://www.zigbee2mqtt.io/information/connecting_cc2530.html#wiring-cc2530-to-the-raspberry
Then, I've connected it using exactly the same schema, which should be the same on BananaPi, based on http://wiki.lemaker.org/File:Banana_Pro_CON6_Definetion.png
VCC -> 3,3V (Pin1) GND -> GND (Pin6) P02 -> TXD (Pin8) P03 -> RXD (Pin10)
Then, I've tried to connect to serial via minicom:
minicom -b 115200 -o -D /dev/ttyS2
BTW I'm not getting any info from the device, so what I'm doing wrong?
I've then enabled via armbian-config the UART2 and rebooted, but nothing changed.
Previously this device was attached on an ESP8266 and was working, so I think it's not a device option.
Could someone help me?
Many thanks!
Simon
-
Sorry, nobody can help? :-) :-)
-
5 hours ago, martinayotte said:
I don't know about the LDC stuff itself, but at least you can check if I2C is now actually added by doing "i2cdetect -l", then "i2cdetect -y 3".
Of course a "dmesg" could reveal something also ...
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
-
34 minutes ago, martinayotte said:
Sure ! you will see that they will be applied by looking at output/debug/patching.log ...
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
-
9 minutes ago, martinayotte said:
No need to use those subfolders ...
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
-
3 minutes ago, martinayotte said:
Move those newly created patches into the respective folder I've mentioned and restart new build, you will see that those will be applied ...
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
-
44 minutes ago, martinayotte said:
Are you placing your patches in the proper path, ie : userpatches/u-boot/u-boot-sunxi and userpatches/kernel/sunxi-next accordingly ?
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
-
1 hour ago, martinayotte said:
There is a log in output/debug/patching.log
If any error occurs during the patch applying, it will be shown there ...
Hmmm, nothing strange, but the same way, nothing that is telling me my patches are applied:
Spoilervagrant@ubuntu-bionic:~/armbian/output/debug$ more patching.log Processing file /home/vagrant/armbian/patch/u-boot/u-boot-sunxi/0000-sunxi-allwinner-a10-spi-driver.patch Processing file /home/vagrant/armbian/patch/u-boot/u-boot-sunxi/0020-sunxi-call-fdt_fixup_ethernet-again-to-set-macaddr-f.patch Processing file /home/vagrant/armbian/patch/u-boot/u-boot-sunxi/Merrii_Hummingbird_A20.patch Processing file /home/vagrant/armbian/patch/u-boot/u-boot-sunxi/add-a20-optional-eMMC.patch Processing file /home/vagrant/armbian/patch/u-boot/u-boot-sunxi/add-a64-olinuxino-emmc-support.patch Processing file /home/vagrant/armbian/patch/u-boot/u-boot-sunxi/add-a64-olinuxino-spl-spi.patch Processing file /home/vagrant/armbian/patch/u-boot/u-boot-sunxi/add-awsom-defconfig.patch Processing file /home/vagrant/armbian/patch/u-boot/u-boot-sunxi/add-beelink-x2.patch Processing file /home/vagrant/armbian/patch/u-boot/u-boot-sunxi/add-emmc_support_to_neo1_and_2.patch Processing file /home/vagrant/armbian/patch/u-boot/u-boot-sunxi/add-nanopi-air-emmc.patch Processing file /home/vagrant/armbian/patch/u-boot/u-boot-sunxi/add-nanopi-duo.patch Processing file /home/vagrant/armbian/patch/u-boot/u-boot-sunxi/add-nanopi-m1-plus2-emmc.patch Processing file /home/vagrant/armbian/patch/u-boot/u-boot-sunxi/add-nanopi-neo-core.patch Processing file /home/vagrant/armbian/patch/u-boot/u-boot-sunxi/add-nanopi-r1-and-duo2.patch Processing file /home/vagrant/armbian/patch/u-boot/u-boot-sunxi/add-nanopineoplus2.patch Processing file /home/vagrant/armbian/patch/u-boot/u-boot-sunxi/add-orangepi-plus2-emmc.patch Processing file /home/vagrant/armbian/patch/u-boot/u-boot-sunxi/add-orangepi-zero-usb-boot-support.patch Processing file /home/vagrant/armbian/patch/u-boot/u-boot-sunxi/add-orangepi-zeroplus.patch Processing file /home/vagrant/armbian/patch/u-boot/u-boot-sunxi/add-orangepi-zeroplus2_h3.patch Processing file /home/vagrant/armbian/patch/u-boot/u-boot-sunxi/add-sunvell-r69.patch Processing file /home/vagrant/armbian/patch/u-boot/u-boot-sunxi/add-teres.patch Processing file /home/vagrant/armbian/patch/u-boot/u-boot-sunxi/add-xx-boot-auto-dt-select-neo2.patch Processing file /home/vagrant/armbian/patch/u-boot/u-boot-sunxi/add-xx-nanopi-k1-plus-emmc.patch Processing file /home/vagrant/armbian/patch/u-boot/u-boot-sunxi/add-xx-nanopineocore2.patch Processing file /home/vagrant/armbian/patch/u-boot/u-boot-sunxi/adjust-default-dram-clockspeeds.patch Processing file /home/vagrant/armbian/patch/u-boot/u-boot-sunxi/adjust-small-boards-cpufreq.patch Processing file /home/vagrant/armbian/patch/u-boot/u-boot-sunxi/enable-autoboot-keyed.patch Processing file /home/vagrant/armbian/patch/u-boot/u-boot-sunxi/enable-ethernet-orangepiprime.patch Processing file /home/vagrant/armbian/patch/u-boot/u-boot-sunxi/enable-r_pio-gpio-access-h3-h5.patch Processing file /home/vagrant/armbian/patch/u-boot/u-boot-sunxi/fdt-setprop-fix-unaligned-access.patch Processing file /home/vagrant/armbian/patch/u-boot/u-boot-sunxi/fix-missing-clock-cells-in-rtc-sunxi-h3-h5.patch Processing file /home/vagrant/armbian/patch/u-boot/u-boot-sunxi/fix-orangepizero-plus-h3.patch Processing file /home/vagrant/armbian/patch/u-boot/u-boot-sunxi/h3-Fix-PLL1-setup-to-never-use-dividers.patch Processing file /home/vagrant/armbian/patch/u-boot/u-boot-sunxi/h3-enable-power-led.patch Processing file /home/vagrant/armbian/patch/u-boot/u-boot-sunxi/h3-set-safe-axi_apb-clock-dividers.patch Processing file /home/vagrant/armbian/patch/u-boot/u-boot-sunxi/lower-default-DRAM-freq-A64-H5.patch Processing file /home/vagrant/armbian/patch/u-boot/u-boot-sunxi/sun8i-set-machid.patch Processing file /home/vagrant/armbian/patch/u-boot/u-boot-sunxi/sunxi-boot-splash.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/0000-remove-old-ths-node.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/0000-unlock-h5-dvfs.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/0001-arm64-allwinner-a64-enable-Wi-Fi-for-Pine64.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/0001-arm64-dts-allwinner-a64-Enable-A64-timer-workaround.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/0002-arm64-allwinner-a64-add-Mali-device-node.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/0003-net-stmmac-dwmac-sun8i-support-RGMII-modes-with-PHY-.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/0004-arm64-allwinner-a64-disable-the-RTL8211E-internal-RX.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/0005-drm-gem-cma-Export-with-handle-allocator.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/0006-drm-sun4i-Add-GEM-allocator.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/0007-Add-sopine-HDMI-sound-and-WiFi-support.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/0008-arm64-dts-sun50i-a64-pine64-add-HDMI-audio-nodes.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/0009-dt-bindings-update-the-Allwinner-GPADC-device-tree-b.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/0011-iio-adc-sun4i-gpadc-iio-rename-A33-specified-registe.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/0012-iio-adc-sun4i-gpadc-iio-rework-sampling-start-end-co.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/0013-iio-adc-sun4i-gpadc-iio-rework-support-clocks-and-re.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/0014-iio-adc-sun4i-gpadc-iio-rework-support-multible-sens.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/0015-iio-adc-sun4i-gpadc-iio-rework-support-nvmem-calibra.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/0016-iio-adc-sun4i-gpadc-iio-rework-add-interrupt-support.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/0017-iio-adc-sun4i-gpadc-iio-add-support-for-H3-thermal-s.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/0018-iio-adc-sun4i-gpadc-iio-add-support-for-A83T-thermal.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/0019-arm-dts-sunxi-h3-h5-add-support-for-the-thermal-sens.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/0020-arm-dts-sun8i-h3-add-support-for-the-thermal-sensor-.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/0021-arm-dts-sun8i-h3-add-thermal-zone-to-H3.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/0026-iio-adc-Kconfig-enable-A80-A64-and-H5-for-THS.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/0027-iio-adc-sun4i-gpadc-iio-add-support-for-H5-thermal-s.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/0028-iio-adc-sun4i-gpadc-iio-add-support-for-A80-thermal-.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/0029-iio-adc-sun4i-gpadc-iio-add-support-for-A64-thermal-.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/0030-arm64-dts-allwinner-h5-add-support-for-the-thermal-s.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/0031-arm64-dts-allwinner-h5-add-termal-zone-to-H5.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/0032-arm-dts-sun9i-a80-add-support-for-the-thermal-sensor.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/0033-arm-dts-sun9i-a80-add-thermal-zone-to-A80.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/0034-dts-a64-ths.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/0035-clk-sunxi-ng-add-mux-and-pll-notifiers-for-A64-CPU-c.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/0036-sun4i-gpadc-iio-ignore-zero-samples-to-avoid-force-p.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/0037-a64-dvfs-wip.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/0038-ARM-dts-add-gpu-node-to-exynos4.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/0039-dt-bindings-add-switch-delay-property-for-mali-utgar.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/0042-drm-lima-add-lima-uapi-header.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/0043-drm-lima-add-mali-4xx-GPU-hardware-regs.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/0044-drm-lima-add-lima-core-driver.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/0045-drm-lima-add-GPU-device-functions.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/0046-drm-lima-add-PMU-related-functions.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/0047-drm-lima-add-L2-cache-functions.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/0048-drm-lima-add-GP-related-functions.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/0049-drm-lima-add-PP-related-functions.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/0050-drm-lima-add-MMU-related-functions.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/0051-drm-lima-add-BCAST-related-function.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/0052-drm-lima-add-DLBU-related-functions.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/0053-drm-lima-add-GPU-virtual-memory-space-handing.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/0054-drm-lima-add-TTM-subsystem-functions.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/0055-drm-lima-add-buffer-object-functions.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/0056-drm-lima-add-GEM-related-functions.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/0057-drm-lima-add-GEM-Prime-related-functions.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/0058-drm-lima-add-GPU-schedule-using-DRM_SCHED.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/0059-drm-lima-add-context-related-functions.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/0060-drm-lima-add-makefile-and-kconfig.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/0061-drm-lima-use-SPDX-identifiers-and-change-copyright.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/0062-drm-lima-lima_reg.h-use-BIT.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/0063-drm-lima-add-IRQF_SHARED-for-GP-irq.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/0064-drm-lima-Kconfig-only-depend-on-ARM-or-ARM64.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/0065-drm-lima-add-comments-for-lima_reg.h.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/0066-drm-lima-wait-bo-fence-before-bo-close.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/0067-drm-lima-refine-lima_gem_sync_bo.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/0068-drm-lima-vm-will-be-freed-when-lima_sched_free_job.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/0069-drm-lima-vm-alloc-buffer-with-multi-page-table.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/0070-drm-lima-clear-vm-page-table-when-alloc.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/0071-drm-lima-update-SPDX-header-to-match-kernel-rules.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/0072-drm-fourcc-add-ARM-tiled-format-modifier.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/0073-drm-lima-add-DRM_LIMA_GEM_MOD-ioctl.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/0074-a64-ccu-enable-LDOs-for-pll-mipi-and-add-min-max-rat.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/0075-sopine-baseboard-enable-HS200-for-eMMC.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/0076-drm-lima-remove-depend-on-ARM-arch.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/0077-drm-lima-port-to-4.18-kernel.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/0078-drm-lima-user-can-choose-not-to-use-dlbu-on-mali450.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/0080-rtl8723bs-disable-error-message-about-failure-to-all.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/0083-clk-sunxi-ng-Add-maximum-rate-constraint-to-NM-PLLs.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/0084-clk-sunxi-ng-h3-h5-Add-max.-rate-constraint-to-pll-v.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/0085-clk-sunxi-ng-Adjust-MP-clock-parent-rate-when-allowe.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/0086-clk-sunxi-ng-Use-u64-for-calculation-of-NM-rate.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/0087-drm-sun4i-tcon-Pass-drm_encoder-into-sun4i_tcon0_mod.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/0088-drm-sun4i-tcon-Rename-Dithering-related-register-mac.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/0089-drm-sun4i-tcon-Add-dithering-support-for-RGB565-RGB6.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/0090-drm-sun4i-tcon-prevent-tcon-panel-dereference-if-nul.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/0091-clk-sunxi-ng-a64-Add-minimal-rate-for-video-PLLs.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/0092-clk-sunxi-ng-a64-Add-max.-rate-constraint-to-video-P.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/0093-dt-bindings-display-Add-compatible-for-A64-DE2-displ.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/0094-drm-sun4i-Add-support-for-A64-mixers.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/0095-drm-sun4i-Add-support-for-A64-display-engine.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/0096-dt-bindings-display-Add-compatible-for-A64-HDMI.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/0097-dt-bindings-clock-sun50i-a64-ccu-Add-PLL_VIDEO0-macr.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/0098-arm64-dts-allwinner-a64-Add-display-pipeline.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/0099-dt-bindings-sun4i-drm-add-HDMI-VCC-supply-property-f.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/0100-drm-sun4i-Add-support-for-HDMI-voltage-regulator.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/0101-arm64-dts-allwinner-a64-Enable-HDMI-output-on-A64-bo.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/0102-dt-bindings-power-supply-axp20x-add-AXP813-AC-power-.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/0103-dt-bindings-power-supply-axp20x-add-AXP803-power-bin.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/0104-dt-bindings-gpio-gpio-axp209-add-AXP803-GPIO-binding.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/0105-dt-bindings-iio-adc-add-AXP803-ADC-bindings.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/0106-ARM-dts-axp81x-add-AC-power-supply-subnode.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/0107-arm64-dts-allwinner-axp803-add-AC-and-battery-power-.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/0108-arm64-dts-allwinner-a64-sopine-baseboard-enable-powe.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/0109-arm64-dts-allwinner-a64-pinebook-enable-power-suppli.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/0110-power-supply-add-AC-power-supply-driver-for-AXP813.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/0111-mfd-axp20x-Add-AC-power-supply-cell-for-AXP813.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/0112-mfd-axp20x-Add-supported-cells-for-AXP803.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/0113-ASoC-sun4i-i2s-move-code-from-startup-shutdown-hooks.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/0114-ASoC-sun4i-i2s-Add-compatibility-with-A64-codec-I2S.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/0115-ASoC-sun8i-codec-Don-t-hardcode-BCLK-LRCK-ratio.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/0116-ASoC-sun8i-codec-analog-split-regmap-code-into-separ.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/0117-ASoC-dt-binding-Add-bindings-for-Allwinner-A64-codec.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/0118-ASoC-sunxi-Add-new-driver-for-Allwinner-A64-codec-s-.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/0119-ASoC-sunxi-allow-the-sun8i-codec-driver-to-be-built-.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/0120-arm64-dts-allwinner-a64-add-nodes-necessary-for-anal.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/0121-arm64-dts-allwinner-a64-enable-sound-on-Pine64-and-S.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/0122-arm64-dts-allwinner-a64-enable-sound-on-Pinebook.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/0123-drm-sun4i-tcon-enable-dithering-on-tcon0-is-there-s-.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/0124-drm-lima-Fix-Lima-to-work-with-drm-scheduler-changes.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/0125-drm-lima-Fix-lima-cache-creation.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/0126-drm-bridge-move-ANA78xx-driver-to-analogix-subdirect.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/0127-drm-bridge-split-some-definitions-of-ANX78xx-to-dedi.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/0128-drm-bridge-extract-some-Analogix-I2C-DP-common-code.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/0129-dt-bindings-Add-ANX6345-DP-eDP-transmitter-binding.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/0130-drm-bridge-Add-Analogix-anx6345-support.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/0131-arm64-allwinner-a64-add-pinmux-for-RGB666-LCD.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/0132-arm64-allwinner-a64-enable-ANX6345-bridge-on-Pineboo.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/0133-arm64-allwinner-a64-enable-ANX6345-bridge-on-TERES-I.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/0134-drm-sun4i-rgb-Add-5-tolerance-to-dot-clock-frequency.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/0135-clk-sunxi-ng-enable-so-said-LDOs-for-A64-SoC-s-pll-m.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/0136-hdmi-audio-fixup.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/0137-Pinebook-HDMI-audio.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/0138-ASoC-sunxi-rename-SND_SUNXI_ADDA_PR_REGMAP-to-SND_SU.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/0139-Bluetooth-Add-new-quirk-for-broken-local-ext-feature.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/0140-Bluetooth-hci_h5-Add-support-for-reset-GPIO.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/0141-dt-bindings-net-bluetooth-Add-rtl8723bs-bluetooth.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/0142-Bluetooth-hci_h5-Add-support-for-binding-RTL8723BS-w.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/0143-Bluetooth-btrtl-add-support-for-the-RTL8723CS.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/0144-arm64-allwinner-a64-enable-Bluetooth-On-Pinebook.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/0145-arm64-allwinner-a64-enable-Bluetooth-On-Pine64.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/0146-arm64-allwinner-a64-enable-Bluetooth-On-SoPine-baseb.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/0147-si2168-fix-cmd-timeout.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/ARM-dts-sun7i-Disable-OOB-IRQ-for-brcm-wifi-on-Banana-Pi-M1-plus.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/ARM-dts-sun7i-Disable-OOB-IRQ-for-brcm-wifi-on-Cubietruck-and-Banana-Pro.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/RFC-drivers-ata-ahci_sunxi-Increased-SATA-AHCI-DMA-TX-RX-FIFOs.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/Revert_BT_HCIUART_RTL_ACPI_dependency.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/add-BergMicro-SPI-flashes.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/add-orangepi-zeroplus2.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/board-a64-v3-01-19-arm64-dts-allwinner-a64-Add-L2-cache-nodes.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/board-a64-v3-02-19-arm64-dts-allwinner-a64-Add-Pine64-LTS-device-tree-file.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/board-a64-v3-13-19-arm64-dts-allwinner-a64-Olinuxino-fix-DRAM-voltage.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/board-a64-v3-14-19-arm64-dts-allwinner-a64-Olinuxino-add-Ethernet-nodes.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/board-a64-v3-15-19-arm64-dts-allwinner-a64-Olinuxino-enable-USB.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/board-a64-v3-16-19-arm64-dts-allwinner-a64-NanoPi-A64-Fix-DCDC1-voltage.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/board-a64-v3-17-19-arm64-dts-allwinner-a64-NanoPi-A64-Add-Ethernet.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/board-a64-v3-18-19-arm64-dts-allwinner-a64-NanoPi-A64-Add-Wifi-chip.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/board-a64-v3-19-19-arm64-dts-allwinner-a64-NanoPi-A64-Add-blue-status-LED.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/board-a83t-3-5-clk-sunxi-ng-r40-Add-max.-rate-constraint-to-video-PLLs.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/board-a83t-4-5-clk-sunxi-ng-nkmp-Add-constraint-for-maximum-rate.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/board-a83t-5-5-clk-sunxi-ng-a83t-Add-max.-rate-constraint-to-video-PLLs.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/board-a83t-add-one-more-freq-step-1.6ghz.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/board-a83t-v7-1-4-ARM-dts-sun8i-a83t-Add-the-cir-pin-for-the-A83T.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/board-a83t-v7-2-4-ARM-dts-sun8i-a83t-Add-support-for-the-cir-interface.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/board-a83t-v7-3-4-ARM-dts-sun8i-a83t-bananapi-m3-Enable-IR-controller.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/board-a83t-v7-4-4-ARM-dts-sun8i-h3-h5-ir-register-size-should-be-the-whole-memory-block.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/board-bpi-m2-zero-enable-dvfs.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/board-bpi-m3-make-ethernet-working.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/board-cubieboard-cubietruck-green-LED-mmc0.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/board-cubietruck-enable-uart2.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/board-cubietruckplus-enable-hdmi.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/board-h2plus-nanopi-duo-add-device.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/board-h2plus-sunvell-r69-add-device.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/board-h3-add-rtc-osc32k-out.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/board-h3-nanopi-neo-core-add-emmc.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/board-h5-add-0000-nanopi-k1plus.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/board-h5-add-0001-nanopi-neo-core2.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/board-h5-add-0002-nanopi-neo2-v1.1.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/board-h5-add-0003-nanopi-m1-plus2.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/board-h5-orangepi-pc2-add-spi-flash.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/board-h5-orangepi-zero-plus-add-regulator.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/board-h5-orangepi-zero-plus2-onboard-led.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/board-h6-add-orangepi-one-plus-and-lite2.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/board-h6-add-rtc-osc32k-out.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/board-h6-clock-higher.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/board-nanopi-adjust-defaults.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/board-nanopiair-h3-camera-wifi-bluetooth-otg.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/board-olinuxino-A64-add-eMMC.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/board-orangepizeroplus2-missing-otg-bits.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/board-pine-h6-pine-h6-0008-arm64-allwinner-h6-add-missing-mmc-pins.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/board-pine-h6-pine-h6-0009-arm64-allwinner-h6-enable-MMC0-2-on-Pine-H64.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/board-pine-h6-pine-h6-0018-arm64-allwinner-h6-enable-AXP805-PMIC-on-Pine-H64.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/board-pine-h6-pine-h6-0019-arm64-allwinner-h6-add-PCF8563-RTC-on-Pine-H64-board.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/board-pine-h6-pine-h6-0020-phy-allwinner-add-phy-driver-for-USB3-PHY-on-Allwinn.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/board-pine-h6-pine-h6-0021-dt-bindings-usb-add-binding-for-the-DWC3-controller-.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/board-pine-h6-pine-h6-0023-arm64-allwinner-h6-add-USB3-device-nodes.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/board-pine-h6-pine-h6-0024-arm64-allwinner-h6-enable-USB3-port-on-Pine-H64.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/board-pine-h6-pine-h6-0025-phy-sun4i-usb-add-support-for-missing-USB-PHY-index.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/board-pine-h6-pine-h6-0026-phy-sun4i-usb-add-support-for-H6-USB2-PHY.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/board-pine-h6-pine-h6-0027-arm64-allwinner-h6-add-USB2-related-device-nodes.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/board-pine-h6-pine-h6-0028-arm64-allwinner-h6-enable-USB2-on-Pine-H64.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/board-pine-h6-pine-h6-0029-arm64-allwinner-h6-add-basical-DVFS-support.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/board-pine-h6-pine-h6-0030-arm64-allwinner-h6-add-CPU-regulator-for-Pine-H64.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/board-pine-h6-pine-h6-0032-net-stmmac-sun8i-force-select-external-PHY-when-no-i.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/board-pine-h6-pine-h6-0033-net-stmmac-sun8i-add-support-for-Allwinner-H6-EMAC.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/board-pine-h6-pine-h6-0034-arm64-allwinner-h6-add-EMAC-device-nodes.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/board-pine-h6-pine-h6-0035-arm64-allwinner-h6-add-support-for-the-Ethernet-on-P.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/board-pine64-add-spi-flash.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/board-r40-sata-support.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/camera-add-the-H3-H5-CSI-controller.patch patch unexpectedly ends in middle of line Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/fix-A64-mmc2-remove-PC1-pin.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/fix-bananam2ultra-missing-clk-out-a.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/fix-bananapi-m2-plus-wifi.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/fix-bananapi-m2-ultra-wifi.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/general-add-H6-GPIO-disable_strict_mode.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/general-add-H6-I2Cs.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/general-add-H6-UARTs.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/general-add-configfs-overlay.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/general-add-h3-mixer1.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/general-add-i2s-DT-pins.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/general-add-nand-H27UBG8T2BTR.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/general-add-overlay-compilation-support.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/general-arm64-add-proc-cpuinfo-entries.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/general-armbian-boot-logo-on-screen-center.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/general-aufs4.19-20181029.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/general-axp20x-sysfs-interface.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/general-enable-allwinner-SoCs-SID-support.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/general-enable-kernel-dtbs-symbol-generation.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/general-increasing_DMA_block_memory_allocation_to_2048.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/general-packaging-4.17-next.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/general-provoke-the-early-load-of-sun8i-codec.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/general-spidev-remove-warnings.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/general-sunxi-overlays.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/general-sunxi-rtc-clocksource.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/mmc-sunxi-Fix-eMMC-usage-on-H5-boards.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/nand-disable-badblock-check-for-migration.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/p-board-h6-add-THS.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/patch-4.19.12-13.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/patch-4.19.13-14.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/patch-4.19.14-15.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/patch-4.19.15-16.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/patch-4.19.16-17.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/patch-4.19.17-18.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/patch-4.19.18-19.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/patch-4.19.19-20.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/patch-4.19.20-21.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/patch-4.19.21-22.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/patch-4.19.22-23.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/patch-4.19.23-24.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/patch-4.19.24-25.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/patch-4.19.25-26.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/patch-4.19.26-27.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/patch-4.19.27-28.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/patch-4.19.28-29.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/patch-4.19.29-30.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/patch-4.19.30-31.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/patch-4.19.31-32.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/patch-4.19.32-33.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/patch-4.19.33-34.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/patch-4.19.34-35.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/patch-4.19.35-36.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/patch-4.19.36-37.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/patch-4.19.37-38.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/patch-4.19.38-39.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/patch-4.19.39-40.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/patch-4.19.40-41.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/patch-4.19.41-42.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/patch-4.19.42-43.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/patch-4.19.43-44.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/patch-4.19.44-45.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/patch-4.19.45-46.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/patch-4.19.46-47.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/sunxi-h5-add-gpio-regulator-overclock.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/sunxi_neo-plus2_Support_AP6212_AP6212A_bluetooth.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/ths-29-add-correct-h5-thermal-zone.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/update-nanopi-neo-plus2-enable-regulator-fix-leds.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/v3-1-2-si2168-Set-TS-clock-mode-and-frequency.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/v3-2-2-dvbsky-Add-support-for-MyGica-T230C-v2.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/wifi-2001-01-rtl8188eu-kconfig-makefile.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/wifi-2002-02-rtl8188eu.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/wifi-3001-add-realtek-8189es-kconfig-makefile.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/wifi-3002-add-realtek-8189es.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/wifi-4001-add-realtek-8723cs-kconfig-makefile.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/wifi-4002-add-realtek-8723cs.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/wifi-8723bs-AP-bugfix.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/wifi-add-realtek-8189fs.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/wifi-add-xradio.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/wifi-bt-bananapi-m2-plus.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/wifi-orangepi-pc-plus-pwrseq.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/wifi-orangepi-prime.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/wifi-orangepi-zero-fix-xradio-interrupt.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/xxx-0001-network-audio-orangepiwin-dts.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/xxx-0002-enable_usb_uart1-orangepiwin-dts.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/xxx-a64-olinuxino-eth.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/xxx-add-nanopi-r1-and-duo2.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/xxx-nanopik1plus.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/xxx-nanopineo2v1.0-dvfs.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/xxx-olinuxino-battery-audio.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/xxx-opi-win-bluetooth.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/xxx-orangepi2-plus-regulator.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/xxx-orangepiprime-addregulator.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/xxx-orangepizero-plus2-default-regulator.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/xxx-pinebook-revert-pwm-polairity-TEMP-WORKAROUND.patch Processing file /home/vagrant/armbian/patch/kernel/sunxi-next/xxx-teres-add-battery-hdmi-bits.patch
-
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:
Spoiler$ pwd /home/vagrant/armbian/output/patch vagrant@ubuntu-bionic:~/armbian/output/patch$ $ cat kernel-sunxi-next.patch diff --git a/arch/arm/boot/dts/sun7i-a20-bananapro.dts b/arch/arm/boot/dts/sun7i-a20-bananapro.dts index 0e1ddd998..fd3f108f5 100644 --- a/arch/arm/boot/dts/sun7i-a20-bananapro.dts +++ b/arch/arm/boot/dts/sun7i-a20-bananapro.dts @@ -147,6 +147,22 @@ status = "okay"; }; +&i2c3 { + status = "okay"; + pinctrl-names = "default"; + pinctrl-0 = <&i2c3_pins_a>; + edt: edt-ft5x06@38 { + compatible = "edt,edt-ft5x06", "edt,edt-ft5206"; + reg = <0x38>; + pinctrl-names = "default"; + pinctrl-0 = <&edt_ft5x06_pins_a &edt_ft5x06_pins_b>; + interrupt-parent = <&pio>; + interrupts = <7 9 IRQ_TYPE_EDGE_FALLING>; + touchscreen-size-x = <1024>; + touchscreen-size-y = <600>; + }; +}; + &ir0 { pinctrl-names = "default"; pinctrl-0 = <&ir0_rx_pins_a>; @@ -209,6 +225,20 @@ function = "gpio_out"; }; + edt_ft5x06_pins_a: ft5@0 { // interrupt + pins = "PH9"; + function = "irq"; + drive-strength = <20>; + bias-pull-up; + }; + edt_ft5x06_pins_b: ft5@1 { // reset-gpios + pins = "PH7"; + function = "gpio_out"; + drive-strength = <20>; + bias-pull-up; + output-high; + }; + mmc0_cd_pin_bananapro: mmc0_cd_pin@0 { pins = "PH10"; function = "gpio_in"; @@ -231,6 +261,12 @@ }; }; +&pwm { + pinctrl-names = "default"; + pinctrl-0 = <&pwm0_pins_a>, <&pwm1_pins_a>; + status = "okay"; +}; + ®_usb1_vbus { pinctrl-0 = <&usb1_vbus_pin_bananapro>; gpio = <&pio 7 0 GPIO_ACTIVE_HIGH>; /* PH0 */ $ cat u-boot-sunxi-next.patch diff --git a/arch/arm/dts/sun7i-a20-bananapro.dts b/arch/arm/dts/sun7i-a20-bananapro.dts index 0898eb6..0249b7a 100644 --- a/arch/arm/dts/sun7i-a20-bananapro.dts +++ b/arch/arm/dts/sun7i-a20-bananapro.dts @@ -147,6 +147,22 @@ status = "okay"; }; +&i2c3 { + status = "okay"; + pinctrl-names = "default"; + pinctrl-0 = <&i2c3_pins_a>; + edt: edt-ft5x06@38 { + compatible = "edt,edt-ft5x06", "edt,edt-ft5206"; + reg = <0x38>; + pinctrl-names = "default"; + pinctrl-0 = <&edt_ft5x06_pins_a &edt_ft5x06_pins_b>; + interrupt-parent = <&pio>; + interrupts = <7 9 IRQ_TYPE_EDGE_FALLING>; + touchscreen-size-x = <1024>; + touchscreen-size-y = <600>; + }; +}; + &ir0 { pinctrl-names = "default"; pinctrl-0 = <&ir0_rx_pins_a>; @@ -199,6 +215,20 @@ function = "gpio_out"; }; + edt_ft5x06_pins_a: ft5@0 { // interrupt + pins = "PH9"; + function = "irq"; + drive-strength = <20>; + bias-pull-up; + }; + edt_ft5x06_pins_b: ft5@1 { // reset-gpios + pins = "PH7"; + function = "gpio_out"; + drive-strength = <20>; + bias-pull-up; + output-high; + }; + mmc0_cd_pin_bananapro: mmc0_cd_pin@0 { pins = "PH10"; function = "gpio_in"; @@ -221,6 +251,12 @@ }; }; +&pwm { + pinctrl-names = "default"; + pinctrl-0 = <&pwm0_pins_a>, <&pwm1_pins_a>; + status = "okay"; +}; + ®_usb1_vbus { pinctrl-0 = <&usb1_vbus_pin_bananapro>; gpio = <&pio 7 0 GPIO_ACTIVE_HIGH>; /* PH0 */ diff --git a/configs/Bananapro_defconfig b/configs/Bananapro_defconfig index f5fb750..7d196b1 100644 --- a/configs/Bananapro_defconfig +++ b/configs/Bananapro_defconfig @@ -27,3 +27,9 @@ CONFIG_SCSI=y CONFIG_USB_EHCI_HCD=y CONFIG_USB_OHCI_HCD=y CONFIG_SYS_USB_EVENT_POLL_VIA_INT_QUEUE=y +#7" LVDS LCD +CONFIG_VIDEO_LCD_MODE="x:1024,y:600,depth:24,pclk_khz:55000,le:100,ri:170,up:10,lo:15,hs:50,vs:10,sync:3,vmode:0" +CONFIG_VIDEO_LCD_PANEL_LVDS=y +CONFIG_VIDEO_LCD_POWER="PH12" +CONFIG_VIDEO_LCD_BL_EN="PH8" +CONFIG_VIDEO_LCD_BL_PWM="PB2"
Installed, nothing changed.
Is there a way to check it in the logs of the armbian itself?
Thanks a lot!
Simon
-
17 hours ago, Igor said:
Changes for board configuration /home/<USER>/build/cache/sources/u-boot/v201X.XX/configs/Bananapro_defconfig were not applied.Sorry, but I'venot totally understood.
Board settings were applied:
Spoilervagrant@ubuntu-bionic:~/armbian/cache/sources/u-boot/v2019.04/configs$ pwd /home/vagrant/armbian/cache/sources/u-boot/v2019.04/configs vagrant@ubuntu-bionic:~/armbian/cache/sources/u-boot/v2019.04/configs$ cat Bananapro_defconfig CONFIG_ARM=y CONFIG_ARCH_SUNXI=y CONFIG_SPL=y CONFIG_MACH_SUN7I=y CONFIG_DRAM_CLK=384 CONFIG_MACPWR="PH23" CONFIG_USB1_VBUS_PIN="PH0" CONFIG_USB2_VBUS_PIN="PH1" CONFIG_VIDEO_COMPOSITE=y CONFIG_GMAC_TX_DELAY=3 CONFIG_AHCI=y CONFIG_NR_DRAM_BANKS=1 # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set CONFIG_SPL_I2C_SUPPORT=y # CONFIG_CMD_FLASH is not set # CONFIG_SPL_DOS_PARTITION is not set # CONFIG_SPL_EFI_PARTITION is not set CONFIG_DEFAULT_DEVICE_TREE="sun7i-a20-bananapro" CONFIG_NETCONSOLE=y CONFIG_SCSI_AHCI=y CONFIG_ETH_DESIGNWARE=y CONFIG_RGMII=y CONFIG_MII=y CONFIG_SUN7I_GMAC=y CONFIG_AXP_ALDO4_VOLT=2500 CONFIG_SCSI=y CONFIG_USB_EHCI_HCD=y CONFIG_USB_OHCI_HCD=y CONFIG_SYS_USB_EVENT_POLL_VIA_INT_QUEUE=y #7" LVDS LCD CONFIG_VIDEO_LCD_MODE="x:1024,y:600,depth:24,pclk_khz:55000,le:100,ri:170,up:10,lo:15,hs:50,vs:10,sync:3,vmode:0" CONFIG_VIDEO_LCD_PANEL_LVDS=y CONFIG_VIDEO_LCD_POWER="PH12" CONFIG_VIDEO_LCD_BL_EN="PH8" CONFIG_VIDEO_LCD_BL_PWM="PB2"
17 hours ago, Igor said:Add patches for u-boot which were created in the process to the appropriate patch dir userpatches/u-boot/u-boot-sunxi and recompile u-boot again.
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
-
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!!
-
4 hours ago, vlad59 said:
The banana pi only has 1 SPI Unless I'm mistaken. I used SPI some time ago and IIRC simply adding spi-spidev to the overlay did the trick. The Banana pi has no Nand.
Hope this helps
THANKS!
I'll give it a try and let you know
Simon
-
13 hours ago, Igor said:
Reading documentation?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:
Quote### spi0
Activates SPI controller 0 to use it with other overlays and sets up the pin multiplexing for it
SPI 0 pins (MOSI, MISO, SCK, CS0, CS1): PI12, PI13, PI11, PI10, PI14
### spi1
Activates SPI controller 1 to use it with other overlays and sets up the pin multiplexing for it
SPI 1 pins (MOSI, MISO, SCK, CS0): PI18, PI19, PI17, PI16
### spi2
Activates SPI controller 2 to use it with other overlays and sets up the pin multiplexing for it
SPI 2 pins a (MOSI, MISO, SCK, CS0): PC21, PC22, PC20, PC19
SPI 2 pins b (MOSI, MISO, SCK, CS0): PB16, PB17, PB15, PB14Parameters:
param_spi2_bus_pins (char)
SPI bus 2 pinmux variant
Optional
Default: a
Supported values: a, b
Determines what pins SPI bus 2 is exposed on if SPI 2 is used### spi-add-cs1
Activates SPI chip select 1 on SPI controller 0
This overlay is required for using chip select 1 with other SPI overlaysSPI 0 CS1 pin: PI14
### spi-jedec-nor
Activates MTD support for JEDEC compatible SPI NOR flash chips on SPI bus
supported by the kernel SPI NOR driverSPI 0 pins (MOSI, MISO, SCK, CS0, CS1): PI12, PI13, PI11, PI10, PI14
SPI 1 pins (MOSI, MISO, SCK, CS0): PI18, PI19, PI17, PI16
SPI 2 pins a (MOSI, MISO, SCK, CS0): PC21, PC22, PC20, PC19
SPI 2 pins b (MOSI, MISO, SCK, CS0): PB16, PB17, PB15, PB14Parameters:
param_spinor_spi_bus (int)
SPI bus to activate SPI NOR flash support on
Required
Supported values: 0, 1, 2param_spinor_spi_cs (int)
SPI chip select number for SPI NOR connected to SPI bus 0
Optional
Default: 0
Supported values: 0, 1
Using chip select 1 on SPI 0 requires using "spi-add-cs1" overlayparam_spinor_max_freq (int)
Maximum SPI frequency
Optional
Default: 1000000
Range: 3000 - 100000000### spi-spidev
Activates SPIdev device node (/dev/spidevX.Y) for userspace SPI access,
where X is the bus number and Y is the CS numberSPI 0 pins (MOSI, MISO, SCK, CS0, CS1): PI12, PI13, PI11, PI10, PI14
SPI 1 pins (MOSI, MISO, SCK, CS0): PI18, PI19, PI17, PI16
SPI 2 pins a (MOSI, MISO, SCK, CS0): PC21, PC22, PC20, PC19
SPI 2 pins b (MOSI, MISO, SCK, CS0): PB16, PB17, PB15, PB14Parameters:
param_spidev_spi_bus (int)
SPI bus to activate mcp2515 support on
Required
Supported values: 0, 1, 2param_spidev_spi_cs (int)
SPI chip select number for SPIdev on SPI bus 0
Optional
Default: 0
Supported values: 0, 1
Using chip select 1 on SPI 0 requires using "spi-add-cs1" overlayparam_spidev_max_freq (int)
Maximum SPIdev frequency
Optional
Default: 1000000
Range: 3000 - 100000000Due 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:
QuoteAdding /dev/spidev1.0 is required since /dev/spidev0.0 is used for the onboard NAND flash
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
-
Hello,
Sorry but nobody can give me some hints?
Thanks, Simon
-
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
BananaPi AllWinner A20 - Enable UART/Serial
in Allwinner sunxi
Posted
Hello,
Could this help?
root@zigbee2mqtt:~ ▶ ls -al /sys/bus/platform/devices/|grep -i serial lrwxrwxrwx 1 root root 0 Mar 19 08:59 1c28000.serial -> ../../../devices/platform/soc/1c28000.serial lrwxrwxrwx 1 root root 0 Mar 19 08:59 1c28800.serial -> ../../../devices/platform/soc/1c28800.serial lrwxrwxrwx 1 root root 0 Mar 19 08:59 1c28c00.serial -> ../../../devices/platform/soc/1c28c00.serial lrwxrwxrwx 1 root root 0 Mar 19 08:59 1c29c00.serial -> ../../../devices/platform/soc/1c29c00.serial lrwxrwxrwx 1 root root 0 Mar 19 08:59 serial8250 -> ../../../devices/platform/serial8250 root@zigbee2mqtt:~ ▶ dmesg | grep -i 'uart\|serial\|tty' [ 0.000000] Kernel command line: root=UUID=ca5b442b-ad1b-4f97-a943-4a1eff347c75 rootwait rootfstype=ext4 console=ttyS0,115200 console=tty1 hdmi.audio=EDID:0 disp.screen0_output_mode=1920x1080p60 panic=10 consoleblank=0 loglevel=1 ubootpart=1406e616-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.001173] printk: console [tty1] enabled [ 2.941834] Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled [ 2.944511] printk: console [ttyS0] disabled [ 2.964746] 1c28000.serial: ttyS0 at MMIO 0x1c28000 (irq = 49, base_baud = 1500000) is a U6_16550A [ 2.964816] printk: console [ttyS0] enabled [ 2.988020] 1c28800.serial: ttyS1 at MMIO 0x1c28800 (irq = 50, base_baud = 1500000) is a U6_16550A [ 3.009176] 1c28c00.serial: ttyS2 at MMIO 0x1c28c00 (irq = 51, base_baud = 1500000) is a U6_16550A [ 3.032081] 1c29c00.serial: ttyS3 at MMIO 0x1c29c00 (irq = 52, base_baud = 1500000) is a U6_16550A [ 9.312286] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 9.312307] usb usb1: SerialNumber: 1c14000.usb [ 9.332249] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 9.332269] usb usb2: SerialNumber: 1c1c000.usb [ 9.416969] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 9.416991] usb usb3: SerialNumber: 1c14400.usb [ 9.492300] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 9.492322] usb usb4: SerialNumber: 1c1c400.usb [ 9.508528] usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 9.508549] usb usb5: SerialNumber: musb-hdrc.1.auto
I've tried all serial ports manually, no luck.
Thanks!
Simon