Giter Site home page Giter Site logo

rockmyy64's Introduction

About

WIP

Usage

Install a aarch64 cross-compiling toolset and then invoke GetPatchAndCompileKernel.sh.

The kernel configuration system used can be controlled with the variable MAKE_CONFIG, like this :

MAKE_CONFIG=menuconfig bash GetPatchAndCompileKernel.sh

rockmyy64's People

Contributors

miouyouyou avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

prashant87

rockmyy64's Issues

Bad USB3 node definition

While the USB3 has a keyboard plugged_in and it's working fine, there are still a few errors popping here and there in the logs :

[   13.095904] dwc3 fe800000.dwc3: Failed to get clk 'ref': -2
[   13.165394] dwc3 fe800000.dwc3: failed to initialize core 

I guess I should take a look at the others Rockchip RK3399 repositories... See if something didn't fix this bug already.

No ethernet

It seems to be due to not defining a "regulator" in the DTS node.

[   13.483273] rk_gmac-dwmac fe300000.ethernet: PTP uses main clock
[   13.483345] rk_gmac-dwmac fe300000.ethernet: no regulator found
[   13.484047] rk_gmac-dwmac fe300000.ethernet: clock input or output? (input).
[   13.484072] rk_gmac-dwmac fe300000.ethernet: TX delay(0x28).
[   13.484087] rk_gmac-dwmac fe300000.ethernet: RX delay(0x11).
[   13.484111] rk_gmac-dwmac fe300000.ethernet: integrated PHY? (no).
[   13.484185] rk_gmac-dwmac fe300000.ethernet: clock input from PHY
[   13.489250] rk_gmac-dwmac fe300000.ethernet: init for RGMII
[   13.489284] rk_gmac-dwmac fe300000.ethernet: no regulator found
[   13.501244] rk_gmac-dwmac: probe of fe300000.ethernet failed with error -1

Slow Video output

X11 takes its time to start and I suspect an issue similar to Miouyouyou/RockMyy#4 without the trace this time...

But it might be something completely different, since there are issues with almost half of the system nodes definitions.

The entire dmesg taken from the serial console is kind of garbled due to bad serial console configuration in my current installation.

[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[    0.000000] Linux version 4.18.0-rc2-RockMyy-181818 (gamer@Miouyouyou) (gcc version 7.3.0 (Gentoo 7.3.0-r3 p1.4)) #5 SMP PREEMPT Sun Jul 1 00:49:47 CEST 2018
[    0.000000] Machine model: FriendlyElec NanoPC-T4
[    0.000000] earlycon: uart8250 at MMIO32 0x00000000ff1a0000 (options '')
[    0.000000] bootconsole [uart8250] enabled
[    0.000000] efi: Getting EFI parameters from FDT:
[    0.000000] efi: UEFI not found.
[    0.000000] cma: Reserved 32 MiB at 0x00000000f6000000
[    0.000000] NUMA: No NUMA configuration found
[    0.000000] NUMA: Faking a node at [mem 0x0000000000000000-0x00000000f7ffffff]
[    0.000000] NUMA: NODE_DATA [mem 0xf5fa9ec0-0xf5fab67f]
[    0.000000] Zone ranges:
[    0.000000]   DMA32    [mem 0x0000000000200000-0x00000000f7ffffff]
[    0.000000]   Normal   empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000200000-0x00000000f7ffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000200000-0x00000000f7ffffff]
[    0.000000] On node 0 totalpages: 1015296
[    0.000000]   DMA32 zone: 15864 pages used for memmap
[    0.000000]   DMA32 zone: 0 pages reserved
[    0.000000]   DMA32 zone: 1015296 pages, LIFO batch:31
[    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] random: get_random_bytes called from start_kernel+0xa8/0x418 with crng_init=0
[    0.000000] percpu: Embedded 23 pages/cpu @(____ptrval____) s56280 r8192 d29736 u94208
[    0.000000] pcpu-alloc: s56280 r8192 d29736 u94208 alloc=23*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3 [0] 4 [0] 5 
[    0.000000] Detected VIPT I-cache on CPU0
[    0.000000] CPU features: detected: Kernel page table isolation (KPTI)
[    0.000000] CPU features: enabling workaround for ARM erratum 845719
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 999432
[    0.000000] Policy zone: DMA32
[    0.000000] Kernel command line: root=UUID=0f0b77b2-0885-4e38-b72c-71f42200ec6e rootwait rootfstype=ext4  earlycon=uart8250,mmio32,0xff1a0000 console=ttyS2,1500000 panic=10 consoleblank=0 loglevel=4 ubootpart=c9d5d584-01 usb-storage.quirks=0x2537:0x1066:u,0x2537:0x1068:u   cgroup_enable=cpuset cgroup_memory=1 cgroup_enable=memory swapaccount=1
[    0.000000] Memory: 3937860K/4061184K available (11004K kernel code, 1344K rwdata, 5004K rodata, 1280K init, 385K bss, 90556K reserved, 32768K cma-reserved)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=6, Nodes=1
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000]  RCU  efrom NR_CPUS=64 to nr_cpu_ids=6.
[    0.000000]  Tasds.
[    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=6
[    0.000000] NQS: 64, nr_irqs: 64, preallocated irqs: 0
[    0.000000] GICv3: GIC: Using split EOI/Deactivate mode
3   0.000000] GICv3: Distributor has no Range Selector support
[    0.000000] GICv3: no VLPI su,p no direct LPI support
[    0.000000] ITS [mem 0xfee20000-0xfee3ffff]
[    0.000000] ITS@0x00000000fe020: allocated 6553p sz 64K, shr 0)
[    0.000000] ITS: using ca hcmd queue
[    0.000000] GIC: using LPI property table @0x00000000f1440000
[    0.000000] ITS: Allocated 1792 chunks for LPIs
[    0.000000] GICv3: CPU0: found redistributor 0 region 0:0x00000000fef00000
[    0.000000] CPU0: using LPI pending table @0x00000000f1450000
[    0.000000] GIC: using cache flushing for LPI property table
[    0.000000] GICv3: GIC: PPI partition interrupt-partition-0[0] { /cpus/cpu@0[0] /cpus/cpu@1[1] /cpus/cpu@2[2] /cpus/cpu@3[3] }
[    0.000000] GICv3: GIC: PPI partition interrupt-partition-1[1] { /cpus/cpu@100[4] /cpus/cpu@101[5] }
[    0.000000] rockchip_mmc_get_phase: invalid clk rate
[    0.000000] rockchip_mmc_get_phase: invalid clk rate
[    0.000000] rockchip_mmc_get_phase: invalid clk rate
[    0.000000] rockchip_mmc_get_phase: invalid clk rate
[    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.000009] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[    0.002773] Console: colour dummy device 80x25
[    0.002877] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=24000)
[    0.002895] pid_max: default: 32768 minimum: 301
[    0.003059] Security Framework initialized
[    0.006186] Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes)
[    0.007741] Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes)
[    0.007856] Mount-cache hash table entries: 8192 (order: 4, 65536 bytes)
[    0.007911] Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes)
[    0.015945] ASID allocator initialised with 32768 entries
[    0.016945] Hierarchical SRCU implementation.
[    0.018086] Platform MSI: interrupt-controller@fee20000 domain created
[    0.018571] PCI/MSI: /interrupt-controller@fee00000/interrupt-controller@fee20000 domain created
[    0.026205] EFI services will not be available.
[    0.027073] smp: Bringing up secondary CPUs ...
[    0.032283] Detected VIPT I-cache on CPU1
.32390] CPU1: using LPI pending table @0x00000000f0840000fef20000
[    0.032448] CPU1: Booted secondar  0x0000000001 [0x410fd034]
[    0.037362] Detected VIPT I-cache on CPU2
[    0.037403] GICv3: CPU2n d redistributor 2 region 0:0x00000000fef40000
[    0.037458] CPU2: using LPI pending table @0x00000000f0860[032m[    0.037502] CPU2: Booted secondary processor 0x0000000002 [0x410fd034]
[    0.042462] Detected VI TI-cache on CPU3
[   U03: found redistributor 3 region 0:0x00000000fef60000
[  [ 0mCPU3: using LPI pending table @0x00000000f08a0000
[    0.042597] CPU3: Booted secondary processo0 x0000000003 [0x410fd034]
[    0.050244] CPU features: enabling workaround for EL2 vector hardening
[ 5 0615] Detected PIPT I-cache on CPU4
[    0.051864] GICv3: CPU4: found redistributor 100 region 0:0x0000f080000
[    0.054395] CPU4: using LPI pending table @0x00000000f08d0000
[    0.055621] CPU4mted secondary processor 0x0000000100 [mx[    0.070008] Detected PIPT I-cache on CPU5
[    0.37mGICv3: CPU5: found redistributor 101 region 0:0x00000000fefa0000
[    0.073795] CPU5: using LPI pending table @0x00000000f0900000
[    0.074921] CPU5: Booted secondary processor 0x0000000101 [0x410fd082]
[    0.081002] smp: Brought up 1 node, 6 CPUs
[    0.081045] SMP: Total of 6 processors activated.
[    0.081064] CPU features: detected: GIC system register CPU interface
[    0.081078] CPU features: detected: 32-bit EL0 Support
[    0.175112] CPU: All CPU(s) started at EL2
[    0.175623] alternatives: patching kernel code
[    0.182255] devtmpfs: initialized
[    0.207603] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1911260446275000 ns
[    0.207785] futex hash table entries: 2048 (order: 5, 131072 bytes)
[    0.211324] pinctrl core: initialized pinctrl subsystem
[    0.215563] DMI not present or invalid.
[    0.217212] [   49.542913] iio iio:device0: failed to get voltage
NET: Registered protocol family 16
[    0.221463] audit: initializing netlink subsys (disabled)
[    0.222028] audit: type=2000 audit(0.201:1): state=initialized audit_enabled=0 res=1
[    0.230675] cpuidle: using governor menu
[    0.232203] vdso: 2 pages (1 code @ (____ptrval____), 1 data @ (____ptrval____))
[    0.232408] hw-breakpoint: founp oint registers.
[    0.256700] DMA: prealloBa pool for atomic allocations
[    0.261722] Serial: AMBA PL011 UART driver
[    0.375843] HugeTLBtrered 2.00 MiB page size, pre-allocated 0 pages
[    0.378297] cryptd: max_cpu_qlen set to 1000
[    073] ACPI: Interpreter disabled.
[    0.387452] vgaarb: loaded
[    0.388329] SCSI subsisnitialized
[    0.389411] meflate compression loaded.
     1.098197] Key type asymmetrid new intedfriver usbfs
[[    1.098248] Asymmetric key parser 'x509' registered
[    1.099070] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 245)
[    1.099102] io scheduler noop registered1 registered
[    1.099109] io scheduler deadline registeredCopyright 2005-2007 Rodolfo Giometti <[email protected]>
[    1.099720] io scheduler cfq registered (default)
[    1.099730] io scheduler mq-deadline gistered
[    1.099737] io scheduler kyber registerede Driver Initialized.
[    1.155401] EINJ: ACPI disabled.d to clocksource arch_sys_counter
[    1.183192] lmer: Loaded driver for PL330 DMAC-241330ache hash table entries: 5 24096 bytes)
[    1.18335d]ma-pl330 ff6d0000.dma-controller:                                                                                                                                   DBUFF-32x8bytes Num_Chans-6 Num_Peri-12 Num_Events-12
[    1.189138] dma-pl330 ff6e0000.dma-controller: Loaded driver for PL330 DMAC-241330es)
[    1.189230] dma-pl330 ff6e0000.dma-controller: 68 (order: 6, 262144 bytes)                                                                                                     DBUFF-128x8bytes Num_Chans-8 Num_Peri-20 Num_Events-16der: 7, 524288 bytes)
[    1.212373] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled68)
[    1.219297] ff180000.serial: ttyS0 at MMIO 0xff180000 (irq = 39, base_baud = 1500000) is a 16550A
[    1.]2 ff1a0000.serial: ttyS2 at MMIO 0xff1a0000 (irq =d4 = 1500000) is a 16550A
[    1.222479] console [ttyS2] enabledl family 1
[    1.222498] bootconsole [uart8250] disabledet transport module.
[    1.227059] SuperH (H)SCI(F) driver initializede.
m[    1.233002] iommu: Adding device ff8f0000.vop to group 0
[    1.233239] rockchip-vop ff8f0000.po: Linked as a consumer to ff8f3f00.iommu
[    1.234457] iommu: Adding device ff900000.vop to group 1
[    1.234672o p: Linked as a consumer to ff903f00.iommu
[    1.239[0mrockchip-drm display-subsystem: Linked as a consumer to ff8f0000.vop
[    1.239802] rockchip-drm display-subsystem: Linked as a consumer to ff900000.voph armv8_cortex_a53 PMU driver, 7 counters available
[    1.240763] rockchip-drm display-subsystem: Linked as a consumer to ff940000.hdmivailable
[    1.245559] rockchip-drm display-subsystem: bound ff8f0000.vop (ops vop_component_ops)
[    1.247848] rockchip-drm display-subsystem: bound ff900000.vop (ops vop_component_ops)
m    1.247971] rockchip-drm dis0lm: failed to bind ff940000.hdmi (ops dw_hdmi_rockchip_opsm:[    1.249523] rockchip-drm display-subsystem: master bind failed: -517
[    1.250677] cacheinfom: Unable to detect cache hierarchy for CPU 0
[    1.269883] 3 xhci-hcd.0.auto: new USB bus registered, assigned bus number 4 keyrings
[    1.423865] xhci-hcd xhci-hcd.0.auto: Host supports USB 3.0  Super2p4011] usb usb4: We don't know the algorithms for iPs host, disabling LPM.
[    1.425474] hub 4-0:1.0: USB hub foundice driver, 1.6Lougher
[    1.425563] hub 4-0:1.00port detectedesolver key type
[    1.427519] usbcore: registered new interface driver usb-storage
[    1.441403] v2 entries drivery registered
[    1.454774] rk808 0-001b: chip id: 0x0le Layout Driver Registering...
[    1.492409] sdhci: Secure D gHost Controller Interface driver
[    1.492562] sdhci: Copyright(c) Pierre Ossmantwork Driver - version 5.4.0-k
[    1.494054] Synopsys Designware Multimedia Car   1.499117] dwmmc_rockchip fe310000.dwmmc: IDMAC sipt address mode.
[    1.502888] dwmmc_rockchip fe310000.dwmmc: Using internal DMA controller.ion 2.4.0-k
[    1.5 2dwmmc_rockchip fe310000.dwmmc: Version ID is 270aration.
[    1.503256] dwmmc_rockchip fe310000.dwmmcc ontroller at irq 28,32 bit host data width,256 deep fifo
[    1.503552] dwmmc_rockchip fe310000.dwmmc: allomac-pwrseq
[    1.503568] mmc_host mmc0: card is non-removable.
[    1.517335] mmc_host mmc0: Bus speed (slot 0) = 400000Hz 0s0000HZ div = 0)
[    1.547884] dwmmc_rockchip f[0m: IDMAC supports 32-bit address mode.
[    1.549777] dwmmc_rockchip fe320000.dwmmc: Using internal DMA clnler.r
[    1.549811] dwmmc_rockchip fe320000.dwmmc: Version ID is 270a
[    1.550027] dwmmc_rpc fe320000.dwmmc: DW MMC controller at irq 29,32 bit host data width,256 deep fifo
[    1.562735] mmc_host mmc: Bus speed (slot 0) = 400000Hz (slot req 400000Hz, actual 400000HZ div = 0)
[mmmc0: queuing unknown CIS tuple 0x80 (3 bytes)0  1.569589] mmc0: queuing unknown CIS tuple 0x80 (3 bytes)
[    1.572583] mmc0: quuunknown CIS tuple 0x80 (7 bytes)c0000
[    1.579036] sdhci-pltfm: SDHCI platform and OF driver helperI 1.00
[. 586010] mmc2: CQHCI version 5.10nd
[    1.609463] random: fast init donetected
[    1.614133] mmmc2: SDHCI controller on fe330000.sdhci [fe330000.sdhci] using ADMA
[    1.615783] mmc_host mmc1: Bus speed (slot 0) = 50000000Hz (slot riio iio:device0: failed to get voltage
, actual 50000000HZ di2 m[    1.615919] mmc1: new high speed SDHC card at address 1234
[    1.618569] mmcblk1: mmc1:1224G 28.9 GiB river
[    1.631531]  mmcblk1: p1m fe3ee0ric Platform OHCI controller                                                                                                                    
[    1.636376] ledtrig-cpu: registered to indicaaectivity on CPUs, assigned bue r 2
[    1.642141] usbcore: registered new interface driver usbhid3e0000
[    1.642230] usbhid: USB HID core driver
[    1.648228] mmc_host mmc0: Bus speed (slot 0) = 148500000Hz (slot req 150000000Hz, actual 148500000HZ div = 6)72089] NET: Registered protocol family 17
[m 9pnet: Installing 9P2000 supportS driver
[    1.672971] Key type dns_resolver registeredost Controller
[    1.673021] mmc2: mmc_select_hs400es failed, error -110ber 3
[    1.673642] mmc2: error -110 whilst initsaing MMC cardi version 0x110 quirks 0x0000000002010010
[    1.675877] registered taskstats version 1224, io mem 0xfe900000
[    1.675891] Loading compiled-in X.509 certificates
[    1.694072] zswap: default zpool zbud not available
[    1.694714] zswap: pool creation famlUnable to create integrity sysfs dir: -19
3033] mmc2: mmc_select_hs400es failed, error -110
[    1.752799] mmc2: error -110tw initialising MMC card
[    1.764303] rockchip-drm display-subsystem: bound ff8f0000.vop (ops vop_compooeps)
[    1.766830] rockchip-drm display-subsystem: bound ff900000.vop (ops vop_component_ops)
[    1.]6 dwhdmi-rockchip ff940000.hdmi: Detected HDMI TX controller v2.11a with HDCP (DWC HDMI 2.0 TX PHY)
[    1.7[0mrockchip-drm display-subsystem0[00.hdmi (ops dw_hdmi_rockchip_ops)
[    1.771889] [dnmk timestamp caching Rev 2 (21.10.2013).
[    1.771895] [drm] No driver support for vblank timestamp query.
[  7 9459] usb 3-1: new full-speed USB device number 2 using xhci-hcd
[    1.809307] dwmmc_rockchip fe3.0dwmmc: Successfully tuned phase to 215
[    1.815027] mmc0: new ultra high speed SDR104 SDIO card at ad0r001
[    1.846546] mmc2: mmc_select_hs400es failed, error -110
[    1.846593] mmc20: error -110 whilst i i  1.951724] Console: switching to colour frame bu2f40x67
[    1.982897] mmc2: Command Queue Engine enabled
[    1.983028] mmc2: new HS400 Enhanced strobe MMC card at address 0001
[    1.983554] input: Gaming KB  Gaming KB  as /devices/platform/usb@9e00000/fe900000.dwc3/xhci-hcd.0.auto/usb3/3-1/3-1:1.0/0003:258A:1006.0001/input/input0
[    1.984263] mmcblk2:c2:0001 AJNB4R 14.6 GiB 
[    1.984809] mmcblk2boot0: mmc2:0001 AJNB4R partition 1 4.00 MiB
[    1.985728] mmcblk2boot1: mmc2:00t1ition 2 4.00 MiB
[    1.986972] mmcblk2rpmb1  AJNB4R partition 3 4.00 MiB, chardev (240:0)
[    2.033291] rockchip-drm display-subsystem: fb0:  frame bu fdevice
[    2.034681] [drm] Initialized rockchip 1.0.0 20140818 for display-subsystem on minor 0
[    2.037167] dwc3 fe800000.dwc3: Failed to get clk 'ref': -2
[    2.037262] hid-generic 0003:258A:10060001: input: USB HID v1.11 Keyboard [Gaming KB  Gaming KB ] on usb-xhci-hcd.0.auto-1/input0
[    2.041797] dwc3 fe800000.dwc3[32m[    2.045780] input: Gaming KB  Gaming KB  Sls as /devices/platform/usb@fe900000/fe900000.dwc3/xhci-hcd.0.auto/usb3/3-1/3-1:1.1/0003:258A:1006.0002/input/input1
[    7.381] dwc3 fe800000.dwc3: Failed to get clk 'ref': -2
[    2.060082] dwc3 fe800000.dwc3: failed to initialize core                                                                                                                       
[    2.066013] input: gpio-keys as /devices/platform/gpio-keys/input/input6
[    2.098654] input: Gaming KB  Gaming KB  Consumer Control as /devices/platform/usb@fe900000/fe900000.dwc3/xhci-hcd.0.auto/usb3/3-1/3-1:1.1/0003:258A:1006.0002/input/input2
[    2.100625] input: Gaming KB  Gaming KB  Keyboard as /devices/platform/usb@fe900000/fe900000.dwc3/xhci-hcd.0.auto/usb3/3-1/3-1:1.1/0003:258A:1006.0002/input/input3
[    2.101188] hctosys: unable to open rtc device (rtc0)
[    2.101868] input: Gaming KB  Gaming KB  Keyboard as /devices/platform/usb@fe900000/fe900000.dwc3/xhci-hcd.0.auto/usb3/3-1/3-1:1.1/0003:258A:1006.0002/input/input4
[    2.104682] input: Gaming KB  Gaming KB  Keyboard as /devices/platform/usb@fe900000/fe900000.dwc3/xhci-hcd.0.auto/usb3/3-1/3-1:1.1/0003:258A:1006.0002/input/input5
[    2.105014] ALSA device list:
[    2.105024]   No soundcards found.
[    2.105595] hid-generic 0003:258A:1006.0002: input: USB HID v1.11 Keyboard [Gaming KB  Gaming KB ] on usb-xhci-hcd.0.auto-1/input1
[    2.106504] ttyS2 - failed to request DMA
[    2.108353] Freeing unused kernel memory: 1280K
[    2.118682] dwc3 fe800000.dwc3: Failed to get clk 'ref': -2
[    2.125852] dwc3 fe800000.dwc3: failed to initialize core                                                                                                                       
[    2.459947] random: udevadm: uninitialized urandom read (16 bytes read)
[    2.460613] random: udevadm: uninitialized urandom read (16 bytes read)
[    2.460701] random: udevadm: uninitialized urandom read (16 bytes read)
     4.825548] EXT4-fs (mmcblk1p1): mounted filesystem with writebac
 [    5.777467] systemd[1]: System time befoveancing clock.
[    6.938535] hrtimer: interrupt took 2857000 ns
[    6.950253] NETmistered protocol family 10
[    6.953666] Segment Routing with IPv6
[    7.128719] systemd[1]: sy2t32 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ++SECCOMP +BLKID +ELFUTILS +KMOD +IDN)
[    7.130526] systemd[1]: Detected architecture arm64.
[    7.20070] systemd[1]: S3t2m[    8.187819] systemd[1]: Listening on Journal/Slog).
[    8.195313] systemd[1]: Created slice System Slice.
[    8.200434] systemd[1]: erd slice system-getty.slice.
[    8.203827] systemd[1]: Reached target Remote File Systems.
[    8.209]1 systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point.
[    8.213258]systemd[1]: Listening on Journal Socket.
[    8.328388] systemd[1]: Starting Restore / save the curoeck...
[    8.849103] 
[0m: re-mounted. Opts: commit=600,errors=remount-ro
[   A9dding 131068k swap on /var/swap.  Priority:-2 extents:2 across:163836k SSFS
[   12.203571] systemd[1]: Started Journal Service.
[   12.339226] systemd-journald[1869]: Received request to flush runtime journal from PID 1
[   13.095904] dwc3 fe800000.dwc3: Failed to get clk 'ref': -2
[   13.165394] dwc3 fe800000.dwc3: failed to initialize core                                                                                                                       
[   13.186936] input: adc-keys as /devices/platform/adc-keys/input/input7
[   13.194765] iio iio:device0: failed to get voltage
[   13.206355] dwc3 fe800000.dwc3: Failed to get clk 'ref': -2                                                                                                                     
[   13.215156] dwc3 fe800000.dwc3: failed to initialize core                                                                                                                       
[   13.298920] rk808-rtc rk808-rtc: registered as rtc0
[   13.302894] iio iio:device0: failed to get voltage
[   13.307206] dwc3 fe800000.dwc3: Failed to get clk 'ref': -2                                                                                                                     
[   13.359910] dwc3 fe800000.dwc3: failed to initialize core                                                                                                                       
[   13.383526] dwc3 fe800000.dwc3: Failed to get clk 'ref': -2                                                                                                                     
[   13.408060] iio iio:device0: failed to get voltage                                                                                                                              
[   13.442143] dwc3 fe800000.dwc3: failed to initialize core                                                                                                                       
[   13.461280] rockchip-pcie f8000000.pcie: no vpcie12v regulator found
[   13.461322] rockchip-pcie f8000000.pcie: no vpcie3v3 regulator found
[   13.461333] rockchip-pcie c8ie1v8 regulator found
[   13.461343] rockchip-p.ipcie: no vpcie0v9 regulator found
[   13.483273] rk_gmac-dwmac fe300000.ethernet: PTP uses main clock
[   13.483345] rk_gmac-dwmac fe300000.ethernet: no regulator found
[   13.484047] rk_gmac-dwmac fe300000.ethernet: clock input or output? (input).
[   13.484072] rk_gmac-dwmac fe300000.ethernet: TX delay(0x28).
[   13.484087] rk_gmac-dwmac fe300000.ethernet: RX delay(0x11).
[   13.484111] rk_gmac-dwmac fe300000.ethernet: integrated PHY? (no).
[   13.484185] rk_gmac-dwmac fe300000.ethernet: clock input from PHY
[   13.489250] rk_gmac-dwmac fe300000.ethernet: init for RGMII
[   13.489284] rk_gmac-dwmac fe300000.ethernet: no regulator found
[   13.501244] rk_gmac-dwmac: probe of fe300000.ethernet failed with error -1
[   13.510730] iio iio:device0: failed to get voltage
[   13.614887] iio iio:device0: failed to get voltage                                                                                                                              
[   13.718817] 3[miio iio:device0: failed to get voltage                                                                                                                           
[   13.823902] iio iio:device0: failed to get vol[0m[   13.927854] iio iio:device0: failed to get voltage                                                                          
[   13.972813] rockchip-pcie f8000000.pcie: PCIe link training gen1 timeout!                                                                                                       
[   13.974342] rockchip-pcie: probe of f8000000.pcie failed with error -110
[   13.978273] dwc3 fe800000.dwc3: Failed to get clk 'ref': -2
0[: failed to get voltage                                                                                                                                                          
[   14.050905] 8[00000.dwc3: failed to initialize core                                                                                                                             
[   14.136336] iio iio:device0: failed to get volta0em[   14.240624] iio iio:device0: failed to get voltage                                                                        
[   14.343720] iio iio:device[1m: failed to get voltage
[   14.447438] iio iio:device0: failed to get voltage
[   14.]5 iio iio:device0: failed to get voltage                                                                                                                                   
[   14.655951] iio iio:device0: failed to ltage                                                                                                                                    
[   14.759877] iio iio[0m: failed to get voltage                                                                                                                                   
[   14.864620] iio iio:device0: failed to get voltage                                                                                                                              
[   14.966899] iio iio:device0: failed to get voltage                                                                                                                              
[   15.071935] iio iio:device0: failed to get voltage                                                                                                                              
[   15.128942] mali ff9a0000.gpu: GPU identified as 0x0860 r2p0 status 0
[   15.132794] mali ff9a0000.gpu: Protected mode not available
[   15.174753] iio iio:device0: failed to get voltage
[   15.181380] mali ff9a0000.gpu: Prmb[   15.279114] iio iio:device0: failed to get voltage                                                                                        
[   15.382948] iio iio:device0: failed to get voltage                                                                                                                              
[   15.487369] iio iio:device0: failed to get voltage                                                                                                                              
[   15.591013] iio iio:device0: failed to get voltage                                                                                                                              
[   15.694833] iio iio:device0: failed to get voltage                                                                                                                              
[   15.799791] iio iio:device0: failed to get voltage                                                                                                                              
[   15.858070] cfg80211: Loading compiled-in X.509 certificates for reguaatabase
[   15.902612] iio iio:device0:lftage
[   15.905901] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[   15.985135] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[   15.985191] cfg80211: failed to load regulatory.db
[   16.008860] iio iio:device0: failed to get voltage
[   16.111868] iio iio:device0: failed to get voltage                                                                                                                              
[   16.214724] iio iio:device0: fail dvoltage                                                                                                                                      
[   16.318854] iio iio:device0: failed to get voltage                                                                                                                              
[   16.340220] dw030000.dwc3: Failed to get clk 'ref': -2    

Segmentation fault when save output to file

hello,

i have run this with ffmpeg:
./ffmpeg -hwaccel drm -i 4K-Chimei-inn-60mbps.mp4 -f null -
and all is ok, the result of fps is:
frame= 1259 fps=113 q=-0.0 Lsize=N/A time=00:00:42.04 bitrate=N/A speed=3.78x

but when i want to save data to output file with command:
./ffmpeg -hwaccel drm -i 4K-Chimei-inn-60mbps.mp4 -f null - out_vpu.mp4
This time it failed and found “Segmentation fault (core dumped)“

Is this what is the reason?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.