Superkoning Posted April 3, 2020 Posted April 3, 2020 Hi, My Solidrun Cubox I1-300-D has been running Armbian for quite some time (Samsung EVO SD card). However, I tried to update/upgrade, and my version was non-supported anymore (19.04?), so time for a fresh new image. I've tried three times (download image from https://www.armbian.com/cubox-i/, sha256 check, burn image with etcher, inspect file structure (looks good), and boot), but each time this happens: "Armbian universal operating system" + text ("Executing script at ...") splash screen, then a black screen, and then my TV says "no signal", and then nothing anymore. At the ethernetconnector, there is red LED on / flashing when the eternetcable is connected. I've let the box run for hours, but no effect. Keyboard eventually connected, but no effect. So ... tips? Is the Cubox I1-300-D still supported? Is there an older image (16.04?) that I can try? Does Armbian write anything to the SD card when it boots? Like "Hello, here I am" or dmesg? Because if so, I could check for that on the SD card in my laptop ... anything else? EDIT: I downloaded and installed sr-imx6-debian-buster-20191020-cli.img from https://images.solid-build.xyz/IMX6/Debian/, and the Cubox boots perfectly from that install. So proof Cubox, SDcard, method, power, HDMI etc are OK.
Igor Posted April 3, 2020 Posted April 3, 2020 3 hours ago, Superkoning said: Cubox I1-300-D We are using up2date Solidrun U-boot which automatically detects the board and select proper DT. If this is not done properly, you need to force loading it. Editing /boot/armbianEnv.txt or boot.cmd/scr and changing / forcing correct DT for your board. I am affraid this is probably the only way. Most likely this is the problem ... My Cubox i4 works without a problem and that is the only one I have.
Superkoning Posted April 3, 2020 Author Posted April 3, 2020 Thank you for replying. So ... as the solidrun Debian images is running well, that is some kind of paradox, as Armbian (not booting through) uses Solidrun as a basis? Or is there still hope? Can I pick some setting from the running Solidrun Debian and copy it to Armbian Ubuntu? I'm just a Linux user, and I know nothing about DT / dtb. sander@cubox-debian:~$ ls -al /boot/ total 21840 drwxr-xr-x 3 root root 4096 Apr 3 11:06 . drwxr-xr-x 18 root root 4096 Feb 14 2019 .. -rw-r--r-- 1 root root 2881153 Sep 3 2019 System.map-4.9.150-imx6-sr -rw-r--r-- 1 root root 3642 Apr 3 11:06 boot.scr -rw-r--r-- 1 root root 2925 Oct 20 10:30 boot.scr.bak -rw-r--r-- 1 root root 170320 Sep 3 2019 config-4.9.150-imx6-sr lrwxrwxrwx 1 root root 41 Apr 3 11:05 dtb -> dtbs/4.9.150-imx6-sr/./imx6dl-cubox-i.dtb lrwxrwxrwx 1 root root 41 Apr 3 11:05 dtb-4.9.150-imx6-sr -> dtbs/4.9.150-imx6-sr/./imx6dl-cubox-i.dtb lrwxrwxrwx 1 root root 36 Oct 20 10:19 dtb-dir -> /usr/lib/linux-image-4.9.150-imx6-sr drwxr-xr-x 3 root root 4096 Oct 20 10:28 dtbs lrwxrwxrwx 1 root root 26 Oct 20 10:19 initrd -> initrd.img-4.9.150-imx6-sr -rw-r--r-- 1 root root 12133931 Apr 3 11:05 initrd.img-4.9.150-imx6-sr lrwxrwxrwx 1 root root 23 Oct 20 10:19 vmlinuz -> vmlinuz-4.9.150-imx6-sr -rwxr-xr-x 1 root root 7149960 Sep 3 2019 vmlinuz-4.9.150-imx6-sr lrwxrwxrwx 1 root root 23 Sep 3 2019 zImage-4.9.150-imx6-sr -> vmlinuz-4.9.150-imx6-sr
Igor Posted April 3, 2020 Posted April 3, 2020 13 minutes ago, Superkoning said: So ... as the solidrun Debian images is running well, that is some kind of paradox, as Armbian (not booting through) uses Solidrun as a basis? Not exactly. We only use their boot loader with modern kernel and opensource multimedia routines. Solidrun has little to do with that kernel. 14 minutes ago, Superkoning said: Can I pick some setting from the running Solidrun Debian and copy it to Armbian Ubuntu? Its not about settings. Its about maintaining and bringing functions to the modern kernel. A process that usually costs developers tens to hundreds of thousands which means there is nothing you can do about. Nor me. You will need to use their stock creations.
Superkoning Posted April 3, 2020 Author Posted April 3, 2020 OK, then I'll stick to the Solidrun Debian on the Cubox i1. A pity, but at least Armbian Ubuntu is still running on my Nanopi NEO2. Thank you.
usual user Posted April 4, 2020 Posted April 4, 2020 I'm a long time Fedora cubox-i user and all support is basically in mainline available. Out of curiosity I'm wondering why it is not working for debian derived userspace also. As I do not have a single core device, are you interested to try a Fedora image to see if it is working for you? If it is working we may be able to work out what is missing for armbian. On 4/3/2020 at 5:20 PM, Superkoning said: I'm just a Linux user, and I know nothing about DT / dtb. You just need to know how to manage files in the rootfs and modify configuration files with your favorite editor. I.e. basic linux knowledge.
Superkoning Posted April 4, 2020 Author Posted April 4, 2020 Thanks for your offer. I indeed would prefer to have Armbian Ubuntu (instead of Solidrun Debian) running on the Cubox i1-300-D, and I can spend an hour or so on Fedora. Please note: trying all kinds of random parameters is not my thing.
Igor Posted April 4, 2020 Posted April 4, 2020 1 hour ago, usual user said: and all support is basically in mainline available. That's is correct. My prediction is - as I have also seen this before - that automated DT selection, which is done in the u-boot - is working wrong. ... but @Superkoning has to try if that helps once he gets some time.
usual user Posted April 4, 2020 Posted April 4, 2020 So, for a quick test I uploaded an image that is configured for cubox-i here. Put it on a microSD with "xz -dcv Fedora-Minimal-armhfp-31-1.9-trial.raw.xz > /dev/sdX" "/dev/sdX" has to be replaced by the device where the microSD resides while the transfer. When it works for you properly I know pure mainline support is working and we can start to figure what is missing for armbian.
Igor Posted April 4, 2020 Posted April 4, 2020 1 hour ago, usual user said: what is missing for armbian. Armbian works on my Cubox i4 and Hummingboard i2ex just fine.
Superkoning Posted April 5, 2020 Author Posted April 5, 2020 9 hours ago, usual user said: So, for a quick test I uploaded an image that is configured for cubox-i here. Put it on a microSD with "xz -dcv Fedora-Minimal-armhfp-31-1.9-trial.raw.xz > /dev/sdX" "/dev/sdX" has to be replaced by the device where the microSD resides while the transfer. When it works for you properly I know pure mainline support is working and we can start to figure what is missing for armbian. OK, thanks, I'll try once I'm at home
Superkoning Posted April 5, 2020 Author Posted April 5, 2020 OK, unpacked, wrote to SD-card, boot from it ... bingo ... login-prompt ... root/trial, and I'm in. Typing is strange: no QWERTY but ... QWERTZ ... German? Anyway: your image works! So ... next step ... ? PS: non-related: when I login as kodi ... a nice KODI GUI starts up. Nice PS2: with a remote login a lxqt from my Ubuntu laptop, I have a normal QWERTY setup.
usual user Posted April 5, 2020 Posted April 5, 2020 2 hours ago, Superkoning said: Typing is strange: no QWERTY but ... QWERTZ ... German? Yes. The image is based on stock Fedora Minimal with some additional packages installed, some cubox-i optimizing configurations applied and some personal preferences set up. It is showcasing what is possible with pure mainline to my knowledge. 2 hours ago, Superkoning said: Anyway: your image works! This confirms Mainline works as expected if it is configured properly. No workarounds like forcing a specific DTB are required. 2 hours ago, Superkoning said: So ... next step ... ? Provide the exact Armbian image name you want to make working, so I am able to take a look what is may be missing. Also please start up Fedora again and attach the file of "dmesg > dmesg.txt" to your next post.
Igor Posted April 6, 2020 Posted April 6, 2020 Perhaps this is the problem? https://github.com/armbian/build/blob/master/config/kernel/linux-imx6-current.config#L379
usual user Posted April 6, 2020 Posted April 6, 2020 43 minutes ago, Igor said: Perhaps this is the problem? This option (# CONFIG_SOC_IMX6SLL is not set) is not set for the kernel in the Fedora Image also. To work out what is missing I need the dmesg output I asked for to see the details of the device.
Superkoning Posted April 6, 2020 Author Posted April 6, 2020 dmesg from Fedora: [lxqt@trial ~]$ dmesg [ 0.000000] Booting Linux on physical CPU 0x0 [ 0.000000] Linux version 5.4.0-0.rc3.git0.1.fc31.armv7hl (root@micro-011) (gcc version 9.2.1 20190827 (Red Hat 9.2.1-1) (GCC)) #1 SMP Fri Oct 18 20:33:34 CEST 2019 [ 0.000000] CPU: ARMv7 Processor [412fc09a] revision 10 (ARMv7), cr=10c5387d [ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache [ 0.000000] OF: fdt: Machine model: SolidRun Cubox-i Solo/DualLite [ 0.000000] Memory policy: Data cache writeback [ 0.000000] efi: Getting EFI parameters from FDT: [ 0.000000] efi: UEFI not found. [ 0.000000] cma: Reserved 256 MiB at 0x20000000 [ 0.000000] On node 0 totalpages: 131072 [ 0.000000] Normal zone: 1152 pages used for memmap [ 0.000000] Normal zone: 0 pages reserved [ 0.000000] Normal zone: 131072 pages, LIFO batch:31 [ 0.000000] CPU: All CPU(s) started in SVC mode. [ 0.000000] percpu: Embedded 19 pages/cpu s46028 r8192 d23604 u77824 [ 0.000000] pcpu-alloc: s46028 r8192 d23604 u77824 alloc=19*4096 [ 0.000000] pcpu-alloc: [0] 0 [0] 1 [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 129920 [ 0.000000] Kernel command line: selinux=0 audit=0 loglevel=5 coherent_pool=2M cma=256M console=ttymxc0,115200n8 console=tty1 ahci_imx.hotplug=1 raid=noautodetect rootwait rootfstype=ext4 root=PARTUUID=679e3844-03 fbcon=nodefer [ 0.000000] audit: disabled (until reboot) [ 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: 238036K/524288K available (8831K kernel code, 1384K rwdata, 4936K rodata, 2048K init, 503K bss, 24108K reserved, 262144K cma-reserved, 0K highmem) [ 0.000000] random: get_random_u32 called from __kmem_cache_create+0x2c/0x418 with crng_init=0 [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1 [ 0.000000] ftrace: allocating 42351 entries in 83 pages [ 0.000000] rcu: Hierarchical RCU implementation. [ 0.000000] rcu: RCU restricting CPUs from NR_CPUS=32 to nr_cpu_ids=2. [ 0.000000] Tasks RCU enabled. [ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 100 jiffies. [ 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 physical location is 0xa01000 [ 0.000000] L2C-310 erratum 769419 enabled [ 0.000000] L2C-310 enabling early BRESP for Cortex-A9 [ 0.000000] L2C-310 full line of zeros enabled for Cortex-A9 [ 0.000000] L2C-310 ID prefetch enabled, offset 16 lines [ 0.000000] L2C-310 dynamic clock gating enabled, standby mode enabled [ 0.000000] L2C-310 cache controller enabled, 16 ways, 512 kB [ 0.000000] L2C-310: CACHE_ID 0x410000c8, AUX_CTRL 0x76450001 [ 0.000000] Switching to timer-based delay loop, resolution 333ns [ 0.000007] sched_clock: 32 bits at 3000kHz, resolution 333ns, wraps every 715827882841ns [ 0.000026] clocksource: mxc_timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 637086815595 ns [ 0.003149] Console: colour dummy device 80x30 [ 0.003166] printk: console [tty1] enabled [ 0.003209] Calibrating delay loop (skipped), value calculated using timer frequency.. 6.00 BogoMIPS (lpj=3000) [ 0.003222] pid_max: default: 32768 minimum: 301 [ 0.003554] LSM: Security Framework initializing [ 0.003583] Yama: becoming mindful. [ 0.003729] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear) [ 0.003743] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear) [ 0.003872] *** VALIDATE tmpfs *** [ 0.004763] *** VALIDATE proc *** [ 0.005104] *** VALIDATE cgroup1 *** [ 0.005159] *** VALIDATE cgroup2 *** [ 0.005249] CPU: Testing write buffer coherency: ok [ 0.005292] CPU0: Spectre v2: using BPIALL workaround [ 0.005726] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000 [ 0.006821] Setting up static identity map for 0x10300000 - 0x103000ac [ 0.008857] rcu: Hierarchical SRCU implementation. [ 0.014477] EFI services will not be available. [ 0.015086] smp: Bringing up secondary CPUs ... [ 0.016187] smp: Brought up 1 node, 1 CPU [ 0.016197] SMP: Total of 1 processors activated (6.00 BogoMIPS). [ 0.016205] CPU: All CPU(s) started in SVC mode. [ 0.016927] devtmpfs: initialized [ 0.028312] VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4 [ 0.028971] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1911260446275000 ns [ 0.028994] futex hash table entries: 512 (order: 3, 32768 bytes, linear) [ 0.042937] pinctrl core: initialized pinctrl subsystem [ 0.045005] DMI not present or invalid. [ 0.045795] NET: Registered protocol family 16 [ 0.054732] DMA: preallocated 2048 KiB pool for atomic coherent allocations [ 0.057091] cpuidle: using governor menu [ 0.057747] CPU identified as i.MX6DL, silicon rev 1.1 [ 0.068896] vdd1p1: supplied by regulator-dummy [ 0.069638] vdd3p0: supplied by regulator-dummy [ 0.070421] vdd2p5: supplied by regulator-dummy [ 0.071168] vddarm: supplied by regulator-dummy [ 0.071909] vddpu: supplied by regulator-dummy [ 0.072659] vddsoc: supplied by regulator-dummy [ 0.087305] No ATAGs? [ 0.087377] hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint registers. [ 0.087385] hw-breakpoint: maximum watchpoint size is 4 bytes. [ 0.090365] imx6dl-pinctrl 20e0000.iomuxc: initialized IMX pinctrl driver [ 0.092739] Serial: AMBA PL011 UART driver [ 2.110043] cryptd: max_cpu_qlen set to 1000 [ 2.128627] alg: No test for 842 (842-generic) [ 2.129300] alg: No test for 842 (842-scomp) [ 2.180349] v_usb2: supplied by v_5v0 [ 2.180636] vcc_3v3: supplied by v_5v0 [ 2.180984] v_usb1: supplied by v_5v0 [ 2.184452] iommu: Default domain type: Translated [ 2.185771] vgaarb: loaded [ 2.186901] SCSI subsystem initialized [ 2.187305] libata version 3.00 loaded. [ 2.187663] usbcore: registered new interface driver usbfs [ 2.187732] usbcore: registered new interface driver hub [ 2.187884] usbcore: registered new device driver usb [ 2.189231] i2c i2c-1: IMX I2C adapter registered [ 2.190061] i2c i2c-2: IMX I2C adapter registered [ 2.190818] pps_core: LinuxPPS API ver. 1 registered [ 2.190826] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it> [ 2.190851] PTP clock support registered [ 2.191280] EDAC MC: Ver: 3.0.0 [ 2.194027] NetLabel: Initializing [ 2.194036] NetLabel: domain hash size = 128 [ 2.194041] NetLabel: protocols = UNLABELED CIPSOv4 CALIPSO [ 2.194205] NetLabel: unlabeled traffic allowed by default [ 2.195007] clocksource: Switched to clocksource mxc_timer1 [ 2.309304] *** VALIDATE bpf *** [ 2.309703] VFS: Disk quotas dquot_6.6.0 [ 2.309796] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes) [ 2.309900] *** VALIDATE ramfs *** [ 2.323078] thermal_sys: Registered thermal governor 'fair_share' [ 2.323084] thermal_sys: Registered thermal governor 'step_wise' [ 2.323093] thermal_sys: Registered thermal governor 'user_space' [ 2.323740] NET: Registered protocol family 2 [ 2.324761] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear) [ 2.324806] TCP established hash table entries: 4096 (order: 2, 16384 bytes, linear) [ 2.324856] TCP bind hash table entries: 4096 (order: 3, 32768 bytes, linear) [ 2.324929] TCP: Hash tables configured (established 4096 bind 4096) [ 2.325200] UDP hash table entries: 256 (order: 1, 8192 bytes, linear) [ 2.325231] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear) [ 2.325513] NET: Registered protocol family 1 [ 2.325557] NET: Registered protocol family 44 [ 2.325574] PCI: CLS 0 bytes, default 64 [ 2.326907] hw perfevents: no interrupt-affinity property for /pmu, guessing. [ 2.327189] hw perfevents: enabled with armv7_cortex_a9 PMU driver, 7 counters available [ 2.352431] Initialise system trusted keyrings [ 2.352490] Key type blacklist registered [ 2.352808] workingset: timestamp_bits=14 max_order=17 bucket_order=3 [ 2.362290] zbud: loaded [ 2.408111] NET: Registered protocol family 38 [ 2.408129] Key type asymmetric registered [ 2.408135] Asymmetric key parser 'x509' registered [ 2.408202] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 244) [ 2.408476] io scheduler mq-deadline registered [ 2.408484] io scheduler kyber registered [ 2.408714] io scheduler bfq registered [ 2.409182] atomic64_test: passed [ 2.433613] Serial: AMBA driver [ 2.434689] 2020000.serial: ttymxc0 at MMIO 0x2020000 (irq = 26, base_baud = 5000000) is a IMX [ 2.441973] printk: console [ttymxc0] enabled [ 2.443271] 21f0000.serial: ttymxc3 at MMIO 0x21f0000 (irq = 66, base_baud = 5000000) is a IMX [ 2.444850] msm_serial: driver initialized [ 2.444857] STMicroelectronics ASC driver initialized [ 2.446245] STM32 USART driver initialized [ 2.452863] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013). [ 2.452870] [drm] No driver support for vblank timestamp query. [ 2.453141] imx-drm display-subsystem: bound imx-ipuv3-crtc.2 (ops ipu_crtc_ops) [ 2.453305] imx-drm display-subsystem: bound imx-ipuv3-crtc.3 (ops ipu_crtc_ops) [ 2.453544] dwhdmi-imx 120000.hdmi: Detected HDMI TX controller v1.31a with HDCP (DWC HDMI 3D TX PHY) [ 2.455426] rc_core: Couldn't load IR keymap rc-cec [ 2.460423] Registered IR keymap rc-empty [ 2.460603] rc rc0: dw_hdmi as /devices/soc0/soc/120000.hdmi/rc/rc0 [ 2.460798] input: dw_hdmi as /devices/soc0/soc/120000.hdmi/rc/rc0/input0 [ 2.461217] imx-drm display-subsystem: bound 120000.hdmi (ops dw_hdmi_imx_ops) [ 2.461787] [drm] Initialized imx-drm 1.0.0 20120507 for display-subsystem on minor 0 [ 2.495877] random: fast init done [ 2.583945] Console: switching to colour frame buffer device 240x67 [ 2.616144] imx-drm display-subsystem: fb0: imx-drmdrmfb frame buffer device [ 2.616209] imx-ipuv3 2400000.ipu: IPUv3H probed [ 2.620192] libphy: Fixed MDIO Bus: probed [ 2.620855] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 2.620876] ehci-pci: EHCI PCI platform driver [ 2.620955] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver [ 2.621195] usbcore: registered new interface driver usbserial_generic [ 2.621253] usbserial: USB Serial support registered for generic [ 2.621505] mousedev: PS/2 mouse device common for all mice [ 2.623114] rtc-pcf8523 2-0068: failed to set xtal load capacitance: -6 [ 2.635783] imx2-wdt 20bc000.wdog: timeout 60 sec (nowayout=0) [ 2.636245] device-mapper: uevent: version 1.0.3 [ 2.636703] device-mapper: ioctl: 4.41.0-ioctl (2019-09-16) initialised: dm-devel@redhat.com [ 2.639587] sdhci: Secure Digital Host Controller Interface driver [ 2.639593] sdhci: Copyright(c) Pierre Ossman [ 2.639598] sdhci-pltfm: SDHCI platform and OF driver helper [ 2.640854] sdhci-esdhc-imx 2190000.usdhc: allocated mmc-pwrseq [ 2.882747] mmc0: SDHCI controller on 2190000.usdhc [2190000.usdhc] using ADMA [ 2.884912] sdhci-esdhc-imx 2194000.usdhc: Got CD GPIO [ 2.919384] mmc1: SDHCI controller on 2194000.usdhc [2194000.usdhc] using ADMA [ 2.920816] ledtrig-cpu: registered to indicate activity on CPUs [ 2.923277] hidraw: raw HID events driver (C) Jiri Kosina [ 2.923605] usbcore: registered new interface driver usbhid [ 2.923610] usbhid: USB HID core driver [ 2.928170] drop_monitor: Initializing network drop monitor service [ 2.928578] Initializing XFRM netlink socket [ 2.929778] NET: Registered protocol family 10 [ 2.941793] Segment Routing with IPv6 [ 2.941915] mip6: Mobile IPv6 [ 2.941927] NET: Registered protocol family 17 [ 2.945309] ThumbEE CPU extension supported. [ 2.945329] Registering SWP/SWPB emulation handler [ 2.965223] mmc1: host does not support reading read-only switch, assuming write-enable [ 2.973664] registered taskstats version 1 [ 2.973711] Loading compiled-in X.509 certificates [ 2.994159] mmc1: new high speed SDHC card at address aaaa [ 2.999621] mmcblk1: mmc1:aaaa SL32G 29.7 GiB [ 3.007091] mmcblk1: p1 p2 p3 [ 3.362719] Loaded X.509 cert 'Fedora kernel signing key: c92d03ad4041dcd40428aa975833ae99f7e7a880' [ 3.362843] zswap: loaded using pool lzo/zbud [ 3.363434] Key type ._fscrypt registered [ 3.363441] Key type .fscrypt registered [ 3.371230] Key type big_key registered [ 3.375793] Key type encrypted registered [ 3.375832] ima: No TPM chip found, activating TPM-bypass! [ 3.375866] ima: Allocated hash algorithm: sha256 [ 3.375914] ima: No architecture policies found [ 3.407031] imx_thermal tempmon: Commercial CPU temperature grade - max:95C critical:90C passive:85C [ 3.409194] hctosys: unable to open rtc device (rtc0) [ 3.410826] md: Skipping autodetection of RAID arrays. (raid=autodetect will force) [ 3.436449] EXT4-fs (mmcblk1p3): mounted filesystem with ordered data mode. Opts: (null) [ 3.436583] VFS: Mounted root (ext4 filesystem) readonly on device 179:3. [ 3.446855] devtmpfs: mounted [ 3.459090] Freeing unused kernel memory: 2048K [ 3.463718] ------------[ cut here ]------------ [ 3.468523] WARNING: CPU: 0 PID: 1 at arch/arm/mm/dump.c:248 note_page+0x160/0x324 [ 3.476251] arm/mm: Found insecure W+X mapping at address 0xe0839000 [ 3.482712] Modules linked in: [ 3.485859] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 5.4.0-0.rc3.git0.1.fc31.armv7hl #1 [ 3.494048] Hardware name: Freescale i.MX6 Quad/DualLite (Device Tree) [ 3.500678] [<c031127c>] (unwind_backtrace) from [<c030b744>] (show_stack+0x18/0x1c) [ 3.508524] [<c030b744>] (show_stack) from [<c0b85974>] (dump_stack+0xa8/0xc4) [ 3.515842] [<c0b85974>] (dump_stack) from [<c034d59c>] (__warn+0xdc/0xf8) [ 3.522807] [<c034d59c>] (__warn) from [<c034d94c>] (warn_slowpath_fmt+0x70/0x84) [ 3.530384] [<c034d94c>] (warn_slowpath_fmt) from [<c03197a8>] (note_page+0x160/0x324) [ 3.538399] [<c03197a8>] (note_page) from [<c0319a34>] (walk_pgd+0xc8/0xe0) [ 3.545448] [<c0319a34>] (walk_pgd) from [<c0319b10>] (ptdump_check_wx+0x58/0xac) [ 3.553030] [<c0319b10>] (ptdump_check_wx) from [<c0b99bd0>] (kernel_init+0x34/0x11c) [ 3.560960] [<c0b99bd0>] (kernel_init) from [<c03010e8>] (ret_from_fork+0x14/0x2c) [ 3.568618] Exception stack(0xcf513fb0 to 0xcf513ff8) [ 3.573733] 3fa0: 00000000 00000000 00000000 00000000 [ 3.582006] 3fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 3.590278] 3fe0: 00000000 00000000 00000000 00000000 00000013 00000000 [ 3.597065] ---[ end trace 8433cd0617ef4a53 ]--- [ 3.602058] Checked W+X mappings: FAILED, 1 W+X pages found [ 3.607737] rodata_test: all tests were successful [ 3.607745] Run /sbin/init as init process [ 4.480765] systemd[1]: System time before build time, advancing clock. [ 4.706941] systemd[1]: systemd v243-4.gitef67743.fc31 running in system mode. (+PAM +AUDIT +SELINUX +IMA -APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD +IDN2 -IDN +PCRE2 default-hierarchy=unified) [ 4.708526] systemd[1]: Detected architecture arm. [ 4.710591] systemd[1]: Set hostname to <trial>. [ 5.601548] random: lvmconfig: uninitialized urandom read (4 bytes read) [ 6.368267] systemd[1]: /usr/lib/systemd/system/sssd.service:12: PIDFile= references a path below legacy directory /var/run/, updating /var/run/sssd.pid → /run/sssd.pid; please update the unit file accordingly. [ 6.633893] systemd[1]: /usr/lib/systemd/system/sssd-kcm.socket:7: ListenStream= references a path below legacy directory /var/run/, updating /var/run/.heim_org.h5l.kcm-socket → /run/.heim_org.h5l.kcm-socket; please update the unit file accordingly. [ 6.671438] random: systemd: uninitialized urandom read (16 bytes read) [ 6.676906] systemd[1]: Created slice system-getty.slice. [ 6.677856] random: systemd: uninitialized urandom read (16 bytes read) [ 6.679891] systemd[1]: Created slice system-serial\x2dgetty.slice. [ 6.680141] random: systemd: uninitialized urandom read (16 bytes read) [ 6.682352] systemd[1]: Created slice system-sshd\x2dkeygen.slice. [ 6.684395] systemd[1]: Created slice User and Session Slice. [ 6.684979] systemd[1]: Started Dispatch Password Requests to Console Directory Watch. [ 7.577194] EXT4-fs (mmcblk1p3): re-mounted. Opts: (null) [ 7.739432] zram: Added device: zram0 [ 8.182268] zram0: detected capacity change from 0 to 245002240 [ 8.635854] systemd-journald[275]: Received client request to flush runtime journal. [ 9.350086] random: crng init done [ 9.350097] random: 6 urandom warning(s) missed due to ratelimiting [ 9.364574] Adding 239256k swap on /dev/zram0. Priority:1000 extents:1 across:239256k SSFS [ 11.733504] Registered IR keymap rc-empty [ 11.733634] rc rc1: gpio_ir_recv as /devices/soc0/ir-receiver/rc/rc1 [ 11.733811] input: gpio_ir_recv as /devices/soc0/ir-receiver/rc/rc1/input1 [ 11.743944] input: gpio-keys as /devices/soc0/gpio-keys/input/input2 [ 11.744496] rc rc1: lirc_dev: driver gpio_ir_recv registered at minor = 0, raw IR receiver, no transmitter [ 11.799375] mc: Linux media interface: v0.10 [ 12.413404] videodev: Linux video capture interface: v2.00 [ 12.429249] etnaviv etnaviv: bound 130000.gpu (ops gpu_ops [etnaviv]) [ 12.437195] etnaviv etnaviv: bound 134000.gpu (ops gpu_ops [etnaviv]) [ 12.437213] etnaviv-gpu 130000.gpu: model: GC880, revision: 5106 [ 12.441725] etnaviv-gpu 134000.gpu: model: GC320, revision: 5007 [ 12.453163] [drm] Initialized etnaviv 1.3.0 20151214 for etnaviv on minor 1 [ 13.527120] imx_media_common: module is from the staging directory, the quality is unknown, you have been warned. [ 13.892912] imx6_media: module is from the staging directory, the quality is unknown, you have been warned. [ 13.980815] coda 2040000.vpu: Firmware code revision: 570363 [ 13.980829] coda 2040000.vpu: Initialized CODA960. [ 13.980835] coda 2040000.vpu: Firmware version: 3.1.1 [ 13.983173] coda 2040000.vpu: encoder registered as video0 [ 13.983421] coda 2040000.vpu: decoder registered as video1 [ 14.053410] snvs_rtc 20cc000.snvs:snvs-rtc-lp: registered as rtc0 [ 14.442395] imx-sdma 20ec000.sdma: loaded firmware 3.5 [ 14.830136] caam 2100000.caam: Entropy delay = 3200 [ 14.830173] caam 2100000.caam: Instantiated RNG4 SH0 [ 14.890938] caam 2100000.caam: Instantiated RNG4 SH1 [ 14.890950] caam 2100000.caam: device ID = 0x0a16010000000100 (Era 4) [ 14.890957] caam 2100000.caam: job rings = 2, qi = 0 [ 15.127974] imx-spdif sound-spdif: ASoC: failed to init link S/PDIF PCM: -517 [ 15.202700] pps pps0: new PPS source ptp0 [ 15.269553] imx-spdif sound-spdif: ASoC: failed to init link S/PDIF PCM: -517 [ 15.282585] libphy: fec_enet_mii_bus: probed [ 15.283836] fec 2188000.ethernet eth0: registered PHC device 0 [ 15.288984] imx-spdif sound-spdif: ASoC: failed to init link S/PDIF PCM: -517 [ 15.641241] imx-spdif sound-spdif: ASoC: failed to init link S/PDIF PCM: -517 [ 15.674431] imx_usb 2184000.usb: No over current polarity defined [ 15.708213] imx6_media_csi: module is from the staging directory, the quality is unknown, you have been warned. [ 15.733302] imx6_media_csi: module is from the staging directory, the quality is unknown, you have been warned. [ 15.776328] ci_hdrc ci_hdrc.0: EHCI Host Controller [ 15.776672] ci_hdrc ci_hdrc.0: new USB bus registered, assigned bus number 1 [ 15.787104] ci_hdrc ci_hdrc.0: USB 2.0 started, EHCI 1.00 [ 15.787487] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.04 [ 15.787497] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 15.787504] usb usb1: Product: EHCI Host Controller [ 15.787511] usb usb1: Manufacturer: Linux 5.4.0-0.rc3.git0.1.fc31.armv7hl ehci_hcd [ 15.787517] usb usb1: SerialNumber: ci_hdrc.0 [ 15.794403] hub 1-0:1.0: USB hub found [ 15.802298] hub 1-0:1.0: 1 port detected [ 15.806153] imx-spdif sound-spdif: ASoC: failed to init link S/PDIF PCM: -517 [ 15.824568] imx_usb 2184200.usb: No over current polarity defined [ 15.834093] imx-spdif sound-spdif: ASoC: failed to init link S/PDIF PCM: -517 [ 15.918185] ipu1_csi0: Registered ipu1_csi0 capture as /dev/video2 [ 15.922178] ipu1_ic_prpenc: Registered ipu1_ic_prpenc capture as /dev/video3 [ 15.922521] ipu1_ic_prpvf: Registered ipu1_ic_prpvf capture as /dev/video4 [ 15.922562] imx-media: ipu1_csi0:1 -> ipu1_ic_prp:0 [ 15.922571] imx-media: ipu1_csi0:1 -> ipu1_vdic:0 [ 15.922578] imx-media: ipu1_vdic:2 -> ipu1_ic_prp:0 [ 15.922584] imx-media: ipu1_ic_prp:1 -> ipu1_ic_prpenc:0 [ 15.922590] imx-media: ipu1_ic_prp:2 -> ipu1_ic_prpvf:0 [ 15.922597] imx-media: subdev ipu1_csi0 bound [ 15.923619] imx-spdif sound-spdif: ASoC: failed to init link S/PDIF PCM: -517 [ 15.941248] ipu1_csi1: Registered ipu1_csi1 capture as /dev/video5 [ 15.941265] imx-media: ipu1_csi1:1 -> ipu1_ic_prp:0 [ 15.941272] imx-media: ipu1_csi1:1 -> ipu1_vdic:0 [ 15.941283] imx-media: subdev ipu1_csi1 bound [ 15.941313] imx-media: ipu1_csi0_mux:5 -> ipu1_csi0:0 [ 15.941372] imx-media: ipu1_csi1_mux:5 -> ipu1_csi1:0 [ 15.953108] ci_hdrc ci_hdrc.1: EHCI Host Controller [ 15.953441] ci_hdrc ci_hdrc.1: new USB bus registered, assigned bus number 2 [ 16.008118] ci_hdrc ci_hdrc.1: USB 2.0 started, EHCI 1.00 [ 16.010745] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.04 [ 16.010757] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 16.010765] usb usb2: Product: EHCI Host Controller [ 16.010771] usb usb2: Manufacturer: Linux 5.4.0-0.rc3.git0.1.fc31.armv7hl ehci_hcd [ 16.010777] usb usb2: SerialNumber: ci_hdrc.1 [ 16.014865] imx-media: Registered ipu_ic_pp csc/scaler as /dev/video6 [ 16.015948] imx-spdif sound-spdif: ASoC: failed to init link S/PDIF PCM: -517 [ 16.027307] hub 2-0:1.0: USB hub found [ 16.030106] hub 2-0:1.0: 1 port detected [ 16.040067] imx-spdif sound-spdif: ASoC: failed to init link S/PDIF PCM: -517 [ 16.074193] imx-spdif sound-spdif: ASoC: failed to init link S/PDIF PCM: -517 [ 16.124110] usb 1-1: new low-speed USB device number 2 using ci_hdrc [ 16.137283] usb_phy_generic usbphynop1: usbphynop1 supply vcc not found, using dummy regulator [ 16.203534] EXT4-fs (mmcblk1p2): mounted filesystem with ordered data mode. Opts: (null) [ 16.210154] Mounted ext4 file system at /mnt/boot supports timestamps until 2038 (0x7fffffff) [ 16.262592] usb 1-1: New USB device found, idVendor=046d, idProduct=c31c, bcdDevice=64.00 [ 16.262607] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0 [ 16.262615] usb 1-1: Product: USB Keyboard [ 16.262621] usb 1-1: Manufacturer: Logitech [ 16.276682] input: Logitech USB Keyboard as /devices/soc0/soc/2100000.aips-bus/2184000.usb/ci_hdrc.0/usb1/1-1/1-1:1.0/0003:046D:C31C.0001/input/input3 [ 16.287342] imx-spdif sound-spdif: ASoC: failed to init link S/PDIF PCM: -517 [ 16.297291] usb_phy_generic usbphynop2: usbphynop2 supply vcc not found, using dummy regulator [ 16.329316] hid-generic 0003:046D:C31C.0001: input,hidraw0: USB HID v1.10 Keyboard [Logitech USB Keyboard] on usb-ci_hdrc.0-1/input0 [ 16.330573] imx-spdif sound-spdif: ASoC: failed to init link S/PDIF PCM: -517 [ 16.347291] input: Logitech USB Keyboard Consumer Control as /devices/soc0/soc/2100000.aips-bus/2184000.usb/ci_hdrc.0/usb1/1-1/1-1:1.1/0003:046D:C31C.0002/input/input4 [ 16.364105] usb 2-1: new low-speed USB device number 2 using ci_hdrc [ 16.399543] input: Logitech USB Keyboard System Control as /devices/soc0/soc/2100000.aips-bus/2184000.usb/ci_hdrc.0/usb1/1-1/1-1:1.1/0003:046D:C31C.0002/input/input5 [ 16.399952] hid-generic 0003:046D:C31C.0002: input,hidraw1: USB HID v1.10 Device [Logitech USB Keyboard] on usb-ci_hdrc.0-1/input1 [ 16.402968] imx-spdif sound-spdif: ASoC: failed to init link S/PDIF PCM: -517 [ 16.503671] imx-spdif sound-spdif: ASoC: failed to init link S/PDIF PCM: -517 [ 16.522053] usb 2-1: New USB device found, idVendor=03f0, idProduct=0941, bcdDevice= 1.00 [ 16.522067] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0 [ 16.522074] usb 2-1: Product: HP X500 USB Optical Mouse [ 16.522080] usb 2-1: Manufacturer: PixArt [ 16.546688] input: PixArt HP X500 USB Optical Mouse as /devices/soc0/soc/2100000.aips-bus/2184200.usb/ci_hdrc.1/usb2/2-1/2-1:1.0/0003:03F0:0941.0003/input/input6 [ 16.548518] hid-generic 0003:03F0:0941.0003: input,hidraw2: USB HID v1.11 Mouse [PixArt HP X500 USB Optical Mouse] on usb-ci_hdrc.1-1/input0 [ 16.553971] imx-spdif sound-spdif: ASoC: failed to init link S/PDIF PCM: -517 [ 17.011120] imx-spdif sound-spdif: snd-soc-dummy-dai <-> 2004000.spdif mapping ok [ 17.011140] imx-spdif sound-spdif: ASoC: no DMI vendor name! [ 32.324109] alg: No test for authenc(hmac(sha224),ecb(cipher_null)) (authenc-hmac-sha224-ecb-cipher_null-caam) [ 32.370271] alg: No test for authenc(hmac(sha256),ecb(cipher_null)) (authenc-hmac-sha256-ecb-cipher_null-caam) [ 32.416619] alg: No test for authenc(hmac(md5),cbc(aes)) (authenc-hmac-md5-cbc-aes-caam) [ 32.465664] alg: No test for echainiv(authenc(hmac(md5),cbc(aes))) (echainiv-authenc-hmac-md5-cbc-aes-caam) [ 33.363069] alg: No test for echainiv(authenc(hmac(sha1),cbc(aes))) (echainiv-authenc-hmac-sha1-cbc-aes-caam) [ 33.408804] alg: No test for authenc(hmac(sha224),cbc(aes)) (authenc-hmac-sha224-cbc-aes-caam) [ 33.461809] alg: No test for echainiv(authenc(hmac(sha224),cbc(aes))) (echainiv-authenc-hmac-sha224-cbc-aes-caam) [ 33.762764] brcm_reg: disabling [ 34.348742] alg: No test for echainiv(authenc(hmac(sha256),cbc(aes))) (echainiv-authenc-hmac-sha256-cbc-aes-caam) [ 34.386712] alg: No test for authenc(hmac(md5),cbc(des3_ede)) (authenc-hmac-md5-cbc-des3_ede-caam) [ 34.421735] alg: No test for echainiv(authenc(hmac(md5),cbc(des3_ede))) (echainiv-authenc-hmac-md5-cbc-des3_ede-caam) [ 34.615145] alg: No test for echainiv(authenc(hmac(sha1),cbc(des3_ede))) (echainiv-authenc-hmac-sha1-cbc-des3_ede-caam) [ 34.825045] alg: No test for echainiv(authenc(hmac(sha224),cbc(des3_ede))) (echainiv-authenc-hmac-sha224-cbc-des3_ede-caam) [ 35.025706] alg: No test for echainiv(authenc(hmac(sha256),cbc(des3_ede))) (echainiv-authenc-hmac-sha256-cbc-des3_ede-caam) [ 35.059659] alg: No test for authenc(hmac(md5),cbc(des)) (authenc-hmac-md5-cbc-des-caam) [ 35.096287] alg: No test for echainiv(authenc(hmac(md5),cbc(des))) (echainiv-authenc-hmac-md5-cbc-des-caam) [ 35.278316] alg: No test for echainiv(authenc(hmac(sha1),cbc(des))) (echainiv-authenc-hmac-sha1-cbc-des-caam) [ 35.465661] alg: No test for echainiv(authenc(hmac(sha224),cbc(des))) (echainiv-authenc-hmac-sha224-cbc-des-caam) [ 35.669643] alg: No test for echainiv(authenc(hmac(sha256),cbc(des))) (echainiv-authenc-hmac-sha256-cbc-des-caam) [ 35.717774] alg: No test for authenc(hmac(md5),rfc3686(ctr(aes))) (authenc-hmac-md5-rfc3686-ctr-aes-caam) [ 35.762953] alg: No test for seqiv(authenc(hmac(md5),rfc3686(ctr(aes)))) (seqiv-authenc-hmac-md5-rfc3686-ctr-aes-caam) [ 35.861684] alg: No test for seqiv(authenc(hmac(sha1),rfc3686(ctr(aes)))) (seqiv-authenc-hmac-sha1-rfc3686-ctr-aes-caam) [ 35.914720] alg: No test for authenc(hmac(sha224),rfc3686(ctr(aes))) (authenc-hmac-sha224-rfc3686-ctr-aes-caam) [ 35.962914] alg: No test for seqiv(authenc(hmac(sha224),rfc3686(ctr(aes)))) (seqiv-authenc-hmac-sha224-rfc3686-ctr-aes-caam) [ 36.054889] alg: No test for seqiv(authenc(hmac(sha256),rfc3686(ctr(aes)))) (seqiv-authenc-hmac-sha256-rfc3686-ctr-aes-caam) [ 36.099664] caam algorithms registered in /proc/crypto [ 41.579331] caam_jr 2101000.jr0: registering rng-caam [ 42.154351] Atheros 8035 ethernet 2188000.ethernet-1:00: attached PHY driver [Atheros 8035 ethernet] (mii_bus:phy_addr=2188000.ethernet-1:00, irq=POLL) [ 44.192396] fec 2188000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx [ 44.192436] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready [ 55.266004] rc rc1: two consecutive events of type space [lxqt@trial ~]$
Superkoning Posted April 6, 2020 Author Posted April 6, 2020 I would prefer Ubuntu, so https://dl.armbian.com/cubox-i/Bionic_current_desktop which links to https://dl.armbian.com/cubox-i/archive/Armbian_20.02.7_Cubox-i_bionic_current_5.4.28_desktop.7z $ ll Bionic_current_desktop -rw-rw-r-- 1 sander sander 661128023 Mär 28 18:21 Bionic_current_desktop $ file Bionic_current_desktop Bionic_current_desktop: 7-zip archive data, version 0.4 $ ll Bionic_current_desktop -rw-rw-r-- 1 sander sander 661128023 Mär 28 18:21 Bionic_current_desktop $ sha256sum Bionic_current_desktop 0b00ac659cda20516158180ba3d375850afe9b6c2b14bc83bcd9e174b2ca2e6e Bionic_current_desktop
Superkoning Posted April 6, 2020 Author Posted April 6, 2020 (Again: still on Fedora, which works) Hmmm, is this interesting? [ 3.494048] Hardware name: Freescale i.MX6 Quad/DualLite (Device Tree) [ 3.500678] [<c031127c>] (unwind_backtrace) from [<c030b744>] (show_stack+0x18/0x1c) [ 3.508524] [<c030b744>] (show_stack) from [<c0b85974>] (dump_stack+0xa8/0xc4) [ 3.515842] [<c0b85974>] (dump_stack) from [<c034d59c>] (__warn+0xdc/0xf8) [ 3.522807] [<c034d59c>] (__warn) from [<c034d94c>] (warn_slowpath_fmt+0x70/0x84) [ 3.530384] [<c034d94c>] (warn_slowpath_fmt) from [<c03197a8>] (note_page+0x160/0x324) [ 3.538399] [<c03197a8>] (note_page) from [<c0319a34>] (walk_pgd+0xc8/0xe0) [ 3.545448] [<c0319a34>] (walk_pgd) from [<c0319b10>] (ptdump_check_wx+0x58/0xac) [ 3.553030] [<c0319b10>] (ptdump_check_wx) from [<c0b99bd0>] (kernel_init+0x34/0x11c) [ 3.560960] [<c0b99bd0>] (kernel_init) from [<c03010e8>] (ret_from_fork+0x14/0x2c) [ 3.568618] Exception stack(0xcf513fb0 to 0xcf513ff8) [ 3.573733] 3fa0: 00000000 00000000 00000000 00000000 [ 3.582006] 3fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 3.590278] 3fe0: 00000000 00000000 00000000 00000000 00000013 00000000 [ 3.597065] ---[ end trace 8433cd0617ef4a53 ]--- So dmesg says "Device Tree", and then a backtrace / traceback ... ?
usual user Posted April 6, 2020 Posted April 6, 2020 OK, Armbian_20.02.7_Cubox-i_bionic_current_5.4.28_desktop.7z downloaded and played a little with it on my quadcore cubox-i. It is working for me like as for igor. As logging is suppressed as much as possible let's try to increase it in a next step. To do this create in the boot directory a new directory named "extlinux" and copy the attached extlinux.conf file in. Boot the image and report the logging. 59 minutes ago, Superkoning said: dmesg says "Device Tree", and then a backtrace / traceback ... ? This is a "WARNING: CPU: 0 PID: 1 at arch/arm/mm/dump.c:248 note_page+0x160/0x324 arm/mm: Found insecure W+X mapping at address 0xe0839000". I also get it since some time with recent kernels but was to lazy to track it down and it seem to do no harm. extlinux.conf
Superkoning Posted April 7, 2020 Author Posted April 7, 2020 Summary: with your extlinux.conf added, I can boot Armbian Ubuntu deskop on my Cubox! Steps taken: Base / Recheck: Download the standard Armbian Ubuntu image Armbian_20.02.7_Cubox-i_bionic_current_5.4.28_desktop.7z, unpack, write to SD card, do NOT add the extlinux.conf, boot it... same behaviour: only the first splash screen, then nothing. So that confirms earlier behavior & my original post. SD card back into my (Ubuntu) laptop, and copy the file: sander@witte2004:~$ cd /media/sander/d0456b88-9549-4375-b5ce-5fdaa9d79e04 sander@witte2004:/media/sander/d0456b88-9549-4375-b5ce-5fdaa9d79e04$ ll total 100 drwxr-xr-x 22 root root 4096 mrt 28 18:02 ./ drwxr-x---+ 3 root root 4096 apr 7 14:08 ../ drwxr-xr-x 2 root root 4096 mrt 9 20:17 bin/ drwxr-xr-x 3 root root 4096 mrt 28 18:19 boot/ drwxr-xr-x 2 root root 4096 mrt 28 18:02 dev/ drwxr-xr-x 118 root root 4096 mrt 28 18:15 etc/ drwxr-xr-x 2 root root 4096 apr 24 2018 home/ drwxr-xr-x 17 root root 4096 mrt 28 18:02 lib/ drwx------ 2 root root 16384 mrt 28 18:15 lost+found/ drwxr-xr-x 2 root root 4096 mrt 9 19:54 media/ drwxr-xr-x 2 root root 4096 mrt 9 19:54 mnt/ drwxr-xr-x 2 root root 4096 mrt 9 19:54 opt/ drwxr-xr-x 2 root root 4096 apr 24 2018 proc/ drwx------ 2 root root 4096 mrt 28 18:13 root/ drwxr-xr-x 3 root root 4096 mrt 28 18:18 run/ drwxr-xr-x 2 root root 4096 mrt 28 18:14 sbin/ drwxrwxr-x 2 root root 4096 mrt 28 18:02 selinux/ drwxr-xr-x 2 root root 4096 mrt 9 19:54 srv/ drwxr-xr-x 2 root root 4096 apr 24 2018 sys/ drwxrwxrwt 2 root root 4096 mrt 28 18:14 tmp/ drwxr-xr-x 10 root root 4096 mrt 9 19:55 usr/ drwxr-xr-x 11 root root 4096 mrt 9 19:55 var/ sander@witte2004:/media/sander/d0456b88-9549-4375-b5ce-5fdaa9d79e04$ cd boot/ sander@witte2004:/media/sander/d0456b88-9549-4375-b5ce-5fdaa9d79e04/boot$ mkdir extlinux mkdir: cannot create directory ‘extlinux’: Permission denied sander@witte2004:/media/sander/d0456b88-9549-4375-b5ce-5fdaa9d79e04/boot$ sudo mkdir extlinux [sudo] password for sander: sander@witte2004:/media/sander/d0456b88-9549-4375-b5ce-5fdaa9d79e04/boot$ cd extlinux/ sander@witte2004:/media/sander/d0456b88-9549-4375-b5ce-5fdaa9d79e04/boot/extlinux$ ll ~/Downloads/extlinux.conf -rw-r--r-- 1 sander sander 810 apr 7 14:08 /home/sander/Downloads/extlinux.conf sander@witte2004:/media/sander/d0456b88-9549-4375-b5ce-5fdaa9d79e04/boot/extlinux$ cp ~/Downloads/extlinux.conf . cp: cannot create regular file './extlinux.conf': Permission denied sander@witte2004:/media/sander/d0456b88-9549-4375-b5ce-5fdaa9d79e04/boot/extlinux$ sudo cp ~/Downloads/extlinux.conf . sander@witte2004:/media/sander/d0456b88-9549-4375-b5ce-5fdaa9d79e04/boot/extlinux$ ll total 12 drwxr-xr-x 2 root root 4096 apr 7 14:09 ./ drwxr-xr-x 4 root root 4096 apr 7 14:09 ../ -rw-r--r-- 1 root root 810 apr 7 14:09 extlinux.conf sander@witte2004:/media/sander/d0456b88-9549-4375-b5ce-5fdaa9d79e04/boot/extlinux$ Afther that: SD card back into the Cubox, turn on Cubox, splash screen with some extra lines .... black screen ... no signal ... wait ... hey ... more text and a login prompt!!! Login with root/1234, change password, add user, ... X screen! Remote ssh session ... works too! sander@192.168.1.2's password: ____ _ _ ____ __ __ ___ _ _ / ___| _| |__ _____ __ (_)___ \ ___\ \/ / / (_) || | | | | | | | '_ \ / _ \ \/ / | | __) / _ \\ / / /| | || |_ | |__| |_| | |_) | (_) > < | |/ __/ __// \ / / | |__ _| \____\__,_|_.__/ \___/_/\_\ |_|_____\___/_/\_\/_/ |_| |_| Welcome to Armbian Bionic with Linux 5.4.28-imx6 System load: 2.40 1.46 0.65 Up time: 5 min Memory usage: 41 % of 490MB IP: 192.168.1.2 CPU temp: 52°C Usage of /: 65% of 3.4G sander@cubox-i:~$ In case you need the dmesg: sander@cubox-i:~$ dmesg [ 0.000000] Booting Linux on physical CPU 0x0 [ 0.000000] Linux version 5.4.28-imx6 (root@builder) (gcc version 8.3.0 (GNU Toolchain for the A-profile Architecture 8.3-2019.03 (arm-rel-8.36))) #20.02.7 SMP Sat Mar 28 16:20:25 CET 2020 [ 0.000000] CPU: ARMv7 Processor [412fc09a] revision 10 (ARMv7), cr=10c5387d [ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache [ 0.000000] OF: fdt: Machine model: SolidRun Cubox-i Solo/DualLite [ 0.000000] Memory policy: Data cache writeback [ 0.000000] efi: Getting EFI parameters from FDT: [ 0.000000] efi: UEFI not found. [ 0.000000] cma: Reserved 256 MiB at 0x20000000 [ 0.000000] On node 0 totalpages: 131072 [ 0.000000] Normal zone: 1152 pages used for memmap [ 0.000000] Normal zone: 0 pages reserved [ 0.000000] Normal zone: 131072 pages, LIFO batch:31 [ 0.000000] CPU: All CPU(s) started in SVC mode. [ 0.000000] percpu: Embedded 19 pages/cpu s45772 r8192 d23860 u77824 [ 0.000000] pcpu-alloc: s45772 r8192 d23860 u77824 alloc=19*4096 [ 0.000000] pcpu-alloc: [0] 0 [0] 1 [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 129920 [ 0.000000] Kernel command line: loglevel=7 coherent_pool=2M cma=256M console=ttymxc0,115200n8 console=tty1 rootwait rootfstype=ext4 root=PARTUUID=4461ca21-01 fbcon=nodefer rd.dm=0 rd.luks=0 rd.lvm=0 raid=noautodetect [ 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: 218856K/524288K available (8563K kernel code, 1394K rwdata, 4792K rodata, 2048K init, 513K bss, 43288K reserved, 262144K cma-reserved, 0K highmem) [ 0.000000] random: get_random_u32 called from __kmem_cache_create+0x2c/0x418 with crng_init=0 [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1 [ 0.000000] ftrace: allocating 41219 entries in 81 pages [ 0.000000] rcu: Hierarchical RCU implementation. [ 0.000000] rcu: RCU restricting CPUs from NR_CPUS=32 to nr_cpu_ids=2. [ 0.000000] Tasks RCU enabled. [ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 100 jiffies. [ 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 physical location is 0xa01000 [ 0.000000] L2C-310 erratum 769419 enabled [ 0.000000] L2C-310 enabling early BRESP for Cortex-A9 [ 0.000000] L2C-310 full line of zeros enabled for Cortex-A9 [ 0.000000] L2C-310 ID prefetch enabled, offset 16 lines [ 0.000000] L2C-310 dynamic clock gating enabled, standby mode enabled [ 0.000000] L2C-310 cache controller enabled, 16 ways, 512 kB [ 0.000000] L2C-310: CACHE_ID 0x410000c8, AUX_CTRL 0x76450001 [ 0.000000] Switching to timer-based delay loop, resolution 333ns [ 0.000008] sched_clock: 32 bits at 3000kHz, resolution 333ns, wraps every 715827882841ns [ 0.000030] clocksource: mxc_timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 637086815595 ns [ 0.003245] Console: colour dummy device 80x30 [ 0.003716] printk: console [tty1] enabled [ 0.003799] Calibrating delay loop (skipped), value calculated using timer frequency.. 6.00 BogoMIPS (lpj=3000) [ 0.003836] pid_max: default: 32768 minimum: 301 [ 0.004215] LSM: Security Framework initializing [ 0.004368] Yama: becoming mindful. [ 0.004440] SELinux: Initializing. [ 0.004590] *** VALIDATE SELinux *** [ 0.004708] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear) [ 0.004745] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear) [ 0.004904] *** VALIDATE tmpfs *** [ 0.005866] *** VALIDATE proc *** [ 0.006311] *** VALIDATE cgroup1 *** [ 0.006343] *** VALIDATE cgroup2 *** [ 0.006452] CPU: Testing write buffer coherency: ok [ 0.006511] CPU0: Spectre v2: using BPIALL workaround [ 0.007011] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000 [ 0.008249] Setting up static identity map for 0x10300000 - 0x103000ac [ 0.010341] rcu: Hierarchical SRCU implementation. [ 0.015915] EFI services will not be available. [ 0.016593] smp: Bringing up secondary CPUs ... [ 0.017654] smp: Brought up 1 node, 1 CPU [ 0.017683] SMP: Total of 1 processors activated (6.00 BogoMIPS). [ 0.017704] CPU: All CPU(s) started in SVC mode. [ 0.018631] devtmpfs: initialized [ 0.031519] VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4 [ 0.032326] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1911260446275000 ns [ 0.032377] futex hash table entries: 512 (order: 3, 32768 bytes, linear) [ 0.045871] pinctrl core: initialized pinctrl subsystem [ 0.048210] DMI not present or invalid. [ 0.049028] NET: Registered protocol family 16 [ 0.058510] DMA: preallocated 2048 KiB pool for atomic coherent allocations [ 0.059319] audit: initializing netlink subsys (disabled) [ 0.061551] cpuidle: using governor menu [ 0.062269] CPU identified as i.MX6DL, silicon rev 1.1 [ 0.063172] audit: type=2000 audit(0.057:1): state=initialized audit_enabled=0 res=1 [ 0.090067] No ATAGs? [ 0.090177] hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint registers. [ 0.090223] hw-breakpoint: maximum watchpoint size is 4 bytes. [ 0.093275] imx6dl-pinctrl 20e0000.iomuxc: initialized IMX pinctrl driver [ 0.095717] Serial: AMBA PL011 UART driver [ 2.004951] cryptd: max_cpu_qlen set to 1000 [ 2.024482] alg: No test for 842 (842-generic) [ 2.025070] alg: No test for 842 (842-scomp) [ 2.079204] v_usb2: supplied by v_5v0 [ 2.079573] vcc_3v3: supplied by v_5v0 [ 2.079951] v_usb1: supplied by v_5v0 [ 2.083474] iommu: Default domain type: Translated [ 2.084864] vgaarb: loaded [ 2.086064] SCSI subsystem initialized [ 2.086511] libata version 3.00 loaded. [ 2.086879] usbcore: registered new interface driver usbfs [ 2.086990] usbcore: registered new interface driver hub [ 2.087224] usbcore: registered new device driver usb [ 2.088147] pps_core: LinuxPPS API ver. 1 registered [ 2.088177] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it> [ 2.088227] PTP clock support registered [ 2.088652] EDAC MC: Ver: 3.0.0 [ 2.091680] NetLabel: Initializing [ 2.091709] NetLabel: domain hash size = 128 [ 2.091726] NetLabel: protocols = UNLABELED CIPSOv4 CALIPSO [ 2.091831] NetLabel: unlabeled traffic allowed by default [ 2.092704] clocksource: Switched to clocksource mxc_timer1 [ 2.225878] *** VALIDATE bpf *** [ 2.226332] VFS: Disk quotas dquot_6.6.0 [ 2.226467] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes) [ 2.226606] *** VALIDATE ramfs *** [ 2.242003] thermal_sys: Registered thermal governor 'fair_share' [ 2.242009] thermal_sys: Registered thermal governor 'step_wise' [ 2.242046] thermal_sys: Registered thermal governor 'user_space' [ 2.242809] NET: Registered protocol family 2 [ 2.243912] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear) [ 2.243990] TCP established hash table entries: 4096 (order: 2, 16384 bytes, linear) [ 2.244066] TCP bind hash table entries: 4096 (order: 3, 32768 bytes, linear) [ 2.244154] TCP: Hash tables configured (established 4096 bind 4096) [ 2.244338] UDP hash table entries: 256 (order: 1, 8192 bytes, linear) [ 2.244391] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear) [ 2.244887] NET: Registered protocol family 1 [ 2.244944] NET: Registered protocol family 44 [ 2.244972] PCI: CLS 0 bytes, default 64 [ 2.245641] Trying to unpack rootfs image as initramfs... [ 4.080205] Freeing initrd memory: 19156K [ 4.081069] hw perfevents: no interrupt-affinity property for /pmu, guessing. [ 4.081291] hw perfevents: enabled with armv7_cortex_a9 PMU driver, 7 counters available [ 4.187301] Initialise system trusted keyrings [ 4.187395] Key type blacklist registered [ 4.187862] workingset: timestamp_bits=14 max_order=17 bucket_order=3 [ 4.200021] zbud: loaded [ 4.252338] NET: Registered protocol family 38 [ 4.252382] Key type asymmetric registered [ 4.252400] Asymmetric key parser 'x509' registered [ 4.252493] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 244) [ 4.252903] io scheduler mq-deadline registered [ 4.252933] io scheduler kyber registered [ 4.253209] io scheduler bfq registered [ 4.253578] atomic64_test: passed [ 4.277929] Serial: 8250/16550 driver, 32 ports, IRQ sharing enabled [ 4.294439] Serial: AMBA driver [ 4.295516] 2020000.serial: ttymxc0 at MMIO 0x2020000 (irq = 26, base_baud = 5000000) is a IMX [ 5.057146] printk: console [ttymxc0] enabled [ 5.062936] 21f0000.serial: ttymxc3 at MMIO 0x21f0000 (irq = 66, base_baud = 5000000) is a IMX [ 5.073314] msm_serial: driver initialized [ 5.077484] STMicroelectronics ASC driver initialized [ 5.084012] STM32 USART driver initialized [ 5.093933] libphy: Fixed MDIO Bus: probed [ 5.098884] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 5.105502] ehci-pci: EHCI PCI platform driver [ 5.110079] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver [ 5.116509] usbcore: registered new interface driver usb-storage [ 5.122744] usbcore: registered new interface driver usbserial_generic [ 5.129368] usbserial: USB Serial support registered for generic [ 5.135780] mousedev: PS/2 mouse device common for all mice [ 5.146600] device-mapper: uevent: version 1.0.3 [ 5.151899] device-mapper: ioctl: 4.41.0-ioctl (2019-09-16) initialised: dm-devel@redhat.com [ 5.163054] ledtrig-cpu: registered to indicate activity on CPUs [ 5.170198] hidraw: raw HID events driver (C) Jiri Kosina [ 5.176024] usbcore: registered new interface driver usbhid [ 5.181664] usbhid: USB HID core driver [ 5.187616] drop_monitor: Initializing network drop monitor service [ 5.194294] Initializing XFRM netlink socket [ 5.199599] NET: Registered protocol family 10 [ 5.256648] Segment Routing with IPv6 [ 5.260578] mip6: Mobile IPv6 [ 5.263659] NET: Registered protocol family 17 [ 5.269854] ThumbEE CPU extension supported. [ 5.274247] Registering SWP/SWPB emulation handler [ 5.452948] registered taskstats version 1 [ 5.457227] Loading compiled-in X.509 certificates [ 5.911619] Loaded X.509 cert 'Build time autogenerated kernel key: 5a35c1f2ad25163b6eb99db1323c21e281faec0a' [ 5.921882] zswap: loaded using pool lzo/zbud [ 5.927257] Key type ._fscrypt registered [ 5.931377] Key type .fscrypt registered [ 5.966207] Key type big_key registered [ 5.994958] Key type encrypted registered [ 5.999154] ima: No TPM chip found, activating TPM-bypass! [ 6.004838] ima: Allocated hash algorithm: sha256 [ 6.009779] ima: No architecture policies found [ 6.054832] hctosys: unable to open rtc device (rtc0) [ 6.078059] Freeing unused kernel memory: 2048K [ 6.087219] ------------[ cut here ]------------ [ 6.091936] WARNING: CPU: 0 PID: 1 at arch/arm/mm/dump.c:249 note_page+0x158/0x324 [ 6.099577] arm/mm: Found insecure W+X mapping at address 0xe0839000 [ 6.105981] Modules linked in: [ 6.109093] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 5.4.28-imx6 #20.02.7 [ 6.115994] Hardware name: Freescale i.MX6 Quad/DualLite (Device Tree) [ 6.122572] [<c03112ac>] (unwind_backtrace) from [<c030b784>] (show_stack+0x18/0x1c) [ 6.130355] [<c030b784>] (show_stack) from [<c0b428a8>] (dump_stack+0xb4/0xd4) [ 6.137614] [<c0b428a8>] (dump_stack) from [<c034d798>] (__warn+0xd4/0xf0) [ 6.144522] [<c034d798>] (__warn) from [<c034db48>] (warn_slowpath_fmt+0x70/0x84) [ 6.152039] [<c034db48>] (warn_slowpath_fmt) from [<c031986c>] (note_page+0x158/0x324) [ 6.159990] [<c031986c>] (note_page) from [<c0319b04>] (walk_pgd+0xcc/0xe0) [ 6.166977] [<c0319b04>] (walk_pgd) from [<c0319bdc>] (ptdump_check_wx+0x58/0xac) [ 6.174491] [<c0319bdc>] (ptdump_check_wx) from [<c0b56a1c>] (kernel_init+0x34/0x130) [ 6.182351] [<c0b56a1c>] (kernel_init) from [<c03010e8>] (ret_from_fork+0x14/0x2c) [ 6.189945] Exception stack(0xcf519fb0 to 0xcf519ff8) [ 6.195019] 9fa0: 00000000 00000000 00000000 00000000 [ 6.203225] 9fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 6.211427] 9fe0: 00000000 00000000 00000000 00000000 00000013 00000000 [ 6.218102] ---[ end trace 25f2666269521972 ]--- [ 6.223009] Checked W+X mappings: FAILED, 1 W+X pages found [ 6.228647] rodata_test: all tests were successful [ 6.233492] Run /init as init process [ 8.338584] vdd1p1: supplied by regulator-dummy [ 8.390060] vdd3p0: supplied by regulator-dummy [ 8.422041] vdd2p5: supplied by regulator-dummy [ 8.456994] vddarm: supplied by regulator-dummy [ 8.471900] snvs_rtc 20cc000.snvs:snvs-rtc-lp: registered as rtc0 [ 8.495998] vddpu: supplied by regulator-dummy [ 8.531023] vddsoc: supplied by regulator-dummy [ 8.759877] sdhci: Secure Digital Host Controller Interface driver [ 8.766188] sdhci: Copyright(c) Pierre Ossman [ 8.771863] pps pps0: new PPS source ptp0 [ 8.780233] i2c i2c-1: IMX I2C adapter registered [ 8.841028] i2c i2c-2: IMX I2C adapter registered [ 8.886496] libphy: fec_enet_mii_bus: probed [ 8.940158] fec 2188000.ethernet eth0: registered PHC device 0 [ 9.003503] sdhci-pltfm: SDHCI platform and OF driver helper [ 9.011765] usb_phy_generic usbphynop1: usbphynop1 supply vcc not found, using dummy regulator [ 9.119318] usb_phy_generic usbphynop2: usbphynop2 supply vcc not found, using dummy regulator [ 9.138524] sdhci-esdhc-imx 2190000.usdhc: allocated mmc-pwrseq [ 9.234072] imx_usb 2184000.usb: No over current polarity defined [ 9.278959] ci_hdrc ci_hdrc.0: EHCI Host Controller [ 9.300895] ci_hdrc ci_hdrc.0: new USB bus registered, assigned bus number 1 [ 9.340839] ci_hdrc ci_hdrc.0: USB 2.0 started, EHCI 1.00 [ 9.358378] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.04 [ 9.366778] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 9.374075] usb usb1: Product: EHCI Host Controller [ 9.379010] usb usb1: Manufacturer: Linux 5.4.28-imx6 ehci_hcd [ 9.384901] usb usb1: SerialNumber: ci_hdrc.0 [ 9.458890] mmc0: SDHCI controller on 2190000.usdhc [2190000.usdhc] using ADMA [ 9.490680] sdhci-esdhc-imx 2194000.usdhc: Got CD GPIO [ 9.522499] hub 1-0:1.0: USB hub found [ 9.544919] hub 1-0:1.0: 1 port detected [ 9.549069] rtc-pcf8523 2-0068: failed to set xtal load capacitance: -6 [ 9.566202] imx_usb 2184200.usb: No over current polarity defined [ 9.581050] mmc1: SDHCI controller on 2194000.usdhc [2194000.usdhc] using ADMA [ 9.596273] ci_hdrc ci_hdrc.1: EHCI Host Controller [ 9.616607] ci_hdrc ci_hdrc.1: new USB bus registered, assigned bus number 2 [ 9.630759] ci_hdrc ci_hdrc.1: USB 2.0 started, EHCI 1.00 [ 9.636738] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.04 [ 9.645078] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 9.652362] usb usb2: Product: EHCI Host Controller [ 9.657299] usb usb2: Manufacturer: Linux 5.4.28-imx6 ehci_hcd [ 9.663186] usb usb2: SerialNumber: ci_hdrc.1 [ 9.671899] hub 2-0:1.0: USB hub found [ 9.675947] hub 2-0:1.0: 1 port detected [ 9.680121] mmc1: host does not support reading read-only switch, assuming write-enable [ 9.708815] mmc1: new high speed SDHC card at address aaaa [ 9.777497] mmcblk1: mmc1:aaaa SU04G 3.69 GiB [ 9.807299] mmcblk1: p1 [ 9.884773] usb 1-1: new low-speed USB device number 2 using ci_hdrc [ 9.898777] random: fast init done [ 10.016804] usb 2-1: new low-speed USB device number 2 using ci_hdrc [ 10.033330] usb 1-1: New USB device found, idVendor=046d, idProduct=c31c, bcdDevice=64.00 [ 10.041636] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0 [ 10.048860] usb 1-1: Product: USB Keyboard [ 10.053016] usb 1-1: Manufacturer: Logitech [ 10.103436] input: Logitech USB Keyboard as /devices/soc0/soc/2100000.aips-bus/2184000.usb/ci_hdrc.0/usb1/1-1/1-1:1.0/0003:046D:C31C.0001/input/input0 [ 10.188394] hid-generic 0003:046D:C31C.0001: input,hidraw0: USB HID v1.10 Keyboard [Logitech USB Keyboard] on usb-ci_hdrc.0-1/input0 [ 10.207497] usb 2-1: New USB device found, idVendor=03f0, idProduct=0941, bcdDevice= 1.00 [ 10.215807] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0 [ 10.223025] usb 2-1: Product: HP X500 USB Optical Mouse [ 10.228312] usb 2-1: Manufacturer: PixArt [ 10.248660] raid6: using algorithm neonx8 gen() 0 MB/s [ 10.253992] raid6: .... xor() 0 MB/s, rmw enabled [ 10.258774] raid6: using neon recovery algorithm [ 10.272961] input: Logitech USB Keyboard Consumer Control as /devices/soc0/soc/2100000.aips-bus/2184000.usb/ci_hdrc.0/usb1/1-1/1-1:1.1/0003:046D:C31C.0002/input/input1 [ 10.333844] input: PixArt HP X500 USB Optical Mouse as /devices/soc0/soc/2100000.aips-bus/2184200.usb/ci_hdrc.1/usb2/2-1/2-1:1.0/0003:03F0:0941.0003/input/input3 [ 10.377368] input: Logitech USB Keyboard System Control as /devices/soc0/soc/2100000.aips-bus/2184000.usb/ci_hdrc.0/usb1/1-1/1-1:1.1/0003:046D:C31C.0002/input/input2 [ 10.393611] hid-generic 0003:03F0:0941.0003: input,hidraw1: USB HID v1.11 Mouse [PixArt HP X500 USB Optical Mouse] on usb-ci_hdrc.1-1/input0 [ 10.407776] xor: measuring software checksum speed [ 10.421704] arm4regs : 1188.000 MB/sec [ 10.435707] 8regs : 908.000 MB/sec [ 10.449701] 32regs : 956.000 MB/sec [ 10.463701] neon : 884.000 MB/sec [ 10.467931] xor: using function: arm4regs (1188.000 MB/sec) [ 10.490929] hid-generic 0003:046D:C31C.0002: input,hidraw2: USB HID v1.10 Device [Logitech USB Keyboard] on usb-ci_hdrc.0-1/input1 [ 10.728907] Btrfs loaded, crc32c=crc32c-generic [ 11.211838] EXT4-fs (mmcblk1p1): mounted filesystem with writeback data mode. Opts: (null) [ 12.138132] systemd[1]: System time before build time, advancing clock. [ 12.273542] systemd[1]: systemd 237 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD -IDN2 +IDN -PCRE2 default-hierarchy=hybrid) [ 12.295878] systemd[1]: Detected architecture arm. [ 12.325425] systemd[1]: Set hostname to <cubox-i>. [ 13.393983] random: systemd: uninitialized urandom read (16 bytes read) [ 13.400922] systemd[1]: Reached target System Time Synchronized. [ 13.409030] random: systemd: uninitialized urandom read (16 bytes read) [ 13.416943] systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point. [ 13.427155] random: systemd: uninitialized urandom read (16 bytes read) [ 13.433988] systemd[1]: Reached target Swap. [ 13.439006] systemd[1]: Reached target Remote File Systems. [ 13.445260] systemd[1]: Reached target User and Group Name Lookups. [ 13.452879] systemd[1]: Started Forward Password Requests to Wall Directory Watch. [ 13.463162] systemd[1]: Created slice User and Session Slice. [ 14.075820] EXT4-fs (mmcblk1p1): re-mounted. Opts: commit=600,errors=remount-ro [ 17.693134] zram: Added device: zram0 [ 17.696169] zram: Added device: zram1 [ 17.699201] zram: Added device: zram2 [ 17.969096] zram1: detected capacity change from 0 to 257130496 [ 18.229176] systemd[1]: Started Raise network interfaces. [ 19.101028] Adding 251100k swap on /dev/zram1. Priority:5 extents:1 across:251100k SSFS [ 19.692136] zram0: detected capacity change from 0 to 52428800 [ 20.152880] Registered IR keymap rc-empty [ 20.153024] rc rc0: gpio_ir_recv as /devices/soc0/ir-receiver/rc/rc0 [ 20.153887] rc rc0: lirc_dev: driver gpio_ir_recv registered at minor = 0, raw IR receiver, no transmitter [ 20.154096] input: gpio_ir_recv as /devices/soc0/ir-receiver/rc/rc0/input4 [ 20.182135] input: gpio-keys as /devices/soc0/gpio-keys/input/input5 [ 20.650145] mc: Linux media interface: v0.10 [ 20.898327] systemd[1]: Found device /dev/ttymxc0. [ 20.933168] videodev: Linux video capture interface: v2.00 [ 20.965962] etnaviv etnaviv: bound 130000.gpu (ops gpu_ops [etnaviv]) [ 20.970156] etnaviv etnaviv: bound 134000.gpu (ops gpu_ops [etnaviv]) [ 20.970174] etnaviv-gpu 130000.gpu: model: GC880, revision: 5106 [ 20.972039] etnaviv-gpu 134000.gpu: model: GC320, revision: 5007 [ 20.979935] [drm] Initialized etnaviv 1.3.0 20151214 for etnaviv on minor 0 [ 21.128184] imx-ipuv3 2400000.ipu: IPUv3H probed [ 21.269016] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013). [ 21.269023] [drm] No driver support for vblank timestamp query. [ 21.269244] imx-drm display-subsystem: bound imx-ipuv3-crtc.2 (ops ipu_crtc_ops [imxdrm]) [ 21.269408] imx-drm display-subsystem: bound imx-ipuv3-crtc.3 (ops ipu_crtc_ops [imxdrm]) [ 21.269620] dwhdmi-imx 120000.hdmi: Detected HDMI TX controller v1.31a with HDCP (DWC HDMI 3D TX PHY) [ 21.288790] imx-drm display-subsystem: bound 120000.hdmi (ops dw_hdmi_imx_ops [dw_hdmi_imx]) [ 21.291117] [drm] Initialized imx-drm 1.0.0 20120507 for display-subsystem on minor 1 [ 21.323248] imx2-wdt 20bc000.wdog: timeout 60 sec (nowayout=0) [ 21.855817] systemd[1]: Started Armbian ZRAM config. [ 21.861185] Console: switching to colour frame buffer device 240x67 [ 21.885853] imx-drm display-subsystem: fb0: imx-drmdrmfb frame buffer device [ 21.893960] systemd[1]: Starting Armbian memory supported logging... [ 21.998463] coda 2040000.vpu: Direct firmware load for vpu_fw_imx6d.bin failed with error -2 [ 22.018118] coda 2040000.vpu: Using fallback firmware vpu/vpu_fw_imx6d.bin [ 22.021245] coda 2040000.vpu: Firmware code revision: 46063 [ 22.021255] coda 2040000.vpu: Initialized CODA960. [ 22.021261] coda 2040000.vpu: Firmware version: 3.1.1 [ 22.025303] coda 2040000.vpu: encoder registered as video0 [ 22.025512] coda 2040000.vpu: decoder registered as video1 [ 22.211338] EXT4-fs (zram0): mounted filesystem without journal. Opts: discard [ 22.211377] ext4 filesystem being mounted at /var/log supports timestamps until 2038 (0x7fffffff) [ 22.736078] imx-sdma 20ec000.sdma: loaded firmware 1.1 [ 22.773648] caam 2100000.caam: Entropy delay = 3200 [ 22.834441] caam 2100000.caam: Instantiated RNG4 SH0 [ 22.895202] caam 2100000.caam: Instantiated RNG4 SH1 [ 22.895213] caam 2100000.caam: device ID = 0x0a16010000000100 (Era 4) [ 22.895220] caam 2100000.caam: job rings = 2, qi = 0 [ 25.280075] systemd[1]: Started Armbian memory supported logging. [ 25.300176] systemd[1]: Starting Journal Service... [ 25.695517] systemd[1]: Started Journal Service. [ 25.709417] imx_thermal tempmon: Commercial CPU temperature grade - max:95C critical:90C passive:85C [ 25.837806] imx-spdif sound-spdif: snd-soc-dummy-dai <-> 2004000.spdif mapping ok [ 25.837825] imx-spdif sound-spdif: ASoC: no DMI vendor name! [ 25.856032] systemd-journald[619]: Received request to flush runtime journal from PID 1 [ 31.710805] Registered IR keymap rc-cec [ 31.711042] rc rc1: dw_hdmi as /devices/soc0/soc/120000.hdmi/rc/rc1 [ 31.711250] input: dw_hdmi as /devices/soc0/soc/120000.hdmi/rc/rc1/input6 [ 36.322842] brcm_reg: disabling [ 36.915785] rc rc0: two consecutive events of type space [ 37.069209] random: crng init done [ 37.069219] random: 7 urandom warning(s) missed due to ratelimiting [ 38.558936] alg: No test for authenc(hmac(sha224),ecb(cipher_null)) (authenc-hmac-sha224-ecb-cipher_null-caam) [ 38.567342] alg: No test for authenc(hmac(sha256),ecb(cipher_null)) (authenc-hmac-sha256-ecb-cipher_null-caam) [ 38.574361] alg: No test for authenc(hmac(md5),cbc(aes)) (authenc-hmac-md5-cbc-aes-caam) [ 38.581306] alg: No test for echainiv(authenc(hmac(md5),cbc(aes))) (echainiv-authenc-hmac-md5-cbc-aes-caam) [ 39.416914] alg: No test for echainiv(authenc(hmac(sha1),cbc(aes))) (echainiv-authenc-hmac-sha1-cbc-aes-caam) [ 39.434905] alg: No test for authenc(hmac(sha224),cbc(aes)) (authenc-hmac-sha224-cbc-aes-caam) [ 39.451846] alg: No test for echainiv(authenc(hmac(sha224),cbc(aes))) (echainiv-authenc-hmac-sha224-cbc-aes-caam) [ 40.286961] alg: No test for echainiv(authenc(hmac(sha256),cbc(aes))) (echainiv-authenc-hmac-sha256-cbc-aes-caam) [ 40.304945] alg: No test for authenc(hmac(md5),cbc(des3_ede)) (authenc-hmac-md5-cbc-des3_ede-caam) [ 40.323824] alg: No test for echainiv(authenc(hmac(md5),cbc(des3_ede))) (echainiv-authenc-hmac-md5-cbc-des3_ede-caam) [ 40.474535] alg: No test for echainiv(authenc(hmac(sha1),cbc(des3_ede))) (echainiv-authenc-hmac-sha1-cbc-des3_ede-caam) [ 40.608866] alg: No test for echainiv(authenc(hmac(sha224),cbc(des3_ede))) (echainiv-authenc-hmac-sha224-cbc-des3_ede-caam) [ 40.749095] alg: No test for echainiv(authenc(hmac(sha256),cbc(des3_ede))) (echainiv-authenc-hmac-sha256-cbc-des3_ede-caam) [ 40.758025] alg: No test for authenc(hmac(md5),cbc(des)) (authenc-hmac-md5-cbc-des-caam) [ 40.765138] alg: No test for echainiv(authenc(hmac(md5),cbc(des))) (echainiv-authenc-hmac-md5-cbc-des-caam) [ 40.901355] alg: No test for echainiv(authenc(hmac(sha1),cbc(des))) (echainiv-authenc-hmac-sha1-cbc-des-caam) [ 41.033822] alg: No test for echainiv(authenc(hmac(sha224),cbc(des))) (echainiv-authenc-hmac-sha224-cbc-des-caam) [ 41.171433] alg: No test for echainiv(authenc(hmac(sha256),cbc(des))) (echainiv-authenc-hmac-sha256-cbc-des-caam) [ 41.178443] alg: No test for authenc(hmac(md5),rfc3686(ctr(aes))) (authenc-hmac-md5-rfc3686-ctr-aes-caam) [ 41.185441] alg: No test for seqiv(authenc(hmac(md5),rfc3686(ctr(aes)))) (seqiv-authenc-hmac-md5-rfc3686-ctr-aes-caam) [ 41.199179] alg: No test for seqiv(authenc(hmac(sha1),rfc3686(ctr(aes)))) (seqiv-authenc-hmac-sha1-rfc3686-ctr-aes-caam) [ 41.206255] alg: No test for authenc(hmac(sha224),rfc3686(ctr(aes))) (authenc-hmac-sha224-rfc3686-ctr-aes-caam) [ 41.213271] alg: No test for seqiv(authenc(hmac(sha224),rfc3686(ctr(aes)))) (seqiv-authenc-hmac-sha224-rfc3686-ctr-aes-caam) [ 41.227111] alg: No test for seqiv(authenc(hmac(sha256),rfc3686(ctr(aes)))) (seqiv-authenc-hmac-sha256-rfc3686-ctr-aes-caam) [ 41.234023] caam algorithms registered in /proc/crypto [ 45.612517] caam_jr 2101000.jr0: registering rng-caam [ 45.741487] EXT4-fs (mmcblk1p1): resizing filesystem from 713728 to 915840 blocks [ 49.548259] EXT4-fs (mmcblk1p1): resized filesystem to 915840 [ 57.711086] Atheros 8035 ethernet 2188000.ethernet-1:00: attached PHY driver [Atheros 8035 ethernet] (mii_bus:phy_addr=2188000.ethernet-1:00, irq=POLL) [ 59.811578] fec 2188000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx [ 59.811650] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready [ 248.222355] fuse: init (API version 7.31) [ 248.222621] *** VALIDATE fuse *** [ 248.222640] *** VALIDATE fuse *** sander@cubox-i:~$
Superkoning Posted April 7, 2020 Author Posted April 7, 2020 Oh ... I now realize I post the dmesg as code (my usual method), not as an attachment (as you requested). Do you want me to change that for the existing posts?
martinayotte Posted April 7, 2020 Posted April 7, 2020 6 minutes ago, Superkoning said: Do you want me to change that for the existing posts? You can also use spoiler tags ...
Superkoning Posted April 7, 2020 Author Posted April 7, 2020 Let's try ... my ll as hidden content: Spoiler sander@cubox-i:~$ ll total 112 drwxr-xr-x 9 sander sander 4096 Apr 7 12:49 ./ drwxr-xr-x 3 root root 4096 Apr 7 12:16 ../ -rw-rw-r-- 1 sander sander 173 Apr 7 12:35 .bash_aliases -rw------- 1 sander sander 604 Apr 7 12:47 .bash_history -rw-r--r-- 1 sander sander 220 Apr 7 12:16 .bash_logout -rw-r--r-- 1 sander sander 3771 Apr 7 12:16 .bashrc drwxrwxr-x 5 sander sander 4096 Apr 7 12:49 .cache/ drwxr-xr-x 10 sander sander 4096 Apr 7 12:17 .config/ drwx------ 3 sander sander 4096 Apr 7 12:16 .dbus/ drwxrwxr-x 2 sander sander 4096 Apr 7 12:17 Desktop/ -rw-rw-r-- 1 sander sander 27282 Apr 7 12:31 dmesg-armbian-ubuntu-with-extlinuxconf-file.txt drwx------ 2 sander sander 4096 Apr 7 12:49 .gconf/ drwx------ 3 sander sander 4096 Apr 7 12:16 .gnupg/ -rw------- 1 sander sander 644 Apr 7 12:49 .ICEauthority drwxr-xr-x 3 sander sander 4096 Apr 7 12:16 .local/ -rw-r--r-- 1 sander sander 807 Apr 7 12:16 .profile -rw-r--r-- 1 sander sander 0 Apr 7 12:16 .sudo_as_admin_successful -rw-r--r-- 1 sander sander 52 Apr 7 12:48 .Xauthority -rw-r--r-- 1 sander sander 20 Apr 7 12:16 .xscreensaver -rw------- 1 sander sander 7232 Apr 7 12:50 .xsession-errors -rw------- 1 sander sander 7987 Apr 7 12:47 .xsession-errors.old sander@cubox-i:~$
usual user Posted April 7, 2020 Posted April 7, 2020 4 hours ago, Superkoning said: Summary: with your extlinux.conf added, I can boot Armbian Ubuntu deskop on my Cubox! Huch!! What have I done? I had not expected this would lead to a working system. My intention was to only increase the loglevel. Anyway, let's recap what I have modified. - Switched from legacy boot.scr to distro-boot (extlinux.conf) as the boot feedback is more informative - Increased the kernel loglevel to 7 - Used PARTUUID as root partition identifier - Enabled instant fbcon activation - Revised some boot parameters 4 hours ago, Superkoning said: splash screen with some extra lines .... black screen ... no signal ... wait ... hey ... more text and a login prompt!!! The black periods are probably due to the performence of the single core SOC while the initramdisk is loaded or the kernel is initialized. I don't think the kernel command line modifications make much difference. My main suspicion is that the boot.scr magic is the culprit and the change to distro-boot makes the difference. Have you waited long enough with the unchanged image to boot, as the black period would be quite long without log feedback? We can now take back one change after another to identify what the real difference is. Offtopic: quote "PS2: with a remote login a lxqt from my Ubuntu laptop, I have a normal QWERTY setup." Out of interest does the lxqt desktop not working on the local cubox-i display? You'll probably have to wait quite a while because a single core SOC takes a while to load everything.
Superkoning Posted April 7, 2020 Author Posted April 7, 2020 Quote Have you waited long enough with the unchanged image to boot, as the black period would be quite long without log feedback? Yes, 15 minutes and a whole night, during the first tries. I also ping-ed to see if the cubox was network-reachable (to check if it was just a display problem) but no ping respons. Today a few minutes. Please note: your Ubuntu-plus-extlinux.conf was black for only 15 seconds or so. Quote My main suspicion is that the boot.scr magic is the culprit and the change to distro-boot makes the difference. We can now take back one change after another to identify what the real difference is. What do you advice to do? I don't see "boot.scr" in the extlinux.conf. (This is also proof that I really don't know the magic you've done ...) EDIT: we can also leave it this way as: - it works for me, - the few other Cubox i1 single-core Armbian users in the rest of the world (if any) can use the same workaround.
usual user Posted April 8, 2020 Posted April 8, 2020 17 hours ago, Superkoning said: Yes, 15 minutes and a whole night, during the first tries. OK, this confirms the boot.src magic is really not working. To rule out my kernel command line modification did the trick, fire up your favorite editor and modify the parameters in extlinux.conf. Or alternatively replace your extlinux.conf by the attached one. There I added a second boot stanza that boots with the same kernel command line parameters as boot.scr. Additionally in the first stanza I have reset the kernel loglevel like the one it is used by boot.scr. This will present the black screen a little longer as no kernel logging will be presented but the boot time should stay the same. No one wants log output cause it could help identifying issues . Last but not least I increased the "Enter choice:"-timeout to give you some more time for your reaction. After the timeout the first stanza is chosen automatically. Boot the image and at the "Enter choice:"-prompt type the "2" and "ENTER" keys to select the boot stanza with the boot.src kernel command-line parameters. If this boots for you then the influence of kernel command line parameters can be excluded. 17 hours ago, Superkoning said: Please note: your Ubuntu-plus-extlinux.conf was black for only 15 seconds or so. If the boot.scr method had worked, the boot behavior would have been the exact same as with distro-boot now. It is due to the boot scheme that armbian uses. Generic Fedora uses a similar one, you can see it if you choose the second boot stanza when booting. But you need to be fast because the "Enter Choice:" timeout is only two seconds there. For a little more background start reading here. 17 hours ago, Superkoning said: I don't see "boot.scr" in the extlinux.conf. This is because the existence of /boot/extlinux/extlinux.conf changes the boot method to distro-boot and boot.scr is no longer taken into account. For distro-boot only the kernel, the DTB and an optional initramfs is required. Only your Preferred Editor is required for administration, as extlinux.conf is just a plain text file. No tinkering with special uboot tools. 17 hours ago, Superkoning said: use the same workaround. This isn't a workaround it is simply a different boot method with uboot. extlinux.conf
Superkoning Posted April 8, 2020 Author Posted April 8, 2020 Results: On the first boot, I was too late pressing "2" (fetching my phone to make pictures), and the Cubox nicely booted through to X / DE. So there is a time-out and default option? On the second boot, I pressed 2 but nothing happened ... the keyboard is not working. Pressing Numlock does not light the LED on the keyboard. After the full boot, the keyboard is working again. So, is the USB port of the cubox not powered in the initial phase of booting ... ? (Only the keyboard is connected to USB, so no USB power problem I would say) Should I swap the two blocks in extlinux.conf so that the other option becomes default? sander@cubox-i:~$ dmesg | grep Kernel [ 0.000000] Kernel command line: loglevel=1 coherent_pool=2M cma=256M console=ttymxc0,115200n8 console=tty1 rootwait rootfstype=ext4 root=PARTUUID=4461ca21-01 fbcon=nodefer rd.dm=0 rd.luks=0 rd.lvm=0 raid=noautodetect cubox-dmesg.2-boot-options----unaltered.txt
Superkoning Posted April 8, 2020 Author Posted April 8, 2020 I swapped the two blocks in extlinux.conf, rebooted, did not press a key, after 10 seconds it boots through (10 seconds, not 100) and ... that booted to X / DE too. So both options seem to boot (assuming now the other boot options was choosen as default). Is that good news, or not? sander@cubox-i:~$ dmesg | grep Kernel [ 0.000000] Kernel command line: root=UUID=d0456b88-9549-4375-b5ce-5fdaa9d79e04 rootfstype=ext4 rootwait console=tty1 consoleblank=0 video=mxcfb0:dev=hdmi,1920x1080m60,if=RGB24,bpp=32 coherent_pool=2M cma=256M@2G rd.dm=0 rd.luks=0 rd.lvm=0 raid=noautodetect pci=nomsi vt.global_cursor_default=0 loglevel=1 usb-storage.quirks=0x2537:0x1066:u,0x2537:0x1068:u dmesg.two-boot-options---blocks-swapped.txt
usual user Posted April 8, 2020 Posted April 8, 2020 1 hour ago, Superkoning said: On the second boot, I pressed 2 but nothing happened ... the keyboard is not working. Pressing Numlock does not light the LED on the keyboard. After the full boot, the keyboard is working again. So, is the USB port of the cubox not powered in the initial phase of booting ... ? Oh, this reminds me uboot has a support problem with keyboard on the OTG USB port. Try the other one, should be the lower one. 1 hour ago, Superkoning said: (10 seconds, not 100) The timeout is in 1/10sec, i.e. timeout 100 == 10 seconds. 1 hour ago, Superkoning said: So both options seem to boot (assuming now the other boot options was choosen as default). Is that good news, or not? It is not really good news. It confirms my initial suspicion that the boot.scr magic is the culprit. Looking in the boot.src shows even a hard coded quadcore DTB name without counterpart for Solo/DualLite. I don't have much interest at legacy boot.scr, so I've reached a point where I can't help much anymore. The armbian boot.scr maintainer has now to jump in to find out how to fix this. If this doesn't happen, you are already an advanced distro-boot user and can keep using it. At least we have narrowed down what has to be fixed.
Superkoning Posted April 8, 2020 Author Posted April 8, 2020 @usual user Thank you for all your work and time and explanation! You have provided me with a working Armbian Ubuntu on my Cubox, so I'm happy. Thank you
Recommended Posts