retro-center / rcade_releases

Downloads and details for R-Cade software releases and updates
Other
61 stars 3 forks source link

Rock64 wont boot #31

Closed mikerocklewitz closed 1 year ago

mikerocklewitz commented 1 year ago

I'm attempting to boot this on a rock64 v2 1gb ram. I flashed the image to microsd with balena etcher and connected serial port to terminal on my computer to capture the boot.

I cant seem to get it to boot. Here is the boot. It seems to be failing when attempting to open some part of rootfs but I dont know enough about this part of linux to figure out why its failing......

ID:0x805 Y In LPDDR3 786MHz Bus Width=32 Col=10 Bank=8 Row=15 CS=1 Die Bus-Width=32 Size=1024MB ddrconfig:1 OUT

U-Boot SPL 2017.09-rockchip-ayufan-1065-g95f6152134 (Apr 06 2020 - 08:10:17) board_init_sdmmc_pwr_en setup_ddr_param 1 booted from SPI flash Trying to boot from SPI NOTICE: BL31: v1.3(debug):9d3f591 NOTICE: BL31: Built : 14:39:02, Jan 17 2018 NOTICE: BL31:Rockchip release version: v1.3 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 = 0x200000 INFO: SPSR = 0x3c9

U-Boot 2017.09-rockchip-ayufan-1065-g95f6152134 (Apr 06 2020 - 08:10:39 +0000)

Model: Pine64 Rock64 DRAM: 1022 MiB MMC: rksdmmc@ff520000: 0, rksdmmc@ff500000: 1 SF: Detected gd25q128 with page size 256 Bytes, erase size 4 KiB, total 16 MiB *** Warning - bad CRC, using default environment

In: serial@ff130000 Out: serial@ff130000 Err: serial@ff130000 Model: Pine64 Rock64 misc_init_r cpuid=55524b50303930303400000000051421 serial=2b38dacb879c17f Net: eth0: ethernet@ff540000 Hit any key to stop autoboot: 0 Card did not respond to voltage select! mmc_init: -95, time 9 switch to partitions #0, OK mmc1 is current device Scanning mmc 1:1... Found /extlinux/extlinux.conf Retrieving file: /extlinux/extlinux.conf reading /extlinux/extlinux.conf 274 bytes read in 3 ms (88.9 KiB/s) 1: RCADE Retrieving file: /initrd.gz reading /initrd.gz 18471572 bytes read in 811 ms (21.7 MiB/s) Retrieving file: /Image reading /Image 46014472 bytes read in 2016 ms (21.8 MiB/s) append: initrd=/initrd.gz uuid=DEED-BEEF console=ttyS2,1500000n8 ethaddr=ea:77:bd:84:3d:bf eth1addr=ea:77:bd:84:3d:df serial=2b38dacb879c17f cgroup_enable=cpuset cgroup_memory=1 cgroup_enable=memory swapaccount=1 consoleblank=0 Retrieving file: /rk3328-rock64.dtb reading /rk3328-rock64.dtb 76185 bytes read in 7 ms (10.4 MiB/s)

Flattened Device Tree blob at 01f00000

Booting using the fdt blob at 0x1f00000 Loading Ramdisk to 3cd64000, end 3df01a94 ... OK Loading Device Tree to 000000003cd4e000, end 000000003cd63998 ... OK

Starting kernel ...

ERROR: suspend_mode_handler: unhandled sip (0x1) ERROR: suspend_mode_handler: unhandled sip (0x4) [ 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.302-mrfixit (mrfixit2001@mrfixit2001-VB) (gcc version 10.3.1 20210621 (GNU Toolchain for the A-profile Architecture 10.3-2021.07 (arm-10.29)) ) #1 SMP Mon May 22 13:27:44 EDT 2023 [ 0.000000] Boot CPU: AArch64 Processor [410fd034] [ 0.000000] Machine model: Pine64 Rock64 [ 0.000000] cma: Reserved 16 MiB at 0x000000003f000000 [ 0.000000] psci: probing for conduit method from DT. [ 0.000000] psci: PSCIv1.0 detected in firmware. [ 0.000000] psci: Using standard PSCI v0.2 function IDs [ 0.000000] psci: MIGRATE_INFO_TYPE not supported. [ 0.000000] psci: SMC Calling Convention v1.0 [ 0.000000] PERCPU: Embedded 20 pages/cpu @ffff80003ef3f000 s42152 r8192 d31576 u81920 [ 0.000000] Detected VIPT I-cache on CPU0 [ 0.000000] CPU features: enabling workaround for ARM erratum 845719 [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 257544 [ 0.000000] Kernel command line: earlycon=uart8250-32bit,0xff130000 swiotlb=1 kpti=0 coherent_pool=1m no_console_suspend=1 usbcore.autosuspend=-1 initrd=/initrd.gz uuid=DEED-BEEF console=ttyS2,1500000n8 ethaddr=ea:77:bd:84:3d:bf eth1addr=ea:77:bd:84:3d:df serial=2b38dacb879c17f cgroup_enable=cpuset cgroup_memory=1 cgroup_enable=memory swapaccount=1 consoleblank=0 [ 0.000000] PID hash table entries: 4096 (order: 3, 32768 bytes) [ 0.000000] Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes) [ 0.000000] Inode-cache hash table entries: 65536 (order: 7, 524288 bytes) [ 0.000000] Memory: 947304K/1046528K available (24252K kernel code, 3784K rwdata, 7248K rodata, 9600K init, 1028K bss, 82840K reserved, 16384K cma-reserved) [ 0.000000] Virtual kernel memory layout: [ 0.000000] modules : 0xffff000000000000 - 0xffff000008000000 ( 128 MB) [ 0.000000] vmalloc : 0xffff000008000000 - 0xffff7bffbfff0000 (126974 GB) [ 0.000000] .init : 0xffff000009ed0000 - 0xffff00000a830000 ( 9600 KB) [ 0.000000] .text : 0xffff000008000000 - 0xffff0000097b0000 ( 24256 KB) [ 0.000000] .rodata : 0xffff0000097b0000 - 0xffff000009ed0000 ( 7296 KB) [ 0.000000] .data : 0xffff00000a830000 - 0xffff00000abe2008 ( 3785 KB) [ 0.000000] vmemmap : 0xffff7bffc0000000 - 0xffff7fffc0000000 ( 4096 GB maximum) [ 0.000000] 0xffff7bffc0008000 - 0xffff7bffc1000000 ( 15 MB actual) [ 0.000000] fixed : 0xffff7ffffe7fb000 - 0xffff7ffffec00000 ( 4116 KB) [ 0.000000] PCI I/O : 0xffff7ffffee00000 - 0xffff7fffffe00000 ( 16 MB) [ 0.000000] memory : 0xffff800000200000 - 0xffff800040000000 ( 1022 MB) [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1 [ 0.000000] 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.000006] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns [ 0.000978] Console: colour dummy device 80x25 [ 0.001005] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=80000) [ 0.001022] pid_max: default: 32768 minimum: 301 [ 0.001166] Mount-cache hash table entries: 2048 (order: 2, 16384 bytes) [ 0.001180] Mountpoint-cache hash table entries: 2048 (order: 2, 16384 bytes) [ 0.001998] Initializing cgroup subsys io [ 0.002021] Initializing cgroup subsys memory [ 0.002056] Initializing cgroup subsys devices [ 0.002078] Initializing cgroup subsys freezer [ 0.002094] Initializing cgroup subsys net_cls [ 0.002109] Initializing cgroup subsys net_prio [ 0.002163] ftrace: allocating 78650 entries in 308 pages [ 0.239852] sched-energy: CPU device node has no sched-energy-costs [ 0.239875] Invalid sched_group_energy for CPU0 [ 0.239884] CPU0: update cpu_capacity 1024 [ 0.239938] ASID allocator initialised with 32768 entries [ 0.246345] Detected VIPT I-cache on CPU1 [ 0.246404] Invalid sched_group_energy for CPU1 [ 0.246409] CPU1: update cpu_capacity 1024 [ 0.246414] CPU1: Booted secondary processor [410fd034] [ 0.247185] Detected VIPT I-cache on CPU2 [ 0.247231] Invalid sched_group_energy for CPU2 [ 0.247236] CPU2: update cpu_capacity 1024 [ 0.247241] CPU2: Booted secondary processor [410fd034] [ 0.248003] Detected VIPT I-cache on CPU3 [ 0.248049] Invalid sched_group_energy for CPU3 [ 0.248054] CPU3: update cpu_capacity 1024 [ 0.248058] CPU3: Booted secondary processor [410fd034] [ 0.248170] Brought up 4 CPUs [ 0.248226] SMP: Total of 4 processors activated. [ 0.248239] CPU features: kernel page table isolation forced OFF by command line option [ 0.248249] CPU features: detected feature: 32-bit EL0 Support [ 0.248263] CPU: All CPU(s) started at EL2 [ 0.248303] alternatives: patching kernel code [ 0.248544] Invalid sched_group_energy for CPU3 [ 0.248558] Invalid sched_group_energy for Cluster3 [ 0.248567] Invalid sched_group_energy for CPU2 [ 0.248576] Invalid sched_group_energy for Cluster2 [ 0.248584] Invalid sched_group_energy for CPU1 [ 0.248593] Invalid sched_group_energy for Cluster1 [ 0.248602] Invalid sched_group_energy for CPU0 [ 0.248611] Invalid sched_group_energy for Cluster0 [ 0.249237] devtmpfs: initialized [ 0.272420] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 6370867519511994 ns [ 0.272456] futex hash table entries: 1024 (order: 4, 65536 bytes) [ 0.273778] pinctrl core: initialized pinctrl subsystem [ 0.275053] NET: Registered protocol family 16 [ 0.277135] Registered FIQ tty driver [ 0.277856] vdso: 2 pages (1 code @ ffff0000097b6000, 1 data @ ffff00000a834000) [ 0.277890] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers. [ 0.279190] DMA: preallocated 1024 KiB pool for atomic allocations [ 0.586119] mpp venc_srv: mpp_probe enter [ 0.586157] mpp venc_srv: init success [ 0.586858] rockchip-pm rockchip-suspend: not set wakeup-config [ 0.586873] rockchip-pm rockchip-suspend: not set pwm-regulator-config [ 0.589273] vcc_sd: regulator get failed, ret=-517 [ 0.589629] vcc_host_5v: supplied by vcc_sys [ 0.590940] rk_iommu ff350800.iommu: can't get sclk [ 0.591119] iommu: Adding device ff350000.vpu_service to group 1 [ 0.591214] iommu: Adding device ff351000.avsd to group 2 [ 0.591294] iommu: Adding device ff360000.rkvdec to group 3 [ 0.591377] iommu: Adding device ff330000.h265e to group 4 [ 0.591457] iommu: Adding device ff340000.vepu to group 5 [ 0.591551] iommu: Adding device ff370000.vop to group 6 [ 0.591639] iommu: Adding device ff3a0000.iep to group 7 [ 0.592216] rk_iommu ff360480.iommu: can't get sclk [ 0.592507] rk_iommu ff330200.iommu: can't get sclk [ 0.592768] rk_iommu ff340800.iommu: can't get sclk [ 0.592974] rk_iommu ff373f00.iommu: can't get sclk [ 0.593219] rk_iommu ff3a0800.iommu: can't get sclk [ 0.593928] SCSI subsystem initialized [ 0.594302] usbcore: registered new interface driver usbfs [ 0.594379] usbcore: registered new interface driver hub [ 0.594445] usbcore: registered new device driver usb [ 0.594933] media: Linux media interface: v0.10 [ 0.594991] Linux video capture interface: v2.00 [ 0.595198] pps_core: LinuxPPS API ver. 1 registered [ 0.595207] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti giometti@linux.it [ 0.595240] PTP clock support registered [ 0.597254] Advanced Linux Sound Architecture Driver Initialized. [ 0.598170] Bluetooth: Core ver [ 1.091673] Registered IR keymap rc-cec [ 1.092235] rc rc0: RC for dw_hdmi as /devices/platform/ff3c0000.hdmi/rc/rc0 [ 1.093495] input: RC for dw_hdmi as /devices/platform/ff3c0000.hdmi/rc/rc0/input0 [ 1.097690] brd: module loaded [ 1.106008] loop: module loaded [ 1.107178] zram: Added device: zram0 [ 1.107882] lkdtm: No crash points registered, enable through debugfs [ 1.108658] Loading iSCSI transport class v2.0-870. [ 1.110886] rockchip-spi ff190000.spi: no high_speed pinctrl state [ 1.112364] m25p80 spi32766.0: gd25q128 (16384 Kbytes) [ 1.112850] 1 ofpart partitions found on MTD device spi32766.0 [ 1.113367] Creating 1 MTD partitions on "spi32766.0": [ 1.113898] 0x000000008000-0x0000003f8000 : "loader" [ 1.117946] force_sf_dma_mode is ignored if force_thresh_dma_mode is set. [ 1.118689] rk_gmac-dwmac ff540000.ethernet: clock input or output? (input). [ 1.119318] rk_gmac-dwmac ff540000.ethernet: TX delay(0x24). [ 1.119822] rk_gmac-dwmac ff540000.ethernet: RX delay(0x18). [ 1.120333] rk_gmac-dwmac ff540000.ethernet: integrated PHY? (no). [ 1.121094] rk_gmac-dwmac ff540000.ethernet: clock input from PHY [ 1.126647] rk_gmac-dwmac ff540000.ethernet: init for RGMII [ 1.127322] stmmac - user ID: 0x10, Synopsys ID: 0x35 [ 1.127772] Ring mode enabled [ 1.128048] DMA HW capability register supported [ 1.128448] Normal descriptors [ 1.128750] RX Checksum Offload Engine supported (type 2) [ 1.129234] Wake-Up On Lan supported [ 1.129621] Enable RX Mitigation via HW Watchdog Timer [ 1.210257] eth%d: PHY ID 001cc916 at 0 IRQ POLL (stmmac-0:00) active [ 1.210869] eth%d: PHY ID 001cc916 at 1 IRQ POLL (stmmac-0:01) [ 1.212719] Atmel at76x USB Wireless LAN Driver 0.17 loading [ 1.213326] usbcore: registered new interface driver at76c50x-usb [ 1.214007] Broadcom 43xx driver loaded [ Features: PNL ] [ 1.214719] usbcore: registered new interface driver zd1211rw [ 1.215316] usbcore: registered new interface driver rtl8xxxu [ 1.215904] usbcore: registered new interface driver rndis_wlan [ 1.216498] usbcore: registered new interface driver zd1201 [ 1.217090] usbcore: registered new interface driver usb8xxx [ 1.217846] usbcore: registered new interface driver rt2500usb [ 1.218438] usbcore: registered new interface driver rt73usb [ 1.219010] usbcore: registered new interface driver rt2800usb [ 1.219595] usbcore: registered new interface driver mt7601u [ 1.220326] usbcore: registered new interface driver ath6kl_usb [ 1.220935] usbcore: registered new interface driver ar5523 [ 1.221758] usbcore: registered new interface driver mwifiex_usb [ 1.222579] usbcore: registered new interface driver brcmfmac [ 1.223176] usbcore: registered new interface driver catc [ 1.223716] usbcore: registered new interface driver kaweth [ 1.224265] pegasus: v0.9.3 (2013/04/25), Pegasus/Pegasus II USB Ethernet driver [ 1.224987] usbcore: registered new interface driver pegasus [ 1.225552] usbcore: registered new interface driver rtl8150 [ 1.226115] usbcore: registered new interface driver r8152 [ 1.226607] hso: drivers/net/usb/hso.c: Option Wireless [ 1.227203] usbcore: registered new interface driver hso [ 1.227740] usbcore: registered new interface driver lan78xx [ 1.228322] usbcore: registered new interface driver asix [ 1.228864] usbcore: registered new interface driver ax88179_178a [ 1.229465] usbcore: registered new interface driver cdc_ether [ 1.230043] usbcore: registered new interface driver cdc_eem [ 1.230683] usbcore: registered new interface driver dm9601 [ 1.231241] usbcore: registered new interface driver sr9700 [ 1.231816] usbcore: registered new interface driver CoreChips [ 1.232411] usbcore: registered new interface driver smsc75xx [ 1.232996] usbcore: registered new interface driver smsc95xx [ 1.233573] usbcore: registered new interface driver gl620a [ 1.234186] usbcore: registered new interface driver net1080 [ 1.234755] usbcore: registered new interface driver plusb [ 1.235305] usbcore: registered new interface driver rndis_host [ 1.235890] usbcore: registered new interface driver cdc_subset [ 1.236478] usbcore: registered new interface driver zaurus [ 1.237035] usbcore: registered new interface driver MOSCHIP usb-ethernet driver [ 1.237804] usbcore: registered new interface driver int51x1 [ 1.238371] usbcore: registered new interface driver kalmia [ 1.238928] usbcore: registered new interface driver ipheth [ 1.239487] usbcore: registered new interface driver sierra_net [ 1.240075] usbcore: registered new interface driver cx82310_eth [ 1.240717] usbcore: registered new interface driver cdc_ncm [ 1.241284] usbcore: registered new interface driver huawei_cdc_ncm [ 1.241903] usbcore: registered new interface driver lg-vl600 [ 1.242477] usbcore: registered new interface driver qmi_wwan [ 1.243050] usbcore: registered new interface driver cdc_mbim [ 1.243628] usbcore: registered new interface driver ch9200 [ 1.248591] phy phy-ff470000.usb3-phy.3: u3phy u3 power on [ 1.250288] ff580000.usb supply vusb_d not found, using dummy regulator [ 1.250997] ff580000.usb supply vusb_a not found, using dummy regulator [ 1.342351] dwc2 ff580000.usb: DWC OTG Controller [ 1.342806] dwc2 ff580000.usb: new USB bus registered, assigned bus number 1 [ 1.343468] dwc2 ff580000.usb: irq 46, io mem 0xff580000 [ 1.344252] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002 [ 1.344857] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 1.345495] usb usb1: Product: DWC OTG Controller [ 1.345916] usb usb1: Manufacturer: Linux 4.4.302-mrfixit dwc2_hsotg [ 1.346480] usb usb1: SerialNumber: ff580000.usb [ 1.347805] hub 1-0:1.0: USB hub found [ 1.348187] hub 1-0:1.0: 1 port detected [ 1.349742] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 1.350341] ehci-pci: EHCI PCI platform driver [ 1.350928] ehci-platform: EHCI generic platform driver [ 1.354001] ehci-platform ff5c0000.usb: EHCI Host Controller [ 1.354840] ehci-platform ff5c0000.usb: new USB bus registered, assigned bus number 2 [ 1.355856] ehci-platform ff5c0000.usb: irq 47, io mem 0xff5c0000 [ 1.363871] ehci-platform ff5c0000.usb: USB 2.0 started, EHCI 1.00 [ 1.364729] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002 [ 1.365335] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 1.365973] usb usb2: Product: EHCI Host Controller [ 1.366409] usb usb2: Manufacturer: Linux 4.4.302-mrfixit ehci_hcd [ 1.366956] usb usb2: SerialNumber: ff5c0000.usb [ 1.368225] hub 2-0:1.0: USB hub found [ 1.368605] hub 2-0:1.0: 1 port detected [ 1.369601] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver [ 1.370177] ohci-platform: OHCI generic platform driver [ 1.371178] ohci-platform ff5d0000.usb: Generic Platform OHCI controller [ 1.372095] ohci-platform ff5d0000.usb: new USB bus registered, assigned bus number 3 [ 1.373028] ohci-platform ff5d0000.usb: irq 48, io mem 0xff5d0000 [ 1.428082] usb usb3: New USB device found, idVendor=1d6b, idProduct=0001 [ 1.428689] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 1.429328] usb usb3: Product: Generic Platform OHCI controller [ 1.429854] usb usb3: Manufacturer: Linux 4.4.302-mrfixit ohci_hcd [ 1.430404] usb usb3: SerialNumber: ff5d0000.usb [ 1.431661] hub 3-0:1.0: USB hub found [ 1.432043] hub 3-0:1.0: 1 port detected [ 1.433665] xhci-hcd xhci-hcd.4.auto: xHCI Host Controller [ 1.434505] xhci-hcd xhci-hcd.4.auto: new USB bus registered, assigned bus number 4 [ 1.435583] xhci-hcd xhci-hcd.4.auto: hcc params 0x0220fe64 hci version 0x110 quirks 0x00210010 [ 1.436430] xhci-hcd xhci-hcd.4.auto: irq 183, io mem 0xff600000 [ 1.437418] usb usb4: New USB device found, idVendor=1d6b, idProduct=0002 [ 1.438025] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 1.438664] usb usb4: Product: xHCI Host Controller [ 1.439099] usb usb4: Manufacturer: Linux 4.4.302-mrfixit xhci-hcd [ 1.439648] usb usb4: SerialNumber: xhci-hcd.4.auto [ 1.440951] hub 4-0:1.0: USB hub found [ 1.441334] hub 4-0:1.0: 1 port detected [ 1.442160] xhci-hcd xhci-hcd.4.auto: xHCI Host Controller [ 1.442894] xhci-hcd xhci-hcd.4.auto: new USB bus registered, assigned bus number 5 [ 1.443676] usb usb5: We don't know the algorithms for LPM for this host, disabling LPM. [ 1.444577] usb usb5: New USB device found, idVendor=1d6b, idProduct=0003 [ 1.445182] usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 1.445822] usb usb5: Product: xHCI Host Controller [ 1.446257] usb usb5: Manufacturer: Linux 4.4.302-mrfixit xhci-hcd [ 1.446805] usb usb5: SerialNumber: xhci-hcd.4.auto [ 1.448103] hub 5-0:1.0: USB hub found [ 1.448482] hub 5-0:1.0: 1 port detected [ 1.449521] usbcore: registered new interface driver cdc_acm [ 1.450024] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters [ 1.450878] usbcore: registered new interface driver cdc_wdm [ 1.451656] usbcore: registered new interface driver uas [ 1.452316] usbcore: registered new interface driver usb-storage [ 1.452917] usbcore: registered new interface driver ums-alauda [ 1.453521] usbcore: registered new interface driver ums-cypress [ 1.454180] usbcore: registered new interface driver ums-datafab [ 1.454780] usbcore: registered new interface driver ums_eneub6250 [ 1.455394] usbcore: registered new interface driver ums-freecom [ 1.455994] usbcore: registered new interface driver ums-isd200 [ 1.456585] usbcore: registered new interface driver ums-jumpshot [ 1.457236] usbcore: registered new interface driver ums-karma [ 1.457822] usbcore: registered new interface driver ums-onetouch [ 1.458452] usbcore: registered new interface driver ums-realtek [ 1.459053] usbcore: registered new interface driver ums-sddr09 [ 1.459645] usbcore: registered new interface driver ums-sddr55 [ 1.460236] usbcore: registered new interface driver ums-usbat [ 1.460977] usbcore: registered new interface driver usbserial [ 1.461557] usbcore: registered new interface driver usbserial_generic [ 1.462166] usbserial: USB Serial support registered for generic [ 1.462783] usbcore: registered new interface driver ch341 [ 1.463300] usbserial: USB Serial support registered for ch341-uart [ 1.463979] usbcore: registered new interface driver cp210x [ 1.464502] usbserial: USB Serial support registered for cp210x [ 1.465153] usbcore: registered new interface driver ftdi_sio [ 1.465692] usbserial: USB Serial support registered for FTDI USB Serial Device [ 1.466608] usbcore: registered new interface driver keyspan [ 1.467160] usbserial: USB Serial support registered for Keyspan - (without firmware) [ 1.467880] usbserial: USB Serial support registered for Keyspan 1 port adapter [ 1.468552] usbserial: USB Serial support registered for Keyspan 2 port adapter [ 1.469232] usbserial: USB Serial support registered for Keyspan 4 port adapter [ 1.469962] usbcore: registered new interface driver option [ 1.4705 [ 1.512274] LDO_REG2: supplied by vcc_io [ 1.515886] LDO_REG3: supplied by vcc_sys [ 1.519414] rk808 1-0018: register rk8050 regulators [ 1.520247] rk8xx-gpio rk8xx-gpio: register rk8050 gpio successful [ 1.522864] input: rk8xx_pwrkey as /devices/platform/ff160000.i2c/i2c-1/1-0018/input/input2 [ 1.533631] rk808-rtc rk808-rtc: rtc core: registered rk808-rtc as rtc0 [ 1.535114] rk3x-i2c ff160000.i2c: Initialized RK3xxx I2C bus at ffff00000b292000 [ 1.537425] IR NEC protocol handler initialized [ 1.537838] IR RC5(x/sz) protocol handler initialized [ 1.538293] IR RC6 protocol handler initialized [ 1.538702] IR JVC protocol handler initialized [ 1.539111] IR Sony protocol handler initialized [ 1.539527] IR SANYO protocol handler initialized [ 1.539952] IR Sharp protocol handler initialized [ 1.540376] IR MCE Keyboard/mouse protocol handler initialized [ 1.540918] IR XMP protocol handler initialized [ 1.542480] usbcore: registered new interface driver uvcvideo [ 1.542990] USB Video Class driver (1.1.1) [ 1.544726] rockchip-thermal ff250000.tsadc: tsadc is probed successfully! [ 1.546175] Bluetooth: Virtual HCI driver ver 1.5 [ 1.546974] usbcore: registered new interface driver bfusb [ 1.547648] usbcore: registered new interface driver btusb [ 1.548147] rtk_btusb: RTKBT_RELEASE_NAME: 20200318_BT_ANDROID_9.0 [ 1.548694] rtk_btusb: Realtek Bluetooth USB driver module init, version 5.2.1 [ 1.549328] rtk_btusb: Register usb char device interface for BT driver [ 1.550280] usbcore: registered new interface driver rtk_btusb [ 1.550852] Bluetooth: Generic Bluetooth SDIO driver ver 0.1 [ 1.551499] usbcore: registered new interface driver ath3k [ 1.552037] [BCM4359]: Enter bcm4359_init [ 1.553199] cpu cpu0: leakage=13 [ 1.553507] cpu cpu0: leakage-volt-sel=1 [ 1.555641] cpu cpu0: avs=0 [ 1.555958] cpu cpu0: l=-2147483648 h=2147483647 hyst=0 l_limit=0 h_limit=0 [ 1.557754] cpu cpu0: failed to find power_model node [ 1.558764] sdhci: Secure Digital Host Controller Interface driver [ 1.559307] sdhci: Copyright(c) Pierre Ossman [ 1.559693] Synopsys Designware Multimedia Card Interface Driver [ 1.560410] sdhci-pltfm: SDHCI platform and OF driver helper [ 1.561081] dwmmc_rockchip ff520000.dwmmc: IDMAC supports 32-bit address mode. [ 1.561836] dwmmc_rockchip ff520000.dwmmc: Using internal DMA controller. [ 1.562439] leds-gpio: probe of switches failed with error -2 [ 1.562645] ledtrig-cpu: registered to indicate activity on CPUs [ 1.562702] hidraw: raw HID events driver (C) Jiri Kosina [ 1.563970] dwmmc_rockchip ff520000.dwmmc: Version ID is 270a [ 1.564539] dwmmc_rockchip ff520000.dwmmc: DW MMC controller at irq 43,32 bit host data width,256 deep fifo [ 1.566080] usbcore: registered new interface driver usbhid [ 1.566585] usbhid: USB HID core driver [ 1.567292] ashmem: initialized [ 1.570314] usbcore: registered new interface driver snd-usb-audio [ 1.571728] rk3328-codec ff410000.codec: using spk_depop_time value of 200 [ 1.573729] rockchip-i2s ff000000.i2s: failed to find i2s bclk_on [ 1.574863] rockchip-i2s ff010000.i2s: failed to find i2s bclk_on [ 1.576952] u32 classifier [ 1.577258] Netfilter messages via NETLINK v0.30. [ 1.577274] mmc_host mmc0: Bus speed (slot 0) = 400000Hz (slot req 400000Hz, actual 400000HZ div = 0) [ 1.578544] ip_set: protocol 6 [ 1.578950] ip_tables: (C) 2000-2006 Netfilter Core Team [ 1.579456] Initializing XFRM netlink socket [ 1.580336] NET: Registered protocol family 10 [ 1.581565] NET: Registered protocol family 17 [ 1.581979] NET: Registered protocol family 15 [ 1.582397] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this. [ 1.583511] Bridge firewalling registerANALOG [ 1.703936] #2: SPDIF [ 1.704535] dw-apb-uart ff130000.serial: got rx dma channels only [ 1.705255] RAMDISK: Couldn't find valid RAM disk image starting at 0. [ 1.705943] VFS: Cannot open root device "(null)" or unknown-block(0,0): error -6 [ 1.706596] Please append a correct "root=" boot option; here are the available partitions: [ 1.707388] 0100 4096 ram0 (driver?) [ 1.707808] 1f00 4032 mtdblock0 [ 1.707820] mmc_host mmc0: Bus speed (slot 0) = 100000Hz (slot req 100000Hz, actual 100000HZ div = 0)

[ 1.708959] (driver?) [ 1.709188] b300 61071360 mmcblk1 driver: mmcblk [ 1.709660] b301 3379200 mmcblk1p1 deedbeef-01 [ 1.710132] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) [ 1.710855] CPU: 3 PID: 1 Comm: swapper/0 Not tainted 4.4.302-mrfixit #1 [ 1.711441] Hardware name: Pine64 Rock64 (DT) [ 1.711823] Call trace: [ 1.712050] [] dump_backtrace+0x0/0x244 [ 1.712524] [] show_stack+0x28/0x3c [ 1.712970] [] dump_stack+0xa8/0xc8 [ 1.713415] [] panic+0x124/0x260 [ 1.713840] [] mount_block_root+0x1a8/0x22c [ 1.714343] [] mount_root+0x6c/0x78 [ 1.714788] [] prepare_namespace+0x158/0x1a0 [ 1.715301] [] kernel_init_freeable+0x210/0x22c [ 1.715836] [] kernel_init+0x1c/0x104 [ 1.716295] [] ret_from_fork+0x10/0x40 [ 1.716763] CPU2: stopping [ 1.717007] CPU: 2 PID: 0 Comm: swapper/2 Not tainted 4.4.302-mrfixit #1 [ 1.717592] Hardware name: Pine64 Rock64 (DT) [ 1.717974] Call trace: [ 1.718194] [] dump_backtrace+0x0/0x244 [ 1.718669] [] show_stack+0x28/0x3c [ 1.719113] [] dump_stack+0xa8/0xc8 [ 1.719559] [] handle_IPI+0x290/0x2b4 [ 1.720018] [] gic_handle_irq+0xbc/0xc0 [ 1.720492] Exception stack(0xffff80000039bdd0 to 0xffff80000039bf00) [ 1.721056] bdc0: ffff000009fe9000 0000000000000000 [ 1.721738] bde0: 0000800034f7e000 ffff00000a84ef80 0000800034f7e000 00ffffffffffffff [ 1.722422] be00: 00000000139d6959 0000000000150495 ffff800000384630 ffff80000039beb0 [ 1.723106] be20: 0000000000000ad0 0000000000000001 ffff0000097b8740 00000000ffffffff [ 1.723790] be40: ffff00008abeab47 0000000000000030 0000000000000000 0000000000000000 [ 1.724474] be60: 0000000000000006 ffff000009fe9000 ffff00000ab97a78 ffff000009fe9000 [ 1.725158] be80: ffff00000a835b10 0000000000000000 0000000000000002 ffff0000097b79d8 [ 1.725842] bea0: 0000000004ce7000 ffff000009fed000 ffff00000a835b98 ffff80000039bf00 [ 1.726525] bec0: ffff0000080055e4 ffff80000039bf00 ffff0000080055e8 0000000060000045 [ 1.727209] bee0: 0000000000000002 ffff00000a835b10 ffffffffffffffff ffff000008092880 [ 1.727894] [] el1_irq+0xb4/0x140 [ 1.728324] [] arch_cpu_idle+0x44/0x140 [ 1.728800] [] cpuidle_idle_call+0x34/0x90 [ 1.729296] [] cpu_idle_loop+0xa0/0x250 [ 1.729770] [] cpu_startup_entry+0x1c/0x20 [ 1.730267] [] secondary_start_kernel+0x104/0x120 [ 1.730816] [<00000000037a1188>] 0x37a1188 [ 1.731176] CPU1: stopping [ 1.731419] CPU: 1 PID: 0 Comm: swapper/1 Not tainted 4.4.302-mrfixit #1 [ 1.732004] Hardware name: Pine64 Rock64 (DT) [ 1.732385] Call trace: [ 1.732605] [] dump_backtrace+0x0/0x244 [ 1.733080] [] show_stack+0x28/0x3c [ 1.733524] [] dump_stack+0xa8/0xc8 [ 1.733967] [] handle_IPI+0x290/0x2b4 [ 1.734425] [] gic_handle_irq+0xbc/0xc0 [ 1.73 [ 24.250454] Watchdog detected hard LOCKUP on cpu 0 [ 24.250867] ------------[ cut here ]------------ [ 24.251292] WARNING: at kernel/watchdog.c:352 [ 24.251673] Modules linked in: [ 24.251947] [ 24.252085] CPU: 3 PID: 1 Comm: swapper/0 Not tainted 4.4.302-mrfixit #1 [ 24.252669] Hardware name: Pine64 Rock64 (DT) [ 24.253051] task: ffff800000340000 task.stack: ffff80000030c000 [ 24.253572] PC is at watchdog_check_hardlockup_other_cpu+0x11c/0x13c [ 24.254128] LR is at watchdog_check_hardlockup_other_cpu+0x11c/0x13c [ 24.254685] pc : [] lr : [] pstate: 600001c5 [ 24.255329] sp : ffff80003ef7ee00 [ 24.255622] x29: ffff80003ef7ee00 x28: 0000000000000000 [ 24.256094] x27: ffff80003ef80e38 x26: ffff80003ef7ee30 [ 24.256567] x25: ffff80000030fb80 x24: 0000000000000000 [ 24.257039] x23: 0000000000000000 x22: 0000000000000000 [ 24.257511] x21: ffff00000a837ca8 x20: ffff000009fef408 [ 24.257983] x19: ffff000009fef3e8 x18: 0000000000000006 [ 24.258454] x17: 0000000000000007 x16: 000000000000000e [ 24.258926] x15: 0000000000000030 x14: ffff00008abeab47 [ 24.259398] x13: 00000000ffffffff x12: ffff00000abeab4f [ 24.259871] x11: 7fffffffffffffff x10: ffff000009c35480 [ 24.260344] x9 : 0000000000000335 x8 : 4c20647261682064 [ 24.260817] x7 : 6574636574656420 x6 : ffff00000abeab7d [ 24.261288] x5 : 0000000000000000 x4 : 0000000000000000 [ 24.261760] x3 : ffff0000085f2c50 x2 : 0000800034f92000 [ 24.262232] x1 : 0000000000000003 x0 : 0000000000000026 [ 24.262706] [ 24.262706] PC: 0xffff0000080cf050: [ 24.263142] f050 a9425bf5 a8c37bfd d65f03c0 9100a281 f8736843 f8616844 eb04007f 54000120 [ 24.263891] f070 f8216843 9100c294 f8767aa0 3834681f a94153f3 a9425bf5 a8c37bfd d65f03c0 [ 24.264639] f090 9100c294 38746841 34000061 a9425bf5 17ffffd6 f0013b21 b94c9821 340000a1 [ 24.265387] f0b0 2a0003e1 9000e7e0 9102e000 945ab5b8 2a0003e1 9000e7e0 9102e000 945aba45 [ 24.266134] f0d0 d4210000 f8767aa0 52800021 38346801 a9425bf5 17ffffc5 d503201f d503201f [ 24.266882] f0f0 a9be7bfd 910003fd a90153f3 d50320ff aa1e03e0 9000f913 d503201f 910f6273 [ 24.267629] f110 d538d094 97fe1f4b d35efc00 f8346a60 a94153f3 a8c27bfd d65f03c0 d503201f [ 24.268378] f130 a9bb7bfd 910003fd a90153f3 a9025bf5 a90363f7 a9046bf9 d50320ff aa0003f4 [ 24.269128] [ 24.269128] LR: 0xffff0000080cf050: [ 24.269563] f050 a9425bf5 a8c37bfd d65f03c0 9100a281 f8736843 f8616844 eb04007f 54000120 [ 24.270311] f070 f8216843 9100c294 f8767aa0 3834681f a94153f3 a9425bf5 a8c37bfd d65f03c0 [ 24.271058] f090 9100c294 38746841 34000061 a9425bf5 17ffffd6 f0013b21 b94c9821 340000a1 [ 24.271804] f0b0 2a0003e1 9000e7e0 9102e000 945ab5b8 2a0003e1 9000e7e0 9102e000 945aba45 [ 24.272552] f0d0 d4210000 f8767aa0 52800021 38346801 a9425bf5 17ffffc5 d503201f d503201f [ 24.273297] f0f0 a9be7bfd 910003fd a90153f3 d50320ff aa1e03e0 9000f913 d503201f 910f6273 [ 24.274045] f110 d538d094 97fe1f4b d35efc00 f8346a60 a94153f3 a8c27bfd d65f03c0 d503201f [ 24.274793] f130 a9bb7bfd 910003fd a90153f3 a9025bf5 a90363f7 a9046bf9 d50320ff aa0003f4 [ 24.275542] [ 24.275542] SP: 0xffff80003ef7ed80: [ 24.275977] ed80 00000000 00000000 00000000 00000000 00000000 00000000 0030fb80 ffff8000 [ 24.276726] eda0 3ef7ee30 ffff8000 3ef80e38 ffff8000 00000000 00000000 3ef7ee00 ffff8000 [ 24.277472] edc0 080cf0d0 ffff0000 3ef7ee00 ffff8000 080cf0d0 ffff0000 600001c5 00000000 [ 24.278218] ede0 00000000 00000000 0000000f 00000000 00000000 00010000 0000038e 00000000 [ 24.278963] ee00 3ef7ee30 ffff8000 080cf19c ffff0000 09fef3d8 ffff0000 3ef81418 ffff8000 [ 24.279711] ee20 0a836000 ffff0000 0a836c90 ffff0000 3ef7ee80 ffff8000 0809bb5c ffff0000 [ 24.280459] ee40 3ef80d40 ffff8000 3ef81418 ffff8000 3ef80dc0 ffff8000 3ef7eef8 ffff8000 [ 24.281207] ee60 080cf130 ffff0000 3ef80d78 ffff8000 3ef80eb8 ffff8000 3ef80e78 ffff8000 [ 24.281957] [ 24.281957] X3: 0xffff0000085f2bd0: [ 24.282392] 2bd0 a8c47bfd d65f03c0 52807d14 1400000e 97ffed3c f9401662 aa1303e0 52800001 [ 24.283141] 2bf0 d63f0040 d5033e9f 39428660 f9401261 1ac022a0 8b20c020 39000017 71000694 [ 24.283889] 2c10 54fffda0 f9401662 aa1303e0 52800061 d63f0040 2a0003e3 4a160063 aa1303e0 [ 24.284637] 2c30 721a787f 54fffd61 a94153f3 a9425bf5 f9401bf7 a8c47bfd d65f03c0 d503201f [ 24.285385] 2c50 a9bd7bfd 910003fd a90153f3 a9025bf5 d50320ff aa0003f3 2a0103f6 2a0203f5 [ 24.286132] 2c70 aa1e03e0 d503201f d5033e9f 39428660 f9401261 1ac022c0 8b20c020 b9000015 [ 24.286881] 2c90 71000edf 540000a0 a94153f3 a9425bf5 a8c37bfd d65f03c0 52807d14 1400000e [ 24.287628] 2cb0 97ffed08 f9401662 aa1303e0 52800001 d63f0040 d5033e9f 39428660 f9401261 [ 24.288377] [ 24.288377] X6: 0xffff00000abeaafd: [ 24.288813] aafc 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 24.289561] ab1c 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 24.290307] ab3c 00000000 00000001 00000000 30303020 32303330 30333030 61205d37 20633362 [ 24.291056] ab5c 322e3432 37333838 58205d37 30203a36 66666678 30303066 62613030 66616165 [ 24.291803] ab7c 300a3a64 63303830 30643066 70205d3e 74617473 36203a65 30303030 0a356331 [ 24.292551] ab9c 6e6b6e75 2d6e776f 636f6c62 2c30286b 290a2930 2073750a 0a293028 646e756f [ 24.293296] abbc 275d305b 275d300a 6669200a 756f7920 65656e20 68742064 0a2e7369 76202020 [ 24.294044] abdc 6c6c616d 3a20636f 66783020 30666666 30303030 30303038 20303030 7830202d [ 24.294790] abfc 66666666 66666237 66666662 30303030 28202020 39363231 47203437 5b0a2942 [ 24.295539] [ 24.295539] X10: 0xffff000009c35400: [ 24.295981] 5400 72727563 69703e2d 00000064 00000000 5f757063 64616f6c 005d345b 00000000 [ 24.296730] 5420 5f646c79 6e756f63 00000074 00000000 5f677661 656c6469 00000000 00000000 [ 24.297477] 5440 732e6573 69746174 63697473 6f692e73 74696177 6d75735f 00000000 00000000 [ 24.298224] 5460 616c6528 64657370 2e642520 64333025 63657320 73646e6f 00002029 00000000 [ 24.298971] 5480 6c35255b 30252e75 5d756c36 00000020 73253601 736e6f63 20656c6f 2573255b [ 24.299717] 54a0 64205d64 62617369 0a64656c 00000000 20717269 202c6425 63736564 7025203a [ 24.300466] 54c0 6564202c 3a687470 2c642520 756f6320 203a746e 202c6425 61686e75 656c646e [ 24.301215] 54e0 25203a64 00000a64 6f727265 76203a72 25717269 73692069 746f6e20 6c6c6120 [ 24.301959] [ 24.301959] X12: 0xffff00000abeaacf: [ 24.302402] aacc 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 24.303148] aaec 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 24.303896] ab0c 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 24.304643] ab2c 00000000 00000000 00000000 00000000 00000000 00000001 00000000 30303020 [ 24.305389] ab4c 332e3432 38333532 61205d39 20633462 332e3432 35393130 58205d39 203a3231 [ 24.306136] ab6c 66667830 30306666 61303030 61616562 0a3a6663 63303830 30643066 70205d3e [ 24.306884] ab8c 74617473 36203a65 30303030 0a356331 6e6b6e75 2d6e776f 636f6c62 2c30286b [ 24.307633] abac 290a2930 2073750a 0a293028 646e756f 275d305b 275d300a 6669200a 756f7920 [ 24.308379] abcc 65656e20 68742064 0a2e7369 76202020 6c6c616d 3a20636f 66783020 30666666 [ 24.309130] [ 24.309130] X14: 0xffff00008abeaac7: [ 24.309573] aac4 **** **** **** **** **** **** **** **** [ 24.310324] aae4 **** **** **** **** **** **** **** **** [ 24.311071] ab04 **** **** **** **** **** **** **** **** [ 24.311819] ab24 **** **** **** **** **** **** **** **** [ 24.312566] ab44 **** **** **** **** **** **** **** **** [ 24.313313] ab64 **** **** **** **** **** **** **** **** [ 24.314061] ab84 **** **** **** **** **** **** **** **** [ 24.314808] aba4 **** ****

retro-center commented 1 year ago

Thank you for the issue report and the details! Great job on getting all the info needed to diagnose. So the uart shows that you're not using the r-cade uboot? It's booting using an old uboot SPL from ayufan. What OS do you have on the eMMC and can you please remove that chip and try to boot a fresh flash of R-Cade? Or maybe you've flashed a uboot to the SPI? If so, please wipe that so that the rcade uboot is used to properly bring up the board.

mikerocklewitz commented 1 year ago

Thank you for the issue report and the details! Great job on getting all the info needed to diagnose. So the uart shows that you're not using the r-cade uboot? It's booting using an old uboot SPL from ayufan. What OS do you have on the eMMC and can you please remove that chip and try to boot a fresh flash of R-Cade? Or maybe you've flashed a uboot to the SPI? If so, please wipe that so that the rcade uboot is used to properly bring up the board.

No emmc. Just uboot on spi flash.

Ill try nuking spi uboot and see I'd that fixes it. Technically it shouldn't matter because it's just passing over to microsd

retro-center commented 1 year ago

@mikerocklewitz just wanted to follow up and see how the bootup went without the ayufan uboot on spi?

mikerocklewitz commented 1 year ago

@mikerocklewitz just wanted to follow up and see how the bootup went without the ayufan uboot on spi?

I desoldered the spi flash chip to drop into my tl866ii or ezp2023 to wipe it. Board boots fine now. So obviously whatever uboot was residing in the spi flash was interfering.

Thanks!