@huerli
运行了一下lv_g2d_test也报错
H
huerli 发布的最佳帖子
-
T113上 使用Tina-linux ,移植百问网lvgl 2048小游戏,可以通过编译,但是运行报错
LV_2048文件夹下的Makefileinclude $(TOPDIR)/rules.mk include $(BUILD_DIR)/package.mk include ../sunxifb.mk PKG_NAME:=lv_2048 PKG_VERSION:=8.1.0 PKG_RELEASE:=1 PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME) define Package/$(PKG_NAME) SECTION:=gui SUBMENU:=Littlevgl CATEGORY:=Gui DEPENDS:=+LVGL8_USE_SUNXIFB_G2D:libuapi +LVGL8_USE_SUNXIFB_G2D:kmod-sunxi-g2d \ +LVGL8_USE_FREETYPE:libfreetype TITLE:=lvgl 2048 endef PKG_CONFIG_DEPENDS := \ CONFIG_LVGL8_USE_SUNXIFB_DOUBLE_BUFFER \ CONFIG_LVGL8_USE_SUNXIFB_CACHE \ CONFIG_LVGL8_USE_SUNXIFB_G2D \ CONFIG_LVGL8_USE_SUNXIFB_G2D_ROTATE define Package/$(PKG_NAME)/config endef define Package/$(PKG_NAME)/Default endef define Package/$(PKG_NAME)/description a lvgl 2048 v8.1.0 endef define Build/Prepare $(INSTALL_DIR) $(PKG_BUILD_DIR)/ $(CP) ./src $(PKG_BUILD_DIR)/ $(CP) ./../lvgl $(PKG_BUILD_DIR)/src/ $(CP) ./../lv_drivers $(PKG_BUILD_DIR)/src/ endef define Build/Configure endef TARGET_CFLAGS+=-I$(PKG_BUILD_DIR)/src ifeq ($(CONFIG_LVGL8_USE_SUNXIFB_G2D),y) TARGET_CFLAGS+=-DLV_USE_SUNXIFB_G2D_FILL \ -DLV_USE_SUNXIFB_G2D_BLEND \ -DLV_USE_SUNXIFB_G2D_BLIT \ -DLV_USE_SUNXIFB_G2D_SCALE endif define Build/Compile $(MAKE) -C $(PKG_BUILD_DIR)/src\ ARCH="$(TARGET_ARCH)" \ AR="$(TARGET_AR)" \ CC="$(TARGET_CC)" \ CXX="$(TARGET_CXX)" \ CFLAGS="$(TARGET_CFLAGS)" \ LDFLAGS="$(TARGET_LDFLAGS)" \ INSTALL_PREFIX="$(PKG_INSTALL_DIR)" \ all endef define Package/$(PKG_NAME)/install $(INSTALL_DIR) $(1)/usr/bin/ $(INSTALL_BIN) $(PKG_BUILD_DIR)/src/$(PKG_NAME) $(1)/usr/bin/ endef $(eval $(call BuildPackage,$(PKG_NAME)))
LV_2048/src 文件夹下的Makefile
# # Makefile # CC ?= gcc LVGL_DIR_NAME ?= lvgl LVGL_DIR ?= ${shell pwd} CFLAGS ?= -O3 -g0 -I$(LVGL_DIR)/ -Wall -Wshadow -Wundef -Wmissing-prototypes -Wno-discarded-qualifiers -Wall -Wextra -Wno-unused-function -Wno-error=strict-prototypes -Wpointer-arith -fno-strict-aliasing -Wno-error=cpp -Wuninitialized -Wmaybe-uninitialized -Wno-unused-parameter -Wno-missing-field-initializers -Wtype-limits -Wsizeof-pointer-memaccess -Wno-format-nonliteral -Wno-cast-qual -Wunreachable-code -Wno-switch-default -Wreturn-type -Wmultichar -Wformat-security -Wno-ignored-qualifiers -Wno-error=pedantic -Wno-sign-compare -Wno-error=missing-prototypes -Wdouble-promotion -Wclobbered -Wdeprecated -Wempty-body -Wtype-limits -Wshift-negative-value -Wstack-usage=2048 -Wno-unused-value -Wno-unused-parameter -Wno-missing-field-initializers -Wuninitialized -Wmaybe-uninitialized -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -Wtype-limits -Wsizeof-pointer-memaccess -Wno-format-nonliteral -Wpointer-arith -Wno-cast-qual -Wmissing-prototypes -Wunreachable-code -Wno-switch-default -Wreturn-type -Wmultichar -Wno-discarded-qualifiers -Wformat-security -Wno-ignored-qualifiers -Wno-sign-compare LDFLAGS ?= -lm BIN = lv_2048 #Collect the files to compile SRCDIRS = $(shell find . -maxdepth 1 -type d) MAINSRC = $(foreach dir,$(SRCDIRS),$(wildcard $(dir)/*.c)) include $(LVGL_DIR)/lvgl/lvgl.mk include $(LVGL_DIR)/lv_drivers/lv_drivers.mk include ./lv_lib_100ask/lv_lib_100ask.mk OBJEXT ?= .o AOBJS = $(ASRCS:.S=$(OBJEXT)) COBJS = $(CSRCS:.c=$(OBJEXT)) MAINOBJ = $(MAINSRC:.c=$(OBJEXT)) SRCS = $(ASRCS) $(CSRCS) $(MAINSRC) OBJS = $(AOBJS) $(COBJS) ## MAINOBJ -> OBJFILES all: default %.o: %.c @$(CC) $(CFLAGS) -c $< -o $@ @echo "CC $<" default: $(AOBJS) $(COBJS) $(MAINOBJ) $(CC) -o $(BIN) $(MAINOBJ) $(AOBJS) $(COBJS) $(LDFLAGS) clean: rm -f $(BIN) $(AOBJS) $(COBJS) $(MAINOBJ)
huerli 发布的最新帖子
-
D1S 卡在uboot结束
使用tina sdk ,改了串口3
修改了这些地方 env.cfg
修改了board.dts
上电输出如下所示。
[192]BOOT0 commit : 88480af [195]set pll start [196]fix vccio detect value:0xc0 [200]periph0 has been enabled [203]set pll end [204][pmu]: bus read error [207]board init ok [209]ZQ value = 0x2d [210]get_pmu_exist() = -1 [213]ddr_efuse_type: 0xa [215]trefi:7.8ms [218][AUTO DEBUG] single rank and full DQ! [222]ddr_efuse_type: 0xa [224]trefi:7.8ms [226][AUTO DEBUG] rank 0 row = 13 [229][AUTO DEBUG] rank 0 bank = 4 [232][AUTO DEBUG] rank 0 page size = 2 KB [236]DRAM BOOT DRIVE INFO: V0.33 [239]DRAM CLK = 528 MHz [241]DRAM Type = 2 (2:DDR2,3:DDR3) [245]DRAMC read ODT off. [247]DRAM ODT off. [249]ddr_efuse_type: 0xa [252]DRAM SIZE =64 M [254]dram_tpr4:0x0 [255]PLL_DDR_CTRL_REG:0xf8002b00 [258]DRAM_CLK_REG:0xc0000000 [261][TIMING DEBUG] MR2= 0x0 [266]DRAM simple test OK. [268]dram size =64 [270]card no is 0 [271]sdcard 0 line count 4 [274][mmc]: mmc driver ver 2021-04-2 16:45 [283][mmc]: Wrong media type 0x0 [286][mmc]: ***Try SD card 0*** [295][mmc]: HSSDR52/SDR25 4 bit [298][mmc]: 50000000 Hz [300][mmc]: 14804 MB [302][mmc]: ***SD/MMC 0 init OK!!!*** [352]Loading boot-pkg Succeed(index=0). [356]Entry_name = opensbi [359]Entry_name = u-boot [363]Entry_name = dtb [365]mmc not para �367]Jump to second Boot. U-Boot 2018.05-g24521d6-dirty (Jun 19 2024 - 19:18:28 +0800) Allwinner Technology [00.377]DRAM: 64 MiB [00.379]Relocation Offset is: 01ee7000 [00.384]secure enable bit: 0 [00.387]CPU=720 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=100Mhz MBus=300Mhz [00.393]flash init start [00.395]workmode = 0,storage type = 1 [00.399][mmc]: mmc driver ver uboot2018:2021-11-19 15:38:00 [00.404][mmc]: get sdc_type fail and use default host:tm1. [00.411][mmc]: can't find node "mmc0",will add new node [00.416][mmc]: fdt err returned <no error> [00.420][mmc]: Using default timing para [00.423][mmc]: SUNXI SDMMC Controller Version:0x50310 [00.441][mmc]: card_caps:0x3000000a [00.444][mmc]: host_caps:0x3000003f [00.448]sunxi flash init ok [00.450]line:703 init_clocks [00.454]drv_disp_init request pwm success, pwm7:pwm7:0x2000c00. [00.474]drv_disp_init finish [00.477]boot_gui_init:start [00.480]set disp.dev2_output_type fail. using defval=0 [00.487]boot_gui_init:finish partno erro : can't find partition bootloader 54 bytes read in 2 ms (26.4 KiB/s) [00.517]bmp_name=bootlogo.bmp size 38454 38454 bytes read in 5 ms (7.3 MiB/s) [00.549]Loading Environment from SUNXI_FLASH... OK [00.573]out of usb burn from boot: not need burn key [00.607]Item0 (Map) magic is bad [00.610]the secure storage item0 copy0 magic is bad [00.644]Item0 (Map) magic is bad [00.647]the secure storage item0 copy1 magic is bad [00.652]Item0 (Map) magic is bad partno erro : can't find partition private root_partition is rootfs set root to /dev/mmcblk0p5 [0[00.668]LCD open finish 0.666]update part info [00.674]update bootcmd [00.678]change working_fdt 0x42aa6da0 to 0x42a86da0 disable nand error: FDT_ERR_BADPATH No reserved memory region found in source FDT [00.715]update dts noncached_alloc(): addr = 0x42c8a080 noncached_alloc(): addr = 0x42c8a0c0 noncached_alloc(): addr = 0x42c8a100 noncached_alloc(): addr = 0x42c8a940 geth_sys_init:634: get node 'gmac0' error geth_sys_init fail! [00.736]Board Net Initialization Failed [00.739]No ethernet found. Hit any key to stop autoboot: 0
-
T113输出日志,是不是片子坏了啊
[I] AWBoot r6163 starting... [I] SMHC: sdhci0 controller v50310 initialized [I] SHMC: SD card detected [I] FATFS: read sun8i-t113-mangopi-dual.dtb addr=44000000 [I] FATFS: read zImage addr=44800000 [I] booting linux... ▒[ 0.000000] Booting Linux on physical CPU 0x0 [ 0.000000] Linux version 6.0.1-gd7d8c971c9c5-dirty (huerli@huerli) (arm-none-linux-gnueabihf-gcc (Arm GNU Toolchain 12.3.Rel1 (Build arm-12.35)) 12.3.1 20230626, GNU ld (Arm GNU Toolchain 12.3.Rel1 (Build arm-12.35)) 2.40.0.20230627) #26 SMP Sun Oct 1 00:12:11 CST 2023 [ 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: MangoPi MQ-Dual [ 0.000000] Memory policy: Data cache writealloc [ 0.000000] cma: Failed to reserve 72 MiB [ 0.000000] Zone ranges: [ 0.000000] Normal [mem 0x0000000040000000-0x0000000047ffffff] [ 0.000000] HighMem empty [ 0.000000] Movable zone start for each node [ 0.000000] Early memory node ranges [ 0.000000] node 0: [mem 0x0000000040000000-0x0000000047ffffff] [ 0.000000] Initmem setup node 0 [mem 0x0000000040000000-0x0000000047ffffff] [ 0.000000] percpu: Embedded 11 pages/cpu s15508 r8192 d21356 u45056 [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 32512 [ 0.000000] Kernel command line: mem=128M cma=72M root=/dev/mmcblk0p2 init=/sbin/init rootwait console=ttyS5,115200 [ 0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes, linear) [ 0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes, linear) [ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off [ 0.000000] Memory: 116220K/131072K available (8192K kernel code, 944K rwdata, 2120K rodata, 1024K init, 272K bss, 14852K reserved, 0K cma-reserved, 0K highmem) [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1 [ 0.000000] rcu: Hierarchical RCU implementation. [ 0.000000] rcu: RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=2. [ 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=2 [ 0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16 [ 0.000000] rcu: srcu_init: Setting srcu_struct sizes based on contention. [ 0.000000] arch_timer: cp15 timer(s) running at 24.00MHz (phys). [ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns [ 0.000001] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns [ 0.000012] Switching to timer-based delay loop, resolution 41ns [ 0.000192] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns [ 0.000697] Console: colour dummy device 80x30 [ 0.000738] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000) [ 0.000754] pid_max: default: 32768 minimum: 301 [ 0.000905] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear) [ 0.000919] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear) [ 0.001449] CPU: Testing write buffer coherency: ok [ 0.001748] /cpus/cpu@0 missing clock-frequency property [ 0.001779] /cpus/cpu@1 missing clock-frequency property [ 0.001789] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000 [ 0.002522] Setting up static identity map for 0x40100000 - 0x40100060 [ 0.002653] rcu: Hierarchical SRCU implementation. [ 0.002660] rcu: Max phase no-delay instances is 1000. [ 0.003167] smp: Bringing up secondary CPUs ... [ 0.003831] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001 [ 0.003949] smp: Brought up 1 node, 2 CPUs [ 0.003960] SMP: Total of 2 processors activated (96.00 BogoMIPS). [ 0.003968] CPU: All CPU(s) started in SVC mode. [ 0.004467] devtmpfs: initialized [ 0.008627] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5 [ 0.008817] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns [ 0.008841] futex hash table entries: 512 (order: 3, 32768 bytes, linear) [ 0.008980] pinctrl core: initialized pinctrl subsystem [ 0.010241] NET: Registered PF_NETLINK/PF_ROUTE protocol family [ 0.010555] DMA: preallocated 256 KiB pool for atomic coherent allocations [ 0.011324] thermal_sys: Registered thermal governor 'step_wise' [ 0.011557] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers. [ 0.011569] hw-breakpoint: maximum watchpoint size is 8 bytes. [ 0.018997] platform 5460000.tcon-top: Fixing up cyclic dependency with 5200000.mixer [ 0.019063] platform 5460000.tcon-top: Fixing up cyclic dependency with 5100000.mixer [ 0.019325] platform 5461000.lcd-controller: Fixing up cyclic dependency with 5460000.tcon-top [ 0.019753] platform 5470000.lcd-controller: Fixing up cyclic dependency with 5604000.tv-encoder [ 0.019807] platform 5470000.lcd-controller: Fixing up cyclic dependency with 5460000.tcon-top [ 0.020639] platform 7090000.rtc: Fixing up cyclic dependency with 7010000.clock-controller [ 0.022280] platform panel: Fixing up cyclic dependency with 5461000.lcd-controller [ 0.030677] SCSI subsystem initialized [ 0.031141] usbcore: registered new interface driver usbfs [ 0.031176] usbcore: registered new interface driver hub [ 0.031211] usbcore: registered new device driver usb [ 0.031411] mc: Linux media interface: v0.10 [ 0.031454] videodev: Linux video capture interface: v2.00 [ 0.031521] pps_core: LinuxPPS API ver. 1 registered [ 0.031526] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it> [ 0.031548] PTP clock support registered [ 0.031949] Advanced Linux Sound Architecture Driver Initialized. [ 0.033066] clocksource: Switched to clocksource arch_sys_counter [ 0.040913] NET: Registered PF_INET protocol family [ 0.041106] IP idents hash table entries: 2048 (order: 2, 16384 bytes, linear) [ 0.041641] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear) [ 0.041666] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear) [ 0.041677] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear) [ 0.041693] TCP bind hash table entries: 1024 (order: 1, 8192 bytes, linear) [ 0.041712] TCP: Hash tables configured (established 1024 bind 1024) [ 0.041791] UDP hash table entries: 256 (order: 1, 8192 bytes, linear) [ 0.041822] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear) [ 0.041975] NET: Registered PF_UNIX/PF_LOCAL protocol family [ 0.042527] RPC: Registered named UNIX socket transport module. [ 0.042541] RPC: Registered udp transport module. [ 0.042544] RPC: Registered tcp transport module. [ 0.042547] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 0.043638] Initialise system trusted keyrings [ 0.043882] workingset: timestamp_bits=30 max_order=15 bucket_order=0 [ 0.048585] NFS: Registering the id_resolver key type [ 0.048637] Key type id_resolver registered [ 0.048642] Key type id_legacy registered [ 0.048680] Key type asymmetric registered [ 0.048685] Asymmetric key parser 'x509' registered [ 0.048810] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246) [ 0.048818] io scheduler mq-deadline registered [ 0.048823] io scheduler kyber registered [ 0.105745] Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled [ 0.113557] panel-simple panel: supply power not found, using dummy regulator [ 0.113731] panel-simple panel: Specify missing connector_type [ 0.116508] CAN device driver interface [ 0.117234] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 0.117243] ehci-platform: EHCI generic platform driver [ 0.117370] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver [ 0.117391] ohci-platform: OHCI generic platform driver [ 0.119805] sun6i-rtc 7090000.rtc: registered as rtc0 [ 0.119928] sun6i-rtc 7090000.rtc: setting system clock to 1970-01-02T00:00:14 UTC (86414) [ 0.120063] sun6i-rtc 7090000.rtc: RTC enabled [ 0.120400] i2c_dev: i2c /dev entries driver [ 0.122159] sunxi-wdt 20500a0.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0) [ 0.123378] sun8i-ce 3040000.crypto: Set mod clock to 300000000 (300 Mhz) from 400000000 (400 Mhz) [ 0.123697] sun8i-ce 3040000.crypto: will run requests pump with realtime priority [ 0.123863] sun8i-ce 3040000.crypto: will run requests pump with realtime priority [ 0.123988] sun8i-ce 3040000.crypto: will run requests pump with realtime priority [ 0.124105] sun8i-ce 3040000.crypto: will run requests pump with realtime priority [ 0.124187] sun8i-ce 3040000.crypto: Register cbc(aes) [ 0.124209] sun8i-ce 3040000.crypto: Register ecb(aes) [ 0.124217] sun8i-ce 3040000.crypto: Register cbc(des3_ede) [ 0.124226] sun8i-ce 3040000.crypto: Register ecb(des3_ede) [ 0.124255] sun8i-ce 3040000.crypto: CryptoEngine Die ID 0 [ 0.125079] usbcore: registered new interface driver usbhid [ 0.125088] usbhid: USB HID core driver [ 0.127727] NET: Registered PF_PACKET protocol family [ 0.127753] can: controller area network core [ 0.127818] NET: Registered PF_CAN protocol family [ 0.127824] can: raw protocol [ 0.127831] can: broadcast manager protocol [ 0.127839] can: netlink gateway - max_hops=1 [ 0.128030] Key type dns_resolver registered [ 0.128126] Registering SWP/SWPB emulation handler [ 0.128217] Loading compiled-in X.509 certificates [ 0.145887] sun20i-d1-pinctrl 2000000.pinctrl: initialized sunXi PIO driver [ 0.167455] 2500400.serial: ttyS1 at MMIO 0x2500400 (irq = 231, base_baud = 1500000) is a 16550A [ 0.189082] 2501400.serial: ttyS5 at MMIO 0x2501400 (irq = 232, base_baud = 1500000) is a 16550A [ 1.062024] printk: console [ttyS5] enabled [ 1.068320] phy phy-4100400.phy.0: Changing dr_mode to 1 [ 1.069404] usb_phy_generic usb_phy_generic.1.auto: dummy supplies not allowed for exclusive requests [ 1.073714] ehci-platform 4101000.usb: EHCI Host Controller [ 1.083432] musb-hdrc musb-hdrc.2.auto: MUSB HDRC host driver [ 1.088492] ehci-platform 4101000.usb: new USB bus registered, assigned bus number 1 [ 1.094240] musb-hdrc musb-hdrc.2.auto: new USB bus registered, assigned bus number 2 [ 1.102051] ehci-platform 4101000.usb: irq 233, io mem 0x04101000 [ 1.110540] hub 2-0:1.0: USB hub found [ 1.116814] ehci-platform 4200000.usb: EHCI Host Controller [ 1.119718] hub 2-0:1.0: 1 port detected [ 1.126926] ohci-platform 4200400.usb: Generic Platform OHCI controller [ 1.135877] ohci-platform 4200400.usb: new USB bus registered, assigned bus number 3 [ 1.143156] ehci-platform 4200000.usb: new USB bus registered, assigned bus number 4 [ 1.143770] ohci-platform 4200400.usb: irq 237, io mem 0x04200400 [ 1.151454] ehci-platform 4200000.usb: irq 235, io mem 0x04200000 [ 1.157500] ehci-platform 4101000.usb: USB 2.0 started, EHCI 1.00 [ 1.165649] Goodix-TS 0-0014: supply AVDD28 not found, using dummy regulator [ 1.176881] Goodix-TS 0-0014: supply VDDIO not found, using dummy regulator [ 1.177123] hub 1-0:1.0: USB hub found [ 1.187670] hub 1-0:1.0: 1 port detected [ 1.193063] ehci-platform 4200000.usb: USB 2.0 started, EHCI 1.00 [ 1.199808] hub 4-0:1.0: USB hub found [ 1.203643] hub 4-0:1.0: 1 port detected [ 1.227682] hub 3-0:1.0: USB hub found [ 1.231475] hub 3-0:1.0: 1 port detected [ 1.293100] Goodix-TS 0-0014: Error reading 1 bytes from 0x8140: -6 [ 1.333087] Goodix-TS 0-0014: Error reading 1 bytes from 0x8140: -6 [ 1.333129] ohci-platform 4101400.usb: Generic Platform OHCI controller [ 1.346004] ohci-platform 4101400.usb: new USB bus registered, assigned bus number 5 [ 1.353888] ohci-platform 4101400.usb: irq 236, io mem 0x04101400 [ 1.373045] Goodix-TS 0-0014: I2C communication failure: -6 [ 1.381606] sunxi-mmc 4020000.mmc: Got CD GPIO [ 1.382663] sunxi-mmc 4021000.mmc: allocated mmc-pwrseq [ 1.392114] ALSA device list: [ 1.395124] No soundcards found. [ 1.411759] sunxi-mmc 4020000.mmc: initialized, max. request size: 2048 KB, uses new timings mode [ 1.415630] sunxi-mmc 4021000.mmc: initialized, max. request size: 2048 KB, uses new timings mode [ 1.427882] hub 5-0:1.0: USB hub found [ 1.433383] hub 5-0:1.0: 1 port detected [ 1.437962] Waiting for root device /dev/mmcblk0p2... [ 1.488308] mmc0: new high speed SDHC card at address aaaa [ 1.494678] mmcblk0: mmc0:aaaa SC32G 29.7 GiB [ 1.504881] mmcblk0: p1 p2 [ 1.540627] EXT4-fs (mmcblk0p2): INFO: recovery required on readonly filesystem [ 1.548022] EXT4-fs (mmcblk0p2): write access will be enabled during recovery [ 1.717902] EXT4-fs (mmcblk0p2): recovery complete [ 1.727487] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Quota mode: disabled. [ 1.736465] VFS: Mounted root (ext4 filesystem) readonly on device 179:2. [ 1.748498] devtmpfs: mounted [ 1.752634] Freeing unused kernel image (initmem) memory: 1024K [ 1.758756] Run /sbin/init as init process [ 1.961837] EXT4-fs (mmcblk0p2): warning: mounting fs with errors, running e2fsck is recommended [ 1.975451] EXT4-fs (mmcblk0p2): re-mounted. Quota mode: disabled. Starting syslogd: OK Starting klogd: OK Running sysctl: OK Starting mdev... OK [ 2.122475] Internal error: Oops - undefined instruction: 0 [#1] SMP ARM [ 2.123499] BUG: Bad page map in process S10mdev pte:40cdf59f pmd:41bb1835 [ 2.129207] Modules linked in: [ 2.136216] page:(ptrval) refcount:2 mapcount:-1050991423 mapping:(ptrval) index:0xc9 pfn:0x40cdf [ 2.139208] CPU: 0 PID: 114 Comm: mdev Not tainted 6.0.1-gd7d8c971c9c5-dirty #26 [ 2.148098] aops:0xc090ada0 ino:19f306 dentry name:"busybox" [ 2.155443] Hardware name: Generic DT based system [ 2.155448] PC is at next_uptodate_page+0xf0/0x298 [ 2.161103] flags: 0x20836(referenced|uptodate|lru|active|arch_1|mappedtodisk|zone=0) [ 2.165883] LR is at filemap_map_pages+0x90/0x41c [ 2.165892] pc : [<c01cdbd8>] lr : [<c01ceebc>] psr: 400f0113 [ 2.170683] raw: 00020836 c7f13c04 c7f13bc4 c15a1698 000000c9 00000000 c15b24c0 00000002 [ 2.178488] sp : c8a41d58 ip : 00000000 fp : 41b71835 [ 2.178493] r10: c7f13c1c r9 : 000000d4 r8 : c8a41d90 [ 2.178498] r7 : c15a1698 r6 : 00000402 r5 : 00000406 r4 : 00000001 [ 2.183200] page dumped because: bad pte [ 2.189444] r3 : 00020836 r2 : c15b24c0 r1 : 00000000 r0 : c7f13c00 [ 2.197535] addr:00509000 vm_flags:00000075 anon_vma:00000000 mapping:c15a1698 index:c9 [ 2.202732] Flags: nZcv IRQs on FIQs on Mode SVC_32 ISA ARM Segment none [ 2.207955] file:busybox fault:filemap_fault mmap:ext4_file_mmap read_folio:ext4_read_folio [ 2.214460] Control: 10c5387d Table: 41b6006a DAC: 00000051 [ 2.214464] Register r0 information: non-slab/vmalloc memory [ 2.218385] CPU: 1 PID: 118 Comm: S10mdev Not tainted 6.0.1-gd7d8c971c9c5-dirty #26 [ 2.224897] Register r1 information: [ 2.232884] Hardware name: Generic DT based system [ 2.240004] NULL pointer [ 2.248346] unwind_backtrace from show_stack+0x10/0x14 [ 2.254071] Register r2 information: [ 2.259719] show_stack from dump_stack_lvl+0x40/0x4c [ 2.267359] slab radix_tree_node [ 2.270925] dump_stack_lvl from print_bad_pte+0x144/0x18c [ 2.275703] start c15b24c0 [ 2.278318] print_bad_pte from zap_pte_range+0x428/0x66c [ 2.283529] pointer offset 0 [ 2.287096] zap_pte_range from unmap_page_range+0xb0/0x22c [ 2.292135] [ 2.292137] Register r3 information: [ 2.295442] unmap_page_range from unmap_vmas+0xa0/0xd0 [ 2.300915] non-paged memory [ 2.303702] unmap_vmas from exit_mmap+0x70/0x180 [ 2.309087] Register r4 information: [ 2.312047] exit_mmap from mmput+0x40/0x118 [ 2.317606] non-paged memory [ 2.319094] mmput from begin_new_exec+0x3a8/0x958 [ 2.322658] Register r5 information: [ 2.327873] begin_new_exec from load_elf_binary+0x190/0x13ac [ 2.330831] non-paged memory [ 2.335525] load_elf_binary from bprm_execve+0x1f4/0x500 [ 2.339089] Register r6 information: [ 2.343349] bprm_execve from do_execveat_common+0x188/0x1d4 [ 2.346308] non-paged memory [ 2.351088] do_execveat_common from sys_execve+0x30/0x38 [ 2.354653] Register r7 information: [ 2.360388] sys_execve from ret_fast_syscall+0x0/0x54 [ 2.363347] slab ext4_inode_cache [ 2.368733] Exception stack(0xc8a59fa8 to 0xc8a59ff0) [ 2.372299] start c15a14c8 [ 2.377949] 9fa0: 00518e9c 00518e68 00518e9c 00518e68 00518e7c 00000006 [ 2.380905] pointer offset 464 [ 2.386296] 9fc0: 00518e9c 00518e68 00518e7c 0000000b 00517548 00000002 00517614 00517548 [ 2.389858] size 60 [ 2.394987] 9fe0: 00516cfc bebfeeac 004899d0 b6f28158 [ 2.398376] [ 2.398378] Register r8 information: [ 2.405225] BUG: Bad page map in process S10mdev pte:40cdf59f pmd:41b3d835 [ 2.406207] 2-page vmalloc region starting at 0xc8a40000 allocated at kernel_clone+0x90/0x364 [ 2.414439] page:(ptrval) refcount:5 mapcount:-1050991421 mapping:(ptrval) index:0xc9 pfn:0x40cdf [ 2.417508] Register r9 information: non-paged memory [ 2.425696] aops:0xc090ada0 ino:19f306 dentry name:"busybox" [ 2.427849] Register r10 information: non-slab/vmalloc memory [ 2.432891] flags: 0x20836(referenced|uptodate|lru|active|arch_1|mappedtodisk|zone=0) [ 2.434377] Register r11 information: non-paged memory [ 2.434383] Register r12 information: NULL pointer [ 2.434389] Process mdev (pid: 114, stack limit = 0x(ptrval)) [ 2.437966] raw: 00020836 c7f13c04 c7f13bc4 c15a1698 000000c9 00000000 c15b24c2 00000005 [ 2.444904] Stack: (0xc8a41d58 to 0xc8a42000) [ 2.444911] 1d40: b6f73000 ffffffff [ 2.444920] 1d60: 000000c8 c8a41dfc c1b8dba0 000000d4 c15a1698 00000000 000000d4 c01ceebc [ 2.453516] page dumped because: bad pte [ 2.462366] 1d80: c195aa80 c1adf3c0 c15a1698 6532b3ff c15a169c 000000c8 00080000 c15b24c0 [ 2.467428] addr:00509000 vm_flags:00000075 anon_vma:00000000 mapping:c15a1698 index:c9 [ 2.473052] 1da0: 00000000 00000000 00000000 6532b3ff c11d3e00 c195aa80 c01cee2c 004f9000 [ 2.473061] 1dc0: 00000214 c8a41ec8 c8a41dfc 000000d4 41b71835 c01fd494 c8a41f30 c8a41e68 [ 2.478792] file:busybox fault:filemap_fault mmap:ext4_file_mmap read_folio:ext4_read_folio [ 2.486608] 1de0: 00000142 c023dacc 00020002 00000041 c0d0bf70 00000000 c8a41f30 c1b8dba0 [ 2.486618] 1e00: 00100cca 000000d1 004f9000 004f9000 00000a14 c1b60010 c1b60010 00000000 [ 2.491745] CPU: 1 PID: 115 Comm: S10mdev Tainted: G B 6.0.1-gd7d8c971c9c5-dirty #26 [ 2.496527] 1e20: 00000000 00000000 00000000 00000000 00000000 6532b3ff 400f159f c8a41ec8 [ 2.502257] Hardware name: Generic DT based system [ 2.510334] 1e40: 00000017 004f9af4 c195aa80 c1929500 c1929540 00000214 00000007 c01114c4 [ 2.514683] unwind_backtrace from show_stack+0x10/0x14 [ 2.522840] 1e60: 004fd884 c0242e04 00000000 00000000 c390ff57 00000004 c1378015 00000017 [ 2.530999] show_stack from dump_stack_lvl+0x40/0x4c [ 2.534915] 1e80: 004f9af4 c8a41ec8 c0d09d28 c195aa80 c195aa80 fefefeff c1378010 c01118e4 [ 2.543072] dump_stack_lvl from print_bad_pte+0x144/0x18c [ 2.551062] 1ea0: b6e86a66 00000051 c8a41ed0 00000008 00000008 c0402b58 000f0013 ffffffff [ 2.559218] print_bad_pte from zap_pte_range+0x428/0x66c [ 2.567381] 1ec0: c8a41efc c0100aec 004f9af4 beffffff 414f9af7 00000051 00000ff0 004f9af4 [ 2.575710] zap_pte_range from unmap_page_range+0xb0/0x22c [ 2.583873] 1ee0: c1378010 80808080 c195aa80 00000ff0 fefefeff c1378010 00000000 c8a41f14 [ 2.592030] unmap_page_range from unmap_vmas+0xa0/0xd0 [ 2.601147] 1f00: c03fe788 c0402b58 000f0013 ffffffff 00000055 c1378000 00000003 004f9af4 [ 2.609302] unmap_vmas from exit_mmap+0x70/0x180 [ 2.614085] 1f20: 00000000 00000003 c0d05234 0000000c 004fd884 c024242c be94eea4 00000003 [ 2.622241] exit_mmap from mmput+0x40/0x118 [ 2.627458] 1f40: ffffff9c c8a41f84 00000002 c195aa80 0000000c c0242b6c 00000142 c022f130 [ 2.635614] mmput from begin_new_exec+0x3a8/0x958 [ 2.640657] 1f60: 00020002 be94eea4 004f9af4 c195aa80 00000000 c022e204 00000000 00000000 [ 2.648814] begin_new_exec from load_elf_binary+0x190/0x13ac [ 2.654290] 1f80: c1af1a00 6532b3ff c1adf000 6532b3ff be94eea4 004f9af4 004fe9d0 0000000c [ 2.662447] load_elf_binary from bprm_execve+0x1f4/0x500 [ 2.667836] 1fa0: c01002c4 c0100060 be94eea4 004f9af4 004f9af4 004ee745 00020002 00000001 [ 2.675992] bprm_execve from do_execveat_common+0x188/0x1d4 [ 2.681555] 1fc0: be94eea4 004f9af4 004fe9d0 0000000c 00435308 b6f9ed78 00000000 004fd884 [ 2.689711] do_execveat_common from sys_execve+0x30/0x38 [ 2.694928] 1fe0: 004feb90 be94ece4 00436a80 b6f072f8 600f0030 004f9af4 00000000 00000000 [ 2.703084] sys_execve from ret_fast_syscall+0x0/0x54 [ 2.707779] next_uptodate_page from filemap_map_pages+0x90/0x41c [ 2.715935] Exception stack(0xc8a49fa8 to 0xc8a49ff0) [ 2.720196] filemap_map_pages from handle_mm_fault+0xa7c/0xc44 [ 2.728359] 9fa0: 00518eb4 00518e78 00518eb4 00518e78 00518e94 00000007 [ 2.733137] handle_mm_fault from do_page_fault+0x100/0x35c [ 2.741300] 9fc0: 00518eb4 00518e78 00518e94 0000000b 00517548 00000002 00517614 00517548 [ 2.747031] do_page_fault from do_DataAbort+0x3c/0xb0 [ 2.755192] 9fe0: 00516cfc bebfeeac 004899d0 b6f28158 [ 2.760577] do_DataAbort from __dabt_svc+0x4c/0x80 [ 2.792149] 8<--- cut here --- [ 2.796111] Exception stack(0xc8a41ec8 to 0xc8a41f10) [ 2.796127] 1ec0: 004f9af4 beffffff 414f9af7 00000051 00000ff0 004f9af4 [ 2.796136] 1ee0: c1378010 80808080 c195aa80 00000ff0 fefefeff c1378010 00000000 c8a41f14 [ 2.796144] 1f00: c03fe788 c0402b58 000f0013 ffffffff [ 2.796155] __dabt_svc from __get_user_4+0x14/0x20 [ 2.796183] Code: f57ff05b e5903000 e3130701 0a000034 (f57ff05b) [ 2.801311] Unable to handle kernel paging request at virtual address 3e9c37b0 [ 2.807395] ---[ end trace 0000000000000000 ]--- [ 2.811850] BUG: Bad page map in process S10mdev pte:40cdf59f pmd:41bb5835 [ 2.812471] [3e9c37b0] *pgd=00000000 [ 2.818421] page:(ptrval) refcount:5 mapcount:-1050991420 mapping:(ptrval) index:0xc9 pfn:0x40cdf [ 2.826615] [ 2.832147] aops:0xc090ada0 ino:19f306 dentry name:"busybox" [ 2.840323] Internal error: Oops: 805 [#2] SMP ARM [ 2.845447] flags: 0x20836(referenced|uptodate|lru|active|arch_1|mappedtodisk|zone=0) [ 2.850483] Modules linked in: [ 2.855364] raw: 00020836 c7f13c04 c7f13bc4 c15a1698 000000c9 00000000 c15b24c3 00000005 [ 2.858396] [ 2.863442] page dumped because: bad pte [ 2.871598] CPU: 1 PID: 115 Comm: find Tainted: G B D 6.0.1-gd7d8c971c9c5-dirty #26 [ 2.879762] addr:00509000 vm_flags:00000075 anon_vma:00000000 mapping:c15a1698 index:c9 [ 2.884795] Hardware name: Generic DT based system [ 2.884800] PC is at inode_init_always+0xb8/0x158 [ 2.889669] file:busybox fault:filemap_fault mmap:ext4_file_mmap read_folio:ext4_read_folio [ 2.895748] LR is at alloc_inode+0x34/0xc0 [ 2.895755] pc : [<c024e594>] lr : [<c024ed78>] psr: a0000013 [ 2.895761] sp : c8a49cf0 ip : c8a49cf0 fp : 005d0884 [ 2.895765] r10: c7eb8900 r9 : 00000000 r8 : c0e1b994 [ 2.895770] r7 : 00000000 r6 : c0905d04 r5 : 00000000 r4 : c163c7d0 [ 2.895776] r3 : 00000008 r2 : c0e1b994 r1 : c163c7d0 r0 : c163c850 [ 2.902983] CPU: 0 PID: 117 Comm: S10mdev Tainted: G B D 6.0.1-gd7d8c971c9c5-dirty #26 [ 2.907589] Flags: NzCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment none [ 2.914534] Hardware name: Generic DT based system [ 2.918102] Control: 10c5387d Table: 41bcc06a DAC: 00000051 [ 2.926960] unwind_backtrace from show_stack+0x10/0x14 [ 2.928440] Register r0 information: [ 2.934088] show_stack from dump_stack_lvl+0x40/0x4c [ 2.938870] slab inode_cache [ 2.946680] dump_stack_lvl from print_bad_pte+0x144/0x18c [ 2.949724] start c163c7d0 [ 2.957799] print_bad_pte from zap_pte_range+0x428/0x66c [ 2.959283] pointer offset 128 [ 2.963197] zap_pte_range from unmap_page_range+0xb0/0x22c [ 2.972050] [ 2.972052] Register r1 information: [ 2.980038] unmap_page_range from unmap_vmas+0xa0/0xd0 [ 2.984818] slab inode_cache [ 2.989511] unmap_vmas from exit_mmap+0x70/0x180 [ 2.997843] start c163c7d0 [ 3.001930] exit_mmap from mmput+0x40/0x118 [ 3.008182] pointer offset 0 [ 3.013398] mmput from begin_new_exec+0x3a8/0x958 [ 3.018609] [ 3.018611] Register r2 information: [ 3.025124] begin_new_exec from load_elf_binary+0x190/0x13ac [ 3.031638] non-slab/vmalloc memory [ 3.040751] load_elf_binary from bprm_execve+0x1f4/0x500 [ 3.047869] Register r3 information: [ 3.052649] bprm_execve from do_execveat_common+0x188/0x1d4 [ 3.058381] non-paged memory [ 3.063596] do_execveat_common from sys_execve+0x30/0x38 [ 3.067161] Register r4 information: [ 3.072201] sys_execve from ret_fast_syscall+0x0/0x54 [ 3.075161] slab inode_cache [ 3.080635] Exception stack(0xc8a55fa8 to 0xc8a55ff0) [ 3.083420] start c163c7d0 [ 3.088810] 5fa0: 00518e84 00518e50 00518e84 00518e50 00518e64 00000009 [ 3.091938] pointer offset 0 [ 3.097503] 5fc0: 00518e84 00518e50 00518e64 0000000b 00517548 00000002 00517614 00517548 [ 3.098984] [ 3.098986] Register r5 information: [ 3.102553] 5fe0: 00516cfc bebfeeac 004899d0 b6f28158 [ 3.107763] NULL pointer [ 3.110890] BUG: Bad page map in process S10mdev pte:40cdf59f pmd:41bac835 [ 3.115416] Register r6 information: non-slab/vmalloc memory [ 3.115425] Register r7 information: NULL pointer [ 3.115430] Register r8 information: non-slab/vmalloc memory [ 3.115435] Register r9 information: NULL pointer [ 3.118227] page:(ptrval) refcount:5 mapcount:-1050991421 mapping:(ptrval) index:0xc9 pfn:0x40cdf [ 3.122485] Register r10 information: [ 3.125457] aops:0xc090ada0 ino:19f306 dentry name:"busybox" [ 3.130227] non-slab/vmalloc memory [ 3.131714] flags: 0x20836(referenced|uptodate|lru|active|arch_1|mappedtodisk|zone=0) [ 3.135280] Register r11 information: non-paged memory [ 3.135286] Register r12 information: 2-page vmalloc region starting at 0xc8a48000 allocated at kernel_clone+0x90/0x364 [ 3.141029] raw: 00020836 c7f13c04 c7f13bc4 c15a1698 000000c9 00000000 c15b24c2 00000005 [ 3.144588] Process find (pid: 115, stack limit = 0x(ptrval)) [ 3.144594] Stack: (0xc8a49cf0 to 0xc8a4a000) [ 3.144602] 9ce0: c163c7d0 c19bb400 c0909904 000019ee [ 3.144611] 9d00: c19bb400 c7eb925c c7eb8900 c024ed78 00000000 00000257 c0d04c00 c0250808 [ 3.144620] 9d20: c195bb80 c12d9420 c12d9420 c1627550 c10150bc c1437770 c109b000 00000000 [ 3.144629] 9d40: 005d0884 c02a7cf4 c1627550 c02a83b0 c15b7aa0 2f2f2f2f c1437770 e43ada83 [ 3.144638] 9d60: c10150bc c12d9420 c1269f20 c1627550 c10150bc c02a84d8 c1627550 c15846e8 [ 3.144646] 9d80: c1437770 c8a49df8 00000000 c023d1a8 00000000 c8a49d94 c8a49d94 e43ada83 [ 3.144655] 9da0: c8a49df0 c15846e8 00000001 c14377f0 00000000 c0240c64 c8a49df0 c8a49eb4 [ 3.150041] page dumped because: bad pte [ 3.153610] 9dc0: 00000001 00000000 ffffff9c c109b000 00000000 c02413b8 c8a49ee8 c195bb80 [ 3.153619] 9de0: 00000000 c8a49eb4 ffffff9c c02429dc c1adb910 c15846e8 f8296fa8 00000010 [ 3.159262] addr:00509000 vm_flags:00000075 anon_vma:00000000 mapping:c15a1698 index:c9 [ 3.162227] 9e00: c109b021 00000001 c108f190 c15864c8 c1437770 00000000 00000002 00000000 [ 3.167615] file:busybox fault:filemap_fault mmap:ext4_file_mmap read_folio:ext4_read_folio [ 3.171179] 9e20: 00000000 00000060 00000026 00000000 00000000 00000000 c8a49e3c c8a49ef0 [ 3.176312] CPU: 0 PID: 116 Comm: S10mdev Tainted: G B D 6.0.1-gd7d8c971c9c5-dirty #26 [ 3.179267] 9e40: c1b8eea8 c0204310 00000000 c8a49ed8 c1b016c0 c1b8eba0 b6dcc000 c02045dc [ 3.184303] Hardware name: Generic DT based system [ 3.187093] 9e60: c1b8ef3c c1b8ef34 c1b8ef34 c109b000 00000000 00000002 ffffff9c 00000000 [ 3.195254] unwind_backtrace from show_stack+0x10/0x14 [ 3.198213] 9e80: c7ed41ed c1b8ef00 b6dd5000 e43ada83 c1b8eea0 c8a49ee8 c109b000 00000900 [ 3.206371] show_stack from dump_stack_lvl+0x40/0x4c [ 3.207860] 9ea0: 00000000 c02375cc 00000000 00000008 00000008 c01cbec0 c195bb80 e43ada83 [ 3.211423] dump_stack_lvl from print_bad_pte+0x144/0x18c [ 3.216466] 9ec0: bed8f818 c109b000 ffffff9c 000007ff c01002c4 c195bb80 0000018d c02379e4 [ 3.219077] print_bad_pte from zap_pte_range+0x428/0x66c [ 3.226026] 9ee0: 000007ff 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 3.231669] zap_pte_range from unmap_page_range+0xb0/0x22c [ 3.236366] 9f00: c0c61ef8 00000000 c195c200 c195bb80 c195bb80 e43ada83 00000000 0000010f [ 3.242008] unmap_page_range from unmap_vmas+0xa0/0xd0 [ 3.246706] 9f20: c01002c4 00000101 00000006 c01002c4 c195bb80 c195bb80 c8a49fb0 c0109440 [ 3.255555] unmap_vmas from exit_mmap+0x70/0x180 [ 3.259212] 9f40: b6dcc008 c109b000 bed8f980 005f32b8 00000000 00000000 c0d05234 0000018d [ 3.264854] exit_mmap from mmput+0x40/0x118 [ 3.268423] 9f60: 005d0884 c024242c 00000900 bed8f980 ffffff9c 000007ff c01002c4 e43ada83 [ 3.276232] mmput from begin_new_exec+0x3a8/0x958 [ 3.281363] 9f80: 00000900 c0237a80 bed8f818 bed8fc40 00000001 bed8f818 bed8f980 00000100 [ 3.292120] begin_new_exec from load_elf_binary+0x190/0x13ac [ 3.300197] 9fa0: 0000018d c0100060 bed8f818 bed8f980 ffffff9c 005f32b8 00000900 000007ff [ 3.305927] load_elf_binary from bprm_execve+0x1f4/0x500 [ 3.310276] 9fc0: bed8f818 bed8f980 00000100 0000018d 00000001 005eb290 005f32b8 005d0884 [ 3.318432] bprm_execve from do_execveat_common+0x188/0x1d4 [ 3.326596] 9fe0: 0000018d bed8f7f0 b6e75deb b6df6a66 60000030 ffffff9c 00000000 00000000 [ 3.334753] do_execveat_common from sys_execve+0x30/0x38 [ 3.342915] inode_init_always from alloc_inode+0x34/0xc0 [ 3.351073] sys_execve from ret_fast_syscall+0x0/0x54 [ 3.359235] alloc_inode from iget_locked+0xd4/0x1b4 [ 3.367394] Exception stack(0xc8a3dfa8 to 0xc8a3dff0) [ 3.371309] iget_locked from kernfs_get_inode+0x24/0x158 [ 3.379472] dfa0: 00518e94 00518e60 00518e94 00518e60 00518e74 00000006 [ 3.387629] kernfs_get_inode from kernfs_iop_lookup+0x6c/0xb0 [ 3.395619] dfc0: 00518e94 00518e60 00518e74 0000000b 00517548 00000002 00517614 00517548 [ 3.403776] kernfs_iop_lookup from __lookup_slow+0x84/0x12c [ 3.412110] dfe0: 00516cfc bebfeeac 004899d0 b6f28158 [ 3.420270] __lookup_slow from walk_component+0xec/0x15c [ 3.680307] walk_component from path_lookupat+0x74/0x19c [ 3.685721] path_lookupat from filename_lookup+0xa0/0x138 [ 3.691207] filename_lookup from vfs_statx+0x64/0x118 [ 3.696346] vfs_statx from do_statx+0x3c/0x7c [ 3.700792] do_statx from sys_statx+0x5c/0x74 [ 3.705239] sys_statx from ret_fast_syscall+0x0/0x54 [ 3.710293] Exception stack(0xc8a49fa8 to 0xc8a49ff0) [ 3.715343] 9fa0: bed8f818 bed8f980 ffffff9c 005f32b8 00000900 000007ff [ 3.723514] 9fc0: bed8f818 bed8f980 00000100 0000018d 00000001 005eb290 005f32b8 005d0884 [ 3.731681] 9fe0: 0000018d bed8f7f0 b6e75deb b6df6a66 [ 3.736732] Code: e5815174 e581502c e5815098 e5815068 (e30915b0) [ 3.742885] ---[ end trace 0000000000000000 ]--- [ 3.747605] BUG: Bad page map in process find pte:40cdf59f pmd:41b77835 [ 3.754339] page:(ptrval) refcount:5 mapcount:-1050991420 mapping:(ptrval) index:0xc9 pfn:0x40cdf [ 3.763266] aops:0xc090ada0 ino:19f306 dentry name:"busybox" [ 3.768931] flags: 0x20836(referenced|uptodate|lru|active|arch_1|mappedtodisk|zone=0) [ 3.776788] raw: 00020836 c7f13c04 c7f13bc4 c15a1698 000000c9 00000000 c15b24c3 00000005 [ 3.784882] page dumped because: bad pte [ 3.788803] addr:005c4000 vm_flags:00000075 anon_vma:00000000 mapping:c15a1698 index:c9 [ 3.796819] file:busybox fault:filemap_fault mmap:ext4_file_mmap read_folio:ext4_read_folio [ 3.805198] CPU: 1 PID: 115 Comm: find Tainted: G B D 6.0.1-gd7d8c971c9c5-dirty #26 [ 3.814064] Hardware name: Generic DT based system [ 3.818854] unwind_backtrace from show_stack+0x10/0x14 [ 3.824084] show_stack from dump_stack_lvl+0x40/0x4c [ 3.829137] dump_stack_lvl from print_bad_pte+0x144/0x18c [ 3.834626] print_bad_pte from zap_pte_range+0x428/0x66c [ 3.840027] zap_pte_range from unmap_page_range+0xb0/0x22c [ 3.845602] unmap_page_range from unmap_vmas+0xa0/0xd0 [ 3.850829] unmap_vmas from exit_mmap+0x70/0x180 [ 3.855537] exit_mmap from mmput+0x40/0x118 [ 3.859813] mmput from do_exit+0x25c/0x89c [ 3.864001] do_exit from make_task_dead+0x5c/0xf8 [ 3.868793] make_task_dead from die+0x378/0x484 [ 3.873410] die from die_kernel_fault+0x64/0x74 [ 3.878030] die_kernel_fault from do_bad_area+0x0/0xc8 Segmentation fault [ 3.886874] BUG: Bad page map in process sort pte:40cdf59f pmd:41b77835 [ 3.893650] page:(ptrval) refcount:5 mapcount:-1050991420 mapping:(ptrval) index:0xc9 pfn:0x40cdf [ 3.902525] aops:0xc090ada0 ino:19f306 dentry name:"busybox" [ 3.908229] flags: 0x20836(referenced|uptodate|lru|active|arch_1|mappedtodisk|zone=0) [ 3.916088] raw: 00020836 c7f13c04 c7f13bc4 c15a1698 000000c9 00000000 c15b24c3 00000005 [ 3.924185] page dumped because: bad pte [ 3.928105] addr:00551000 vm_flags:00000075 anon_vma:00000000 mapping:c15a1698 index:c9 [ 3.936116] file:busybox fault:filemap_fault mmap:ext4_file_mmap read_folio:ext4_read_folio [ 3.944497] CPU: 1 PID: 119 Comm: sort Tainted: G B D 6.0.1-gd7d8c971c9c5-dirty #26 [ 3.953363] Hardware name: Generic DT based system [ 3.958155] unwind_backtrace from show_stack+0x10/0x14 [ 3.963386] show_stack from dump_stack_lvl+0x40/0x4c [ 3.968439] dump_stack_lvl from print_bad_pte+0x144/0x18c [ 3.973928] print_bad_pte from zap_pte_range+0x428/0x66c [ 3.979329] zap_pte_range from unmap_page_range+0xb0/0x22c [ 3.984904] unmap_page_range from unmap_vmas+0xa0/0xd0 [ 3.990131] unmap_vmas from exit_mmap+0x70/0x180 [ 3.994838] exit_mmap from mmput+0x40/0x118 [ 3.999114] mmput from do_exit+0x25c/0x89c [ 4.003302] do_exit from do_group_exit+0x34/0x98 [ 4.008008] do_group_exit from __wake_up_parent+0x0/0x18 [ 4.013869] BUG: Bad page map in process xargs pte:40cdf59f pmd:41b76835 [ 4.020670] page:(ptrval) refcount:4 mapcount:-1050991421 mapping:(ptrval) index:0xc9 pfn:0x40cdf [ 4.029608] aops:0xc090ada0 ino:19f306 dentry name:"busybox" [ 4.035291] flags: 0x20836(referenced|uptodate|lru|active|arch_1|mappedtodisk|zone=0) [ 4.043145] raw: 00020836 c7f13c04 c7f13bc4 c15a1698 000000c9 00000000 c15b24c2 00000004 [ 4.051226] page dumped because: bad pte [ 4.055163] addr:00564000 vm_flags:00000075 anon_vma:00000000 mapping:c15a1698 index:c9 [ 4.063174] file:busybox fault:filemap_fault mmap:ext4_file_mmap read_folio:ext4_read_folio [ 4.071542] CPU: 1 PID: 116 Comm: xargs Tainted: G B D 6.0.1-gd7d8c971c9c5-dirty #26 [ 4.080492] Hardware name: Generic DT based system [ 4.085281] unwind_backtrace from show_stack+0x10/0x14 [ 4.090511] show_stack from dump_stack_lvl+0x40/0x4c [ 4.095563] dump_stack_lvl from print_bad_pte+0x144/0x18c [ 4.101052] print_bad_pte from zap_pte_range+0x428/0x66c [ 4.106453] zap_pte_range from unmap_page_range+0xb0/0x22c [ 4.112027] unmap_page_range from unmap_vmas+0xa0/0xd0 [ 4.117255] unmap_vmas from exit_mmap+0x70/0x180 [ 4.121962] exit_mmap from mmput+0x40/0x118 [ 4.126237] mmput from do_exit+0x25c/0x89c [ 4.130425] do_exit from do_group_exit+0x34/0x98 [ 4.135131] do_group_exit from __wake_up_parent+0x0/0x18 [ 4.141063] BUG: Bad page map in process tr pte:40cdf59f pmd:41b75835 [ 4.147653] page:(ptrval) refcount:3 mapcount:-1050991422 mapping:(ptrval) index:0xc9 pfn:0x40cdf [ 4.156540] aops:0xc090ada0 ino:19f306 dentry name:"busybox" [ 4.162203] flags: 0x20836(referenced|uptodate|lru|active|arch_1|mappedtodisk|zone=0) [ 4.170063] raw: 00020836 c7f13c04 c7f13bc4 c15a1698 000000c9 00000000 c15b24c1 00000003 [ 4.178153] page dumped because: bad pte [ 4.182073] addr:00533000 vm_flags:00000075 anon_vma:00000000 mapping:c15a1698 index:c9 [ 4.190081] file:busybox fault:filemap_fault mmap:ext4_file_mmap read_folio:ext4_read_folio [ 4.198453] CPU: 1 PID: 117 Comm: tr Tainted: G B D 6.0.1-gd7d8c971c9c5-dirty #26 [ 4.207144] Hardware name: Generic DT based system [ 4.211934] unwind_backtrace from show_stack+0x10/0x14 [ 4.217163] show_stack from dump_stack_lvl+0x40/0x4c [ 4.222216] dump_stack_lvl from print_bad_pte+0x144/0x18c [ 4.227705] print_bad_pte from zap_pte_range+0x428/0x66c [ 4.233106] zap_pte_range from unmap_page_range+0xb0/0x22c [ 4.238681] unmap_page_range from unmap_vmas+0xa0/0xd0 [ 4.243909] unmap_vmas from exit_mmap+0x70/0x180 [ 4.248616] exit_mmap from mmput+0x40/0x118 [ 4.252891] mmput from do_exit+0x25c/0x89c [ 4.257078] do_exit from do_group_exit+0x34/0x98 [ 4.261783] do_group_exit from __wake_up_parent+0x0/0x18 [ 4.274070] BUG: Bad page map in process modprobe pte:40cdf59f pmd:41b3d835 [ 4.281143] page:(ptrval) refcount:3 mapcount:-1050991422 mapping:(ptrval) index:0xc9 pfn:0x40cdf [ 4.290080] aops:0xc090ada0 ino:19f306 dentry name:"busybox" [ 4.295761] flags: 0x20836(referenced|uptodate|lru|active|arch_1|mappedtodisk|zone=0) [ 4.303620] raw: 00020836 c7f13c04 c7f13bc4 c15a1698 000000c9 00000000 c15b24c1 00000003 [ 4.311700] page dumped because: bad pte [ 4.315633] addr:00598000 vm_flags:00000075 anon_vma:00000000 mapping:c15a1698 index:c9 [ 4.323642] file:busybox fault:filemap_fault mmap:ext4_file_mmap read_folio:ext4_read_folio [ 4.332009] CPU: 1 PID: 120 Comm: modprobe Tainted: G B D 6.0.1-gd7d8c971c9c5-dirty #26 [ 4.341221] Hardware name: Generic DT based system [ 4.346013] unwind_backtrace from show_stack+0x10/0x14 [ 4.351243] show_stack from dump_stack_lvl+0x40/0x4c [ 4.356297] dump_stack_lvl from print_bad_pte+0x144/0x18c [ 4.361787] print_bad_pte from zap_pte_range+0x428/0x66c [ 4.367189] zap_pte_range from unmap_page_range+0xb0/0x22c [ 4.372764] unmap_page_range from unmap_vmas+0xa0/0xd0 [ 4.377993] unmap_vmas from exit_mmap+0x70/0x180 [ 4.382700] exit_mmap from mmput+0x40/0x118 [ 4.386975] mmput from do_exit+0x25c/0x89c [ 4.391163] do_exit from do_group_exit+0x34/0x98 [ 4.395868] do_group_exit from __wake_up_parent+0x0/0x18 [ 4.401664] BUG: Bad page map in process xargs pte:40cdf59f pmd:41b74835 [ 4.408500] page:(ptrval) refcount:2 mapcount:-1050991423 mapping:(ptrval) index:0xc9 pfn:0x40cdf [ 4.417426] aops:0xc090ada0 ino:19f306 dentry name:"busybox" [ 4.423113] flags: 0x20836(referenced|uptodate|lru|active|arch_1|mappedtodisk|zone=0) [ 4.430951] raw: 00020836 c7f13c04 c7f13bc4 c15a1698 000000c9 00000000 c15b24c0 00000002 [ 4.439046] page dumped because: bad pte [ 4.442965] addr:005a1000 vm_flags:00000075 anon_vma:00000000 mapping:c15a1698 index:c9 [ 4.450978] file:busybox fault:filemap_fault mmap:ext4_file_mmap read_folio:ext4_read_folio [ 4.459355] CPU: 1 PID: 118 Comm: xargs Tainted: G B D 6.0.1-gd7d8c971c9c5-dirty #26 [ 4.468307] Hardware name: Generic DT based system [ 4.473097] unwind_backtrace from show_stack+0x10/0x14 [ 4.478327] show_stack from dump_stack_lvl+0x40/0x4c [ 4.483380] dump_stack_lvl from print_bad_pte+0x144/0x18c [ 4.488868] print_bad_pte from zap_pte_range+0x428/0x66c [ 4.494269] zap_pte_range from unmap_page_range+0xb0/0x22c [ 4.499844] unmap_page_range from unmap_vmas+0xa0/0xd0 [ 4.505071] unmap_vmas from exit_mmap+0x70/0x180 [ 4.509778] exit_mmap from mmput+0x40/0x118 [ 4.514053] mmput from do_exit+0x25c/0x89c [ 4.518241] do_exit from do_group_exit+0x34/0x98 [ 4.522946] do_group_exit from __wake_up_parent+0x0/0x18 [ 4.528944] BUG: Bad page map in process S10mdev pte:40cdf59f pmd:41b8f835 [ 4.535989] page:(ptrval) refcount:1 mapcount:-1050991424 mapping:(ptrval) index:0xc9 pfn:0x40cdf [ 4.544880] aops:0xc090ada0 ino:19f306 dentry name:"busybox" [ 4.550543] flags: 0x20836(referenced|uptodate|lru|active|arch_1|mappedtodisk|zone=0) [ 4.558403] raw: 00020836 c7f13c04 c7f13bc4 c15a1698 000000c9 00000000 c15b24bf 00000001 [ 4.566496] page dumped because: bad pte [ 4.570416] addr:00509000 vm_flags:00000075 anon_vma:00000000 mapping:c15a1698 index:c9 [ 4.578425] file:busybox fault:filemap_fault mmap:ext4_file_mmap read_folio:ext4_read_folio [ 4.586808] CPU: 1 PID: 111 Comm: S10mdev Tainted: G B D 6.0.1-gd7d8c971c9c5-dirty #26 [ 4.595934] Hardware name: Generic DT based system [ 4.600725] unwind_backtrace from show_stack+0x10/0x14 [ 4.605956] show_stack from dump_stack_lvl+0x40/0x4c [ 4.611008] dump_stack_lvl from print_bad_pte+0x144/0x18c [ 4.616497] print_bad_pte from zap_pte_range+0x428/0x66c [ 4.621898] zap_pte_range from unmap_page_range+0xb0/0x22c [ 4.627473] unmap_page_range from unmap_vmas+0xa0/0xd0 [ 4.632701] unmap_vmas from exit_mmap+0x70/0x180 [ 4.637408] exit_mmap from mmput+0x40/0x118 [ 4.641684] mmput from do_exit+0x25c/0x89c [ 4.645871] do_exit from do_group_exit+0x34/0x98 [ 4.650576] do_group_exit from __wake_up_parent+0x0/0x18 Seeding 256 bits[ 4.695371] random: crng init done and crediting Saving 256 bits of creditable seed for next boot Starting system message bus: done Starting network: [ 25.903015] rcu: INFO: rcu_sched self-detected stall on CPU [ 25.908610] rcu: 0-....: (2100 ticks this GP) idle=37f4/1/0x40000002 softirq=104/104 fqs=1050 [ 25.917220] (t=2102 jiffies g=-1015 q=29 ncpus=2) [ 25.922011] NMI backtrace for cpu 0 [ 25.925497] CPU: 0 PID: 135 Comm: ip Tainted: G B D 6.0.1-gd7d8c971c9c5-dirty #26 [ 25.934186] Hardware name: Generic DT based system [ 25.938977] unwind_backtrace from show_stack+0x10/0x14 [ 25.944212] show_stack from dump_stack_lvl+0x40/0x4c [ 25.949265] dump_stack_lvl from nmi_cpu_backtrace+0xd4/0x104 [ 25.955015] nmi_cpu_backtrace from nmi_trigger_cpumask_backtrace+0xd8/0x120 [ 25.962064] nmi_trigger_cpumask_backtrace from rcu_dump_cpu_stacks+0x11c/0x150 [ 25.969375] rcu_dump_cpu_stacks from rcu_sched_clock_irq+0x758/0x918 [ 25.975819] rcu_sched_clock_irq from update_process_times+0x6c/0x94 [ 25.982174] update_process_times from tick_sched_timer+0x60/0xec [ 25.988272] tick_sched_timer from __hrtimer_run_queues+0x160/0x214 [ 25.994540] __hrtimer_run_queues from hrtimer_interrupt+0x120/0x28c [ 26.000894] hrtimer_interrupt from arch_timer_handler_phys+0x28/0x30 [ 26.007338] arch_timer_handler_phys from handle_percpu_devid_irq+0x78/0x134 [ 26.014387] handle_percpu_devid_irq from generic_handle_domain_irq+0x28/0x38 [ 26.021522] generic_handle_domain_irq from gic_handle_irq+0x74/0x88 [ 26.027878] gic_handle_irq from generic_handle_arch_irq+0x34/0x44 [ 26.034061] generic_handle_arch_irq from call_with_stack+0x18/0x20 [ 26.040331] call_with_stack from __irq_svc+0x98/0xb0 [ 26.045384] Exception stack(0xc8a71e08 to 0xc8a71e50) [ 26.050433] 1e00: c7f13be0 00080014 00080015 c7f13bfc c15a15a0 c7f13be0 [ 26.058602] 1e20: c8a71ee4 c15a1698 000000c9 00000000 c1adff00 00000001 00000000 c8a71e58 [ 26.066769] 1e40: c01d0e04 c01d0e10 600f0113 ffffffff [ 26.071815] __irq_svc from filemap_fault+0x538/0x7cc [ 26.076870] filemap_fault from __do_fault+0x38/0x144 [ 26.081925] __do_fault from handle_mm_fault+0x854/0xc44 [ 26.087238] handle_mm_fault from do_page_fault+0x100/0x35c [ 26.092811] do_page_fault from do_DataAbort+0x3c/0xb0 [ 26.097951] do_DataAbort from __dabt_usr+0x54/0x60 [ 26.102829] Exception stack(0xc8a71fb0 to 0xc8a71ff8) [ 26.107876] 1fa0: bee27f71 0057418d 00000031 00000061 [ 26.116046] 1fc0: bee27b50 00000000 bee27f71 ffffffff 00000000 00000000 00000000 00000000 [ 26.124214] 1fe0: 00581a30 bee27ab0 004ebc8c b6e7d852 a00f0030 ffffffff
-
T113上 使用Tina-linux ,移植百问网lvgl 2048小游戏,可以通过编译,但是运行报错
LV_2048文件夹下的Makefileinclude $(TOPDIR)/rules.mk include $(BUILD_DIR)/package.mk include ../sunxifb.mk PKG_NAME:=lv_2048 PKG_VERSION:=8.1.0 PKG_RELEASE:=1 PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME) define Package/$(PKG_NAME) SECTION:=gui SUBMENU:=Littlevgl CATEGORY:=Gui DEPENDS:=+LVGL8_USE_SUNXIFB_G2D:libuapi +LVGL8_USE_SUNXIFB_G2D:kmod-sunxi-g2d \ +LVGL8_USE_FREETYPE:libfreetype TITLE:=lvgl 2048 endef PKG_CONFIG_DEPENDS := \ CONFIG_LVGL8_USE_SUNXIFB_DOUBLE_BUFFER \ CONFIG_LVGL8_USE_SUNXIFB_CACHE \ CONFIG_LVGL8_USE_SUNXIFB_G2D \ CONFIG_LVGL8_USE_SUNXIFB_G2D_ROTATE define Package/$(PKG_NAME)/config endef define Package/$(PKG_NAME)/Default endef define Package/$(PKG_NAME)/description a lvgl 2048 v8.1.0 endef define Build/Prepare $(INSTALL_DIR) $(PKG_BUILD_DIR)/ $(CP) ./src $(PKG_BUILD_DIR)/ $(CP) ./../lvgl $(PKG_BUILD_DIR)/src/ $(CP) ./../lv_drivers $(PKG_BUILD_DIR)/src/ endef define Build/Configure endef TARGET_CFLAGS+=-I$(PKG_BUILD_DIR)/src ifeq ($(CONFIG_LVGL8_USE_SUNXIFB_G2D),y) TARGET_CFLAGS+=-DLV_USE_SUNXIFB_G2D_FILL \ -DLV_USE_SUNXIFB_G2D_BLEND \ -DLV_USE_SUNXIFB_G2D_BLIT \ -DLV_USE_SUNXIFB_G2D_SCALE endif define Build/Compile $(MAKE) -C $(PKG_BUILD_DIR)/src\ ARCH="$(TARGET_ARCH)" \ AR="$(TARGET_AR)" \ CC="$(TARGET_CC)" \ CXX="$(TARGET_CXX)" \ CFLAGS="$(TARGET_CFLAGS)" \ LDFLAGS="$(TARGET_LDFLAGS)" \ INSTALL_PREFIX="$(PKG_INSTALL_DIR)" \ all endef define Package/$(PKG_NAME)/install $(INSTALL_DIR) $(1)/usr/bin/ $(INSTALL_BIN) $(PKG_BUILD_DIR)/src/$(PKG_NAME) $(1)/usr/bin/ endef $(eval $(call BuildPackage,$(PKG_NAME)))
LV_2048/src 文件夹下的Makefile
# # Makefile # CC ?= gcc LVGL_DIR_NAME ?= lvgl LVGL_DIR ?= ${shell pwd} CFLAGS ?= -O3 -g0 -I$(LVGL_DIR)/ -Wall -Wshadow -Wundef -Wmissing-prototypes -Wno-discarded-qualifiers -Wall -Wextra -Wno-unused-function -Wno-error=strict-prototypes -Wpointer-arith -fno-strict-aliasing -Wno-error=cpp -Wuninitialized -Wmaybe-uninitialized -Wno-unused-parameter -Wno-missing-field-initializers -Wtype-limits -Wsizeof-pointer-memaccess -Wno-format-nonliteral -Wno-cast-qual -Wunreachable-code -Wno-switch-default -Wreturn-type -Wmultichar -Wformat-security -Wno-ignored-qualifiers -Wno-error=pedantic -Wno-sign-compare -Wno-error=missing-prototypes -Wdouble-promotion -Wclobbered -Wdeprecated -Wempty-body -Wtype-limits -Wshift-negative-value -Wstack-usage=2048 -Wno-unused-value -Wno-unused-parameter -Wno-missing-field-initializers -Wuninitialized -Wmaybe-uninitialized -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -Wtype-limits -Wsizeof-pointer-memaccess -Wno-format-nonliteral -Wpointer-arith -Wno-cast-qual -Wmissing-prototypes -Wunreachable-code -Wno-switch-default -Wreturn-type -Wmultichar -Wno-discarded-qualifiers -Wformat-security -Wno-ignored-qualifiers -Wno-sign-compare LDFLAGS ?= -lm BIN = lv_2048 #Collect the files to compile SRCDIRS = $(shell find . -maxdepth 1 -type d) MAINSRC = $(foreach dir,$(SRCDIRS),$(wildcard $(dir)/*.c)) include $(LVGL_DIR)/lvgl/lvgl.mk include $(LVGL_DIR)/lv_drivers/lv_drivers.mk include ./lv_lib_100ask/lv_lib_100ask.mk OBJEXT ?= .o AOBJS = $(ASRCS:.S=$(OBJEXT)) COBJS = $(CSRCS:.c=$(OBJEXT)) MAINOBJ = $(MAINSRC:.c=$(OBJEXT)) SRCS = $(ASRCS) $(CSRCS) $(MAINSRC) OBJS = $(AOBJS) $(COBJS) ## MAINOBJ -> OBJFILES all: default %.o: %.c @$(CC) $(CFLAGS) -c $< -o $@ @echo "CC $<" default: $(AOBJS) $(COBJS) $(MAINOBJ) $(CC) -o $(BIN) $(MAINOBJ) $(AOBJS) $(COBJS) $(LDFLAGS) clean: rm -f $(BIN) $(AOBJS) $(COBJS) $(MAINOBJ)