您尚未登录。

#5 Re: 全志 SOC » F1C100S使用Tina改SPI NOR运行到Starting kernel..停止 » 2022-11-18 17:09:42

Kernel low-level debugging port (Kernel low-level debugging messages viasunXi UART0) 看看这个有没有改

#6 Re: 全志 SOC » F1C100S使用Tina改SPI NOR运行到Starting kernel..停止 » 2022-11-18 17:08:03

#内核修改
make kernel_menuconfig --->
	kernel hacking --->
		[*] Compile the kernel with debug info
		[*] Kernel low-level debugging functios (read help!)
		Kernel low-level debugging port (Kernel low-level debugging messages viasunXi UART0)

#9 Re: 司徒开源 » 研究Game Gear Micro掌機的開源可行性 » 2022-07-19 00:01:10

司徒大神 我在板子上运行就报这个错误是什么情况

#10 Re: 司徒开源 » 研究Game Gear Micro掌機的開源可行性 » 2022-07-19 00:00:32

# ls
gba_bios.bin  gpsp          kdyg.gba
# ./gpsp kdyg.gba
3audio: freq 48000, size 4096
game config missing
Segmentation fault
#

#11 Re: 全志 SOC » 请问有没有大神搞定了f1c100s的主线kernel4.19下的声卡驱动?[13楼@wammaw1314搞定声卡驱动,欢迎测试] » 2022-05-19 00:49:36

@wammaw1314
大佬我移植到了linux5.2在
出现了
Error: Driver 'sun4i-codec' is already registered, aborting...
这个是什么情况

#12 Re: 全志 SOC » f1c100s音频驱动Error: Driver 'sun4i-codec' is already registered, aborting » 2022-05-19 00:10:31

// SPDX-License-Identifier: (GPL-2.0+ OR X11)
/*
* Copyright 2018 Icenowy Zheng <icenowy@aosc.io>
* Copyright 2018 Mesih Kilinc <mesihkilinc@gmail.com>
*/

#include <dt-bindings/clock/suniv-ccu-f1c100s.h>
#include <dt-bindings/reset/suniv-ccu-f1c100s.h>

/ {
    #address-cells = <1>;
    #size-cells = <1>;
    interrupt-parent = <&intc>;

    clocks {
        osc24M: clk-24M {
            #clock-cells = <0>;
            compatible = "fixed-clock";
            clock-frequency = <24000000>;
            clock-output-names = "osc24M";
        };

        osc32k: clk-32k {
            #clock-cells = <0>;
            compatible = "fixed-clock";
            clock-frequency = <32768>;
            clock-output-names = "osc32k";
        };
    };

    cpus {
        cpu {
            compatible = "arm,arm926ej-s";
            device_type = "cpu";
        };
    };
   
    de: display-engine {
        compatible = "allwinner,suniv-f1c100s-display-engine";
        allwinner,pipelines = <&fe0>;
        status = "disabled";
    };

    soc {
        compatible = "simple-bus";
        #address-cells = <1>;
        #size-cells = <1>;
        ranges;

        sram-controller@1c00000 {
            compatible = "allwinner,suniv-f1c100s-system-control",
                     "allwinner,sun4i-a10-system-control";
            reg = <0x01c00000 0x30>;
            #address-cells = <1>;
            #size-cells = <1>;
            ranges;

            sram_d: sram@10000 {
                compatible = "mmio-sram";
                reg = <0x00010000 0x1000>;
                #address-cells = <1>;
                #size-cells = <1>;
                ranges = <0 0x00010000 0x1000>;

                otg_sram: sram-section@0 {
                    compatible = "allwinner,suniv-f1c100s-sram-d",
                             "allwinner,sun4i-a10-sram-d";
                    reg = <0x0000 0x1000>;
                    status = "disabled";
                };
            };
        };

        tcon0: lcd-controller@1c0c000 {
            compatible = "allwinner,suniv-f1c100s-tcon";
            reg = <0x01c0c000 0x1000>;
            interrupts = <29>;
            clocks = <&ccu CLK_BUS_LCD>,
                 <&ccu CLK_TCON>;
            clock-names = "ahb",
                      "tcon-ch0";
            clock-output-names = "tcon-pixel-clock";
            resets = <&ccu RST_BUS_LCD>;
            reset-names = "lcd";
            status = "disabled";

            ports {
                #address-cells = <1>;
                #size-cells = <0>;

                tcon0_in: port@0 {
                    #address-cells = <1>;
                    #size-cells = <0>;
                    reg = <0>;

                    tcon0_in_be0: endpoint@0 {
                        reg = <0>;
                        remote-endpoint = <&be0_out_tcon0>;
                    };
                };

                tcon0_out: port@1 {
                    #address-cells = <1>;
                    #size-cells = <0>;
                    reg = <1>;
                };
            };
        };

        ccu: clock@1c20000 {
            compatible = "allwinner,suniv-f1c100s-ccu";
            reg = <0x01c20000 0x400>;
            clocks = <&osc24M>, <&osc32k>;
            clock-names = "hosc", "losc";
            #clock-cells = <1>;
            #reset-cells = <1>;
        };

        intc: interrupt-controller@1c20400 {
            compatible = "allwinner,suniv-f1c100s-ic";
            reg = <0x01c20400 0x400>;
            interrupt-controller;
            #interrupt-cells = <1>;
        };

        pio: pinctrl@1c20800 {
            compatible = "allwinner,suniv-f1c100s-pinctrl";
            reg = <0x01c20800 0x400>;
            interrupts = <38>, <39>, <40>;
            clocks = <&ccu CLK_BUS_PIO>, <&osc24M>, <&osc32k>;
            clock-names = "apb", "hosc", "losc";
            gpio-controller;
            interrupt-controller;
            #interrupt-cells = <3>;
            #gpio-cells = <3>;

            uart0_pe_pins: uart0-pe-pins {
                pins = "PE0", "PE1";
                function = "uart0";
            };
           
            lcd_rgb666_pins: lcd-rgb666-pins {
                pins = "PD0", "PD1", "PD2", "PD3", "PD4",
                       "PD5", "PD6", "PD7", "PD8", "PD9",
                       "PD10", "PD11", "PD12", "PD13", "PD14",
                       "PD15", "PD16", "PD17", "PD18", "PD19",
                       "PD20", "PD21";
                function = "lcd";
            };
           
            mmc0_pins: mmc0-pins {
                pins = "PF0", "PF1", "PF2", "PF3", "PF4", "PF5";
                function = "mmc0";
            };
        };

        timer@1c20c00 {
            compatible = "allwinner,suniv-f1c100s-timer";
            reg = <0x01c20c00 0x90>;
            interrupts = <13>;
            clocks = <&osc24M>;
        };

        mmc0: mmc@1c0f000 {
            compatible = "allwinner,suniv-f1c100s-mmc",
                     "allwinner,sun7i-a20-mmc";
            reg = <0x01c0f000 0x1000>;
            clocks = <&ccu CLK_BUS_MMC0>,
                 <&ccu CLK_MMC0>,
                 <&ccu CLK_MMC0_OUTPUT>,
                 <&ccu CLK_MMC0_SAMPLE>;
            clock-names = "ahb",
                          "mmc",
                          "output",
                          "sample";
            resets = <&ccu RST_BUS_MMC0>;
            reset-names = "ahb";
            interrupts = <23>;
            pinctrl-names = "default";
            pinctrl-0 = <&mmc0_pins>;
            status = "disabled";
            #address-cells = <1>;
            #size-cells = <0>;
        };

        wdt: watchdog@1c20ca0 {
            compatible = "allwinner,suniv-f1c100s-wdt",
                     "allwinner,sun4i-a10-wdt";
            reg = <0x01c20ca0 0x20>;
        };

        uart0: serial@1c25000 {
            compatible = "snps,dw-apb-uart";
            reg = <0x01c25000 0x400>;
            interrupts = <1>;
            reg-shift = <2>;
            reg-io-width = <4>;
            clocks = <&ccu CLK_BUS_UART0>;
            resets = <&ccu RST_BUS_UART0>;
            status = "disabled";
        };

        uart1: serial@1c25400 {
            compatible = "snps,dw-apb-uart";
            reg = <0x01c25400 0x400>;
            interrupts = <2>;
            reg-shift = <2>;
            reg-io-width = <4>;
            clocks = <&ccu CLK_BUS_UART1>;
            resets = <&ccu RST_BUS_UART1>;
            status = "disabled";
        };

        uart2: serial@1c25800 {
            compatible = "snps,dw-apb-uart";
            reg = <0x01c25800 0x400>;
            interrupts = <3>;
            reg-shift = <2>;
            reg-io-width = <4>;
            clocks = <&ccu CLK_BUS_UART2>;
            resets = <&ccu RST_BUS_UART2>;
            status = "disabled";
        };
        fe0: display-frontend@1e00000 {
            compatible = "allwinner,suniv-f1c100s-display-frontend";
            reg = <0x01e00000 0x20000>;
            interrupts = <30>;
            clocks = <&ccu CLK_BUS_DE_FE>, <&ccu CLK_DE_FE>,
                 <&ccu CLK_DRAM_DE_FE>;
            clock-names = "ahb", "mod",
                      "ram";
            resets = <&ccu RST_BUS_DE_FE>;
            status = "disabled";

            ports {
                #address-cells = <1>;
                #size-cells = <0>;

                fe0_out: port@1 {
                    #address-cells = <1>;
                    #size-cells = <0>;
                    reg = <1>;

                    fe0_out_be0: endpoint@0 {
                        reg = <0>;
                        remote-endpoint = <&be0_in_fe0>;
                    };
                };
            };
        };

        be0: display-backend@1e60000 {
            compatible = "allwinner,suniv-f1c100s-display-backend";
            reg = <0x01e60000 0x10000>;
            reg-names = "be";
            interrupts = <31>;
            clocks = <&ccu CLK_BUS_DE_BE>, <&ccu CLK_DE_BE>,
                 <&ccu CLK_DRAM_DE_BE>;
            clock-names = "ahb", "mod",
                      "ram";
            resets = <&ccu RST_BUS_DE_BE>;
            reset-names = "be";
            assigned-clocks = <&ccu CLK_DE_BE>;
            assigned-clock-rates = <300000000>;

            ports {
                #address-cells = <1>;
                #size-cells = <0>;

                be0_in: port@0 {
                    #address-cells = <1>;
                    #size-cells = <0>;
                    reg = <0>;

                    be0_in_fe0: endpoint@0 {
                        reg = <0>;
                        remote-endpoint = <&fe0_out_be0>;
                    };
                };

                be0_out: port@1 {
                    #address-cells = <1>;
                    #size-cells = <0>;
                    reg = <1>;

                    be0_out_tcon0: endpoint@0 {
                        reg = <0>;
                        remote-endpoint = <&tcon0_in_be0>;
                    };
                };
            };
        };

        dma: dma-controller@1c02000 {
            compatible = "allwinner,suniv-dma";
            reg = <0x01c02000 0x1000>;
            interrupts = <18>;
            clocks = <&ccu CLK_BUS_DMA>;
            resets = <&ccu RST_BUS_DMA>;
            #dma-cells = <2>;
        };

        codec: codec@1c23c00 {
            compatible = "allwinner,suniv-codec";
            reg = <0x01c23c00 0x400>;
            interrupts = <21>;
            clocks = <&ccu CLK_BUS_CODEC>,
                 <&ccu CLK_CODEC>;
            clock-names = "apb", "codec";
            resets = <&ccu RST_BUS_CODEC>;
            dmas = <&dma 0 12>, <&dma 0 12>;
            dma-names = "rx", "tx";
            status = "disabled";
        };
    };
};

#13 Re: 全志 SOC » f1c100s音频驱动Error: Driver 'sun4i-codec' is already registered, aborting » 2022-05-19 00:09:45

// SPDX-License-Identifier: (GPL-2.0+ OR X11)
/*
* Copyright 2018 Icenowy Zheng <icenowy@aosc.io>
*/

/dts-v1/;
#include "suniv-f1c100s.dtsi"
#include <dt-bindings/gpio/gpio.h>

/ {
    model = "Lichee Pi Nano";
    compatible = "licheepi,licheepi-nano", "allwinner,suniv-f1c100s";

    aliases {
        serial0 = &uart0;
    };

    chosen {
        stdout-path = "serial0:115200n8";
    };

    panel: panel {
        compatible = "lg,lb070wv8", "simple-panel";
        #address-cells = <1>;
        #size-cells = <0>;
        enable-gpios = <&pio 4 6 GPIO_ACTIVE_HIGH>;
        power-supply = <&reg_vcc3v3>;

        port@0 {
            reg = <0>;
            #address-cells = <1>;
            #size-cells = <0>;

            panel_input: endpoint@0 {
                reg = <0>;
                remote-endpoint = <&tcon0_out_lcd>;
            };
        };
    };

    reg_vcc3v3: vcc3v3 {
        compatible = "regulator-fixed";
        regulator-name = "vcc3v3";
        regulator-min-microvolt = <3300000>;
        regulator-max-microvolt = <3300000>;
    };
};

&be0 {
    status = "okay";
};

&de {
    status = "okay";
};

&tcon0 {
    pinctrl-names = "default";
    pinctrl-0 = <&lcd_rgb666_pins>;
    status = "okay";
};

&tcon0_out {
    tcon0_out_lcd: endpoint@0 {
        reg = <0>;
        remote-endpoint = <&panel_input>;
    };
};

&mmc0 {
    vmmc-supply = <&reg_vcc3v3>;
    bus-width = <4>;
    broken-cd;
    status = "okay";
};

&uart0 {
    pinctrl-names = "default";
    pinctrl-0 = <&uart0_pe_pins>;
    status = "okay";
};

&codec {
    allwinner,audio-routing =
        "Headphone", "HP",
        "Headphone", "HPCOM",
        "MIC", "Mic";
    status = "okay";
};

#14 Re: 全志 SOC » f1c100s音频驱动Error: Driver 'sun4i-codec' is already registered, aborting » 2022-05-19 00:08:38

▒▒ 0
switch to partitions #0, OK
mmc0 is current device
Scanning mmc 0:1...
Found U-Boot script /boot.scr
reading /boot.scr
730 bytes read in 20 ms (35.2 KiB/s)
## Executing script at 80c50000
reading suniv-f1c100s-licheepi-nano.dtb
6426 bytes read in 26 ms (241.2 KiB/s)
reading zImage
4178696 bytes read in 221 ms (18 MiB/s)
## Flattened Device Tree blob at 80c00000
   Booting using the fdt blob at 0x80c00000
   Loading Device Tree to 816fb000, end 816ff919 ... OK

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 5.2.0-licheepi-nano (root@yuwei-VirtualBox) (gcc version 7.2.1 20171011 (Linaro GCC 7.2-2017.11)) #2 Thu May 19 00:02:44 CST 2022
[    0.000000] CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=0005317f
[    0.000000] CPU: VIVT data cache, VIVT instruction cache
[    0.000000] OF: fdt: Machine model: Lichee Pi Nano
[    0.000000] Memory policy: Data cache writeback
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 16256
[    0.000000] Kernel command line: console=ttyS0,115200 panic=5 rootwait root=/dev/mmcblk0p2 rw
[    0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
[    0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Memory: 55172K/65536K available (6144K kernel code, 244K rwdata, 1584K rodata, 1024K init, 241K bss, 10364K reserved, 0K cma-reserved, 0K highmem)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000] random: get_random_bytes called from start_kernel+0x254/0x42c with crng_init=0
[    0.000053] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns
[    0.000138] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[    0.000763] Console: colour dummy device 80x30
[    0.000867] Calibrating delay loop... 203.16 BogoMIPS (lpj=1015808)
[    0.070258] pid_max: default: 32768 minimum: 301
[    0.070727] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.070775] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.072510] CPU: Testing write buffer coherency: ok
[    0.074695] Setting up static identity map for 0x80100000 - 0x80100058
[    0.077158] devtmpfs: initialized
[    0.083303] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.083372] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.083692] pinctrl core: initialized pinctrl subsystem
[    0.086402] NET: Registered protocol family 16
[    0.087835] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.090082] cpuidle: using governor menu
[    0.148072] SCSI subsystem initialized
[    0.148461] usbcore: registered new interface driver usbfs
[    0.148629] usbcore: registered new interface driver hub
[    0.148837] usbcore: registered new device driver usb
[    0.149394] pps_core: LinuxPPS API ver. 1 registered
[    0.149422] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.149498] PTP clock support registered
[    0.150065] Advanced Linux Sound Architecture Driver Initialized.
[    0.152023] clocksource: Switched to clocksource timer
[    0.184749] NET: Registered protocol family 2
[    0.186463] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes)
[    0.186546] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    0.186605] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.186655] TCP: Hash tables configured (established 1024 bind 1024)
[    0.187030] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.187099] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.187672] NET: Registered protocol family 1
[    0.189399] RPC: Registered named UNIX socket transport module.
[    0.189441] RPC: Registered udp transport module.
[    0.189456] RPC: Registered tcp transport module.
[    0.189470] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.191824] NetWinder Floating Point Emulator V0.97 (double precision)
[    0.194257] Initialise system trusted keyrings
[    0.194940] workingset: timestamp_bits=30 max_order=14 bucket_order=0
[    0.219706] NFS: Registering the id_resolver key type
[    0.219792] Key type id_resolver registered
[    0.219813] Key type id_legacy registered
[    0.226202] Key type asymmetric registered
[    0.226250] Asymmetric key parser 'x509' registered
[    0.226452] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 251)
[    0.226485] io scheduler mq-deadline registered
[    0.226505] io scheduler kyber registered
[    0.238860] suniv-f1c100s-pinctrl 1c20800.pinctrl: initialized sunXi PIO driver
[    0.457896] Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled
[    0.464282] suniv-f1c100s-pinctrl 1c20800.pinctrl: 1c20800.pinctrl supply vcc-pe not found, using dummy regulator
[    0.466147] printk: console [ttyS0] disabled
[    0.486414] 1c25000.serial: ttyS0 at MMIO 0x1c25000 (irq = 22, base_baud = 6250000) is a 16550A
[    0.897234] printk: console [ttyS0] enabled
[    0.905701] suniv-f1c100s-pinctrl 1c20800.pinctrl: 1c20800.pinctrl supply vcc-pd not found, using dummy regulator
[    0.924403] SCSI Media Changer driver v0.25
[    0.930077] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    0.936753] ehci-platform: EHCI generic platform driver
[    0.942392] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    0.948630] ohci-platform: OHCI generic platform driver
[    0.954398] usbcore: registered new interface driver usb-storage
[    0.961108] udc-core: couldn't find an available UDC - added [g_cdc] to list of pending drivers
[    0.970245] i2c /dev entries driver
[    0.975724] suniv-f1c100s-pinctrl 1c20800.pinctrl: 1c20800.pinctrl supply vcc-pf not found, using dummy regulator
[    1.013915] sunxi-mmc 1c0f000.mmc: initialized, max. request size: 16384 KB
[    1.023671] usbcore: registered new interface driver usbhid
[    1.029249] usbhid: USB HID core driver
[    1.050328] Error: Driver 'sun4i-codec' is already registered, aborting...
[    1.058083] NET: Registered protocol family 17
[    1.062923] Key type dns_resolver registered
[    1.069834] Loading compiled-in X.509 certificates
[    1.085716] suniv-f1c100s-pinctrl 1c20800.pinctrl: 1c20800.pinctrl supply vcc-pd not found, using dummy regulator
[    1.097242] sun4i-backend 1e60000.display-backend: Couldn't find matching frontend, frontend features disabled
[    1.108155] sun4i-drm display-engine: bound 1e60000.display-backend (ops 0xc073b534)
[    1.117196] sun4i-drm display-engine: bound 1c0c000.lcd-controller (ops 0xc073a18c)
[    1.124980] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[    1.131581] [drm] No driver support for vblank timestamp query.
[    1.138940] [drm] Initialized sun4i-drm 1.0.0 20150629 for display-engine on minor 0
[    1.362856] mmc0: host does not support reading read-only switch, assuming write-enable
[    1.365263] mmc0: new high speed SDHC card at address 0001
[    1.369725] mmcblk0: mmc0:0001 SD 29.1 GiB
[    1.391978] Console: switching to colour frame buffer device 100x30
[    1.394786]  mmcblk0: p1 p2
[    1.452310] sun4i-drm display-engine: fb0: sun4i-drmdrmfb frame buffer device
[    1.460210] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[    1.478546] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[    1.485429] ALSA device list:
[    1.488481]   #0: Loopback 1
[    1.492477] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[    1.501096] cfg80211: failed to load regulatory.db
[    1.545918] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[    1.554300] VFS: Mounted root (ext4 filesystem) on device 179:2.
[    1.563846] devtmpfs: mounted
[    1.572069] random: fast init done
[    1.576949] Freeing unused kernel memory: 1024K
[    1.581686] Run /sbin/init as init process
[    1.759720] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
Starting logging: OK
Initializing random number generator... [    2.135403] random: dd: uninitialized urandom read (512 bytes read)
done.
Starting system message bus: [    2.256050] random: dbus-uuidgen: uninitialized urandom read (12 bytes read)
[    2.263774] random: dbus-uuidgen: uninitialized urandom read (8 bytes read)
done
Starting network: OK

Welcome to Buildroot
buildroot login: root
# ls
# [  206.242168] random: crng init done
[  206.245593] random: 2 urandom warning(s) missed due to ratelimiting

#15 全志 SOC » f1c100s音频驱动Error: Driver 'sun4i-codec' is already registered, aborting » 2022-05-19 00:08:04

鱼尾
回复: 3

参考这个链接https://whycan.com/viewtopic.php?id=2041在主线linux5.2 上配置了驱动
但是开始报错 Error: Driver 'sun4i-codec' is already registered, aborting
不知道为什么被注册了有没有大佬帮忙看看什么问题

#18 Re: 全志 SOC » 怎么判断v3s已经是硬解 » 2022-04-30 23:20:39

老哥硬件解码成功了没,我也看贴子设置了,但是就是解不了分辨率高的,高就卡

#19 Re: 全志 SOC » V3s使用gstreamer的插件openmax调用cedar硬解码,荔枝派zero测试通过 » 2022-04-29 15:55:48

ERROR:gstomxbufferpool.c:419:gst_omx_buffer_pool_alloc_buffer: code should not be reached
Aborted

#20 Re: 全志 SOC » V3s使用gstreamer的插件openmax调用cedar硬解码,荔枝派zero测试通过 » 2022-04-29 15:29:03

# cp /etc/xdg/gstomx.conf /etc/xdg/gstomx.conf.bck
# vi /etc/xdg/gstomx.conf
# gst-launch-1.0 filesrc location=222.mp4 ! qtdemux ! h264parse ! omxh264dec ! a
utovideoconvert ! fbdevsink
Setting pipeline to PAUSED ...
debug  : cedarc <AwOmxComponentInit:26>:OMXCORE: aw_omx_component_init 15de58

debug  : omx_vdec <__AwOmxVdecInit:1059>:++++++++++++++++++++++omx begin++++++++++++++++++
debug  : omx_vdec <__AwOmxVdecInit:1060>:name = OMX.allwinner.video.decoder.avc
debug  : omx_vdec_aw <OmxDecoderCreate:924>:kay: ** 0.
debug  : cedarc <CdcMessageQueueCreate:47>:nMessageSize = 20
debug  : cedarc <AwOmxComponentSetCallbacks:310>:OMXCORE: aw_omx_component_set_callbacks 15de58, b66cb700 , 39600

debug  : omx_vdec <__AwOmxVdecSetCallbacks:1812>:===== vdec set callbacks
Pipeline is PREROLLING ...
debug  : omx_vdec <AwOmxVdecPortSetDefinitioin:192>:port:<<<<<<<<in,nBufferCountActual = 2, mBufferCntActual = 2
debug  : omx_vdec <AwOmxVdecPortSetDefinitioin:192>:port:<<<<<<<<in,nBufferCountActual = 2, mBufferCntActual = 2
error  : omx_vdec <AwOmxVdecPortGetFormat:288>:erro: pParamData->nIndex > m_sPortFormatType.nIndex
debug  : omx_vdec <controlSetState:359>:current state:OMX_StateLoaded, target state:OMX_StateIdle
debug  : omx_vdec <doStateWaitforResources2Idle:563>:bEnabled[1],[1],bPopulated[0],[0]
debug  : omx_vdec <__AwOmxVdecAllocateBuffer:1693>:kay: __AwOmxVdecAllocateBuffer
debug  : omx_vdec <__AwOmxVdecAllocateBuffer:1713>:kay: __AwOmxVdecAllocateBuffer 2
debug  : omx_vdec_aw <__liAllocatePortBuffer:851>:kay: *** 0.
debug  : omx_vdec_aw <__liAllocatePortBuffer:863>:kay: malloc
debug  : omx_vdec_aw <__liAllocatePortBuffer:865>:kay: malloc2
debug  : omx_vdec <__AwOmxVdecAllocateBuffer:1715>:kay: __AwOmxVdecAllocateBuffer 3
debug  : omx_vdec <AwOmxVdecPortPopBuffer:393>:*******port pop buffer:<<<<<<<<in
debug  : omx_vdec <__AwOmxVdecAllocateBuffer:1693>:kay: __AwOmxVdecAllocateBuffer
debug  : omx_vdec <__AwOmxVdecAllocateBuffer:1713>:kay: __AwOmxVdecAllocateBuffer 2
debug  : omx_vdec_aw <__liAllocatePortBuffer:851>:kay: *** 0.
debug  : omx_vdec_aw <__liAllocatePortBuffer:863>:kay: malloc
debug  : omx_vdec_aw <__liAllocatePortBuffer:865>:kay: malloc2
debug  : omx_vdec <__AwOmxVdecAllocateBuffer:1715>:kay: __AwOmxVdecAllocateBuffer 3
debug  : omx_vdec <AwOmxVdecPortPopBuffer:393>:*******port pop buffer:<<<<<<<<in
debug  : omx_vdec <__AwOmxVdecAllocateBuffer:1693>:kay: __AwOmxVdecAllocateBuffer
debug  : omx_vdec <__AwOmxVdecAllocateBuffer:1713>:kay: __AwOmxVdecAllocateBuffer 2
debug  : omx_vdec_aw <__liAllocatePortBuffer:851>:kay: *** 0.
debug  : omx_vdec_aw <__liAllocatePortBuffer:863>:kay: malloc
debug  : omx_vdec_aw <__liAllocatePortBuffer:865>:kay: malloc2
debug  : omx_vdec <__AwOmxVdecAllocateBuffer:1715>:kay: __AwOmxVdecAllocateBuffer 3
debug  : omx_vdec <AwOmxVdecPortPopBuffer:393>:*******port pop buffer:>>>>>>>out
debug  : omx_vdec <__AwOmxVdecAllocateBuffer:1693>:kay: __AwOmxVdecAllocateBuffer
debug  : omx_vdec <__AwOmxVdecAllocateBuffer:1713>:kay: __AwOmxVdecAllocateBuffer 2
debug  : omx_vdec_aw <__liAllocatePortBuffer:851>:kay: *** 0.
debug  : omx_vdec_aw <__liAllocatePortBuffer:863>:kay: malloc
debug  : omx_vdec_aw <__liAllocatePortBuffer:865>:kay: malloc2
debug  : omx_vdec <__AwOmxVdecAllocateBuffer:1715>:kay: __AwOmxVdecAllocateBuffer 3
debug  : omx_vdec <AwOmxVdecPortPopBuffer:393>:*******port pop buffer:>>>>>>>out
debug  : omx_vdec <__AwOmxVdecAllocateBuffer:1693>:kay: __AwOmxVdecAllocateBuffer
debug  : omx_vdec <__AwOmxVdecAllocateBuffer:1713>:kay: __AwOmxVdecAllocateBuffer 2
debug  : omx_vdec_aw <__liAllocatePortBuffer:851>:kay: *** 0.
debug  : omx_vdec_aw <__liAllocatePortBuffer:863>:kay: malloc
debug  : omx_vdec_aw <__liAllocatePortBuffer:865>:kay: malloc2
debug  : omx_vdec <__AwOmxVdecAllocateBuffer:1715>:kay: __AwOmxVdecAllocateBuffer 3
debug  : omx_vdec <AwOmxVdecPortPopBuffer:393>:*******port pop buffer:>>>>>>>out
debug  : omx_vdec <__AwOmxVdecAllocateBuffer:1693>:kay: __AwOmxVdecAllocateBuffer

大佬这个是啥原因

#21 Re: 全志 SOC » v3s linux5.2 应该这么配置 rndis网卡 » 2022-04-26 23:39:27

usb虚拟rndis网卡 从而识别  合宙的air720 模块

#22 全志 SOC » v3s linux5.2 应该这么配置 rndis网卡 » 2022-04-26 23:38:15

鱼尾
回复: 1

v3s linux5.2 该这么配置 rndis网卡 ,有大神救救我吗?

#23 全志 SOC » 使用tinymix 播放音乐遇到问题 » 2022-04-21 20:21:42

鱼尾
回复: 2
# tinymix set 1
[                    id                   seq
[[                   install              setarch
ar                   ipcrm                setkeycodes
aserver              ipcs                 setserial
ash                  kill                 setsid
awk                  killall              sh
basename             last                 sha1sum
bunzip2              ldd                  sha256sum
busybox              less                 sha3sum
bzcat                linux32              sha512sum
cat                  linux64              sleep
catv                 ln                   sort
chattr               logger               strings
chgrp                login                stty
# tinymix set 1 11111
Error: 2 values given, but control only takes 1
# tinymix set 11111
Invalid mixer control
# tinymix set 1
Segmentation fault
# tinymix set 1:1
Segmentation fault
# tinymix set 1/1
Segmentation fault
# tinymix set 1|1
-sh: 1: not found
Segmentation fault
# tinymix set Headphone Playback Volume|1
-sh: 1: not found
Invalid mixer control
# tinymix set Headphone Playback Volume 1
Invalid mixer control
# tinymix set Headphone Playback Volume
Invalid mixer control
# tinymix 'Headphone Playback Volume ' 1
unknown command 'Headphone Playback Volume ' (see --help)
# tinymix  set 'Headphone Playback Volume ' 1
Invalid mixer control
# tinymix  set 1 1
Error: 2 values given, but control only takes 1
# tinymix  set 11
Segmentation fault

#24 Re: 全志 SOC » 使用tinymix 播放音乐遇到问题 » 2022-04-21 20:02:31

# tinymix set 1 1
Error: 2 values given, but control only takes 1

不清楚是为什么

#25 全志 SOC » 使用tinymix 播放音乐遇到问题 » 2022-04-21 20:01:31

鱼尾
回复: 1

# ./tinymix contents
Number of controls: 13
ctl     type    num     name                                    value
0       INT     1       DAC Playback Volume                     63 (range 0->63)
1       INT     1       Headphone Playback Volume               0 (range 0->63)
2       BOOL    2       Headphone Playback Switch               Off, Off
3       INT     1       Mic1 Playback Volume                    3 (range 0->7)
4       INT     1       Mic1 Boost Volume                       4 (range 0->7)
5       INT     1       ADC Gain Capture Volume                 3 (range 0->7)
6       BOOL    2       DAC Playback Switch                     Off, Off
7       BOOL    2       DAC Reversed Playback Switch            Off, Off
8       BOOL    2       Mic1 Playback Switch                    Off, Off
9       BOOL    2       Mixer Capture Switch                    Off, Off
10      BOOL    2       Mixer Reversed Capture Switch           Off, Off
11      BOOL    2       Mic1 Capture Switch                     Off, Off
12      ENUM    2       Headphone Source Playback Route         , DACMixer, , DACMixer
# tinymix set1 1
unknown command 'set1' (see --help)
# tinymix set 11
Segmentation fault
# tinymix set 1 1
Error: 2 values given, but control only takes 1
# tinymix set 2 1
Segmentation fault
# tinymix set 1 1
Error: 2 values given, but control only takes 1
# tinymix set 1 1
Error: 2 values given, but control only takes 1
#

#26 Re: 全志 SOC » 在V3S上面使用ili9341没有CS引脚的spi 2.4寸屏 求助 » 2022-04-21 01:26:12

dc-gpios = <&pio 4 16 GPIO_ACTIVE_LOW>;
reset-gpios = <&pio 4 17 GPIO_ACTIVE_LOW>;


设备树这里你写错了
两个都说是4 你一个写4 一个写5了

#32 全志 SOC » F1C100S 根文件系统无法启动 u-boot 系统内核正常不知道为什么 » 2022-04-01 01:00:00

鱼尾
回复: 0

[    0.975913] ohci-platform: OHCI generic platform driver
[    0.981615] usbcore: registered new interface driver usb-storage
[    0.988708] udc-core: couldn't find an available UDC - added [g_cdc] to list of pending drivers
[    0.997640] i2c /dev entries driver
[    1.058021] sunxi-mmc 1c0f000.mmc: base:0x31b7144d irq:19
[    1.066860] usbcore: registered new interface driver usbhid
[    1.072559] usbhid: USB HID core driver
[    1.094195] NET: Registered protocol family 17
[    1.099012] Key type dns_resolver registered
[    1.105532] Loading compiled-in X.509 certificates
[    1.120773] sun4i-drm display-engine: bound 1e60000.display-backend (ops 0xc0739c38)
[    1.129712] sun4i-drm display-engine: bound 1c0c000.lcd-controller (ops 0xc0738f1c)
[    1.137377] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[    1.144092] [drm] No driver support for vblank timestamp query.
[    1.282441] Console: switching to colour frame buffer device 100x30
[    1.322187] sun4i-drm display-engine: fb0:  frame buffer device
[    1.329288] [drm] Initialized sun4i-drm 1.0.0 20150629 for display-engine on minor 0
[    1.338569] usb_phy_generic usb_phy_generic.0.auto: usb_phy_generic.0.auto supply vcc not found, using dummy regulator
[    1.350637] musb-hdrc musb-hdrc.1.auto: MUSB HDRC host driver
[    1.356440] musb-hdrc musb-hdrc.1.auto: new USB bus registered, assigned bus number 1
[    1.366825] hub 1-0:1.0: USB hub found
[    1.370904] hub 1-0:1.0: 1 port detected
[    1.376466] using random self ethernet address
[    1.381110] using random host ethernet address
[    1.387426] usb0: HOST MAC 66:5e:3a:64:f7:01
[    1.391968] usb0: MAC 92:4c:1c:0c:df:9d
[    1.395961] g_cdc gadget: CDC Composite Gadget, version: King Kamehameha Day 2008
[    1.403520] g_cdc gadget: g_cdc ready
[    1.410521] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[    1.428583] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[    1.435347] vcc3v3: disabling
[    1.438438] ALSA device list:
[    1.441415]   #0: Loopback 1
[    1.445238] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[    1.453955] cfg80211: failed to load regulatory.db
[    1.459705] List of all partitions:
[    1.463297] No filesystem could mount root, tried:
[    1.463310]  jffs2
[    1.468303]
[    1.471827] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
[    1.480078] CPU: 0 PID: 1 Comm: swapper Not tainted 4.15.0-rc8-licheepi-nano+ #2
[    1.487449] Hardware name: Allwinner suniv Family
[    1.492231] [<c010e550>] (unwind_backtrace) from [<c010b6a8>] (show_stack+0x10/0x14)
[    1.499987] [<c010b6a8>] (show_stack) from [<c0116878>] (panic+0xb8/0x230)
[    1.506886] [<c0116878>] (panic) from [<c0901204>] (mount_block_root+0x1e4/0x250)
[    1.514375] [<c0901204>] (mount_block_root) from [<c0901364>] (mount_root+0xf4/0x120)
[    1.522203] [<c0901364>] (mount_root) from [<c09014b8>] (prepare_namespace+0x128/0x188)
[    1.530205] [<c09014b8>] (prepare_namespace) from [<c0900dc0>] (kernel_init_freeable+0x174/0x1b8)
[    1.539067] [<c0900dc0>] (kernel_init_freeable) from [<c0667210>] (kernel_init+0x8/0x10c)
[    1.547241] [<c0667210>] (kernel_init) from [<c0107dc0>] (ret_from_fork+0x14/0x34)
[    1.554801] Rebooting in 5 seconds..
[    7.534035] Reboot failed -- System halted

#33 全志 SOC » F1C100S 根文件系统无法启动 u-boot 系统内核正常不知道为什么 » 2022-04-01 00:59:53

鱼尾
回复: 0

[    0.975913] ohci-platform: OHCI generic platform driver
[    0.981615] usbcore: registered new interface driver usb-storage
[    0.988708] udc-core: couldn't find an available UDC - added [g_cdc] to list of pending drivers
[    0.997640] i2c /dev entries driver
[    1.058021] sunxi-mmc 1c0f000.mmc: base:0x31b7144d irq:19
[    1.066860] usbcore: registered new interface driver usbhid
[    1.072559] usbhid: USB HID core driver
[    1.094195] NET: Registered protocol family 17
[    1.099012] Key type dns_resolver registered
[    1.105532] Loading compiled-in X.509 certificates
[    1.120773] sun4i-drm display-engine: bound 1e60000.display-backend (ops 0xc0739c38)
[    1.129712] sun4i-drm display-engine: bound 1c0c000.lcd-controller (ops 0xc0738f1c)
[    1.137377] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[    1.144092] [drm] No driver support for vblank timestamp query.
[    1.282441] Console: switching to colour frame buffer device 100x30
[    1.322187] sun4i-drm display-engine: fb0:  frame buffer device
[    1.329288] [drm] Initialized sun4i-drm 1.0.0 20150629 for display-engine on minor 0
[    1.338569] usb_phy_generic usb_phy_generic.0.auto: usb_phy_generic.0.auto supply vcc not found, using dummy regulator
[    1.350637] musb-hdrc musb-hdrc.1.auto: MUSB HDRC host driver
[    1.356440] musb-hdrc musb-hdrc.1.auto: new USB bus registered, assigned bus number 1
[    1.366825] hub 1-0:1.0: USB hub found
[    1.370904] hub 1-0:1.0: 1 port detected
[    1.376466] using random self ethernet address
[    1.381110] using random host ethernet address
[    1.387426] usb0: HOST MAC 66:5e:3a:64:f7:01
[    1.391968] usb0: MAC 92:4c:1c:0c:df:9d
[    1.395961] g_cdc gadget: CDC Composite Gadget, version: King Kamehameha Day 2008
[    1.403520] g_cdc gadget: g_cdc ready
[    1.410521] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[    1.428583] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[    1.435347] vcc3v3: disabling
[    1.438438] ALSA device list:
[    1.441415]   #0: Loopback 1
[    1.445238] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[    1.453955] cfg80211: failed to load regulatory.db
[    1.459705] List of all partitions:
[    1.463297] No filesystem could mount root, tried:
[    1.463310]  jffs2
[    1.468303]
[    1.471827] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
[    1.480078] CPU: 0 PID: 1 Comm: swapper Not tainted 4.15.0-rc8-licheepi-nano+ #2
[    1.487449] Hardware name: Allwinner suniv Family
[    1.492231] [<c010e550>] (unwind_backtrace) from [<c010b6a8>] (show_stack+0x10/0x14)
[    1.499987] [<c010b6a8>] (show_stack) from [<c0116878>] (panic+0xb8/0x230)
[    1.506886] [<c0116878>] (panic) from [<c0901204>] (mount_block_root+0x1e4/0x250)
[    1.514375] [<c0901204>] (mount_block_root) from [<c0901364>] (mount_root+0xf4/0x120)
[    1.522203] [<c0901364>] (mount_root) from [<c09014b8>] (prepare_namespace+0x128/0x188)
[    1.530205] [<c09014b8>] (prepare_namespace) from [<c0900dc0>] (kernel_init_freeable+0x174/0x1b8)
[    1.539067] [<c0900dc0>] (kernel_init_freeable) from [<c0667210>] (kernel_init+0x8/0x10c)
[    1.547241] [<c0667210>] (kernel_init) from [<c0107dc0>] (ret_from_fork+0x14/0x34)
[    1.554801] Rebooting in 5 seconds..
[    7.534035] Reboot failed -- System halted

#35 Re: ESP32/ESP8266 » ESP32 无法连接wifi » 2022-03-05 19:36:04

I (757) wifi:mode : sta (0c:dc:7e:fd:18:30)
I (757) wifi:enable tsf
wifi_init_sta finished.
I (1427) wifi:new:<6,2>, old:<1,0>, ap:<255,255>, sta:<6,2>, prof:1
I (1427) wifi:state: init -> auth (b0)
I (2427) wifi:state: auth -> init (200)
I (2427) wifi:new:<6,0>, old:<6,2>, ap:<255,255>, sta:<6,2>, prof:1
retry to connect to the AP 1 times.
retry to connect to the AP 2 times.
I (4497) wifi:new:<6,2>, old:<6,0>, ap:<255,255>, sta:<6,2>, prof:1
I (4497) wifi:state: init -> auth (b0)
I (5497) wifi:state: auth -> init (200)
I (5497) wifi:new:<6,0>, old:<6,2>, ap:<255,255>, sta:<6,2>, prof:1
retry to connect to the AP 3 times.
retry to connect to the AP 4 times.
I (7567) wifi:new:<6,2>, old:<6,0>, ap:<255,255>, sta:<6,2>, prof:1
I (7567) wifi:state: init -> auth (b0)
I (8567) wifi:state: auth -> init (200)
I (8567) wifi:new:<6,0>, old:<6,2>, ap:<255,255>, sta:<6,2>, prof:1
retry to connect to the AP 5 times.
retry to connect to the AP 6 times.
I (10637) wifi:new:<6,2>, old:<6,0>, ap:<255,255>, sta:<6,2>, prof:1
I (10637) wifi:state: init -> auth (b0)
I (11637) wifi:state: auth -> init (200)
I (11647) wifi:new:<6,0>, old:<6,2>, ap:<255,255>, sta:<6,2>, prof:1
retry to connect to the AP 7 times.
retry to connect to the AP 8 times.
I (13707) wifi:new:<6,2>, old:<6,0>, ap:<255,255>, sta:<6,2>, prof:1
I (13717) wifi:state: init -> auth (b0)
I (14717) wifi:state: auth -> init (200)
I (14717) wifi:new:<6,0>, old:<6,2>, ap:<255,255>, sta:<6,2>, prof:1
retry to connect to the AP 9 times.
retry to connect to the AP 10 times.
I (16787) wifi:new:<6,2>, old:<6,0>, ap:<255,255>, sta:<6,2>, prof:1
I (16787) wifi:state: init -> auth (b0)
I (17787) wifi:state: auth -> init (200)
I (17787) wifi:new:<6,0>, old:<6,2>, ap:<255,255>, sta:<6,2>, prof:1
retry to connect to the AP 11 times.
Failed to connect to ap TP-LINK_C672_2.4Ghz.
I (17847) smartconfig: SC version: V3.0.1
smartconfig start .......
I (21937) wifi:ic_enable_sniffer
I (21937) smartconfig: Start to find channel...
Scan done

#36 ESP32/ESP8266 » ESP32 无法连接wifi » 2022-03-05 19:33:45

鱼尾
回复: 5

无法连接wifi 但是 配网可以收到账号密码 就是连不上

#38 全志 SOC » ESP8089 WiFi 芯片文档为官网没有 » 2022-01-05 17:55:53

鱼尾
回复: 2

跪求ESP8089 WIFI 芯片文档 ,官网上一点都找不到,不知道什么情况,有哪位大佬有分享给小弟的。

页脚

工信部备案:粤ICP备20025096号 Powered by FluxBB

感谢为中文互联网持续输出优质内容的各位老铁们。 QQ: 516333132, 微信(wechat): whycan_cn (哇酷网/挖坑网/填坑网) service@whycan.cn