您尚未登录。

#1 Re: 全志 SOC » 请教大佬们一个全志 D1s/F133-B + LAN8720 的一个问题 » 2022-12-01 08:42:05

sunxi-gmac.c

line 779:
phydev->is_gigabit_capable = 1;
改成
phydev->is_gigabit_capable = 0;

#2 Re: 全志 SOC » T113 S3 驱动 ST7701S圆屏显示有杂色的问题 » 2022-09-26 08:12:51

找到问题了,内核用的是Cadence大佬的,显示驱动申请内存时,标志位应该改成0。
static int __disp_ion_alloc_coherent(struct disp_ion_mem *mem)
{
    unsigned int flags = 0;

#3 全志 SOC » T113 S3 驱动 ST7701S圆屏显示有杂色的问题 » 2022-09-25 17:08:10

anyi
回复: 2

刚入T113的坑,刚把外设跑了一遍,在调SPI RGB LCD时,液晶屏用到ST7701S的480*480的圆屏。

现在能点亮,但发现一个问题,感觉无从下手,请大神帮忙分析下。

cat /dev/urandom  >/dev/fb0
显示杂色时有几个像素点跳动,刚开始还认为是接线问题
_202209251701122.jpg

用dd清除半屏,
dd if=/dev/zero of=/dev/fb0 bs=480 count=960
也有杂色条,
_202209251701121.jpg

但是执行top后
杂色条消失。感觉像是缓冲没更新到位,或者cache问题。
_20220925170112.jpg
有同学遇到过么?

#4 Re: 全志 SOC » T113-s3 spi-nand 启动 » 2022-09-18 19:23:48

也是最近入坑T113,刚用了Cadence的git代码,存储用了winbond的spi nand. 好像只能DTS配置SPI单线双工才能跑起来,配置4线时就是有问题。
另外配置显示驱动就进不了串口终端了,感觉一头雾水。

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 5.4.61+ (root@am-d8cb8a093a31.intern) (arm-linux-gnueabihf-gcc (Linaro GCC 7.2-2017.11) 7.2.1 20171011, GNU ld (Linaro_Binutils-2017.11) 2.28.2.20170706) #72 SMP PREEMPT Fri Sep 9 09:41:24 CST 2022
[    0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c5387d
[    0.000000] CPU: div instructions available: patching division code
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] OF: fdt: Machine model: sun8iw20
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] cma: Reserved 8 MiB at 0x47800000
[    0.000000] On node 0 totalpages: 32768
[    0.000000]   Normal zone: 256 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 32768 pages, LIFO batch:7
[    0.000000] percpu: Embedded 15 pages/cpu s32076 r8192 d21172 u61440
[    0.000000] pcpu-alloc: s32076 r8192 d21172 u61440 alloc=15*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1 
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 32512
[    0.000000] Kernel command line: earlyprintk=sunxi-uart,0x2500C00 loglevel=8 initcall_debug=0 console=ttyS3 mtdparts=spi-nand:512k(boot),512k(dtb),11m(kernel),-(rootfs) cma=8M ubi.mtd=3 root=ubi0:rootfs rootfstype=ubifs rw rootwait
[    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: 109660K/131072K available (7168K kernel code, 317K rwdata, 2336K rodata, 1024K init, 135K bss, 13220K reserved, 8192K cma-reserved)
[    0.000000] rcu: Preemptible hierarchical RCU implementation.
[    0.000000] rcu:     RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2.
[    0.000000]  Tasks RCU enabled.
[    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] random: get_random_bytes called from start_kernel+0x250/0x3e0 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.000018] Switching to timer-based delay loop, resolution 41ns
[    0.000196] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[    0.000807] Console: colour dummy device 80x30
[    0.000848] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000)
[    0.000862] pid_max: default: 32768 minimum: 301
[    0.000943] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.000956] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.001549] CPU: Testing write buffer coherency: ok
[    0.001870] /cpus/cpu@0 missing clock-frequency property
[    0.001892] /cpus/cpu@1 missing clock-frequency property
[    0.001903] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.002601] Setting up static identity map for 0x40100000 - 0x40100060
[    0.002755] rcu: Hierarchical SRCU implementation.
[    0.003120] BOOTEVENT:         3.111915: ON
[    0.003327] smp: Bringing up secondary CPUs ...
[    0.004139] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.004294] smp: Brought up 1 node, 2 CPUs
[    0.004309] SMP: Total of 2 processors activated (96.00 BogoMIPS).
[    0.004316] CPU: All CPU(s) started in SVC mode.
[    0.004900] devtmpfs: initialized
[    0.110672] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[    0.113623] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.113654] futex hash table entries: 512 (order: 3, 32768 bytes, linear)
[    0.114090] pinctrl core: initialized pinctrl subsystem
[    0.126507] NET: Registered protocol family 16
[    0.130633] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.150037] cpuidle: using governor ladder
[    0.150116] cpuidle: using governor menu
[    0.429652] rtc_ccu: sunxi ccu init OK
[    0.464954] ccu: sunxi ccu init OK
[    0.468823] r_ccu: sunxi ccu init OK
[    0.969132] iommu: Default domain type: Translated 
[    0.973908] sunxi iommu: irq = 24
[    1.000780] SCSI subsystem initialized
[    1.006118] usbcore: registered new interface driver usbfs
[    1.008653] usbcore: registered new interface driver hub
[    1.016412] usbcore: registered new device driver usb
[    1.016648] mc: Linux media interface: v0.10
[    1.017062] videodev: Linux video capture interface: v2.00
[    1.040745] sunxi-msgbox-amp 3003000.msgbox: invalid resource
[    1.063793] Advanced Linux Sound Architecture Driver Initialized.
[    1.077174] pwm module init!
[    1.094141] clocksource: Switched to clocksource arch_sys_counter
[    1.268535] sun8iw20-pinctrl 2000000.pinctrl: initialized sunXi PIO driver
[    1.409327] thermal_sys: Registered thermal governor 'step_wise'
[    1.409334] thermal_sys: Registered thermal governor 'user_space'
[    1.419034] NET: Registered protocol family 2
[    1.428246] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
[    1.428282] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    1.428307] TCP bind hash table entries: 1024 (order: 1, 8192 bytes, linear)
[    1.428330] TCP: Hash tables configured (established 1024 bind 1024)
[    1.428887] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[    1.428967] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[    1.432076] NET: Registered protocol family 1
[    1.463665] sunxi_spi_resource_get()2151 - [spi0] SPI MASTER MODE
[    1.463742] sunxi_spi_resource_get()2189 - Failed to get sample mode
[    1.463752] sunxi_spi_resource_get()2194 - Failed to get sample delay
[    1.463761] sunxi_spi_resource_get()2198 - sample_mode:-1431633921 sample_delay:-1431633921
[    1.463845] sunxi_spi_clk_init()2240 - [spi0] mclk 100000000
[    1.479377] sunxi_spi_probe()2653 - [spi0]: driver probe succeed, base c8829000, irq 45
[    1.508339] Initialise system trusted keyrings
[    1.508518] workingset: timestamp_bits=30 max_order=15 bucket_order=0
[    1.518460] fuse: init (API version 7.31)
[    1.571613] NET: Registered protocol family 38
[    1.571640] Key type asymmetric registered
[    1.571649] Asymmetric key parser 'x509' registered
[    1.571745] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 250)
[    1.571758] io scheduler mq-deadline registered
[    1.571766] io scheduler kyber registered
[    1.607937] sunxi_sid_init()551 - insmod ok
[    1.608752] pwm-regulator: supplied by regulator-dummy
[    1.632101] uart uart0: get regulator failed
[    1.641781] uart0: ttyS0 at MMIO 0x2500000 (irq = 34, base_baud = 1500000) is a SUNXI
[    1.655932] uart uart1: get regulator failed
[    1.668620] uart1: ttyS1 at MMIO 0x2500400 (irq = 35, base_baud = 1500000) is a SUNXI
[    1.685227] uart uart2: get regulator failed
[    1.688302] uart2: ttyS2 at MMIO 0x2500800 (irq = 36, base_baud = 1500000) is a SUNXI
[    1.701946] uart uart3: get regulator failed
[    1.705583] uart3: ttyS3 at MMIO 0x2500c00 (irq = 37, base_baud = 1500000) is a SUNXI
[    1.705614] sw_console_setup()1784 - console setup baud 115200 parity n bits 8, flow n
[    2.464931] printk: console [ttyS3] enabled
[    2.482870] uart uart4: get regulator failed
[    2.488144] uart4: ttyS4 at MMIO 0x2501000 (irq = 38, base_baud = 1500000) is a SUNXI
[    2.513450] uart uart5: get regulator failed
[    2.524977] uart5: ttyS5 at MMIO 0x2501400 (irq = 39, base_baud = 1500000) is a SUNXI
[    2.553991] misc dump reg init
[    2.574519] sunxi-rfkill soc@3000000:rfkill@0: module version: v1.0.9
[    2.581780] sunxi-rfkill soc@3000000:rfkill@0: get gpio chip_en failed
[    2.589150] sunxi-rfkill soc@3000000:rfkill@0: get gpio power_en failed
[    2.596620] sunxi-rfkill soc@3000000:rfkill@0: wlan_busnum (1)
[    2.603167] sunxi-rfkill soc@3000000:rfkill@0: Missing wlan_power.
[    2.610134] sunxi-rfkill soc@3000000:rfkill@0: wlan clock[0] (32k-fanout1)
[    2.617890] sunxi-rfkill soc@3000000:rfkill@0: wlan_regon gpio=204 assert=0
[    2.625768] sunxi-rfkill soc@3000000:rfkill@0: wlan_hostwake gpio=202 assert=1
[    2.633888] sunxi-rfkill soc@3000000:rfkill@0: wakeup source is enabled
[    2.641633] sunxi-rfkill soc@3000000:rfkill@0: Missing bt_power.
[    2.648452] sunxi-rfkill soc@3000000:rfkill@0: bt clock[0] (32k-fanout1)
[    2.656019] sunxi-rfkill soc@3000000:rfkill@0: bt_rst gpio=210 assert=0
[    2.703373] sunxi-spinand: AW SPINand MTD Layer Version: 2.3 20211223
[    2.710738] sunxi-spinand-phy: AW SPINand Phy Layer Version: 1.10 20200306
[    2.718724] sunxi-spinand-phy: not detect any munufacture from id table
[    2.726178] sunxi-spinand-phy: get spi-nand Model from fdt fail
[    2.732816] sunxi-spinand-phy: get phy info from fdt fail
[    2.738881] sunxi-spinand-phy: not detect munufacture from fdt
[    2.745601] sunxi-spinand-phy: detect munufacture from id table: Winbond
[    2.753119] sunxi-spinand-phy: detect spinand id: ff21aaef ffffffff
[    2.760175] sunxi-spinand-phy: W25N01GVZEIG reset rx bit width to 1
[    2.767221] sunxi-spinand-phy: W25N01GVZEIG reset tx bit width to 1
[    2.774367] sunxi-spinand-phy: block lock register: 0x00
[    2.780486] sunxi-spinand-phy: feature register: 0x19
[    2.786182] sunxi-spinand-phy: aw_spinand_chip_bbt_init
[    2.792140] sunxi-spinand-phy: aw_spinand_chip_bbt_init exit
[    2.798611] sunxi-spinand-phy: sunxi physic nand init end
[    2.805027] 4 fixed-partitions partitions found on MTD device sunxi_mtd_nand
[    2.812937] Creating 4 MTD partitions on "sunxi_mtd_nand":
[    2.819138] 0x000000000000-0x000000080000 : "boot0"
[    2.870543] 0x000000080000-0x000000100000 : "dtb"
[    2.933272] 0x000000100000-0x000001000000 : "kernel"
[    2.944583] random: fast init done
[    3.015592] 0x000001000000-0x000008000000 : "rootfs"
[    3.101690] sunxi-spinand-phy: general_check_ecc ecc error 0x2
[    3.108491] sunxi-spinand-phy: general_check_ecc ecc error 0x2
[    3.282139] libphy: Fixed MDIO Bus: probed
[    3.286892] CAN device driver interface
[    3.291462] ======== XRADIO WIFI OPEN ========
[    3.298240] [XRADIO] Driver Label:XR_V02.16.84_P2P_HT40_01.31   
[    3.305084] [XRADIO] Allocated hw_priv @ (ptrval)
[    3.310365] [ADDR_MGT] get_addr_by_name: t->addr: 
[    3.323296] sunxi-rfkill soc@3000000:rfkill@0: bus_index: 1
[    3.339648] sunxi-rfkill soc@3000000:rfkill@0: wlan power on success
[    3.546814] sunxi_hosts[1] should not be null
[    3.546819] [XRADIO] Detect SDIO card 1
[    5.594264] sunxi-rfkill soc@3000000:rfkill@0: wlan power off success
[    5.701508] sunxi_hosts[1] should not be null
[    5.701513] [XRADIO] Remove SDIO card 1
[    5.720712] [SBUS_ERR] sdio probe timeout!
[    5.725320] [XRADIO_ERR] sbus_sdio_init failed
[    5.730679] xradio_core_init failed (-110)!
[    5.774235] hso: drivers/net/usb/hso.c: Option Wireless
[    5.780257] usbcore: registered new interface driver hso
[    5.786265] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    5.793589] sunxi-ehci: EHCI SUNXI driver
[    5.799540] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    5.806557] sunxi-ohci: OHCI SUNXI driver
[    5.811739] usbcore: registered new interface driver uas
[    5.817864] usbcore: registered new interface driver usb-storage
[    5.824748] usbcore: registered new interface driver ums-alauda
[    5.831471] usbcore: registered new interface driver ums-cypress
[    5.841675] usbcore: registered new interface driver ums-datafab
[    5.848562] usbcore: registered new interface driver ums_eneub6250
[    5.855591] usbcore: registered new interface driver ums-freecom
[    5.865769] usbcore: registered new interface driver ums-isd200
[    5.872531] usbcore: registered new interface driver ums-jumpshot
[    5.879483] usbcore: registered new interface driver ums-karma
[    5.889444] usbcore: registered new interface driver ums-onetouch
[    5.899754] usbcore: registered new interface driver ums-realtek
[    5.906625] usbcore: registered new interface driver ums-sddr09
[    5.913328] usbcore: registered new interface driver ums-sddr55
[    5.920054] usbcore: registered new interface driver ums-usbat
[    5.944565] input: sunxi-ts as /devices/platform/soc@3000000/2009c00.rtp/input/input0
[    5.964773] sunxi_gpadc_init,2137, success
[    5.969719] sunxi_key_init: get key count failed
[    5.969733] sunxi_gpadc_setup: get channel scan data failed
[    5.981588] input: sunxi-gpadc0 as /devices/virtual/input/input1
[    6.002334] input: sunxi-gpadc1 as /devices/virtual/input/input2
[    6.048600] sunxi-rtc 7090000.rtc: registered as rtc0
[    6.054427] sunxi-rtc 7090000.rtc: setting system clock to 1970-01-01T00:51:11 UTC (3071)
[    6.063640] sunxi-rtc 7090000.rtc: sunxi rtc probed
[    6.069578] i2c /dev entries driver
[    6.073930] IR NEC protocol handler initialized
[    6.079098] IR RC5(x/sz) protocol handler initialized
[    6.085275] sunxi_ir_startup: get ir protocol failed
[    6.085503] Registered IR keymap rc_map_sunxi
[    6.099631] rc rc0: sunxi-ir as /devices/platform/soc@3000000/7040000.s_cir/rc/rc0
[    6.115291] input: sunxi-ir as /devices/platform/soc@3000000/7040000.s_cir/rc/rc0/s_cir_rx
[    6.140219] sunxi cedar version 1.1
[    6.144462] sunxi-cedar 1c0e000.ve: Adding to iommu group 0
[    6.154109] VE: sunxi_cedar_probe power-domain init!!!
[    6.159937] VE: install start!!!
[    6.159937] 
[    6.172525] VE: cedar-ve the get irq is 46
[    6.172525] 
[    6.182516] VE: ve_debug_proc_info:(ptrval), data:(ptrval), lock:(ptrval)
[    6.182516] 
[    6.191837] VE: install end!!!
[    6.191837] 
[    6.196934] VE: sunxi_cedar_probe
[    6.216022] sunxi-wdt 20500a0.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0)
[    6.243417] /cpus/cpu@0: unsupported enable-method property: psci
[    6.281068] sunxi-mmc 4020000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.21 2021-05-24 16:10)
[    6.291101] sunxi-mmc 4020000.sdmmc: ***ctl-spec-caps*** 8
[    6.297349] sunxi-mmc 4020000.sdmmc: No vmmc regulator found
[    6.303701] sunxi-mmc 4020000.sdmmc: No vqmmc regulator found
[    6.310163] sunxi-mmc 4020000.sdmmc: No vdmmc regulator found
[    6.316624] sunxi-mmc 4020000.sdmmc: No vd33sw regulator found
[    6.323168] sunxi-mmc 4020000.sdmmc: No vd18sw regulator found
[    6.329723] sunxi-mmc 4020000.sdmmc: No vq33sw regulator found
[    6.336280] sunxi-mmc 4020000.sdmmc: No vq18sw regulator found
[    6.346846] sunxi-mmc 4020000.sdmmc: Got CD GPIO
[    6.352330] sunxi-mmc 4020000.sdmmc: set cd-gpios as 24M fail
[    6.359123] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B
[    6.370309] sunxi-mmc 4020000.sdmmc: no vqmmc,Check if there is regulator
[    6.390476] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[    6.418359] sunxi-mmc 4020000.sdmmc: detmode:gpio irq
[    6.435254] sunxi-mmc 4021000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.21 2021-05-24 16:10)
[    6.445285] sunxi-mmc 4021000.sdmmc: ***ctl-spec-caps*** 8
[    6.451497] sunxi-mmc 4021000.sdmmc: No vmmc regulator found
[    6.457868] sunxi-mmc 4021000.sdmmc: No vqmmc regulator found
[    6.464327] sunxi-mmc 4021000.sdmmc: No vdmmc regulator found
[    6.470773] sunxi-mmc 4021000.sdmmc: No vd33sw regulator found
[    6.477327] sunxi-mmc 4021000.sdmmc: No vd18sw regulator found
[    6.483871] sunxi-mmc 4021000.sdmmc: No vq33sw regulator found
[    6.490425] sunxi-mmc 4021000.sdmmc: No vq18sw regulator found
[    6.500496] sunxi-mmc 4021000.sdmmc: Cann't get pin bias hs pinstate,check if needed
[    6.538451] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B
[    6.549670] sunxi-mmc 4021000.sdmmc: no vqmmc,Check if there is regulator
[    6.569834] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[    6.594096] sunxi-mmc 4021000.sdmmc: detmode:manually by software
[    6.601804] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !!
[    6.612497] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !!
[    6.619487] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[    6.623867] usbcore: registered new interface driver usbhid
[    6.637502] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B
[    6.638720] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[    6.648846] usbhid: USB HID core driver
[    6.664614] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !!
[    6.671414] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !!
[    6.678182] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !!
[    6.684950] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !!
[    6.684981] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B
[    6.728831] oprofile: hardware counters not available
[    6.734562] oprofile: using timer interrupt.
[    6.739821] NET: Registered protocol family 10
[    6.760524] Segment Routing with IPv6
[    6.764816] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    6.806286] NET: Registered protocol family 17
[    6.811316] NET: Registered protocol family 15
[    6.816325] can: controller area network core (rev 20170425 abi 9)
[    6.823328] NET: Registered protocol family 29
[    6.828337] can: raw protocol (rev 20170425)
[    6.833127] can: broadcast manager protocol (rev 20170425 t)
[    6.839499] can: netlink gateway (rev 20190810) max_hops=1
[    6.849494] Registering SWP/SWPB emulation handler
[    6.858951] Loading compiled-in X.509 certificates
[    7.253905] i2c i2c0: probe success
[    7.285165] i2c i2c1: probe success
[    7.309199] i2c i2c2: probe success
[    7.418034] get ehci0-controller wakeup-source is fail.
[    7.424027] sunxi ehci0-controller don't init wakeup source
[    7.430317] [sunxi-ehci0]: probe, pdev->name: 4101000.ehci0-controller, sunxi_ehci: 0xc0c67f80, 0x:c8a0c000, irq_no:37
[    7.442330] [sunxi-ehci0]: Not init ehci0
[    7.447290] get ohci0-controller wakeup-source is fail.
[    7.456764] sunxi ohci0-controller don't init wakeup source
[    7.463031] [sunxi-ohci0]: probe, pdev->name: 4101400.ohci0-controller, sunxi_ohci: 0xc0c68210
[    7.472705] [sunxi-ohci0]: Not init ohci0
[    7.484722] get ehci1-controller wakeup-source is fail.
[    7.490708] sunxi ehci1-controller don't init wakeup source
[    7.496988] [sunxi-ehci1]: probe, pdev->name: 4200000.ehci1-controller, sunxi_ehci: 0xc0c684a0, 0x:c8a15000, irq_no:39
[    7.527776] sunxi-ehci 4200000.ehci1-controller: EHCI Host Controller
[    7.535081] sunxi-ehci 4200000.ehci1-controller: new USB bus registered, assigned bus number 1
[    7.546074] sunxi-ehci 4200000.ehci1-controller: irq 57, io mem 0x04200000
[    7.584165] sunxi-ehci 4200000.ehci1-controller: USB 2.0 started, EHCI 1.00
[    7.607615] hub 1-0:1.0: USB hub found
[    7.615547] hub 1-0:1.0: 1 port detected
[    7.646247] get ohci1-controller wakeup-source is fail.
[    7.655850] sunxi ohci1-controller don't init wakeup source
[    7.662114] [sunxi-ohci1]: probe, pdev->name: 4200400.ohci1-controller, sunxi_ohci: 0xc0c68730
[    7.683479] sunxi-ohci 4200400.ohci1-controller: OHCI Host Controller
[    7.690785] sunxi-ohci 4200400.ohci1-controller: new USB bus registered, assigned bus number 2
[    7.700733] sunxi-ohci 4200400.ohci1-controller: irq 58, io mem 0x04200400
[    7.790730] hub 2-0:1.0: USB hub found
[    7.795036] hub 2-0:1.0: 1 port detected
[    7.822698] ubi0: default fastmap pool size: 40
[    7.833204] ubi0: default fastmap WL pool size: 20
[    7.838612] ubi0: attaching mtd3
[    8.259451] sunxi-spinand-phy: general_check_ecc ecc error 0x2
[    8.266049] sunxi-spinand: ecc err: block: 506 page: 0
[    8.271830] ubi0 warning: ubi_io_read: error -74 (ECC error) while reading 64 bytes from PEB 378:0, read only 64 bytes, retry
[    8.288718] sunxi-spinand-phy: general_check_ecc ecc error 0x2
[    8.295314] sunxi-spinand: ecc err: block: 507 page: 0
[    8.301095] ubi0 warning: ubi_io_read: error -74 (ECC error) while reading 64 bytes from PEB 379:0, read only 64 bytes, retry
[   10.016040] random: crng init done
[   10.494219] ubi0: scanning is finished[64][896]
[   10.499416] ubi_attach[c6822680][c6821040]896,0
[   10.643968] ubi0: volume 0 ("rootfs") re-sized from 83 to 870 LEBs
[   10.652719] ubi0: attached mtd3 (name "rootfs", size 112 MiB)
[   10.659204] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
[   10.666927] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
[   10.674553] ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
[   10.682362] ubi0: good PEBs: 896, bad PEBs: 0, corrupted PEBs: 0
[   10.689110] ubi0: user volume: 1, internal volumes: 1, max. volumes count: 128
[   10.697226] ubi0: max/mean erase counter: 1/0, WL threshold: 4096, image sequence number: 903397941
[   10.707385] ubi0: available PEBs: 0, total reserved PEBs: 896, PEBs reserved for bad PEB handling: 20
[   10.717753] ubi0: background thread "ubi_bgt0d" started, PID 918
[   10.718236] get det_vbus is fail, -84
[   10.728629] get id is fail, -84
[   10.764180] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[   10.784862] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[   10.796860] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[   10.797112] ALSA device list:
[   10.806716] cfg80211: failed to load regulatory.db
[   10.810092]   No soundcards found.
[   10.828893] UBIFS (ubi0:0): Mounting in unauthenticated mode
[   10.835908] UBIFS (ubi0:0): background thread "ubifs_bgt0_0" started, PID 935
[   10.900967] UBIFS (ubi0:0): start fixing up free space
[   11.754162] 
[   11.754162] insmod_device_driver
[   11.754162] 
[   11.761103] pdev is null
[   11.763939] device_chose finished 139!
[   12.379042] UBIFS (ubi0:0): free space fixup complete
[   12.418999] UBIFS (ubi0:0): UBIFS: mounted UBI device 0, volume 0, name "rootfs"
[   12.427403] UBIFS (ubi0:0): LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
[   12.438605] UBIFS (ubi0:0): FS size: 109072384 bytes (104 MiB, 859 LEBs), journal size 9023488 bytes (8 MiB, 72 LEBs)
[   12.450549] UBIFS (ubi0:0): reserved for root: 0 bytes (0 KiB)
[   12.457119] UBIFS (ubi0:0): media format: w4/r0 (latest is w5/r0), UUID 38EE3455-8EAF-4AC1-A80C-C35B57286D6F, small LPT model
[   12.484431] VFS: Mounted root (ubifs filesystem) on device 0:14.
[   12.493581] Freeing unused kernel memory: 1024K
[   12.498884] Kernel init done
[   12.511427] Warning: unable to open an initial console.

#5 Re: 全志 SOC » XBOOT尺寸裁剪(170kB不带图形系统) » 2022-09-18 19:11:46

最近刚入坑T113,xboot是目前最合适的学习资源,有精简版最好了

页脚

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

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