-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
HDMI display issue #29
Comments
Can you give me more information?
Can you post a picture of the unreadable screen? For example, here: https://github.com/avafinger/bananapi-zero-ubuntu-base-minimal/releases/tag/v1.9 |
@avafinger Thanks for the quick follow up. Both are Samsung, consumer models. Here a "screenshot". It has most likely be made with another image (Ubuntu 16.04 server), but the symptom is the same with the convenience image. The monitors report 1920x1080 @60 Hz. |
... and no adapter in use. Just the little mini-HDMI to HDMI adapter from a PIZW |
Excuse the dumb question: How could i make an image I could flash from the version you quoted? |
The shot has been taken from a Samsung UE45D6200 |
Start with this Image: Regarding your issue, use the TV remote control to fix up: |
Thanks. Will try and report. I think I already skimmed the TV settings and found nothing which worked. Will repeat. |
OK, following the link I was able to flash the image with Etcher. I was not able to follow this:
The SD is simply not readable from macOS after flashing. This happens with all BPI images I tested so far. It does not happen with e.g. regular Raspbian images. MacOS complains, that the media could not be read by this computer. Hence I could not add Wifi support. Anyway, I could make it run. My TV does not have such a setting, but a "Screen adaptation" setting, by which I could move the position of the display, so that it perfectly fits now. I plugged an USB ETH adapter and by this I'm ready now to make it a "real" Ubuntu :) Thanks for your assistance! |
I noticed, that it needs several minutes to present the prompt. Meanwhile I already gave up several times. Any chance to come behind the reason? Interestingly enough: It has an SSH server running by default... Nice. |
Here is the bootlog:
|
Anyway - what can be seen at the first or second glance: This distribution has been compiled with patience, love and accuracy. Well done, nice piece of work. Don't know, why I didn't find it by myself with the very first shot... |
This usually indicates you have a poor or bad (quality) sd card, and you might have trouble in the near future. The best thing to do is buy a fast and good sd card. Mac OS and Windows cannot read linux files without "special assistance". |
That’s a good hint. Is there any card you could recommend? |
Sorry accidentally closed issue |
Right now I’m using a 32 GB Transcend |
OK, I have flashed another card now. I'm wondering: The SSH server seems to NOT be enabled by default, after flashing, right? I supposed, this was the case, but now I guess it has been activated by update && upgrade. Would that be possible? Other than that: Are you knowing, how I could enable the SPI interface? On an ordinary PI this could be done by raspi-config, but this is not possible here, I guess.. Thanks in advance. EDIT: Update: The SSH server is running. After a couple of restarts it worked. |
Maybe it is of interest: This time I was using
|
Change the file /etc/network/interfaces: allow-hotplug wlan0
to auto wlan0
Two possible things:
|
Hmm. The SD card worked quite well in a couple of RPIs for now. Anyway: Removing the power w/o shutdown: I guess this is the ordinary use case of a PI, don't you agree ? :) Thanks for the hints. Do you know how to enable SPI? |
I have made an fsck on my linux box: Nothing obvious, I would say...
|
Is there any way to test, if the SD is "sufficient" for the system? |
Sd card is clean, could be your PS. Try one with 5v and 2.5A. To enable SPI you need to decompile the dtb , change the SPI node to "okay" and recompile. |
The PS is an original PI PS. I would exclude it. Anything I could check, supposed I will make it again onto the box? |
Ah.. .now. 5 minutes after start - ssh prompt. |
Something in here?
|
Adding 2097148k swap on /var/swap. Priority:-2 extents:9 across:256409 I think you are running out of memory. It took 53 seconds to get wlan0 up. Here is the timings you should expect:
|
Cool. Thanks for the analysis. Yes, I have added a swap file since I need to compile a VERY big project. Never used zram before, will check. The swap partition is just temporary, will remove it later. I guess, your memory hypothesis is right. With my first attempts I was monitoring the behaviour with htop. I noticed, that the CPU load was pretty low, but the memory load was "over the top". Will keep you posted, how it goes with zram. |
You are right. It's alive again. Don't ask me why. Other than that: Since I followed your suggestion and flashed a 4.20 kernel: Could that kernel update work at all? |
Kernel 4.20 is for the Ubuntu XENIAL. While you are at Kernel 4.20 try to upgrade to https://github.com/avafinger/bananapi-zero-ubuntu-base-minimal/releases/tag/v2.3 |
That may have been the problem yesterday. Report follows. |
OK, I have now applied the 5.3.4 kernel update successfully to the 4.20 base installation and also enabled zram again in favour of the ordinary swap thing. Is there any bigger advantage of the new kernel compared to the default installation? As far as I remember you wanted to provide this:
I suppose, the 5.3.4 kernel deb is not what you meant, right? I also applied the dtb patch in order to enable SPI and disable BT, but I'm not sure, if it works. Can you see that from the attached Click to expand[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 5.3.4 (alex@svn) (gcc version 7.4.1 20181213 [linaro-7.4-2019.02 revision 56ec6f6b99cc167ff0c2f8e1a2eed33b1edc85d4] (Linaro GCC 7.4-2019.02)) #1 SMP Sun Oct 6 15:17:18 -03 2019
[ 0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c5387d
[ 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: Banana Pi M2 Zero
[ 0.000000] Memory policy: Data cache writealloc
[ 0.000000] cma: Reserved 256 MiB at 0x4dc00000
[ 0.000000] On node 0 totalpages: 131072
[ 0.000000] Normal zone: 1024 pages used for memmap
[ 0.000000] Normal zone: 0 pages reserved
[ 0.000000] Normal zone: 131072 pages, LIFO batch:31
[ 0.000000] psci: probing for conduit method from DT.
[ 0.000000] psci: Using PSCI v0.1 Function IDs from DT
[ 0.000000] percpu: Embedded 16 pages/cpu s35340 r8192 d22004 u65536
[ 0.000000] pcpu-alloc: s35340 r8192 d22004 u65536 alloc=16*4096
[ 0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 130048
[ 0.000000] Kernel command line: console=ttyS0,115200 earlyprintk rootfstype=ext4 root=/dev/mmcblk0p2 rw rootwait fsck.repair=yes panic=10 no_console_suspend consoleblank=0 drm_leak_fbdev_smem=1
[ 0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes, linear)
[ 0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes, linear)
[ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[ 0.000000] Memory: 241864K/524288K available (9216K kernel code, 328K rwdata, 1984K rodata, 1024K init, 269K bss, 20280K reserved, 262144K cma-reserved, 0K highmem)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[ 0.000000] rcu: Hierarchical RCU implementation.
[ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[ 0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[ 0.000000] GIC: Using split EOI/Deactivate mode
[ 0.000000] random: get_random_bytes called from start_kernel+0x2f8/0x484 with crng_init=0
[ 0.000000] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[ 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.000215] Console: colour dummy device 80x30
[ 0.000261] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000)
[ 0.000273] pid_max: default: 32768 minimum: 301
[ 0.000417] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.000430] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.001196] CPU: Testing write buffer coherency: ok
[ 0.001651] CPU0: update cpu_capacity 1024
[ 0.001662] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[ 0.002193] Setting up static identity map for 0x40100000 - 0x40100060
[ 0.002323] rcu: Hierarchical SRCU implementation.
[ 0.002862] smp: Bringing up secondary CPUs ...
[ 0.013612] CPU1: update cpu_capacity 1024
[ 0.013619] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[ 0.024487] CPU2: update cpu_capacity 1024
[ 0.024493] CPU2: thread -1, cpu 2, socket 0, mpidr 80000002
[ 0.035253] CPU3: update cpu_capacity 1024
[ 0.035259] CPU3: thread -1, cpu 3, socket 0, mpidr 80000003
[ 0.035349] smp: Brought up 1 node, 4 CPUs
[ 0.035372] SMP: Total of 4 processors activated (192.00 BogoMIPS).
[ 0.035378] CPU: All CPU(s) started in HYP mode.
[ 0.035383] CPU: Virtualization extensions available.
[ 0.036325] devtmpfs: initialized
[ 0.042789] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[ 0.043024] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.043049] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[ 0.051514] pinctrl core: initialized pinctrl subsystem
[ 0.052620] NET: Registered protocol family 16
[ 0.054153] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 0.055201] cpuidle: using governor menu
[ 0.055525] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[ 0.055534] hw-breakpoint: maximum watchpoint size is 8 bytes.
[ 0.078670] SCSI subsystem initialized
[ 0.078935] libata version 3.00 loaded.
[ 0.079149] usbcore: registered new interface driver usbfs
[ 0.079206] usbcore: registered new interface driver hub
[ 0.079285] usbcore: registered new device driver usb
[ 0.079527] pps_core: LinuxPPS API ver. 1 registered
[ 0.079535] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[ 0.079556] PTP clock support registered
[ 0.079952] Advanced Linux Sound Architecture Driver Initialized.
[ 0.081266] clocksource: Switched to clocksource arch_sys_counter
[ 0.081416] VFS: Disk quotas dquot_6.6.0
[ 0.081493] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 0.089250] thermal_sys: Registered thermal governor 'fair_share'
[ 0.089258] thermal_sys: Registered thermal governor 'bang_bang'
[ 0.089271] thermal_sys: Registered thermal governor 'step_wise'
[ 0.089277] thermal_sys: Registered thermal governor 'user_space'
[ 0.089283] thermal_sys: Registered thermal governor 'power_allocator'
[ 0.089856] NET: Registered protocol family 2
[ 0.090615] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
[ 0.090644] TCP established hash table entries: 4096 (order: 2, 16384 bytes, linear)
[ 0.090695] TCP bind hash table entries: 4096 (order: 3, 32768 bytes, linear)
[ 0.090756] TCP: Hash tables configured (established 4096 bind 4096)
[ 0.090867] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[ 0.090913] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[ 0.091144] NET: Registered protocol family 1
[ 0.091814] RPC: Registered named UNIX socket transport module.
[ 0.091825] RPC: Registered udp transport module.
[ 0.091830] RPC: Registered tcp transport module.
[ 0.091835] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.092571] Unpacking initramfs...
[ 0.135283] Freeing initrd memory: 960K
[ 0.137025] Initialise system trusted keyrings
[ 0.137371] workingset: timestamp_bits=30 max_order=17 bucket_order=0
[ 0.144678] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.146177] NFS: Registering the id_resolver key type
[ 0.146217] Key type id_resolver registered
[ 0.146224] Key type id_legacy registered
[ 0.146240] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[ 0.146247] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[ 0.147199] fuse: init (API version 7.31)
[ 0.147630] SGI XFS with ACLs, security attributes, realtime, no debug enabled
[ 0.185446] Key type asymmetric registered
[ 0.185463] Asymmetric key parser 'x509' registered
[ 0.185576] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 248)
[ 0.185587] io scheduler mq-deadline registered
[ 0.185594] io scheduler kyber registered
[ 0.186682] sun4i-usb-phy 1c19400.phy: Couldn't request ID GPIO
[ 0.190963] sun8i-h3-pinctrl 1c20800.pinctrl: initialized sunXi PIO driver
[ 0.192809] sun8i-h3-r-pinctrl 1f02c00.pinctrl: initialized sunXi PIO driver
[ 0.245698] Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled
[ 0.248014] sun8i-h3-pinctrl 1c20800.pinctrl: 1c20800.pinctrl supply vcc-pa not found, using dummy regulator
[ 0.248898] printk: console [ttyS0] disabled
[ 0.269144] 1c28000.serial: ttyS0 at MMIO 0x1c28000 (irq = 44, base_baud = 1500000) is a U6_16550A
[ 0.956760] printk: console [ttyS0] enabled
[ 0.961526] sun8i-h3-pinctrl 1c20800.pinctrl: 1c20800.pinctrl supply vcc-pg not found, using dummy regulator
[ 0.992212] 1c28400.serial: ttyS1 at MMIO 0x1c28400 (irq = 45, base_baud = 1500000) is a U6_16550A
[ 1.001348] serial serial0: tty port ttyS1 registered
[ 1.027165] 1c28c00.serial: ttyS3 at MMIO 0x1c28c00 (irq = 46, base_baud = 1500000) is a U6_16550A
[ 1.038604] sun8i-h3-pinctrl 1c20800.pinctrl: 1c20800.pinctrl supply vcc-pc not found, using dummy regulator
[ 1.049966] libphy: Fixed MDIO Bus: probed
[ 1.054325] CAN device driver interface
[ 1.058772] dwmac-sun8i 1c30000.ethernet: PTP uses main clock
[ 1.064572] dwmac-sun8i 1c30000.ethernet: No regulator found
[ 1.070458] dwmac-sun8i 1c30000.ethernet: No HW DMA feature register supported
[ 1.077695] dwmac-sun8i 1c30000.ethernet: RX Checksum Offload Engine supported
[ 1.084918] dwmac-sun8i 1c30000.ethernet: COE Type 2
[ 1.089878] dwmac-sun8i 1c30000.ethernet: TX Checksum insertion supported
[ 1.096672] dwmac-sun8i 1c30000.ethernet: Normal descriptors
[ 1.102336] dwmac-sun8i 1c30000.ethernet: Chain mode enabled
[ 1.108153] libphy: stmmac: probed
[ 1.112185] dwmac-sun8i 1c30000.ethernet: Found internal PHY node
[ 1.118386] libphy: mdio_mux: probed
[ 1.122004] dwmac-sun8i 1c30000.ethernet: Switch mux to internal PHY
[ 1.128354] dwmac-sun8i 1c30000.ethernet: Powering internal PHY
[ 1.135212] libphy: mdio_mux: probed
[ 1.139266] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 1.145815] ehci-platform: EHCI generic platform driver
[ 1.151230] ehci-platform 1c1a000.usb: EHCI Host Controller
[ 1.156847] ehci-platform 1c1a000.usb: new USB bus registered, assigned bus number 1
[ 1.164992] ehci-platform 1c1a000.usb: irq 27, io mem 0x01c1a000
[ 1.191282] ehci-platform 1c1a000.usb: USB 2.0 started, EHCI 1.00
[ 1.197585] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.03
[ 1.205862] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 1.213084] usb usb1: Product: EHCI Host Controller
[ 1.217956] usb usb1: Manufacturer: Linux 5.3.4 ehci_hcd
[ 1.223270] usb usb1: SerialNumber: 1c1a000.usb
[ 1.228354] hub 1-0:1.0: USB hub found
[ 1.232155] hub 1-0:1.0: 1 port detected
[ 1.236941] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 1.243152] ohci-platform: OHCI generic platform driver
[ 1.248553] ohci-platform 1c1a400.usb: Generic Platform OHCI controller
[ 1.255195] ohci-platform 1c1a400.usb: new USB bus registered, assigned bus number 2
[ 1.263123] ohci-platform 1c1a400.usb: irq 28, io mem 0x01c1a400
[ 1.335435] usb usb2: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 5.03
[ 1.343716] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 1.350929] usb usb2: Product: Generic Platform OHCI controller
[ 1.356854] usb usb2: Manufacturer: Linux 5.3.4 ohci_hcd
[ 1.362171] usb usb2: SerialNumber: 1c1a400.usb
[ 1.367162] hub 2-0:1.0: USB hub found
[ 1.370937] hub 2-0:1.0: 1 port detected
[ 1.375822] usbcore: registered new interface driver usb-storage
[ 1.381940] usbcore: registered new interface driver ch341
[ 1.387447] usbserial: USB Serial support registered for ch341-uart
[ 1.393751] usbcore: registered new interface driver cp210x
[ 1.399339] usbserial: USB Serial support registered for cp210x
[ 1.405304] usbcore: registered new interface driver ftdi_sio
[ 1.411066] usbserial: USB Serial support registered for FTDI USB Serial Device
[ 1.418475] usbcore: registered new interface driver pl2303
[ 1.424094] usbserial: USB Serial support registered for pl2303
[ 1.430739] mousedev: PS/2 mouse device common for all mice
[ 1.437110] sun6i-rtc 1f00000.rtc: registered as rtc0
[ 1.442177] sun6i-rtc 1f00000.rtc: RTC enabled
[ 1.446867] i2c /dev entries driver
[ 1.452120] thermal thermal_zone0: failed to read out thermal zone (-16)
[ 1.459367] sunxi-wdt 1c20ca0.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0)
[ 1.467828] sun8i-h3-r-pinctrl 1f02c00.pinctrl: 1f02c00.pinctrl supply vcc-pl not found, using dummy regulator
[ 1.478431] sun8i-h3-pinctrl 1c20800.pinctrl: 1c20800.pinctrl supply vcc-pf not found, using dummy regulator
[ 1.514279] sunxi-mmc 1c0f000.mmc: initialized, max. request size: 16384 KB
[ 1.522228] sunxi-mmc 1c10000.mmc: allocated mmc-pwrseq
[ 1.551416] sunxi-mmc 1c10000.mmc: initialized, max. request size: 16384 KB
[ 1.559684] ledtrig-cpu: registered to indicate activity on CPUs
[ 1.565984] hidraw: raw HID events driver (C) Jiri Kosina
[ 1.571781] usbcore: registered new interface driver usbhid
[ 1.576171] mmc0: host does not support reading read-only switch, assuming write-enable
[ 1.577347] usbhid: USB HID core driver
[ 1.580298] Initializing XFRM netlink socket
[ 1.587385] mmc0: new high speed SDHC card at address 59b4
[ 1.589220] NET: Registered protocol family 17
[ 1.594945] mmcblk0: mmc0:59b4 USDU1 7.51 GiB
[ 1.599026] can: controller area network core (rev 20170425 abi 9)
[ 1.605204] mmcblk0: p1 p2
[ 1.607981] NET: Registered protocol family 29
[ 1.616880] mmc1: queuing unknown CIS tuple 0x80 (2 bytes)
[ 1.621330] can: raw protocol (rev 20170425)
[ 1.628300] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[ 1.631065] can: broadcast manager protocol (rev 20170425 t)
[ 1.638043] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[ 1.642215] can: netlink gateway (rev 20170425) max_hops=1
[ 1.650370] mmc1: queuing unknown CIS tuple 0x80 (7 bytes)
[ 1.653716] 9pnet: Installing 9P2000 support
[ 1.662969] Key type dns_resolver registered
[ 1.667459] Registering SWP/SWPB emulation handler
[ 1.672853] Loading compiled-in X.509 certificates
[ 1.688026] ehci-platform 1c1b000.usb: EHCI Host Controller
[ 1.693671] ehci-platform 1c1b000.usb: new USB bus registered, assigned bus number 3
[ 1.701935] ehci-platform 1c1b000.usb: irq 29, io mem 0x01c1b000
[ 1.706915] random: fast init done
[ 1.731268] ehci-platform 1c1b000.usb: USB 2.0 started, EHCI 1.00
[ 1.737553] usb usb3: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.03
[ 1.745827] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 1.750176] mmc1: new high speed SDIO card at address 0001
[ 1.753055] usb usb3: Product: EHCI Host Controller
[ 1.753062] usb usb3: Manufacturer: Linux 5.3.4 ehci_hcd
[ 1.768720] usb usb3: SerialNumber: 1c1b000.usb
[ 1.773822] hub 3-0:1.0: USB hub found
[ 1.777607] hub 3-0:1.0: 1 port detected
[ 1.782281] ehci-platform 1c1c000.usb: EHCI Host Controller
[ 1.787869] ehci-platform 1c1c000.usb: new USB bus registered, assigned bus number 4
[ 1.795880] ehci-platform 1c1c000.usb: irq 31, io mem 0x01c1c000
[ 1.831276] ehci-platform 1c1c000.usb: USB 2.0 started, EHCI 1.00
[ 1.837517] usb usb4: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.03
[ 1.845791] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 1.853014] usb usb4: Product: EHCI Host Controller
[ 1.857886] usb usb4: Manufacturer: Linux 5.3.4 ehci_hcd
[ 1.863201] usb usb4: SerialNumber: 1c1c000.usb
[ 1.868207] hub 4-0:1.0: USB hub found
[ 1.871997] hub 4-0:1.0: 1 port detected
[ 1.876564] ehci-platform 1c1d000.usb: EHCI Host Controller
[ 1.882168] ehci-platform 1c1d000.usb: new USB bus registered, assigned bus number 5
[ 1.890105] ehci-platform 1c1d000.usb: irq 33, io mem 0x01c1d000
[ 1.921276] ehci-platform 1c1d000.usb: USB 2.0 started, EHCI 1.00
[ 1.927503] usb usb5: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.03
[ 1.935777] usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 1.943001] usb usb5: Product: EHCI Host Controller
[ 1.947874] usb usb5: Manufacturer: Linux 5.3.4 ehci_hcd
[ 1.953188] usb usb5: SerialNumber: 1c1d000.usb
[ 1.958169] hub 5-0:1.0: USB hub found
[ 1.961971] hub 5-0:1.0: 1 port detected
[ 1.966524] ohci-platform 1c1b400.usb: Generic Platform OHCI controller
[ 1.973169] ohci-platform 1c1b400.usb: new USB bus registered, assigned bus number 6
[ 1.981127] ohci-platform 1c1b400.usb: irq 30, io mem 0x01c1b400
[ 2.055437] usb usb6: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 5.03
[ 2.063712] usb usb6: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 2.070924] usb usb6: Product: Generic Platform OHCI controller
[ 2.076851] usb usb6: Manufacturer: Linux 5.3.4 ohci_hcd
[ 2.082170] usb usb6: SerialNumber: 1c1b400.usb
[ 2.087162] hub 6-0:1.0: USB hub found
[ 2.090945] hub 6-0:1.0: 1 port detected
[ 2.095518] ohci-platform 1c1c400.usb: Generic Platform OHCI controller
[ 2.102159] ohci-platform 1c1c400.usb: new USB bus registered, assigned bus number 7
[ 2.110104] ohci-platform 1c1c400.usb: irq 32, io mem 0x01c1c400
[ 2.185424] usb usb7: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 5.03
[ 2.193696] usb usb7: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 2.200909] usb usb7: Product: Generic Platform OHCI controller
[ 2.206838] usb usb7: Manufacturer: Linux 5.3.4 ohci_hcd
[ 2.212155] usb usb7: SerialNumber: 1c1c400.usb
[ 2.217133] hub 7-0:1.0: USB hub found
[ 2.220908] hub 7-0:1.0: 1 port detected
[ 2.225464] ohci-platform 1c1d400.usb: Generic Platform OHCI controller
[ 2.232112] ohci-platform 1c1d400.usb: new USB bus registered, assigned bus number 8
[ 2.240021] ohci-platform 1c1d400.usb: irq 34, io mem 0x01c1d400
[ 2.315419] usb usb8: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 5.03
[ 2.323693] usb usb8: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 2.330905] usb usb8: Product: Generic Platform OHCI controller
[ 2.336832] usb usb8: Manufacturer: Linux 5.3.4 ohci_hcd
[ 2.342142] usb usb8: SerialNumber: 1c1d400.usb
[ 2.347125] hub 8-0:1.0: USB hub found
[ 2.350898] hub 8-0:1.0: 1 port detected
[ 2.355572] usb_phy_generic usb_phy_generic.0.auto: usb_phy_generic.0.auto supply vcc not found, using dummy regulator
[ 2.366644] musb-hdrc musb-hdrc.1.auto: MUSB HDRC host driver
[ 2.372412] musb-hdrc musb-hdrc.1.auto: new USB bus registered, assigned bus number 9
[ 2.380386] usb usb9: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.03
[ 2.388653] usb usb9: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 2.395875] usb usb9: Product: MUSB HDRC host driver
[ 2.400834] usb usb9: Manufacturer: Linux 5.3.4 musb-hcd
[ 2.406152] usb usb9: SerialNumber: musb-hdrc.1.auto
[ 2.411574] hub 9-0:1.0: USB hub found
[ 2.415349] hub 9-0:1.0: 1 port detected
[ 2.421363] sun6i-rtc 1f00000.rtc: setting system clock to 2019-10-27T19:15:10 UTC (1572203710)
[ 2.430295] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[ 2.441141] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[ 2.447855] ALSA device list:
[ 2.450914] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[ 2.451306] No soundcards found.
[ 2.459536] platform regulatory.0: Falling back to sysfs fallback for: regulatory.db
[ 2.481941] Freeing unused kernel memory: 1024K
[ 2.522176] Run /init as init process
[ 2.698388] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[ 2.903179] usb 1-1: new high-speed USB device number 2 using ehci-platform
[ 3.122289] usb 1-1: New USB device found, idVendor=03e7, idProduct=2150, bcdDevice= 0.01
[ 3.132034] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 3.139588] usb 1-1: Product: Movidius MA2X5X
[ 3.145009] usb 1-1: Manufacturer: Movidius Ltd.
[ 3.151145] usb 1-1: SerialNumber: 03e72150
[ 3.624900] NET: Registered protocol family 10
[ 3.706634] Segment Routing with IPv6
[ 3.728730] random: systemd: uninitialized urandom read (16 bytes read)
[ 3.743474] systemd[1]: systemd 229 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ -LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD -IDN)
[ 3.822499] systemd[1]: Detected architecture arm.
[ 3.974518] systemd[1]: Set hostname to <bpi-m2z>.
[ 4.020241] random: systemd: uninitialized urandom read (16 bytes read)
[ 4.117031] random: systemd-sysv-ge: uninitialized urandom read (16 bytes read)
[ 4.649459] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[ 4.681700] systemd[1]: Listening on fsck to fsckd communication Socket.
[ 4.721532] systemd[1]: Reached target Swap.
[ 4.752730] systemd[1]: Reached target Remote File Systems (Pre).
[ 4.791527] systemd[1]: Reached target Remote File Systems.
[ 4.869833] systemd[1]: Created slice System Slice.
[ 4.931816] systemd[1]: Created slice User and Session Slice.
[ 5.658037] g_serial gadget: Gadget Serial v2.4
[ 5.662623] g_serial gadget: g_serial ready
[ 5.693795] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43430-sdio for chip BCM43430/1
[ 5.726325] brcmfmac mmc1:0001:1: Direct firmware load for brcm/brcmfmac43430-sdio.sinovoip,bananapi zero.txt failed with error -2
[ 5.738182] brcmfmac mmc1:0001:1: Falling back to sysfs fallback for: brcm/brcmfmac43430-sdio.sinovoip,bananapi zero.txt
[ 5.746552] EXT4-fs (mmcblk0p2): re-mounted. Opts: commit=600,errors=remount-ro
[ 5.768456] Bluetooth: Core ver 2.22
[ 5.772242] NET: Registered protocol family 31
[ 5.776689] Bluetooth: HCI device and connection manager initialized
[ 5.784233] Bluetooth: HCI socket layer initialized
[ 5.790549] Bluetooth: L2CAP socket layer initialized
[ 5.801392] Bluetooth: SCO socket layer initialized
[ 5.827086] Bluetooth: HCI UART driver ver 2.3
[ 5.831604] Bluetooth: HCI UART protocol H4 registered
[ 5.836738] Bluetooth: HCI UART protocol BCSP registered
[ 5.842089] Bluetooth: HCI UART protocol ATH3K registered
[ 5.851600] Bluetooth: HCI UART protocol Intel registered
[ 5.863442] Bluetooth: HCI UART protocol Broadcom registered
[ 5.869321] Bluetooth: HCI UART protocol AG6XX registered
[ 5.933345] Bluetooth: RFCOMM TTY layer initialized
[ 5.939646] Bluetooth: RFCOMM socket layer initialized
[ 5.950083] Bluetooth: RFCOMM ver 1.11
[ 6.058690] Bluetooth: hci0: BCM: chip id 94
[ 6.065440] Bluetooth: hci0: BCM: features 0x2e
[ 6.093408] Bluetooth: hci0: BCM43430A1
[ 6.097280] Bluetooth: hci0: BCM43430A1 (001.002.009) build 0000
[ 6.104069] bluetooth hci0: Direct firmware load for brcm/BCM43430A1.hcd failed with error -2
[ 6.112669] bluetooth hci0: Falling back to sysfs fallback for: brcm/BCM43430A1.hcd
[ 6.853397] systemd-journald[187]: Received request to flush runtime journal from PID 1
[ 7.116395] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43430-sdio for chip BCM43430/1
[ 7.153502] brcmfmac: brcmf_c_process_clm_blob: no clm_blob available (err=-11), device may have limited channels available
[ 7.159906] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM43430/1 wl0: Mar 30 2016 11:30:56 version 7.45.77.h8.4 FWID 01-ee8a6268
[ 7.183589] cfg80211: failed to load regulatory.db
[ 32.481691] vcc3v0: disabling
[ 32.481751] vcc5v0: disabling
[ 69.604908] Bluetooth: hci0: BCM: Patch brcm/BCM43430A1.hcd not found
[ 69.921745] mc: Linux media interface: v0.10
[ 69.938396] videodev: Linux video capture interface: v2.00
[ 69.988636] sunxi_cedrus: module is from the staging directory, the quality is unknown, you have been warned.
[ 70.015478] cedrus 1c0e000.video-codec: Device registered as /dev/video0
[ 70.040830] sun4i-codec 1c22c00.codec: ASoC: codec-analog@1f015c0 not registered
[ 70.048428] sun4i-codec 1c22c00.codec: Failed to register our card
[ 70.078692] mali: loading out-of-tree module taints kernel.
[ 70.099620] Allwinner sunXi mali glue initialized
[ 70.099829] debugfs: Directory '1c22c00.codec' with parent 'H3 Audio Codec' already present!
[ 70.103799] Mali:
[ 70.103808] Found Mali GPU Mali-400 MP r1p1
[ 70.146672] Registered IR keymap rc-empty
[ 70.146962] rc rc0: sunxi-ir as /devices/platform/soc/1f02000.ir/rc/rc0
[ 70.147344] input: sunxi-ir as /devices/platform/soc/1f02000.ir/rc/rc0/input0
[ 70.149308] sun4i-codec 1c22c00.codec: ASoC: Failed to create component debugfs directory: -17
[ 70.161503] rc rc0: lirc_dev: driver sunxi-ir registered at minor = 0, raw IR receiver, no transmitter
[ 70.163237] sun4i-codec 1c22c00.codec: Codec <-> 1c22c00.codec mapping ok
[ 70.163656] Mali:
[ 70.163662] 2+0 PP cores initialized
[ 70.164888] Mali:
[ 70.164895] Mali device driver loaded
[ 70.165766] sunxi-ir 1f02000.ir: initialized sunXi IR driver
[ 70.189952] sun4i-drm display-engine: bound 1100000.mixer (ops sun8i_mixer_platform_driver_exit [sun8i_mixer])
[ 70.190663] sun4i-drm display-engine: bound 1c0c000.lcd-controller (ops sun4i_tcon_platform_driver_exit [sun4i_tcon])
[ 70.190831] sun8i-dw-hdmi 1ee0000.hdmi: 1ee0000.hdmi supply hvcc not found, using dummy regulator
[ 70.193864] sun8i-dw-hdmi 1ee0000.hdmi: Detected HDMI TX controller v1.32a with HDCP (sun8i_dw_hdmi_phy)
[ 70.195261] sun8i-dw-hdmi 1ee0000.hdmi: registered DesignWare HDMI I2C bus driver
[ 70.195815] sun4i-drm display-engine: bound 1ee0000.hdmi (ops sun8i_dw_hdmi_ops [sun8i_drm_hdmi])
[ 70.195829] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[ 70.195834] [drm] No driver support for vblank timestamp query.
[ 70.200274] [drm] Initialized sun4i-drm 1.0.0 20150629 for display-engine on minor 0
[ 70.200543] [drm] Cannot find any crtc or sizes
[ 70.330677] asoc-simple-card soc:sound: i2s-hifi <-> 1c22800.i2s mapping ok
[ 70.651655] EXT4-fs (mmcblk0p1): mounted filesystem with ordered data mode. Opts: (null)
[ 71.204554] dwmac-sun8i 1c30000.ethernet eth0: PHY [0.1:01] driver [Generic PHY]
[ 71.204579] dwmac-sun8i 1c30000.ethernet eth0: phy: setting supported 00,00000000,000062cf advertising 00,00000000,000062cf
[ 71.228895] dwmac-sun8i 1c30000.ethernet eth0: No Safety Features support found
[ 71.228935] dwmac-sun8i 1c30000.ethernet eth0: No MAC Management Counters available
[ 71.228955] dwmac-sun8i 1c30000.ethernet eth0: PTP not supported by HW
[ 71.228976] dwmac-sun8i 1c30000.ethernet eth0: configuring for phy/mii link mode
[ 71.229020] dwmac-sun8i 1c30000.ethernet eth0: phylink_mac_config: mode=phy/mii/Unknown/Unknown adv=00,00000000,000062cf pause=10 link=0 an=1
[ 71.230076] dwmac-sun8i 1c30000.ethernet eth0: phy link down mii/Unknown/Unknown
[ 71.793525] zram: Added device: zram0
[ 71.795202] zram: Added device: zram1
[ 71.796386] zram: Added device: zram2
[ 71.797528] zram: Added device: zram3
[ 71.897790] zram0: detected capacity change from 0 to 64770048
[ 72.091355] Adding 63248k swap on /dev/zram0. Priority:5 extents:1 across:63248k SS
[ 72.093579] zram1: detected capacity change from 0 to 64770048
[ 72.180746] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 72.180760] Bluetooth: BNEP filters: protocol multicast
[ 72.180788] Bluetooth: BNEP socket layer initialized
[ 72.181829] Adding 63248k swap on /dev/zram1. Priority:5 extents:1 across:63248k SS
[ 72.185898] zram2: detected capacity change from 0 to 64770048
[ 72.261320] Adding 63248k swap on /dev/zram2. Priority:5 extents:1 across:63248k SS
[ 72.263128] zram3: detected capacity change from 0 to 64770048
[ 72.424355] Adding 63248k swap on /dev/zram3. Priority:5 extents:1 across:63248k SS
[ 73.115206] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[ 96.361696] usb 1-1: USB disconnect, device number 2
[ 96.946021] usb 1-1: new high-speed USB device number 3 using ehci-platform
[ 97.147888] usb 1-1: New USB device found, idVendor=8087, idProduct=0b37, bcdDevice=ff.ff
[ 97.147906] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 97.147916] usb 1-1: Product: Intel(R) RealSense(TM) Tracking Camera T265
[ 97.147926] usb 1-1: Manufacturer: Intel(R) Corporation
[ 97.147936] usb 1-1: SerialNumber: 9291221101120000
[ 149.641298] random: crng init done
[ 149.641319] random: 7 urandom warning(s) missed due to ratelimiting
The T265 is working fine. The 15 m load (htop) is about 2 - 2.6, I'm achieving the frame (pose) rate I need and the chip's temperature is between 40 and 45 degrees C. EDIT: At least an spidev exists:
Thanks |
Here is Kernel 5.3.7-server for Ubuntu 16.04 if you want to test it: https://github.com/avafinger/bananapi-zero-ubuntu-base-minimal/releases/tag/v2.7 |
Cool Thanks. Will test. Would that be the way? Install 4.20 first, then 5.3.7-server on top? |
yes |
Works, but what is the advantage? The memory footprint seems to be smaller and the 15 min htop load value is surprisingly < 2 (whereas the current and the 5 min values are above). Maybe this will change within the next 15 minutes. The BT log looks similar, so I suppose, I was not able to disable BT with my dtb compilation last time. EDIT: Since I didn't patch the device tree there is no spidev. At least this seemed to have worked. |
It takes 1:45 min until my script runs. Is there any chance to speed up the start? |
Hello? :) |
Please, use sudo htop and monitor which process is taken so long. Order it with %cpou usage. Put your script here as code here ou publish it somewhere we can access it, so anyone can have a look at and give some advice. |
Just in case:
|
Thanks.
Is it possible to monitor the startup by this? |
Found another command:
|
Try this (search internet how to do this):
Boot with this new configuration and check the times again, also:
Ask yourself why you have 1min 5.721s to fsck your sd card. |
I did. Got no answer so far. What do you mean by that? It is a brand new, non-cheap 8 GB SD card. What else do you need? I don't have a golden card for this device :) Other than that: As far as I know linux an fsck is only done after an unexpected power down. Even if I |
Nobody knows about how to decompile that file. I think I'm giving up with the Banana and return to the PI again. Thanks for helping |
Recompile with:cd /media/alex/boot/sudo mkimage -C none -A arm -T script -d bpi-m2-zero_boot.cmd bpi-m2-zero_boot.scr |
I was looking for decompiling first... No hint |
For reference, a good sd card (mine) :
You can get a faster card > 8GB and expand it to have full size. |
Nice. No fsck. Still don't know, how to decompile yet. What kind of card is that? Type? Brand? |
You just need to compile the file (sorry if i wrote to decompile, i am busy doing things in parallel here, no free time...). The reference i gave you is for the 16GB Sandisk Ultra 45 MB/s. Running Ubuntu 16.04, no BT, with eth0 and wlan0.
Do you have a linux box? |
Thanks. Yes I have a linux box. Will change and compile. I also have a SanDisk Ultra microSDHC UHS-I 32 GB here. Sufficient? |
yes, exactly the same here. Not the one which needs 1.5 min, but on the desk and in use soon. Do you have any information (not now necessarily if you are busy), how to make the filesystem read only? |
Forgot to link the instructions: https://github.com/avafinger/bananapi-zero-ubuntu-base-minimal/releases/tag/v15 Unfortunately, i don't have experience with RO fs. But i think you should use Ubuntu 16.04, remove the unnecessary services (bt, journaling, and the annoying ubuntu default services you can get better results than this). Don't forget to update the u-boot to get rid of the 3 seconds wait at boot time. |
:) No you didn't forget. We had that 200 posts up already :) I know about. Thanks |
The ETH and SSH resistance of this image is really impressive. I'm now at the at least 6th fresh installation and it is nearly impossible to have a headless startup "out of the box". Very strange... |
After the second flash it works better now:
About 15 s up to the SSH prompt. Not too bad. |
I'm having issues with the convenience image. HDMI is pretty much unreadable, since it is shifted left by 3-4 characters, top and bottom by several lines. Monitored on two BPI Zero M2 and with different monitors.
What can I do?
The text was updated successfully, but these errors were encountered: