Jump to content

ethDreamer

Members
  • Posts

    13
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. @Igor After a bunch of experiments I WAS able to get the LCD to work with Armbian!..... using lubuntu's bootloader. The problem has been narrowed down to uboot then. If you could give me any ideas on getting it to work with Armbian's bootloader that'd be great. Here's what I did for anyone who wants to follow: Edit Armbian buildscripts to add kernel.img to the kernel build targets (could also just set KERNEL_IMAGE_TYPE="Image kernel.img") and have it copy the resulting kernel.img file to output/images. Once the desktop sd image is built, run: # this will setup the image on one of the loopback devices, for example /dev/loop0 losetup --partscan --find --show output/images/Armbian_20.11.0-trunk*.img # create rootfs.img dd if=/dev/loop0p1 of=./rootfs.img losetup -d /dev/loop0 3. keep those files rootfs.img and kernel.img for later and run: git clone https://github.com/friendlyarm/sd-fuse_rk3399.git cd sd-fuse_rk3399 wget http://112.124.9.243/dvdfiles/RK3399/images-for-eflasher/lubuntu-desktop-images.tgz tar xvzf lubuntu-desktop-images.tgz 4. replace the kernel.img and rootfs.img files in the newly created lubuntu/ folder with the files made earlier from the armbian build 5. run './mk-sd-image.sh lubuntu' The newly created lubuntu image will actually boot armbian with the SAME root filesystem and the SAME kernel as the image created by the armbian build scripts - only the lcd works in this case. I'm not exactly sure why, but it *might* have something to do with the friendly-elec splash image that comes up immediately in the lubuntu loader. This is a diff of the output of dmesg between the two images (again the lubuntu bootloader works, armbian bootloader does not): --- dmesg.log.ubuntu.const 2020-09-20 18:31:12.937902293 -0400 +++ dmesg.log.armbian.const 2020-09-20 18:30:57.941977338 -0400 @@ -4,32 +4,31 @@ [ 0.000000] Initializing cgroup subsys cpuacct [ 0.000000] Linux version 4.4.213-rk3399 (root@96cec599890e) (gcc version 9.2.1 20191025 (GNU Toolchain for the A-profile Architecture 9.2-2019.12 (arm-9.10)) ) #48 SMP Sun Sep 20 21:06:33 UTC 2020 [ 0.000000] Boot CPU: AArch64 Processor [410fd034] -[ 0.000000] earlycon: Early serial console at MMIO32 0xff1a0000 (options '') -[ 0.000000] bootconsole [uart0] enabled [ 0.000000] Panel: LC116LF1L01 selected [ 0.000000] efi: Getting EFI parameters from FDT: [ 0.000000] efi: UEFI not found. -[ 0.000000] On node 0 totalpages: 1007616 +[ 0.000000] Reserved memory: failed to reserve memory for node 'drm-logo@00000000': base 0x0000000000000000, size 0 MiB +[ 0.000000] On node 0 totalpages: 1015296 [ 0.000000] DMA zone: 15864 pages used for memmap [ 0.000000] DMA zone: 0 pages reserved -[ 0.000000] DMA zone: 1007616 pages, LIFO batch:31 +[ 0.000000] DMA zone: 1015296 pages, LIFO batch:31 [ 0.000000] psci: probing for conduit method from DT. [ 0.000000] psci: PSCIv1.0 detected in firmware. [ 0.000000] psci: Using standard PSCI v0.2 function IDs -[ 0.000000] psci: Trusted OS migration not required +[ 0.000000] psci: MIGRATE_INFO_TYPE not supported. [ 0.000000] psci: SMC Calling Convention v1.0 -[ 0.000000] PERCPU: Embedded 20 pages/cpu @ffffffc0f7ed0000 s43024 r8192 d30704 u81920 +[ 0.000000] PERCPU: Embedded 20 pages/cpu @ffffffc0f7ed1000 s43024 r8192 d30704 u81920 [ 0.000000] pcpu-alloc: s43024 r8192 d30704 u81920 alloc=20*4096 [ 0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3 [0] 4 [0] 5 [ 0.000000] Detected VIPT I-cache on CPU0 [ 0.000000] CPU features: enabling workaround for ARM erratum 845719 -[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 991752 -[ 0.000000] Kernel command line: earlycon=uart8250,mmio32,0xff1a0000 swiotlb=1 console=ttyFIQ0 rootwait coherent_pool=1m root=/dev/mmcblk0p1 rw rootfstype=ext4 data=/dev/mmcblk0p2 consoleblank=0 cgroup_enable=cpuset cgroup_memory=1 cgroup_enable=memory swapaccount=1 lcd=LC116LF1L01 storagemedia=sd uboot_logo=0x02000000@0xf5c00000 loader.timestamp=2020-03-16_16:45:22 SecureBootCheckOk=0 +[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 999432 +[ 0.000000] Kernel command line: root=UUID=1618c470-14d6-4504-bd11-3c309c475e8b rootwait rootfstype=ext4 bootsplash.bootfile=bootsplash.armbian console=ttyS2,1500000 console=tty1 consoleblank=0 loglevel=7 ubootpart=73bd6f84-01 usb-storage.quirks= lcd=LC116LF1L01 cgroup_enable=cpuset cgroup_memory=1 cgroup_enable=memory swapaccount=1 [ 0.000000] PID hash table entries: 4096 (order: 3, 32768 bytes) [ 0.000000] Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes) [ 0.000000] Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes) -[ 0.000000] software IO TLB: mapped [mem 0xf7e88000-0xf7ec8000] (0MB) -[ 0.000000] Memory: 3923192K/4030464K available (13436K kernel code, 1572K rwdata, 7220K rodata, 1152K init, 2058K bss, 107272K reserved, 0K cma-reserved) +[ 0.000000] software IO TLB: mapped [mem 0xed720000-0xf1720000] (64MB) +[ 0.000000] Memory: 3889032K/4061184K available (13436K kernel code, 1572K rwdata, 7220K rodata, 1152K init, 2058K bss, 172152K reserved, 0K cma-reserved) [ 0.000000] Virtual kernel memory layout: modules : 0xffffff8000000000 - 0xffffff8008000000 ( 128 MB) vmalloc : 0xffffff8008000000 - 0xffffffbdbfff0000 ( 246 GB) @@ -50,12 +49,12 @@ [ 0.000000] NR_IRQS:64 nr_irqs:64 0 [ 0.000000] GIC: Using split EOI/Deactivate mode [ 0.000000] ITS: /interrupt-controller@fee00000/interrupt-controller@fee20000 -[ 0.000000] ITS: allocated 65536 Devices @f2c80000 (psz 64K, shr 0) +[ 0.000000] ITS: allocated 65536 Devices @f3080000 (psz 64K, shr 0) [ 0.000000] ITS: using cache flushing for cmd queue -[ 0.000000] GIC: using LPI property table @0x00000000f2d00000 +[ 0.000000] GIC: using LPI property table @0x00000000f3100000 [ 0.000000] ITS: Allocated 1792 chunks for LPIs [ 0.000000] CPU0: found redistributor 0 region 0:0x00000000fef00000 -[ 0.000000] CPU0: using LPI pending table @0x00000000f2d10000 +[ 0.000000] CPU0: using LPI pending table @0x00000000f3110000 [ 0.000000] GIC: using cache flushing for LPI property table [ 0.000000] GIC: PPI partition interrupt-partition-0[0] { /cpus/cpu@0[0] /cpus/cpu@1[1] /cpus/cpu@2[2] /cpus/cpu@3[3] } [ 0.000000] GIC: PPI partition interrupt-partition-1[1] { /cpus/cpu@100[4] /cpus/cpu@101[5] } @@ -65,11 +64,11 @@ [ 0.000000] rockchip_mmc_get_phase: invalid clk rate [ 0.000000] rockchip_clk_register_frac_branch: could not find dclk_vop0_frac as parent of dclk_vop0, rate changes may not work [ 0.000000] rockchip_clk_register_frac_branch: could not find dclk_vop1_frac as parent of dclk_vop1, rate changes may not work -[ 0.000000] rockchip_cpuclk_pre_rate_change: limiting alt-divider 33 to 31 [ 0.000000] Architected 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.000000] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns [ 0.000000] Console: colour dummy device 80x25 +[ 0.000000] console [tty1] enabled [ 0.000000] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=24000) [ 0.000000] pid_max: default: 32768 minimum: 301 [ 0.000000] Security Framework initialized @@ -94,27 +93,27 @@ [ 0.000000] EFI services will not be available. [ 0.000000] Detected VIPT I-cache on CPU1 [ 0.000000] CPU1: found redistributor 1 region 0:0x00000000fef20000 -[ 0.000000] CPU1: using LPI pending table @0x00000000f2f30000 +[ 0.000000] CPU1: using LPI pending table @0x00000000f3330000 [ 0.000000] CPU1: update cpu_capacity 401 [ 0.000000] CPU1: Booted secondary processor [410fd034] [ 0.000000] Detected VIPT I-cache on CPU2 [ 0.000000] CPU2: found redistributor 2 region 0:0x00000000fef40000 -[ 0.000000] CPU2: using LPI pending table @0x00000000f2f60000 +[ 0.000000] CPU2: using LPI pending table @0x00000000f3360000 [ 0.000000] CPU2: update cpu_capacity 401 [ 0.000000] CPU2: Booted secondary processor [410fd034] [ 0.000000] Detected VIPT I-cache on CPU3 [ 0.000000] CPU3: found redistributor 3 region 0:0x00000000fef60000 -[ 0.000000] CPU3: using LPI pending table @0x00000000f2fb0000 +[ 0.000000] CPU3: using LPI pending table @0x00000000f33b0000 [ 0.000000] CPU3: update cpu_capacity 401 [ 0.000000] CPU3: Booted secondary processor [410fd034] [ 0.000000] Detected PIPT I-cache on CPU4 [ 0.000000] CPU4: found redistributor 100 region 0:0x00000000fef80000 -[ 0.000000] CPU4: using LPI pending table @0x00000000f2ff0000 +[ 0.000000] CPU4: using LPI pending table @0x00000000f33f0000 [ 0.000000] CPU4: update cpu_capacity 1024 [ 0.000000] CPU4: Booted secondary processor [410fd082] [ 0.000000] Detected PIPT I-cache on CPU5 [ 0.000000] CPU5: found redistributor 101 region 0:0x00000000fefa0000 -[ 0.000000] CPU5: using LPI pending table @0x00000000f2420000 +[ 0.000000] CPU5: using LPI pending table @0x00000000f2820000 [ 0.000000] CPU5: update cpu_capacity 1024 [ 0.000000] CPU5: Booted secondary processor [410fd082] [ 0.000000] Brought up 6 CPUs @@ -130,9 +129,9 @@ [ 0.000000] xor: measuring software checksum speed [ 0.000000] 8regs : 3216.000 MB/sec [ 0.000000] 8regs_prefetch: 2844.000 MB/sec -[ 0.000000] 32regs : 3680.000 MB/sec -[ 0.000000] 32regs_prefetch: 3156.000 MB/sec -[ 0.000000] xor: using function: 32regs (3680.000 MB/sec) +[ 0.000000] 32regs : 3684.000 MB/sec +[ 0.000000] 32regs_prefetch: 3196.000 MB/sec +[ 0.000000] xor: using function: 32regs (3684.000 MB/sec) [ 0.000000] pinctrl core: initialized pinctrl subsystem [ 0.000000] NET: Registered protocol family 16 [ 0.000000] cpuidle: using governor ladder @@ -140,7 +139,7 @@ [ 0.000000] Registered FIQ tty driver [ 0.000000] vdso: 2 pages (1 code @ ffffff8008da6000, 1 data @ ffffff80095e4000) [ 0.000000] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers. -[ 0.000000] DMA: preallocated 1024 KiB pool for atomic allocations +[ 0.000000] DMA: preallocated 256 KiB pool for atomic allocations [ 0.000000] gpiochip_add_data: registered GPIOs 0 to 31 on device: gpio0 [ 0.000000] gpiochip_add_data: registered GPIOs 32 to 63 on device: gpio1 [ 0.000000] gpiochip_add_data: registered GPIOs 64 to 95 on device: gpio2 @@ -150,26 +149,25 @@ [ 0.000000] pstore: Registered ramoops as persistent store backend [ 0.000000] ramoops: attached 0xf0000@0x110000, ecc: 0/0 [ 0.000000] console [ttyFIQ0] enabled -[ 0.000000] bootconsole [uart0] disabled [ 0.000000] Registered fiq debugger ttyFIQ0 [ 0.000000] raid6: int64x1 gen() 492 MB/s -[ 0.000000] raid6: int64x1 xor() 390 MB/s -[ 0.000000] raid6: int64x2 gen() 835 MB/s -[ 0.000000] raid6: int64x2 xor() 648 MB/s -[ 0.000000] raid6: int64x4 gen() 1015 MB/s -[ 0.000000] raid6: int64x4 xor() 710 MB/s +[ 0.000000] raid6: int64x1 xor() 421 MB/s +[ 0.000000] raid6: int64x2 gen() 832 MB/s +[ 0.000000] raid6: int64x2 xor() 673 MB/s +[ 0.000000] raid6: int64x4 gen() 1003 MB/s +[ 0.000000] raid6: int64x4 xor() 718 MB/s [ 0.000000] raid6: int64x8 gen() 1156 MB/s -[ 0.000000] raid6: int64x8 xor() 710 MB/s +[ 0.000000] raid6: int64x8 xor() 708 MB/s [ 0.000000] raid6: neonx1 gen() 1019 MB/s -[ 0.000000] raid6: neonx1 xor() 638 MB/s -[ 0.000000] raid6: neonx2 gen() 1691 MB/s -[ 0.000000] raid6: neonx2 xor() 1027 MB/s -[ 0.000000] raid6: neonx4 gen() 2093 MB/s -[ 0.000000] raid6: neonx4 xor() 1208 MB/s +[ 0.000000] raid6: neonx1 xor() 660 MB/s +[ 0.000000] raid6: neonx2 gen() 1687 MB/s +[ 0.000000] raid6: neonx2 xor() 1025 MB/s +[ 0.000000] raid6: neonx4 gen() 2097 MB/s +[ 0.000000] raid6: neonx4 xor() 1191 MB/s [ 0.000000] raid6: neonx8 gen() 1835 MB/s -[ 0.000000] raid6: neonx8 xor() 1347 MB/s -[ 0.000000] raid6: using algorithm neonx4 gen() 2093 MB/s -[ 0.000000] raid6: .... xor() 1208 MB/s, rmw enabled +[ 0.000000] raid6: neonx8 xor() 1341 MB/s +[ 0.000000] raid6: using algorithm neonx4 gen() 2097 MB/s +[ 0.000000] raid6: .... xor() 1191 MB/s, rmw enabled [ 0.000000] raid6: using intx1 recovery algorithm [ 0.000000] of_get_named_gpiod_flags: parsed 'rockchip,power-ctrl' property of node '/rockchip-suspend[0]' - status (0) [ 0.000000] of_get_named_gpiod_flags: parsed 'rockchip,power-ctrl' property of node '/rockchip-suspend[1]' - status (0) @@ -231,11 +229,11 @@ [ 0.000000] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 0.000000] PCI: CLS 0 bytes, default 64 [ 0.000000] Trying to unpack rootfs image as initramfs... -[ 0.000000] Freeing initrd memory: 6136K +[ 0.000000] Freeing initrd memory: 7620K [ 0.000000] hw perfevents: enabled with armv8_cortex_a53 PMU driver, 7 counters available [ 0.000000] hw perfevents: enabled with armv8_cortex_a72 PMU driver, 7 counters available [ 0.000000] audit: initializing netlink subsys (disabled) -[ 0.000000] audit: type=2000 audit(0.855:1): initialized +[ 0.000000] audit: type=2000 audit(0.981:1): initialized [ 0.000000] Initialise system trusted keyring [ 0.000000] HugeTLB registered 2 MB page size, pre-allocated 0 pages [ 0.000000] VFS: Disk quotas dquot_6.6.0 @@ -292,10 +290,17 @@ [ 0.000000] pwm-regulator vdd-log: using lookup tables for GPIO lookup [ 0.000000] pwm-regulator vdd-log: lookup for GPIO enable failed [ 0.000000] Serial: 8250/16550 driver, 5 ports, IRQ sharing disabled -[ 0.000000] ff180000.serial: ttyS0 at MMIO 0xff180000 (irq = 38, base_baud = 1500000) is a 16550A -[ 0.000000] ff370000.serial: ttyS4 at MMIO 0xff370000 (irq = 40, base_baud = 1500000) is a 16550A +[ 0.000000] ff180000.serial: ttyS0 at MMIO 0xff180000 (irq = 37, base_baud = 1500000) is a 16550A +[ 0.000000] ff370000.serial: ttyS4 at MMIO 0xff370000 (irq = 39, base_baud = 1500000) is a 16550A [ 0.000000] [drm] Initialized drm 1.1.0 20060810 [ 0.000000] [drm] Rockchip DRM driver version: v1.0.1 +[ 0.000000] rockchip-drm display-subsystem: defer getting devfreq +[ 0.000000] rockchip-vop ff900000.vop: missing rockchip,grf property +[ 0.000000] rockchip-drm display-subsystem: bound ff900000.vop (ops 0xffffff8008e5f250) +[ 0.000000] rockchip-vop ff8f0000.vop: missing rockchip,grf property +[ 0.000000] rockchip-drm display-subsystem: bound ff8f0000.vop (ops 0xffffff8008e5f250) +[ 0.000000] rockchip-drm display-subsystem: failed to bind ff940000.hdmi (ops 0xffffff8008e543c0): -517 +[ 0.000000] rockchip-drm display-subsystem: master bind failed: -517 [ 0.000000] panel-friendlyelec edp-panel: GPIO lookup for consumer enable [ 0.000000] panel-friendlyelec edp-panel: using device tree for GPIO lookup [ 0.000000] of_get_named_gpiod_flags: can't parse 'enable-gpios' property of node '/edp-panel[0]' @@ -432,6 +437,7 @@ [ 0.000000] LDO_REG2: supplied by vcc3v3_sys [ 0.000000] LDO_REG3: supplied by vcc3v3_sys [ 0.000000] LDO_REG4: supplied by vcc3v3_sys +[ 0.000000] vccio_sd: Bringing 3300000uV into 3000000-3000000uV [ 0.000000] LDO_REG5: supplied by vcc3v3_sys [ 0.000000] LDO_REG6: supplied by vcc3v3_sys [ 0.000000] LDO_REG7: supplied by vcc3v3_sys @@ -439,10 +445,10 @@ [ 0.000000] SWITCH_REG1: supplied by vcc3v3_sys [ 0.000000] SWITCH_REG2: supplied by vcc3v3_sys [ 0.000000] rk808-rtc rk808-rtc: rtc core: registered rk808-rtc as rtc0 -[ 0.000000] rk3x-i2c ff3c0000.i2c: Initialized RK3xxx I2C bus at ffffff80099fe000 -[ 0.000000] rk3x-i2c ff110000.i2c: Initialized RK3xxx I2C bus at ffffff8009bf8000 -[ 0.000000] rk3x-i2c ff120000.i2c: Initialized RK3xxx I2C bus at ffffff8009bfa000 -[ 0.000000] rk3x-i2c ff160000.i2c: Initialized RK3xxx I2C bus at ffffff8009bfc000 +[ 0.000000] rk3x-i2c ff3c0000.i2c: Initialized RK3xxx I2C bus at ffffff8009b7c000 +[ 0.000000] rk3x-i2c ff110000.i2c: Initialized RK3xxx I2C bus at ffffff8009b7e000 +[ 0.000000] rk3x-i2c ff120000.i2c: Initialized RK3xxx I2C bus at ffffff8009bdc000 +[ 0.000000] rk3x-i2c ff160000.i2c: Initialized RK3xxx I2C bus at ffffff8009bde000 [ 0.000000] fusb302 4-0022: GPIO lookup for consumer int-n [ 0.000000] fusb302 4-0022: using device tree for GPIO lookup [ 0.000000] of_get_named_gpiod_flags: parsed 'int-n-gpios' property of node '/i2c@ff3d0000/fusb30x@22[0]' - status (0) @@ -478,9 +484,9 @@ [ 0.000000] edt_ft5x06 4-0038: lookup for GPIO wake failed [ 0.000000] edt_ft5x06 4-0038: FT5526_KR, Rev7.1 [ 0.000000] input: EP0790M09 as /devices/platform/ff3d0000.i2c/i2c-4/4-0038/input/input1 -[ 0.000000] rk3x-i2c ff3d0000.i2c: Initialized RK3xxx I2C bus at ffffff8009bfe000 +[ 0.000000] rk3x-i2c ff3d0000.i2c: Initialized RK3xxx I2C bus at ffffff8009bf2000 [ 0.000000] IR NEC protocol handler initialized -[ 0.000000] Boot mode: coldboot +[ 0.000000] Boot mode: normal [ 0.000000] rk_tsadcv2_temp_to_code: Invalid conversion table: code=1023, temperature=2147483647 [ 0.000000] rockchip-thermal ff260000.tsadc: tsadc is probed successfully! [ 0.000000] dw_wdt ff848000.watchdog: Should better to setup a 'resets' property in dt, that must been named with reset @@ -505,9 +511,11 @@ [ 0.000000] cpu cpu4: Failed to get pvtm [ 0.000000] cpu cpu4: bin-scale=17 [ 0.000000] cpu cpu0: avs=0 +[ 0.000000] cpu cpu0: scale_rate=1416000000 [ 0.000000] cpu cpu0: l=0 h=2147483647 hyst=5000 l_limit=0 h_limit=0 [ 0.000000] cpu cpu0: failed to find power_model node [ 0.000000] cpu cpu4: avs=0 +[ 0.000000] cpu cpu4: scale_rate=1800000000 [ 0.000000] cpu cpu4: l=0 h=2147483647 hyst=5000 l_limit=0 h_limit=0 [ 0.000000] cpu cpu4: failed to find power_model node [ 0.000000] sdhci: Secure Digital Host Controller Interface driver @@ -646,10 +654,8 @@ [ 0.000000] mmcblk1: p1 [ 0.000000] [BT_RFKILL]: bt_default device registered. [ 0.000000] Key type dns_resolver registered -[ 0.000000] sensor_register_slave:mpu6880_gyro,id=50 [ 0.000000] flash vendor_init_thread! -[ 0.000000] flash vendor storage:20170308 ret = -1 -[ 0.000000] vendor storage:20190527 ret = 0 +[ 0.000000] sensor_register_slave:mpu6880_gyro,id=50 [ 0.000000] ov4689 1-0036: driver version: 00.01.01 [ 0.000000] ov4689 1-0036: could not get module information! [ 0.000000] ov4689 1-0036: GPIO lookup for consumer reset @@ -661,6 +667,7 @@ [ 0.000000] 1-0036 supply avdd not found, using dummy regulator [ 0.000000] 1-0036 supply dovdd not found, using dummy regulator [ 0.000000] 1-0036 supply dvdd not found, using dummy regulator +[ 0.000000] vendor storage:20190527 ret = 0 [ 0.000000] ov4689 1-0036: Unexpected sensor id(000000), ret(-5) [ 0.000000] ov4689 2-0036: driver version: 00.01.01 [ 0.000000] ov4689 2-0036: could not get module information! @@ -703,49 +710,28 @@ [ 0.000000] Registered setend emulation handler [ 0.000000] registered taskstats version 1 [ 0.000000] Loading compiled-in X.509 certificates +[ 0.000000] rockchip-iodomain ff770000.syscon:io-domains: Setting to 3000000 done +[ 0.000000] rockchip-iodomain ff770000.syscon:io-domains: Setting to 1800000 done [ 0.000000] Btrfs loaded +[ 0.000000] flash vendor storage:20170308 ret = -1 +[ 0.000000] rga2: Driver loaded successfully ver:3.02 [ 0.000000] rga2: Module initialized. [ 0.000000] phy phy-ff770000.syscon:usb2-phy@e450.7: Failed to get VBUS supply regulator -[ 0.000000] rockchip-iodomain ff770000.syscon:io-domains: Setting to 3000000 done -[ 0.000000] rockchip-iodomain ff770000.syscon:io-domains: Setting to 1800000 done +[ 0.000000] [drm] Rockchip DRM driver version: v1.0.1 [ 0.000000] rockchip-drm display-subsystem: defer getting devfreq [ 0.000000] rockchip-vop ff900000.vop: missing rockchip,grf property [ 0.000000] rockchip-drm display-subsystem: bound ff900000.vop (ops 0xffffff8008e5f250) [ 0.000000] rockchip-vop ff8f0000.vop: missing rockchip,grf property [ 0.000000] rockchip-drm display-subsystem: bound ff8f0000.vop (ops 0xffffff8008e5f250) -[ 0.000000] rockchip-dp ff970000.edp: no DP phy configured -[ 0.000000] rockchip-dp ff970000.edp: GPIO lookup for consumer hpd -[ 0.000000] rockchip-dp ff970000.edp: using device tree for GPIO lookup -[ 0.000000] of_get_named_gpiod_flags: can't parse 'hpd-gpios' property of node '/edp@ff970000[0]' -[ 0.000000] of_get_named_gpiod_flags: can't parse 'hpd-gpio' property of node '/edp@ff970000[0]' -[ 0.000000] rockchip-dp ff970000.edp: using lookup tables for GPIO lookup -[ 0.000000] rockchip-dp ff970000.edp: lookup for GPIO hpd failed -[ 0.000000] i2c i2c-9: of_i2c: modalias failure on /edp@ff970000/ports -[ 0.000000] rockchip-drm display-subsystem: bound ff970000.edp (ops 0xffffff8008e56a38) [ 0.000000] dwhdmi-rockchip ff940000.hdmi: Detected HDMI TX controller v2.11a with HDCP (DWC HDMI 2.0 TX PHY) [ 0.000000] rockchip-drm display-subsystem: bound ff940000.hdmi (ops 0xffffff8008e543c0) -[ 0.000000] i2c i2c-10: of_i2c: modalias failure on /dp@fec00000/ports -[ 0.000000] cdn-dp fec00000.dp: Direct firmware load for rockchip/dptx.bin failed with error -2 -[ 0.000000] cdn-dp fec00000.dp: Falling back to user helper -[ 0.000000] rockchip-drm display-subsystem: bound fec00000.dp (ops 0xffffff8008e553a8) [ 0.000000] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013). [ 0.000000] [drm] No driver support for vblank timestamp query. +[ 0.000000] rockchip-drm display-subsystem: failed to parse loader memory +[ 0.000000] rockchip-drm display-subsystem: No connectors reported connected with modes +[ 0.000000] [drm] Cannot find any crtc or sizes - going 1024x768 [ 0.000000] mmc_host mmc0: Bus speed (slot 0) = 150000000Hz (slot req 150000000Hz, actual 150000000HZ div = 0) -[ 0.000000] rockchip-drm display-subsystem: connector[HDMI-A-1] can't found any modes -[ 0.000000] rockchip-drm display-subsystem: failed to show loader logo -[ 0.000000] Freeing drm_logo memory: 2252K -[ 0.000000] rockchip-dp ff970000.edp: [drm:analogix_dp_link_start] Enable downspread on the sink -[ 0.000000] rockchip-dp ff970000.edp: Link Training Clock Recovery success -[ 0.000000] rockchip-dp ff970000.edp: Link Training success! -[ 0.000000] rockchip-vop ff900000.vop: [drm:vop_crtc_enable] Update mode to 1920x1080p60, type: 14 -[ 0.000000] rockchip-dp ff970000.edp: [drm:analogix_dp_link_start] Enable downspread on the sink -[ 0.000000] rockchip-dp ff970000.edp: Link Training Clock Recovery success -[ 0.000000] rockchip-dp ff970000.edp: Link Training success! -[ 0.000000] dwmmc_rockchip fe320000.dwmmc: Successfully tuned phase to 209 -[ 0.000000] mmc0: new ultra high speed SDR104 SDHC card at address 59b4 -[ 0.000000] mmcblk0: mmc0:59b4 USD00 29.5 GiB -[ 0.000000] mmcblk0: p1 p2 -[ 0.000000] Console: switching to colour frame buffer device 240x67 +[ 0.000000] Console: switching to colour frame buffer device 128x48 [ 0.000000] rockchip-drm display-subsystem: fb0: frame buffer device [ 0.000000] mali ff9a0000.gpu: leakage=36 [ 0.000000] mali ff9a0000.gpu: Failed to get pvtm @@ -756,79 +742,83 @@ [ 0.000000] mali ff9a0000.gpu: Using configured power model mali-simple-power-model, and fallback mali-simple-power-model [ 0.000000] I : [File] : drivers/gpu/arm/midgard/backend/gpu/mali_kbase_devfreq.c; [Line] : 423; [Func] : kbase_devfreq_init(); success initing power_model_simple. [ 0.000000] mali ff9a0000.gpu: Probed as mali0 -[ 0.000000] xhci-hcd xhci-hcd.8.auto: xHCI Host Controller -[ 0.000000] xhci-hcd xhci-hcd.8.auto: new USB bus registered, assigned bus number 3 -[ 0.000000] xhci-hcd xhci-hcd.8.auto: hcc params 0x0220fe64 hci version 0x110 quirks 0x06030010 -[ 0.000000] xhci-hcd xhci-hcd.8.auto: irq 231, io mem 0xfe800000 +[ 0.000000] xhci-hcd xhci-hcd.7.auto: xHCI Host Controller +[ 0.000000] xhci-hcd xhci-hcd.7.auto: new USB bus registered, assigned bus number 3 +[ 0.000000] xhci-hcd xhci-hcd.7.auto: hcc params 0x0220fe64 hci version 0x110 quirks 0x06030010 +[ 0.000000] xhci-hcd xhci-hcd.7.auto: irq 230, io mem 0xfe800000 [ 0.000000] usb usb3: New USB device found, idVendor=1d6b, idProduct=0002 [ 0.000000] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 0.000000] usb usb3: Product: xHCI Host Controller [ 0.000000] usb usb3: Manufacturer: Linux 4.4.213-rk3399 xhci-hcd -[ 0.000000] usb usb3: SerialNumber: xhci-hcd.8.auto +[ 0.000000] usb usb3: SerialNumber: xhci-hcd.7.auto [ 0.000000] hub 3-0:1.0: USB hub found [ 0.000000] hub 3-0:1.0: 1 port detected -[ 0.000000] xhci-hcd xhci-hcd.8.auto: xHCI Host Controller -[ 0.000000] xhci-hcd xhci-hcd.8.auto: new USB bus registered, assigned bus number 4 +[ 0.000000] xhci-hcd xhci-hcd.7.auto: xHCI Host Controller +[ 0.000000] xhci-hcd xhci-hcd.7.auto: new USB bus registered, assigned bus number 4 [ 0.000000] usb usb4: We don't know the algorithms for LPM for this host, disabling LPM. [ 0.000000] usb usb4: New USB device found, idVendor=1d6b, idProduct=0003 [ 0.000000] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 0.000000] usb usb4: Product: xHCI Host Controller [ 0.000000] usb usb4: Manufacturer: Linux 4.4.213-rk3399 xhci-hcd -[ 0.000000] usb usb4: SerialNumber: xhci-hcd.8.auto +[ 0.000000] usb usb4: SerialNumber: xhci-hcd.7.auto [ 0.000000] hub 4-0:1.0: USB hub found [ 0.000000] hub 4-0:1.0: 1 port detected -[ 0.000000] xhci-hcd xhci-hcd.8.auto: remove, state 1 +[ 0.000000] xhci-hcd xhci-hcd.7.auto: remove, state 1 [ 0.000000] usb usb4: USB disconnect, device number 1 -[ 0.000000] xhci-hcd xhci-hcd.9.auto: xHCI Host Controller -[ 0.000000] xhci-hcd xhci-hcd.9.auto: new USB bus registered, assigned bus number 5 -[ 0.000000] xhci-hcd xhci-hcd.9.auto: hcc params 0x0220fe64 hci version 0x110 quirks 0x06030010 -[ 0.000000] xhci-hcd xhci-hcd.9.auto: irq 232, io mem 0xfe900000 +[ 0.000000] xhci-hcd xhci-hcd.8.auto: xHCI Host Controller +[ 0.000000] xhci-hcd xhci-hcd.7.auto: Host not halted after 16000 microseconds. +[ 0.000000] xhci-hcd xhci-hcd.7.auto: Host controller not halted, aborting reset. +[ 0.000000] xhci-hcd xhci-hcd.7.auto: USB bus 4 deregistered +[ 0.000000] xhci-hcd xhci-hcd.8.auto: new USB bus registered, assigned bus number 5 +[ 0.000000] xhci-hcd xhci-hcd.8.auto: hcc params 0x0220fe64 hci version 0x110 quirks 0x06030010 +[ 0.000000] xhci-hcd xhci-hcd.8.auto: irq 231, io mem 0xfe900000 [ 0.000000] usb usb5: New USB device found, idVendor=1d6b, idProduct=0002 [ 0.000000] usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 0.000000] usb usb5: Product: xHCI Host Controller [ 0.000000] usb usb5: Manufacturer: Linux 4.4.213-rk3399 xhci-hcd -[ 0.000000] usb usb5: SerialNumber: xhci-hcd.9.auto +[ 0.000000] usb usb5: SerialNumber: xhci-hcd.8.auto [ 0.000000] hub 5-0:1.0: USB hub found [ 0.000000] hub 5-0:1.0: 1 port detected -[ 0.000000] xhci-hcd xhci-hcd.9.auto: xHCI Host Controller -[ 0.000000] xhci-hcd xhci-hcd.9.auto: new USB bus registered, assigned bus number 6 -[ 0.000000] usb usb6: We don't know the algorithms for LPM for this host, disabling LPM. -[ 0.000000] usb usb6: New USB device found, idVendor=1d6b, idProduct=0003 -[ 0.000000] usb usb6: New USB device strings: Mfr=3, Product=2, SerialNumber=1 -[ 0.000000] usb usb6: Product: xHCI Host Controller -[ 0.000000] usb usb6: Manufacturer: Linux 4.4.213-rk3399 xhci-hcd -[ 0.000000] usb usb6: SerialNumber: xhci-hcd.9.auto -[ 0.000000] hub 6-0:1.0: USB hub found -[ 0.000000] hub 6-0:1.0: 1 port detected -[ 0.000000] xhci-hcd xhci-hcd.8.auto: Host not halted after 16000 microseconds. -[ 0.000000] xhci-hcd xhci-hcd.8.auto: Host controller not halted, aborting reset. -[ 0.000000] xhci-hcd xhci-hcd.8.auto: USB bus 4 deregistered -[ 0.000000] xhci-hcd xhci-hcd.8.auto: remove, state 1 +[ 0.000000] xhci-hcd xhci-hcd.8.auto: xHCI Host Controller +[ 0.000000] xhci-hcd xhci-hcd.7.auto: remove, state 4 [ 0.000000] usb usb3: USB disconnect, device number 1 -[ 0.000000] xhci-hcd xhci-hcd.8.auto: USB bus 3 deregistered -[ 0.000000] ehci-platform fe380000.usb: EHCI Host Controller -[ 0.000000] ehci-platform fe380000.usb: new USB bus registered, assigned bus number 3 -[ 0.000000] ehci-platform fe380000.usb: irq 28, io mem 0xfe380000 -[ 0.000000] ehci-platform fe380000.usb: USB 2.0 started, EHCI 1.00 -[ 0.000000] usb usb3: New USB device found, idVendor=1d6b, idProduct=0002 +[ 0.000000] xhci-hcd xhci-hcd.7.auto: USB bus 3 deregistered +[ 0.000000] xhci-hcd xhci-hcd.8.auto: new USB bus registered, assigned bus number 3 +[ 0.000000] usb usb3: We don't know the algorithms for LPM for this host, disabling LPM. +[ 0.000000] usb usb3: New USB device found, idVendor=1d6b, idProduct=0003 [ 0.000000] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1 -[ 0.000000] usb usb3: Product: EHCI Host Controller -[ 0.000000] usb usb3: Manufacturer: Linux 4.4.213-rk3399 ehci_hcd -[ 0.000000] usb usb3: SerialNumber: fe380000.usb +[ 0.000000] usb usb3: Product: xHCI Host Controller +[ 0.000000] usb usb3: Manufacturer: Linux 4.4.213-rk3399 xhci-hcd +[ 0.000000] usb usb3: SerialNumber: xhci-hcd.8.auto [ 0.000000] hub 3-0:1.0: USB hub found [ 0.000000] hub 3-0:1.0: 1 port detected -[ 0.000000] ohci-platform fe3a0000.usb: Generic Platform OHCI controller -[ 0.000000] ohci-platform fe3a0000.usb: new USB bus registered, assigned bus number 4 -[ 0.000000] ohci-platform fe3a0000.usb: irq 29, io mem 0xfe3a0000 -[ 0.000000] usb usb4: New USB device found, idVendor=1d6b, idProduct=0001 +[ 0.000000] ehci-platform fe380000.usb: EHCI Host Controller +[ 0.000000] ehci-platform fe380000.usb: new USB bus registered, assigned bus number 4 +[ 0.000000] ehci-platform fe380000.usb: irq 28, io mem 0xfe380000 +[ 0.000000] ehci-platform fe380000.usb: USB 2.0 started, EHCI 1.00 +[ 0.000000] usb usb4: New USB device found, idVendor=1d6b, idProduct=0002 [ 0.000000] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1 -[ 0.000000] usb usb4: Product: Generic Platform OHCI controller -[ 0.000000] usb usb4: Manufacturer: Linux 4.4.213-rk3399 ohci_hcd -[ 0.000000] usb usb4: SerialNumber: fe3a0000.usb +[ 0.000000] usb usb4: Product: EHCI Host Controller +[ 0.000000] usb usb4: Manufacturer: Linux 4.4.213-rk3399 ehci_hcd +[ 0.000000] usb usb4: SerialNumber: fe380000.usb [ 0.000000] hub 4-0:1.0: USB hub found [ 0.000000] hub 4-0:1.0: 1 port detected +[ 0.000000] ohci-platform fe3a0000.usb: Generic Platform OHCI controller +[ 0.000000] ohci-platform fe3a0000.usb: new USB bus registered, assigned bus number 6 +[ 0.000000] ohci-platform fe3a0000.usb: irq 29, io mem 0xfe3a0000 +[ 0.000000] usb usb6: New USB device found, idVendor=1d6b, idProduct=0001 +[ 0.000000] usb usb6: New USB device strings: Mfr=3, Product=2, SerialNumber=1 +[ 0.000000] usb usb6: Product: Generic Platform OHCI controller +[ 0.000000] usb usb6: Manufacturer: Linux 4.4.213-rk3399 ohci_hcd +[ 0.000000] usb usb6: SerialNumber: fe3a0000.usb +[ 0.000000] hub 6-0:1.0: USB hub found +[ 0.000000] hub 6-0:1.0: 1 port detected [ 0.000000] input: adc-keys as /devices/platform/adc-keys/input/input2 [ 0.000000] dwmmc_rockchip fe310000.dwmmc: IDMAC supports 32-bit address mode. +[ 0.000000] dwmmc_rockchip fe320000.dwmmc: Successfully tuned phase to 200 +[ 0.000000] mmc0: new ultra high speed SDR104 SDHC card at address 59b4 +[ 0.000000] mmcblk0: mmc0:59b4 USD00 29.5 GiB +[ 0.000000] mmcblk0: p1 [ 0.000000] dwmmc_rockchip fe310000.dwmmc: Using internal DMA controller. [ 0.000000] dwmmc_rockchip fe310000.dwmmc: Version ID is 270a [ 0.000000] dwmmc_rockchip fe310000.dwmmc: DW MMC controller at irq 25,32 bit host data width,256 deep fifo @@ -853,7 +843,11 @@ [ 0.000000] rockchip-dmc dmc: failed to get vop pn to msch rl [ 0.000000] rockchip-dmc dmc: l=-2147483648 h=2147483647 hyst=0 l_limit=0 h_limit=0 [ 0.000000] rockchip-dmc dmc: could not find power_model node -[ 0.000000] devfreq dmc: Couldn't update frequency transition information. +[ 0.000000] mmc2: queuing unknown CIS tuple 0x80 (2 bytes) +[ 0.000000] mmc2: queuing unknown CIS tuple 0x80 (3 bytes) +[ 0.000000] mmc2: queuing unknown CIS tuple 0x80 (3 bytes) +[ 0.000000] mmc2: queuing unknown CIS tuple 0x80 (7 bytes) +[ 0.000000] mmc2: queuing unknown CIS tuple 0x81 (9 bytes) [ 0.000000] of_get_named_gpiod_flags: parsed 'simple-audio-card,hp-det-gpio' property of node '/rt5651-sound[0]' - status (0) [ 0.000000] of_get_named_gpiod_flags: can't parse 'simple-audio-card,mic-det-gpio' property of node '/rt5651-sound[0]' [ 0.000000] asoc-simple-card rt5651-sound: ASoC: DAPM unknown pin Headphones @@ -874,11 +868,10 @@ [ 0.000000] of_get_named_gpiod_flags: parsed 'gpios' property of node '/gpio-keys/button@0[0]' - status (0) [ 0.000000] gpio-5 (GPIO Key Power): gpiod_set_debounce: missing set() or set_debounce() operations [ 0.000000] input: gpio-keys as /devices/platform/gpio-keys/input/input4 -[ 0.000000] rk808-rtc rk808-rtc: setting system clock to 2020-09-20 21:48:10 UTC (1600638490) +[ 0.000000] rk808-rtc rk808-rtc: setting system clock to 2020-09-20 22:21:17 UTC (1600640477) +[ 0.000000] mmc_host mmc2: Bus speed (slot 0) = 150000000Hz (slot req 150000000Hz, actual 150000000HZ div = 0) [ 0.000000] rkisp1 ff910000.rkisp1: rkisp1 driver version: v00.01.04 -[ 0.000000] mmc2: queuing unknown CIS tuple 0x80 (2 bytes) [ 0.000000] rkisp1 ff910000.rkisp1: Missing rockchip,grf property -[ 0.000000] mmc2: queuing unknown CIS tuple 0x80 (3 bytes) [ 0.000000] rkisp1 ff910000.rkisp1: GPIO lookup for consumer vsirq [ 0.000000] rkisp1 ff910000.rkisp1: using device tree for GPIO lookup [ 0.000000] of_get_named_gpiod_flags: can't parse 'vsirq-gpios' property of node '/rkisp1@ff910000[0]' @@ -887,20 +880,19 @@ [ 0.000000] rkisp1 ff910000.rkisp1: lookup for GPIO vsirq failed [ 0.000000] rkisp1 ff920000.rkisp1: rkisp1 driver version: v00.01.04 [ 0.000000] rkisp1 ff920000.rkisp1: Missing rockchip,grf property -[ 0.000000] mmc2: queuing unknown CIS tuple 0x80 (3 bytes) -[ 0.000000] mmc2: queuing unknown CIS tuple 0x80 (7 bytes) [ 0.000000] rkisp1 ff920000.rkisp1: GPIO lookup for consumer vsirq [ 0.000000] rkisp1 ff920000.rkisp1: using device tree for GPIO lookup [ 0.000000] of_get_named_gpiod_flags: can't parse 'vsirq-gpios' property of node '/rkisp1@ff920000[0]' [ 0.000000] of_get_named_gpiod_flags: can't parse 'vsirq-gpio' property of node '/rkisp1@ff920000[0]' [ 0.000000] rkisp1 ff920000.rkisp1: using lookup tables for GPIO lookup [ 0.000000] rkisp1 ff920000.rkisp1: lookup for GPIO vsirq failed -[ 0.000000] mmc2: queuing unknown CIS tuple 0x81 (9 bytes) +[ 0.000000] vcc_lcd: disabling [ 0.000000] rkisp1 ff910000.rkisp1: clear unready subdev num: 3 [ 0.000000] rockchip-mipi-dphy-rx: No link between dphy and sensor [ 0.000000] rockchip-mipi-dphy-rx: No link between dphy and sensor [ 0.000000] rkisp1: update sensor failed [ 0.000000] rkisp1 ff920000.rkisp1: clear unready subdev num: 2 +[ 0.000000] asoc-simple-card rt5651-sound: ASoC: DAPM unknown pin Headphones [ 0.000000] rockchip-mipi-dphy-rx: No link between dphy and sensor [ 0.000000] rockchip-mipi-dphy-rx: No link between dphy and sensor [ 0.000000] rkisp1: update sensor failed @@ -909,15 +901,10 @@ [ 0.000000] #1: rockchip,hdmi [ 0.000000] #2: ROCKCHIP,SPDIF [ 0.000000] Freeing unused kernel memory: 1152K -[ 0.000000] mmc_host mmc2: Bus speed (slot 0) = 150000000Hz (slot req 150000000Hz, actual 150000000HZ div = 0) -[ 0.000000] asoc-simple-card rt5651-sound: ASoC: DAPM unknown pin Headphones -[ 0.000000] dwmmc_rockchip fe310000.dwmmc: Successfully tuned phase to 193 +[ 0.000000] dwmmc_rockchip fe310000.dwmmc: Successfully tuned phase to 189 [ 0.000000] mmc2: queuing unknown CIS tuple 0x91 (3 bytes) [ 0.000000] mmc2: new ultra high speed SDR104 SDIO card at address 0001 -[ 0.000000] cdn-dp fec00000.dp: [drm:cdn_dp_request_firmware] *ERROR* failed to request firmware: -11 [ 0.000000] EXT4-fs (mmcblk0p1): mounted filesystem with writeback data mode. Opts: (null) -[ 0.000000] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null) -[ 0.000000] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null) [ 0.000000] cgroup: cgroup2: unknown option "nsdelegate" [ 0.000000] systemd[1]: systemd 241 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) [ 0.000000] systemd[1]: Detected architecture arm64. @@ -927,101 +914,115 @@ [ 0.000000] systemd[1]: /lib/systemd/system/rk3399-bluetooth.service:10: Support for option SysVStartPriority= has been removed and it is ignored [ 0.000000] systemd[1]: /etc/systemd/system/serial-getty@.service.d/override.conf:5: Unknown lvalue 'After' in section 'Service', ignoring [ 0.000000] systemd[1]: /etc/systemd/system/getty@.service.d/override.conf:5: Unknown lvalue 'After' in section 'Service', ignoring -[ 0.000000] random: systemd: uninitialized urandom read (16 bytes read, 112 bits of entropy available) -[ 0.000000] systemd[1]: Listening on initctl Compatibility Named Pipe. -[ 0.000000] random: systemd: uninitialized urandom read (16 bytes read, 112 bits of entropy available) +[ 0.000000] random: systemd: uninitialized urandom read (16 bytes read, 107 bits of entropy available) +[ 0.000000] random: systemd: uninitialized urandom read (16 bytes read, 107 bits of entropy available) [ 0.000000] systemd[1]: Started Forward Password Requests to Wall Directory Watch. -[ 0.000000] random: systemd: uninitialized urandom read (16 bytes read, 112 bits of entropy available) +[ 0.000000] random: systemd: uninitialized urandom read (16 bytes read, 107 bits of entropy available) +[ 0.000000] systemd[1]: Created slice User and Session Slice. +[ 0.000000] random: systemd: uninitialized urandom read (16 bytes read, 108 bits of entropy available) [ 0.000000] systemd[1]: Listening on Journal Socket (/dev/log). -[ 0.000000] random: systemd: uninitialized urandom read (16 bytes read, 112 bits of entropy available) -[ 0.000000] systemd[1]: Listening on Journal Audit Socket. -[ 0.000000] random: systemd: uninitialized urandom read (16 bytes read, 112 bits of entropy available) -[ 0.000000] systemd[1]: Listening on Journal Socket. -[ 0.000000] random: systemd: uninitialized urandom read (16 bytes read, 120 bits of entropy available) -[ 0.000000] systemd[1]: Starting Set the console keyboard layout... -[ 0.000000] random: systemd: uninitialized urandom read (16 bytes read, 120 bits of entropy available) -[ 0.000000] systemd[1]: Reached target Swap. -[ 0.000000] random: systemd: uninitialized urandom read (16 bytes read, 121 bits of entropy available) -[ 0.000000] systemd[1]: Mounting Huge Pages File System... -[ 0.000000] random: systemd: uninitialized urandom read (16 bytes read, 121 bits of entropy available) -[ 0.000000] systemd[1]: Listening on fsck to fsckd communication Socket. -[ 0.000000] systemd[1]: Condition check resulted in File System Check on Root Device being skipped. -[ 0.000000] random: systemd: uninitialized urandom read (16 bytes read, 121 bits of entropy available) -[ 0.000000] systemd[1]: Starting Create list of required static device nodes for the current kernel... -[ 0.000000] systemd[1]: Starting Load Kernel Modules... +[ 0.000000] random: systemd: uninitialized urandom read (16 bytes read, 108 bits of entropy available) [ 0.000000] systemd[1]: Created slice system-serial\x2dgetty.slice. -[ 0.000000] systemd[1]: Starting Nameserver information manager... -[ 0.000000] systemd[1]: Mounting POSIX Message Queue File System... -[ 0.000000] systemd[1]: Created slice User and Session Slice. +[ 0.000000] random: systemd: uninitialized urandom read (16 bytes read, 108 bits of entropy available) +[ 0.000000] systemd[1]: Listening on udev Control Socket. +[ 0.000000] random: systemd: uninitialized urandom read (16 bytes read, 108 bits of entropy available) +[ 0.000000] systemd[1]: Reached target Slices. +[ 0.000000] random: systemd: uninitialized urandom read (16 bytes read, 108 bits of entropy available) +[ 0.000000] systemd[1]: Listening on fsck to fsckd communication Socket. +[ 0.000000] random: systemd: uninitialized urandom read (16 bytes read, 108 bits of entropy available) +[ 0.000000] systemd[1]: Listening on initctl Compatibility Named Pipe. [ 0.000000] systemd[1]: Condition check resulted in Dispatch Password Requests to Console Directory Watch when bootsplash is active being skipped. +[ 0.000000] random: systemd: uninitialized urandom read (16 bytes read, 108 bits of entropy available) [ 0.000000] systemd[1]: Reached target Local Encrypted Volumes. +[ 0.000000] systemd[1]: Reached target Swap. +[ 0.000000] systemd[1]: Listening on Journal Socket. +[ 0.000000] systemd[1]: Mounting POSIX Message Queue File System... +[ 0.000000] systemd[1]: Condition check resulted in File System Check on Root Device being skipped. +[ 0.000000] systemd[1]: Starting Remount Root and Kernel File Systems... +[ 0.000000] systemd[1]: Starting Restore / save the current clock... +[ 0.000000] systemd[1]: Starting Nameserver information manager... +[ 0.000000] EXT4-fs (mmcblk0p1): re-mounted. Opts: commit=600,errors=remount-ro +[ 0.000000] systemd[1]: Starting Set the console keyboard layout... +[ 0.000000] systemd[1]: Mounting Kernel Debug File System... +[ 0.000000] systemd[1]: Reached target Remote File Systems. +[ 0.000000] systemd[1]: Listening on Journal Audit Socket. [ 0.000000] systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point. [ 0.000000] systemd[1]: Condition check resulted in Set Up Additional Binary Formats being skipped. -[ 0.000000] systemd[1]: Mounting Kernel Debug File System... +[ 0.000000] systemd[1]: Starting Create list of required static device nodes for the current kernel... [ 0.000000] systemd[1]: Listening on udev Kernel Socket. -[ 0.000000] systemd[1]: Starting Restore / save the current clock... -[ 0.000000] systemd[1]: Listening on udev Control Socket. -[ 0.000000] systemd[1]: Starting Remount Root and Kernel File Systems... -[ 0.000000] systemd[1]: Reached target Remote File Systems. [ 0.000000] systemd[1]: Starting udev Coldplug all Devices... -[ 0.000000] systemd[1]: Reached target Slices. -[ 0.000000] systemd[1]: Mounted Huge Pages File System. -[ 0.000000] systemd[1]: Started Create list of required static device nodes for the current kernel. -[ 0.000000] systemd[1]: Started Load Kernel Modules. +[ 0.000000] systemd[1]: Mounting Huge Pages File System... +[ 0.000000] systemd[1]: Starting Load Kernel Modules... [ 0.000000] systemd[1]: Mounted POSIX Message Queue File System. +[ 0.000000] systemd[1]: Started Remount Root and Kernel File Systems. +[ 0.000000] systemd[1]: Started Restore / save the current clock. [ 0.000000] systemd[1]: Mounted Kernel Debug File System. -[ 0.000000] systemd[1]: Mounting Kernel Configuration File System... +[ 0.000000] systemd[1]: Started Create list of required static device nodes for the current kernel. +[ 0.000000] systemd[1]: Mounted Huge Pages File System. +[ 0.000000] systemd[1]: Started Load Kernel Modules. +[ 0.000000] systemd[1]: Started Nameserver information manager. [ 0.000000] systemd[1]: Mounting FUSE Control File System... +[ 0.000000] systemd[1]: Mounting Kernel Configuration File System... [ 0.000000] systemd[1]: Starting Apply Kernel Variables... -[ 0.000000] systemd[1]: Started Restore / save the current clock. -[ 0.000000] systemd[1]: Started Remount Root and Kernel File Systems. -[ 0.000000] systemd[1]: Started Nameserver information manager. -[ 0.000000] systemd[1]: Mounted Kernel Configuration File System. -[ 0.000000] systemd[1]: Mounted FUSE Control File System. -[ 0.000000] systemd[1]: Starting Load/Save Random Seed... [ 0.000000] systemd[1]: Starting Create System Users... +[ 0.000000] systemd[1]: Starting Load/Save Random Seed... [ 0.000000] systemd[1]: Condition check resulted in Rebuild Hardware Database being skipped. +[ 0.000000] systemd[1]: Mounted FUSE Control File System. +[ 0.000000] systemd[1]: Mounted Kernel Configuration File System. [ 0.000000] systemd[1]: Started Apply Kernel Variables. -[ 0.000000] random: nonblocking pool is initialized -[ 0.000000] systemd[1]: Started Set the console keyboard layout. [ 0.000000] systemd[1]: Started Load/Save Random Seed. +[ 0.000000] systemd[1]: Started Set the console keyboard layout. +[ 0.000000] systemd[1]: Started udev Coldplug all Devices. +[ 0.000000] systemd[1]: Starting Helper to synchronize boot up for ifupdown... +[ 0.000000] random: nonblocking pool is initialized [ 0.000000] systemd[1]: Started Create System Users. [ 0.000000] systemd[1]: Starting Create Static Device Nodes in /dev... +[ 0.000000] systemd[1]: Started Helper to synchronize boot up for ifupdown. [ 0.000000] systemd[1]: Started Create Static Device Nodes in /dev. +[ 0.000000] systemd[1]: Starting udev Kernel Device Manager... [ 0.000000] systemd[1]: Reached target Local File Systems (Pre). [ 0.000000] systemd[1]: Mounting /tmp... -[ 0.000000] systemd[1]: Starting udev Kernel Device Manager... -[ 0.000000] systemd[1]: Started udev Coldplug all Devices. [ 0.000000] systemd[1]: Mounted /tmp. [ 0.000000] systemd[1]: Reached target Local File Systems. -[ 0.000000] systemd[1]: Condition check resulted in Commit a transient machine-id on disk being skipped. [ 0.000000] systemd[1]: Starting Mark the need to relabel after reboot... -[ 0.000000] systemd[1]: Starting Set console font and keymap... [ 0.000000] systemd[1]: Starting Armbian ZRAM config... -[ 0.000000] systemd[1]: Starting Helper to synchronize boot up for ifupdown... +[ 0.000000] systemd[1]: Starting Raise network interfaces... +[ 0.000000] systemd[1]: Condition check resulted in Commit a transient machine-id on disk being skipped. +[ 0.000000] systemd[1]: Starting Set console font and keymap... [ 0.000000] systemd[1]: Started Mark the need to relabel after reboot. [ 0.000000] systemd[1]: Started Set console font and keymap. -[ 0.000000] systemd[1]: Started Helper to synchronize boot up for ifupdown. -[ 0.000000] systemd[1]: Starting Raise network interfaces... [ 0.000000] systemd[1]: Started udev Kernel Device Manager. +[ 0.000000] zram0: detected capacity change from 0 to 52428800 [ 0.000000] systemd[1]: Created slice system-systemd\x2dbacklight.slice. [ 0.000000] systemd[1]: Starting Load/Save Screen Backlight Brightness of backlight:backlight... -[ 0.000000] systemd[1]: Started Load/Save Screen Backlight Brightness of backlight:backlight. [ 0.000000] systemd[1]: Started Raise network interfaces. -[ 0.000000] zram0: detected capacity change from 0 to 52428800 -[ 0.000000] systemd[1]: Found device /dev/ttyFIQ0. [ 0.000000] systemd[1]: armbian-zram-config.service: Main process exited, code=exited, status=1/FAILURE [ 0.000000] systemd[1]: armbian-zram-config.service: Failed with result 'exit-code'. [ 0.000000] systemd[1]: Failed to start Armbian ZRAM config. +[ 0.000000] systemd[1]: Started Load/Save Screen Backlight Brightness of backlight:backlight. +[ 0.000000] systemd[1]: Found device /dev/ttyFIQ0. +[ 0.000000] systemd[1]: Starting Armbian ZRAM config... +[ 0.000000] systemd[1]: Condition check resulted in Dispatch Password Requests to Console Directory Watch when bootsplash is active being skipped. +[ 0.000000] systemd[1]: Condition check resulted in Set Up Additional Binary Formats being skipped. +[ 0.000000] systemd[1]: Condition check resulted in Rebuild Hardware Database being skipped. +[ 0.000000] systemd[1]: Condition check resulted in Commit a transient machine-id on disk being skipped. [ 0.000000] systemd[1]: Listening on Load/Save RF Kill Switch Status /dev/rfkill Watch. -[ 0.000000] systemd[1]: Created slice system-zram\x2dsetup.slice. [ 0.000000] systemd[1]: Condition check resulted in Rebuild Hardware Database being skipped. -[ 0.000000] systemd[1]: Condition check resulted in Dispatch Password Requests to Console Directory Watch when bootsplash is active being skipped. +[ 0.000000] systemd[1]: Created slice system-zram\x2dsetup.slice. [ 0.000000] systemd[1]: Condition check resulted in Set Up Additional Binary Formats being skipped. +[ 0.000000] systemd[1]: Condition check resulted in Dispatch Password Requests to Console Directory Watch when bootsplash is active being skipped. [ 0.000000] systemd[1]: Condition check resulted in Commit a transient machine-id on disk being skipped. -[ 0.000000] systemd[1]: Starting Armbian ZRAM config... [ 0.000000] systemd[1]: Starting Load/Save RF Kill Switch Status... [ 0.000000] systemd[1]: Started Load/Save RF Kill Switch Status. +[ 0.000000] zram: Can't change algorithm for initialized device +[ 0.000000] zram: Can't change algorithm for initialized device +[ 0.000000] zram: Cannot change disksize for initialized device +[ 0.000000] zram: Cannot change disksize for initialized device +[ 0.000000] systemd[1]: armbian-zram-config.service: Main process exited, code=exited, status=1/FAILURE +[ 0.000000] systemd[1]: armbian-zram-config.service: Failed with result 'exit-code'. +[ 0.000000] systemd[1]: Failed to start Armbian ZRAM config. +[ 0.000000] systemd[1]: Starting Armbian memory supported logging... +[ 0.000000] EXT4-fs (zram0): mounted filesystem without journal. Opts: discard [ 0.000000] cfg80211: World regulatory domain updated: [ 0.000000] cfg80211: DFS Master region: unset [ 0.000000] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time) @@ -1033,29 +1034,22 @@ [ 0.000000] cfg80211: (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s) [ 0.000000] cfg80211: (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A) [ 0.000000] cfg80211: (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A) -[ 0.000000] zram: Can't change algorithm for initialized device -[ 0.000000] zram: Can't change algorithm for initialized device -[ 0.000000] zram: Cannot change disksize for initialized device -[ 0.000000] zram: Cannot change disksize for initialized device -[ 0.000000] systemd[1]: armbian-zram-config.service: Main process exited, code=exited, status=1/FAILURE -[ 0.000000] systemd[1]: armbian-zram-config.service: Failed with result 'exit-code'. -[ 0.000000] systemd[1]: Failed to start Armbian ZRAM config. -[ 0.000000] systemd[1]: Starting Armbian memory supported logging... -[ 0.000000] EXT4-fs (zram0): mounted filesystem without journal. Opts: discard [ 0.000000] systemd[1]: Started Armbian memory supported logging. [ 0.000000] systemd[1]: Starting Journal Service... [ 0.000000] systemd[1]: Started Journal Service. -[ 0.000000] systemd-journald[693]: Received request to flush runtime journal from PID 1 +[ 0.000000] systemd-journald[655]: Received request to flush runtime journal from PID 1 [ 0.000000] IPVS: Creating netns size=2360 id=1 [ 0.000000] IPVS: ftp: loaded support on port[0] = 21 -[ 10.190052] nr_pdflush_threads exported in /proc is scheduled for removal -[ 10.266815] [BT_RFKILL]: ENABLE UART_RTS -[ 10.298997] 8021q: 802.1Q VLAN Support v1.8 -[ 10.367650] [BT_RFKILL]: DISABLE UART_RTS -[ 10.367713] [BT_RFKILL]: bt turn on power -[ 10.602496] ttyS0 - failed to request DMA, use interrupt mode -[ 11.067068] IPVS: Creating netns size=2360 id=2 -[ 11.067114] IPVS: ftp: loaded support on port[0] = 21 -[ 16.107028] tty_port_close_start: tty->count = 1 port count = 2. -[ 16.460079] rk_gmac-dwmac fe300000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off -[ 31.229848] tty_port_close_start: tty->count = 1 port count = 2. +[ 0.000000] EXT4-fs (mmcblk0p1): resizing filesystem from 1048576 to 7662464 blocks +[ 0.000000] nr_pdflush_threads exported in /proc is scheduled for removal +[ 10.057266] EXT4-fs (mmcblk0p1): resized filesystem to 7662464 +[ 10.674773] 8021q: 802.1Q VLAN Support v1.8 +[ 10.685143] [BT_RFKILL]: ENABLE UART_RTS +[ 10.785766] [BT_RFKILL]: DISABLE UART_RTS +[ 10.785832] [BT_RFKILL]: bt turn on power +[ 10.987037] ttyS0 - failed to request DMA, use interrupt mode +[ 11.411052] IPVS: Creating netns size=2360 id=2 +[ 11.411064] IPVS: ftp: loaded support on port[0] = 21 +[ 16.425287] tty_port_close_start: tty->count = 1 port count = 2. +[ 16.852307] rk_gmac-dwmac fe300000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off +[ 31.749828] tty_port_close_start: tty->count = 1 port count = 2.
  2. I should mention that the display backlight does seem to turn on with the legacy kernel, but it's a black screen and X doesn't detect it. I've even tried copying /etc/X11 from the lubuntu build but that didn't do anything either :/
  3. Sorry should've mentioned. I'm using the legacy kernel. Though it doesn't detect the display with either one :/
  4. FriendlyELEC sells an 11.6inch eDP FHD LCD Display with Capacitive Touch for the nanoPC-T4. I'm trying my hardest to get it working with Armbian. Unfortunately, Armbian doesn't seem to detect the display: root@nanopct4:~# xrandr --listmonitors Monitors: 0 It works in the stock lubuntu image they provide so I'm trying to gather as much configuration information as I can from lubuntu to see what I need to do to get it working. I want to try a few different experiments.. I have a kernel.img file from lubuntu that I'd like to try booting with Armbian but I don't understand uboot very well and simply copying the kernel.img file to /boot under the same name as the existing vmlinuz file seemed to only brick the install (even after I copied back the old image). Is there a way to properly get uboot to boot that image with Armbian? Here's what I've gotten so far from lubuntu configuration: Kernel command line: earlycon=uart8250,mmio32,0xff1a0000 swiotlb=1 console=ttyFIQ0 rootwait coherent_pool=1m root=/dev/mmcblk0p1 rw rootfstype=ext4 data=/dev/mmcblk0p2 consoleblank=0 cgroup_enable=cpuset cgroup_memory=1 cgroup_enable=memory swapaccount=1 lcd=LC116LF1L01 storagemedia=sd I did notice that lcd=LC116LF1L01 line.. I have no idea what that's for and adding that to Armbian kernel command line did nothing :/ root@FriendlyELEC:~# xrandr Screen 0: minimum 320 x 200, current 1920 x 1080, maximum 8192 x 8192 eDP-1 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 0mm x 0mm 1920x1080 60.00* HDMI-1 disconnected (normal left inverted right x axis y axis) DP-1 disconnected (normal left inverted right x axis y axis) root@FriendlyELEC:~# xrandr --listmonitors Monitors: 1 0: +eDP-1 1920/508x1080/286+0+0 eDP-1 Xorg.0.log: X.Org X Server 1.18.4 Release Date: 2016-07-19 [1713143.338] X Protocol Version 11, Revision 0 [1713143.338] Build Operating System: Linux 4.6.0-1-amd64 x86_64 Debian [1713143.338] Current Operating System: Linux FriendlyELEC 4.4.179 #1 SMP Thu Aug 13 12:57:41 CST 2020 aarch64 [1713143.339] Kernel command line: earlycon=uart8250,mmio32,0xff1a0000 swiotlb=1 console=ttyFIQ0 rootwait coherent_pool=1m root=/dev/mmcblk0p1 rw rootfstype=ext4 data=/dev/mmcblk0p2 consoleblank=0 cgroup_enable=cpuset cgroup_memory=1 cgroup_enable=memory swapaccount=1 lcd=LC116LF1L01 storagemedia=sd uboot_logo=0x02000000@0xf5c00000 loader.timestamp=2020-03-16_16:45:22 SecureBootCheckOk=0 [1713143.339] Build Date: 23 December 2016 10:24:38AM [1713143.339] xorg-server 2:1.18.4-1 (http://www.debian.org/support) [1713143.339] Current version of pixman: 0.33.6 [1713143.339] Before reporting problems, check http://wiki.x.org to make sure that you have the latest version. [1713143.339] Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. [1713143.340] (==) Log file: "/var/log/Xorg.0.log", Time: Mon Sep 7 01:09:37 2020 [1713143.341] (==) Using config directory: "/etc/X11/xorg.conf.d" [1713143.341] (==) Using system config directory "/usr/share/X11/xorg.conf.d" [1713143.342] (==) No Layout section. Using the first Screen section. [1713143.342] (==) No screen section available. Using defaults. [1713143.342] (**) |-->Screen "Default Screen Section" (0) [1713143.343] (**) | |-->Monitor "<default monitor>" [1713143.343] (==) No device specified for screen "Default Screen Section". Using the first device section listed. [1713143.343] (**) | |-->Device "Rockchip Graphics" [1713143.343] (==) No monitor specified for screen "Default Screen Section". Using a default monitor configuration. [1713143.343] (==) Automatically adding devices [1713143.343] (==) Automatically enabling devices [1713143.343] (==) Automatically adding GPU devices [1713143.343] (==) Max clients allowed: 256, resource mask: 0x1fffff [1713143.343] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist. [1713143.343] Entry deleted from font path. [1713143.343] (WW) The directory "/usr/share/fonts/X11/75dpi/" does not exist. [1713143.343] Entry deleted from font path. [1713143.344] (WW) The directory "/usr/share/fonts/X11/75dpi" does not exist. [1713143.344] Entry deleted from font path. [1713143.344] (==) FontPath set to: /usr/share/fonts/X11/misc, /usr/share/fonts/X11/100dpi/:unscaled, /usr/share/fonts/X11/Type1, /usr/share/fonts/X11/100dpi, built-ins [1713143.344] (==) ModulePath set to "/usr/lib/xorg/modules" [1713143.344] (II) The server relies on udev to provide the list of input devices. If no devices become available, reconfigure udev or disable AutoAddDevices. [1713143.344] (II) Loader magic: 0x16af40 [1713143.344] (II) Module ABI versions: [1713143.344] X.Org ANSI C Emulation: 0.4 [1713143.344] X.Org Video Driver: 20.0 [1713143.344] X.Org XInput driver : 22.1 [1713143.344] X.Org Server Extension : 9.0 [1713143.348] (--) using VT number 2 [1713143.348] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration [1713143.350] (II) xfree86: Adding drm device (/dev/dri/card0) [1713143.368] (II) no primary bus or device found [1713143.368] falling back to /sys/devices/platform/display-subsystem/drm/card0 [1713143.368] (II) LoadModule: "glx" [1713143.369] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so [1713143.374] (II) Module glx: vendor="X.Org Foundation" [1713143.374] compiled for 1.18.4, module version = 1.0.0 [1713143.374] ABI class: X.Org Server Extension, version 9.0 [1713143.374] (==) AIGLX enabled [1713143.374] (II) LoadModule: "modesetting" [1713143.374] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so [1713143.375] (II) Module modesetting: vendor="X.Org Foundation" [1713143.375] compiled for 1.18.4, module version = 1.18.4 [1713143.375] Module class: X.Org Video Driver [1713143.375] ABI class: X.Org Video Driver, version 20.0 [1713143.375] (II) modesetting: Driver for Modesetting Kernel Drivers: kms [1713143.450] (II) modeset(0): using drv /dev/dri/card0 [1713143.451] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support [1713143.451] (II) modeset(0): Creating default Display subsection in Screen section "Default Screen Section" for depth/fbbpp 24/32 [1713143.451] (==) modeset(0): Depth 24, (==) framebuffer bpp 32 [1713143.451] (**) modeset(0): Option "AccelMethod" "glamor" [1713143.451] (==) modeset(0): RGB weight 888 [1713143.451] (==) modeset(0): Default visual is TrueColor [1713143.451] (II) Loading sub module "glamoregl" [1713143.451] (II) LoadModule: "glamoregl" [1713143.452] (II) Loading /usr/lib/xorg/modules/libglamoregl.so [1713143.489] (II) Module glamoregl: vendor="X.Org Foundation" [1713143.489] compiled for 1.18.4, module version = 1.0.0 [1713143.490] ABI class: X.Org ANSI C Emulation, version 0.4 [1713143.490] (II) glamor: OpenGL accelerated X.org driver based. [1713143.494] (II) glamor: EGL version 1.4 Midgard-"r14p0-01rel0": [1713143.494] EGL_KHR_surfaceless_gles2 required. [1713143.498] (II) modeset(0): Using GLES2. [1713143.498] (WW) modeset(0): Glamor is using GLES2 but GLX needs GL. Indirect GLX may not work correctly. [1713143.498] (II) modeset(0): glamor initialized [1713143.501] (II) modeset(0): Output eDP-1 has no monitor section [1713143.501] (II) modeset(0): Output HDMI-1 has no monitor section [1713143.501] (II) modeset(0): Output DP-1 has no monitor section [1713143.502] (II) modeset(0): EDID for output eDP-1 [1713143.502] (II) modeset(0): Printing probed modes for output eDP-1 [1713143.502] (II) modeset(0): Modeline "1920x1080"x60.0 138.65 1920 1968 2000 2080 1080 1083 1088 1111 +hsync +vsync (66.7 kHz) [1713143.502] (II) modeset(0): EDID for output HDMI-1 [1713143.502] (II) modeset(0): EDID for output DP-1 [1713143.502] (II) modeset(0): Output eDP-1 connected [1713143.502] (II) modeset(0): Output HDMI-1 disconnected [1713143.502] (II) modeset(0): Output DP-1 disconnected [1713143.502] (II) modeset(0): Using sloppy heuristic for initial modes [1713143.502] (II) modeset(0): Output eDP-1 using initial mode 1920x1080 +0+0 [1713143.502] (II) modeset(0): Using default gamma of (1.0, 1.0, 1.0) unless otherwise stated. [1713143.502] (==) modeset(0): DPI set to (96, 96) [1713143.502] (II) Loading sub module "fb" [1713143.502] (II) LoadModule: "fb" [1713143.503] (II) Loading /usr/lib/xorg/modules/libfb.so [1713143.503] (II) Module fb: vendor="X.Org Foundation" [1713143.503] compiled for 1.18.4, module version = 1.0.0 [1713143.503] ABI class: X.Org ANSI C Emulation, version 0.4 [1713143.504] (==) Depth 24 pixmap format is 32 bpp [1713143.727] (==) modeset(0): Backing store enabled [1713143.728] (==) modeset(0): Silken mouse enabled [1713143.728] (II) modeset(0): RandR 1.2 enabled, ignore the following RandR disabled message. [1713143.728] (==) modeset(0): DPMS enabled [1713143.728] (WW) modeset(0): Option "DRI" is not used [1713143.728] (II) modeset(0): [DRI2] Setup complete [1713143.728] (II) modeset(0): [DRI2] DRI driver: rockchip [1713143.728] (II) modeset(0): [DRI2] VDPAU driver: rockchip [1713143.750] (--) RandR disabled [1713143.761] (II) SELinux: Disabled on system [1713143.762] (EE) AIGLX error: dlopen of /usr/lib/arm-linux-gnueabihf/dri/rockchip_dri.so failed (/usr/lib/arm-linux-gnueabihf/dri/rockchip_dri.so: cannot open shared object file: No such file or directory) [1713143.762] (EE) AIGLX: reverting to software rendering [1713143.812] (II) AIGLX: enabled GLX_MESA_copy_sub_buffer [1713143.813] (II) AIGLX: Loaded and initialized swrast [1713143.813] (II) GLX: Initialized DRISWRAST GL provider for screen 0 [1713143.835] (II) modeset(0): Setting screen physical size to 508 x 285 [1713143.917] (II) config/udev: Adding input device adc-keys (/dev/input/event2) [1713143.917] (**) adc-keys: Applying InputClass "evdev keyboard catchall" [1713143.917] (II) LoadModule: "evdev" [1713143.917] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so [1713143.918] (II) Module evdev: vendor="X.Org Foundation" [1713143.918] compiled for 1.18.1, module version = 2.10.1 [1713143.918] Module class: X.Org XInput Driver [1713143.918] ABI class: X.Org XInput driver, version 22.1 [1713143.918] (II) Using input driver 'evdev' for 'adc-keys' [1713143.918] (**) adc-keys: always reports core events [1713143.919] (**) evdev: adc-keys: Device: "/dev/input/event2" [1713143.919] (--) evdev: adc-keys: Vendor 0x1 Product 0x1 [1713143.919] (--) evdev: adc-keys: Found keys [1713143.919] (II) evdev: adc-keys: Configuring as keyboard [1713143.919] (**) Option "config_info" "udev:/sys/devices/platform/adc-keys/input/input2/event2" [1713143.919] (II) XINPUT: Adding extended input device "adc-keys" (type: KEYBOARD, id 6) [1713143.919] (**) Option "xkb_rules" "evdev" [1713143.919] (**) Option "xkb_model" "pc105" [1713143.919] (**) Option "xkb_layout" "us" [1713143.921] (II) config/udev: Adding input device Typec_Headphone (/dev/input/event0) [1713143.921] (II) No input driver specified, ignoring this device. [1713143.921] (II) This device may have been added with another device file. [1713143.922] (II) config/udev: Adding input device EP0790M09 (/dev/input/event1) [1713143.922] (**) EP0790M09: Applying InputClass "evdev touchscreen catchall" [1713143.922] (II) Using input driver 'evdev' for 'EP0790M09' [1713143.922] (**) EP0790M09: always reports core events [1713143.922] (**) evdev: EP0790M09: Device: "/dev/input/event1" [1713143.922] (--) evdev: EP0790M09: Vendor 0 Product 0 [1713143.922] (--) evdev: EP0790M09: Found absolute axes [1713143.922] (--) evdev: EP0790M09: Found absolute multitouch axes [1713143.922] (II) evdev: EP0790M09: No buttons found, faking one. [1713143.922] (--) evdev: EP0790M09: Found x and y absolute axes [1713143.922] (--) evdev: EP0790M09: Found absolute touchscreen [1713143.922] (II) evdev: EP0790M09: Configuring as touchscreen [1713143.922] (**) evdev: EP0790M09: YAxisMapping: buttons 4 and 5 [1713143.922] (**) evdev: EP0790M09: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200 [1713143.922] (**) Option "config_info" "udev:/sys/devices/platform/ff3d0000.i2c/i2c-4/4-0038/input/input1/event1" [1713143.922] (II) XINPUT: Adding extended input device "EP0790M09" (type: TOUCHSCREEN, id 7) [1713143.922] (II) evdev: EP0790M09: initialized for absolute axes. [1713143.922] (**) EP0790M09: (accel) keeping acceleration scheme 1 [1713143.922] (**) EP0790M09: (accel) acceleration profile 0 [1713143.922] (**) EP0790M09: (accel) acceleration factor: 2.000 [1713143.922] (**) EP0790M09: (accel) acceleration threshold: 4 [1713143.923] (II) config/udev: Adding input device EP0790M09 (/dev/input/mouse0) [1713143.923] (II) No input driver specified, ignoring this device. [1713143.923] (II) This device may have been added with another device file. [1713143.924] (II) config/udev: Adding input device gpio-keys (/dev/input/event4) [1713143.924] (**) gpio-keys: Applying InputClass "evdev keyboard catchall" [1713143.924] (II) Using input driver 'evdev' for 'gpio-keys' [1713143.924] (**) gpio-keys: always reports core events [1713143.924] (**) evdev: gpio-keys: Device: "/dev/input/event4" [1713143.924] (--) evdev: gpio-keys: Vendor 0x1 Product 0x1 [1713143.924] (--) evdev: gpio-keys: Found keys [1713143.924] (II) evdev: gpio-keys: Configuring as keyboard [1713143.924] (**) Option "config_info" "udev:/sys/devices/platform/gpio-keys/input/input4/event4" [1713143.924] (II) XINPUT: Adding extended input device "gpio-keys" (type: KEYBOARD, id 8) [1713143.924] (**) Option "xkb_rules" "evdev" [1713143.924] (**) Option "xkb_model" "pc105" [1713143.924] (**) Option "xkb_layout" "us" [1713143.925] (II) config/udev: Adding input device realtek,rt5651-codec Headphones (/dev/input/event3) [1713143.925] (II) No input driver specified, ignoring this device. [1713143.925] (II) This device may have been added with another device file. [1713190.723] (II) config/udev: Adding input device Logitech K400 Plus (/dev/input/mouse1) [1713190.723] (II) No input driver specified, ignoring this device. [1713190.723] (II) This device may have been added with another device file. [1713190.735] (II) config/udev: Adding input device Logitech K400 Plus (/dev/input/event5) [1713190.735] (**) Logitech K400 Plus: Applying InputClass "evdev pointer catchall" [1713190.735] (**) Logitech K400 Plus: Applying InputClass "evdev keyboard catchall" [1713190.735] (II) Using input driver 'evdev' for 'Logitech K400 Plus' [1713190.735] (**) Logitech K400 Plus: always reports core events [1713190.735] (**) evdev: Logitech K400 Plus: Device: "/dev/input/event5" [1713190.736] (--) evdev: Logitech K400 Plus: Vendor 0x46d Product 0x404d [1713190.736] (--) evdev: Logitech K400 Plus: Found 20 mouse buttons [1713190.736] (--) evdev: Logitech K400 Plus: Found scroll wheel(s) [1713190.736] (--) evdev: Logitech K400 Plus: Found relative axes [1713190.736] (--) evdev: Logitech K400 Plus: Found x and y relative axes [1713190.736] (--) evdev: Logitech K400 Plus: Found absolute axes [1713190.736] (II) evdev: Logitech K400 Plus: Forcing absolute x/y axes to exist. [1713190.736] (--) evdev: Logitech K400 Plus: Found keys [1713190.736] (II) evdev: Logitech K400 Plus: Configuring as mouse [1713190.736] (II) evdev: Logitech K400 Plus: Configuring as keyboard [1713190.736] (II) evdev: Logitech K400 Plus: Adding scrollwheel support [1713190.736] (**) evdev: Logitech K400 Plus: YAxisMapping: buttons 4 and 5 [1713190.736] (**) evdev: Logitech K400 Plus: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200 [1713190.736] (**) Option "config_info" "udev:/sys/devices/platform/usb1/fe900000.dwc3/xhci-hcd.9.auto/usb5/5-1/5-1:1.2/0003:046D:C52B.0003/0003:046D:404D.0004/input/input5/event5" [1713190.736] (II) XINPUT: Adding extended input device "Logitech K400 Plus" (type: KEYBOARD, id 9) [1713190.736] (**) Option "xkb_rules" "evdev" [1713190.736] (**) Option "xkb_model" "pc105" [1713190.736] (**) Option "xkb_layout" "us" [1713190.736] (WW) Option "xkb_variant" requires a string value [1713190.736] (WW) Option "xkb_options" requires a string value [1713190.738] (II) evdev: Logitech K400 Plus: initialized for relative axes. [1713190.738] (WW) evdev: Logitech K400 Plus: ignoring absolute axes. [1713190.738] (**) Logitech K400 Plus: (accel) keeping acceleration scheme 1 [1713190.738] (**) Logitech K400 Plus: (accel) acceleration profile 0 [1713190.738] (**) Logitech K400 Plus: (accel) acceleration factor: 2.000 [1713190.738] (**) Logitech K400 Plus: (accel) acceleration threshold: 4 [1713296.783] (II) config/udev: removing device Logitech K400 Plus [1713296.789] (II) evdev: Logitech K400 Plus: Close [1713296.789] (II) UnloadModule: "evdev" [1713366.491] (II) config/udev: Adding input device Logitech K400 Plus (/dev/input/mouse1) [1713366.491] (II) No input driver specified, ignoring this device. [1713366.491] (II) This device may have been added with another device file. [1713366.520] (II) config/udev: Adding input device Logitech K400 Plus (/dev/input/event5) [1713366.520] (**) Logitech K400 Plus: Applying InputClass "evdev pointer catchall" [1713366.520] (**) Logitech K400 Plus: Applying InputClass "evdev keyboard catchall" [1713366.520] (II) Using input driver 'evdev' for 'Logitech K400 Plus' [1713366.520] (**) Logitech K400 Plus: always reports core events [1713366.520] (**) evdev: Logitech K400 Plus: Device: "/dev/input/event5" [1713366.520] (--) evdev: Logitech K400 Plus: Vendor 0x46d Product 0x404d [1713366.520] (--) evdev: Logitech K400 Plus: Found 20 mouse buttons [1713366.520] (--) evdev: Logitech K400 Plus: Found scroll wheel(s) [1713366.520] (--) evdev: Logitech K400 Plus: Found relative axes [1713366.520] (--) evdev: Logitech K400 Plus: Found x and y relative axes [1713366.520] (--) evdev: Logitech K400 Plus: Found absolute axes [1713366.520] (II) evdev: Logitech K400 Plus: Forcing absolute x/y axes to exist. [1713366.520] (--) evdev: Logitech K400 Plus: Found keys [1713366.520] (II) evdev: Logitech K400 Plus: Configuring as mouse [1713366.520] (II) evdev: Logitech K400 Plus: Configuring as keyboard [1713366.520] (II) evdev: Logitech K400 Plus: Adding scrollwheel support [1713366.520] (**) evdev: Logitech K400 Plus: YAxisMapping: buttons 4 and 5 [1713366.520] (**) evdev: Logitech K400 Plus: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200 [1713366.520] (**) Option "config_info" "udev:/sys/devices/platform/usb1/fe900000.dwc3/xhci-hcd.9.auto/usb5/5-1/5-1:1.2/0003:046D:C52B.0007/0003:046D:404D.0008/input/input6/event5" [1713366.520] (II) XINPUT: Adding extended input device "Logitech K400 Plus" (type: KEYBOARD, id 9) [1713366.520] (**) Option "xkb_rules" "evdev" [1713366.520] (**) Option "xkb_model" "pc105" [1713366.521] (**) Option "xkb_layout" "us" [1713366.521] (WW) Option "xkb_variant" requires a string value [1713366.521] (WW) Option "xkb_options" requires a string value [1713366.522] (II) evdev: Logitech K400 Plus: initialized for relative axes. [1713366.522] (WW) evdev: Logitech K400 Plus: ignoring absolute axes. [1713366.522] (**) Logitech K400 Plus: (accel) keeping acceleration scheme 1 [1713366.522] (**) Logitech K400 Plus: (accel) acceleration profile 0 [1713366.522] (**) Logitech K400 Plus: (accel) acceleration factor: 2.000 [1713366.522] (**) Logitech K400 Plus: (accel) acceleration threshold: 4 [1713389.710] (II) config/udev: removing device Logitech K400 Plus [1713389.718] (II) evdev: Logitech K400 Plus: Close [1713389.718] (II) UnloadModule: "evdev"
  5. I can understand why you're frustrated doing all this for (essentially) free. Let me see what I can do to help. Can you answer some questions for me? I do know C and I am a software engineer, but I've never worked with the kernel before and my low level/device driver knowledge isn't so good. Is the learning curve for this type of work too steep to have this be my first project? > It's expensive work If it is too difficult to learn, do you have any idea how expensive this would be? I do appreciate you keeping the lights on man. I know this project wouldn't exist without your help.
  6. Yup that did it. It boots fine with the latest commit 716bd3b9dc.. as long as HDMI is unplugged. If HDMI is plugged in, it will enter that boot loop. I can plug in HDMI after the boot loader gets to this point: I feel like I'm not going to be the last person to run into this issue so I hope they find this post.. Side note: is there any way to have the kernel redirect output to the serial console after this point? Because otherwise I don't see anything until the system reaches the login prompts. I'm more than happy to be a tester for this.
  7. So I noticed my NanoPC-T4's will not boot an image made with the latest armbian build script. I did a binary search on the commits and tracked down the breaking change: commit 75d0f64e3d75e7c34466871b9723ef1a238609d8 <- THIS COMMIT AND ANYTHING AFTER IS BROKEN Author: Piotr Szczepanik <piter75@gmail.com> Date: Fri Apr 17 21:30:37 2020 +0200 Switch rk3399 to u-boot v2020.04 (#1873) * Switched rk3399 to u-boot 2020.04-rc4 * Switched rk3399 u-boot to v2020.04, synchronized configs * Updated to u-boot v2020.04 final * Fixed OrangePi 4 device tree reference commit cc98ba3c0d3ff8d84ed08bfbf691b3bc94a6bc2b <- THIS BOOTS FINE Author: Igor Pečovnik <igorpecovnik@users.noreply.github.com> Date: Fri Apr 17 21:29:06 2020 +0200 Disable MESA on bionic (#1895) Also enable xfce4 power manager on some boards Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com> I checked the output on the serial console, it looks like the board gets stuck in an infinite boot loop: ######## POWER ON BOARD ######## DDR Version 1.24 20191016 In Channel 0: LPDDR3, 800MHz CS = 0 MR0=0x58 MR1=0x58 MR2=0x58 MR3=0x58 MR4=0x2 MR5=0x1 MR6=0x6 MR7=0x0 MR8=0x1F MR9=0x1F MR10=0x1F MR11=0x1F MR12=0x1F MR13=0x1F MR14=0x1F MR15=0x1F MR16=0x1F CS = 1 MR0=0x58 MR1=0x58 MR2=0x58 MR3=0x58 MR4=0x2 MR5=0x1 MR6=0x6 MR7=0x0 MR8=0x1F MR9=0x1F MR10=0x1F MR11=0x1F MR12=0x1F MR13=0x1F MR14=0x1F MR15=0x1F MR16=0x1F Bus Width=32 Col=10 Bank=8 Row=15/15 CS=2 Die Bus-Width=32 Size=2048MB Channel 1: LPDDR3, 800MHz CS = 0 MR0=0x58 MR1=0x58 MR2=0x58 MR3=0x58 MR4=0x2 MR5=0x1 MR6=0x6 MR7=0x0 MR8=0x1F MR9=0x1F MR10=0x1F MR11=0x1F MR12=0x1F MR13=0x1F MR14=0x1F MR15=0x1F MR16=0x1F CS = 1 MR0=0x58 MR1=0x58 MR2=0x58 MR3=0x58 MR4=0x2 MR5=0x1 MR6=0x6 MR7=0x0 MR8=0x1F MR9=0x1F MR10=0x1F MR11=0x1F MR12=0x1F MR13=0x1F MR14=0x1F MR15=0x1F MR16=0x1F Bus Width=32 Col=10 Bank=8 Row=15/15 CS=2 Die Bus-Width=32 Size=2048MB 256B stride ch 0 ddrconfig = 0x101, ddrsize = 0x2020 ch 1 ddrconfig = 0x101, ddrsize = 0x2020 pmugrf_os_reg[2] = 0x3AA0DAA0, stride = 0xD OUT Boot1: 2019-03-14, version: 1.19 CPUId = 0x0 ChipType = 0x10, 248 mmc: ERROR: sdhci_complete_adma: transfer error, stat 0x408000, adma error 0, retry 9996026, cmd 0x83a mmc: ERROR: sdhci_complete_adma: transfer error, stat 0x408000, adma error 0, retry 9996025, cmd 0x83a emmc reinit mmc: ERROR: sdhci_complete_adma: transfer error, stat 0x408000, adma error 0, retry 9996026, cmd 0x83a mmc: ERROR: sdhci_complete_adma: transfer error, stat 0x408000, adma error 0, retry 9996027, cmd 0x83a emmc reinit mmc: ERROR: sdhci_complete_adma: transfer error, stat 0x408000, adma error 0, retry 9996021, cmd 0x83a mmc: ERROR: sdhci_complete_adma: transfer error, stat 0x408000, adma error 0, retry 9996022, cmd 0x83a SdmmcInit=2 1 mmc0:cmd5,20 SdmmcInit=0 0 BootCapSize=0 UserCapSize=128001MB FwPartOffset=2000 , 0 StorageInit ok = 121149 SecureMode = 0 SecureInit read PBA: 0x4 SecureInit read PBA: 0x404 SecureInit read PBA: 0x804 SecureInit read PBA: 0xc04 SecureInit read PBA: 0x1004 SecureInit read PBA: 0x1404 SecureInit read PBA: 0x1804 SecureInit read PBA: 0x1c04 SecureInit ret = 0, SecureMode = 0 atags_set_bootdev: ret:(0) GPT 0x3380ec0 signature is wrong recovery gpt... GPT 0x3380ec0 signature is wrong recovery gpt fail! LoadTrust Addr:0x4000 No find bl30.bin No find bl32.bin Load uboot, ReadLba = 2000 hdr 0000000003380880 + 0x0:0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, Load OK, addr=0x200000, size=0xad9e8 RunBL31 0x40000 NOTICE: BL31: v1.3(debug):42583b6 NOTICE: BL31: Built : 07:55:13, Oct 15 2019 NOTICE: BL31: Rockchip release version: v1.1 INFO: GICv3 with legacy support detected. ARM GICV3 driver initialized in EL3 INFO: Using opteed sec cpu_context! INFO: boot cpu mask: 0 INFO: plat_rockchip_pmu_init(1190): pd status 3e INFO: BL31: Initializing runtime services WARNING: No OPTEE provided by BL2 boot loader, Booting device without OPTEE initialization. SMC`s destined for OPTEE will reK ERROR: Error initializing runtime service opteed_fast INFO: BL31: Preparing for EL3 exit to normal world INFO: Entry point address = 0x200000 INFO: SPSR = 0x3c9 U-Boot 2020.04-armbian (Apr 26 2020 - 00:46:29 +0000) SoC: Rockchip rk3399 Reset cause: POR Model: FriendlyElec NanoPC-T4 DRAM: 3.9 GiB PMIC: RK808 MMC: dwmmc@fe310000: 2, dwmmc@fe320000: 1, sdhci@fe330000: 0 Loading Environment from MMC... *** Warning - No block device, using default environment "Synchronous Abort" handler, esr 0x96000045 elr: 0000000000231550 lr : 00000000002314ec (reloc) elr: 00000000f4576550 lr : 00000000f45764ec x0 : 00000000f254a3c0 x1 : 00000000f8000000 x2 : 00000000f82a4000 x3 : 0000000000000000 x4 : 0000000011b3dc40 x5 : 0000000011b3dc40 x6 : 00000000ffffdff1 x7 : 0000000000000128 x8 : 0000000000000129 x9 : 0000000000000008 x10: 0000000000000008 x11: 0000000000000001 x12: 000000000000012a x13: 0000000000005dc0 x14: 0000000000000000 x15: 00000000f252d698 x16: 0000000000008080 x17: 0000000000000032 x18: 00000000f253cdd8 x19: 00000000f254a3c0 x20: 00000000f25415a0 x21: 00000000f252d480 x22: 00000000f45ea6c8 x23: 00000000f45ea6c8 x24: 00000000f254a368 x25: 00000000f254a370 x26: 00000000f254a130 x27: 00000000f254a378 x28: 0000000000000002 x29: 00000000f252d430 Code: 8b020022 eb02003f 54fffee2 b9403403 (b8004423) Resetting CPU ... resetting ... ######## OUTPUT REPATS AT THIS POINT ########
  8. I've built everything into the kernel that I can think of: Device Drivers ---> [*] USB support --> [*] USB Type-C Support --> ** built everything other than alternative mode / display port drivers [*] PHY Subsystem ---> ... [*] Rockchip TYPEC PHY Driver Nothing seems to get it working (other than using the legacy kernel). If I plug in a USB type-c ethernet adapter, the light stays on solid but nothing shows up under lsusb.. I'm not sure what else to try. Any help would be appreciated.
  9. I've been working on a project to boot a custom kernel on my NanoPC-T4. I haven't gotten too far though because as soon as I make the smallest change to the source, everything goes to hell (see below). I've built 3 images following EXACTLY the same process. All I did was change the KERNELBRANCH variable in userpatches/lib.config to point to different branches in the same repository. For completeness, here's my lib.config (which simply points to my fork of ayufan-rock64/linux-mainline-kernel): KERNELSOURCE='https://github.com/ethDreamer/linux-mainline-kernel' KERNELBRANCH='branch:BRANCHNAME' Here's the script I wrote to ensure everything was built exactly the same way: #!/bin/bash for branch in master vanillacopy tinychange ; do # restart the box vagrant halt && sleep 5 && vagrant up # cleanup old build vagrant ssh -c 'cd armbian && sudo rm -r ./cache/sources/linux-rockchip64 ./output/images/Armbian*.img*' # edit lib.config sed -i ./userpatches/lib.config -e "s/branch:.*/branch:${branch}\'/" # build the image vagrant ssh -c 'cd armbian && sudo ./compile.sh BOARD=nanopct4 BRANCH=dev RELEASE=buster\ BUILD_MINIMAL=yes BUILD_DESKTOP=no KERNEL_ONLY=no KERNEL_CONFIGURE=no' # move the image mkdir -p ../outimages/${branch} && mv output/images/*img ../outimages/${branch}/ && \ cp ./userpatches/lib.config ../outimages/${branch}/ done You can see from github that my fork is identical to ayufan's upstream fork; I've made NO CHANGES. Then I created 2 extra branches off of master: vanillacopy and tinychange. The first branch (vanillacopy) like the name implies, is simply a copy of master with no changes. The second branch tinychange contains one tiny change (click to see diff). All I wanted to do was change the kernel's release string that's output by uname -r so that I could be sure I had booted my kernel. RESULTS: the kernels built with master and vanillacopy boot just fine. When booting the image with the kernel built from the tinychange branch: HDMI output stops working networking stops working board takes FOREVER to boot I wouldn't even know it booted without the serial console which stops displaying output after booting the kernel (any kernel) and only resumes output once the system has fully boot on the bright side, the uname string did change: I can't see how this could possibly break everything like this.. what the hell am I missing?
  10. Okay so if I understand you right (and for anyone who might read this in the future) I just need to create the file userpatches/lib.config containing: KERNELSOURCE=[github url of kernel source] KERNELBRANCH=[existing branch] LINUXCONFIG=[existing config file] assuming that repository hosts a bootable kernel on that branch that can be successfully compiled with that config - then this is all I need to do to have the build system continue as usual and create the image for me? Thanks for your help I'll try this when I get home.
  11. I was actually able to successfully do the opposite (merge commits from ayufan-rock64/linux-mainline-kernel into anthraxx/linux-hardened). I thought this might be easier since there wasn't a whole lot of commits to aufan's branch after forking from torvalds/linux. Either way I can't test either kernel until I know how to integrate a new kernel source into the Armbian build system.
  12. I hope you can understand my question just from the title but here's more information in case you need it. BACKGROUND ON MY END GOAL IN CASE YOU HAVE ADVICE: I'm attempting to create a hardened linux image for running on my nanoPC-t4. I gotta give you guys props because Armbian appears to be wayyyyy ahead of the alternative distributions I checked out (gentoo/arch/lubuntu) in terms of support/customizability/documentation for ARM development. As a first step, I'm trying to build & boot a hardened Linux kernel. After some googling, I settled on this repo as my best option for free & open-source hardened kernel sources (unless anyone has a better suggestion). ON MY ORIGINAL QUESTION: I've already booted a manually built image using the Armbian Build Tools. Now I'm trying to create an image with custom linux sources but I'm not very familiar yet with the build scripts and the development guide doesn't detail the process of adding new kernel sources into the tool. I tried the naive option of simply editing the sources configuration file to point to a different repo: - KERNELSOURCE='https://github.com/ayufan-rock64/linux-mainline-kernel' - KERNELBRANCH='tag:5.2.0-1116-ayufan' - KERNELDIR='linux-rockchip64' + KERNELSOURCE='https://github.com/anthraxx/linux-hardened' + KERNELBRANCH='tag:5.2.a' + KERNELDIR='linux-hardened' And this worked up to a point - obviously all the patches failed to apply but the tool continued anyway. `make oldconfig` had me update the config with the missing options and I was eventually dropped into menuconfig. That went fine but eventually the build failed and the script stopped (sorry I don't have the exact error right now because I'm at work). But most importantly I noticed the script DIDN'T FAIL because of a kernel compilation error. So something else went wrong/is needed to get this source integrated into the build system. I'm just wondering what the process is for doing that.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines