problem with debian emmc boot
#1
I have been struggling with trying to get debian installed and booting on my rock64 v2 via emmc.

So far, the most current method I have tried is this guide. Everything seemed to go fine until the install finished and I rebooted. Upon boot-up I saw the following on serial console:
Code:
U-Boot TPL 2023.01+dfsg-2+deb12u1 (Apr 18 2024 - 22:00:21)
LPDDR3, 800MHz
BW=32 Col=10 Bk=8 CS0 Row=15 CS1 Row=15 CS=2 Die BW=16 Size=2048MB
Trying to boot from BOOTROM
Returning to boot ROM...

U-Boot SPL 2023.01+dfsg-2+deb12u1 (Apr 18 2024 - 22:00:21 +0000)
Trying to boot from MMC2
NOTICE:  BL31: v2.8(debug):
NOTICE:  BL31: Built : 06:31:44, Nov 25 2022
NOTICE:  BL31:Rockchip release version: v1.2
INFO:    ARM GICv2 driver initialized
INFO:    plat_rockchip_pmu_init: pd status 0xe
INFO:    BL31: Initializing runtime services
INFO:    BL31: cortex_a53: CPU workaround for 855873 was applied
WARNING: BL31: cortex_a53: CPU workaround for 1530924 was missing!
INFO:    BL31: Preparing for EL3 exit to normal world
INFO:    Entry point address = 0x200000
INFO:    SPSR = 0x3c9


U-Boot 2023.01+dfsg-2+deb12u1 (Apr 18 2024 - 22:00:21 +0000)

Model: Pine64 Rock64
DRAM:  2 GiB
PMIC:  RK8050 (on=0x50, off=0x10)
Core:  228 devices, 24 uclasses, devicetree: separate
MMC:   mmc@ff500000: 1, mmc@ff520000: 0
Loading Environment from MMC... Card did not respond to voltage select! : -110
*** Warning - No block device, using default environment

In:    serial@ff130000
Out:   serial@ff130000
Err:   serial@ff130000
Model: Pine64 Rock64
Net:   eth0: ethernet@ff540000
Hit any key to stop autoboot:  0
Card did not respond to voltage select! : -110
switch to partitions #0, OK
mmc0(part 0) is current device
Scanning mmc 0:1...
Found U-Boot script /boot.scr
2904 bytes read in 4 ms (709 KiB/s)
## Executing script at 00500000
32688064 bytes read in 848 ms (36.8 MiB/s)
36095 bytes read in 10 ms (3.4 MiB/s)
30462286 bytes read in 775 ms (37.5 MiB/s)
Booting Debian 6.1.0-23-arm64 from mmc 0:1...
Moving Image from 0x2080000 to 0x2200000, end=41d0000
## Flattened Device Tree blob at 01f00000
   Booting using the fdt blob at 0x1f00000
Working FDT set to 1f00000
   Loading Ramdisk to 7b20f000, end 7cf1c14e ... OK
   Loading Device Tree to 000000007b203000, end 000000007b20ecfe ... OK
Working FDT set to 7b203000

Starting kernel ...

[    4.349873] rockchip-pm-domain ff100000.syscon:power-controller: failed to get ack on domain 'hevc', val=0x88220
[    6.195026] rockchip-pinctrl pinctrl: pin gpio0-2 already requested by vcc-host-5v-regulator; cannot claim for vcc-host1-5v-regulator
[    6.196127] rockchip-pinctrl pinctrl: pin-2 (vcc-host1-5v-regulator) status -22
[    6.196802] rockchip-pinctrl pinctrl: could not request pin 2 (gpio0-2) from group usb20-host-drv  on device rockchip-pinctrl
[    6.197825] reg-fixed-voltage vcc-host1-5v-regulator: Error applying setting, reverse things back
[    7.526011] mmc1: mmc_select_hs200 failed, error -110
[    7.526497] mmc1: error -110 whilst initialising MMC card
[    8.488081] mmc1: mmc_select_hs200 failed, error -110
[    8.488567] mmc1: error -110 whilst initialising MMC card
[    9.452265] mmc1: mmc_select_hs200 failed, error -110
[    9.452753] mmc1: error -110 whilst initialising MMC card
[   10.489412] mmc1: mmc_select_hs200 failed, error -110
[   10.489902] mmc1: error -110 whilst initialising MMC card

Gave up waiting for suspend/resume device
Gave up waiting for root file system device.  Common problems:
- Boot args (cat /proc/cmdline)
   - Check rootdelay= (did the system wait long enough?)
- Missing modules (cat /proc/modules; ls /dev)
ALERT!  /dev/disk/by-uuid/d08756f8-8dcd-41f0-b02b-c4ff2da5e68b does not exist.  Dropping to a shell!


BusyBox v1.35.0 (Debian 1:1.35.0-4+b3) built-in shell (ash)
Enter 'help' for a list of built-in commands.

(initramfs)

I am able to run the installer and install to an SD card without any issues. Reboot will result in a working system. If I pull the EMMC card out and mount it on a separate machine via adapter, the files and partition layout look like what I would expect, the dtb seems to be in place and correct for the hardware, etc. I poked around a bit in the busybox shell but didn't have a solid plan for what I was trying to achieve other than basic investigation.

Does anyone here have any idea where I should look next? I've gone through this setup/install process multiple times and the result is the same each time. I did have arch linux running on this board for a month or so but updates broke it twice and both times I just reinstalled. I got tired of that since this is normally a headless system in a place where I don't want to have to remove it over and over.
  Reply
#2
Additional info:

I have confirmed that the UUID mentioned in the serial output messages matches output from blkid command on another machine with emmc mounted. Also, just to be sure, I confirmed that the entry in fstab matches although I'm not sure if that is the only place where it is configured.

As for the 'common problems' section of the serial output messages:
Code:
(initramfs) cat /proc/cmdline
  quiet

Code:
(initramfs) cat /proc/modules
realtek 32768 0 - Live 0xffff800000ee1000
rockchipdrm 147456 0 - Live 0xffff800001049000
dw_hdmi 49152 1 rockchipdrm, Live 0xffff800000ddd000
xhci_plat_hcd 24576 0 - Live 0xffff800000eda000
cec 45056 1 dw_hdmi, Live 0xffff800000fda000
xhci_hcd 258048 1 xhci_plat_hcd, Live 0xffff800001009000
rc_core 53248 1 cec, Live 0xffff800000fed000
rk808_regulator 40960 13 - Live 0xffff800000ef3000
dw_mipi_dsi 20480 1 rockchipdrm, Live 0xffff800000fe7000
analogix_dp 49152 1 rockchipdrm, Live 0xffff800000e87000
dwmac_rk 28672 0 - Live 0xffff800000dd5000
stmmac_platform 24576 1 dwmac_rk, Live 0xffff800000ea3000
ohci_platform 16384 0 - Live 0xffff800000cda000
drm_display_helper 118784 3 rockchipdrm,dw_hdmi,analogix_dp, Live 0xffff800000f02000
dwc2 237568 0 - Live 0xffff800000f9f000
dwc3 163840 0 - Live 0xffff800000e5e000
stmmac 245760 2 dwmac_rk,stmmac_platform, Live 0xffff800000f62000
ohci_hcd 53248 1 ohci_platform, Live 0xffff800000f22000
drm_dma_helper 16384 1 rockchipdrm, Live 0xffff800000d1a000
ehci_platform 20480 0 - Live 0xffff800000dcf000
pcs_xpcs 20480 1 stmmac, Live 0xffff800000eed000
drm_kms_helper 143360 6 rockchipdrm,dw_hdmi,dw_mipi_dsi,analogix_dp,drm_display_helper,drm_dma_helper, Live 0xffff800000eae000
udc_core 57344 2 dwc2,dwc3, Live 0xffff800000e94000
phylink 45056 2 stmmac,pcs_xpcs,[permanent], Live 0xffff800000f56000
ehci_hcd 90112 1 ehci_platform, Live 0xffff800000f37000
crct10dif_ce 16384 0 - Live 0xffff800000cf8000
roles 16384 2 dwc2,dwc3, Live 0xffff800000d81000
crct10dif_common 16384 1 crct10dif_ce, Live 0xffff800000d77000
of_mdio 20480 2 stmmac_platform,stmmac, Live 0xffff800000d2b000
drm 442368 7 rockchipdrm,dw_hdmi,dw_mipi_dsi,analogix_dp,drm_display_helper,drm_dma_helper,drm_kms_helper, Live 0xffff800000df1000
fixed_phy 16384 1 of_mdio, Live 0xffff800000d05000
fixed 20480 7 - Live 0xffff800000deb000
usbcore 270336 8 xhci_plat_hcd,xhci_hcd,ohci_platform,dwc2,dwc3,ohci_hcd,ehci_platform,ehci_hcd, Live 0xffff800000d8c000
fwnode_mdio 20480 1 of_mdio, Live 0xffff800000d3a000
libphy 98304 7 realtek,stmmac,pcs_xpcs,phylink,of_mdio,fixed_phy,fwnode_mdio, Live 0xffff800000d59000
dw_mmc_rockchip 20480 0 - Live 0xffff800000d4f000
dw_mmc_pltfm 16384 1 dw_mmc_rockchip, Live 0xffff800000d31000
phy_rockchip_inno_usb2 45056 6 - Live 0xffff800000d43000
dw_mmc 45056 2 dw_mmc_rockchip,dw_mmc_pltfm, Live 0xffff800000d1f000
ulpi 20480 1 dwc3, Live 0xffff800000d14000
usb_common 16384 11 xhci_plat_hcd,xhci_hcd,ohci_platform,dwc2,dwc3,ohci_hcd,ehci_platform,udc_core,ehci_hcd,usbcore,phy_rockchip_inno_usb2, Live 0x0
phy_rockchip_inno_hdmi 28672 0 - Live 0xffff800000cfd000
io_domain 24576 0 - Live 0xffff800000cf1000
i2c_rk3x 24576 0 - Live 0xffff800000cea000
spi_rockchip 20480 0 - Live 0xffff800000cdf000
pl330 36864 2 - Live 0xffff800000cd0000

Code:
(initramfs) ls /dev
bus              stdout           tty31            tty56
char             tty              tty32            tty57
console          tty0             tty33            tty58
cpu_dma_latency  tty1             tty34            tty59
fd               tty10            tty35            tty6
full             tty11            tty36            tty60
gpiochip0        tty12            tty37            tty61
gpiochip1        tty13            tty38            tty62
gpiochip2        tty14            tty39            tty63
gpiochip3        tty15            tty4             tty7
gpiochip4        tty16            tty40            tty8
hwrng            tty17            tty41            tty9
input            tty18            tty42            ttyS0
kmsg             tty19            tty43            ttyS1
kvm              tty2             tty44            ttyS2
mem              tty20            tty45            ttyS3
null             tty21            tty46            urandom
port             tty22            tty47            userfaultfd
psaux            tty23            tty48            vcs
ptmx             tty24            tty49            vcs1
pts              tty25            tty5             vcsa
random           tty26            tty50            vcsa1
rtc              tty27            tty51            vcsu
rtc0             tty28            tty52            vcsu1
snapshot         tty29            tty53            vga_arbiter
stderr           tty3             tty54            zero
stdin            tty30            tty55

I don't see any storage devices in the /dev output, and 'fdisk -l' returns nothing.
  Reply
#3
Earlier this month, Debian 12 bookworm updated the Linux kernel to 6.1.0-23-arm64 (Debian 6.1.99-1 from 2024-07-15).  Rock64 boards upgraded to this Stable release kernel hang during boot after logging failure of mmc_select_hs200 to switch the eMMC bus width to 8:

  Linux version 6.1.0-23-arm64 (debian-kernel@lists.debian.org) (gcc-12 (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40) #1 SMP Debian 6.1.99-1 (2024-07-15)
  ...
  mmc1: switch to bus width 8 failed
  mmc1: mmc_select_hs200 failed, error -110
  mmc1: error -110 whilst initialising MMC card

The problem is not present on the previous version of Linux from Debian, version 6.1.0-22-arm64.  There was probably a change to the device tree that is incompatible with the Rock64.  I tested this on a Rock64 V2, but not on a V3.

There's also a report from July 22 on Arch Linux ARM: kernel 6.9.8-2: rock64 bootfail due to the emmc init error https://archlinuxarm.org/forum/viewtopic...65&t=16981 that appears to be the same issue.  I suspect that these both contained the same breaking change based on the same Rock64 boot failures and log entries after a kernel update the same week.

Boot log with the failure:



  U-Boot 2024.04+kaslr.env.emmc-00001-g146d1d4515 (Jun 03 2024 - 09:18:00 -0700)

  Model: Pine64 Rock64
  DRAM:  4 GiB
  PMIC:  RK8050 (on=0x40, off=0x01)
  Core:  236 devices, 28 uclasses, devicetree: separate
  MMC:  mmc@ff500000: 1, mmc@ff520000: 0
  Loading Environment from MMC... OK
  In:    serial@ff130000
  Out:  serial@ff130000
  Err:  serial@ff130000
  Model: Pine64 Rock64
  Net:  eth0: ethernet@ff540000
  Hit any key to stop autoboot:  0
  ** Booting bootflow 'mmc@ff520000.bootdev.part_4' with script

  Target is mmc 0:4 /vmlinuz-6.1.0-23-arm64
  Loading Linux kernel to 0x02080000 from /vmlinuz-6.1.0-23-arm64
  32688064 bytes read in 731 ms (42.6 MiB/s)

  Loading Device Tree to 0x01f00000 from /dtbs/6.1.0-23-arm64/rockchip/rk3328-rock64.dtb
  36095 bytes read in 10 ms (3.4 MiB/s)

  Loading Initial RAM disk to 0x06000000 from /initrd.img-6.1.0-23-arm64
  30464587 bytes read in 691 ms (42 MiB/s)

  Generate a KASLR seed to chosen/kaslr-seed from RNG
  Working FDT set to 1f00000

  Booting Linux 6.1.0-23-arm64 on /dtbs/6.1.0-23-arm64/rockchip/rk3328-rock64.dtb via /initrd.img-6.1.0-23-arm64
  booti 0x02080000 0x06000000:1d0da4b 0x01f00000
  Moving Image from 0x2080000 to 0x2200000, end=41d0000
  ## Flattened Device Tree blob at 01f00000
  Booting using the fdt blob at 0x1f00000
  Working FDT set to 1f00000
  Loading Ramdisk to fa1fc000, end fbf09a4b ... OK
  Loading Device Tree to 00000000fa1f0000, end 00000000fa1fbfff ... OK
    Working FDT set to fa1f0000

  Starting kernel ...

  [    0.000000] Linux version 6.1.0-23-arm64 (debian-kernel@lists.debian.org) (gcc-12 (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40) #1 SMP Debian 6.1.99-1 (2024-07-15)
  [    0.000000] Kernel command line: console=ttyS2,1500000n8 console=tty0 plymouth.ignore-serial-consoles loglevel=6 consoleblank=0 systemd.show_status=1 ipv6.disable=1 rootwait dw_wdt.nowayout=1
  [    0.174232] Registered cp15_barrier emulation handler
  [    0.174276] Registered setend emulation handler
  [    0.185940] audit: type=2000 audit(0.184:1): state=initialized audit_enabled=0 res=1
  [    0.249816] VFS: Disk quotas dquot_6.6.0
  [    0.366262] Initialise system trusted keyrings
  [    0.366374] Key type blacklist registered
  [    0.380770] integrity: Platform Keyring initialized
  [    0.380864] integrity: Machine keyring initialized
  [    0.380887] Key type asymmetric registered
  [    0.380905] Asymmetric key parser 'x509' registered
  [    3.301068] Loading compiled-in X.509 certificates
  [    3.454864] Loaded X.509 cert 'Debian Secure Boot CA: 6ccece7e4c6c0d1f6149f3dd27dfcc5cbb419ea1'
  [    3.455789] Loaded X.509 cert 'Debian Secure Boot Signer 2022 - linux: 14011249c2675ea8e5148542202005810584b25f'
  [    3.460030] Key type .fscrypt registered
  [    3.460414] Key type fscrypt-provisioning registered
  [    3.502399] Key type encrypted registered
  [    4.390877] rockchip-pm-domain ff100000.syscon:power-controller: failed to get ack on domain 'hevc', val=0x88220
  [    6.341543] dwc2 ff580000.usb: supply vusb_d not found, using dummy regulator
  [    6.343547] dwc2 ff580000.usb: supply vusb_a not found, using dummy regulator
  [    6.397893] rockchip-pinctrl pinctrl: pin gpio0-2 already requested by vcc-host-5v-regulator;cannot claim for vcc-host1-5v-regulator
  [    6.398999] rockchip-pinctrl pinctrl: pin-2 (vcc-host1-5v-regulator) status -22
  [    6.399677] rockchip-pinctrl pinctrl: could not request pin 2 (gpio0-2) from group usb20-host-drv  on device rockchip-pinctrl
  [    6.400711] reg-fixed-voltage vcc-host1-5v-regulator: Error applying setting, reverse things back
  [    6.861027] mmc1: switch to bus width 8 failed
  [    6.869008] mmc1: mmc_select_hs200 failed, error -110
  [    6.869513] mmc1: error -110 whilst initialising MMC card
  [    7.137041] mmc1: switch to bus width 8 failed
  [    7.147010] mmc1: mmc_select_hs200 failed, error -110
  [    7.147495] mmc1: error -110 whilst initialising MMC card
  [    7.433097] mmc1: switch to bus width 8 failed
  [    7.446840] mmc1: mmc_select_hs200 failed, error -110
  [    7.447320] mmc1: error -110 whilst initialising MMC card
  [    7.737104] mmc1: switch to bus width 8 failed
  [    7.764080] mmc1: mmc_select_hs200 failed, error -110
  [    7.764559] mmc1: error -110 whilst initialising MMC card



There was a fairly long set of changes in Debian's changelog on 2024-07-14 and the next day's Debian 6.1.99-1 release is the hanging one: https://metadata.ftp-master.debian.org/c..._changelog
One of those changes is the culprit.
 
  [arm64] dts: rockchip: Fix SD NAND and eMMC init on rk3308-rock-pi-s

might be related?  I seem to remember something about eliminating duplicated dts blocks from many Rockchip boards into a seperate file and referencing that in each board's config.  Maybe this change propagated to the Rock64?

Hmm. The Rock64 .dtb are the same in 6.1.20-22 and 6.1.20-23:

$ sha256sum /boot/dtbs/6.1.0-22-arm64/rockchip/rk3328-rock64.dtb /boot/dtbs/6.1.0-23-arm64/rockchip/rk3328-rock64.dtb

a8afb8e300296c0377039a011f17b93d7b7c2ac91f29effda1340f0f45d1f171  /boot/dtbs/6.1.0-22-arm64/rockchip/rk3328-rock64.dtb
a8afb8e300296c0377039a011f17b93d7b7c2ac91f29effda1340f0f45d1f171  /boot/dtbs/6.1.0-23-arm64/rockchip/rk3328-rock64.dtb

So maybe not.

Other hints in that changelog?
  Reply
#4
It's possible to temporarily restore boot by booting Linux from a MicroSD, which even at 6.1.0-23 boots fine, by mounting the /boot partition from the eMMC and restoring the boot script that loaded 6.1.0-22.

Use `lsblk` to find the emmc device name, which was mmcblk1 for me.  Partition 4 is /boot the way I have it set up, so to mount the eMMC's /boot partition on /mnt:

  mount /dev/mmcblk1p4 /mnt

Verify that the older boot.scr.bak references 6.1.0-22 by looking for a line like: setenv fk_kvers '6.1.0-22-arm64'.  The broken version would have: setenv fk_kvers '6.1.0-23-arm64':
  cat /mnt/boot.scr.bak

Back up the broken boot.scr:
  cp /mnt/boot.scr /mnt/boot.scr.broken

Copy the older boot.scr over the newer, broken one:
  cp /mnt/boot.scr.bak /mnt/boot.scr

Power off the Rock64 `poweroff`, remove the MicroSD and boot into the eMMC and it boots up.

Unfortunately, at the next apt upgrade or unattended-upgrades run, flash-kernel will run and regenerate the boot.scr and it will again point at the latest -23 kernel which will cause it to halt at boot again, so this is very much a temporary patch until a fix is developed and released.

A bug should be submitted to Debian's bug tracker, but I can't look at this again until next week, so if someone else wants to run with this, please do!
  Reply
#5
(07-24-2024, 08:32 PM)bits Wrote: Earlier this month, Debian 12 bookworm updated the Linux kernel to 6.1.0-23-arm64 (Debian 6.1.99-1 from 2024-07-15).  Rock64 boards upgraded to this Stable release kernel hang during boot after logging failure of mmc_select_hs200 to switch the eMMC bus width to 8:

...

Other hints in that changelog?

Thank you for responding and providing so much info.

The cause for this seems to be coming together as I also had similar boot problems with current rock64 armbian images.

Now I'm wondering if its possible to perhaps find a release candidate (as mentioned in the linked archlinuxarm thread) kernel and drop it on the emmc to get this working. I'm guessing that the dtb somehow matches the kernel version so maybe that would be required too. Of course, then some further intervention would probably be necessary once the patched/fixed kernel becomes available in the standard repos. I'm not entirely familiar yet how to configure linux boot on boards like this since nearly 100% of my experience is on x86 hardware.

A quick look at that changelog looking for (e)mmc related changes shows quite a few. Your hypothesis about changes meant for other rockchip boards impacting rk3328 functionality seems increasingly plausible. As for how to mitigate and eventually fix this problem, I'm not entirely sure yet. If this is a known problem, then perhaps there are already fixes being worked on upstream. I will try to investigate this further to find out more.

EDIT: It took a little while for my post to get approved so your latest response covers the questions and thoughts I had here. Thanks again for all your help and insights into this issue.
  Reply
#6
Same problem for me with Armbian 24.8.0-trunk.369.
I try to access from VM Ubuntu to emmc with pine usb adapter and after I try to copy /boot folder from previously img trunk.314
But nothing to do....emmc problem error disappear but remain the final error:

Code:
U-Boot TPL 2022.07-armbian (Mar 14 2024 - 00:34:55)
LPDDR3, 800MHz
BW=32 Col=11 Bk=8 CS0 Row=15 CS1 Row=15 CS=2 Die BW=16 Size=4096MB
Trying to boot from BOOTROM
Returning to boot ROM...

U-Boot SPL 2022.07-armbian (Mar 14 2024 - 00:34:55 +0000)
Trying to boot from MMC2
NOTICE:  BL31: lts-v2.8.8(release):armbian
NOTICE:  BL31: Built : 00:34:31, Mar 14 2024
NOTICE:  BL31:Rockchip release version: v1.2
INFO:    ARM GICv2 driver initialized
INFO:    plat_rockchip_pmu_init: pd status 0xe
INFO:    BL31: Initializing runtime services
INFO:    BL31: Preparing for EL3 exit to normal world
INFO:    Entry point address = 0x200000
INFO:    SPSR = 0x3c9


U-Boot 2022.07-armbian (Mar 14 2024 - 00:34:55 +0000)

Model: Pine64 Rock64
DRAM:  4 GiB
PMIC:  RK8050 (on=0x40, off=0x10)
Core:  229 devices, 25 uclasses, devicetree: separate
MMC:  mmc@ff500000: 1, mmc@ff520000: 0
Loading Environment from MMC... Card did not respond to voltage select! : -110
*** Warning - No block device, using default environment

In:    serial@ff130000
Out:  serial@ff130000
Err:  serial@ff130000
Model: Pine64 Rock64
Net:  eth0: ethernet@ff540000
Hit any key to stop autoboot:  0
Card did not respond to voltage select! : -110
switch to partitions #0, OK
mmc0(part 0) is current device
Scanning mmc 0:1...
Found U-Boot script /boot/boot.scr
3906 bytes read in 5 ms (762.7 KiB/s)
## Executing script at 00500000
Boot script loaded from mmc 0:1
130 bytes read in 4 ms (31.3 KiB/s)
14353203 bytes read in 323 ms (42.4 MiB/s)
30030336 bytes read in 670 ms (42.7 MiB/s)
53582 bytes read in 13 ms (3.9 MiB/s)
2825 bytes read in 12 ms (229.5 KiB/s)
Applying kernel provided DT fixup script (rockchip-fixup.scr)
## Executing script at 09000000
Trying kaslrseed command... Info: Unknown command can be safely ignored since kaslrseed does not apply to all boards.
Unknown command 'kaslrseed' - try 'help'
Moving Image from 0x2080000 to 0x2200000, end=3f40000
## Loading init Ramdisk from Legacy Image at 06000000 ...
  Image Name:  uInitrd
  Image Type:  AArch64 Linux RAMDisk Image (gzip compressed)
  Data Size:    14353139 Bytes = 13.7 MiB
  Load Address: 00000000
  Entry Point:  00000000
  Verifying Checksum ... OK
## Flattened Device Tree blob at 01f00000
  Booting using the fdt blob at 0x1f00000
  Loading Ramdisk to fc170000, end fcf202f3 ... OK
  Loading Device Tree to 00000000fc0fa000, end 00000000fc16ffff ... OK

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[    0.000000] Linux version 6.6.36-current-rockchip64 (armbian@next) (aarch64-linux-gnu-gcc (Ubuntu 13.2.0-23ubuntu4) 13.2.0, GNU ld (GNU Binutils for Ubuntu) 2.42) #1 SMP PREEMPT Thu Jun 27 11:49:15 UTC 2024
[    0.000000] Machine model: Pine64 Rock64
[    0.000000] efi: UEFI not found.
[    0.000000] NUMA: No NUMA configuration found
[    0.000000] NUMA: Faking a node at [mem 0x0000000000200000-0x00000000feffffff]
[    0.000000] NUMA: NODE_DATA [mem 0xfe7b9980-0xfe7bbfff]
[    0.000000] Zone ranges:
[    0.000000]  DMA      [mem 0x0000000000200000-0x00000000feffffff]
[    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 0x0000000000200000-0x00000000feffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000200000-0x00000000feffffff]
[    0.000000] On node 0, zone DMA: 512 pages in unavailable ranges
[    0.000000] On node 0, zone DMA: 4096 pages in unavailable ranges
[    0.000000] cma: Reserved 128 MiB at 0x00000000f0000000 on node -1
[    0.000000] psci: probing for conduit method from DT.
[    0.000000] psci: PSCIv1.1 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.2
[    0.000000] percpu: Embedded 31 pages/cpu s88296 r8192 d30488 u126976
[    0.000000] Detected VIPT I-cache on CPU0
[    0.000000] CPU features: detected: ARM erratum 845719
[    0.000000] alternatives: applying boot alternatives
[    0.000000] Kernel command line: root=UUID=97be0a28-c854-4590-ba5f-6bc185b1fbb6 rootwait rootfstype=ext4 splash=verbose console=ttyS2,1500000 console=tty1 consoleblank=0 loglevel=7 ubootpart=a08d4006-01 usb-storage.quirks=  cgroup_enable=cpuset cgroup_memory=1 cgroup_enable=memory
[    0.000000] Unknown kernel command line parameters "splash=verbose ubootpart=a08d4006-01 cgroup_enable=memory cgroup_memory=1", will be passed to user space.
[    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] Fallback order for Node 0: 0
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 1027656
[    0.000000] Policy zone: DMA
[    0.000000] mem auto-init: stack:off, heap alloc:on, heap free:off
[    0.000000] software IO TLB: SWIOTLB bounce buffer size adjusted to 3MB
[    0.000000] software IO TLB: area num 4.
[    0.000000] software IO TLB: mapped [mem 0x00000000fdd27000-0x00000000fe127000] (4MB)
[    0.000000] Memory: 3915964K/4175872K available (16960K kernel code, 2318K rwdata, 5252K rodata, 4672K init, 604K bss, 128836K reserved, 131072K cma-reserved)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] trace event string verifier disabled
[    0.000000] rcu: Preemptible hierarchical RCU implementation.
[    0.000000] rcu:    RCU event tracing is enabled.
[    0.000000] rcu:    RCU restricting CPUs from NR_CPUS=256 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 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] Root IRQ handler: gic_handle_irq
[    0.000000] GIC: Using split EOI/Deactivate mode
[    0.000000] rcu: srcu_init: Setting srcu_struct sizes based on contention.
[    0.000000] arch_timer: cp15 timer(s) running at 24.00MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
[    0.000001] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[    0.000865] Console: colour dummy device 80x25
[    0.000883] printk: console [tty1] enabled
[    0.001895] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=96000)
[    0.001942] pid_max: default: 32768 minimum: 301
[    0.002090] LSM: initializing lsm=capability,yama,apparmor,integrity
[    0.002161] Yama: becoming mindful.
[    0.002310] AppArmor: AppArmor initialized
[    0.002487] Mount-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    0.002543] Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    0.005656] RCU Tasks: Setting shift to 2 and lim to 1 rcu_task_cb_adjust=1.
[    0.005851] RCU Tasks Trace: Setting shift to 2 and lim to 1 rcu_task_cb_adjust=1.
[    0.006255] rcu: Hierarchical SRCU implementation.
[    0.006283] rcu:    Max phase no-delay instances is 1000.
[    0.009543] EFI services will not be available.
[    0.010164] smp: Bringing up secondary CPUs ...
[    0.011142] Detected VIPT I-cache on CPU1
[    0.011279] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
[    0.012512] Detected VIPT I-cache on CPU2
[    0.012649] CPU2: Booted secondary processor 0x0000000002 [0x410fd034]
[    0.013760] Detected VIPT I-cache on CPU3
[    0.013898] CPU3: Booted secondary processor 0x0000000003 [0x410fd034]
[    0.014065] smp: Brought up 1 node, 4 CPUs
[    0.014189] SMP: Total of 4 processors activated.
[    0.014212] CPU features: detected: 32-bit EL0 Support
[    0.014233] CPU features: detected: 32-bit EL1 Support
[    0.014257] CPU features: detected: CRC32 instructions
[    0.014398] CPU: All CPU(s) started at EL2
[    0.014430] alternatives: applying system-wide alternatives
[    0.017992] devtmpfs: initialized
[    0.033406] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.033490] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[    0.039167] pinctrl core: initialized pinctrl subsystem
[    0.040008] DMI not present or invalid.
[    0.041107] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.043471] DMA: preallocated 2048 KiB GFP_KERNEL pool for atomic allocations
[    0.044678] DMA: preallocated 2048 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
[    0.045745] DMA: preallocated 2048 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[    0.045885] audit: initializing netlink subsys (disabled)
[    0.046258] audit: type=2000 audit(0.044:1): state=initialized audit_enabled=0 res=1
[    0.047416] thermal_sys: Registered thermal governor 'fair_share'
[    0.047429] thermal_sys: Registered thermal governor 'bang_bang'
[    0.047458] thermal_sys: Registered thermal governor 'step_wise'
[    0.047481] thermal_sys: Registered thermal governor 'user_space'
[    0.047591] cpuidle: using governor menu
[    0.048172] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[    0.048368] ASID allocator initialised with 65536 entries
[    0.049930] Serial: AMBA PL011 UART driver
[    0.061433] platform ff370000.vop: Fixed dependency cycle(s) with /hdmi@ff3c0000
[    0.061603] platform ff3c0000.hdmi: Fixed dependency cycle(s) with /vop@ff370000
[    0.073750] gpio gpiochip0: Static allocation of GPIO base is deprecated, use dynamic allocation.
[    0.074271] rockchip-gpio ff210000.gpio: probed /pinctrl/gpio@ff210000
[    0.074909] gpio gpiochip1: Static allocation of GPIO base is deprecated, use dynamic allocation.
[    0.075358] rockchip-gpio ff220000.gpio: probed /pinctrl/gpio@ff220000
[    0.075967] gpio gpiochip2: Static allocation of GPIO base is deprecated, use dynamic allocation.
[    0.076467] rockchip-gpio ff230000.gpio: probed /pinctrl/gpio@ff230000
[    0.076997] gpio gpiochip3: Static allocation of GPIO base is deprecated, use dynamic allocation.
[    0.077429] rockchip-gpio ff240000.gpio: probed /pinctrl/gpio@ff240000
[    0.081811] Modules: 25280 pages in range for non-PLT usage
[    0.081829] Modules: 516800 pages in range for PLT usage
[    0.083084] HugeTLB: registered 1.00 GiB page size, pre-allocated 0 pages
[    0.083144] HugeTLB: 0 KiB vmemmap can be freed for a 1.00 GiB page
[    0.083171] HugeTLB: registered 32.0 MiB page size, pre-allocated 0 pages
[    0.083194] HugeTLB: 0 KiB vmemmap can be freed for a 32.0 MiB page
[    0.083220] HugeTLB: registered 2.00 MiB page size, pre-allocated 0 pages
[    0.083246] HugeTLB: 0 KiB vmemmap can be freed for a 2.00 MiB page
[    0.083270] HugeTLB: registered 64.0 KiB page size, pre-allocated 0 pages
[    0.083294] HugeTLB: 0 KiB vmemmap can be freed for a 64.0 KiB page
[    0.084998] cryptd: max_cpu_qlen set to 1000
[    0.152414] raid6: neonx8  gen()  1132 MB/s
[    0.220532] raid6: neonx4  gen()  1105 MB/s
[    0.288627] raid6: neonx2  gen()  1060 MB/s
[    0.356728] raid6: neonx1  gen()  912 MB/s
[    0.424826] raid6: int64x8  gen()  707 MB/s
[    0.492947] raid6: int64x4  gen()  784 MB/s
[    0.561030] raid6: int64x2  gen()  700 MB/s
[    0.629153] raid6: int64x1  gen()  517 MB/s
[    0.629178] raid6: using algorithm neonx8 gen() 1132 MB/s
[    0.697243] raid6: .... xor() 824 MB/s, rmw enabled
[    0.697268] raid6: using neon recovery algorithm
[    0.698392] iommu: Default domain type: Translated
[    0.698436] iommu: DMA domain TLB invalidation policy: strict mode
[    0.699163] SCSI subsystem initialized
[    0.699864] usbcore: registered new interface driver usbfs
[    0.699947] usbcore: registered new interface driver hub
[    0.700024] usbcore: registered new device driver usb
[    0.700627] pps_core: LinuxPPS API ver. 1 registered
[    0.700654] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.700706] PTP clock support registered
[    0.700955] EDAC MC: Ver: 3.0.0
[    0.701916] scmi_core: SCMI protocol bus registered
[    0.703752] NetLabel: Initializing
[    0.703788] NetLabel:  domain hash size = 128
[    0.703809] NetLabel:  protocols = UNLABELED CIPSOv4 CALIPSO
[    0.703943] NetLabel:  unlabeled traffic allowed by default
[    0.704225] vgaarb: loaded
[    0.705056] clocksource: Switched to clocksource arch_sys_counter
[    0.708401] VFS: Disk quotas dquot_6.6.0
[    0.708504] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    0.709501] AppArmor: AppArmor Filesystem Enabled
[    0.722103] NET: Registered PF_INET protocol family
[    0.722471] IP idents hash table entries: 65536 (order: 7, 524288 bytes, linear)
[    0.728601] tcp_listen_portaddr_hash hash table entries: 2048 (order: 3, 32768 bytes, linear)
[    0.728849] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.728967] TCP established hash table entries: 32768 (order: 6, 262144 bytes, linear)
[    0.729670] TCP bind hash table entries: 32768 (order: 8, 1048576 bytes, linear)
[    0.731047] TCP: Hash tables configured (established 32768 bind 32768)
[    0.731281] UDP hash table entries: 2048 (order: 4, 65536 bytes, linear)
[    0.731483] UDP-Lite hash table entries: 2048 (order: 4, 65536 bytes, linear)
[    0.731933] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    0.732015] NET: Registered PF_XDP protocol family
[    0.732052] PCI: CLS 0 bytes, default 64
[    0.732423] Trying to unpack rootfs image as initramfs...
[    0.737417] kvm [1]: IPA Size Limit: 40 bits
[    0.739652] kvm [1]: vgic interrupt IRQ9
[    0.739735] kvm [1]: Hyp mode initialized successfully
[    0.742964] Initialise system trusted keyrings
[    0.743089] Key type blacklist registered
[    0.743492] workingset: timestamp_bits=44 max_order=20 bucket_order=0
[    0.743605] zbud: loaded
[    0.744560] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.745343] fuse: init (API version 7.39)
[    0.747708] integrity: Platform Keyring initialized
[    0.812545] xor: measuring software checksum speed
[    0.820450]    8regs          :  1262 MB/sec
[    0.828328]    32regs          :  1262 MB/sec
[    0.836867]    arm64_neon      :  1165 MB/sec
[    0.836905] xor: using function: 32regs (1262 MB/sec)
[    0.836939] Key type asymmetric registered
[    0.836961] Asymmetric key parser 'x509' registered
[    0.837160] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246)
[    0.837489] io scheduler mq-deadline registered
[    0.837521] io scheduler kyber registered
[    0.837605] io scheduler bfq registered
[    0.847747] dma-pl330 ff1f0000.dma-controller: Loaded driver for PL330 DMAC-241330
[    0.847804] dma-pl330 ff1f0000.dma-controller:      DBUFF-128x8bytes Num_Chans-8 Num_Peri-20 Num_Events-16
[    0.850582] Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled
[    0.856736] printk: console [ttyS2] disabled
[    0.857459] ff130000.serial: ttyS2 at MMIO 0xff130000 (irq = 21, base_baud = 1500000) is a 16550A
[    0.857596] printk: console [ttyS2] enabled
[    0.958577] Serial: AMBA driver
[    0.962867] rockchip-vop ff370000.vop: Adding to iommu group 2
[    0.980008] loop: module loaded
[    0.986385] spi-nor spi0.0: gd25q128 (16384 Kbytes)
[    2.001110] Freeing initrd memory: 14016K
[    2.023831] tun: Universal TUN/TAP device driver, 1.6
[    2.025521] thunder_xcv, ver 1.0
[    2.025884] thunder_bgx, ver 1.0
[    2.026229] nicpf, ver 1.0
[    2.027119] e1000e: Intel(R) PRO/1000 Network Driver
[    2.027578] e1000e: Copyright(c) 1999 - 2015 Intel Corporation.
[    2.028158] igb: Intel(R) Gigabit Ethernet Network Driver
[    2.028654] igb: Copyright (c) 2007-2014 Intel Corporation.
[    2.029232] igbvf: Intel(R) Gigabit Virtual Function Network Driver
[    2.029805] igbvf: Copyright (c) 2009 - 2012 Intel Corporation.
[    2.030536] sky2: driver version 1.30
[    2.033362] dwc2 ff580000.usb: supply vusb_d not found, using dummy regulator
[    2.034209] dwc2 ff580000.usb: supply vusb_a not found, using dummy regulator
[    2.049317] dwc2 ff580000.usb: DWC OTG Controller
[    2.049812] dwc2 ff580000.usb: new USB bus registered, assigned bus number 1
[    2.050498] dwc2 ff580000.usb: irq 28, io mem 0xff580000
[    2.051268] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.06
[    2.052031] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.052693] usb usb1: Product: DWC OTG Controller
[    2.053160] usb usb1: Manufacturer: Linux 6.6.36-current-rockchip64 dwc2_hsotg
[    2.053824] usb usb1: SerialNumber: ff580000.usb
[    2.055115] hub 1-0:1.0: USB hub found
[    2.055526] hub 1-0:1.0: 1 port detected
[    2.058221] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[    2.058774] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 2
[    2.059653] xhci-hcd xhci-hcd.0.auto: hcc params 0x0220fe64 hci version 0x110 quirks 0x0000008002000010
[    2.060136] ehci-platform ff5c0000.usb: EHCI Host Controller
[    2.060157] ohci-platform ff5d0000.usb: Generic Platform OHCI controller
[    2.060188] ohci-platform ff5d0000.usb: new USB bus registered, assigned bus number 3
[    2.060336] ohci-platform ff5d0000.usb: irq 30, io mem 0xff5d0000
[    2.060549] xhci-hcd xhci-hcd.0.auto: irq 27, io mem 0xff600000
[    2.061091] ehci-platform ff5c0000.usb: new USB bus registered, assigned bus number 4
[    2.061911] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[    2.062517] ehci-platform ff5c0000.usb: irq 29, io mem 0xff5c0000
[    2.062939] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 5
[    2.066105] xhci-hcd xhci-hcd.0.auto: Host supports USB 3.0 SuperSpeed
[    2.066936] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.06
[    2.067698] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.068359] usb usb2: Product: xHCI Host Controller
[    2.068812] usb usb2: Manufacturer: Linux 6.6.36-current-rockchip64 xhci-hcd
[    2.069481] usb usb2: SerialNumber: xhci-hcd.0.auto
[    2.070772] hub 2-0:1.0: USB hub found
[    2.071185] hub 2-0:1.0: 1 port detected
[    2.072192] usb usb5: We don't know the algorithms for LPM for this host, disabling LPM.
[    2.073162] usb usb5: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 6.06
[    2.073925] usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.074587] usb usb5: Product: xHCI Host Controller
[    2.075039] usb usb5: Manufacturer: Linux 6.6.36-current-rockchip64 xhci-hcd
[    2.075682] usb usb5: SerialNumber: xhci-hcd.0.auto
[    2.076951] hub 5-0:1.0: USB hub found
[    2.077382] ehci-platform ff5c0000.usb: USB 2.0 started, EHCI 1.00
[    2.077406] hub 5-0:1.0: 1 port detected
[    2.079032] usbcore: registered new interface driver usb-storage
[    2.079149] usb usb4: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.06
[    2.080345] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.081010] usb usb4: Product: EHCI Host Controller
[    2.081508] usb usb4: Manufacturer: Linux 6.6.36-current-rockchip64 ehci_hcd
[    2.081704] mousedev: PS/2 mouse device common for all mice
[    2.082161] usb usb4: SerialNumber: ff5c0000.usb
[    2.083097] i2c_dev: i2c /dev entries driver
[    2.083898] hub 4-0:1.0: USB hub found
[    2.084340] hub 4-0:1.0: 1 port detected
[    2.084907] i2c 1-0018: Fixed dependency cycle(s) with /i2c@ff160000/pmic@18/regulators/DCDC_REG4
[    2.094058] rk808-regulator rk808-regulator.2.auto: there is no dvs0 gpio
[    2.094728] rk808-regulator rk808-regulator.2.auto: there is no dvs1 gpio
[    2.095352] rk808-regulator rk808-regulator.2.auto: max buck steps per change: 8
[    2.121370] usb usb3: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 6.06
[    2.122153] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.122817] usb usb3: Product: Generic Platform OHCI controller
[    2.123176] rk808-rtc rk808-rtc.4.auto: registered as rtc0
[    2.123359] usb usb3: Manufacturer: Linux 6.6.36-current-rockchip64 ohci_hcd
[    2.124494] usb usb3: SerialNumber: ff5d0000.usb
[    2.125189] rk808-rtc rk808-rtc.4.auto: setting system clock to 2016-01-21T08:50:10 UTC (1453366210)
[    2.125749] hub 3-0:1.0: USB hub found
[    2.126445] hub 3-0:1.0: 1 port detected
[    2.128085] input: rk805 pwrkey as /devices/platform/ff160000.i2c/i2c-1/1-0018/rk805-pwrkey.6.auto/input/input0
[    2.133839] dw_wdt ff1a0000.watchdog: No valid TOPs array specified
[    2.137516] sdhci: Secure Digital Host Controller Interface driver
[    2.138103] sdhci: Copyright(c) Pierre Ossman
[    2.138555] Synopsys Designware Multimedia Card Interface Driver
[    2.139858] sdhci-pltfm: SDHCI platform and OF driver helper
[    2.140759] dwmmc_rockchip ff520000.mmc: IDMAC supports 32-bit address mode.
[    2.141498] dwmmc_rockchip ff520000.mmc: Using internal DMA controller.
[    2.142130] dwmmc_rockchip ff520000.mmc: Version ID is 270a
[    2.142747] dwmmc_rockchip ff520000.mmc: DW MMC controller at irq 43,32 bit host data width,256 deep fifo
[    2.145027] mmc_host mmc1: card is non-removable.
[    2.145809] ledtrig-cpu: registered to indicate activity on CPUs
[    2.147116] SMCCC: SOC_ID: ARCH_SOC_ID not implemented, skipping ....
[    2.147930] hid: raw HID events driver (C) Jiri Kosina
[    2.148536] usbcore: registered new interface driver usbhid
[    2.149095] usbhid: USB HID core driver
[    2.152923] hw perfevents: enabled with armv8_cortex_a53 PMU driver, 7 counters available
[    2.156232] drop_monitor: Initializing network drop monitor service
[    2.157268] mmc_host mmc1: Bus speed (slot 0) = 400000Hz (slot req 400000Hz, actual 400000HZ div = 0)
[    2.157318] NET: Registered PF_INET6 protocol family
[    2.225678] Segment Routing with IPv6
[    2.226157] In-situ OAM (IOAM) with IPv6
[    2.226659] NET: Registered PF_PACKET protocol family
[    2.227468] 8021q: 802.1Q VLAN Support v1.8
[    2.227944] Key type dns_resolver registered
[    2.244690] registered taskstats version 1
[    2.245355] Loading compiled-in X.509 certificates
[    2.262575] zswap: loaded using pool zstd/z3fold
[    2.282594] Key type .fscrypt registered
[    2.282987] Key type fscrypt-provisioning registered
[    2.287196] Btrfs loaded, zoned=yes, fsverity=yes
[    2.287882] Key type encrypted registered
[    2.288296] AppArmor: AppArmor sha1 policy hashing enabled
[    2.292643] mmc_host mmc1: Bus speed (slot 0) = 50000000Hz (slot req 52000000Hz, actual 50000000HZ div = 0)
[    2.293738] mmc_host mmc1: Bus speed (slot 0) = 150000000Hz (slot req 150000000Hz, actual 150000000HZ div = 0)
[    2.326570] rockchip-drm display-subsystem: bound ff370000.vop (ops 0xffff8000811d6c60)
[    2.327518] dwhdmi-rockchip ff3c0000.hdmi: supply avdd-0v9 not found, using dummy regulator
[    2.328518] dwhdmi-rockchip ff3c0000.hdmi: supply avdd-1v8 not found, using dummy regulator
[    2.329710] dwhdmi-rockchip ff3c0000.hdmi: Detected HDMI TX controller v2.11a with HDCP (inno_dw_hdmi_phy2)
[    2.331814] dwhdmi-rockchip ff3c0000.hdmi: registered DesignWare HDMI I2C bus driver
[    2.333025] rockchip-drm display-subsystem: bound ff3c0000.hdmi (ops 0xffff8000811dae60)
[    2.334852] [drm] Initialized rockchip 1.0.0 20140818 for display-subsystem on minor 0
[    2.335740] rockchip-drm display-subsystem: [drm] Cannot find any crtc or sizes
[    2.336527] rockchip-drm display-subsystem: [drm] Cannot find any crtc or sizes
[    2.338671] WCN: marlin_init entry!
[    2.339516] of_cfs_init
[    2.339526] dwmmc_rockchip ff500000.mmc: IDMAC supports 32-bit address mode.
[    2.339590] of_cfs_init: OK
[    2.339822] dwmmc_rockchip ff500000.mmc: Using internal DMA controller.
[    2.340630] clk: Disabling unused clocks
[    2.340692] dwmmc_rockchip ff500000.mmc: Version ID is 270a
[    2.340771] dwmmc_rockchip ff500000.mmc: DW MMC controller at irq 50,32 bit host data width,256 deep fifo
[    2.356307] mmc_host mmc0: Bus speed (slot 0) = 400000Hz (slot req 400000Hz, actual 400000HZ div = 0)
[    2.371431] Freeing unused kernel memory: 4672K
[    2.372049] Run /init as init process
[    2.559990] dwmmc_rockchip ff520000.mmc: Successfully tuned phase to 186
[    2.561007] mmc1: new HS200 MMC card at address 0001
[    2.562990] mmcblk1: mmc1:0001 NCard  57.6 GiB
[    2.568856]  mmcblk1: p1
[    2.570696] mmcblk1boot0: mmc1:0001 NCard  4.00 MiB
[    2.576340] mmcblk1boot1: mmc1:0001 NCard  4.00 MiB
[    2.582794] mmcblk1rpmb: mmc1:0001 NCard  4.00 MiB, chardev (243:0)
[    3.202093] gpio-syscon ff100000.syscon:gpio: can't read the data register offset!
[    3.300574] rk_gmac-dwmac ff540000.ethernet: IRQ eth_wake_irq not found
[    3.302030] rk_gmac-dwmac ff540000.ethernet: IRQ eth_lpi not found
[    3.302794] rk_gmac-dwmac ff540000.ethernet: PTP uses main clock
[    3.303715] rk_gmac-dwmac ff540000.ethernet: clock input or output? (input).
[    3.308511] rk_gmac-dwmac ff540000.ethernet: TX delay(0x24).
[    3.309112] rk_gmac-dwmac ff540000.ethernet: RX delay(0x18).
[    3.309668] rk_gmac-dwmac ff540000.ethernet: integrated PHY? (no).
[    3.310313] rk_gmac-dwmac ff540000.ethernet: clock input from PHY
[    3.318544] rk_gmac-dwmac ff540000.ethernet: init for RGMII
[    3.328615] rk_gmac-dwmac ff540000.ethernet: User ID: 0x10, Synopsys ID: 0x35
[    3.329687] rk_gmac-dwmac ff540000.ethernet:        DWMAC1000
[    3.330253] rk_gmac-dwmac ff540000.ethernet: DMA HW capability register supported
[    3.330953] rk_gmac-dwmac ff540000.ethernet: RX Checksum Offload Engine supported
[    3.333007] rk_gmac-dwmac ff540000.ethernet: COE Type 2
[    3.334066] rk_gmac-dwmac ff540000.ethernet: Wake-Up On Lan supported
[    3.335554] rk_gmac-dwmac ff540000.ethernet: Normal descriptors
[    3.336467] rk_gmac-dwmac ff540000.ethernet: Ring mode enabled
[    3.337221] rk_gmac-dwmac ff540000.ethernet: Enable RX Mitigation via HW Watchdog Timer
[    3.498909] RTL8211F Gigabit Ethernet stmmac-0:00: attached PHY driver (mii_bus:phy_addr=stmmac-0:00, irq=POLL)
[    3.499870] RTL8211F Gigabit Ethernet stmmac-0:01: attached PHY driver (mii_bus:phy_addr=stmmac-0:01, irq=POLL)
[    3.621265] rk_gmac-dwmac ff540000.ethernet end0: renamed from eth0
[    8.397090] random: crng init done
[    8.465451] rockchip-pm-domain ff100000.syscon:power-controller: failed to get ack on domain 'hevc', val=0x88220
  Reply
#7
Any solution?
  Reply
#8
(07-27-2024, 04:47 AM)Boia11 Wrote: Any solution?

User 'bits' posted a temporary mitigation for this issue on Debian and I would imagine it would also work for Armbian. It seems that until an updated kernel is released with the proper emmc related patches, the 'roll-back and don't update' strategy is what we have for now.
  Reply
#9
Looks like this is caused by a buggy patch in the upstream linux kernel.

From my tests, linux kernel versions 6.1.97 and later and 6.6.37 and later are affected.
The broken patch is "pinctrl: rockchip: fix pinmux bits for RK3328 GPIO2-B pins", so any other kernel which lists that patch in the Changelog is liked also affected.

There seems to be a fix at https://patchwork.kernel.org/project/lin...-i@eh5.me/, but this fix is not released yet.
  Reply
#10
(07-27-2024, 12:04 PM)bennofs Wrote: Looks like this is caused by a buggy patch in the upstream linux kernel.

From my tests, linux kernel versions 6.1.97 and later and 6.6.37 and later are affected.
The broken patch is "pinctrl: rockchip: fix pinmux bits for RK3328 GPIO2-B pins", so any other kernel which lists that patch in the Changelog is liked also affected.

There seems to be a fix at https://patchwork.kernel.org/project/lin...-i@eh5.me/, but this fix is not released yet.

Can you provide me new armbian kernel with correction? I'm not expert
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Debian installation via sd card oaFJSADBKV 0 39 10-12-2024, 10:24 AM
Last Post: oaFJSADBKV
  arch rock64 does not boot nemnob 1 884 09-20-2024, 11:18 AM
Last Post: AwU2HBg
  How to update/compile Debian 12.5? Wizardknight 3 1,167 03-29-2024, 05:01 AM
Last Post: gedas07
  Rock64 won't boot dstallmo 0 589 12-27-2023, 10:34 AM
Last Post: dstallmo
  Rock64 Debian 11 (Bullseye) install problem jbize 15 10,740 10-12-2023, 05:14 PM
Last Post: tpaul
  Disabling last mount time check on boot acwest 0 838 03-03-2023, 09:24 PM
Last Post: acwest
  Rock64 Rev3 doesn't boot and leds blinking fast dishins 6 8,652 06-30-2022, 06:28 PM
Last Post: rookie_267
  my rock64 can't boot rookie_267 0 1,250 06-27-2022, 06:52 PM
Last Post: rookie_267
  rock64-debian-mrfixit-190531.img.xz : missing /usr/lib/dri/rockchip_dri.so popi 5 6,056 08-12-2021, 04:55 AM
Last Post: igorp
  Debian build from mrfixit2001 Luke 18 30,645 05-17-2021, 02:35 AM
Last Post: Wizzard

Forum Jump:


Users browsing this thread: 1 Guest(s)