Jump to content

suchende

Members
  • Posts

    24
  • Joined

Posts posted by suchende

  1. U-Boot 2017.05-armbian (Nov 30 2022 - 10:45:39 +0000) for ODROID-XU4
    
    CPU:   Exynos5422 @ 800 MHz
    Model: Odroid XU4 based on EXYNOS5422
    Board: Odroid XU4 based on EXYNOS5422
    Type:  xu4
    DRAM:  2 GiB
    MMC:   EXYNOS DWMMC: 0, EXYNOS DWMMC: 1
    MMC Device 0 ( SD ): 59.5 GiB
    Card did not respond to voltage select!
    mmc_init: -95, time 11
    *** Warning - bad CRC, using default environment
    
    In:    serial
    Out:   serial
    Err:   serial
    Net:   No ethernet found.
    Press quickly 'Enter' twice to stop autoboot:  0 
    ** File not found /boot.ini **
    ## Executing script at 43e00000
    Wrong image format for "source" command
    12548 bytes read in 44 ms (278.3 KiB/s)
    ## Executing script at 43e00000
    111 bytes read in 33 ms (2.9 KiB/s)
    6724096 bytes read in 550 ms (11.7 MiB/s)
    11217705 bytes read in 881 ms (12.1 MiB/s)
    0 bytes read in 45 ms (0 Bytes/s)
    Found mainline kernel configuration
    ** File not found /boot/dtb/exynos5422-odroidhc1.dtb **
    ** Unrecognized filesystem type **
    ** File not found dtb/exynos5422-odroidhc1.dtb **
    libfdt fdt_check_header(): FDT_ERR_BADMAGIC
    No FDT memory address configured. Please configure
    the FDT address via "fdt addr <address>" command.
    Aborting!
    Kernel image @ 0x40008000 [ 0x000000 - 0x669a00 ]
    ## Loading init Ramdisk from Legacy Image at 42000000 ...
       Image Name:   uInitrd
       Image Type:   ARM Linux RAMDisk Image (gzip compressed)
       Data Size:    11217641 Bytes = 10.7 MiB
       Load Address: 00000000
       Entry Point:  00000000
       Verifying Checksum ... OK
    ERROR: Did not find a cmdline Flattened Device Tree
    Could not find a valid device tree
    ** File not found /boot.scr **
    ## Executing script at 43e00000
    ** Invalid partition 2 **
    ## Executing script at 43e00000
    ** Invalid partition 2 **
    ## Executing script at 43e00000
    ** Invalid partition 2 **
    ## Executing script at 43e00000
    mmc_init: -110, time 120
    switch to partitions #0, OK
    mmc0 is current device
    Scanning mmc 0:1...
    starting USB...
    USB0:   USB EHCI 1.00
    USB1:   Register 2000140 NbrPorts 2
    Starting the controller
    USB XHCI 1.00
    USB2:   Register 2000140 NbrPorts 2
    Starting the controller
    USB XHCI 1.00
    scanning bus 0 for devices... 1 USB Device(s) found
    scanning bus 1 for devices... cannot reset port 1!?
    1 USB Device(s) found
    scanning bus 2 for devices... 2 USB Device(s) found
           scanning usb for storage devices... 0 Storage Device(s) found
           scanning usb for ethernet devices... 1 Ethernet Device(s) found
    
    USB device 0: unknown device
    Waiting for Ethernet connection... done.
    BOOTP broadcast 1
    

    the boot fails after switching the kernel through armbian-config. Further investigation needed.

     

    //Edit 1: the dtb file is missing.

    ls -la /boot
    insgesamt 32336
    drwxr-xr-x  2 root root     4096  8. Dez 19:03 .
    drwxr-xr-x 21 root root     4096 12. Jan 2022  ..
    -rw-r-----  1 root root      111  8. Dez 18:47 armbianEnv.txt
    -rw-r-----  1 root root        0 29. Dez 2021  armbianEnv.txt.out
    -rw-r--r--  1 root root     1536  7. Aug 2019  armbian_first_run.txt.template
    -rw-r--r--  1 root root    38518  7. Aug 2019  boot.bmp
    -rw-r--r--  1 root root     4882  7. Aug 2019  boot-desktop.png
    -rw-rw-r--  1 root root    12548  7. Aug 2019  boot.ini
    -rw-r-----  1 root root        0 29. Dez 2021  boot.ini.out
    -rw-r--r--  1 root root   190980 30. Nov 12:07 config-6.0.9-odroidxu4
    lrwxrwxrwx  1 root root       21  6. Dez 18:42 dtb -> dtb-5.4.225-odroidxu4
    lrwxrwxrwx  1 root root       22 15. Apr 2020  dtb.old -> dtb-4.14.176-odroidxu4
    -rw-r--r--  1 root root 11217641  8. Dez 19:03 initrd.img-6.0.9-odroidxu4
    -rw-r--r--  1 root root        0  8. Dez 19:03 .next
    -rw-r--r--  1 root root  3672734 30. Nov 12:07 System.map-6.0.9-odroidxu4
    lrwxrwxrwx  1 root root       23  8. Dez 19:03 uInitrd -> uInitrd-6.0.9-odroidxu4
    -rw-r--r--  1 root root 11217705  8. Dez 19:03 uInitrd-6.0.9-odroidxu4
    -rwxr-xr-x  1 root root  6724096 30. Nov 12:07 vmlinuz-6.0.9-odroidxu4
    lrwxrwxrwx  1 root root       23  8. Dez 19:03 zImage -> vmlinuz-6.0.9-odroidxu4
    

    It seems that the armbian-config does not install the dtb and because of its enforced reboot, it kills the boot process.

  2. 7 hours ago, balbes150 said:

    I'm sorry, I didn't understand your question ? Which (boot.ini) is currently used to run (its full contents) ?

    I used the boot.ini from you, but if I want to define the resolution of the hdmi output I need to know which uboot parameters are possible.

  3. @Igor A little bit improvement could happen with 5.8 kernel.

    The armbian build seems to boot up. The hdmi output does not work.

    cQA5:A;SVN:B72;POC:17F;STS:0;BOOT:0;QA5:A;SVN:B72;POC:17F;STS:0;BOOT:0;INIT:10;BOOT:1;INIT:0;READ:0;CHECK:0;PASS:1;
    ------------------------------------BID : HKC13C0001
    S/N : HKC1CC0349CD6833
    0x0000009f
    check SD_boot_type:0x1	 card_type:0x1
    Loading U-boot...success.
    
    
    U-boot-00000-g3b0181fd0a(odroidc@3b0181fd) (Jul 17 2018 - 18:49:05)
    
    DRAM:  1 GiB
    relocation Offset is: 2ff20000
    MMC:   SDCARD: 0, eMMC: 1
    IR init is done!
    vpu clk_level = 3
    set vpu clk: 182150000Hz, readback: 182150000Hz(0x701)
    mode = 6  vic = 4
    set HDMI vic: 4
    mode is: 6
    viu chan = 1
    config HPLL
    config HPLL done
    reconfig packet setting done
    MMC read: dev # 0, block # 33984, count 12288 ... 12288 blocks read: OK
    There is no valid bmp file at the given address
    ============================================================
    Vendor: Man 035344 Snr 70732735 Rev: 8.0 Prod: SC16G
                Type: Removable Hard Disk
                Capacity: 15193.5 MB = 14.8 GB (31116288 x 512)
    ------------------------------------------------------------
    Partition     Start Sector     Num Sectors     Type
        1		     32768	   1048576	 e
        2		   1081344	   6553600	83
    ============================================================
    Net:   Meson_Ethernet
    init suspend firmware done. (ret:0)
    Hit Enter key to stop autoboot -- :  1  0 
    exit abortboot: 0
    reading boot.ini
    
    811 bytes read
    Loading boot.ini from mmc0:1 (vfat)
    Executing the script...
    setenv env_addr "0x11400000"
    setenv dtb_addr "0x11800000"
    setenv kernel_addr "0x14000000"
    setenv initrd_addr "0x15000000"
    setenv boot_start bootm ${kernel_addr} ${initrd_addr} ${dtb_addr}
    video dev open 1080P
    mode = 8  vic = 16
    set HDMI vic: 16
    mode is: 8
    viu chan = 1
    config HPLL
    config HPLL done
    reconfig packet setting done
    if fatload mmc 0 ${env_addr} uEnv.txt; then env import -t ${env_addr} ${filesize}; setenv bootargs ${APPEND}; else exit; fi; if fatload mmc 0 ${kernel_addr} ${LINUX}; then if fatload mmc 0 ${initrd_addr} ${INITRD}; then if fatload mmc 0 ${dtb_addr} ${FDT}; then run boot_start; fi; fi; fi;
    reading uEnv.txt
    
    277 bytes read
    reading /uImage
    
    11077096 bytes read
    reading /uInitrd
    
    6617705 bytes read
    reading /dtb/meson8b-odroidc1.dtb
    
    25062 bytes read
    ## Booting kernel from Legacy Image at 14000000 ...
       Image Name:   Linux kernel
       Image Type:   ARM Linux Kernel Image (uncompressed)
       Data Size:    11077032 Bytes = 10.6 MiB
       Load Address: 00208000
       Entry Point:  00208000
       Verifying Checksum ... OK
    ## Loading init Ramdisk from Legacy Image at 15000000 ...
       Image Name:   uInitrd
       Image Type:   ARM Linux RAMDisk Image (gzip compressed)
       Data Size:    6617641 Bytes = 6.3 MiB
       Load Address: 00000000
       Entry Point:  00000000
       Verifying Checksum ... OK
    ## Flattened Device Tree blob at 11800000
       Booting using the fdt blob at 0x11800000
       Loading Kernel Image ... OK
    OK
    uboot time: 6088167 us.
    Using machid 0xf81 from environment
    faild to get aml_reserved_end address
    the default relocate ramdisk and fdt address-relocate_addr: 0x20000000
       Loading Ramdisk to 1f9b0000, end 1ffffa29 ... OK
       Loading Device Tree to 1f9a6000, end 1f9af1e5 ... OK
    libfdt fdt_path_offset() returned FDT_ERR_NOTFOUND
    libfdt fdt_path_offset() returned FDT_ERR_NOTFOUND
    
    Starting kernel ...
    
    [    0.000000] Booting Linux on physical CPU 0x200
    [    0.000000] Linux version 5.7.0-rc4-aml-s812 (root@vbox) (gcc version 8.3.0 (GNU Toolchain for the A-profile Architecture 8.3-2019.03 (arm-rel-8.36)), GNU ld (GNU Toolchain for the A-profile Architecture 8.3-2019.03 (arm-rel-8.36)) 2.32.0.20190321) #20.05.3 SMP Wed May 6 12:06:03 MSK 2020
    [    0.000000] CPU: ARMv7 Processor [410fc051] revision 1 (ARMv7), cr=10c5387d
    [    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
    [    0.000000] OF: fdt: Machine model: Hardkernel ODROID-C1
    [    0.000000] Memory policy: Data cache writealloc
    [    0.000000] cma: Reserved 64 MiB at 0x3c000000
    [    0.000000] percpu: Embedded 16 pages/cpu s34440 r8192 d22904 u65536
    [    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 259908
    [    0.000000] Kernel command line: root=LABEL=ROOTFS rootfstype=ext4 rootflags=data=writeback rw console=ttyAML0,115200n8 console=tty0 no_console_suspend consoleblank=0 fsck.repair=yes net.ifnames=0 logo=osd1,loaded,0x7900000,${hdmimode},full
    [    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes, linear)
    [    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes, linear)
    [    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
    [    0.000000] Memory: 939948K/1046528K available (16384K kernel code, 694K rwdata, 4524K rodata, 1024K init, 965K bss, 41044K reserved, 65536K cma-reserved, 196608K highmem)
    [    0.000000] random: get_random_u32 called from cache_random_seq_create+0x7c/0x12c with crng_init=0
    [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
    [    0.000000] rcu: Hierarchical RCU implementation.
    [    0.000000] rcu: 	RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=4.
    [    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
    [    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4
    [    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
    [    0.000000] irq_meson_gpio: 119 to 8 gpio interrupt mux initialized
    [    0.000000] L2C: DT/platform modifies aux control register: 0x02060000 -> 0x02460000
    [    0.000000] L2C-310 erratum 769419 enabled
    [    0.000000] L2C-310 ID prefetch enabled, offset 1 lines
    [    0.000000] L2C-310 dynamic clock gating enabled, standby mode enabled
    [    0.000000] L2C-310 cache controller enabled, 8 ways, 512 kB
    [    0.000000] L2C-310: CACHE_ID 0x4100a0c9, AUX_CTRL 0x36460000
    [    0.000015] sched_clock: 32 bits at 1000kHz, resolution 1000ns, wraps every 2147483647500ns
    [    0.000033] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1911260446275 ns
    [    0.000067] Switching to timer-based delay loop, resolution 1000ns
    [    0.000599] Console: colour dummy device 80x30
    [    0.000942] printk: console [tty0] enabled
    [    0.000985] Calibrating delay loop (skipped), value calculated using timer frequency.. 2.00 BogoMIPS (lpj=4000)
    [    0.001010] pid_max: default: 32768 minimum: 301
    [    0.001272] LSM: Security Framework initializing
    [    0.001500] Smack:  Initializing.
    [    0.001513] Smack:  IPv6 port labeling enabled.
    [    0.001673] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
    [    0.001700] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
    [    0.002641] CPU: Testing write buffer coherency: ok
    [    0.002918] CPU0: thread -1, cpu 0, socket 2, mpidr 80000200
    [    0.003773] Setting up static identity map for 0x300000 - 0x300060
    [    0.003939] rcu: Hierarchical SRCU implementation.
    [    0.004696] smp: Bringing up secondary CPUs ...
    [    0.005383] CPU1: thread -1, cpu 1, socket 2, mpidr 80000201
    [    0.006168] CPU2: thread -1, cpu 2, socket 2, mpidr 80000202
    [    0.006893] CPU3: thread -1, cpu 3, socket 2, mpidr 80000203
    [    0.006996] smp: Brought up 1 node, 4 CPUs
    [    0.007049] SMP: Total of 4 processors activated (8.00 BogoMIPS).
    [    0.007062] CPU: All CPU(s) started in SVC mode.
    [    0.007691] devtmpfs: initialized
    [    0.013393] VFP support v0.3: implementor 41 architecture 2 part 30 variant 5 rev 1
    [    0.013679] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
    [    0.013715] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
    [    0.016848] xor: measuring software checksum speed
    [    0.056215]    arm4regs  :  1012.000 MB/sec
    [    0.096209]    8regs     :   960.000 MB/sec
    [    0.136215]    32regs    :   890.000 MB/sec
    [    0.176212]    neon      :  1019.000 MB/sec
    [    0.176226] xor: using function: neon (1019.000 MB/sec)
    [    0.176311] pinctrl core: initialized pinctrl subsystem
    [    0.177005] thermal_sys: Registered thermal governor 'fair_share'
    [    0.177010] thermal_sys: Registered thermal governor 'bang_bang'
    [    0.177031] thermal_sys: Registered thermal governor 'step_wise'
    [    0.177046] thermal_sys: Registered thermal governor 'user_space'
    [    0.177867] NET: Registered protocol family 16
    [    0.179787] DMA: preallocated 256 KiB pool for atomic coherent allocations
    [    0.180898] cpuidle: using governor menu
    [    0.181291] No ATAGs?
    [    0.181417] hw-breakpoint: found 2 (+1 reserved) breakpoint and 1 watchpoint registers.
    [    0.181446] hw-breakpoint: maximum watchpoint size is 4 bytes.
    [    0.213268] cryptd: max_cpu_qlen set to 1000
    [    0.300239] raid6: neonx8   gen()   758 MB/s
    [    0.368219] raid6: neonx8   xor()   534 MB/s
    [    0.436229] raid6: neonx4   gen()   838 MB/s
    [    0.504228] raid6: neonx4   xor()   601 MB/s
    [    0.572222] raid6: neonx2   gen()   939 MB/s
    [    0.640216] raid6: neonx2   xor()   651 MB/s
    [    0.708225] raid6: neonx1   gen()   663 MB/s
    [    0.776209] raid6: neonx1   xor()   562 MB/s
    [    0.844264] raid6: int32x8  gen()   288 MB/s
    [    0.912232] raid6: int32x8  xor()   183 MB/s
    [    0.980255] raid6: int32x4  gen()   329 MB/s
    [    1.048213] raid6: int32x4  xor()   200 MB/s
    [    1.116215] raid6: int32x2  gen()   387 MB/s
    [    1.184245] raid6: int32x2  xor()   202 MB/s
    [    1.252214] raid6: int32x1  gen()   390 MB/s
    [    1.320213] raid6: int32x1  xor()   192 MB/s
    [    1.320227] raid6: using algorithm neonx2 gen() 939 MB/s
    [    1.320240] raid6: .... xor() 651 MB/s, rmw enabled
    [    1.320252] raid6: using neon recovery algorithm
    [    1.321380] VCC1V8: supplied by P5V0
    [    1.321663] VCC3V3: supplied by P5V0
    [    1.321948] DDR_VDDC: supplied by P5V0
    [    1.322210] VDD_RTC: supplied by VCC3V3
    [    1.322871] iommu: Default domain type: Translated 
    [    1.323986] SCSI subsystem initialized
    [    1.324453] usbcore: registered new interface driver usbfs
    [    1.324523] usbcore: registered new interface driver hub
    [    1.324622] usbcore: registered new device driver usb
    [    1.325037] pps_core: LinuxPPS API ver. 1 registered
    [    1.325054] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [    1.325086] PTP clock support registered
    [    1.325123] EDAC MC: Ver: 3.0.0
    [    1.325926] Advanced Linux Sound Architecture Driver Initialized.
    [    1.326522] NetLabel: Initializing
    [    1.326542] NetLabel:  domain hash size = 128
    [    1.326553] NetLabel:  protocols = UNLABELED CIPSOv4 CALIPSO
    [    1.326621] NetLabel:  unlabeled traffic allowed by default
    [    1.327286] clocksource: Switched to clocksource timer
    [    1.327585] VFS: Disk quotas dquot_6.6.0
    [    1.327672] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
    [    1.327834] FS-Cache: Loaded
    [    1.328085] CacheFiles: Loaded
    [    1.337730] NET: Registered protocol family 2
    [    1.338433] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
    [    1.338483] TCP established hash table entries: 8192 (order: 3, 32768 bytes, linear)
    [    1.338567] TCP bind hash table entries: 8192 (order: 4, 65536 bytes, linear)
    [    1.338680] TCP: Hash tables configured (established 8192 bind 8192)
    [    1.338809] UDP hash table entries: 512 (order: 2, 16384 bytes, linear)
    [    1.338881] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes, linear)
    [    1.339125] NET: Registered protocol family 1
    [    1.339735] RPC: Registered named UNIX socket transport module.
    [    1.339758] RPC: Registered udp transport module.
    [    1.339770] RPC: Registered tcp transport module.
    [    1.339782] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    1.340026] Trying to unpack rootfs image as initramfs...
    [    1.676489] Freeing initrd memory: 6464K
    [    1.677684] hw perfevents: enabled with armv7_cortex_a5 PMU driver, 3 counters available
    [    1.885650] Initialise system trusted keyrings
    [    1.885915] workingset: timestamp_bits=14 max_order=18 bucket_order=4
    [    1.892915] DLM installed
    [    1.894101] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [    1.895851] NFS: Registering the id_resolver key type
    [    1.895895] Key type id_resolver registered
    [    1.895909] Key type id_legacy registered
    [    1.895936] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
    [    1.895952] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
    [    1.897437] FS-Cache: Netfs 'cifs' registered for caching
    [    1.897956] Key type cifs.spnego registered
    [    1.897987] Key type cifs.idmap registered
    [    1.898105] jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
    [    1.898602] fuse: init (API version 7.31)
    [    1.899463] JFS: nTxBlock = 7905, nTxLock = 63246
    [    1.905525] SGI XFS with security attributes, no debug enabled
    [    1.907526] NILFS version 2 loaded
    [    1.908845] gfs2: GFS2 installed
    [    1.952293] NET: Registered protocol family 38
    [    1.952331] Key type asymmetric registered
    [    1.952344] Asymmetric key parser 'x509' registered
    [    1.952407] bounce: pool size: 64 pages
    [    1.952473] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 244)
    [    1.952496] io scheduler mq-deadline registered
    [    1.952509] io scheduler kyber registered
    [    1.956419] GPIO line 417 (usb-hub-reset) hogged as output/high
    [    1.961277] soc soc0: Amlogic Meson8b (S805) RevA (1b - 0:B72) detected
    [    1.961936] pwm-regulator: supplied by regulator-dummy
    [    1.962271] pwm-regulator: supplied by regulator-dummy
    [    1.966769] Serial: 8250/16550 driver, 6 ports, IRQ sharing enabled
    [    1.969464] c81004c0.serial: ttyAML0 at MMIO 0xc81004c0 (irq = 28, base_baud = 9960937) is a meson_uart
    [    2.871542] printk: console [ttyAML0] enabled
    [    2.877652] usbcore: registered new interface driver udl
    [    2.886290] lima d00c0000.gpu: IRQ ppmmu2 not found
    [    2.886335] lima d00c0000.gpu: IRQ ppmmu3 not found
    [    2.890915] lima d00c0000.gpu: IRQ ppmmu4 not found
    [    2.895765] lima d00c0000.gpu: IRQ ppmmu5 not found
    [    2.900625] lima d00c0000.gpu: IRQ ppmmu6 not found
    [    2.905487] lima d00c0000.gpu: IRQ ppmmu7 not found
    [    2.910366] lima d00c0000.gpu: gp - mali450 version major 0 minor 0
    [    2.916652] lima d00c0000.gpu: pp0 - mali450 version major 0 minor 0
    [    2.922997] lima d00c0000.gpu: pp1 - mali450 version major 0 minor 0
    [    2.929318] lima d00c0000.gpu: IRQ pp2 not found
    [    2.933887] lima d00c0000.gpu: IRQ pp3 not found
    [    2.938486] lima d00c0000.gpu: IRQ pp4 not found
    [    2.943088] lima d00c0000.gpu: IRQ pp5 not found
    [    2.947691] lima d00c0000.gpu: IRQ pp6 not found
    [    2.952294] lima d00c0000.gpu: IRQ pp7 not found
    [    2.956897] lima d00c0000.gpu: l2 cache 8K, 4-way, 64byte cache line, 128bit external bus
    [    2.965063] lima d00c0000.gpu: l2 cache 64K, 4-way, 64byte cache line, 128bit external bus
    [    2.973823] lima d00c0000.gpu: bus rate = 159375000
    [    2.978190] lima d00c0000.gpu: mod rate = 24000000
    [    2.983022] debugfs: Directory 'd00c0000.gpu-mali' with parent 'VDDEE' already present!
    [    2.992082] [drm] Initialized lima 1.1.0 20191231 for d00c0000.gpu on minor 0
    [    3.007017] brd: module loaded
    [    3.015854] loop: module loaded
    [    3.015895] dummy-irq: no IRQ given.  Use irq=N
    [    3.019129] Loading iSCSI transport class v2.0-870.
    [    3.023367] rdac: device handler registered
    [    3.027037] hp_sw: device handler registered
    [    3.031222] emc: device handler registered
    [    3.035418] alua: device handler registered
    [    3.039836] iscsi: registered transport (tcp)
    [    3.044553] SSFDC read-only Flash Translation layer
    [    3.048700] mtdoops: mtd device (mtddev=name/number) must be supplied
    [    3.056517] libphy: Fixed MDIO Bus: probed
    [    3.059506] tun: Universal TUN/TAP device driver, 1.6
    [    3.064443] ipddp.c:v0.01 8/28/97 Bradford W. Johnson <johns393@maroon.tc.umn.edu>
    [    3.072165] ipddp0: Appletalk-IP Encap. mode by Bradford W. Johnson <johns393@maroon.tc.umn.edu>
    [    3.084664] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
    [    3.087014] ehci-platform: EHCI generic platform driver
    [    3.092457] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
    [    3.098429] ohci-platform: OHCI generic platform driver
    [    3.104160] usbcore: registered new interface driver usb-storage
    [    3.109638] udc-core: couldn't find an available UDC - added [g_ether] to list of pending drivers
    [    3.118678] mousedev: PS/2 mouse device common for all mice
    [    3.124925] i2c /dev entries driver
    [    3.127958] pps_ldisc: PPS line discipline registered
    [    3.134115] usbcore: registered new interface driver pcwd_usb
    [    3.139032] meson_wdt c1109900.watchdog: Watchdog enabled (timeout=8 sec, nowayout=1)
    [    3.146575] softdog: initialized. soft_noboot=0 soft_margin=60 sec soft_panic=0 (nowayout=1)
    [    3.157191] sdhci: Secure Digital Host Controller Interface driver
    [    3.160711] sdhci: Copyright(c) Pierre Ossman
    [    3.167182] usbcore: registered new interface driver ushc
    [    3.171698] meson-mx-sdhc c1108e00.mmc: allocated mmc-pwrseq
    [    3.212550] sdhci-pltfm: SDHCI platform and OF driver helper
    [    3.218733] ledtrig-cpu: registered to indicate activity on CPUs
    [    3.219435] hid: raw HID events driver (C) Jiri Kosina
    [    3.224624] usbcore: registered new interface driver usbhid
    [    3.229821] usbhid: USB HID core driver
    [    3.234007] remoteproc remoteproc0: meson-mx-ao-arc is available
    [    3.239808] remoteproc remoteproc0: Direct firmware load for rproc-meson-mx-ao-arc-fw failed with error -2
    [    3.245743] no UART detected at 0x1
    [    3.249275] remoteproc remoteproc0: powering up meson-mx-ao-arc
    [    3.255046] oprofile: using timer interrupt.
    [    3.258788] remoteproc remoteproc0: Direct firmware load for rproc-meson-mx-ao-arc-fw failed with error -2
    [    3.263053] NET: Registered protocol family 26
    [    3.272779] remoteproc remoteproc0: request_firmware failed: -2
    [    3.276967] GACT probability on
    [    3.286038] Mirror/redirect action on
    [    3.289703] Simple TC action Loaded
    [    3.293578] netem: version 1.3
    [    3.296237] u32 classifier
    [    3.298836]     Performance counters on
    [    3.302664]     input device check on
    [    3.306306]     Actions configured
    [    3.340654] xt_time: kernel timezone is -0000
    [    3.340719] IPVS: Registered protocols ()
    [    3.343441] IPVS: Connection hash table configured (size=4096, memory=32Kbytes)
    [    3.353144] IPVS: ipvs loaded.
    [    3.353838] ipip: IPv4 and MPLS over IPv4 tunneling driver
    [    3.359614] gre: GRE over IPv4 demultiplexor driver
    [    3.364081] ip_gre: GRE over IPv4 tunneling driver
    [    3.371603] IPv4 over IPsec tunneling driver
    [    3.373895] ipt_CLUSTERIP: ClusterIP Version 0.8 loaded successfully
    [    3.379571] Initializing XFRM netlink socket
    [    3.383722] IPsec XFRM device driver
    [    3.387816] NET: Registered protocol family 10
    [    3.465528] Segment Routing with IPv6
    [    3.465730] mip6: Mobile IPv6
    [    3.467917] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
    [    3.473681] ip6_gre: GRE over IPv6 tunneling driver
    [    3.479494] NET: Registered protocol family 17
    [    3.481741] NET: Registered protocol family 15
    [    3.486233] Bridge firewalling registered
    [    3.490345] NET: Registered protocol family 5
    [    3.494657] NET: Unregistered protocol family 5
    [    3.499233] 8021q: 802.1Q VLAN Support v1.8
    [    3.507693] DCCP: Activated CCID 2 (TCP-like)
    [    3.507755] DCCP: Activated CCID 3 (TCP-Friendly Rate Control)
    [    3.513999] sctp: Hash tables configured (bind 512/512)
    [    3.519126] NET: Registered protocol family 21
    [    3.523122] Registered RDS/tcp transport
    [    3.527051] 9pnet: Installing 9P2000 support
    [    3.531254] Key type dns_resolver registered
    [    3.535468] openvswitch: Open vSwitch switching datapath
    [    3.541260] NET: Registered protocol family 40
    [    3.545231] mpls_gso: MPLS GSO support
    [    3.549411] ThumbEE CPU extension supported.
    [    3.553165] Registering SWP/SWPB emulation handler
    [    3.631326] registered taskstats version 1
    [    3.631369] Loading compiled-in X.509 certificates
    [    3.634780] Key type ._fscrypt registered
    [    3.638624] Key type .fscrypt registered
    [    3.642535] Key type fscrypt-provisioning registered
    [    3.648438] Btrfs loaded, crc32c=crc32c-generic
    [    3.665716] TFLASH_VDD: supplied by VCC3V3
    [    3.666092] USB0_VBUS: supplied by P5V0
    [    3.669508] meson-drm d0100000.vpu: Queued 2 outputs on vpu
    [    3.673787] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
    [    3.680341] meson-drm d0100000.vpu: CVBS Output connector not available
    [    3.687297] meson-drm d0100000.vpu: bound d0042000.hdmi-tx (ops 0xc1434c1c)
    [    3.694132] [drm] Initialized meson 1.0.0 20161109 for d0100000.vpu on minor 1
    [    3.700992] meson-drm d0100000.vpu: [drm] Cannot find any crtc or sizes
    [    3.708373] meson8b-dwmac c9410000.ethernet: IRQ eth_wake_irq not found
    [    3.714152] meson8b-dwmac c9410000.ethernet: IRQ eth_lpi not found
    [    3.720418] meson8b-dwmac c9410000.ethernet: PTP uses main clock
    [    3.727110] meson-drm d0100000.vpu: [drm] Cannot find any crtc or sizes
    [    3.732952] meson8b-dwmac c9410000.ethernet: User ID: 0x10, Synopsys ID: 0x37
    [    3.740072] meson8b-dwmac c9410000.ethernet: 	DWMAC1000
    [    3.745231] meson8b-dwmac c9410000.ethernet: DMA HW capability register supported
    [    3.752691] meson8b-dwmac c9410000.ethernet: RX Checksum Offload Engine supported
    [    3.760158] meson8b-dwmac c9410000.ethernet: COE Type 2
    [    3.765367] meson8b-dwmac c9410000.ethernet: TX Checksum insertion supported
    [    3.772402] meson8b-dwmac c9410000.ethernet: Wake-Up On Lan supported
    [    3.778865] meson8b-dwmac c9410000.ethernet: Normal descriptors
    [    3.784737] meson8b-dwmac c9410000.ethernet: Ring mode enabled
    [    3.790552] meson8b-dwmac c9410000.ethernet: Enable RX Mitigation via HW Watchdog Timer
    [    3.798937] libphy: stmmac: probed
    [    3.866980] dwc2 c9040000.usb: supply vusb_d not found, using dummy regulator
    [    3.868884] dwc2 c9040000.usb: supply vusb_a not found, using dummy regulator
    [    4.007700] dwc2 c9040000.usb: EPs: 7, dedicated fifos, 1984 entries in SPRAM
    [    4.010532] using random self ethernet address
    [    4.013798] using random host ethernet address
    [    4.020204] usb0: HOST MAC 52:05:1e:d5:01:98
    [    4.022571] usb0: MAC ca:b7:4d:27:d9:e0
    [    4.026334] using random self ethernet address
    [    4.030683] using random host ethernet address
    [    4.035264] g_ether gadget: Ethernet Gadget, version: Memorial Day 2008
    [    4.041711] g_ether gadget: g_ether ready
    [    4.045708] dwc2 c9040000.usb: bound driver g_ether
    [    4.051436] dwc2 c9040000.usb: DWC OTG Controller
    [    4.055264] dwc2 c9040000.usb: new USB bus registered, assigned bus number 1
    [    4.062368] dwc2 c9040000.usb: irq 30, io mem 0xc9040000
    [    4.068336] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.07
    [    4.075869] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [    4.083055] usb usb1: Product: DWC OTG Controller
    [    4.087733] usb usb1: Manufacturer: Linux 5.7.0-rc4-aml-s812 dwc2_hsotg
    [    4.094335] usb usb1: SerialNumber: c9040000.usb
    [    4.102107] hub 1-0:1.0: USB hub found
    [    4.102632] hub 1-0:1.0: 1 port detected
    [    4.107638] dwc2 c90c0000.usb: supply vusb_d not found, using dummy regulator
    [    4.113713] dwc2 c90c0000.usb: supply vusb_a not found, using dummy regulator
    [    4.120914] meson8b-usb-b-connector c9040000.usb:connector: Changing role from 0 to 2
    [    4.187485] dwc2 c90c0000.usb: DWC OTG Controller
    [    4.187543] dwc2 c90c0000.usb: new USB bus registered, assigned bus number 2
    [    4.193639] dwc2 c90c0000.usb: irq 31, io mem 0xc90c0000
    [    4.199087] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.07
    [    4.207160] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [    4.214362] usb usb2: Product: DWC OTG Controller
    [    4.219049] usb usb2: Manufacturer: Linux 5.7.0-rc4-aml-s812 dwc2_hsotg
    [    4.225650] usb usb2: SerialNumber: c90c0000.usb
    [    4.230719] hub 2-0:1.0: USB hub found
    [    4.234026] hub 2-0:1.0: 1 port detected
    [    4.240564] platform c1108c20.mmc:slot@1: Got CD GPIO
    [    4.276142] meson-mx-ao-arc-firmware ao-arc-firmware: Failed to request mbox channel #0
    [    4.289967] printk: console [netcon0] enabled
    [    4.290002] netconsole: network logging started
    [    4.293693] ALSA device list:
    [    4.296191]   No soundcards found.
    [    4.300605] Freeing unused kernel memory: 1024K
    [    4.304296] Run /init as init process
    [    4.308016] process '/usr/bin/sh' started with executable stack
    [    4.318106] mmc1: new high speed SDHC card at address aaaa
    [    4.319694] mmcblk1: mmc1:aaaa SC16G 14.8 GiB 
    [    4.329690]  mmcblk1: p1 p2
    [    4.631341] usb 2-1: new high-speed USB device number 2 using dwc2
    [    4.840940] usb 2-1: New USB device found, idVendor=05e3, idProduct=0610, bcdDevice=32.98
    [    4.843608] usb 2-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
    [    4.850707] usb 2-1: Product: USB2.0 Hub
    [    4.857915] hub 2-1:1.0: USB hub found
    [    4.858638] hub 2-1:1.0: 4 ports detected
    [    4.890686] random: fast init done
    [    5.689676] EXT4-fs (mmcblk1p2): mounted filesystem with writeback data mode. Opts: data=writeback
    [    7.009432] systemd[1]: System time before build time, advancing clock.
    [    7.055055] systemd[1]: systemd 245.5-2 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)
    [    7.075199] systemd[1]: Detected architecture arm.
    [    7.127317] systemd[1]: Set hostname to <aml-s812>.
    [    7.786570] systemd[1]: /lib/systemd/system/dbus.socket:5: ListenStream= references a path below legacy directory /var/run/, updating /var/run/dbus/system_bus_socket → /run/dbus/system_bus_socket; please update the unit file accordingly.
    [    8.316124] random: systemd: uninitialized urandom read (16 bytes read)
    [    8.317350] systemd[1]: system-modprobe.slice: unit configures an IP firewall, but the local system does not support BPF/cgroup firewalling.
    [    8.329757] systemd[1]: (This warning is only shown for the first unit using IP firewalling.)
    [    8.341870] systemd[1]: Created slice system-modprobe.slice.
    [    8.344433] random: systemd: uninitialized urandom read (16 bytes read)
    [    8.351876] systemd[1]: Created slice system-serial\x2dgetty.slice.
    [    8.357042] random: systemd: uninitialized urandom read (16 bytes read)
    [    8.364569] systemd[1]: Created slice system-systemd\x2dfsck.slice.
    [    8.371409] systemd[1]: Created slice User and Session Slice.
    [    8.376012] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
    [    8.383805] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
    [    8.391230] systemd[1]: Condition check resulted in Arbitrary Executable File Formats File System Automount Point being skipped.
    [    8.402712] systemd[1]: Reached target Local Encrypted Volumes.
    [    8.408765] systemd[1]: Reached target Remote File Systems.
    [    8.414108] systemd[1]: Reached target Slices.
    [    8.418523] systemd[1]: Reached target Swap.
    [    8.422798] systemd[1]: Reached target System Time Set.
    [    8.428588] systemd[1]: Listening on Syslog Socket.
    [    8.433333] systemd[1]: Listening on fsck to fsckd communication Socket.
    [    8.439862] systemd[1]: Listening on initctl Compatibility Named Pipe.
    [    8.454580] systemd[1]: Condition check resulted in Journal Audit Socket being skipped.
    [    8.457788] systemd[1]: Listening on Journal Socket (/dev/log).
    [    8.463910] systemd[1]: Listening on Journal Socket.
    [    8.468815] systemd[1]: Listening on udev Control Socket.
    [    8.473954] systemd[1]: Listening on udev Kernel Socket.
    [    8.479457] systemd[1]: Condition check resulted in Huge Pages File System being skipped.
    [    8.487105] systemd[1]: Condition check resulted in POSIX Message Queue File System being skipped.
    [    8.500623] systemd[1]: Mounting Kernel Debug File System...
    [    8.502180] systemd[1]: Condition check resulted in Kernel Trace File System being skipped.
    [    8.517089] systemd[1]: Starting Restore / save the current clock...
    [    8.529191] systemd[1]: Starting Set the console keyboard layout...
    [    8.538012] systemd[1]: Starting Create list of static device nodes for the current kernel...
    [    8.542076] systemd[1]: Condition check resulted in Load Kernel Module drm being skipped.
    [    8.555516] systemd[1]: Started Nameserver information manager.
    [    8.566780] systemd[1]: Reached target Network (Pre).
    [    8.577833] systemd[1]: Condition check resulted in Set Up Additional Binary Formats being skipped.
    [    8.583475] systemd[1]: Condition check resulted in File System Check on Root Device being skipped.
    [    8.626028] systemd[1]: Starting Load Kernel Modules...
    [    8.633967] systemd[1]: Starting Remount Root and Kernel File Systems...
    [    8.643063] systemd[1]: Starting udev Coldplug all Devices...
    [    8.655500] systemd[1]: Mounted Kernel Debug File System.
    [    8.660118] systemd[1]: Finished Restore / save the current clock.
    [    8.667226] systemd[1]: Finished Create list of static device nodes for the current kernel.
    [    8.696792] EXT4-fs (mmcblk1p2): re-mounted. Opts: commit=600,errors=remount-ro
    [    8.710145] systemd[1]: Finished Remount Root and Kernel File Systems.
    [    8.763023] systemd[1]: Condition check resulted in Rebuild Hardware Database being skipped.
    [    8.769106] systemd[1]: Condition check resulted in Platform Persistent Storage Archival being skipped.
    [    8.782885] systemd[1]: Starting Load/Save Random Seed...
    [    8.789265] systemd[1]: Starting Create System Users...
    [    8.793913] systemd[1]: Finished Load Kernel Modules.
    [    8.807004] systemd[1]: Mounting FUSE Control File System...
    [    8.836027] systemd[1]: Mounting Kernel Configuration File System...
    [    8.858672] systemd[1]: Starting Apply Kernel Variables...
    [    8.865894] systemd[1]: Mounted FUSE Control File System.
    [    8.866801] systemd[1]: Mounted Kernel Configuration File System.
    [    9.066956] systemd[1]: Finished Set the console keyboard layout.
    [    9.159835] systemd[1]: Finished udev Coldplug all Devices.
    
    
    
    Armbian 20.05.3 Bullseye ttyAML0 
    
    aml-s812 login: root
    
    
    Password: 
    You are required to change your password immediately (administrator enforced)
    Changing password for root.
    Current password: 
    New password: 
    Retype new password: 
    Bad: new password is too simple
    New password: 
    Retype new password: 
     [0;1;34;94m____   [0;1;34;94m___  [0;1;34;94m_ [0;1;34;94m____  
    [0;1;34;94m/ [0;1;34;94m___| [0;1;34;94m( _ )/ |___ \ 
    \___ \ / _ \| | __) |
     ___) | (_) | |/ __/ 
    |____/ \___/|_|_[0;1;30;90m____|
                         
    Welcome to Armbian bullseye with Linux 5.7.0-rc4-aml-s812
    
    No end-user support: built from trunk & unsupported (bullseye) userspace!
    
    System load:   2.50 0.91 0.33  	Up time:       1 min		
    Memory usage:  9 % of 989MB  	IP:            169.254.8.153
    CPU temp:      31°C           	
    Usage of /:    17% of 14G    	
    
    [ General system configuration (beta): armbian-config ]
    
    New to Armbian? Check the documentation first: https://docs.armbian.com
    
    
    You are using an Armbian with unsupported (bullseye) userspace !!!
    
    This image is provided AS IS with NO WARRANTY and NO END USER SUPPORT!.
    
    Creating a new user account. Press <Ctrl-C> to abort
    Desktop environment will not be enabled if you abort the new user creation
    
    Please provide a username (eg. your forename): user
    Trying to add user user
    Adding user `user' ...
    Adding new group `user' (1000) ...
    Adding new user `user' (1000) with group `user' ...
    Creating home directory `/home/user' ...
    Copying files from `/etc/skel' ...
    New password: 
    Retype new password: 
    passwd: password updated successfully
    Changing the user information for user
    Enter the new value, or press ENTER for the default
    	Full Name []: 
    	Room Number []: 
    	Work Phone []: 
    	Home Phone []: 
    	Other []: 
    Is the information correct? [Y/n] 
    
    Dear user, your account user has been created and is sudo enabled.
    Please use this account for your daily work from now on.
    
    -bash: /usr/bin/sound.sh: No such file or directory
    
    Now starting desktop environment...
    

     

  4.    Booting using the fdt blob at 0x11800000
       Loading Kernel Image ... OK
    OK
    uboot time: 5690452 us.
    Using machid 0xf81 from environment
    faild to get aml_reserved_end address
    the default relocate ramdisk and fdt address-relocate_addr: 0x20000000
       Loading Device Tree to 1fff6000, end 1ffff038 ... OK
    libfdt fdt_path_offset() returned FDT_ERR_NOTFOUND
    libfdt fdt_path_offset() returned FDT_ERR_NOTFOUND
    
    Starting kernel ...
    
    [    0.183645] lima d00c0000.gpu: IRQ ppmmu2 not found
    [    0.183687] lima d00c0000.gpu: IRQ ppmmu3 not found
    [    0.187786] lima d00c0000.gpu: IRQ ppmmu4 not found
    [    0.192637] lima d00c0000.gpu: IRQ ppmmu5 not found
    [    0.197498] lima d00c0000.gpu: IRQ ppmmu6 not found
    [    0.202360] lima d00c0000.gpu: IRQ ppmmu7 not found
    [    0.207403] lima d00c0000.gpu: IRQ pp2 not found
    [    0.211828] lima d00c0000.gpu: IRQ pp3 not found
    [    0.216428] lima d00c0000.gpu: IRQ pp4 not found
    [    0.221030] lima d00c0000.gpu: IRQ pp5 not found
    [    0.225632] lima d00c0000.gpu: IRQ pp6 not found
    [    0.230235] lima d00c0000.gpu: IRQ pp7 not found
    [    0.235440] debugfs: Directory 'd00c0000.gpu-mali' with parent 'VDDEE' already present!
    [    0.262215] dummy-irq: no IRQ given.  Use irq=N
    [    0.264896] mtdoops: mtd device (mtddev=name/number) must be supplied
    [    0.289184] remoteproc remoteproc0: request_firmware failed: -2
    [    0.289939] no UART detected at 0x1
    [    0.462107] meson-drm d0100000.vpu: meson_vclk_setup(1, 148500, 148500, 148500, 0)
    [    0.769930] meson-mx-ao-arc-firmware ao-arc-firmware: Failed to request mbox channel #0
    [ �QA5:A;SVN:B72;POC:17F;STS:0;BOOT:0;INIT:10;BOOT:1;INIT:0;READ:0;CHECK:0;PASS:1;
    -----------------------------------------------3C0001
    S/N : HKC1CC0349CD6833
    0x0000009f
    check SD_boot_type:0x1   card_type:0x1
    Loading U-boot...success.
    
    
    U-boot-00000-g3b0181fd0a(odroidc@3b0181fd) (Jul 17 2018 - 18:49:05)
    
    DRAM:  1 GiB  
    relocation Offset is: 2ff20000
    MMC:   SDCARD: 0, eMMC: 1
    IR init is done!
    vpu clk_level = 3
    set vpu clk: 182150000Hz, readback: 182150000Hz(0x701)
    mode = 6  vic = 4
    set HDMI vic: 4
    mode is: 6
    viu chan = 1  
    config HPLL   
    config HPLL done
    reconfig packet setting done
    MMC read: dev # 0, block # 33984, count 12288 ... 12288 blocks read: OK
    There is no valid bmp file at the given address
    ============================================================
    Vendor: Man 035344 Snr 70732735 Rev: 8.0 Prod: SC16G
                Type: Removable Hard Disk
                Capacity: 15193.5 MB = 14.8 GB (31116288 x 512)
    ------------------------------------------------------------
    Partition     Start Sector     Num Sectors     Type
        1                32768         1048576       c
        2              1081344        30034944      83
    ============================================================
    Net:   Meson_Ethernet
    init suspend firmware done. (ret:0)
    Hit Enter key to stop autoboot -- :  0
    exit abortboot: 0
    reading boot.ini
    
    662 bytes read
    Loading boot.ini from mmc0:1 (vfat)
    Executing the script...
    setenv env_addr "0x11400000"
    setenv dtb_addr "0x11800000"
    setenv kernel_addr "0x14000000"
    setenv boot_start bootm ${kernel_addr} - ${dtb_addr}
    video dev open 1080P
    mode = 8  vic = 16
    set HDMI vic: 16
    mode is: 8
    viu chan = 1  
    config HPLL   
    config HPLL done
    reconfig packet setting done
    if fatload mmc 0 ${env_addr} uEnv.txt; then env import -t ${env_addr} ${filesize}; setenv bootargs ${APPEND}; else exit;
     fi; if fatload mmc 0 ${kernel_addr} ${LINUX}; then if fatload mmc 0 ${dtb_addr} ${FDT}; then run boot_start; fi; fi;
    reading uEnv.txt
    
    171 bytes read
    reading /KERNEL
    
    12837304 bytes read
    reading /dtb/amlogic/meson8b-odroidc1.dtb
    
    24633 bytes read
    ## Booting kernel from Legacy Image at 14000000 ...
       Image Type:   ARM Linux Kernel Image (uncompressed)
       Data Size:    12837240 Bytes = 12.2 MiB
       Load Address: 00208000
       Entry Point:  00208000
       Verifying Checksum ... OK
    ## Flattened Device Tree blob at 11800000
       Booting using the fdt blob at 0x11800000
       Loading Kernel Image ... OK
    OK
    uboot time: 5584013 us.
    Using machid 0xf81 from environment
    faild to get aml_reserved_end address
    the default relocate ramdisk and fdt address-relocate_addr: 0x20000000
       Loading Device Tree to 1fff6000, end 1ffff038 ... OK
    libfdt fdt_path_offset() returned FDT_ERR_NOTFOUND
    libfdt fdt_path_offset() returned FDT_ERR_NOTFOUND
    
    Starting kernel ...
    
    [    0.186405] lima d00c0000.gpu: IRQ ppmmu2 not found
    [    0.186448] lima d00c0000.gpu: IRQ ppmmu3 not found
    [    0.190548] lima d00c0000.gpu: IRQ ppmmu4 not found
    [    0.195402] lima d00c0000.gpu: IRQ ppmmu5 not found
    [    0.200259] lima d00c0000.gpu: IRQ ppmmu6 not found
    [    0.205121] lima d00c0000.gpu: IRQ ppmmu7 not found
    [    0.210140] lima d00c0000.gpu: IRQ pp2 not found
    [    0.214589] lima d00c0000.gpu: IRQ pp3 not found
    [    0.219189] lima d00c0000.gpu: IRQ pp4 not found
    [    0.223791] lima d00c0000.gpu: IRQ pp5 not found
    [    0.228393] lima d00c0000.gpu: IRQ pp6 not found
    [    0.232995] lima d00c0000.gpu: IRQ pp7 not found
    [    0.238201] debugfs: Directory 'd00c0000.gpu-mali' with parent 'VDDEE' already present!
    [    0.264890] dummy-irq: no IRQ given.  Use irq=N
    [    0.267625] mtdoops: mtd device (mtddev=name/number) must be supplied
    [    0.289609] remoteproc remoteproc0: request_firmware failed: -2
    [    0.292283] no UART detected at 0x1
    [    0.460748] meson-drm d0100000.vpu: meson_vclk_setup(1, 148500, 148500, 148500, 0)
    [    0.780460] meson-mx-ao-arc-firmware ao-arc-firmware: Failed to request mbox channel #0
    

    That is the boot log from libreelec. So far the systems boots up and show the kodi UI. I will test the armbian image at the weekend.

  5. I tried this one: Armbian_20.05.3_Aml-s812_bullseye_current_5.7.0-rc4_desktop_20200506.img changed the dtb file location.

    Nothing happend, the uart print is limit to the first stage bootloader:

    QA5:A;SVN:B72;POC:17F;STS:0;BOOT:0;INIT:10;BOOT:1;INIT:0;READ:41;USB:3;QA5:A;SVN:B72;POC:17F;STS:0;BOOT:0;INIT:10;BOOT:1;INIT:0;READ:41;USB:3;SERIAL:4;STS:0;BOOT:0;INIT:10;BOOT:1;INIT:0;READ:41;USB:3;SERIAL:4;

    No HDMI output.

    The same applies to: LibreELEC-ARM-ALL.arm-9.80-devel-20200430145031-569f834-s8xx.img

  6. The same here on an odroid hc1

     

    docker version
    Client:
     Version:           18.09.1
     API version:       1.39
     Go version:        go1.11.6
     Git commit:        4c52b90
     Built:             Tue, 03 Sep 2019 19:59:35 +0200
     OS/Arch:           linux/arm
     Experimental:      false
    
    Server:
     Engine:
      Version:          18.09.1
      API version:      1.39 (minimum version 1.12)
      Go version:       go1.11.6
      Git commit:       4c52b90
      Built:            Tue Sep  3 17:59:35 2019
      OS/Arch:          linux/arm
      Experimental:     false
    
    docker logs mayan-edms
    standard_init_linux.go:207: exec user process caused "exec format error"

     

  7. hey,

     

    I'm having some trouble with my ssh connection to an armbian based server. It feels like a heavy lag within the filesystem, sometimes it takes up to 20 seconds to open a file with vim or use cd with tab-completion. But it is not always there, it feels more like some heavy write operation occurs spontaneously. I start digging but I have no clue why this happens. But at least I found the most disk I/O processes which are influxdb and mysql.

     

    [16:54|root@odroidhc1 ~]# cat /syscat /sys/fs/ext4/mmcblk0p1/session_write_kbytes 
    118811040
    
    [16:55|root@odroidhc1 ~]# uptime
     16:56:03 up 10 days,  3:53,  3 users,  load average: 0,87, 0,64, 0,59
     
    [17:15|root@odroidhc1 zram-config]# iostat
    Linux 4.14.150-odroidxu4 (odroidhc1)    12.01.2020      _armv7l_        (8 CPU)
    
    avg-cpu:  %user   %nice %system %iowait  %steal   %idle
               2,03    0,44    0,93    0,85    0,00   95,75
    
    Device             tps    kB_read/s    kB_wrtn/s    kB_read    kB_wrtn
    loop0            24,86        12,44         0,00   10932869        668
    mmcblk0           8,55        90,30       135,32   79391237  118968040
    zram0             0,88         1,54         1,97    1349836    1735284
    zram1             2,35         3,83         5,58    3369880    4903220
    sda               1,10       110,95        47,61   97549568   41860980
    dm-0             24,86        12,43         0,00   10931824        668
    
    
    [16:36|root@odroidhc1 ~]# cat /etc/fstab 
    # <device>  <dir>   <type>  <options>   <dump>  <fsck>
    UUID=8a464498-f41a-4de4-9a05-52e636c8135e / ext4 defaults,noatime,nodiratime,commit=600,errors=remount-ro 0 1
    UUID=92d36a67-0322-42cf-9a4c-81a0563f58c9 /mnt btrfs defaults,nofail 0 1
    
    tmpfs /tmp tmpfs defaults,nosuid 0 0
    
    tmpfs   /var/www/tmp    tmpfs    defaults,nofail,noatime,nosuid,uid=33,gid=33,mode=0755,size=100m    0 0
    tmpfs   /var/log/audit    tmpfs    defaults,nofail,noatime,nosuid,mode=0755,size=100m    0 0
    
    [16:37|root@odroidhc1 ~]# swapon
    NAME       TYPE        SIZE USED PRIO
    /dev/zram1 partition 998,5M 246M    5
    

    However, the value (session_write_kbytes) is constantly rising and not within the commit time delay from fstab file. The mariadb is set to fsync and not o_direct, it should respect the commit entry?

    However (118811040 KBytes == 116026 MBytes == 113 GBytes) within 10 days? It seems a lot for a single user nextcloud instance? The influxdb takes like 6 values every minute from 5 inputs.

     

    Did someone optimize the mariadb setup for a sdcard?

     

  8. Thank you very much. I fixed it with a different approach in while. Take all necessary files in /boot and /lib/modules and copy them. Save the mbr and partition table with fdisk to a file, then copy straight with the dd if=/dev/mmcblk0 of=/dev/sdc bs=512 count=8192 and restore afterwards the saved fdisk dump.

    I forget to mentioned it here: the SoC is the odroid HC1.

  9.  

    the dump from fdisk:

    p
    device         Boot  begin      end  sectors  size Kn typ
    /dev/mmcblk0p1        8192 30396575 30388384 14,5G 83 Linux
    
    F
      beginn      end  sectors  size
        2048     8191     6144    3M
    30398464 30703615   305152  149M
    

    the raw copy with `dd if=/dev/mmcblk0 of=/dev/sdc skip=2048 seek=2048 bs=512 count=6144 conv=notrunc` fails. Did you meant byte #8192 or sector?

     

    the kernel modules are still there.

  10. I made a kernel upgrade which was not successful The kernel does not boot up. Unfortunately armbian does not contain a fallback method to load the old kernel. Therefore I need a way to restore the old kernel. 

    I copied a working boot folder from another sdcard which does not work.

     

    What did I miss?

  11. Usually I compile the kernel on my own because I need apparmor. The current 4.14.29 fails with this log. I tried it again with the Debian stretch next nightly. However this leads to the same:

    Spoiler
    
    œ
    
    U-Boot 2017.05-armbian (Mar 24 2018 - 10:51:25 +0100) for ODROID-XU4
    
    CPU:   Exynos5422 @ 800 MHz
    Model: Odroid XU4 based on EXYNOS5422
    Board: Odroid XU4 based on EXYNOS5422
    Type:  xu4
    DRAM:  2 GiB
    MMC:   EXYNOS DWMMC: 0, EXYNOS DWMMC: 1
    MMC Device 0 ( SD ): 14.6 GiB
    Card did not respond to voltage select!
    mmc_init: -95, time 11
    *** Warning - bad CRC, using default environment
    
    In:    serial
    Out:   serial
    Err:   serial
    Net:   No ethernet found.
    Press quickly 'Enter' twice to stop autoboot:  1  0 
    ** Unrecognized filesystem type **
    ** File not found /boot.ini **
    12404 bytes read in 26 ms (465.8 KiB/s)
    cfgload addr = 0x50000000, Loading boot.ini from ext4 0:1 /boot/boot.ini
    cfgload: applying boot.ini...
    cfgload: setenv initrd_high "0xffffffff"
    cfgload: setenv fdt_high "0xffffffff"
    cfgload: setenv macaddr "00:1e:06:61:7a:55"
    cfgload: setenv rootdev "UUID=82df4dbc-e903-4279-b505-a39341a72d5f"
    cfgload: setenv rootfstype "ext4"
    cfgload: setenv console "both"
    cfgload: setenv verbosity "1"
    cfgload: if ext4load mmc 0:1 0x44000000 /boot/armbianEnv.txt || fatload mmc 0:1 0x44000000 armbianEnv.txt || ext4load mmc 0:1 0x44000000 armbianEnv.txt; then env import -t 0x44000000 ${filesize}; fi
    ** File not found /boot/armbianEnv.txt **
    ** Unrecognized filesystem type **
    ** File not found armbianEnv.txt **
    cfgload: if test "${console}" = "display" || test "${console}" = "both"; then setenv consoleargs "console=tty1"; fi
    cfgload: if test "${console}" = "serial" || test "${console}" = "both"; then setenv consoleargs "${consoleargs} console=ttySAC2,115200n8"; fi
    cfgload: setenv bootrootfs "${consoleargs} consoleblank=0 loglevel=${verbosity} panic=10 root=${rootdev} rootfstype=${rootfstype} rootwait rw"
    cfgload: setenv vout "hdmi"
    cfgload: setenv cecenable "false" # false or true
    cfgload: setenv governor "performance"
    cfgload: setenv ddr_freq 825
    cfgload: setenv HPD "true"
    cfgload: setenv hdmi_tx_amp_lvl  "31"
    cfgload: setenv hdmi_tx_lvl_ch0      "3"
    cfgload: setenv hdmi_tx_lvl_ch1      "3"
    cfgload: setenv hdmi_tx_lvl_ch2      "3"
    cfgload: setenv hdmi_tx_emp_lvl      "6"
    cfgload: setenv hdmi_clk_amp_lvl     "31"
    cfgload: setenv hdmi_tx_res      "0"
    cfgload: setenv hdmi_phy_control "hdmi_tx_amp_lvl=${hdmi_tx_amp_lvl} hdmi_tx_lvl_ch0=${hdmi_tx_lvl_ch0} hdmi_tx_lvl_ch1=${hdmi_tx_lvl_ch1} hdmi_tx_lvl_ch2=${hdmi_tx_lvl_ch2} hdmi_tx_emp_lvl=${hdmi_tx_emp_lvl} hdmi_clk_amp_lvl=${hdmi_clk_amp_lvl} hdmi_tx_res=${hdmi_tx_res} HPD=${HPD} vout=${vout}"
    cfgload: ext4load mmc 0:1 0x40008000 /boot/zImage || fatload mmc 0:1 0x40008000 zImage || ext4load mmc 0:1 0x40008000 zImage
    5057824 bytes read in 413 ms (11.7 MiB/s)
    cfgload: ext4load mmc 0:1 0x42000000 /boot/uInitrd || fatload mmc 0:1 0x42000000 uInitrd || ext4load mmc 0:1 0x42000000 uInitrd
    5743973 bytes read in 462 ms (11.9 MiB/s)
    cfgload: if test "${board_name}" = "xu4"; then setenv fdtfile "exynos5422-odroidxu4.dtb"; fi
    cfgload: if test "${board_name}" = "xu3"; then setenv fdtfile "exynos5422-odroidxu3.dtb"; fi
    cfgload: if test "${board_name}" = "xu3l"; then setenv fdtfile "exynos5422-odroidxu3-lite.dtb"; fi
    cfgload: if ext4load mmc 0:1 0x00000000 "/boot/.next" || fatload mmc 0:1 0x00000000 ".next"  || ext4load mmc 0:1 0x00000000 ".next"; then echo "Found mainline kernel configuration"; else setenv fdtfile "exynos5422-odroidxu3.dtb"; fi
    0 bytes read in 18 ms (0 Bytes/s)
    Found mainline kernel configuration
    cfgload: ext4load mmc 0:1 0x44000000 /boot/dtb/${fdtfile} || fatload mmc 0:1 0x44000000 dtb/${fdtfile} || ext4load mmc 0:1 0x44000000 dtb/${fdtfile}
    63776 bytes read in 67 ms (928.7 KiB/s)
    cfgload: fdt addr 0x44000000
    cfgload: if test "${cecenable}" = "false"; then fdt rm /cec@101B0000; fi
    libfdt fdt_path_offset() returned FDT_ERR_NOTFOUND
    cfgload: setenv bootargs "${bootrootfs} ${videoconfig} smsc95xx.macaddr=${macaddr} governor=${governor} ${hdmi_phy_control} usb-storage.quirks=${usbstoragequirks} ${extraargs}"
    cfgload: dmc ${ddr_freq}
    cfgload: bootz 0x40008000 0x42000000 0x44000000
    Kernel image @ 0x40008000 [ 0x000000 - 0x4d2d20 ]
    ## Loading init Ramdisk from Legacy Image at 42000000 ...
       Image Name:   uInitrd
       Image Type:   ARM Linux RAMDisk Image (gzip compressed)
       Data Size:    5743909 Bytes = 5.5 MiB
       Load Address: 00000000
       Entry Point:  00000000
       Verifying Checksum ... OK
    ## Flattened Device Tree blob at 44000000
       Booting using the fdt blob at 0x44000000
       Using Device Tree in place at 44000000, end 4401291f
    
    Starting kernel ...
    

     

    Blue and green LEDs get off and that's it.

     

    And a little bit offtopic: How do I fix a broken kernel...

  12. Hey,

     

    I compiled and installed the latest kernel (4.7.3 and uboot 2016-09)  but something went wrong. The dtb file was missing. while a manually correct the missing dtb from another run a flashed uboot in the wrong way. Instead of using the drive /dev/sdc I used the partition /dev/sdc1. 

    I read this: https://linux-sunxi.org/Bootable_SD_card#SD_Card_Layoutand with these two commands I should have erased the first 1Mb

    dd if=/dev/zero of=/dev/sdc1 bs=1k count=1023 seek=1
    dd if=u-boot-sunxi-with-spl.bin of=/dev/sdc1 bs=1024 seek=8
    

    (Luckily there is no backup at all :angry: )

    gpart gives me this:

    gpart -vg /mnt/veracrypt1/Armbian_5.14_Cubietruck_Debian_jessie_4.6.2.raw 
    
    dev(/mnt/veracrypt1/Armbian_5.14_Cubietruck_Debian_jessie_4.6.2.raw) mss(512)
    Primary partition(1)
       type: 131(0x83)(Linux ext2 filesystem)
       size: 1525mb #s(3123200) s(2048-3125247)
       chs:  (16/0/1)-(1023/3/32)d (0/0/0)-(0/0/0)r
       hex:  00 00 01 10 83 03 E0 FF 00 08 00 00 00 A8 2F 00
    
    ----------------------------------------------------------------------------------------
    
    gpart -vg /mnt/veracrypt1/broken_cubietruck.img
    
    dev(/mnt/veracrypt1/broken_cubietruck.img) mss(512)
    Primary partition(1)
       type: 131(0x83)(Linux ext2 filesystem)
       size: 14991mb #s(30701568) s(2048-30703615)
       chs:  (0/56/33)-(913/88/8)d (0/0/0)-(0/0/0)r
       hex:  00 38 21 00 83 58 C8 91 00 08 00 00 00 78 D4 01
    

    I try to use the values from the raw image to recover at least some data, but fsch.ext4 fails. Do you see an opportunity to restore the partition table? Or to recover the filesystem?

     

     

    Edit: Topic can be deleted. I wasn't capable of restoring the filesystem.

  13. I tried to used AppArmor under the Linux cubietruck 4.4.1-sunxi #10 SMP Wed Feb 17 17:57:20 CET 2016 armv7l GNU/Linux.

    But I get a kernel panic after i rebooted the system.

     

    Some questions:

     

    1. Did you integrate AppArmor into the kernel?

    2. Did you use an alternative mandatory access control?

    3. Need I an additional kernel argument in the /boot/boot.cmd other than these "apparmor=1 security=apparmor"?

    4. Is there a major diffenrece between your kernel and that from danad.de?

     

    Unluckily I was not capable of getting a dump from the kernel panic. If you need it, I would take a photo.

×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines