MichaIng / DietPi

Lightweight justice for your single-board computer!
https://dietpi.com/
GNU General Public License v2.0
4.79k stars 494 forks source link

ROCK Pi S don't start with DietPi IMG #3925

Closed custodis-intestina closed 3 years ago

custodis-intestina commented 3 years ago

Creating a bug report/issue

Required Information

Additional Information (if applicable)

Steps to reproduce

Flasching the Image to SD Card with Win32Diskimager Insert SD Card in RockPi S Plugin Power and Wait

Extra details

Serial Console

DDR Version V1.26
REGFB: 0x00000031, 0x00000031
In
589MHz
DDR3
 Col=10 Bank=8 Row=15 Size=512MB
msch:1
Returning to boot ROM...
INFO:    Preloader serial: 0
NOTICE:  BL31: v1.3(release):3a579d3
NOTICE:  BL31: Built : 09:09:17, Jan 29 2019
INFO:    Lastlog: last=0x100000, realtime=0x102000, size=0x2000
INFO:    ARM GICv2 driver initialized
INFO:    Using opteed sec cpu_context!
INFO:    boot cpu mask: 1
INFO:    plat_rockchip_pmu_init: pd status 0xe
INFO:    BL31: Initializing runtime services
WARNING: No OPTEE provided by BL2 boot loader, Booting device without OPTEE initialization. SMC`s destined for OPTEE will return SMC_UNK
ERROR:   Error initializing runtime service opteed_fast
INFO:    BL31: Preparing for EL3 exit to normal world
INFO:    Entry point address = 0x600000
INFO:    SPSR = 0x3c9

U-Boot 2017.09-02378-g6de46245e6 (Mar 12 2020 - 07:47:46 +0000), Build: jenkins-linux-build-release-32

Model: Radxa ROCK Pi S
PreSerial: 0
DRAM:  510 MiB
Relocation Offset is: 1f92b000
vdd_core 1044000 uV
vdd-core init 1044000 uV
MMC:   dwmmc@ff480000: 0, dwmmc@ff490000: 1
Using default environment

In:    serial@ff0c0000
Out:   serial@ff0c0000
Err:   serial@ff0c0000
Model: Radxa ROCK Pi S
Bootdev(atags): mmc 0
PartType: EFI
## Error: Can't overwrite "serial#"
## Error inserting "serial#" variable, errno=1
get part misc fail -1
boot mode: None
CLK:
apll 816000 KHz
dpll 1300000 KHz
vpll0 1179647 KHz
vpll1 903167 KHz
aclk_bus 185714 KHz
hclk_bus 100000 KHz
pclk_bus 100000 KHz
aclk_peri 185714 KHz
hclk_peri 100000 KHz
pclk_peri 100000 KHz
hclk_audio 98303 KHz
pclk_audio 98303 KHz
Net:   Net Initialization Skipped
No ethernet found.
Hit key to stop autoboot('CTRL+C'):  0
android_bootloader_boot_flow Could not find misc partition
ANDROID: reboot reason: "(none)"
** Invalid Android Image header **
android_bootloader_boot_flow boot part load fail
Android boot failed, error -1.
=Booting Rockchip format image=
boot_rockchip_image kernel or boot part info error
switch to partitions #0, OK
mmc1 is current device
** No partition table - mmc 1 **
switch to partitions #0, OK
mmc0 is current device
Scanning mmc 0:1...
Found U-Boot script /boot.scr
reading /boot.scr
2679 bytes read in 3 ms (872.1 KiB/s)
## Executing script at 00500000
Boot script loaded from mmc 0
reading /uEnv.txt
344 bytes read in 2 ms (168 KiB/s)
reading /initrd.img-4.4.143-47-rockchip-g495ff574976c
6072726 bytes read in 261 ms (22.2 MiB/s)
reading /vmlinuz-4.4.143-47-rockchip-g495ff574976c
10557448 bytes read in 452 ms (22.3 MiB/s)
reading /dtbs/4.4.143-47-rockchip-g495ff574976c/rockchip/rk3308-rock-pi-s.dtb
63602 bytes read in 10 ms (6.1 MiB/s)
reading /dtbs/4.4.143-47-rockchip-g495ff574976c/rockchip/overlay/rk3308-console-on-uart0.dtbo
546 bytes read in 5 ms (106.4 KiB/s)
Applying kernel provided DT overlay rk3308-console-on-uart0.dtbo
reading /dtbs/4.4.143-47-rockchip-g495ff574976c/rockchip/overlay/rockchip-fixup.scr
1814 bytes read in 5 ms (353.5 KiB/s)
Applying kernel provided DT fixup script (rockchip-fixup.scr)
## Executing script at 05000000
initrdsize = 0x5c9814
## Flattened Device Tree blob at 01f00000
   Booting using the fdt blob at 0x1f00000
   reserving fdt memory region: addr=1f00000 size=75000
   Loading Ramdisk to 1ef50000, end 1f519814 ... OK
   Loading Device Tree to 000000001eed8000, end 000000001ef4ffff ... OK
Adding bank: 0x00200000 - 0x20000000 (size: 0x1fe00000)

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Initializing cgroup subsys cpuset
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Initializing cgroup subsys cpuacct
[    0.000000] Linux version 4.4.143-47-rockchip-g495ff574976c (root@91eWARNING: suspend_mode_handler: Not support call: 0x4
15308a281) (gcc version 7.3.1 20180425 [linaro-7.3-2018.05 revision d29120a424ecfbc167ef90065c0eeb7f91977701] (Linaro GCC 7.3-2018.05) ) #1 SMP PREEMPT Tue Apr 21 01:38:40 UTC 2020
[    0.000000] Boot CPU: AArch64 Processor [410fd042]
[    0.000000] Reserved memory: failed to reserve memory for node 'drm-logo@00000000': base 0x0000000000000000, size 0 MiB
[    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] PERCPU: Embedded 19 pages/cpu @ffffffc01ff56000 s40344 r8192 d29288 u77824
[    0.000000] Detected VIPT I-cache on CPU0
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 128520
[    0.000000] Kernel command line: initrd=initrd.img-4.4.143-47-rockchip-g495ff574976c root=UUID=c3800af9-fa58-4fb3-bb56-e52fd04837ba rootwait rw rootfstype=ext4 console=ttyS2,1500000n8  panic=10 consoleblank=0 loglevel=7
[    0.000000] PID hash table entries: 2048 (order: 2, 16384 bytes)
[    0.000000] Dentry cache hash table entries: 65536 (order: 7, 524288 bytes)
[    0.000000] Inode-cache hash table entries: 32768 (order: 6, 262144 bytes)
[    0.000000] software IO TLB [mem 0x19ed8000-0x1ded8000] (64MB) mapped at [ffffffc019ed8000-ffffffc01ded7fff]
[    0.000000] Memory: 429320K/522240K available (6910K kernel code, 518K rwdata, 2476K rodata, 384K init, 520K bss, 92920K reserved, 0K cma-reserved)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     modules : 0xffffff8000000000 - 0xffffff8008000000   (   128 MB)
[    0.000000]     vmalloc : 0xffffff8008000000 - 0xffffffbdbfff0000   (   246 GB)
[    0.000000]       .init : 0xffffff80089b0000 - 0xffffff8008a10000   (   384 KB)
[    0.000000]       .text : 0xffffff8008080000 - 0xffffff8008740000   (  6912 KB)
[    0.000000]     .rodata : 0xffffff8008740000 - 0xffffff80089b0000   (  2496 KB)
[    0.000000]       .data : 0xffffff8008a10000 - 0xffffff8008a91808   (   519 KB)
[    0.000000]     fixed   : 0xffffffbffe7fd000 - 0xffffffbffec00000   (  4108 KB)
[    0.000000]     PCI I/O : 0xffffffbffee00000 - 0xffffffbfffe00000   (    16 MB)
[    0.000000]     memory  : 0xffffffc000200000 - 0xffffffc020000000   (   510 MB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000]  Build-time adjustment of leaf fanout to 64.
[    0.000000] NR_IRQS:64 nr_irqs:64 0
[    0.000000] GIC: Using split EOI/Deactivate mode
[    0.000000] Architected cp15 timer(s) running at 24.00MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
[    0.000007] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[    0.001019] Console: colour dummy device 80x25
[    0.001048] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=96000)
[    0.001062] pid_max: default: 32768 minimum: 301
[    0.001150] Security Framework initialized
[    0.001167] AppArmor: AppArmor disabled by boot time parameter
[    0.001233] Mount-cache hash table entries: 1024 (order: 1, 8192 bytes)
[    0.001246] Mountpoint-cache hash table entries: 1024 (order: 1, 8192 bytes)
[    0.001991] Initializing cgroup subsys io
[    0.002015] Initializing cgroup subsys memory
[    0.002051] Initializing cgroup subsys devices
[    0.002068] Initializing cgroup subsys freezer
[    0.002085] Initializing cgroup subsys net_cls
[    0.002098] Initializing cgroup subsys perf_event
[    0.002113] Initializing cgroup subsys net_prio
[    0.002134] Initializing cgroup subsys hugetlb
[    0.002148] Initializing cgroup subsys pids
[    0.002486] sched-energy: CPU device node has no sched-energy-costs
[    0.002501] Invalid sched_group_energy for CPU0
[    0.002509] CPU0: update cpu_capacity 1024
[    0.002565] ASID allocator initialised with 65536 entries
[    0.035828] Detected VIPT I-cache on CPU1
[    0.035886] Invalid sched_group_energy for CPU1
[    0.035891] CPU1: update cpu_capacity 1024
[    0.035896] CPU1: Booted secondary processor [410fd042]
[    0.047855] Detected VIPT I-cache on CPU2
[    0.047896] Invalid sched_group_energy for CPU2
[    0.047900] CPU2: update cpu_capacity 1024
[    0.047905] CPU2: Booted secondary processor [410fd042]
[    0.059895] Detected VIPT I-cache on CPU3
[    0.059934] Invalid sched_group_energy for CPU3
[    0.059938] CPU3: update cpu_capacity 1024
[    0.059942] CPU3: Booted secondary processor [410fd042]
[    0.060022] Brought up 4 CPUs
[    0.060083] SMP: Total of 4 processors activated.
[    0.060098] CPU: All CPU(s) started at EL2
[    0.060250] Invalid sched_group_energy for CPU3
[    0.060263] Invalid sched_group_energy for Cluster3
[    0.060270] Invalid sched_group_energy for CPU2
[    0.060278] Invalid sched_group_energy for Cluster2
[    0.060287] Invalid sched_group_energy for CPU1
[    0.060295] Invalid sched_group_energy for Cluster1
[    0.060303] Invalid sched_group_energy for CPU0
[    0.060310] Invalid sched_group_energy for Cluster0
[    0.060946] devtmpfs: initialized
[    0.078901] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.078939] futex hash table entries: 1024 (order: 4, 65536 bytes)
[    0.079414] pinctrl core: initialized pinctrl subsystem
[    0.080717] NET: Registered protocol family 16
[    0.092059] cpuidle: using governor menu
[    0.092111] Registered FIQ tty driver
[    0.092408] vdso: 2 pages (1 code @ ffffff8008746000, 1 data @ ffffff8008a14000)
[    0.092445] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[    0.092680] DMA: preallocated 256 KiB pool for atomic allocations
[    0.095011] console [pstore-1] enabled
[    0.095022] pstore: Registered ramoops as persistent store backend
[    0.095035] ramoops: attached 0xf0000@0x110000, ecc: 0/0
[    0.113155] fiq debugger fiq mode enabled
[    0.114099] console [ttyFIQ0] enabled
[    0.114389] Registered fiq debugger ttyFIQ0
[    0.135721] vcc_1v8: regulator get failed, ret=-517
[    0.136674] vcc_1v8_codec: regulator get failed, ret=-517
[    0.137536] vcc_1v8: supplied by vcc_io
[    0.137619] vcc_1v8_codec: supplied by vcc_io
[    0.139920] SCSI subsystem initialized
[    0.140599] usbcore: registered new interface driver usbfs
[    0.140684] usbcore: registered new interface driver hub
[    0.140802] usbcore: registered new device driver usb
[    0.140969] media: Linux media interface: v0.10
[    0.141034] Linux video capture interface: v2.00
[    0.141175] pps_core: LinuxPPS API ver. 1 registered
[    0.141189] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.141227] PTP clock support registered
[    0.142440] Advanced Linux Sound Architecture Driver Initialized.
[    0.143238] Bluetooth: Core ver 2.21
[    0.143299] NET: Registered protocol family 31
[    0.143311] Bluetooth: HCI device and connection manager initialized
[    0.143330] Bluetooth: HCI socket layer initialized
[    0.143347] Bluetooth: L2CAP socket layer initialized
[    0.143383] Bluetooth: SCO socket layer initialized
[    0.143956] NetLabel: Initializing
[    0.143974] NetLabel:  domain hash size = 128
[    0.143984] NetLabel:  protocols = UNLABELED CIPSOv4
[    0.144053] NetLabel:  unlabeled traffic allowed by default
[    0.144768] rockchip-cpuinfo cpuinfo: Serial         : 561144c9cf17014f
[    0.145384] clocksource: Switched to clocksource arch_sys_counter
[    0.157992] thermal thermal_zone1: power_allocator: sustainable_power will be estimated
[    0.158034] missing polling-delay-passive property
[    0.158047] failed to build thermal zone soc_thermal: -22
[    0.158384] NET: Registered protocol family 2
[    0.159124] TCP established hash table entries: 4096 (order: 3, 32768 bytes)
[    0.159212] TCP bind hash table entries: 4096 (order: 4, 65536 bytes)
[    0.159301] TCP: Hash tables configured (established 4096 bind 4096)
[    0.159403] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    0.159434] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    0.159706] NET: Registered protocol family 1
[    0.160308] Trying to unpack rootfs image as initramfs...
[    0.607703] rootfs image is not initramfs (read error); looks like an initrd
[    0.626667] Freeing initrd memory: 5924K
[    0.627303] hw perfevents: enabled with armv8_cortex_a53 PMU driver, 7 counters available
[    0.631267] audit: initializing netlink subsys (disabled)
[    0.631413] audit: type=2000 audit(0.628:1): initialized
[    0.632233] HugeTLB registered 2 MB page size, pre-allocated 0 pages
[    0.641708] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.642538] fuse init (API version 7.23)
[    0.647507] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 247)
[    0.647708] io scheduler noop registered
[    0.647735] io scheduler deadline registered (default)
[    0.647932] io scheduler cfq registered
[    0.653515] dma-pl330 ff2c0000.dma-controller: Loaded driver for PL330 DMAC-241330
[    0.653565] dma-pl330 ff2c0000.dma-controller:       DBUFF-32x8bytes Num_Chans-6 Num_Peri-12 Num_Events-12
[    0.656038] dma-pl330 ff2d0000.dma-controller: Loaded driver for PL330 DMAC-241330
[    0.656080] dma-pl330 ff2d0000.dma-controller:       DBUFF-128x8bytes Num_Chans-8 Num_Peri-20 Num_Events-16
[    0.656420] rockchip-pvtm ff000000.grf:pmu-pvtm: failed to get rst 0 pmu
[    0.656575] rockchip-pvtm ff00c000.syscon:pvtm: failed to get rst 0 core
[    0.658221] Serial: 8250/16550 driver, 5 ports, IRQ sharing disabled
[    0.660631] ff0e0000.serial: ttyS4 at MMIO 0xff0e0000 (irq = 12, base_baud = 5078125) is a 16550A
[    0.661716] [drm] Initialized drm 1.1.0 20060810
[    0.664225] Unable to detect cache hierarchy for CPU 0
[    0.665527] brd: module loaded
[    0.672995] loop: module loaded
[    0.673594] SCSI Media Changer driver v0.25
[    0.675901] rk_gmac-dwmac ff4e0000.ethernet: clock input or output? (output).
[    0.675954] rk_gmac-dwmac ff4e0000.ethernet: Can not read property: tx_delay.
[    0.675972] rk_gmac-dwmac ff4e0000.ethernet: set tx_delay to 0x30
[    0.675996] rk_gmac-dwmac ff4e0000.ethernet: Can not read property: rx_delay.
[    0.676013] rk_gmac-dwmac ff4e0000.ethernet: set rx_delay to 0x10
[    0.676036] rk_gmac-dwmac ff4e0000.ethernet: integrated PHY? (no).
[    0.681315] rk_gmac-dwmac ff4e0000.ethernet: init for RMII
[    0.681477] stmmac - user ID: 0x10, Synopsys ID: 0x35
[    0.681495]  Ring mode enabled
[    0.681506]  DMA HW capability register supported
[    0.681515]  Normal descriptors
[    0.681527]  RX Checksum Offload Engine supported (type 2)
[    0.681536]  TX Checksum insertion supported
[    0.681544]  Wake-Up On Lan supported
[    0.681609]  Enable RX Mitigation via HW Watchdog Timer
[    0.793997] brian phy in rtl8201f_probe
[    0.794744] brian phy in rtl8201f_probe
[    0.797529] libphy: stmmac: probed
[    0.797553] eth%d: PHY ID 001cc816 at 0 IRQ POLL (stmmac-0:00) active
[    0.797568] eth%d: PHY ID 001cc816 at 1 IRQ POLL (stmmac-0:01)
[    0.798751] Rockchip WiFi SYS interface (V1.00) ...
[    0.799216] ff400000.usb supply vusb_d not found, using dummy regulator
[    0.799320] ff400000.usb supply vusb_a not found, using dummy regulator
[    0.917450] dwc2 ff400000.usb: EPs: 10, dedicated fifos, 972 entries in SPRAM
[    0.918031] dwc2 ff400000.usb: DWC OTG Controller
[    0.918083] dwc2 ff400000.usb: new USB bus registered, assigned bus number 1
[    0.918136] dwc2 ff400000.usb: irq 20, io mem 0xff400000
[    0.918354] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    0.918380] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    0.918398] usb usb1: Product: DWC OTG Controller
[    0.918418] usb usb1: Manufacturer: Linux 4.4.143-47-rockchip-g495ff574976c dwc2_hsotg
[    0.918434] usb usb1: SerialNumber: ff400000.usb
[    0.919228] hub 1-0:1.0: USB hub found
[    0.919285] hub 1-0:1.0: 1 port detected
[    1.140885] phy phy-ff008000.syscon:usb2-phy@100.0: charger = USB_SDP_CHARGER
[    1.141739] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.141774] ehci-platform: EHCI generic platform driver
[    1.145624] ehci-platform ff440000.usb: EHCI Host Controller
[    1.145936] ehci-platform ff440000.usb: new USB bus registered, assigned bus number 2
[    1.146094] ehci-platform ff440000.usb: irq 21, io mem 0xff440000
[    1.157434] ehci-platform ff440000.usb: USB 2.0 started, EHCI 1.00
[    1.157662] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
[    1.157687] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.157725] usb usb2: Product: EHCI Host Controller
[    1.157743] usb usb2: Manufacturer: Linux 4.4.143-47-rockchip-g495ff574976c ehci_hcd
[    1.157760] usb usb2: SerialNumber: ff440000.usb
[    1.158481] hub 2-0:1.0: USB hub found
[    1.158534] hub 2-0:1.0: 1 port detected
[    1.159256] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    1.159324] ohci-platform: OHCI generic platform driver
[    1.159752] ohci-platform ff450000.usb: Generic Platform OHCI controller
[    1.160058] ohci-platform ff450000.usb: new USB bus registered, assigned bus number 3
[    1.160206] ohci-platform ff450000.usb: irq 22, io mem 0xff450000
[    1.217612] usb usb3: New USB device found, idVendor=1d6b, idProduct=0001
[    1.217641] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.217661] usb usb3: Product: Generic Platform OHCI controller
[    1.217690] usb usb3: Manufacturer: Linux 4.4.143-47-rockchip-g495ff574976c ohci_hcd
[    1.217705] usb usb3: SerialNumber: ff450000.usb
[    1.218450] hub 3-0:1.0: USB hub found
[    1.218507] hub 3-0:1.0: 1 port detected
[    1.220141] i2c /dev entries driver
[    1.220627] usbcore: registered new interface driver uvcvideo
[    1.220652] USB Video Class driver (1.1.1)
[    1.223093] rk_tsadcv2_temp_to_code: Invalid conversion table: code=4095, temperature=2147483647
[    1.223413] rockchip-thermal ff1f0000.tsadc: tsadc is probed successfully!
[    1.224805] device-mapper: ioctl: 4.34.0-ioctl (2015-10-28) initialised: dm-devel@redhat.com
[    1.224852] Bluetooth: Virtual HCI driver ver 1.5
[    1.225350] cpu cpu0: leakage=12
[    1.225691] cpu cpu0: Failed to get pvtm
[    1.226874] cpu cpu0: l=0 h=55000 hyst=5000 l_limit=0 h_limit=0
[    1.228337] Synopsys Designware Multimedia Card Interface Driver
[    1.229594] dwmmc_rockchip ff480000.dwmmc: IDMAC supports 32-bit address mode.
[    1.229669] dwmmc_rockchip ff480000.dwmmc: Using internal DMA controller.
[    1.229693] dwmmc_rockchip ff480000.dwmmc: Version ID is 270a
[    1.229764] dwmmc_rockchip ff480000.dwmmc: DW MMC controller at irq 23,32 bit host data width,256 deep fifo
[    1.245573] mmc_host mmc0: Bus speed (slot 0) = 400000Hz (slot req 400000Hz, actual 400000HZ div = 0)
[    1.262580] dwmmc_rockchip ff480000.dwmmc: 1 slots initialized
[    1.262900] dwmmc_rockchip ff490000.dwmmc: IDMAC supports 32-bit address mode.
[    1.264997] dwmmc_rockchip ff490000.dwmmc: Using internal DMA controller.
[    1.265028] dwmmc_rockchip ff490000.dwmmc: Version ID is 270a
[    1.265106] dwmmc_rockchip ff490000.dwmmc: DW MMC controller at irq 24,32 bit host data width,256 deep fifo
[    1.265179] dwmmc_rockchip ff490000.dwmmc: No vmmc regulator found
[    1.265196] dwmmc_rockchip ff490000.dwmmc: No vqmmc regulator found
[    1.281592] mmc_host mmc1: Bus speed (slot 0) = 400000Hz (slot req 400000Hz, actual 400000HZ div = 0)
[    1.298627] dwmmc_rockchip ff490000.dwmmc: 1 slots initialized
[    1.301461] dwmmc_rockchip ff4a0000.dwmmc: num-slots property not found, assuming 1 slot is available
[    1.301603] dwmmc_rockchip ff4a0000.dwmmc: IDMAC supports 32-bit address mode.
[    1.301658] dwmmc_rockchip ff4a0000.dwmmc: Using internal DMA controller.
[    1.301681] dwmmc_rockchip ff4a0000.dwmmc: Version ID is 270a
[    1.301784] dwmmc_rockchip ff4a0000.dwmmc: DW MMC controller at irq 25,32 bit host data width,256 deep fifo
[    1.301889] dwmmc_rockchip ff4a0000.dwmmc: No vmmc regulator found
[    1.301904] dwmmc_rockchip ff4a0000.dwmmc: No vqmmc regulator found
[    1.302873] dwmmc_rockchip ff4a0000.dwmmc: allocated mmc-pwrseq
[    1.317630] mmc_host mmc2: Bus speed (slot 0) = 400000Hz (slot req 400000Hz, actual 400000HZ div = 0)
[    1.333050] mmc_host mmc0: Bus speed (slot 0) = 50000000Hz (slot req 50000000Hz, actual 50000000HZ div = 0)
[    1.333148] mmc0: new high speed SDHC card at address aaaa
[    1.333716] dwmmc_rockchip ff4a0000.dwmmc: 1 slots initialized
[    1.334157] mmcblk0: mmc0:aaaa SS16G 14.8 GiB
[    1.335226] hidraw: raw HID events driver (C) Jiri Kosina
[    1.335863] usbcore: registered new interface driver usbhid
[    1.335891] usbhid: USB HID core driver
[    1.336241] rockchip-dmc dmc: failed to get the count of devfreq-event in /dmc node
[    1.337252] rockchip-dmc dmc: Failed to get leakage
[    1.337502] rockchip-dmc dmc: Failed to get pvtm
[    1.338030] rockchip-dmc dmc: failed to get vop bandwidth to dmc rate
[    1.338065] rockchip-dmc dmc: failed to get vop pn to msch rl
[    1.338082] rockchip-dmc dmc: don't add devfreq feature
[    1.340077] mmc_host mmc1: Bus speed (slot 0) = 25000000Hz (slot req 25000000Hz, actual 25000000HZ div = 0)
[    1.340231] mmc1: new SD card at address 1388
[    1.340927] dwmmc_rockchip ff4a0000.dwmmc: card claims to support voltages below defined range
[    1.340963] rknandc_base v1.1 2017-01-11
[    1.341299] rksfc_base v1.1 2016-01-08
[    1.341321] mmcblk1: mmc1:1388 Stora 964 MiB
[    1.345696]  mmcblk0: p1 p2
[    1.347518] dummy_codec dummy-codec: Unable to get mclk
[    1.348170] rk3308-acodec ff560000.acodec: Don't need hp-ctl gpio
[    1.348284] rk3308-acodec ff560000.acodec: Don't need spk-ctl gpio
[    1.348388] rk3308-acodec ff560000.acodec: Don't need pa-drv gpio
[    1.348401] rk3308-acodec ff560000.acodec: De-pop as much as possible
[    1.348517] The acodec version is: a
[    1.351780] mmc_host mmc2: Bus speed (slot 0) = 50000000Hz (slot req 50000000Hz, actual 50000000HZ div = 0)
[    1.352943] mmc2: new high speed SDIO card at address 0001
[    1.403271] rk-multicodecs acodec-sound: rk3308-hifi <-> ff320000.i2s mapping ok
[    1.404845] input: rockchip,rk3308-acodec Headphones as /devices/platform/acodec-sound/sound/card1/input0
[    1.405651] u32 classifier
[    1.405705] Netfilter messages via NETLINK v0.30.
[    1.405818] ip_set: protocol 6
[    1.406140] ip_tables: (C) 2000-2006 Netfilter Core Team
[    1.406197] Initializing XFRM netlink socket
[    1.406867] NET: Registered protocol family 10
[    1.408346] ip6_tables: (C) 2000-2006 Netfilter Core Team
[    1.408390] NET: Registered protocol family 17
[    1.408431] NET: Registered protocol family 15
[    1.408502] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
[    1.409179] Bridge firewalling registered
[    1.409528] Bluetooth: RFCOMM TTY layer initialized
[    1.409567] Bluetooth: RFCOMM socket layer initialized
[    1.409613] Bluetooth: RFCOMM ver 1.11
[    1.409641] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
[    1.409662] Bluetooth: HIDP socket layer initialized
[    1.409680] 8021q: 802.1Q VLAN Support v1.8
[    1.409726] [WLAN_RFKILL]: Enter rfkill_wlan_init
[    1.410351] [WLAN_RFKILL]: Enter rfkill_wlan_probe
[    1.410396] [WLAN_RFKILL]: wlan_platdata_parse_dt: wifi_chip_type = rtl8723ds
[    1.410409] [WLAN_RFKILL]: wlan_platdata_parse_dt: enable wifi power control.
[    1.410421] [WLAN_RFKILL]: wlan_platdata_parse_dt: wifi power controled by gpio.
[    1.410516] [WLAN_RFKILL]: wlan_platdata_parse_dt: get property: WIFI,host_wake_irq = 0, flags = 0.
[    1.410598] [WLAN_RFKILL]: rfkill_wlan_probe: init gpio
[    1.410614] [WLAN_RFKILL]: Exit rfkill_wlan_probe
[    1.410706] [BT_RFKILL]: Enter rfkill_rk_init
[    1.411207] [BT_RFKILL]: bluetooth_platdata_parse_dt: get property: uart_rts_gpios = 135.
[    1.411256] [BT_RFKILL]: bluetooth_platdata_parse_dt: get property: BT,power_gpio = 139.
[    1.411318] [BT_RFKILL]: bluetooth_platdata_parse_dt: get property: BT,wake_host_irq = 140.
[    1.411342] [BT_RFKILL]: bluetooth_platdata_parse_dt: clk_get failed!!!.
[    1.411422] [BT_RFKILL]: Request irq for bt wakeup host
[    1.411492] [BT_RFKILL]: ** disable irq
[    1.411717] [BT_RFKILL]: bt_default device registered.
[    1.411871] Key type dns_resolver registered
[    1.412330] flash vendor_init_thread!
[    1.412355] flash vendor storage:20170308 ret = -1
[    1.413467] rk3308-acodec ff560000.acodec: Don't need to change dac_output: 0
[    1.413667] registered taskstats version 1
[    1.415546] Key type encrypted registered
[    1.416279] hctosys: unable to open rtc device (rtc0)
[    1.432759] ALSA device list:
[    1.432816]   #0: Loopback 1
[    1.432828]   #1: rockchip,rk3308-acodec
[    1.433201] RAMDISK: gzip image found at block 0
[    1.542616] RAMDISK: incomplete write (31546 != 32768)
[    1.542672] write error
[    1.542768] Waiting for root device UUID=c3800af9-fa58-4fb3-bb56-e52fd04837ba...
[    4.433554] vendor storage:20160801 ret = -1
[   54.137571] random: nonblocking pool is initialized

After "[ 54.137571] random: nonblocking pool is initialized" the System does nothing. LAN Leds blinking, Heartbeat is ON.

Sry but i have no Information found.

I Hope you can Help me . LG Steve

MichaIng commented 3 years ago

Many thanks for your report. There are a few more errors, not sure which one is relevant here, but in the end, the root device seems to be not found, although the partitions are detected before:

[    0.000000] Reserved memory: failed to reserve memory for node 'drm-logo@00000000': base 0x0000000000000000, size 0 MiB
...
[    1.345696]  mmcblk0: p1 p2
...
[    1.433201] RAMDISK: gzip image found at block 0
[    1.542616] RAMDISK: incomplete write (31546 != 32768)
[    1.542672] write error
[    1.542768] Waiting for root device UUID=c3800af9-fa58-4fb3-bb56-e52fd04837ba...

... ah a look into the changelog: https://wiki.radxa.com/RockpiS/Debian#Changelogs

2020.06.16

rockpis_debian_buster_minimal_arm64_20200615_1225-gpt.img

  • Fix the issue of failing to find root device. System boot log may show like this.
    [    1.478059] RAMDISK: gzip image found at block 0
    [    1.581744] RAMDISK: incomplete write (23864 != 32768)
    [    1.581801] write error
    [    1.581895] Waiting for root device UUID=37055840-4ec4-444f-979b-9e47ee4bd848...

Strange, since it worked before, but probably due to a change in newer hardware revision or firmware version. I'll re-create the image.

MichaIng commented 3 years ago

Image ready, would be great if you could give it a try: https://dietpi.com/downloads/images/DietPi_ROCKPiS-ARMv8-Buster.7z

custodis-intestina commented 3 years ago

Hey and sry for the late anwser. That Image Works. What wars the Solution? New Kernel? LG Steve

MichaIng commented 3 years ago

Great, many thanks for testing, I replaced the old one with it.

Since Radxa documented exactly the error message you faced as well, I guess it was an error in their kernel in combination with a new hardware revision or shipped firmware version. So yes, I simply redid the image based on their new bootloader and kernel.

custodis-intestina commented 3 years ago

There is another flaw. The key to the Radxa repository is no longer valid. Tried to reload it from Radxa, but no success.

MichaIng commented 3 years ago

Lol, expired today:

root@DietPi:/tmp/DietPi-Software# apt-key list
/etc/apt/trusted.gpg
--------------------
pub   rsa3072 2018-11-23 [SC] [expired: 2020-11-22]
      C79E F8D1 49CF C9C0 418A  9A60 5761 288B 2B52 CC90
uid           [ expired] Radxa <dev@radxa.com>

And Radxa does not have a newer image yet, and ... there is no current key available... 👎 Just tested it, it's the same: https://apt.radxa.com/buster-stable/public.key or: https://github.com/radxa/apt/blob/gh-pages/buster-stable/public.key

And there we have the bug report: https://github.com/radxa/apt/issues/9

One could call it luck that I just redid the image yesterday (including the APT upgrades) since the really only solution right now is to disable/remove the repository and re-add it with an updated key with a future DietPi update.

In your case:

rm /etc/apt/trusted.gpg # All other keys are shipped the "modern" way via dedicated files in /etc/apt/trusted.gpg.d/
mv /etc/apt/sources.list.d/apt-radxa-com.list{,_bak}
MichaIng commented 3 years ago

There is another bug in the repo while I tried to download and install the "new" (renamed) kernel meta package manually from the GitHub repo: https://github.com/radxa/apt/issues/10 Will be a messy image currently, probably we should have switched to Armbian directly, which have a functional (although limited featured) Linux 5.8 (even a testing 5.9) image.

MichaIng commented 3 years ago

Okay image up with the Radxa repository disabled for now and the newer kernel packages installed manually: https://dietpi.com/downloads/images/DietPi_ROCKPiS-ARMv8-Buster.7z The repo will be re-enabled once a valid key is available.

MichaIng commented 3 years ago

The repository key has been updated, but the bootloader package still depends on the old/removed kernel meta package: https://github.com/radxa/apt/issues/10 So currently, enabling the repository would lead to a dependency conflict that can be either resolved by an upgrade or bootloader package removal. The latter is possible since the bootloader has been flashed already, but in case of breaking changes I'd rather like to keep it to allow upgrades, when available. So I'll wait for this issue to be fixed before re-enabling the Radxa repository.

MichaIng commented 3 years ago

Finally, both issues are solved. I'll apply the new key and re-enable the repo on the image.

MichaIng commented 3 years ago

Above image repacked, including some fine tuning and cleanup + really enabled serial console for first boot: https://github.com/MichaIng/DietPi/commit/324b59b89e8b849ef87539a777b2338d01542a36

@custodis-intestina Should be fine now for production usage, would be great if you could give it a final test.