您尚未登录。

楼主 # 2023-01-31 14:00:49

落叶百枯
会员
注册时间: 2023-01-31
已发帖子: 2
积分: 2

初学嵌入式,搞了个荔枝zero,烧录搞完了,但是播放视频还是不行,譬如badapple(笑),感兴趣的大佬可以教教萌新嘛,感谢!

# Stopping network: OK
Stopping system message bus: done
Saving random seed: [   46.743630] urandom_read: 2 callbacks suppressed
[   46.743644] random: dd: uninitialized urandom read (512 bytes read)
OK
Stopping klogd: OK
Stopping syslogd: OK
umount: devtmpfs busy - remounted read-only
[   46.875991] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
The system is going down NOW!
Sent SIGTERM to all processes
Sent SIGKILL to all processes
Requesting system reboot
[   48.891913] reboot: Restarting system

U-Boot SPL 2017.01-rc2-00057-g32ab1804cd-dirty (Dec 06 2022 - 23:52:09)
DRAM: 64 MiB
Trying to boot from MMC1

U-Boot 2017.01-rc2-00057-g32ab1804cd-dirty (Dec 06 2022 - 23:52:09 -0500) Allwinner Technology

CPU:   Allwinner V3s (SUN8I 1681)
Model: Lichee Pi Zero
DRAM:  64 MiB
MMC:   SUNXI SD/MMC: 0
*** Warning - bad CRC, using default environment

In:    serial@01c28000
Out:   serial@01c28000
Err:   serial@01c28000


U-Boot 2017.01-rc2-00057-g32ab1804cd-dirty (Dec 06 2022 - 23:52:09 -0500) Allwinner Technology

CPU:   Allwinner V3s (SUN8I 1681)
Model: Lichee Pi Zero
DRAM:  64 MiB
MMC:   SUNXI SD/MMC: 0
*** Warning - bad CRC, using default environment

In:    serial@01c28000
Out:   serial@01c28000
Err:   serial@01c28000
Net:   No ethernet found.
starting USB...
No controllers found
Hit any key to stop autoboot:  0
reading zImage
4182904 bytes read in 215 ms (18.6 MiB/s)
reading sun8i-v3s-licheepi-zero-with-800x480-lcd.dtb
11757 bytes read in 27 ms (424.8 KiB/s)
## Flattened Device Tree blob at 41800000
   Booting using the fdt blob at 0x41800000
   Loading Device Tree to 42dfa000, end 42dffdec ... OK

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 5.2.0-licheepi-zero (book@100ask) (gcc version 6.3.1 20170109 (Linaro GCC 6.3-2017.02)) #1 SMP Fri Dec 2 02:00:12 EST 2022
[    0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c5387d
[    0.000000] CPU: div instructions available: patching division code
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] OF: fdt: Machine model: Lichee Pi Zero
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] percpu: Embedded 16 pages/cpu s34508 r8192 d22836 u65536
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 16256
[    0.000000] Kernel command line: console=ttyS0,115200 panic=5 rootwait mtdparts=spi32766.0:1M(uboot)ro,64k(dtb)ro,6M(kernel)ro,-(rootfs) root=/dev/mmcblk0p2 earlyprintk rw  vt.global_cursor_default=0
[    0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes, linear)
[    0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 55052K/65536K available (6144K kernel code, 301K rwdata, 1676K rodata, 1024K init, 252K bss, 10484K reserved, 0K cma-reserved, 0K highmem)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] rcu: Hierarchical RCU implementation.
[    0.000000] rcu:     RCU event tracing is enabled.
[    0.000000] rcu:     RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=1.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=1
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000] random: get_random_bytes called from start_kernel+0x300/0x48c with crng_init=0
[    0.000000] arch_timer: cp15 timer(s) running at 24.00MHz (virt).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
[    0.000007] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[    0.000020] Switching to timer-based delay loop, resolution 41ns
[    0.000207] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[    0.000450] Console: colour dummy device 80x30
[    0.000509] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000)
[    0.000525] pid_max: default: 32768 minimum: 301
[    0.000687] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.000704] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.001530] CPU: Testing write buffer coherency: ok
[    0.002041] /cpus/cpu@0 missing clock-frequency property
[    0.002065] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.002854] Setting up static identity map for 0x40100000 - 0x40100060
[    0.003070] rcu: Hierarchical SRCU implementation.
[    0.003609] smp: Bringing up secondary CPUs ...
[    0.003631] smp: Brought up 1 node, 1 CPU
[    0.003640] SMP: Total of 1 processors activated (48.00 BogoMIPS).
[    0.003647] CPU: All CPU(s) started in SVC mode.
[    0.004735] devtmpfs: initialized
[    0.008211] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[    0.008520] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.008554] futex hash table entries: 256 (order: 2, 16384 bytes, linear)
[    0.008820] pinctrl core: initialized pinctrl subsystem
[    0.009862] NET: Registered protocol family 16
[    0.010483] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.011751] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[    0.011770] hw-breakpoint: maximum watchpoint size is 8 bytes.
[    0.035360] SCSI subsystem initialized
[    0.035550] usbcore: registered new interface driver usbfs
[    0.035608] usbcore: registered new interface driver hub
[    0.035722] usbcore: registered new device driver usb
[    0.035959] mc: Linux media interface: v0.10
[    0.035999] videodev: Linux video capture interface: v2.00
[    0.036212] Advanced Linux Sound Architecture Driver Initialized.
[    0.037537] clocksource: Switched to clocksource arch_sys_counter
[    0.050082] NET: Registered protocol family 2
[    0.050901] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
[    0.050942] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.050968] TCP bind hash table entries: 1024 (order: 1, 8192 bytes, linear)
[    0.050991] TCP: Hash tables configured (established 1024 bind 1024)
[    0.051142] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.051193] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.051491] NET: Registered protocol family 1
[    0.053387] Initialise system trusted keyrings
[    0.053771] workingset: timestamp_bits=30 max_order=14 bucket_order=0
[    0.090936] Key type asymmetric registered
[    0.090959] Asymmetric key parser 'x509' registered
[    0.091062] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 250)
[    0.091073] io scheduler mq-deadline registered
[    0.091079] io scheduler kyber registered
[    0.092121] sun4i-usb-phy 1c19400.phy: Couldn't request ID GPIO
[    0.095902] sun8i-v3s-pinctrl 1c20800.pinctrl: initialized sunXi PIO driver
[    0.096330] sun8i-v3s-pinctrl 1c20800.pinctrl: 1c20800.pinctrl supply vcc-pb not found, using dummy regulator
[    0.097027] pwm-backlight backlight: backlight supply power not found, using dummy regulator
[    0.198712] Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled
[    0.202058] printk: console [ttyS0] disabled
[    0.222367] 1c28000.serial: ttyS0 at MMIO 0x1c28000 (irq = 34, base_baud = 1500000) is a U6_16550A
[    0.745121] printk: console [ttyS0] enabled
[    0.751087] sun8i-v3s-pinctrl 1c20800.pinctrl: 1c20800.pinctrl supply vcc-pe not found, using dummy regulator
[    0.784352] panel-simple panel: panel supply power not found, using dummy regulator
[    0.793585] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    0.800254] ehci-platform: EHCI generic platform driver
[    0.805763] ehci-platform 1c1a000.usb: EHCI Host Controller
[    0.811443] ehci-platform 1c1a000.usb: new USB bus registered, assigned bus number 1
[    0.819442] ehci-platform 1c1a000.usb: irq 26, io mem 0x01c1a000
[    0.847556] ehci-platform 1c1a000.usb: USB 2.0 started, EHCI 1.00
[    0.854742] hub 1-0:1.0: USB hub found
[    0.858690] hub 1-0:1.0: 1 port detected
[    0.863308] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    0.869632] ohci-platform: OHCI generic platform driver
[    0.875174] ohci-platform 1c1a400.usb: Generic Platform OHCI controller
[    0.881899] ohci-platform 1c1a400.usb: new USB bus registered, assigned bus number 2
[    0.889865] ohci-platform 1c1a400.usb: irq 27, io mem 0x01c1a400
[    0.962661] hub 2-0:1.0: USB hub found
[    0.966493] hub 2-0:1.0: 1 port detected
[    0.973841] usbcore: registered new interface driver usb-storage
[    0.981429] sun6i-rtc 1c20400.rtc: registered as rtc0
[    0.986493] sun6i-rtc 1c20400.rtc: RTC enabled
[    0.991208] i2c /dev entries driver
[    0.996161] input: ns2009_ts as /devices/platform/soc/1c2ac00.i2c/i2c-0/0-0048/input/input0
[    1.005795] sunxi-wdt 1c20ca0.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0)
[    1.014511] sun8i-v3s-pinctrl 1c20800.pinctrl: 1c20800.pinctrl supply vcc-pf not found, using dummy regulator
[    1.050183] sunxi-mmc 1c0f000.mmc: initialized, max. request size: 16384 KB
[    1.057787] sun8i-v3s-pinctrl 1c20800.pinctrl: 1c20800.pinctrl supply vcc-pg not found, using dummy regulator
[    1.069174] usbcore: registered new interface driver usbhid
[    1.074750] usbhid: USB HID core driver
[    1.081357] Initializing XFRM netlink socket
[    1.085670] NET: Registered protocol family 17
[    1.090822] Registering SWP/SWPB emulation handler
[    1.096711] Loading compiled-in X.509 certificates
[    1.107986] sun8i-v3s-pinctrl 1c20800.pinctrl: 1c20800.pinctrl supply vcc-pe not found, using dummy regulator
[    1.120460] sun4i-drm display-engine: bound 1100000.mixer (ops 0xc07468c0)
[    1.128038] sun4i-drm display-engine: bound 1c0c000.lcd-controller (ops 0xc0743bbc)
[    1.135700] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[    1.142375] [drm] No driver support for vblank timestamp query.
[    1.149410] [drm] Initialized sun4i-drm 1.0.0 20150629 for display-engine on minor 0
[    1.189959] mmc0: host does not support reading read-only switch, assuming write-enable
[    1.192214] mmc0: new high speed SDHC card at address 5048
[    1.194049] mmcblk0: mmc0:5048 SD32G 29.7 GiB
[    1.196565]  mmcblk0: p1 p2
[    1.209833] Console: switching to colour frame buffer device 100x30
[    1.258926] sun4i-drm display-engine: fb0: sun4i-drmdrmfb frame buffer device
[    1.266904] usb_phy_generic usb_phy_generic.0.auto: usb_phy_generic.0.auto supply vcc not found, using dummy regulator
[    1.278403] musb-hdrc musb-hdrc.1.auto: MUSB HDRC host driver
[    1.284168] musb-hdrc musb-hdrc.1.auto: new USB bus registered, assigned bus number 3
[    1.293268] hub 3-0:1.0: USB hub found
[    1.297173] hub 3-0:1.0: 1 port detected
[    1.302341] sun6i-rtc 1c20400.rtc: setting system clock to 1970-01-01T00:00:55 UTC (55)
[    1.310689] vcc3v0: disabling
[    1.313669] vcc5v0: disabling
[    1.316674] ALSA device list:
[    1.319700]   No soundcards found.
[    1.342207] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[    1.350539] VFS: Mounted root (ext4 filesystem) on device 179:2.
[    1.359038] devtmpfs: mounted
[    1.363361] Freeing unused kernel memory: 1024K
[    1.368177] Run /sbin/init as init process
[    1.506928] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
Starting syslogd: OK
Starting klogd: OK
Running sysctl: OK
Initializing random number generator: OK
Saving random seed: [    1.745164] random: dd: uninitialized urandom read (512 bytes read)
[    1.777736] usb 1-1: new high-speed USB device number 2 using ehci-platform
OK
Starting system message bus: [    1.849986] random: dbus-uuidgen: uninitialized urandom read (12 bytes read)
[    1.857128] random: dbus-uuidgen: uninitialized urandom read (8 bytes read)
done
Starting network: [    1.990111] hub 1-1:1.0: USB hub found
[    1.994998] hub 1-1:1.0: 4 ports detected
OK

Welcome to Buildroot
buildroot login: [    5.444325] random: fast init done
root
# mp
mp4art        mp4extract    mp4info       mp4tags       mp4trackdump
mp4chaps      mp4file       mp4subtitle   mp4track      mpv
# mpv --fs test/badapple.mp4
 (+) Video --vid=1 (*) (h264 800x480 30.000fps)
 (+) Audio --aid=1 (*) (aac 2ch 48000Hz)
File tags:
 Description: Packed by Bilibili XCoder v2.0.2
[vo/sdl] SDL_Init failed
Error opening/initializing the selected video_out (--vo) device.
Video: no video

Exiting... (Errors when loading file)
#

离线

#1 2023-10-11 22:25:44

a1211762993
会员
注册时间: 2020-03-07
已发帖子: 22
积分: 52

Re: 初学嵌入式,搞了个荔枝zero,烧录搞完了,但是播放视频还是不行,譬如badapple(笑),感兴趣的大佬可以教教萌新嘛,感谢!

用buildroot,make menuconfig 之后 勾选Target packages  ->  Audio and video applicantions  ->  mplayer,再make,就可以用mplayer播放视频了

离线

页脚

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

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