t527 板子一开机网口灯就亮,网线都没插灯就亮这不正常吧。
wj8331585 发布的帖子
-
回复: 关于屏的TE脚的使用方法
lcd_gpio_0 = <&pio PE 11 GPIO_ACTIVE_HIGH>; lcd_vsync = <&pio PD 21 2 0 3 0>; //lcd_vsync = port:PD21<2><0><3><default> pinctrl-0 = <&dsi4lane_pins_a>; pinctrl-1 = <&dsi4lane_pins_b>;
设备树这样写,好像没起到作用。
-
回复: T113在内核中采用硬解jpeg方式实现开机动画
U-Boot 2018.05 (Jul 18 2023 - 07:06:50 +0000) Allwinner Technology
[00.330]CPU: Allwinner Family
[00.333]Model: sun8iw20
[00.335]DRAM: 128 MiB
[00.338]Relocation Offset is: 04ebe000
[00.366]secure enable bit: 0
[00.368]smc_tee_inform_fdt failed with: -65526[00.372]CPU=1008 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=100Mhz MBus=300Mhz
[00.379]gic: sec monitor mode
[00.382]flash init start
[00.384]workmode = 0,storage type = 1
[00.387][mmc]: mmc driver ver uboot2018:2021-11-19 15:38:00
[00.392][mmc]: get sdc_type fail and use default host:tm1.
[00.399][mmc]: can't find node "mmc0",will add new node
[00.403][mmc]: fdt err returned <no error>
[00.407][mmc]: Using default timing para
[00.411][mmc]: SUNXI SDMMC Controller Version:0x50310
[00.437][mmc]: card_caps:0x3000000a
[00.440][mmc]: host_caps:0x3000003f
[00.445]sunxi flash init ok
[00.447]line:703 init_clocks
[00.450]drv_disp_init
request pwm success, pwm7:pwm7:0x2000c00.
fdt get node offset faill: hdmi
[00.466]unable to map hdmi registers
[00.470]drv_disp_init finish
[00.472]boot_gui_init:start
[00.475]set disp.dev2_output_type fail. using defval=0
[00.481]set disp.fb0_width fail. using defval=0
[00.485]set disp.fb0_height fail. using defval=0
[00.490]boot_gui_init:finish
partno erro : can't find partition bootloader
[00.511]ili9488 3line spi init...
[00.680]ili9488 init ok
54 bytes read in 1 ms (52.7 KiB/s)
[00.686]bmp_name=bootlogo.bmp size 307272
307272 bytes read in 15 ms (19.5 MiB/s)
[00.724]Loading Environment from SUNXI_FLASH... OK
[00.746]Item0 (Map) magic is bad
[00.748]the secure storage item0 copy0 magic is bad
[00.757]Item0 (Map) magic is bad
[00.759]the secure storage item0 copy1 magic is bad
[00.764]Item0 (Map) magic is bad
secure storage read widevine fail
[00.770]secure storage read widevine fail with:-1
secure storage read ec_key fail
[00.777]secure storage read ec_key fail with:-1
secure storage read ec_cert1 fail
[00.785]secure storage read ec_cert1 fail with:-1
secure storage read ec_cert2 fail
[00.792]secure storage read ec_cert2 fail with:-1
secure storage read ec_cert3 fail
[00.800]secure storage read ec_cert3 fail with:-1
secure storage read rsa_key fail
[00.807]secure storage read rsa_key fail with:-1
secure storage read rsa_cert1 fail
[00.814]secure storage read rsa_cert1 fail with:-1
secure storage read rsa_cert2 fail
[00.822]secure storage read rsa_cert2 fail with:-1
secure storage read rsa_cert3 fail
[00.830]secure storage r[00.833]LCD open finish
ead rsa_cert3 fail with:-1
[00.837]out of usb burn from boot: not need burn key
nkx_debug:board/sunxi/board_common.c:board_late_init:735
partinfo: name animation, start 0x9ac40, size 0x1000 4499e900
cann't get the boot_base from the env
partno erro : can't find partition private
root_partition is rootfs
set root to /dev/mmcblk0p5
[00.954]update part info
[00.958]update bootcmd
[00.962]change working_fdt 0x4487de70 to 0x4485de70
disable nand error: FDT_ERR_BADPATH
[00.983]update dts
Hit any key to stop autoboot: 0
card0 has inited
curr_device:0
Device: SUNXI SD/MMC
Manufacturer ID: 3
OEM: 5344
Name: SD32G
Bus Speed: 50000000
Mode : SD High Speed (50MHz)
Rd Block Len: 512
SD version 3.0
High Capacity: Yes
Capacity: 29.7 GiB
Bus Width: 4-bit
Erase Group Size: 512 BytesPartition Map for MMC device 0 -- Partition Type: EFI
Part Start LBA End LBA Name
Attributes
Type GUID
Partition GUID
1 0x00008a40 0x0000aa3f "boot-resource"
attrs: 0x0000000000000000
type: 0fc63daf-8483-4772-8e79-3d69d8477de4
guid: 95cb543e-7ee1-4fa4-a48d-19f4c0352c8a
2 0x0000aa40 0x0000ab3f "env"
attrs: 0x0000000000000000
type: 0fc63daf-8483-4772-8e79-3d69d8477de4
guid: 94d4b072-13b6-4699-9676-6f05233998db
3 0x0000ab40 0x0000ac3f "env-redund"
attrs: 0x0000000000000000
type: 0fc63daf-8483-4772-8e79-3d69d8477de4
guid: ed68367a-e492-4fc3-a7bb-66e052ca2ac7
4 0x0000ac40 0x0001ac3f "boot"
attrs: 0x0000000000000004
type: 0fc63daf-8483-4772-8e79-3d69d8477de4
guid: 8f4db6e3-c9ec-42c3-9ba2-ce67fa773c22
5 0x0001ac40 0x0009ac3f "rootfs"
attrs: 0x0000000000000000
type: 0fc63daf-8483-4772-8e79-3d69d8477de4
guid: e893bf91-0818-4fb8-a9c6-b3dad0d78a22
6 0x0009ac40 0x0009bc3f "animation"
attrs: 0x0000000000000000
type: 0fc63daf-8483-4772-8e79-3d69d8477de4
guid: 6d14f6bf-af7c-424d-a1eb-ff0a2e972b52
5183488 bytes read in 217 ms (22.8 MiB/s)
[03.333]no vendor_boot partition is found
Android's image name: sun8iw20p1
[03.345]Starting kernel ...[03.348][mmc]: MMC Device 2 not found
[03.351][mmc]: mmc 2 not find, so not exit
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 5.4.61 (bob@bob) (arm-linux-gnueabi-gcc (Linaro GCC 7.2-2017.11) 7.2.1 20171011, GNU ld (Linaro_Binutils-2017.11) 2.28.2.20170706) #61 SMP PREEMPT Wed Apr 17 13:45:54 CST 2024
[ 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: sun8iw20
[ 0.000000] printk: bootconsole [earlycon0] enabled
[ 0.000000] animation reserve base 0x4499e900 ,size 0x200000
[ 0.000000] Memory policy: Data cache writealloc
[ 0.000000] cma: Reserved 8 MiB at 0x47800000
[ 0.000000] On node 0 totalpages: 32512
[ 0.000000] Normal zone: 256 pages used for memmap
[ 0.000000] Normal zone: 0 pages reserved
[ 0.000000] Normal zone: 32512 pages, LIFO batch:7
[ 0.000000] psci: probing for conduit method from DT.
[ 0.000000] psci: PSCIv1.0 detected in firmware.
[ 0.000000] psci: Using standard PSCI v0.2 function IDs
[ 0.000000] psci: MIGRATE_INFO_TYPE not supported.
[ 0.000000] psci: SMC Calling Convention v1.0
[ 0.000000] percpu: Embedded 15 pages/cpu s30796 r8192 d22452 u61440
[ 0.000000] pcpu-alloc: s30796 r8192 d22452 u61440 alloc=15*4096
[ 0.000000] pcpu-alloc: [0] 0 [0] 1
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 32256
[ 0.000000] Kernel command line: earlyprintk=sunxi-uart,0x02500000 clk_ignore_unused initcall_debug=0 console=ttyS0,115200 loglevel=8 root=/dev/mmcblk0p5 init=/sbin/init partitions=ext4 cma=8M gpt=1 androidboot.hardware=sun8iw20p1 boot_type=1 androidboot.boot_type=1 gpt=1 uboot_message=2018.05(07/18/2023-07:06:50) animation_reserve=0x4499e900,2097152 disp_reserve=614400,0x448e6000 androidboot.dramsize=128
[ 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: 104808K/130048K available (7168K kernel code, 356K rwdata, 2476K rodata, 1024K init, 177K bss, 17048K reserved, 8192K cma-reserved)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, 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: 16, nr_irqs: 16, preallocated irqs: 16
[ 0.000000] random: get_random_bytes called from start_kernel+0x248/0x3d0 with crng_init=0
[ 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.000006] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[ 0.008026] Switching to timer-based delay loop, resolution 41ns
[ 0.014226] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[ 0.024006] Console: colour dummy device 80x30
[ 0.028479] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000)
[ 0.038833] pid_max: default: 32768 minimum: 301
[ 0.043591] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.050927] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.059307] CPU: Testing write buffer coherency: ok
[ 0.064563] /cpus/cpu@0 missing clock-frequency property
[ 0.069889] /cpus/cpu@1 missing clock-frequency property
[ 0.075243] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[ 0.081477] Setting up static identity map for 0x40100000 - 0x40100060
[ 0.088171] rcu: Hierarchical SRCU implementation.
[ 0.093469] smp: Bringing up secondary CPUs ...
[ 0.099223] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[ 0.099376] smp: Brought up 1 node, 2 CPUs
[ 0.109219] SMP: Total of 2 processors activated (96.00 BogoMIPS).
[ 0.115391] CPU: All CPU(s) started in SVC mode.
[ 0.120496] devtmpfs: initialized
[ 0.135954] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[ 0.144130] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.154019] futex hash table entries: 512 (order: 3, 32768 bytes, linear)
[ 0.161295] pinctrl core: initialized pinctrl subsystem
[ 0.167970] NET: Registered protocol family 16
[ 0.174058] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 0.220474] rtc_ccu: sunxi ccu init OK
[ 0.226724] ccu: sunxi ccu init OK
[ 0.230599] r_ccu: sunxi ccu init OK
[ 0.281353] iommu: Default domain type: Translated
[ 0.286541] sunxi iommu: irq = 24
[ 0.291090] SCSI subsystem initialized
[ 0.295248] usbcore: registered new interface driver usbfs
[ 0.300885] usbcore: registered new interface driver hub
[ 0.306316] usbcore: registered new device driver usb
[ 0.311572] mc: Linux media interface: v0.10
[ 0.315956] videodev: Linux video capture interface: v2.00
[ 0.323232] sunxi-msgbox-amp 3003000.msgbox: invalid resource
[ 0.330070] Advanced Linux Sound Architecture Driver Initialized.
[ 0.336934] Bluetooth: Core ver 2.22
[ 0.340580] NET: Registered protocol family 31
[ 0.345027] Bluetooth: HCI device and connection manager initialized
[ 0.351421] Bluetooth: HCI socket layer initialized
[ 0.356314] Bluetooth: L2CAP socket layer initialized
[ 0.361398] Bluetooth: SCO socket layer initialized
[ 0.366672] pwm module init!
[ 0.370505] [DISP]disp_module_init
[ 0.374612] disp 5000000.disp: Adding to iommu group 0
[ 0.380366] [DISP] parser_disp_init_para,line:1430:
[ 0.380370] of_property_read fb0_width fail
[ 0.389481] [DISP] disp_init,line:2387:
[ 0.389486] smooth display screen:0 type:1 mode:4
[ 0.415103] do not get the node of hdmi
[ 0.419300] display_fb_request,fb_id:0
[ 0.425893] disp_al_manager_apply ouput_type:1
[ 0.430537] [DISP] lcd_clk_config,line:744:
[ 0.430547] disp 0, clk: pll(294000000),clk(294000000),dclk(49000000) dsi_rate(294000000)
[ 0.430547] clk real:pll(288000000),clk(288000000),dclk(48000000) dsi_rate(0)
[ 0.435562] [DISP]disp_module_init finish
[ 0.450767] platform 2000c17.pwm7: pinctrl_get failed
[ 0.455559] input: sunxi-keyboard as /devices/virtual/input/input0
[ 0.467300] free logo buffer src_phy_addr=0x448e6000 fb_height=320 src_stride=1920
[ 0.475109] clocksource: Switched to clocksource arch_sys_counter
[ 0.475480] Freeing logo buffer memory: 600K
[ 0.494821] sun8iw20-pinctrl pio: initialized sunXi PIO driver
[ 0.515080] sunxi cedar version 1.1
[ 0.518995] animation:dec_test_init:489 dec test version 1.0
[ 0.528775] 8<--- cut here ---
[ 0.531888] Unable to handle kernel NULL pointer dereference at virtual address 00000064
[ 0.540109] thermal_sys: Registered thermal governor 'user_space'
[ 0.540116] thermal_sys: Registered thermal governor 'power_allocator'
[ 0.546264] pgd = (ptrval)
[ 0.547067] NET: Registered protocol family 2
[ 0.552842] [00000064] *pgd=00000000
[ 0.557030] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
[ 0.560172] Internal error: Oops: 5 [#1] PREEMPT SMP ARM
[ 0.563588] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.571898] Modules linked in:
[ 0.571910] CPU: 0 PID: 22 Comm: kworker/0:1 Not tainted 5.4.61 #61
[ 0.571913] Hardware name: Generic DT based system
[ 0.571931] Workqueue: events test_decoder
[ 0.577271] TCP bind hash table entries: 1024 (order: 1, 8192 bytes, linear)
[ 0.584888] PC is at cedar_get_device+0x8/0x14
[ 0.587969] TCP: Hash tables configured (established 1024 bind 1024)
[ 0.594200] LR is at mem_ion_create+0xa4/0xe0
[ 0.599102] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[ 0.603097] pc : [<c0524298>] lr : [<c051bc44>] psr: 40000013
[ 0.610169] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[ 0.614569] sp : c7149d90 ip : c721d6f8 fp : 00000000
[ 0.621134] NET: Registered protocol family 1
[ 0.625268] r10: c721d554 r9 : 00000000 r8 : c721d540
[ 0.625272] r7 : 00000001 r6 : c0c04e08 r5 : 00000000 r4 : c721d6c0
[ 0.625277] r3 : 00000000 r2 : ffffffd8 r1 : 00000000 r0 : c721d6e0
[ 0.625284] Flags: nZcv IRQs on FIQs on Mode SVC_32 ISA ARM Segment none
[ 0.625290] Control: 10c5387d Table: 4000406a DAC: 00000051
[ 0.635324] Initialise system trusted keyrings
[ 0.638156] Process kworker/0:1 (pid: 22, stack limit = 0x(ptrval))
[ 0.645696] workingset: timestamp_bits=30 max_order=15 bucket_order=0
[ 0.650347] Stack: (0xc7149d90 to 0xc714a000)
[ 0.670029] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.673337] 9d80: 00000000 00000000 c6965c00 c051fefc
[ 0.716267] Key type asymmetric registered
[ 0.721749] 9da0: ffffe000 c76b7d40 c7138640 c703be80 c7149de4 c07b5e14 00000000 c0c7e0d8
[ 0.725890] Asymmetric key parser 'x509' registered
[ 0.734013] 9dc0: c8e45000 c0c04e08 00000000 c0526f68 c76b7d40 c7138640 c703be80 c7138a44
[ 0.738917] io scheduler mq-deadline registered
[ 0.747063] 9de0: c7149e14 c07b224c 00000000 00000000 00000000 ffffe000 c0c04efc c0c04e28
[ 0.747073] 9e00: c018b0e4 c7149eac c7149e5c c0b42b54 c7149e24 e10e32e3 00000001 c7149e68
[ 0.751596] io scheduler kyber registered
[ 0.759776] 9e20: c7149e64 7fffffff 00000002 00000001 00000000 00000000 00000000 00000000
[ 0.759785] 9e40: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 0.788353] 9e60: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 0.796548] 9e80: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 0.804715] 9ea0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 0.812900] 9ec0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 0.821068] 9ee0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 0.829262] 9f00: 00000000 00000000 00000000 00000000 00000000 e10e32e3 c7038000 c7011800
[ 0.837474] 9f20: c76b7940 c721d550 c76baa00 00000000 00000000 c721d554 00000000 c012f42c
[ 0.845651] 9f40: c7011800 c721d550 c7011800 c7011814 c76b7940 c7148000 c76b7958 c0c02d00
[ 0.853829] 9f60: c0c0cb40 c012fa38 00000000 c7016c40 c7148000 c7016d40 c7011800 c7053ec4
[ 0.861997] 9f80: c012f808 c7016c5c 00000000 c01341f0 c7016d40 c01340d8 00000000 00000000
[ 0.870191] 9fa0: 00000000 00000000 00000000 c01010e8 00000000 00000000 00000000 00000000
[ 0.878368] 9fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 0.886544] 9fe0: 00000000 00000000 00000000 00000000 00000013 00000000 00000000 00000000
[ 0.894726] [<c0524298>] (cedar_get_device) from [<c051bc44>] (mem_ion_create+0xa4/0xe0)
[ 0.902820] [<c051bc44>] (mem_ion_create) from [<c051fefc>] (CreateVideoDecoder+0x88/0x13c)
[ 0.911173] [<c051fefc>] (CreateVideoDecoder) from [<c0526f68>] (test_decoder+0x50/0x40c)
[ 0.919366] [<c0526f68>] (test_decoder) from [<c012f42c>] (process_one_work+0x16c/0x20c)
[ 0.927452] [<c012f42c>] (process_one_work) from [<c012fa38>] (worker_thread+0x230/0x2d4)
[ 0.935640] [<c012fa38>] (worker_thread) from [<c01341f0>] (kthread+0x118/0x124)
[ 0.943049] [<c01341f0>] (kthread) from [<c01010e8>] (ret_from_fork+0x14/0x2c)
[ 0.950259] Exception stack(0xc7149fb0 to 0xc7149ff8)
[ 0.955304] 9fa0: 00000000 00000000 00000000 00000000
[ 0.963481] 9fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 0.971664] 9fe0: 00000000 00000000 00000000 00000000 00000013 00000000
[ 0.978300] Code: c0523ce4 e12fff1e e59f3008 e5933000 (e5930064)
[ 0.984526] ---[ end trace ff862de5f4f40aa5 ]---
[ 0.984578] atomic64_test: passed
[ 0.995783] sunxi_sid_init()551 - insmod ok
[ 1.000499] pwm-regulator: supplied by regulator-dummy
[ 1.008250] sun8iw20-pinctrl pio: pio supply vcc-pe not found, using dummy regulator
[ 1.016734] uart uart0: get regulator failed
[ 1.021027] uart uart0: uart0 supply uart not found, using dummy regulator
[ 1.028271] uart0: ttyS0 at MMIO 0x2500000 (irq = 34, base_baud = 1500000) is a SUNXI
[ 1.036142] sw_console_setup()1808 - console setup baud 115200 parity n bits 8, flow n
[ 1.044123] printk: console [ttyS0] enabled
[ 1.044123] printk: console [ttyS0] enabled
[ 1.053024] printk: bootconsole [earlycon0] disabled
[ 1.053024] printk: bootconsole [earlycon0] disabled
[ 1.064277] sun8iw20-pinctrl pio: pio supply vcc-pg not found, using dummy regulator
[ 1.073298] uart uart3: get regulator failed
[ 1.078203] uart uart3: uart3 supply uart not found, using dummy regulator
[ 1.086220] uart3: ttyS3 at MMIO 0x2500c00 (irq = 35, base_baud = 1500000) is a SUNXI
[ 1.096087] misc dump reg init
[ 1.102575] libphy: Fixed MDIO Bus: probed
[ 1.107483] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 1.114763] sunxi-ehci: EHCI SUNXI driver
[ 1.119635] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 1.126569] sunxi-ohci: OHCI SUNXI driver
[ 1.131659] usbcore: registered new interface driver uas
[ 1.137720] usbcore: registered new interface driver usb-storage
[ 1.144469] usbcore: registered new interface driver ums-alauda
[ 1.151143] usbcore: registered new interface driver ums-cypress
[ 1.157920] usbcore: registered new interface driver ums-datafab
[ 1.164666] usbcore: registered new interface driver ums_eneub6250
[ 1.171626] usbcore: registered new interface driver ums-freecom
[ 1.178390] usbcore: registered new interface driver ums-isd200
[ 1.185048] usbcore: registered new interface driver ums-jumpshot
[ 1.191912] usbcore: registered new interface driver ums-karma
[ 1.198484] usbcore: registered new interface driver ums-onetouch
[ 1.205371] usbcore: registered new interface driver ums-realtek
[ 1.212118] usbcore: registered new interface driver ums-sddr09
[ 1.218788] usbcore: registered new interface driver ums-sddr55
[ 1.225452] usbcore: registered new interface driver ums-usbat
[ 1.232007] usbcore: registered new interface driver idmouse
[ 1.239142] sunxi_gpadc_init,2151, success
[ 1.244019] sunxi_gpadc_setup: get channel scan data failed
[ 1.250560] input: sunxi-gpadc0 as /devices/virtual/input/input1
[ 1.259652] sunxi-rtc 7090000.rtc: registered as rtc0
[ 1.265445] sunxi-rtc 7090000.rtc: setting system clock to 1970-01-01T00:00:19 UTC (19)
[ 1.274396] sunxi-rtc 7090000.rtc: sunxi rtc probed
[ 1.280320] i2c /dev entries driver
[ 1.284328] IR NEC protocol handler initialized
[ 1.289811] sun8iw20-pinctrl pio: pio supply vcc-pb not found, using dummy regulator
[ 1.298769] sunxi-rc-recv 7040000.s_cir: sunxi_irrx_resource_get: get ir protocol failed
[ 1.307900] Registered IR keymap rc_map_sunxi
[ 1.312914] rc rc0: sunxi-ir as /devices/platform/soc@3000000/7040000.s_cir/rc/rc0
[ 1.321601] rc rc0: lirc_dev: driver sunxi-rc-recv registered at minor = 0, raw IR receiver, no transmitter
[ 1.332695] input: sunxi-ir as /devices/platform/soc@3000000/7040000.s_cir/rc/rc0/s_cir_rx
[ 1.344147] sunxi-wdt 20500a0.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0)
[ 1.353288] Bluetooth: HCI UART driver ver 2.3
[ 1.358279] Bluetooth: HCI UART protocol H4 registered
[ 1.364006] Bluetooth: HCI UART protocol BCSP registered
[ 1.369938] Bluetooth: XRadio Bluetooth LPM Mode Driver Ver 1.0.10
[ 1.379719] sunxi-mmc 4020000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.21 2021-11-18 10:02)
[ 1.389665] sunxi-mmc 4020000.sdmmc: ctl-spec-caps 8
[ 1.395853] sunxi-mmc 4020000.sdmmc: No vmmc regulator found
[ 1.402160] sunxi-mmc 4020000.sdmmc: No vqmmc regulator found
[ 1.408578] sunxi-mmc 4020000.sdmmc: No vdmmc regulator found
[ 1.414982] sunxi-mmc 4020000.sdmmc: No vd33sw regulator found
[ 1.421494] sunxi-mmc 4020000.sdmmc: No vd18sw regulator found
[ 1.428006] sunxi-mmc 4020000.sdmmc: No vq33sw regulator found
[ 1.434507] sunxi-mmc 4020000.sdmmc: No vq18sw regulator found
[ 1.441471] sunxi-mmc 4020000.sdmmc: Got CD GPIO
[ 1.790006] random: fast init done
[ 47.221340] random: crng init done按照上面方法内核崩了。也没有动画出现。
-
回复: T113 tina linux 适配 ili9488 屏幕 i80 16bit
@hsinyuwang 我用的是芒果派的tina linux,它支持SDL_DOUBLEBUF吗?
-
回复: T113 tina linux 适配 ili9488 屏幕 i80 16bit
请问你开启了SDL双缓冲SDL_DOUBLEBUF了吗?
我测试提示段错误。是还要配置什么环境的吗?
screen = SDL_SetVideoMode(480, 32, 16, SDL_SWSURFACE | SDL_DOUBLEBUF); -
tina linux SDL1.2.15
请问tina linux SDL1.2.15 支持硬件双缓冲SDL_DOUBLEBUF吗?看到论坛里说支持
我测试提示段错误。是还要配置什么环境的吗?
screen = SDL_SetVideoMode(480, 32, 16, SDL_SWSURFACE | SDL_DOUBLEBUF); -
回复: D1S移植SDL1.2.15版本
@hsinyuwang 在 D1S移植SDL1.2.15版本 中说:
@hsinyuwang 如果是移植Funkey的话
funkey已经移植完成,基本可用吧。
请问我用的tina linux为什么SDL_DOUBLEBUF不支持呢? -
关于tina linux,Buildroot-YuzukiSBC不能正常运行SDL程序的问题
最近在T113平台移植Funkey OS,而Funkey里面游戏都是基于SDL的,参照大佬的帖子移植SDL1.2.15 https://bbs.aw-ol.com/topic/3727/d1s%E7%A7%BB%E6%A4%8Dsdl1-2-15%E7%89%88%E6%9C%AC ,发现不管是在tina和Buildroot-YuzukiSBC下都无法正常运行。提示错误如下:
./main
[ 812.542963] [DISP] var_to_disp_fb,line:513:
[ 812.542969] invalid bits_per_pixel :8
[ 812.551818] [DISP] var_to_disp_fb,line:513:
[ 812.551821] invalid bits_per_pixel :8
[ 812.560611] [DISP] var_to_disp_fb,line:513:
[ 812.560614] invalid bits_per_pixel :8
[ 812.569450] [DISP] var_to_disp_fb,line:513:
[ 812.569454] invalid bits_per_pixel :8
[ 812.578308] [DISP] var_to_disp_fb,line:513:
[ 812.578311] invalid bits_per_pixel :8
[ 812.587165] [DISP] var_to_disp_fb,line:513:
[ 812.587168] invalid bits_per_pixel :8
[ 812.595991] [DISP] var_to_disp_fb,line:513:
[ 812.595994] invalid bits_per_pixel :8
[ 812.604816] [DISP] var_to_disp_fb,line:513:
[ 812.604819] invalid bits_per_pixel :8
[ 812.613625] [DISP] var_to_disp_fb,line:513:
[ 812.613628] invalid bits_per_pixel :8
[ 812.622600] [DISP] var_to_disp_fb,line:513:
[ 812.622604] invalid bits_per_pixel :8
[ 812.631435] [DISP] var_to_disp_fb,line:513:
[ 812.631437] invalid bits_per_pixel :8
[ 812.640232] [DISP] var_to_disp_fb,line:513:
[ 812.640235] invalid bits_per_pixel :8
[ 812.649049] [DISP] var_to_disp_fb,line:513:
[ 812.649052] invalid bits_per_pixel :8
[ 812.657861] [DISP] var_to_disp_fb,line:513:
[ 812.657864] invalid bits_per_pixel :8
[ 812.666670] [DISP] var_to_disp_fb,line:513:
[ 812.666673] invalid bits_per_pixel :8
[ 812.675488] [DISP] var_to_disp_fb,line:506:
[ 812.675492] invalid fmt,off<a:24,r:16,g:8,b:0>
[ 812.685323] [DISP] var_to_disp_fb,line:506:
[ 812.685327] invalid fmt,off<a:24,r:16,g:8,b:0>
[ 812.695048] [DISP] var_to_disp_fb,line:506:
[ 812.695052] invalid fmt,off<a:24,r:16,g:8,b:0>
[ 812.704746] [DISP] var_to_disp_fb,line:506:
[ 812.704750] invalid fmt,off<a:24,r:16,g:8,b:0>
[ 812.714433] [DISP] var_to_disp_fb,line:506:
[ 812.714439] invalid fmt,off<a:24,r:16,g:8,b:0>
[ 812.724125] [DISP] var_to_disp_fb,line:506:
[ 812.724129] invalid fmt,off<a:24,r:16,g:8,b:0>
[ 812.733960] [DISP] var_to_disp_fb,line:506:
[ 812.733965] invalid fmt,off<a:24,r:16,g:8,b:0>
[ 812.743663] [DISP] var_to_disp_fb,line:506:
[ 812.743667] invalid fmt,off<a:24,r:16,g:8,b:0>
[ 812.753353] [DISP] var_to_disp_fb,line:506:
[ 812.753357] invalid fmt,off<a:24,r:16,g:8,b:0>
[ 812.763039] [DISP] var_to_disp_fb,line:506:
[ 812.763047] invalid fmt,off<a:24,r:16,g:8,b:0>
[ 812.772735] [DISP] var_to_disp_fb,line:506:
[ 812.772739] invalid fmt,off<a:24,r:16,g:8,b:0>
[ 812.782460] [DISP] var_to_disp_fb,line:506:
[ 812.782465] invalid fmt,off<a:24,r:16,g:8,b:0>
[ 812.792150] [DISP] var_to_disp_fb,line:506:
[ 812.792154] invalid fmt,off<a:24,r:16,g:8,b:0>
[ 812.801843] [DISP] var_to_disp_fb,line:506:
[ 812.801849] invalid fmt,off<a:24,r:16,g:8,b:0>
[ 812.811537] [DISP] var_to_disp_fb,line:506:
[ 812.811541] invalid fmt,off<a:24,r:16,g:8,b:0>
[ 812.903009] [DISP] var_to_disp_fb,line:513:
[ 812.903014] invalid bits_per_pixel :8
[ 812.911856] [DISP] var_to_disp_fb,line:513:
[ 812.911859] invalid bits_per_pixel :8
[ 812.920648] [DISP] var_to_disp_fb,line:513:
[ 812.920651] invalid bits_per_pixel :8
[ 812.929497] [DISP] var_to_disp_fb,line:513:
[ 812.929500] invalid bits_per_pixel :8
[ 812.938354] [DISP] var_to_disp_fb,line:513:
[ 812.938357] invalid bits_per_pixel :8
[ 812.947181] [DISP] var_to_disp_fb,line:513:
[ 812.947184] invalid bits_per_pixel :8
[ 812.956005] [DISP] var_to_disp_fb,line:513:
[ 812.956008] invalid bits_per_pixel :8
[ 812.964816] [DISP] var_to_disp_fb,line:513:
[ 812.964821] invalid bits_per_pixel :8
[ 812.973626] [DISP] var_to_disp_fb,line:513:
[ 812.973629] invalid bits_per_pixel :8
[ 812.982471] [DISP] var_to_disp_fb,line:513:
[ 812.982475] invalid bits_per_pixel :8
[ 812.991263] [DISP] var_to_disp_fb,line:513:
[ 812.991266] invalid bits_per_pixel :8
[ 813.000086] [DISP] var_to_disp_fb,line:513:
[ 813.000089] invalid bits_per_pixel :8
[ 813.008896] [DISP] var_to_disp_fb,line:513:
[ 813.008899] invalid bits_per_pixel :8
[ 813.017705] [DISP] var_to_disp_fb,line:513:
[ 813.017707] invalid bits_per_pixel :8
[ 813.026518] [DISP] var_to_disp_fb,line:513:
[ 813.026521] invalid bits_per_pixel :8
[ 813.035439] [DISP] var_to_disp_fb,line:506:
[ 813.035444] invalid fmt,off<a:24,r:16,g:8,b:0>
[ 813.045148] [DISP] var_to_disp_fb,line:506:
[ 813.045153] invalid fmt,off<a:24,r:16,g:8,b:0>
[ 813.054835] [DISP] var_to_disp_fb,line:506:
[ 813.054839] invalid fmt,off<a:24,r:16,g:8,b:0>
[ 813.064532] [DISP] var_to_disp_fb,line:506:
[ 813.064536] invalid fmt,off<a:24,r:16,g:8,b:0>
[ 813.074219] [DISP] var_to_disp_fb,line:506:
[ 813.074223] invalid fmt,off<a:24,r:16,g:8,b:0>
[ 813.083951] [DISP] var_to_disp_fb,line:506:
[ 813.083955] invalid fmt,off<a:24,r:16,g:8,b:0>
[ 813.093645] [DISP] var_to_disp_fb,line:506:
[ 813.093649] invalid fmt,off<a:24,r:16,g:8,b:0>
[ 813.103335] [DISP] var_to_disp_fb,line:506:
[ 813.103340] invalid fmt,off<a:24,r:16,g:8,b:0>
[ 813.113020] [DISP] var_to_disp_fb,line:506:
[ 813.113024] invalid fmt,off<a:24,r:16,g:8,b:0>
[ 813.122902] [DISP] var_to_disp_fb,line:506:
[ 813.122908] invalid fmt,off<a:24,r:16,g:8,b:0>
[ 813.132612] [DISP] var_to_disp_fb,line:506:
[ 813.132616] invalid fmt,off<a:24,r:16,g:8,b:0>
[ 813.142309] [DISP] var_to_disp_fb,line:506:
[ 813.142313] invalid fmt,off<a:24,r:16,g:8,b:0>
[ 813.152003] [DISP] var_to_disp_fb,line:506:
[ 813.152009] invalid fmt,off<a:24,r:16,g:8,b:0>
[ 813.161687] [DISP] var_to_disp_fb,line:506:
[ 813.161691] invalid fmt,off<a:24,r:16,g:8,b:0>
[ 813.171380] [DISP] var_to_disp_fb,line:506:
[ 813.171384] invalid fmt,off<a:24,r:16,g:8,b:0>
Segmentation fault测试SDL程序
#include <stdio.h>
#include <stdlib.h>
#include <SDL.h>int main(int argc, char **argv)
{
SDL_Rect rt = {0};
SDL_Surface *screen = NULL;SDL_Init(SDL_INIT_VIDEO); screen = SDL_SetVideoMode(320, 240, 16, SDL_HWSURFACE); SDL_FillRect(screen, &screen->clip_rect, SDL_MapRGB(screen->format, 0xff, 0x00, 0x00)); rt.x = 50; rt.y = 50; rt.w = 30; rt.h = 30; SDL_FillRect(screen, &rt, SDL_MapRGB(screen->format, 0x00, 0xff, 0x00)); rt.x = 100; rt.y = 100; rt.w = 50; rt.h = 100; SDL_FillRect(screen, &rt, SDL_MapRGB(screen->format, 0x00, 0x00, 0xff)); SDL_Flip(screen); SDL_Delay(3000); SDL_Quit(); return 0;
}
有人遇到这样的情况吗?
-
全志disp2显示驱动问题
请问一下我驱动一块需要初始化的RGB屏。内核启动企鹅显示正常,echo 8 > /sys/class/disp/disp/attr/colorbar显示正常。但fbset不对。
-
回复: R128能从SD启动吗?
@awwwwa 把rtos_freertos_r128s2_pro_uart0_16Mnor.img烧录到SD卡上,貌似没从SD卡启动。
这两组IO都试过。 -
回复: 为什么加入spi_lcd就编译不通过呢?
@whycanservice2 没有配置呢。还是用的SDK的环境。不过客服给的SDK貌似点不亮2.4的SPI屏。还有纠结中。