Manjaro ARM for the VIM3

I am getting this boot screen when starting Manjaro on my VIM3 (installed on the emmc). I had it working well, but when I booted it today I couldn’t get pass this corrupt screen.

why nobody like this amazing picture :wink:

Did you update the system ?

I need uart logs to understand this situation better. I did reply to your post on Manjaro Forum also.

2 Likes

@Spikerguy Bro, why is krescue still having so so old versions of manjaro? Can you please connect with @hyphop and at least update the images in krescue for vim3.

Thanks

Yes aware of it, will make new images for krescue soon.

Thanks for the reminder.

2 Likes

that exactly what u said,finally i change vision to 21.08. everything is ok. thank you very much

Fresh install of Manjaro from Krescue - install works perfectly. I reboot the vim3 and run
sudo pacman -Syu to do an update.

The system upgrades with a few questions on packages to replace. Upgrade completes - reboot the VIM3 and the device does not restart. I can connect to UART and here is the output:

1: MANJARO
Retrieving file: /initramfs-linux.img
7199909 bytes read in 302 ms (22.7 MiB/s)
Retrieving file: /Image
29827584 bytes read in 1250 ms (22.8 MiB/s)
Retrieving file: /dtbs/amlogic/meson-sm1-khadas-vim3l.dtb
74279 bytes read in 5 ms (14.2 MiB/s)
Retrieving file: /dtbs/amlogic/meson-sm1-khadas-vim3l.dtb.overlay.env
Failed to load ‘/dtbs/amlogic/meson-sm1-khadas-vim3l.dtb.overlay.env’
Retrieving file: /uEnv.txt
Failed to load ‘/uEnv.txt’
append: initrd=/initramfs-linux.img root=LABEL=ROOT_MNJRO rootflags=data=writebh
Moving Image from 0x8080000 to 0x8200000, end=9f70000

Flattened Device Tree blob at 08008000

Booting using the fdt blob at 0x8008000
Loading Ramdisk to 7f922000, end 7ffffca5 … OK
Loading Device Tree to 000000007f90c000, end 000000007f921226 … OK

Starting kernel …

[ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[ 0.000000] Linux version 5.16.4-3-MANJARO-ARM-ODROID (builduser@fh-mjr-buil2
[ 0.000000] Machine model: Khadas VIM3L
[ 0.000000] efi: UEFI not found.
[ 0.000000] OF: fdt: Reserved memory: failed to reserve memory for node 'secB
[ 0.000000] Reserved memory: created CMA memory pool at 0x00000000e4800000, B
[ 0.000000] OF: reserved mem: initialized node linux,cma, compatible id sharl
[ 0.000000] Zone ranges:
[ 0.000000] DMA [mem 0x0000000000000000-0x00000000f4806fff]
[ 0.000000] DMA32 empty
[ 0.000000] Normal empty
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000000000000-0x00000000f4806fff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x00000000f4806fff]
[ 0.000000] On node 0, zone DMA: 14329 pages in unavailable ranges
[ 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: MIGRATE_INFO_TYPE not supported.
[ 0.000000] psci: SMC Calling Convention v1.1
[ 0.000000] percpu: Embedded 20 pages/cpu s41240 r8192 d32488 u81920
[ 0.000000] Detected VIPT I-cache on CPU0
[ 0.000000] CPU features: detected: ARM erratum 845719
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 985830
[ 0.000000] Kernel command line: initrd=/initramfs-linux.img root=LABEL=ROOTh
[ 0.000000] Dentry cache hash table entries: 524288 (order: 10, 4194304 byte)
[ 0.000000] Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes,)
[ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[ 0.000000] Memory: 3625248K/4005916K available (17344K kernel code, 2184K r)
[ 0.000000] random: get_random_u64 called from cache_random_seq_create+0x84/0
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[ 0.000000] rcu: Preemptible hierarchical RCU implementation.
[ 0.000000] rcu: RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=4.
[ 0.000000] Trampoline variant of Tasks RCU enabled.
[ 0.000000] Tracing variant of Tasks RCU enabled.
[ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 ji.
[ 0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4
[ 0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[ 0.000000] Root IRQ handler: gic_handle_irq
[ 0.000000] GIC: Using split EOI/Deactivate mode
[ 0.000000] arch_timer: cp15 timer(s) running at 24.00MHz (phys).
[ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycless
[ 0.000000] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398s
[ 0.000185] Console: colour dummy device 80x25
[ 0.000533] printk: console [tty0] enabled
[ 0.000575] Calibrating delay loop (skipped), value calculated using timer f)
[ 0.000596] pid_max: default: 32768 minimum: 301
[ 0.000680] LSM: Security Framework initializing
[ 0.000755] SELinux: Initializing.
[ 0.000869] Mount-cache hash table entries: 8192 (order: 4, 65536 bytes, lin)
[ 0.000900] Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes)
[ 0.002307] rcu: Hierarchical SRCU implementation.
[ 0.004377] EFI services will not be available.
[ 0.004701] smp: Bringing up secondary CPUs …
[ 0.005342] Detected VIPT I-cache on CPU1
[ 0.005402] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
[ 5.041300] CPU2: failed to come online
[ 5.041326] CPU2: failed in unknown state : 0x0
[ 10.082811] CPU3: failed to come online
[ 10.082839] CPU3: failed in unknown state : 0x0
[ 10.082907] smp: Brought up 1 node, 2 CPUs
[ 10.082922] SMP: Total of 2 processors activated.
[ 10.082934] CPU features: detected: 32-bit EL0 Support
[ 10.082944] CPU features: detected: 32-bit EL1 Support
[ 10.082957] CPU features: detected: CRC32 instructions
[ 10.093854] CPU: All CPU(s) started at EL2
[ 10.093917] alternatives: patching kernel code
[ 10.095489] devtmpfs: initialized
[ 10.105739] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, ms
[ 10.105787] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[ 10.112107] pinctrl core: initialized pinctrl subsystem
[ 10.112641] DMI not present or invalid.
[ 10.113028] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[ 10.114218] DMA: preallocated 512 KiB GFP_KERNEL pool for atomic allocations
[ 10.114417] DMA: preallocated 512 KiB GFP_KERNEL|GFP_DMA pool for atomic alls
[ 10.114633] DMA: preallocated 512 KiB GFP_KERNEL|GFP_DMA32 pool for atomic as
[ 10.114712] audit: initializing netlink subsys (disabled)
[ 10.114944] audit: type=2000 audit(10.110:1): state=initialized audit_enable1
[ 10.115405] thermal_sys: Registered thermal governor ‘step_wise’
[ 10.115941] cpuidle: using governor ladder
[ 10.115985] cpuidle: using governor menu
[ 10.116171] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[ 10.116248] ASID allocator initialised with 65536 entries
[ 10.117446] Serial: AMBA PL011 UART driver
[ 10.134062] platform ff900000.vpu: Fixing up cyclic dependency with ff600000x
[ 10.142111] platform hdmi-connector: Fixing up cyclic dependency with ff6000x
[ 10.150921] HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages
[ 10.150955] HugeTLB registered 32.0 MiB page size, pre-allocated 0 pages
[ 10.150969] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
[ 10.150982] HugeTLB registered 64.0 KiB page size, pre-allocated 0 pages
[ 10.151635] cryptd: max_cpu_qlen set to 1000
[ 10.313023] raid6: neonx8 gen() 2143 MB/s
[ 10.483088] raid6: neonx8 xor() 1587 MB/s
[ 10.653147] raid6: neonx4 gen() 2197 MB/s
[ 10.823205] raid6: neonx4 xor() 1558 MB/s
[ 10.993258] raid6: neonx2 gen() 2082 MB/s
[ 11.163345] raid6: neonx2 xor() 1429 MB/s
[ 11.333405] raid6: neonx1 gen() 1774 MB/s
[ 11.503478] raid6: neonx1 xor() 1214 MB/s
[ 11.673561] raid6: int64x8 gen() 1366 MB/s
[ 11.843627] raid6: int64x8 xor() 774 MB/s
[ 12.013701] raid6: int64x4 gen() 1603 MB/s
[ 12.183788] raid6: int64x4 xor() 847 MB/s
[ 12.353822] raid6: int64x2 gen() 1398 MB/s
[ 12.523894] raid6: int64x2 xor() 749 MB/s
[ 12.693958] raid6: int64x1 gen() 1033 MB/s
[ 12.864008] raid6: int64x1 xor() 517 MB/s
[ 12.864020] raid6: using algorithm neonx4 gen() 2197 MB/s
[ 12.864031] raid6: … xor() 1558 MB/s, rmw enabled
[ 12.864041] raid6: using neon recovery algorithm
[ 12.864248] ACPI: Interpreter disabled.
[ 12.865228] iommu: Default domain type: Translated
[ 12.865252] iommu: DMA domain TLB invalidation policy: strict mode
[ 12.865416] vgaarb: loaded
[ 12.865904] SCSI subsystem initialized
[ 12.866288] usbcore: registered new interface driver usbfs
[ 12.866335] usbcore: registered new interface driver hub
[ 12.866375] usbcore: registered new device driver usb
[ 12.866810] pps_core: LinuxPPS API ver. 1 registered
[ 12.866825] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giom>
[ 12.866853] PTP clock support registered
[ 12.866889] EDAC MC: Ver: 3.0.0
[ 12.867759] FPGA manager framework
[ 12.867861] Advanced Linux Sound Architecture Driver Initialized.
[ 12.868439] NetLabel: Initializing
[ 12.868454] NetLabel: domain hash size = 128
[ 12.868464] NetLabel: protocols = UNLABELED CIPSOv4 CALIPSO
[ 12.868519] NetLabel: unlabeled traffic allowed by default
[ 12.868951] clocksource: Switched to clocksource arch_sys_counter
[ 12.869140] VFS: Disk quotas dquot_6.6.0
[ 12.869201] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[ 12.869319] FS-Cache: Loaded
[ 12.870196] pnp: PnP ACPI: disabled
[ 12.875707] NET: Registered PF_INET protocol family
[ 12.875921] IP idents hash table entries: 65536 (order: 7, 524288 bytes, lin)
[ 12.877596] tcp_listen_portaddr_hash hash table entries: 2048 (order: 3, 327)
[ 12.877717] TCP established hash table entries: 32768 (order: 6, 262144 byte)
[ 12.877941] TCP bind hash table entries: 32768 (order: 7, 524288 bytes, line)
[ 12.878334] TCP: Hash tables configured (established 32768 bind 32768)
[ 12.878505] UDP hash table entries: 2048 (order: 4, 65536 bytes, linear)
[ 12.878608] UDP-Lite hash table entries: 2048 (order: 4, 65536 bytes, linear)
[ 12.878843] NET: Registered PF_UNIX/PF_LOCAL protocol family
[ 12.879312] RPC: Registered named UNIX socket transport module.
[ 12.879342] RPC: Registered udp transport module.
[ 12.879352] RPC: Registered tcp transport module.
[ 12.879361] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 12.879379] PCI: CLS 0 bytes, default 64
[ 12.879582] Trying to unpack rootfs image as initramfs…
[ 12.889541] kvm [1]: IPA Size Limit: 40 bits
[ 12.890755] kvm [1]: vgic interrupt IRQ9
[ 12.890873] kvm [1]: Hyp mode initialized successfully
[ 12.892530] Initialise system trusted keyrings
[ 12.892803] workingset: timestamp_bits=46 max_order=20 bucket_order=0
[ 12.897899] zbud: loaded
[ 12.899242] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 12.899532] FS-Cache: Netfs ‘nfs’ registered for caching
[ 12.900115] NFS: Registering the id_resolver key type
[ 12.900168] Key type id_resolver registered
[ 12.900179] Key type id_legacy registered
[ 12.900259] nfs4filelayout_init: NFSv4 File Layout Driver Registering…
[ 12.900274] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registerin.
[ 12.900288] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[ 12.901480] FS-Cache: Netfs ‘cifs’ registered for caching
[ 12.901778] Key type cifs.spnego registered
[ 12.901816] Key type cifs.idmap registered
[ 12.902076] ntfs: driver 2.1.32 [Flags: R/W].
[ 12.902750] JFS: nTxBlock = 8192, nTxLock = 65536
[ 12.906332] SGI XFS with ACLs, security attributes, realtime, quota, no debud
[ 12.907934] ocfs2: Registered cluster interface o2cb
[ 12.908243] OCFS2 User DLM kernel interface loaded
[ 12.909928] gfs2: GFS2 installed
[ 12.948017] xor: measuring software checksum speed
[ 12.952319] 8regs : 2363 MB/sec
[ 12.955869] 32regs : 2798 MB/sec
[ 12.960167] arm64_neon : 2320 MB/sec
[ 12.960194] xor: using function: 32regs (2798 MB/sec)
[ 12.960214] Key type asymmetric registered
[ 12.960226] Asymmetric key parser ‘x509’ registered
[ 12.960237] Asymmetric key parser ‘pkcs8’ registered
[ 12.960412] Block layer SCSI generic (bsg) driver version 0.4 loaded (major )
[ 12.960646] io scheduler mq-deadline registered
[ 12.960667] io scheduler kyber registered
[ 12.960826] io scheduler bfq registered
[ 12.961883] irq_meson_gpio: 100 to 8 gpio interrupt mux initialized
[ 12.977152] soc soc0: Amlogic Meson G12B (A311D) Revision 29:b (10:2) Detectd
[ 12.981952] Serial: 8250/16550 driver, 5 ports, IRQ sharing enabled
[ 12.983951] Serial: AMBA driver
[ 12.984323] ff803000.serial: ttyAML0 at MMIO 0xff803000 (irq = 25, base_baudt
[ 13.162698] Freeing initrd memory: 7028K
[ 14.029239] printk: console [ttyAML0] enabled
[ 14.034254] ffd24000.serial: ttyAML6 at MMIO 0xffd24000 (irq = 32, base_baudt
[ 14.043003] serial serial0: tty port ttyAML6 registered
[ 14.049752] panfrost ffe40000.gpu: clock rate = 24000000
[ 14.053335] panfrost ffe40000.gpu: dev_pm_opp_set_regulators: no regulator (9
[ 14.062635] panfrost ffe40000.gpu: mali-g52 id 0x7212 major 0x0 minor 0x0 st0
[ 14.069362] panfrost ffe40000.gpu: features: 00000000,13de77ff, issues: 00000
[ 14.077426] panfrost ffe40000.gpu: Features: L2:0x07110206 Shader:0x000000007
[ 14.089190] panfrost ffe40000.gpu: shader_present=0x3 l2_present=0x1
[ 14.110403] [drm] Initialized panfrost 1.2.0 20180908 for ffe40000.gpu on mi0
[ 14.120969] brd: module loaded
[ 14.126730] loop: module loaded
[ 14.130575] VFIO - User Level meta-driver version: 0.3
[ 14.131844] ehci_hcd: USB 2.0 ‘Enhanced’ Host Controller (EHCI) Driver
[ 14.136595] ehci-pci: EHCI PCI platform driver
[ 14.141073] ehci-platform: EHCI generic platform driver
[ 14.146311] ohci_hcd: USB 1.1 ‘Open’ Host Controller (OHCI) Driver
[ 14.152299] ohci-pci: OHCI PCI platform driver
[ 14.156700] ohci-platform: OHCI generic platform driver
[ 14.162394] usbcore: registered new interface driver usb-storage
[ 14.168007] mousedev: PS/2 mouse device common for all mice
[ 14.173821] i2c_dev: i2c /dev entries driver
[ 14.185767] sdhci: Secure Digital Host Controller Interface driver
[ 14.186326] sdhci: Copyright(c) Pierre Ossman
[ 14.190710] Synopsys Designware Multimedia Card Interface Driver
[ 14.197229] sdhci-pltfm: SDHCI platform and OF driver helper
[ 14.197640] meson-gx-mmc ffe05000.sd: Got CD GPIO
[ 14.206881] ledtrig-cpu: registered to indicate activity on CPUs
[ 14.213707] meson-sm: secure-monitor enabled
[ 14.217356] hid: raw HID events driver (C) Jiri Kosina
[ 14.222345] usbcore: registered new interface driver usbhid
[ 14.227639] usbhid: USB HID core driver
[ 14.235641] Initializing XFRM netlink socket
[ 14.236116] NET: Registered PF_INET6 protocol family
[ 14.263532] Segment Routing with IPv6
[ 14.263627] In-situ OAM (IOAM) with IPv6
[ 14.266012] NET: Registered PF_PACKET protocol family
[ 14.270700] Key type dns_resolver registered
[ 14.275085] registered taskstats version 1
[ 14.278763] Loading compiled-in X.509 certificates
[ 14.283946] zswap: loaded using pool lzo/zbud
[ 14.288385] Key type ._fscrypt registered
[ 14.291815] Key type .fscrypt registered
[ 14.295656] Key type fscrypt-provisioning registered
[ 14.301519] Btrfs loaded, crc32c=crc32c-generic, zoned=yes, fsverity=no
[ 14.307422] Key type encrypted registered
[ 14.349117] Internal error: synchronous external abort: 96000210 [#1] PREEMPP
[ 14.350979] Modules linked in:
[ 14.353996] CPU: 0 PID: 26 Comm: kworker/u8:1 Not tainted 5.16.4-3-MANJARO-A1
[ 14.362016] Hardware name: Khadas VIM3L (DT)
[ 14.366244] Workqueue: events_unbound deferred_probe_work_func
[ 14.372022] pstate: 200000c5 (nzCv daIF -PAN -UAO -TCO -DIT -SSBS BTYPE=–)
[ 14.378921] pc : regmap_mmio_read32le+0x10/0x2c
[ 14.383406] lr : regmap_mmio_read+0x44/0x70
[ 14.387546] sp : ffff800009e6b9d0
[ 14.390823] x29: ffff800009e6b9d0 x28: ffff8000091da960 x27: 0000000000000000
[ 14.397896] x26: ffff8000095ad418 x25: 0000000000000008 x24: ffff00000096f800
[ 14.404968] x23: ffff800009bbdbc0 x22: ffff800009e6ba94 x21: ffff800009e6ba94
[ 14.412041] x20: 0000000000000008 x19: ffff000002a15e80 x18: 0000000000000000
[ 14.419113] x17: 00000000a7a07c94 x16: 000000009c686cf6 x15: 0000000000000001
[ 14.426186] x14: 00000000000ea66b x13: 746e756f635f7265 x12: 696669746f6e5f6b
[ 14.433258] x11: 0000000000000024 x10: 0101010101010101 x9 : 0000000000000000
[ 14.440331] x8 : 7f7f7f7f7f7f7f7f x7 : 5e7163635e637460 x6 : 0000000009170600
[ 14.447403] x5 : 0006170900000000 x4 : 0000000000000000 x3 : ffff800008bac214
[ 14.454476] x2 : ffff800008bac054 x1 : 0000000000000008 x0 : ffff800009e6d008
[ 14.461549] Call trace:
[ 14.463964] regmap_mmio_read32le+0x10/0x2c
[ 14.468103] _regmap_bus_reg_read+0x18/0x2c
[ 14.472243] _regmap_read+0x64/0xf0
[ 14.475693] regmap_read+0x4c/0x80
[ 14.479057] clk_regmap_mux_get_parent+0x34/0x90
[ 14.483628] __clk_register+0x3f0/0x83c
[ 14.487423] devm_clk_hw_register+0x5c/0xe0
[ 14.491563] axg_audio_clkc_probe+0x1a8/0x330
[ 14.495876] platform_probe+0x68/0xe0
[ 14.499498] really_probe+0xbc/0x46c
[ 14.503034] __driver_probe_device+0x114/0x190
[ 14.507433] driver_probe_device+0x40/0x100
[ 14.511573] __device_attach_driver+0x98/0x130
[ 14.515972] bus_for_each_drv+0x78/0xd0
[ 14.519767] __device_attach+0xdc/0x1c0
[ 14.523562] device_initial_probe+0x14/0x20
[ 14.527702] bus_probe_device+0x98/0xa0
[ 14.531497] deferred_probe_work_func+0x9c/0xf0
[ 14.535982] process_one_work+0x1d0/0x354
[ 14.539949] worker_thread+0x2c0/0x470
[ 14.543658] kthread+0x178/0x184
[ 14.546850] ret_from_fork+0x10/0x20
[ 14.550389] Code: d503245f f9400000 d503233f 8b214000 (b9400000)
[ 14.556426] —[ end trace 893c1f0753b24c60 ]—
[ 14.560995] note: kworker/u8:1[26] exited with preempt_count 1

Any guidance most welcome.

i have tried a few different options - but this seems to work.
edit the /etc/pacman.conf

IgnorePkg = linux-vim

full upgrade works fine - you need to uninstall khadas-utils and install vim3-post-install.

linux-vim is replaced by `linux-khadas and you need it soon as new gcc and glibc needs pkg to be rebuilt.

Install linux-khadas to get better kernel for vim3.
Latest kernel also have video decoding using used mpv with hwdec=auto

Yes khadas-utils is merged inside vim3-post-install

Regarding kernel panic on reboot I only get that using vendor uboot but with mainline latest uboot it doesn’t seem to be the problem.

1 Like

I think those are old images.

Please use latest 22-02 image from our website.

1 Like

How do I update the uboot - i have found a few github pages - mainly Ubuntu related - nothing manjaro related. I have tried:

How do I install the mainline uboot?

ooooooh - ok - used manjaro-arm-installler to install the sdcard and i can boot the sdcard - now to get this on the eMMC

1 Like

This is already latest as per the khadas maintained uboot.

If you have latest image running then you already have it if you don’t then it will get updated once you update the system but after uboot pkg update you have to flash the uboot manually using the instruction shown during the pkg installing process.

Make sure you have uart cable if you want to flaah uboot manually. Don’t flash uboot on partition, should always be flash on the drive.

1 Like

Moved the discussion over to Manjaro forum

1 Like

the lastest version of manjari minial running perfect after my test in vim3. maybe that version has been fix by engineers,thank you^_^

2 Likes

hi,boss,I‘m one of manjaro fans. I got a yellow ligjting symbol during my boot manjaro minmal version in right-up corner of screen . could you tell me what ‘s that mean. Is the device lack of power?Thank you very much.

Not sure of what that means.

Can you share some screenshot or photo of what you’re trying to explain?


the yellow lightning symbol

That is coming from your monitor screen.
Check with the monitor manual on why the lightning symbol comes.

Manjaro is working fine as it reached the login screen.