FydeOS / chromium_os-raspberry_pi

Build your Chromium OS for Raspberry Pi 4B, Pi400 and the latest Raspberry Pi 5
https://chromiumos.io
BSD 2-Clause "Simplified" License
1.69k stars 192 forks source link

Media Files -> Open with Gallery: not usable, no ui/navigation #232

Closed danielw3b closed 2 years ago

danielw3b commented 2 years ago

hello beautiful people, yesterday i flashed chromiumos_image_r102-r2-rpi4b.

when i open media files with media-app (Gallery) i can't use this app. app is not executing right. css and js is not displaying content correct for e.g. mp3 files or image files.

chrome-untrusted://media-app/app.html -> iframe sound is playing w/out navigation ui. image is not scaled and w/out navigation ui. media app is not usable, imho. i know how to send an issue to e.g. crbug/996088, but in this case i am not sure, if crbug is the right place to discuss.

moreover sound over hdmi is not stable. sometimes it loops last sound frames and then sound is not playing. when i switched to bluetooth and then back to hdmi sometimes it works again.

Couldn't update your Chromebook. Please try again later.
Version 102.0.5005.90 (Official Build) (32-bit)
Even when i am on beta channel, i can't get updates?
GPG error: https://storage.googleapis.com/cros-packages/98 bullseye Release: The following signatures were invalid: EXPKEYSIG 78BD65473CB3BD13 Google Inc. (Linux Packages Signing Authority) <linux-packages-keymaster@google.com>

https://storage.googleapis.com/cros-packages/
sudo nano /etc/apt/sources.list.d/cros.list
98->100? after reboot is reset to 98; only [trusted=yes]?

dmesg:

[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd083]
[    0.000000] Linux version 5.10.110-v8-g2d80ef99861c-dirty (jinqiang@fydexplorer) (aarch64-cros-linux-gnu-gcc.real (GCC) 10.2.0, GNU ld (GNU Binutils) 2.36.1) #3 SMP PREEMPT Mon Aug 22 03:45:27 UTC 2022
[    0.000000] random: fast init done
[    0.000000] Machine model: Raspberry Pi 4 Model B Rev 1.4
[    0.000000] efi: UEFI not found.
[    0.000000] Reserved memory: created CMA memory pool at 0x000000001ac00000, size 320 MiB
[    0.000000] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool
[    0.000000] Zone ranges:
[    0.000000]   DMA      [mem 0x0000000000000000-0x000000003fffffff]
[    0.000000]   DMA32    [mem 0x0000000040000000-0x00000000fbffffff]
[    0.000000]   Normal   empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x000000002fffffff]
[    0.000000]   node   0: [mem 0x0000000040000000-0x00000000fbffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x00000000fbffffff]
[    0.000000] On node 0 totalpages: 966656
[    0.000000]   DMA zone: 3072 pages used for memmap
[    0.000000]   DMA zone: 0 pages reserved
[    0.000000]   DMA zone: 196608 pages, LIFO batch:63
[    0.000000]   DMA32 zone: 12032 pages used for memmap
[    0.000000]   DMA32 zone: 770048 pages, LIFO batch:63
[    0.000000] percpu: Embedded 32 pages/cpu s92504 r8192 d30376 u131072
[    0.000000] pcpu-alloc: s92504 r8192 d30376 u131072 alloc=32*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3 
[    0.000000] Detected PIPT I-cache on CPU0
[    0.000000] CPU features: detected: EL2 vector hardening
[    0.000000] CPU features: kernel page table isolation forced ON by KASLR
[    0.000000] CPU features: detected: Kernel page table isolation (KPTI)
[    0.000000] CPU features: detected: Spectre-v2
[    0.000000] CPU features: detected: Spectre-v4
[    0.000000] CPU features: detected: ARM errata 1165522, 1319367, or 1530923
[    0.000000] CPU features: detected: Spectre-BHB
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 951552
[    0.000000] Kernel command line: coherent_pool=1M 8250.nr_uarts=0 snd_bcm2835.enable_compat_alsa=0 snd_bcm2835.enable_hdmi=1  smsc95xx.macaddr=E4:5F:01:26:BB:F6 vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000  coherent_pool=6M smsc95xx.turbo_mode=N dwc_otg.lpm_enable=0 console=ttyS0,115200 earlyprintk=ttyS0,115200 log_level=7 root=PARTUUID=9BBE79C7-BB70-554D-BB74-DF2CE591F4DA rootfstype=ext2 rootwait ro cros_debug cros_secure elevator=deadline usbhid.mousepoll=0 snd_bcm2835.enable_hdmi=1
[    0.000000] Kernel parameter elevator= does not have any effect anymore.
               Please use sysfs to set IO scheduler for individual devices.
[    0.000000] Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes, linear)
[    0.000000] Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] software IO TLB: mapped [mem 0x0000000016c00000-0x000000001ac00000] (64MB)
[    0.000000] Memory: 3371256K/3866624K available (11712K kernel code, 1640K rwdata, 3764K rodata, 3456K init, 970K bss, 167688K reserved, 327680K cma-reserved)
[    0.000000] random: get_random_u64 called from __kmem_cache_create+0x38/0x4ec with crng_init=1
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] ftrace: allocating 38350 entries in 150 pages
[    0.000000] ftrace: allocated 150 pages with 4 groups
[    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]  Rude variant of Tasks RCU enabled.
[    0.000000]  Tracing variant of Tasks RCU enabled.
[    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: 64, nr_irqs: 64, preallocated irqs: 0
[    0.000000] GIC: Using split EOI/Deactivate mode
[    0.000000] irq_brcmstb_l2: registered L2 intc (/soc/interrupt-controller@7ef00100, parent irq: 10)
[    0.000000] arch_timer: cp15 timer(s) running at 54.00MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0xc743ce346, max_idle_ns: 440795203123 ns
[    0.000006] sched_clock: 56 bits at 54MHz, resolution 18ns, wraps every 4398046511102ns
[    0.000206] Calibrating delay loop (skipped), value calculated using timer frequency.. 108.00 BogoMIPS (lpj=216000)
[    0.000235] pid_max: default: 32768 minimum: 301
[    0.000458] LSM: Security Framework initializing
[    0.000532] Yama: becoming mindful.
[    0.000571] LoadPin: ready to pin (currently not enforcing)
[    0.000605] Chromium OS LSM: enabled
[    0.000614] SELinux:  Initializing.
[    0.000959] Mount-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    0.001031] Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    0.004309] rcu: Hierarchical SRCU implementation.
[    0.005392] EFI services will not be available.
[    0.005922] smp: Bringing up secondary CPUs ...
[    0.006996] Detected PIPT I-cache on CPU1
[    0.007067] CPU1: Booted secondary processor 0x0000000001 [0x410fd083]
[    0.008319] Detected PIPT I-cache on CPU2
[    0.008364] CPU2: Booted secondary processor 0x0000000002 [0x410fd083]
[    0.009542] Detected PIPT I-cache on CPU3
[    0.009588] CPU3: Booted secondary processor 0x0000000003 [0x410fd083]
[    0.009784] smp: Brought up 1 node, 4 CPUs
[    0.009826] SMP: Total of 4 processors activated.
[    0.009844] CPU features: detected: 32-bit EL0 Support
[    0.009861] CPU features: detected: CRC32 instructions
[    0.009877] CPU features: detected: 32-bit EL1 Support
[    0.009983] CPU: All CPU(s) started at EL2
[    0.010044] alternatives: patching kernel code
[    0.011723] devtmpfs: initialized
[    0.023374] Enabled cp15_barrier support
[    0.023420] Enabled setend support
[    0.023443] KASLR enabled
[    0.023718] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.023751] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[    0.033618] pinctrl core: initialized pinctrl subsystem
[    0.034459] DMI not present or invalid.
[    0.034863] NET: Registered protocol family 16
[    0.036586] DMA: preallocated 4096 KiB GFP_KERNEL pool for atomic allocations
[    0.037429] DMA: preallocated 4096 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
[    0.038247] DMA: preallocated 4096 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[    0.038331] audit: initializing netlink subsys (disabled)
[    0.038669] audit: type=2000 audit(0.036:1): state=initialized audit_enabled=0 res=1
[    0.039150] thermal_sys: Registered thermal governor 'step_wise'
[    0.039608] cpuidle: using governor ladder
[    0.039896] cpuidle: using governor menu
[    0.040168] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[    0.040351] ASID allocator initialised with 32768 entries
[    0.040547] Serial: AMBA PL011 UART driver
[    0.078881] bcm2835-mbox fe00b880.mailbox: mailbox enabled
[    0.088319] raspberrypi-firmware soc:firmware: Attached to firmware from 2022-01-24T18:00:30, variant start
[    0.092325] raspberrypi-firmware soc:firmware: Firmware hash is 94562b1518ca82ece28042cca1e5cdbbb43c8bda
[    0.123691] cryptd: max_cpu_qlen set to 1000
[    0.129863] bcm2835-dma fe007000.dma: DMA legacy API manager, dmachans=0x1
[    0.134574] vgaarb: loaded
[    0.135041] SCSI subsystem initialized
[    0.135258] usbcore: registered new interface driver usbfs
[    0.135314] usbcore: registered new interface driver hub
[    0.135380] usbcore: registered new device driver usb
[    0.135705] Advanced Linux Sound Architecture Driver Initialized.
[    0.137077] clocksource: Switched to clocksource arch_sys_counter
[    0.229145] VFS: Disk quotas dquot_6.6.0
[    0.229268] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    0.231421] NET: Registered protocol family 2
[    0.231929] IP idents hash table entries: 65536 (order: 7, 524288 bytes, linear)
[    0.235129] tcp_listen_portaddr_hash hash table entries: 2048 (order: 3, 32768 bytes, linear)
[    0.235282] TCP established hash table entries: 32768 (order: 6, 262144 bytes, linear)
[    0.235507] TCP bind hash table entries: 32768 (order: 7, 524288 bytes, linear)
[    0.235985] TCP: Hash tables configured (established 32768 bind 32768)
[    0.236262] UDP hash table entries: 2048 (order: 4, 65536 bytes, linear)
[    0.236338] UDP-Lite hash table entries: 2048 (order: 4, 65536 bytes, linear)
[    0.236640] NET: Registered protocol family 1
[    0.236690] PCI: CLS 0 bytes, default 64
[    0.238872] hw perfevents: enabled with armv8_cortex_a72 PMU driver, 7 counters available
[    0.239159] kvm [1]: IPA Size Limit: 44 bits
[    0.240227] kvm [1]: vgic interrupt IRQ9
[    0.240488] kvm [1]: Hyp mode initialized successfully
[    0.243390] Initialise system trusted keyrings
[    0.243731] workingset: timestamp_bits=46 max_order=20 bucket_order=0
[    0.252889] Registering esdfs 0.2
[    0.253394] alt_syscall: table 'read_write_test' available.
[    0.253457] alt_syscall: table 'android' available.
[    0.253510] alt_syscall: table 'android_permissive' available.
[    0.253559] alt_syscall: table 'third_party' available.
[    0.253614] alt_syscall: table 'third_party_permissive' available.
[    0.253657] alt_syscall: table 'complete' available.
[    0.253695] alt_syscall: table 'complete_permissive' available.
[    0.318310] Key type asymmetric registered
[    0.318331] Asymmetric key parser 'x509' registered
[    0.318394] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249)
[    0.318411] io scheduler mq-deadline registered
[    0.318426] io scheduler kyber registered
[    0.318586] io scheduler bfq registered
[    0.322810] brcm-pcie fd500000.pcie: host bridge /scb/pcie@7d500000 ranges:
[    0.322845] brcm-pcie fd500000.pcie:   No bus range found for /scb/pcie@7d500000, using [bus 00-ff]
[    0.322916] brcm-pcie fd500000.pcie:      MEM 0x0600000000..0x063fffffff -> 0x00c0000000
[    0.322993] brcm-pcie fd500000.pcie:   IB MEM 0x0000000000..0x00ffffffff -> 0x0400000000
[    0.387176] brcm-pcie fd500000.pcie: link up, 5.0 GT/s PCIe x1 (SSC)
[    0.387612] brcm-pcie fd500000.pcie: PCI host bridge to bus 0000:00
[    0.387635] pci_bus 0000:00: root bus resource [bus 00-ff]
[    0.387656] pci_bus 0000:00: root bus resource [mem 0x600000000-0x63fffffff] (bus address [0xc0000000-0xffffffff])
[    0.387742] pci 0000:00:00.0: [14e4:2711] type 01 class 0x060400
[    0.387977] pci 0000:00:00.0: PME# supported from D0 D3hot
[    0.391585] pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    0.391953] pci 0000:01:00.0: [1106:3483] type 00 class 0x0c0330
[    0.392078] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x00000fff 64bit]
[    0.392528] pci 0000:01:00.0: PME# supported from D0 D3hot
[    0.404273] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[    0.404319] pci 0000:00:00.0: BAR 8: assigned [mem 0x600000000-0x6000fffff]
[    0.404343] pci 0000:01:00.0: BAR 0: assigned [mem 0x600000000-0x600000fff 64bit]
[    0.404383] pci 0000:00:00.0: PCI bridge to [bus 01]
[    0.404407] pci 0000:00:00.0:   bridge window [mem 0x600000000-0x6000fffff]
[    0.413285] iproc-rng200 fe104000.rng: hwrng registered
[    0.413598] vc-mem: phys_addr:0x00000000 mem_base=0x3ec00000 mem_size:0x40000000(1024 MiB)
[    0.415048] gpiomem-bcm2835 fe200000.gpiomem: Initialised: Registers at 0xfe200000
[    0.424198] vc4 dma node name:hvs@7e400000(hvs)
[    0.425229] vc4-drm gpu: bound fe400000.hvs (ops vc4_hvs_ops)
[    0.436099] loop: module loaded
[    0.436720] zram: Added device: zram0
[    0.438725] Loading iSCSI transport class v2.0-870.
[    0.442649] tun: Universal TUN/TAP device driver, 1.6
[    0.443601] bcmgenet fd580000.ethernet: GENET 5.0 EPHY: 0x0000
[    0.501220] unimac-mdio unimac-mdio.-19: Broadcom UniMAC MDIO bus
[    0.502313] PPP generic driver version 2.4.2
[    0.502611] PPP MPPE Compression module registered
[    0.502694] usbcore: registered new interface driver r8152
[    0.502761] usbcore: registered new interface driver lan78xx
[    0.502820] usbcore: registered new interface driver smsc95xx
[    0.550534] pci 0000:00:00.0: enabling device (0000 -> 0002)
[    0.550736] xhci_hcd 0000:01:00.0: xHCI Host Controller
[    0.550792] xhci_hcd 0000:01:00.0: new USB bus registered, assigned bus number 1
[    0.551543] xhci_hcd 0000:01:00.0: hcc params 0x002841eb hci version 0x100 quirks 0x00001e0000000890
[    0.552848] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.10
[    0.552869] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    0.552886] usb usb1: Product: xHCI Host Controller
[    0.552903] usb usb1: Manufacturer: Linux 5.10.110-v8-g2d80ef99861c-dirty xhci-hcd
[    0.552919] usb usb1: SerialNumber: 0000:01:00.0
[    0.553726] hub 1-0:1.0: USB hub found
[    0.553825] hub 1-0:1.0: 1 port detected
[    0.554580] xhci_hcd 0000:01:00.0: xHCI Host Controller
[    0.554606] xhci_hcd 0000:01:00.0: new USB bus registered, assigned bus number 2
[    0.554635] xhci_hcd 0000:01:00.0: Host supports USB 3.0 SuperSpeed
[    0.555052] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.10
[    0.555071] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    0.555087] usb usb2: Product: xHCI Host Controller
[    0.555103] usb usb2: Manufacturer: Linux 5.10.110-v8-g2d80ef99861c-dirty xhci-hcd
[    0.555119] usb usb2: SerialNumber: 0000:01:00.0
[    0.555825] hub 2-0:1.0: USB hub found
[    0.555905] hub 2-0:1.0: 4 ports detected
[    0.557578] dwc_otg: version 3.00a 10-AUG-2012 (platform bus)
[    0.557882] dwc_otg: FIQ enabled
[    0.557892] dwc_otg: NAK holdoff enabled
[    0.557902] dwc_otg: FIQ split-transaction FSM enabled
[    0.557915] Module dwc_common_port init
[    0.558456] usbcore: registered new interface driver uas
[    0.558559] usbcore: registered new interface driver usb-storage
[    0.558801] mousedev: PS/2 mouse device common for all mice
[    0.559429] brcmstb-i2c fef04500.i2c:  @97500hz registered in polling mode
[    0.559908] brcmstb-i2c fef09500.i2c:  @97500hz registered in polling mode
[    0.562218] bcm2835-wdt bcm2835-wdt: Broadcom BCM2835 watchdog timer
[    0.562658] device-mapper: ioctl: 4.43.0-ioctl (2020-10-01) initialised: dm-devel@redhat.com
[    0.563086] device-mapper: verity-chromeos: dm-verity-chromeos registered
[    0.570859] sdhci: Secure Digital Host Controller Interface driver
[    0.570866] sdhci: Copyright(c) Pierre Ossman
[    0.571177] mmc-bcm2835 fe300000.mmcnr: could not get clk, deferring probe
[    0.573341] sdhci-pltfm: SDHCI platform and OF driver helper
[    0.575155] ledtrig-cpu: registered to indicate activity on CPUs
[    0.575234] hid: raw HID events driver (C) Jiri Kosina
[    0.575318] usbcore: registered new interface driver usbhid
[    0.575324] usbhid: USB HID core driver
[    0.575552] ashmem: initialized
[    0.579647] GACT probability NOT on
[    0.580170] xt_time: kernel timezone is -0000
[    0.580438] Initializing XFRM netlink socket
[    0.580709] NET: Registered protocol family 10
[    0.581367] Segment Routing with IPv6
[    0.581546] NET: Registered protocol family 17
[    0.581566] NET: Registered protocol family 15
[    0.581850] registered taskstats version 1
[    0.581869] Loading compiled-in X.509 certificates
[    0.582016] Key type ._fscrypt registered
[    0.582022] Key type .fscrypt registered
[    0.582027] Key type fscrypt-provisioning registered
[    0.582874] Key type encrypted registered
[    0.587764] uart-pl011 fe201000.serial: there is not valid maps for state default
[    0.587884] uart-pl011 fe201000.serial: cts_event_workaround enabled
[    0.587936] fe201000.serial: ttyAMA0 at MMIO 0xfe201000 (irq = 23, base_baud = 0) is a PL011 rev2
[    0.594826] vc4 dma node name:hvs@7e400000(hvs)
[    0.595189] vc4-drm gpu: bound fe400000.hvs (ops vc4_hvs_ops)
[    0.596449] input: vc4-hdmi-0 HDMI Jack as /devices/platform/soc/fef00700.hdmi/sound/card0/input0
[    0.596556] vc4-drm gpu: bound fef00700.hdmi (ops vc4_hdmi_ops)
[    0.597845] input: vc4-hdmi-1 HDMI Jack as /devices/platform/soc/fef05700.hdmi/sound/card1/input1
[    0.597947] vc4-drm gpu: bound fef05700.hdmi (ops vc4_hdmi_ops)
[    0.598063] vc4-drm gpu: bound fe004000.txp (ops vc4_txp_ops)
[    0.598149] vc4-drm gpu: bound fe206000.pixelvalve (ops vc4_crtc_ops)
[    0.598232] vc4-drm gpu: bound fe207000.pixelvalve (ops vc4_crtc_ops)
[    0.598306] vc4-drm gpu: bound fe20a000.pixelvalve (ops vc4_crtc_ops)
[    0.598365] vc4-drm gpu: bound fe216000.pixelvalve (ops vc4_crtc_ops)
[    0.598441] vc4-drm gpu: bound fec12000.pixelvalve (ops vc4_crtc_ops)
[    0.599633] [drm] Initialized vc4 0.0.0 20140616 for gpu on minor 0
[    0.600039] bcm2835-power bcm2835-power: Broadcom BCM2835 power domains driver
[    0.600466] mmc-bcm2835 fe300000.mmcnr: mmc_debug:0 mmc_debug2:0
[    0.600472] mmc-bcm2835 fe300000.mmcnr: DMA channel allocated
[    0.630463] [drm] Initialized v3d 1.0.0 20180419 for fec00000.v3d on minor 1
[    0.633217] of_cfs_init
[    0.633246] of_cfs_init: OK
[    0.633574] ALSA device list:
[    0.633581]   #0: vc4-hdmi-0
[    0.633587]   #1: vc4-hdmi-1
[    0.633623] Warning: unable to open an initial console. Fallback to ttynull.
[    0.633639] printk: console [ttynull0] enabled
[    0.644537] mmc1: queuing unknown CIS tuple 0x80 (2 bytes)
[    0.646052] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[    0.647561] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[    0.650276] mmc1: queuing unknown CIS tuple 0x80 (7 bytes)
[    0.651785] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[    0.664084] mmc0: SDHCI controller on fe340000.mmc [fe340000.mmc] using ADMA
[    0.664265] Waiting for root device PARTUUID=9BBE79C7-BB70-554D-BB74-DF2CE591F4DA...
[    0.706685] mmc1: new high speed SDIO card at address 0001
[    0.760563] mmc0: new ultra high speed DDR50 SDXC card at address 5048
[    0.761048] mmcblk0: mmc0:5048 SD128 116 GiB
[    0.765916]  mmcblk0: p1 p2 p3 p4 p5 p6 p7 p8 p9 p10 p11 p12
[    0.774220] EXT4-fs (mmcblk0p3): mounting ext2 file system using the ext4 subsystem
[    0.779094] EXT4-fs (mmcblk0p3): mounted filesystem without journal. Opts: (null)
[    0.779134] VFS: Mounted root (ext2 filesystem) readonly on device 179:3.
[    0.783485] devtmpfs: mounted
[    0.787027] Freeing unused kernel memory: 3456K
[    0.797118] Run /sbin/init as init process
[    0.797124]   with arguments:
[    0.797127]     /sbin/init
[    0.797130]     cros_debug
[    0.797134]     cros_secure
[    0.797137]   with environment:
[    0.797140]     HOME=/
[    0.797144]     TERM=linux
[    0.797147]     earlyprintk=ttyS0,115200
[    0.797150]     log_level=7
[    0.813081] usb 1-1: new high-speed USB device number 2 using xhci_hcd
[    0.963714] usb 1-1: New USB device found, idVendor=2109, idProduct=3431, bcdDevice= 4.21
[    0.963728] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[    0.963734] usb 1-1: Product: USB2.0 Hub
[    0.965009] hub 1-1:1.0: USB hub found
[    0.965330] hub 1-1:1.0: 4 ports detected
[    1.011913] random: init: uninitialized urandom read (12 bytes read)
[    1.261092] usb 1-1.4: new full-speed USB device number 3 using xhci_hcd
[    1.372232] usb 1-1.4: New USB device found, idVendor=062a, idProduct=4101, bcdDevice= 1.08
[    1.372246] usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[    1.372252] usb 1-1.4: Product: 2.4G Keyboard Mouse
[    1.372258] usb 1-1.4: Manufacturer: MOSART Semi.
[    1.383040] input: MOSART Semi. 2.4G Keyboard Mouse as /devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.4/1-1.4:1.0/0003:062A:4101.0001/input/input2
[    1.404328] init: pstore main process (146) terminated with status 32
[    1.445365] hid-generic 0003:062A:4101.0001: input,hidraw0: USB HID v1.10 Keyboard [MOSART Semi. 2.4G Keyboard Mouse] on usb-0000:01:00.0-1.4/input0
[    1.454753] input: MOSART Semi. 2.4G Keyboard Mouse as /devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.4/1-1.4:1.1/0003:062A:4101.0002/input/input3
[    1.454971] input: MOSART Semi. 2.4G Keyboard Mouse Consumer Control as /devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.4/1-1.4:1.1/0003:062A:4101.0002/input/input4
[    1.455027] input: MOSART Semi. 2.4G Keyboard Mouse System Control as /devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.4/1-1.4:1.1/0003:062A:4101.0002/input/input5
[    1.455077] input: MOSART Semi. 2.4G Keyboard Mouse as /devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.4/1-1.4:1.1/0003:062A:4101.0002/input/input6
[    1.455244] hid-generic 0003:062A:4101.0002: input,hiddev96,hidraw1: USB HID v1.10 Mouse [MOSART Semi. 2.4G Keyboard Mouse] on usb-0000:01:00.0-1.4/input1
[    1.513292] LoadPin: mmcblk0p3 (179:3): writable
[    1.513316] LoadPin: enforcement can be disabled.
[    1.513338] LoadPin: kernel-module pinned obj="/lib/modules/5.10.110-v8-g2d80ef99861c-dirty/kernel/lib/lz4/lz4_decompress.ko" pid=160 cmdline="/sbin/modprobe -q -- fs-squashfs"
[    1.525265] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    1.570705] udevd[180]: starting version 225
[    1.580779] random: udevd: uninitialized urandom read (16 bytes read)
[    1.593209] random: udevd: uninitialized urandom read (16 bytes read)
[    1.623016] EXT4-fs (mmcblk0p1): mounted filesystem with ordered data mode. Opts: commit=30,discard
[    1.628299] EXT4-fs (mmcblk0p8): mounted filesystem with ordered data mode. Opts: (null)
[    1.678708] EXT4-fs (mmcblk0p1): re-mounted. Opts: discard,resgid=20119,commit=30
[    1.817860] EXT4-fs (loop1): warning: mounting unchecked fs, running e2fsck is recommended
[    1.827296] EXT4-fs (loop1): mounted filesystem without journal. Opts: (null)
[    1.847104] init: boot-splash main process (259) terminated with status 127
[    2.324937] random: crng init done
[    2.324954] random: 7 urandom warning(s) missed due to ratelimiting
[    2.328540] tpm tpm0: A TPM error (256) occurred attempting the self test
[    2.328553] tpm tpm0: starting up the TPM manually
[    2.838698] EXT4-fs (dm-0): mounted filesystem with ordered data mode. Opts: discard,commit=600
[    3.292764] EXT4-fs (mmcblk0p1): re-mounted. Opts: discard,resgid=20119,commit=30
[    3.436480] low_mem: threshold[0] 187 MB
[    3.436493] low_mem: threshold[1] 1446 MB
[    3.494653] zram0: detected capacity change from 0 to 5553590272
[    3.625392] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[    3.651244] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[    3.658430] brcmfmac: F1 signature read @0x18000000=0x15264345
[    3.663093] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43455-sdio for chip BCM4345/6
[    3.663368] usbcore: registered new interface driver brcmfmac
[    3.749082] Adding 5423424k swap on /dev/zram0.  Priority:-2 extents:1 across:5423424k SS
[    4.084749] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43455-sdio for chip BCM4345/6
[    4.084821] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43455-sdio for chip BCM4345/6
[    4.172444] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM4345/6 wl0: Jan  4 2021 19:56:29 version 7.45.229 (617f1f5 CY) FWID 01-2dbd9d2e
[    4.704030] Bluetooth: Core ver 2.22
[    4.704137] NET: Registered protocol family 31
[    4.704143] Bluetooth: HCI device and connection manager initialized
[    4.704158] Bluetooth: HCI socket layer initialized
[    4.704167] Bluetooth: L2CAP socket layer initialized
[    4.704183] Bluetooth: SCO socket layer initialized
[    7.473486] bcmgenet fd580000.ethernet: configuring instance for external RGMII (RX delay)
[    7.476030] bcmgenet fd580000.ethernet eth0: Link is Down
[    7.554342] brcmfmac: brcmf_cfg80211_set_power_mgmt: power save enabled
[    7.795267] vc4_hdmi fef00700.hdmi: vc4-hdmi-0 is connected and hdmi_monitor:1
[    8.269662] vc4_hdmi fef00700.hdmi: vc4-hdmi-0 is connected and hdmi_monitor:1
[    8.622420] EXT4-fs (mmcblk0p8): re-mounted. Opts: (null)
[    8.865698] uart-pl011 fe201000.serial: no DMA platform data
[    9.027107] init: failsafe-delay main process (638) killed by TERM signal
[    9.235971] fuse: init (API version 7.32)
[    9.254249] EXT4-fs (mmcblk0p8): re-mounted. Opts: (null)
[    9.352479] rpivid-mem feb00000.hevc-decoder: rpivid-hevcmem initialised: Registers at 0xfeb00000 length 0x00010000
[    9.352877] rpivid-mem feb10000.rpivid-local-intc: rpivid-intcmem initialised: Registers at 0xfeb10000 length 0x00001000
[    9.353462] rpivid-mem feb20000.h264-decoder: rpivid-h264mem initialised: Registers at 0xfeb20000 length 0x00010000
[    9.353803] rpivid-mem feb30000.vp9-decoder: rpivid-vp9mem initialised: Registers at 0xfeb30000 length 0x00010000
[    9.719375] vc4_hdmi fef00700.hdmi: vc4-hdmi-0 is connected and hdmi_monitor:1
[    9.727679] snd_bcm2835: module is from the staging directory, the quality is unknown, you have been warned.
[    9.730110] vc_sm_cma: module is from the staging directory, the quality is unknown, you have been warned.
[    9.732637] bcm2835_vc_sm_cma_probe: Videocore shared memory driver
[    9.732672] [vc_sm_connected_init]: start
[    9.754071] [vc_sm_connected_init]: installed successfully
[    9.755363] bcm2835_audio bcm2835_audio: card created with 8 channels
[    9.770272] vc4_hdmi fef00700.hdmi: vc4-hdmi-0 is connected and hdmi_monitor:1
[   10.166588] mc: Linux media interface: v0.10
[   10.254625] videodev: Linux video capture interface: v2.00
[   10.333447] bcm2835_mmal_vchiq: module is from the staging directory, the quality is unknown, you have been warned.
[   10.346511] Bluetooth: HCI UART driver ver 2.3
[   10.346537] Bluetooth: HCI UART protocol H4 registered
[   10.346684] Bluetooth: HCI UART protocol Three-wire (H5) registered
[   10.346909] Bluetooth: HCI UART protocol Broadcom registered
[   10.359454] bcm2835_codec: module is from the staging directory, the quality is unknown, you have been warned.
[   10.362641] udevd[1179]: Process '/bin/chown power:power /sys//devices/platform/soc/fe201000.serial/tty/ttyAMA0/hci0/identity' failed with exit code 1.
[   10.367231] bcm2835_isp: module is from the staging directory, the quality is unknown, you have been warned.
[   10.373203] bcm2835_v4l2: module is from the staging directory, the quality is unknown, you have been warned.
[   10.375957] bcm2835-isp bcm2835-isp: Device node output[0] registered as /dev/video13
[   10.376355] bcm2835-codec bcm2835-codec: Device registered as /dev/video10
[   10.376373] bcm2835-isp bcm2835-isp: Device node capture[0] registered as /dev/video14
[   10.376390] bcm2835-codec bcm2835-codec: Loaded V4L2 decode
[   10.377172] bcm2835-isp bcm2835-isp: Device node capture[1] registered as /dev/video15
[   10.377828] bcm2835-isp bcm2835-isp: Device node stats[2] registered as /dev/video16
[   10.377853] bcm2835-isp bcm2835-isp: Register output node 0 with media controller
[   10.377864] bcm2835-isp bcm2835-isp: Register capture node 1 with media controller
[   10.377872] bcm2835-isp bcm2835-isp: Register capture node 2 with media controller
[   10.377888] bcm2835-isp bcm2835-isp: Register capture node 3 with media controller
[   10.387000] bcm2835-isp bcm2835-isp: Device node output[0] registered as /dev/video20
[   10.387333] bcm2835-isp bcm2835-isp: Device node capture[0] registered as /dev/video21
[   10.387737] bcm2835-isp bcm2835-isp: Device node capture[1] registered as /dev/video22
[   10.388004] bcm2835-isp bcm2835-isp: Device node stats[2] registered as /dev/video23
[   10.388025] bcm2835-isp bcm2835-isp: Register output node 0 with media controller
[   10.388035] bcm2835-isp bcm2835-isp: Register capture node 1 with media controller
[   10.388050] bcm2835-isp bcm2835-isp: Register capture node 2 with media controller
[   10.388057] bcm2835-isp bcm2835-isp: Register capture node 3 with media controller
[   10.388179] bcm2835-isp bcm2835-isp: Loaded V4L2 bcm2835-isp
[   10.400074] bcm2835-codec bcm2835-codec: Device registered as /dev/video11
[   10.400117] bcm2835-codec bcm2835-codec: Loaded V4L2 encode
[   10.419387] NET: Registered protocol family 38
[   10.419971] bcm2835-codec bcm2835-codec: Device registered as /dev/video12
[   10.420004] bcm2835-codec bcm2835-codec: Loaded V4L2 isp
[   10.509259] bcm2835-codec bcm2835-codec: Device registered as /dev/video18
[   10.509294] bcm2835-codec bcm2835-codec: Loaded V4L2 image_fx
[   11.103988] Bluetooth: RFCOMM TTY layer initialized
[   11.104024] Bluetooth: RFCOMM socket layer initialized
[   11.104056] Bluetooth: RFCOMM ver 1.11
[   11.112852] Bluetooth: hci0: unsupported parameter 28
[   11.112866] Bluetooth: hci0: unsupported parameter 31
[   11.112872] Bluetooth: hci0: unsupported parameter 28
[   11.112879] Bluetooth: hci0: unsupported parameter 31
[   11.218869] hdmi-audio-codec hdmi-audio-codec.1.auto: ASoC: error at snd_soc_dai_startup on i2s-hifi: -19
[   11.349660] i2c /dev entries driver
[   11.506179] init: cros-camera main process (1824) terminated with status 127
[   11.506243] init: cros-camera main process ended, respawning
[   12.383034] IPv6: ADDRCONF(NETDEV_CHANGE): arc_ns0: link becomes ready
[   12.383292] IPv6: ADDRCONF(NETDEV_CHANGE): veth0: link becomes ready
[   12.520843] IPv6: ADDRCONF(NETDEV_CHANGE): veth1: link becomes ready
[   13.014717] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[   13.089348] 8021q: 802.1Q VLAN Support v1.8
[   13.563338] ieee80211 phy0: brcmf_p2p_send_action_frame: Unknown Frame: category 0xa, action 0x8
[   18.889295] vc4_hdmi fef00700.hdmi: vc4-hdmi-0 is connected and hdmi_monitor:1
[   18.915934] vc4_hdmi fef00700.hdmi: vc4-hdmi-0 is connected and hdmi_monitor:1
[   31.709092] cam-dummy-reg: disabling
[  117.328119] vc4_hdmi fef00700.hdmi: vc4-hdmi-0 is connected and hdmi_monitor:1
[  118.333593] vc4_hdmi fef00700.hdmi: vc4-hdmi-0 is connected and hdmi_monitor:1
[  118.360200] vc4_hdmi fef00700.hdmi: vc4-hdmi-0 is connected and hdmi_monitor:1
[  119.352622] v3d fec00000.v3d: MMU error from client L2T (0) at 0x9e1000, pte invalid
[  131.682652] fscrypt: AES-256-CTS-CBC using implementation "cts(cbc(aes-arm64))"
[  131.883984] fscrypt: AES-256-XTS using implementation "xts(ecb(aes-arm64))"
[  132.054203] NET: Registered protocol family 40
[  132.936025] ieee80211 phy0: brcmf_cfg80211_scan: Connecting: status (39)
[  134.841448] device-mapper: verity: sha256 using implementation "sha256-generic"
[  135.068969] EXT4-fs (dm-1): mounted filesystem without journal. Opts: 
[  159.790915] vc4_hdmi fef00700.hdmi: get audio format:2
[  159.800571] vc4_hdmi fef00700.hdmi: get audio format:2
[  185.846166] ieee80211 phy0: brcmf_cfg80211_scan: Connecting: status (39)
[  204.664981] vc4_hdmi fef00700.hdmi: get audio format:2
[  243.869388] vc4_hdmi fef00700.hdmi: get audio format:2
[  243.879596] vc4_hdmi fef00700.hdmi: get audio format:2
[  249.929190] vc4_hdmi fef00700.hdmi: get audio format:2
[  931.692999] vc4_hdmi fef00700.hdmi: get audio format:2
[  931.702861] vc4_hdmi fef00700.hdmi: get audio format:2
speaker-test -c 2 -t sine -D hdmi:vc4hdmi0

speaker-test 1.2.1

Playback device is hdmi:vc4hdmi0
Stream parameters are 48000Hz, S16_LE, 2 channels
Sine wave rate is 440.0000Hz
ALSA lib /build/arm-generic/tmp/portage/media-libs/alsa-lib-1.2.1.2-r2/work/alsa-lib-1.2.1.2/src/conf.c:5115:(snd_config_expand) Unknown parameters vc4hdmi0
ALSA lib /build/arm-generic/tmp/portage/media-libs/alsa-lib-1.2.1.2-r2/work/alsa-lib-1.2.1.2/src/pcm/pcm.c:2642:(snd_pcm_open_noupdate) Unknown PCM hdmi:vc4hdmi0
Playback open error: -22,Invalid argument

but sound is playing. when i close the window, in which sound plays, sound is looping 4-5sec then sound stopped.

aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: vc4hdmi0 [vc4-hdmi-0], device 0: MAI PCM i2s-hifi-0 [MAI PCM i2s-hifi-0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: vc4hdmi1 [vc4-hdmi-1], device 0: MAI PCM i2s-hifi-0 [MAI PCM i2s-hifi-0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 2: Headphones [bcm2835 Headphones], device 0: bcm2835 Headphones [bcm2835 Headphones]
  Subdevices: 8/8
  Subdevice #0: subdevice #0
  Subdevice #1: subdevice #1
  Subdevice #2: subdevice #2
  Subdevice #3: subdevice #3
  Subdevice #4: subdevice #4
  Subdevice #5: subdevice #5
  Subdevice #6: subdevice #6
  Subdevice #7: subdevice #7
  lsblk
  sudo /usr/sbin/expand-partition.sh --dst /dev/mmcblk0p1
  sudo mount /dev/mmcblk0p12 /mnt
  sudo nano /mnt/cmdline.txt
  sudo reboot
sudo edit-pi-config:

#hdmi_drive=2
#config_hdmi_boost=7
disable_overscan=1
dtparam=audio=on
cma_lwm=16
cma_hwm=32
gpu_mem=256

arm_64bit=1
max_framebuffers=2
kernel=kernel8_a.img
disable_splash=1

arm_boost=1
dtoverlay=vc4-kms-v3d-pi4
sudo nano /mnt/cmdline.txt
coherent_pool=6M smsc95xx.turbo_mode=N dwc_otg.lpm_enable=0 console=serial0,115200 earlyprintk=serial0,115200 log_level=7 root=PARTUUID=9BBE79C7-BB70-554D-BB74-DF2CE591F4DA rootfstype=ext2 rootwait ro cros_debus_debug cros_secure elevator=deadline usbhid.mousepoll=0 snd_bcm2835.enable_hdmi=1

i use wireless keyboard and mouse (usbhid.mousepoll) i really like your approach of chromeos for raspberry 4b; greetings, daniel

peeweep commented 2 years ago
  1. The gallery app can't be used: the vanilla gallery app on chromiumOS is like this, the chromeOS's gallery app is different from the chromiumOS, even though their names are the same. And I suggest you try the FydeOS for rpi4 to get the better experience. https://fydeos.io/download/device/rpi4-fydeos
  2. The Raspberry Pi is not officially supported by chromiumOS, there is no update channel available, and neither is the dev channel.
  3. No buildin google repository's public keyring: yes, just add [trusted=yes]
  4. For the HDMI sound playback problem: I don't think it's a common problem, there is no advice I can give you.