Navigation

    全志在线开发者论坛

    • Register
    • Login
    • Search
    • Categories
    • Tags
    • 在线文档
    • 社区主页
    1. Home
    2. mumula
    M
    • Profile
    • Following 0
    • Followers 0
    • my integral 554
    • Topics 3
    • Posts 14
    • Best 0
    • Groups 0

    mumulaLV 4

    @mumula

    554
    integral
    0
    Reputation
    3
    Profile views
    14
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    mumula Unfollow Follow

    Latest posts made by mumula

    • Reply: 关于Tina LINUX的config文件

      @yuzukitsuru 那必然是有。。。 不过我把第一遍编译好的.config文件 拷贝覆盖了device下的config文件,暂时避过了这个问题。
      diff.patch
      这是用默认编译时生成的.config文件和device/config/chips/d1-h/configs/nezha/linux-5.4/config-5.4文件的差异

      posted in D1系列-RISC-V
      M
      mumula
    • Reply: pack打包问题

      @whycan 我关闭了这个终端,重新source环境变量,lunch make后就正常了

      posted in 代码下载问题专区
      M
      mumula
    • Reply: 关于Tina LINUX的config文件

      @yuzukitsuru
      啊这 ,我用的最新拷贝下来的代码,确实默认直接make编译的时候 不会用deivice下的config文件,要不您验证一下。。

      posted in D1系列-RISC-V
      M
      mumula
    • Reply: pack打包问题

      hello 晕哥
      第一次编译完成后 打包的镜像是27M大小。

      后面改了内核配置编了几次也是27M左右算正常。
      但是在配置完某次内核后,再打包。此时生成的镜像
      只有16M。内核启动时会报错

      [    0.000000] Linux version 5.4.61 (haohb@ubuntu) (riscv64-unknown-linux-gnu-gcc (C-SKY RISCV Tools V1.8.4 B20200702) 8.1.0, GNU ld (GNU Binutils) 2.32) #5 PREEMPT Sun May 22 16:19:04 UTC 2022
      [    0.000000] cma: Reserved 8 MiB at 0x000000007f800000
      [    0.000000] Zone ranges:
      [    0.000000]   DMA32    [mem 0x0000000040000000-0x000000007fffffff]
      [    0.000000]   Normal   empty
      [    0.000000] Movable zone start for each node
      [    0.000000] Early memory node ranges
      [    0.000000]   node   0: [mem 0x0000000040000000-0x000000007fffffff]
      [    0.000000] Initmem setup node 0 [mem 0x0000000040000000-0x000000007fffffff]
      [    0.000000] On node 0 totalpages: 262144
      [    0.000000]   DMA32 zone: 3584 pages used for memmap
      [    0.000000]   DMA32 zone: 0 pages reserved
      [    0.000000]   DMA32 zone: 262144 pages, LIFO batch:63
      [    0.000000] elf_hwcap is 0x20112d
      [    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
      [    0.000000] pcpu-alloc: [0] 0 
      [    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 258560
      [    0.000000] Kernel command line: ubi.mtd=sys ubi.block=0,rootfs earlyprintk=sunxi-uart,0x02500000 clk_ignore_unused initcall_debug=0 console=ttyS0,115200 loglevel=8 root=/dev/ubiblock0_5 rootfstype=squashfs init=/sbin/init partitions=mbr@ubi0_0:boot-resource@ubi0_1:env@ubi0_2:env-redund@ubi0_3:boot@ubi0_4:rootfs@ubi0_5:dsp0@ubi0_6:recovery@ubi0_7:UDISK@ubi0_8: cma=8M snum= mac_addr= wifi_mac= bt_mac= specialstr= gpt=1 androidboot.hardware=sun20iw1p1 boot_type=5 androidboot.boot_type=5 gpt=1 uboot_message=2018.05-g24521d6-dirty(05/22/2022-
      [    0.000000] Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes, linear)
      [    0.000000] Inode-cache hash table entries: 65536 (order: 7, 524288 bytes, linear)
      [    0.000000] Sorting __ex_table...
      [    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
      [    0.000000] Memory: 1013328K/1048576K available (6356K kernel code, 666K rwdata, 2140K rodata, 184K init, 260K bss, 27056K reserved, 8192K cma-reserved)
      [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
      [    0.000000] rcu: Preemptible hierarchical RCU implementation.
      [    0.000000] 	Tasks RCU enabled.
      [    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
      [    0.000000] NR_IRQS: 0, nr_irqs: 0, preallocated irqs: 0
      [    0.000000] plic: mapped 200 interrupts with 1 handlers for 2 contexts.
      [    0.000000] riscv_timer_init_dt: Registering clocksource cpuid [0] hartid [0]
      [    0.000000] clocksource: riscv_clocksource: mask: 0xffffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
      [    0.000006] sched_clock: 64 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
      [    0.000022] riscv_timer_clockevent depends on broadcast, but no broadcast function available
      [    0.000423] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
      [    0.001087] Console: colour dummy device 80x25
      [    0.001120] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000)
      [    0.001137] pid_max: default: 32768 minimum: 301
      [    0.001597] Mount-cache hash table entries: 2048 (order: 2, 16384 bytes, linear)
      [    0.001623] Mountpoint-cache hash table entries: 2048 (order: 2, 16384 bytes, linear)
      [    0.005603] ASID allocator initialised with 65536 entries
      [    0.005875] rcu: Hierarchical SRCU implementation.
      [    0.007073] devtmpfs: initialized
      [    0.076755] random: get_random_u32 called from bucket_table_alloc.isra.31+0x4e/0x15e with crng_init=0
      [    0.078289] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
      [    0.078318] futex hash table entries: 256 (order: 0, 6144 bytes, linear)
      [    0.078762] pinctrl core: initialized pinctrl subsystem
      [    0.082832] NET: Registered protocol family 16
      [    0.085050] DMA: preallocated 256 KiB pool for atomic allocations
      [    0.087208] cpuidle: using governor menu
      [    0.178808] rtc_ccu: sunxi ccu init OK
      [    0.195291] clock: sunxi ccu init OK
      [    0.196692] clock: sunxi ccu init OK
      [    0.300692] iommu: Default domain type: Translated 
      [    0.301120] sunxi iommu: irq = 4
      [    0.304858] SCSI subsystem initialized
      [    0.305942] usbcore: registered new interface driver usbfs
      [    0.306262] usbcore: registered new interface driver hub
      [    0.306506] usbcore: registered new device driver usb
      [    0.307160] mc: Linux media interface: v0.10
      [    0.307382] videodev: Linux video capture interface: v2.00
      [    0.310376] sunxi-msgbox-amp 3003000.msgbox: invalid resource
      [    0.312492] Advanced Linux Sound Architecture Driver Initialized.
      [    0.314450] Bluetooth: Core ver 2.22
      [    0.314629] NET: Registered protocol family 31
      [    0.314642] Bluetooth: HCI device and connection manager initialized
      [    0.314674] Bluetooth: HCI socket layer initialized
      [    0.314699] Bluetooth: L2CAP socket layer initialized
      [    0.314776] Bluetooth: SCO socket layer initialized
      [    0.315406] pwm module init!
      [    0.318277] g2d 5410000.g2d: Adding to iommu group 0
      [    0.319308] G2D: rcq version initialized.major:250
      [    0.320982] input: sunxi-keyboard as /devices/virtual/input/input0
      [    0.322824] clocksource: Switched to clocksource riscv_clocksource
      [    0.357331] sun8iw20-pinctrl 2000000.pinctrl: initialized sunXi PIO driver
      [    0.398346] thermal_sys: Registered thermal governor 'user_space'
      [    0.398352] thermal_sys: Registered thermal governor 'power_allocator'
      [    0.399778] NET: Registered protocol family 2
      [    0.401524] tcp_listen_portaddr_hash hash table entries: 512 (order: 1, 8192 bytes, linear)
      [    0.401608] TCP established hash table entries: 8192 (order: 4, 65536 bytes, linear)
      [    0.401712] TCP bind hash table entries: 8192 (order: 4, 65536 bytes, linear)
      [    0.401796] TCP: Hash tables configured (established 8192 bind 8192)
      [    0.402124] UDP hash table entries: 512 (order: 2, 16384 bytes, linear)
      [    0.402183] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes, linear)
      [    0.402639] NET: Registered protocol family 1
      [    0.405360] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pc not found, using dummy regulator
      [    0.406377] spi spi0: spi0 supply spi not found, using dummy regulator
      [    0.407032] sunxi_spi_resource_get()2151 - [spi0] SPI MASTER MODE
      [    0.407193] sunxi_spi_resource_get()2189 - Failed to get sample mode
      [    0.407206] sunxi_spi_resource_get()2194 - Failed to get sample delay
      [    0.407216] sunxi_spi_resource_get()2198 - sample_mode:-1431633921 sample_delay:-1431633921
      [    0.407276] sunxi_spi_clk_init()2240 - [spi0] mclk 100000000
      [    0.408893] sunxi_spi_probe()2653 - [spi0]: driver probe succeed, base ffffffd004060000, irq 31
      [    0.412323] Initialise system trusted keyrings
      [    0.412752] workingset: timestamp_bits=62 max_order=18 bucket_order=0
      [    0.489630] squashfs: version 4.0 (2009/01/31) Phillip Lougher
      [    0.512105] Key type asymmetric registered
      [    0.512119] Asymmetric key parser 'x509' registered
      [    0.512201] io scheduler mq-deadline registered
      [    0.512211] io scheduler kyber registered
      [    0.512230] atomic64_test: passed
      [    0.518591] [DISP##########]disp_module_init
      [    0.519676] disp 5000000.disp: Adding to iommu group 0
      [    0.557121] display_fb_request,fb_id:0
      [    0.584614] [DISP] Fb_copy_boot_fb,line:1443:
      [    0.584618] no boot_fb0
      [    0.585551] disp_al_manager_apply ouput_type:0
      [    0.586019] [DISP] lcd_clk_config,line:732:
      [    0.586030] disp 0, clk: pll(420000000),clk(420000000),dclk(70000000) dsi_rate(70000000)
      [    0.586030]      clk real:pll(420000000),clk(420000000),dclk(105000000) dsi_rate(150000000)
      [    0.587276] [DISP]disp_module_init finish
      [    0.588470] sunxi_sid_init()551 - insmod ok
      [    0.589522] pwm-regulator: supplied by regulator-dummy
      [    0.607286] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pb not found, using dummy regulator
      [    0.607929] uart uart0: get regulator failed
      [    0.607957] uart uart0: uart0 supply uart not found, using dummy regulator
      [    0.608753] uart0: ttyS0 at MMIO 0x2500000 (irq = 18, base_baud = 1500000) is a SUNXI
      [    0.608778] sw_console_setup()1808 - console setup baud 115200 parity n bits 8, flow n
      [    0.644617] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pd not found, using dummy regulator
      [    0.938505] [DISP] disp_device_attached_and_enable,line:233:
      [    0.938512] attached ok, mgr0<-->dev0
      [    0.938516] [DISP] disp_device_attached_and_enable,line:236:
      [    0.938524] type:1,mode:0,fmt:rgb,bits:8bits,eotf:4,cs:0 dvi_hdmi:2, range:2 scan:0 ratio:8
      [    1.462158] printk: console [ttyS0] enabled
      [    1.468566] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pg not found, using dummy regulator
      [    1.480141] uart uart1: get regulator failed
      [    1.485008] uart uart1: uart1 supply uart not found, using dummy regulator
      [    1.493613] uart1: ttyS1 at MMIO 0x2500400 (irq = 19, base_baud = 1500000) is a SUNXI
      [    1.504624] misc dump reg init
      [    1.509804] sunxi-rfkill soc@3000000:rfkill@0: module version: v1.0.9
      [    1.517177] sunxi-rfkill soc@3000000:rfkill@0: get gpio chip_en failed
      [    1.524550] sunxi-rfkill soc@3000000:rfkill@0: get gpio power_en failed
      [    1.531973] sunxi-rfkill soc@3000000:rfkill@0: wlan_busnum (1)
      [    1.538515] sunxi-rfkill soc@3000000:rfkill@0: Missing wlan_power.
      [    1.545543] sunxi-rfkill soc@3000000:rfkill@0: wlan clock[0] (32k-fanout1)
      [    1.553333] sunxi-rfkill soc@3000000:rfkill@0: wlan_regon gpio=204 assert=1
      [    1.561264] sunxi-rfkill soc@3000000:rfkill@0: wlan_hostwake gpio=202 assert=1
      [    1.569499] sunxi-rfkill soc@3000000:rfkill@0: wakeup source is enabled
      [    1.577500] sunxi-rfkill soc@3000000:rfkill@0: Missing bt_power.
      [    1.584331] sunxi-rfkill soc@3000000:rfkill@0: bt clock[0] (32k-fanout1)
      [    1.591881] sunxi-rfkill soc@3000000:rfkill@0: bt_rst gpio=210 assert=0
      [    1.600853] [ADDR_MGT] addr_mgt_probe: module version: v1.0.10
      [    1.608634] [ADDR_MGT] addr_mgt_probe: success.
      [    1.616584] sunxi-spinand: AW SPINand MTD Layer Version: 2.0 20201228
      [    1.623844] sunxi-spinand-phy: AW SPINand Phy Layer Version: 1.10 20200306
      [    1.631735] sunxi-spinand-phy: not detect any munufacture from id table
      [    1.639201] sunxi-spinand-phy: get spi-nand Model from fdt fail
      [    1.645877] sunxi-spinand-phy: get phy info from fdt fail
      [    1.651896] sunxi-spinand-phy: not detect munufacture from fdt
      [    1.658600] sunxi-spinand-phy: detect munufacture from id table: Mxic
      [    1.665846] sunxi-spinand-phy: detect spinand id: ff0326c2 ffffffff
      [    1.672855] sunxi-spinand-phy: ========== arch info ==========
      [    1.679373] sunxi-spinand-phy: Model:               MX35LF2GE4AD
      [    1.686091] sunxi-spinand-phy: Munufacture:         Mxic
      [    1.692025] sunxi-spinand-phy: DieCntPerChip:       1
      [    1.697679] sunxi-spinand-phy: BlkCntPerDie:        2048
      [    1.703617] sunxi-spinand-phy: PageCntPerBlk:       64
      [    1.709356] sunxi-spinand-phy: SectCntPerPage:      4
      [    1.715010] sunxi-spinand-phy: OobSizePerPage:      64
      [    1.720736] sunxi-spinand-phy: BadBlockFlag:        0x1
      [    1.726608] sunxi-spinand-phy: OperationOpt:        0x7
      [    1.732430] sunxi-spinand-phy: MaxEraseTimes:       65000
      [    1.738469] sunxi-spinand-phy: EccFlag:             0x2
      [    1.744343] sunxi-spinand-phy: EccType:             8
      [    1.749972] sunxi-spinand-phy: EccProtectedType:    3
      [    1.755621] sunxi-spinand-phy: ========================================
      [    1.763044] sunxi-spinand-phy: 
      [    1.766543] sunxi-spinand-phy: ========== physical info ==========
      [    1.773483] sunxi-spinand-phy: TotalSize:    256 M
      [    1.778821] sunxi-spinand-phy: SectorSize:   512 B
      [    1.784182] sunxi-spinand-phy: PageSize:     2 K
      [    1.789341] sunxi-spinand-phy: BlockSize:    128 K
      [    1.794705] sunxi-spinand-phy: OOBSize:      64 B
      [    1.799946] sunxi-spinand-phy: ========================================
      [    1.807363] sunxi-spinand-phy: 
      [    1.810862] sunxi-spinand-phy: ========== logical info ==========
      [    1.817676] sunxi-spinand-phy: TotalSize:    256 M
      [    1.823063] sunxi-spinand-phy: SectorSize:   512 B
      [    1.828401] sunxi-spinand-phy: PageSize:     4 K
      [    1.833568] sunxi-spinand-phy: BlockSize:    256 K
      [    1.838922] sunxi-spinand-phy: OOBSize:      128 B
      [    1.844283] sunxi-spinand-phy: ========================================
      [    1.851783] sunxi-spinand-phy: block lock register: 0x00
      [    1.857940] sunxi-spinand-phy: feature register: 0x11
      [    1.863647] sunxi-spinand-phy: sunxi physic nand init end
      [    1.870916] Creating 4 MTD partitions on "sunxi_mtd_nand":
      [    1.877162] 0x000000000000-0x000000100000 : "boot0"
      [    1.895922] 0x000000100000-0x000000500000 : "uboot"
      [    1.902495] random: fast init done
      [    1.936019] 0x000000500000-0x000000600000 : "secure_storage"
      [    1.955804] 0x000000600000-0x000010000000 : "sys"
      [    2.330063] random: crng init done
      [    3.047392] libphy: Fixed MDIO Bus: probed
      [    3.051964] CAN device driver interface
      [    3.058491] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pe not found, using dummy regulator
      [    3.070011] sunxi gmac driver's version: 1.0.0
      [    3.075433] gmac-power0: NULL
      [    3.078742] gmac-power1: NULL
      [    3.082046] gmac-power2: NULL
      [    3.088171] Failed to alloc md5
      [    3.091712] eth0: Use random mac address
      [    3.096762] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
      [    3.104142] sunxi-ehci: EHCI SUNXI driver
      [    3.109319] get ehci1-controller wakeup-source is fail.
      [    3.115531] sunxi ehci1-controller don't init wakeup source
      [    3.121786] [sunxi-ehci1]: probe, pdev->name: 4200000.ehci1-controller, sunxi_ehci: 0xffffffe000950798, 0x:ffffffd00407c000, irq_no:31
      [    3.135448] sunxi-ehci 4200000.ehci1-controller: 4200000.ehci1-controller supply drvvbus not found, using dummy regulator
      [    3.148425] sunxi-ehci 4200000.ehci1-controller: 4200000.ehci1-controller supply hci not found, using dummy regulator
      [    3.160923] sunxi-ehci 4200000.ehci1-controller: EHCI Host Controller
      [    3.168241] sunxi-ehci 4200000.ehci1-controller: new USB bus registered, assigned bus number 1
      [    3.178411] sunxi-ehci 4200000.ehci1-controller: irq 49, io mem 0x04200000
      [    3.212871] sunxi-ehci 4200000.ehci1-controller: USB 2.0 started, EHCI 1.00
      [    3.223333] hub 1-0:1.0: USB hub found
      [    3.227632] hub 1-0:1.0: 1 port detected
      [    3.233905] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
      [    3.240877] sunxi-ohci: OHCI SUNXI driver
      [    3.246078] get ohci1-controller wakeup-source is fail.
      [    3.252138] sunxi ohci1-controller don't init wakeup source
      [    3.258399] [sunxi-ohci1]: probe, pdev->name: 4200400.ohci1-controller, sunxi_ohci: 0xffffffe0009512f0
      [    3.268933] sunxi-ohci 4200400.ohci1-controller: 4200400.ohci1-controller supply drvvbus not found, using dummy regulator
      [    3.281847] sunxi-ohci 4200400.ohci1-controller: 4200400.ohci1-controller supply hci not found, using dummy regulator
      [    3.294226] sunxi-ohci 4200400.ohci1-controller: OHCI Host Controller
      [    3.301556] sunxi-ohci 4200400.ohci1-controller: new USB bus registered, assigned bus number 2
      [    3.311660] sunxi-ohci 4200400.ohci1-controller: irq 50, io mem 0x04200400
      [    3.389415] hub 2-0:1.0: USB hub found
      [    3.393794] hub 2-0:1.0: 1 port detected
      [    3.400411] usbcore: registered new interface driver uas
      [    3.406791] usbcore: registered new interface driver usb-storage
      [    3.413755] usbcore: registered new interface driver ums-alauda
      [    3.420608] usbcore: registered new interface driver ums-cypress
      [    3.427542] usbcore: registered new interface driver ums-datafab
      [    3.434513] usbcore: registered new interface driver ums_eneub6250
      [    3.441571] usbcore: registered new interface driver ums-freecom
      [    3.448576] usbcore: registered new interface driver ums-isd200
      [    3.455410] usbcore: registered new interface driver ums-jumpshot
      [    3.462377] usbcore: registered new interface driver ums-karma
      [    3.469150] usbcore: registered new interface driver ums-onetouch
      [    3.476273] usbcore: registered new interface driver ums-realtek
      [    3.483250] usbcore: registered new interface driver ums-sddr09
      [    3.490066] usbcore: registered new interface driver ums-sddr55
      [    3.496942] usbcore: registered new interface driver ums-usbat
      [    3.505177] sunxi_gpadc_init,2151, success
      [    3.510845] sunxi-rtc 7090000.rtc: errata__fix_alarm_day_reg_default_value(): ALARM0_DAY_REG=0, set it to 1
      [    3.524676] sunxi-rtc 7090000.rtc: registered as rtc0
      [    3.530455] sunxi-rtc 7090000.rtc: setting system clock to 1970-01-01T00:00:05 UTC (5)
      [    3.539415] sunxi-rtc 7090000.rtc: sunxi rtc probed
      [    3.545565] i2c /dev entries driver
      [    3.549640] IR NEC protocol handler initialized
      [    3.555636] sunxi cedar version 1.1
      [    3.559918] sunxi-cedar 1c0e000.ve: Adding to iommu group 0
      [    3.566302] VE: install start!!!
      [    3.566302] 
      [    3.572263] VE: cedar-ve the get irq is 6
      [    3.572263] 
      [    3.578905] VE: ve_debug_proc_info:00000000ee51ef8b, data:00000000c9996067, lock:000000008b04c6cd
      [    3.578905] 
      [    3.590489] VE: install end!!!
      [    3.590489] 
      [    3.595600] VE: sunxi_cedar_probe
      [    3.602070] sunxi-wdt 6011000.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0)
      [    3.611424] Bluetooth: HCI UART driver ver 2.3
      [    3.616419] Bluetooth: HCI UART protocol H4 registered
      [    3.622147] Bluetooth: HCI UART protocol BCSP registered
      [    3.628140] Bluetooth: XRadio Bluetooth LPM Mode Driver Ver 1.0.10
      [    3.635628] [XR_BT_LPM] bluesleep_probe: bt_wake polarity: 1
      [    3.642137] [XR_BT_LPM] bluesleep_probe: host_wake polarity: 1
      [    3.648784] [XR_BT_LPM] bluesleep_probe: wakeup source is disabled!
      [    3.648784] 
      [    3.657452] [XR_BT_LPM] bluesleep_probe: uart_index(1)
      [    3.669088] sunxi-mmc 4020000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.21 2021-11-18 10:02)
      [    3.679152] sunxi-mmc 4020000.sdmmc: ***ctl-spec-caps*** 8
      [    3.685367] sunxi-mmc 4020000.sdmmc: No vmmc regulator found
      [    3.691704] sunxi-mmc 4020000.sdmmc: No vqmmc regulator found
      [    3.698142] sunxi-mmc 4020000.sdmmc: No vdmmc regulator found
      [    3.704571] sunxi-mmc 4020000.sdmmc: No vd33sw regulator found
      [    3.711092] sunxi-mmc 4020000.sdmmc: No vd18sw regulator found
      [    3.717622] sunxi-mmc 4020000.sdmmc: No vq33sw regulator found
      [    3.724187] sunxi-mmc 4020000.sdmmc: No vq18sw regulator found
      [    3.731603] sunxi-mmc 4020000.sdmmc: Got CD GPIO
      [    3.737277] sunxi-mmc 4020000.sdmmc: set cd-gpios as 24M fail
      [    3.744404] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B
      [    3.755586] sunxi-mmc 4020000.sdmmc: no vqmmc,Check if there is regulator
      [    3.775740] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
      [    3.800267] sunxi-mmc 4020000.sdmmc: detmode:gpio irq
      [    3.806001] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B
      [    3.818350] sunxi-mmc 4021000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.21 2021-11-18 10:02)
      [    3.828498] sunxi-mmc 4021000.sdmmc: ***ctl-spec-caps*** 8
      [    3.834747] sunxi-mmc 4021000.sdmmc: No vmmc regulator found
      [    3.841090] sunxi-mmc 4021000.sdmmc: No vqmmc regulator found
      [    3.847531] sunxi-mmc 4021000.sdmmc: No vdmmc regulator found
      [    3.853998] sunxi-mmc 4021000.sdmmc: No vd33sw regulator found
      [    3.860504] sunxi-mmc 4021000.sdmmc: No vd18sw regulator found
      [    3.867032] sunxi-mmc 4021000.sdmmc: No vq33sw regulator found
      [    3.873588] sunxi-mmc 4021000.sdmmc: No vq18sw regulator found
      [    3.880201] sunxi-mmc 4021000.sdmmc: Cann't get pin bias hs pinstate,check if needed
      [    3.890375] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B
      [    3.901574] sunxi-mmc 4021000.sdmmc: no vqmmc,Check if there is regulator
      [    3.921719] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
      [    3.945985] sunxi-mmc 4021000.sdmmc: detmode:manually by software
      [    3.954306] sunxi_led_probe()1749 - start
      [    3.958840] sunxi_get_str_of_property()1595 - failed to get the string of propname led_regulator!
      [    3.968863] sunxi_register_led_classdev()1483 - led_classdev start
      [    3.975776] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !!
      [    3.983492] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !!
      [    3.990329] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
      [    4.015697] sunxi_led_probe()1845 - finish
      [    4.020319] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
      [    4.033326] usbcore: registered new interface driver usbhid
      [    4.039539] usbhid: USB HID core driver
      [    4.044235] rpmsg_client_dsp_standby 3003000.msgbox.sunxi,dsp-power-msgbox.512.256: new channel: 0x200 -> 0x100!
      [    4.056496] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !!
      [    4.064081] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !!
      [    4.071628] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !!
      [    4.079210] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !!
      [    4.086007] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B
      [    4.097607] usbcore: registered new interface driver snd-usb-audio
      [    4.111461] sunxi-daudio 2034000.daudio: regulator missing or invalid
      [    4.120723] [AUDIOCODEC][sunxi_codec_parse_params][2412]:digital_vol:0, lineout_vol:26, mic1gain:19, mic2gain:19 pa_msleep:120, pa_level:1, pa_pwr_level:1
      [    4.120723] 
      [    4.137889] [AUDIOCODEC][sunxi_codec_parse_params][2448]:adcdrc_cfg:0, adchpf_cfg:1, dacdrc_cfg:0, dachpf:0
      [    4.149674] [AUDIOCODEC][sunxi_internal_codec_probe][2609]:codec probe finished
      [    4.160442] sid_rd_ver_reg()254 - ver >= 4, soc ver:5
      [    4.166208] debugfs: Directory '203034c.dummy_cpudai' with parent 'audiocodec' already present!
      [    4.176040] [SNDCODEC][sunxi_card_init][583]:card init finished
      [    4.185454] sunxi-codec-machine 2030340.sound: 2030000.codec <-> 203034c.dummy_cpudai mapping ok
      [    4.199232] input: audiocodec sunxi Audio Jack as /devices/platform/soc@3000000/2030340.sound/sound/card0/input1
      [    4.212268] [SNDCODEC][sunxi_card_dev_probe][836]:register card finished
      [    4.221049] sunxi-rpaf-dsp soc@3000000:rpaf-dsp@203034c: register device finished!
      [    4.229603] sunxi-rpaf-dsp soc@3000000:rpaf-dsp@203034c: [rpaf_dsp0] probe finished!
      [    4.238989] rpmsg_hifi 3003000.msgbox.sunxi,dsp-msgbox.514.258: id:sunxi,dsp-msgbox new channel: 0x202 -> 0x102!
      [    4.250723] rpmsg_hifi 3003000.msgbox.sunxi,dsp-msgbox.514.258: rpmsg hifi[0] client driver is probed
      [    4.269184] NET: Registered protocol family 10
      [    4.280161] Segment Routing with IPv6
      [    4.285343] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
      [    4.294330] NET: Registered protocol family 17
      [    4.300089] can: controller area network core (rev 20170425 abi 9)
      [    4.308057] NET: Registered protocol family 29
      [    4.313069] can: raw protocol (rev 20170425)
      [    4.317832] can: broadcast manager protocol (rev 20170425 t)
      [    4.324240] can: netlink gateway (rev 20190810) max_hops=1
      [    4.331463] Bluetooth: RFCOMM TTY layer initialized
      [    4.337174] Bluetooth: RFCOMM socket layer initialized
      [    4.343040] Bluetooth: RFCOMM ver 1.11
      [    4.349488] Loading compiled-in X.509 certificates
      [    4.358821] HDMI 2.0 driver init start!
      [    4.363215] boot_hdmi=false
      [    4.366431] ERROR: pinctrl_get for HDMI2.0 DDC fail
      [    4.373889] HDMI2.0 module init end
      [    4.442005] sunxi-i2c sunxi-i2c2: sunxi-i2c2 supply twi not found, using dummy regulator
      [    4.461467] pcf857x 2-0038: probed
      [    4.465520] sunxi-i2c sunxi-i2c2: probe success
      [    4.476923] debugfs: Directory '2031000.dmic' with parent 'snddmic' already present!
      [    4.487523] sunxi-audio-card 2031060.sounddmic: dmic-hifi <-> 2031000.dmic mapping ok
      [    4.499374] debugfs: Directory '2034000.daudio' with parent 'sndhdmi' already present!
      [    4.510591] sunxi-audio-card 20340a0.sounddaudio2: 20340a4.hdmiaudio <-> 2034000.daudio mapping ok
      [    4.523654] get ehci0-controller wakeup-source is fail.
      [    4.529683] sunxi ehci0-controller don't init wakeup source
      [    4.535997] [sunxi-ehci0]: probe, pdev->name: 4101000.ehci0-controller, sunxi_ehci: 0xffffffe0009503d0, 0x:ffffffd004ef7000, irq_no:2e
      [    4.549519] [sunxi-ehci0]: Not init ehci0
      [    4.554682] get ohci0-controller wakeup-source is fail.
      [    4.560761] sunxi ohci0-controller don't init wakeup source
      [    4.567044] [sunxi-ohci0]: probe, pdev->name: 4101400.ohci0-controller, sunxi_ohci: 0xffffffe000950f28
      [    4.577491] [sunxi-ohci0]: Not init ohci0
      [    4.583693] ubi0: attaching mtd3
      [    4.842914] [SNDCODEC][sunxi_check_hs_detect_status][191]:plugin --> switch:3
      [    5.677041] ubi0: scanning is finished
      [    5.702693] ubi0 warning: ubi_eba_init: cannot reserve enough PEBs for bad PEB handling, reserved 36, need 40
      [    5.725683] ubi0: attached mtd3 (name "sys", size 250 MiB)
      [    5.731806] ubi0: PEB size: 262144 bytes (256 KiB), LEB size: 258048 bytes
      [    5.739594] ubi0: min./max. I/O unit sizes: 4096/4096, sub-page size 2048
      [    5.747232] ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
      [    5.755065] ubi0: good PEBs: 1000, bad PEBs: 0, corrupted PEBs: 0
      [    5.761862] ubi0: user volume: 9, internal volumes: 1, max. volumes count: 128
      [    5.769998] ubi0: max/mean erase counter: 2/1, WL threshold: 4096, image sequence number: 0
      [    5.779352] ubi0: available PEBs: 0, total reserved PEBs: 1000, PEBs reserved for bad PEB handling: 36
      [    5.789795] ubi0: background thread "ubi_bgt0d" started, PID 71
      [    5.800774] block ubiblock0_5: created from ubi0:5(rootfs)
      [    5.809531] cfg80211: Loading compiled-in X.509 certificates for regulatory database
      [    5.821557] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
      [    5.829443] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
      [    5.839172] clk: Not disabling unused clocks
      [    5.844206] ALSA device list:
      [    5.847518]   #0: audiocodec
      [    5.850725]   #1: snddmic
      [    5.853773] cfg80211: failed to load regulatory.db
      [    5.859263]   #2: sndhdmi
      [    5.862214] alloc_fd: slot 0 not NULL!
      [    5.881947] VFS: Mounted root (squashfs filesystem) readonly on device 254:0.
      [    5.896368] devtmpfs: mounted
      [    5.899982] Freeing unused kernel memory: 184K
      [    5.905043] This architecture does not have kernel memory protection.
      [    5.912226] Run /sbin/init as init process
      [    5.970203] Kernel panic - not syncing: Requested init /sbin/init failed (error -2).
      [    5.978846] CPU: 0 PID: 1 Comm: swapper Not tainted 5.4.61 #5
      [    5.985247] Call Trace:
      [    5.987982] [<ffffffe0000303ce>] walk_stackframe+0x0/0xa0
      [    5.994001] [<ffffffe0000305b0>] show_stack+0x2a/0x34
      [    5.999640] [<ffffffe00064859e>] dump_stack+0x20/0x28
      [    6.005272] [<ffffffe000035376>] panic+0xee/0x2b6
      [    6.010516] [<ffffffe00065bf26>] kernel_init+0x8a/0xee
      [    6.016244] [<ffffffe00002f018>] ret_from_exception+0x0/0xc
      [    6.022459] ---[ end Kernel panic - not syncing: Requested init /sbin/init failed (error -2). ]---
      
      posted in 代码下载问题专区
      M
      mumula
    • pack打包问题

      使用pack打包后
      生成的tina_d1-h-nezha_uart0.img是17M比正常的镜像少了10M
      我中间只用mkernel重编了kernel

      posted in 代码下载问题专区
      M
      mumula
    • Reply: tplayerdemo播放视频bug

      @whycan 好吧

      posted in D1系列-RISC-V
      M
      mumula
    • 关于Tina LINUX的config文件

      当前下载了源码直接编译后内核源码下会生成一个.config
      在SDK根目录下使用make kernel_menuconfig来配置内核,但是运行完这个命令后内核的.config增加了许多之前没有的CONFIG选项。后来查到是使用了这个文件
      device/config/chips/d1-h/configs/nezha/linux-5.4
      但是正常在根目录下直接make -jxx的时候,该文件里的CONFIG选项是没有配置到内核里的。
      所以想问一下这个设计是出于什么考虑的?

      posted in D1系列-RISC-V
      M
      mumula
    • tplayerdemo播放视频bug

      刚收到的板子,使用默认的固件,屏幕用的是1080P的HDMI屏
      系统启动后运行如下命令

      root@TinaLinux:/sys/kernel/debug/dispdbg# history
         0 cd /sys/kernel/debug/dispdbg
         1 echo disp0 > name; echo switch1 > command; echo 4 10 0 0 0x4 0x101 0 0 0 8 > param; echo 1 > start;
         2 tplayerdemo /usr/lib/tt-data/01-1080P-HEVC-AAC-60F.mkv&
      
      

      出现大段的类似错误

      DEBUG  : cedarc <HevcParseExtraData:3250>: ****can not find the stream type!
      DEBUG  : cedarc <HevcParseExtraData:3250>: ****can not find the stream type!
      DEBUG  : cedarc <HevcParseExtraData:3250>: ****can not find the stream type!
      DEBUG  : cedarc <HevcParseExtraData:3250>: ****can not find the stream type!
      DEBUG  : cedarc <HevcParseExtraData:3250>: ****can not find the stream type!
      DEBUG  : cedarc <HevcParseExtraData:3250>: ****can not find the stream type!
      DEBUG  : cedarc <HevcParseExtraData:3250>: ****can not find the stream type!
      DEBUG  : cedarc <HevcParseExtraData:3250>: ****can not find the stream type!
      DEBUG  : cedarc <HevcParseExtraData:3250>: ****can not find the stream type!
      DEBUG  : cedarc <HevcParseExtraData:3250>: ****can not find the stream type!
      DEBUG  : cedarc <HevcParseExtraData:3250>: ****can not find the stream type!
      DEBUG  : cedarc <HevcParseExtraData:3250>: ****can not find the stream type!
      DEBUG  : cedarc <HevcParseExtraData:3250>: ****can not find the stream type!
      
      

      几秒钟后视频开始播放可以听到画面和声音
      但是只播了几秒钟就卡住了,打印信息如下

      DEBUG  : awplayer <BaseCompPostAndWait:61>: audio decoder receive cmd: start
      (Allwinner Audio Middle Layer),line(971) : Create Decoder!!=====
      DEBUG  : audioDecItf <handleStart:1065>: Create libadecoder success...
      (Allwinner Audio Middle Layer),line(603) : AudioDec_Installaudiolib ok
      (Allwinner Audio Middle Layer),line(606) : audio decoder init start ...
      (AllwinnerAlibs),line(50) : 
      >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Audio <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
      tag   : audiocodec-v1.2
      branch: new
      commit: 3ba65962c01cbf1280ddda19d843009b6ef8ce85
      date  : Tue Jan 8 16:25:27 2019 +0800
      ----------------------------------------------------------------------
      
      (AllwinnerAlibs),line(700) : ----Loading so success!
      (AllwinnerAlibs),line(902) : *************pAudioStreamInfo start******************
      (AllwinnerAlibs),line(903) : eCodecFormat         :id(4), name(aac low-complexy)
      (AllwinnerAlibs),line(904) : eSubCodecFormat      :0
      (AllwinnerAlibs),line(905) : nChannelNum          :2
      (AllwinnerAlibs),line(906) : nBitsPerSample       :32
      (AllwinnerAlibs),line(907) : nSampleRate          :48000
      (AllwinnerAlibs),line(908) : nAvgBitrate          :0
      (AllwinnerAlibs),line(909) : nMaxBitRate          :0
      (AllwinnerAlibs),line(910) : nFileSize            :0
      (AllwinnerAlibs),line(911) : eAudioBitstreamSource:0
      (AllwinnerAlibs),line(912) : eDataEncodeType      :1
      (AllwinnerAlibs),line(913) : nCodecSpecificDataLen:5
      (AllwinnerAlibs),line(914) : pCodecSpecificData   :0x3fc806b950
      (AllwinnerAlibs),line(915) : nFlags               :0
      (AllwinnerAlibs),line(916) : nBlockAlign          :0
      (AllwinnerAlibs),line(917) : *************pAudioStreamInfo end  ******************
      (AAC Decoder),line(36) : init successs...
      (Allwinner Audio Middle Layer),line(614) : AUDIO DECODE INIT OK...0
      DEBUG  : awplayer <BaseCompPostAndWait:61>: video render receive cmd: start
      DEBUG  : awplayer <handleStart:640>: video render handleStart:p->eStatus = 0
      DEBUG  : awplayer <BaseCompPostAndWait:61>: audio render receive cmd: start
      INFO   : audioRender <handleStart:295>: audio render process start message.
      DEBUG  : audioRender <initSoundDevice:478>: init sound device.
      DEBUG  : audioRender <initSoundDevice:486>: set sound devide param, sample rate = 48000, channel num = 2.
      DEBUG : tsoundcontrol <TSoundDeviceSetFormat:193>: TinaSoundDeviceSetFormat(),sc->sound_status == 2
      DEBUG : tsoundcontrol <TSoundDeviceSetFormat:195>: TinaSoundDeviceSetFormat()
      DEBUG : tsoundcontrol <TSoundDeviceSetFormat:201>: TinaSoundDeviceSetFormat()>>>sample_rate:48000,channel_num:2,sc->bytes_per_sample:4
      WARNING: awplayer <callbackProcess:3674>: message 0x40a not handled.
      DEBUG  : demuxComponent <DemuxThread:2115>: process message DEMUX_COMMAND_START.
      started.
      DEBUG  : awplayer <CallbackProcess:3171>: first audio pts = 0
      DEBUG  : cedarc <HevcSbmFrameCheckBitStreamType:319>: result: bStreamWithStartCode[0], with[0], whitout[1]
      DEBUG  : cedarc <HevcInitialFBM:342>: *** nExtraBufNum[6] = displayHoldNum[3] + rotateHoldNum[0] + smoothNum[3]
      DEBUG  : cedarc <HevcInitialFBM:362>: **(one output) nFbmNum[14] = maxDPBNum[6] + maxReoderNum[2] + extraNum[6]
      DEBUG  : cedarc <HevcInitialFBM:369>:  h265 initial fbm number: 14, reference pictures: 6.             reorder pictures: 2, real_w: 1920, real_h: 1080
      DEBUG  : cedarc <VeSetAdjustDramSpeedFlag:1796>: **** VeSetAdjustDramSpeedFlag: 0
      DEBUG  : cedarc <VeSetEnableAfbcFlag:1787>: **** VeSetEnableAfbcFlag: 0
      DEBUG  : cedarc <HevcInitialFBM:401>: *************** pHevcDec->bEnableAfbcFlag = 0
      DEBUG  : cedarc <HevcInitialFBM:432>: b10BitStreamFlag = 0, 0
      DEBUG  : fbm.c <FbmCreateBuffer:149>: FbmCreate, total fbm number: 14, decoder needed: 8,  nWidth=1920, nHeight=1080, nAlignStride = 32
      DEBUG  : fbm.c <FbmCreateBuffer:310>: *** calcute nLower2BitBufOffset = 0(0.00), stride = 0
      DEBUG  : fbm.c <FbmCreateBuffer:310>: *** calcute nLower2BitBufOffset = 0(0.00), stride = 0
      DEBUG  : fbm.c <FbmCreateBuffer:310>: *** calcute nLower2BitBufOffset = 0(0.00), stride = 0
      DEBUG  : fbm.c <FbmCreateBuffer:310>: *** calcute nLower2BitBufOffset = 0(0.00), stride = 0
      DEBUG  : fbm.c <FbmCreateBuffer:310>: *** calcute nLower2BitBufOffset = 0(0.00), stride = 0
      DEBUG  : fbm.c <FbmCreateBuffer:310>: *** calcute nLower2BitBufOffset = 0(0.00), stride = 0
      DEBUG  : fbm.c <FbmCreateBuffer:310>: *** calcute nLower2BitBufOffset = 0(0.00), stride = 0
      DEBUG  : fbm.c <FbmCreateBuffer:310>: *** calcute nLower2BitBufOffset = 0(0.00), stride = 0
      DEBUG  : fbm.c <FbmCreateBuffer:310>: *** calcute nLower2BitBufOffset = 0(0.00), stride = 0
      DEBUG  : fbm.c <FbmCreateBuffer:310>: *** calcute nLower2BitBufOffset = 0(0.00), stride = 0
      DEBUG  : fbm.c <FbmCreateBuffer:310>: *** calcute nLower2BitBufOffset = 0(0.00), stride = 0
      DEBUG  : fbm.c <FbmCreateBuffer:310>: *** calcute nLower2BitBufOffset = 0(0.00), stride = 0
      DEBUG  : fbm.c <FbmCreateBuffer:310>: *** calcute nLower2BitBufOffset = 0(0.00), stride = 0
      DEBUG  : fbm.c <FbmCreateBuffer:310>: *** calcute nLower2BitBufOffset = 0(0.00), stride = 0
      DEBUG  : fbm.c <FbmCreateBuffer:409>: *** finish fbmCreateBuffer
      DEBUG  : awplayer <RenderGetVideoFbmBufInfo:1468>: video buffer info: nWidth[1920],nHeight[1088],nBufferCount[14],ePixelFormat[5]
      DEBUG  : awplayer <RenderGetVideoFbmBufInfo:1471>: video buffer info: nAlignValue[32],bProgressiveFlag[1],bIsSoftDecoderFlag[0]
      DEBUG  : awplayer <__LayerControl:1003>: layer control cmd = 257
      DEBUG  : awplayer <__LayerControl:1005>: get the fbm buf info
      DEBUG  : awplayer <__LayerControl:1007>: fbmBufInfo->bProgressiveFlag = 1
      DEBUG  : awplayer <__LayerControl:1013>: lc->mNumHoldByLayer = 3
      DEBUG  : awplayer <__LayerSetDisplayPixelFormat:599>: Layer set expected pixel format, format = 5
      DEBUG  : awplayer <__LayerSetDisplayBufferSize:551>: __LayerSetDisplayBufferSize:width = 1920,height = 1088
      DEBUG  : awplayer <__LayerSetDisplayBufferCount:892>: LayerSetBufferCount: count = 14
      DEBUG  : awplayer <__LayerControl:1003>: layer control cmd = 260
      DEBUG  : awplayer <__LayerControl:1016>: get the fbm buf info
      DEBUG  : awplayer <__LayerControl:1022>: b10BitPicFlag = 0, nLbcLossyComMod = 0, bIsLossy = 0, bRcEn = 0
      DEBUG  : awplayer <__LayerGetBufferNumHoldByGpu:907>: num hold by gpu is 3
      DEBUG  : awplayer <SetGpuBufferToDecoder:1510>: SetGpuBufferToDecoder:nNumHoldByLayer = 3,p->nGpuBufferNum = 14
      DEBUG  : awplayer <setLayerBuffer:135>: setLayerBuffer:Fmt(5),(1920 1088, 0 x 0)
      DEBUG  : awplayer <setLayerBuffer:138>: Disp(1920x1088)buf_cnt(14),ProFlag(0),SoftDecFlag(0)
      DEBUG  : awplayer <setLayerBuffer:325>: SunxiMemPalloc buf[0]:0x3fcf101000
      DEBUG  : awplayer <setLayerBuffer:325>: SunxiMemPalloc buf[1]:0x3fcee04000
      DEBUG  : awplayer <setLayerBuffer:325>: SunxiMemPalloc buf[2]:0x3fceb07000
      DEBUG  : awplayer <setLayerBuffer:325>: SunxiMemPalloc buf[3]:0x3fce80a000
      DEBUG  : awplayer <setLayerBuffer:325>: SunxiMemPalloc buf[4]:0x3fce50d000
      DEBUG  : awplayer <setLayerBuffer:325>: SunxiMemPalloc buf[5]:0x3fce210000
      DEBUG  : awplayer <setLayerBuffer:325>: SunxiMemPalloc buf[6]:0x3fcdf13000
      DEBUG  : awplayer <setLayerBuffer:325>: SunxiMemPalloc buf[7]:0x3fcdc16000
      DEBUG  : awplayer <setLayerBuffer:325>: SunxiMemPalloc buf[8]:0x3fcd919000
      DEBUG  : awplayer <setLayerBuffer:325>: SunxiMemPalloc buf[9]:0x3fcd61c000
      DEBUG  : awplayer <setLayerBuffer:325>: SunxiMemPalloc buf[10]:0x3fcd31f000
      DEBUG  : awplayer <setLayerBuffer:325>: SunxiMemPalloc buf[11]:0x3fcd022000
      DEBUG  : awplayer <setLayerBuffer:325>: SunxiMemPalloc buf[12]:0x3fccd25000
      DEBUG  : awplayer <setLayerBuffer:325>: SunxiMemPalloc buf[13]:0x3fcca28000
      DEBUG  : awplayer <__LayerDequeueBuffer:724>: numNotHoldByLayer = 11,lc->nGpuBufferCount = 14
      DEBUG  : awplayer <__LayerDequeueBuffer:724>: numNotHoldByLayer = 11,lc->nGpuBufferCount = 14
      DEBUG  : awplayer <__LayerDequeueBuffer:724>: numNotHoldByLayer = 11,lc->nGpuBufferCount = 14
      DEBUG  : awplayer <__LayerDequeueBuffer:724>: numNotHoldByLayer = 11,lc->nGpuBufferCount = 14
      DEBUG  : awplayer <__LayerDequeueBuffer:724>: numNotHoldByLayer = 11,lc->nGpuBufferCount = 14
      DEBUG  : awplayer <__LayerDequeueBuffer:724>: numNotHoldByLayer = 11,lc->nGpuBufferCount = 14
      DEBUG  : awplayer <__LayerDequeueBuffer:724>: numNotHoldByLayer = 11,lc->nGpuBufferCount = 14
      DEBUG  : awplayer <__LayerDequeueBuffer:724>: numNotHoldByLayer = 11,lc->nGpuBufferCount = 14
      DEBUG  : awplayer <__LayerDequeueBuffer:724>: numNotHoldByLayer = 11,lc->nGpuBufferCount = 14
      DEBUG  : awplayer <__LayerDequeueBuffer:724>: numNotHoldByLayer = 11,lc->nGpuBufferCount = 14
      DEBUG  : awplayer <__LayerDequeueBuffer:724>: numNotHoldByLayer = 11,lc->nGpuBufferCount = 14
      DEBUG  : awplayer <__LayerDequeueBuffer:724>: numNotHoldByLayer = 11,lc->nGpuBufferCount = 14
      DEBUG  : awplayer <__LayerDequeueBuffer:724>: numNotHoldByLayer = 11,lc->nGpuBufferCount = 14
      DEBUG  : awplayer <__LayerDequeueBuffer:724>: numNotHoldByLayer = 11,lc->nGpuBufferCount = 14
      ERROR  : awplayer <__LayerQueueBuffer:865>: *** picNode is full when queue buffer
      ERROR  : awplayer <__LayerQueueBuffer:865>: *** picNode is full when queue buffer
      DEBUG  : awplayer <callbackProcess:3503>: *************decoded nWidth = 1920,nHeight = 1080********
      DEBUG : tplayer <CallbackFromXPlayer:96>: video decoded width = 1920,height = 1080
      *****tplayer:video decoded width = 1920,height = 1080
      *****tplayerdemo:video decoded width = 1920,height = 1080real set to display rect:w = 1920,h = 1080
      warning: unknown callback from Tinaplayer.
      INFO   : awplayer <callbackProcess:3519>: xxxxxxxxxx video size : width = 1920, height = 1080
      DEBUG : tplayer <CallbackFromXPlayer:85>: video width = 1920,height = 1080
      *****tplayer:video width = 1920,height = 1080
      warning: unknown callback from Tinaplayer.
      DEBUG  : awplayer <CallbackProcess:3045>: first video pts = 0
      DEBUG  : audioRender <startSoundDevice:708>: start sound device.
      DEBUG : tsoundcontrol <TSoundDeviceStart:212>: TinaSoundDeviceStart(): sc->sound_status = 2
      DEBUG : tsoundcontrol <setSoundDeviceParams:62>: setSoundDeviceParams()
      DEBUG : tsoundcontrol <setSoundDeviceParams:117>: alsa-init: chunksize set to 960
      DEBUG : tsoundcontrol <setSoundDeviceParams:126>: alsa-init: fragcount=4
      DEBUG : tsoundcontrol <setSoundDeviceParams:136>: setSoundDeviceParams():sc->alsa_can_pause = 0
      ERROR  : awplayer <__LayerQueueBuffer:865>: *** picNode is full when queue buffer
      WARNING: audioRender <checkSampleRate:647>: sample rate change from 48000 to 48000.
      WARNING: audioRender <checkSampleRate:649>: channel num change from 2 to 2.
      WARNING: audioRender <checkSampleRate:651>: bitPerSample num change from 16 to 16.
      WARNING: audioRender <checkSampleRate:653>: if need direct out put flag change from 0 to 1.
      WARNING: audioRender <checkSampleRate:655>: data type change from 1 to 1.
      DEBUG : tsoundcontrol <TSoundDeviceStop:259>: TinaSoundDeviceStop():sc->sound_status = 0
      DEBUG : tsoundcontrol <TSoundDeviceSetFormat:193>: TinaSoundDeviceSetFormat(),sc->sound_status == 2
      DEBUG : tsoundcontrol <TSoundDeviceSetFormat:195>: TinaSoundDeviceSetFormat()
      DEBUG : tsoundcontrol <TSoundDeviceSetFormat:201>: TinaSoundDeviceSetFormat()>>>sample_rate:48000,channel_num:2,sc->bytes_per_sample:4
      WARNING: audioRender <checkSampleRate:674>: start sound devide again because samplaRate or channelNum change
      DEBUG : tsoundcontrol <TSoundDeviceStart:212>: TinaSoundDeviceStart(): sc->sound_status = 2
      DEBUG : tsoundcontrol <setSoundDeviceParams:62>: setSoundDeviceParams()
      DEBUG : tsoundcontrol <setSoundDeviceParams:117>: alsa-init: chunksize set to 960
      DEBUG : tsoundcontrol <setSoundDeviceParams:126>: alsa-init: fragcount=4
      DEBUG : tsoundcontrol <setSoundDeviceParams:136>: setSoundDeviceParams():sc->alsa_can_pause = 0
      ERROR  : fbm.c <FbmReturnPicture:1002>: invalid frame status, a picture being returned,                 but bUsedByRender=0, bInValidPictureQueue=0, bAlreadyDisplayed=0.
      ERROR  : fbm.c <FbmReturnPicture:1003>: **picture[0x3fc4002438],id[11]
      WARNING: cedarc <ReturnPicture:1849>: FbmReturnPicture return fail,            it means the picture being returned it not one of this FBM.
      
      
      posted in D1系列-RISC-V
      M
      mumula
    • Reply: 【加精】D1 tina Docker 编译环境制作和使用

      @yuzukitsuru 我看了下config里是关了 不过libc的路径里包含了这个

      posted in D1系列-RISC-V
      M
      mumula
    • Reply: 【加精】D1 tina Docker 编译环境制作和使用

      @liangdi hello 请问您的docker目前还能编最新的sdk吗?
      我这边会报错

      root@9a303cc40477:/sdk# make -j1 > build.txt
      [2] 281908
      ./scripts/Makefile.asm-generic:25: redundant generic-y found in arch/riscv/include/asm/Kbuild: device.h
      cp: cannot stat '/sdk/prebuilt/gcc/linux-x86/riscv/toolchain-thead-glibc/riscv64-glibc-gcc-thead_20200702/sysroot//./riscv64-unknown-linux-gnu/lib64xthead/lp64d/libgomp.so*': No such file or directory
      flock: /sdk/tmp/.root-copy.flock: Bad file descriptor
      make[3]: *** [/sdk/out/d1-h-nezha/staging_dir/target/rootfs/stamp/.libc_installed] Error 65
      make[2]: *** [package/libs/toolchain/compile] Error 2
      make[1]: *** [/sdk/out/d1-h-nezha/staging_dir/target/stamp/.package_compile] Error 2
      make: *** [world] Error 2
      [2]+ Done $T/tools/build/buildserver --path $T 2> /dev/null 1>&2

      全志在论坛的答复是不要再nfs里编

      posted in D1系列-RISC-V
      M
      mumula