Chemmy 发表于 2021-11-7 18:28:21

boot设置屏幕分辨率不生效


otg烧之后屏幕校准之后显示少一块,看文档让改屏幕分辨率 操作之后不生效
启动信息如下


U-Boot 2015.04-g3989e3c (Dec 15 2017 - 16:32:09)
CPU:   Freescale i.MX6UL rev1.2 at 396 MHz
CPU:   Temperature 52 C
Reset cause: POR
Board: MX6UL 14x14 EVK
I2C:   ready
DRAM:256 MiB
force_idle_bus: sda=0 scl=0 sda.gp=0x1d scl.gp=0x1c
NAND:256 MiB
MMC:   FSL_SDHC: 0
Display: TFT10.4AB (800x600)
Video: 800x600x16

NAND read: device 0 offset 0x480000, size 0x80000
524288 bytes read: OK

NAND read: device 0 offset 0x480000, size 0x80000
524288 bytes read: OK
display bmp cfb_console.c
In:    serial
Out:   serial
Err:   serial
Net:   Phy 2 not found
PHY reset timed out
FEC0
Error: FEC0 address not set.

Normal Boot
Hit any key to stop autoboot:0
nand boot..........

NAND read: device 0 offset 0xa00000, size 0x800000
8388608 bytes read: OK

NAND read: device 0 offset 0x7c0000, size 0x40000
262144 bytes read: OK
Kernel image @ 0x80800000 [ 0x000000 - 0x622830 ]
## Flattened Device Tree blob at 83000000
   Booting using the fdt blob at 0x83000000
   Using Device Tree in place at 83000000, end 8300c99f

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 3.14.38-6UL_ga-00004-gc2cfa49 (hyj@developer-RH2485-V2) (gcc version 4.6.2 20110630 (prerelease) (Freescale MAD -- Linaro 2011.07 -- Built at 2011/08/10 09:20) ) #1 SMP PREEMPT Fri Dec 15 09:44:36 CST 2017
[    0.000000] CPU: ARMv7 Processor revision 5 (ARMv7), cr=10c53c7d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] Machine model: Freescale i.MX6 UltraLite 14x14 EVK Board
[    0.000000] cma: CMA: reserved 64 MiB at 8c000000
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] PERCPU: Embedded 8 pages/cpu @8bdbf000 s8832 r8192 d15744 u32768
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.Total pages: 60928
[    0.000000] Kernel command line: console=ttymxc0,115200 cma=64M root=/dev/mtdblock5 rootfstype=yaffs2,calibrate=y
[    0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes)
[    0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
[    0.000000] Memory: 165632K/245760K available (7922K kernel code, 481K rwdata, 2792K rodata, 396K init, 433K bss, 80128K reserved, 0K highmem)
[    0.000000] Virtual kernel memory layout:
[    0.000000]   vector: 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]   fixmap: 0xfff00000 - 0xfffe0000   ( 896 kB)
[    0.000000]   vmalloc : 0x90800000 - 0xff000000   (1768 MB)
[    0.000000]   lowmem: 0x80000000 - 0x90000000   ( 256 MB)
[    0.000000]   pkmap   : 0x7fe00000 - 0x80000000   (   2 MB)
[    0.000000]   modules : 0x7f000000 - 0x7fe00000   (14 MB)
[    0.000000]       .text : 0x80008000 - 0x80a7ed20   (10716 kB)
[    0.000000]       .init : 0x80a7f000 - 0x80ae2280   ( 397 kB)
[    0.000000]       .data : 0x80ae4000 - 0x80b5c760   ( 482 kB)
[    0.000000]      .bss : 0x80b5c76c - 0x80bc8d34   ( 434 kB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000]RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=1.
[    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=1
[    0.000000] NR_IRQS:16 nr_irqs:16 16
[    0.000000] Switching to timer-based delay loop
[    0.000019] sched_clock: 32 bits at 3000kHz, resolution 333ns, wraps every 1431655765682ns
[    0.002629] clocksource_of_init: no matching clocksources found
[    0.003007] Console: colour dummy device 80x30
[    0.003056] Calibrating delay loop (skipped), value calculated using timer frequency.. 6.00 BogoMIPS (lpj=30000)
[    0.003087] pid_max: default: 32768 minimum: 301
[    0.003478] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.003508] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.005056] Initializing cgroup subsys net_cls
[    0.005144] CPU: Testing write buffer coherency: ok
[    0.005652] /cpus/cpu@0 missing clock-frequency property
[    0.005693] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.005753] Setting up static identity map for 0x80785a18 - 0x80785a70
[    0.040756] Brought up 1 CPUs
[    0.040792] SMP: Total of 1 processors activated (6.00 BogoMIPS).
[    0.040808] CPU: All CPU(s) started in SVC mode.
[    0.042108] devtmpfs: initialized
[    0.052613] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[    0.053423] pinctrl core: initialized pinctrl subsystem
[    0.054329] regulator-dummy: no parameters
[    0.059588] NET: Registered protocol family 16
[    0.076146] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.077744] cpuidle: using governor ladder
[    0.077772] cpuidle: using governor menu
[    0.078141] Use WDOG1 as reset source
[    0.094822] syscon 20c8000.anatop: regmap registered
[    0.095524] vdd3p0: 2625 <--> 3400 mV at 3000 mV
[    0.096396] cpu: 725 <--> 1450 mV at 1150 mV
[    0.097240] vddsoc: 725 <--> 1450 mV at 1175 mV
[    0.102423] syscon 20e4000.iomuxc-gpr: regmap registered
[    0.108708] syscon 21ac000.romcp: regmap registered
[    0.110091] syscon 21bc000.ocotp-ctrl: regmap registered
[    0.115459] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[    0.115489] hw-breakpoint: maximum watchpoint size is 8 bytes.
[    0.120254] imx6ul-pinctrl 20e0000.iomuxc: initialized IMX pinctrl driver
[    0.122986] 20dc000.gpc supply pu not found, using dummy regulator
[    0.157867] bio: create slab <bio-0> at 0
[    0.164490] mxs-dma 1804000.dma-apbh: initialized
[    0.165453] VSD_3V3: 3300 mV
[    0.166192] usb_otg1_vbus: 5000 mV
[    0.166812] vref-3v3: 3300 mV
[    0.168051] gpio_dvfs: 1300 <--> 1400 mV at 1400 mV
[    0.169275] i2c-core: driver using legacy suspend method
[    0.169300] i2c-core: driver using legacy resume method
[    0.170496] SCSI subsystem initialized
[    0.171858] usbcore: registered new inte**ce driver usbfs
[    0.172062] usbcore: registered new inte**ce driver hub
[    0.172386] usbcore: registered new device driver usb
[    0.177169] i2c i2c-0: IMX I2C adapter registered
[    0.177410] Linux video capture inte**ce: v2.00
[    0.177606] pps_core: LinuxPPS API ver. 1 registered
[    0.177627] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.177690] PTP clock support registered
[    0.180044] MIPI CSI2 driver module loaded
[    0.180586] Advanced Linux Sound Architecture Driver Initialized.
[    0.182641] Bluetooth: Core ver 2.18
[    0.182766] NET: Registered protocol family 31
[    0.182789] Bluetooth: HCI device and connection manager initialized
[    0.182830] Bluetooth: HCI socket layer initialized
[    0.182861] Bluetooth: L2CAP socket layer initialized
[    0.182940] Bluetooth: SCO socket layer initialized
[    0.184684] Switched to clocksource mxc_timer1
[    0.186591] cfg80211: Calling CRDA to update world regulatory domain
[    0.210332] NET: Registered protocol family 2
[    0.212313] TCP established hash table entries: 2048 (order: 1, 8192 bytes)
[    0.212396] TCP bind hash table entries: 2048 (order: 2, 16384 bytes)
[    0.212488] TCP: Hash tables configured (established 2048 bind 2048)
[    0.212606] TCP: reno registered
[    0.212641] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    0.212699] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    0.213294] NET: Registered protocol family 1
[    0.214068] RPC: Registered named UNIX socket transport module.
[    0.214099] RPC: Registered udp transport module.
[    0.214116] RPC: Registered tcp transport module.
[    0.214134] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.216841] imx rpmsg driver is registered.
[    0.218389] Bus freq driver module loaded
[    0.220346] futex hash table entries: 256 (order: 2, 16384 bytes)
[    0.240020] VFS: Disk quotas dquot_6.5.2
[    0.240758] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.246908] NFS: Registering the id_resolver key type
[    0.247016] Key type id_resolver registered
[    0.247037] Key type id_legacy registered
[    0.247119] jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
[    0.248973] fuse init (API version 7.22)
[    0.250227] msgmni has been set to 451
[    0.258584] io scheduler noop registered
[    0.258615] io scheduler deadline registered
[    0.259090] io scheduler cfq registered (default)
[    0.260088] imx-weim 21b8000.weim: Driver registered.
[    0.265632] backlight.8 supply power not found, using dummy regulator
[    0.268632] MIPI DSI driver module loaded
[    0.272293] 21c8000.lcdif supply lcd not found, using dummy regulator
[    0.272685] mxsfb 21c8000.lcdif: failed to find mxc display driver
[    0.273416] mxsfb 21c8000.lcdif: initialized
[    0.280756] imx-sdma 20ec000.sdma: no event needs to be remapped
[    0.280964] imx-sdma 20ec000.sdma: loaded firmware 3.1
[    0.289626] imx-sdma 20ec000.sdma: initialized
[    0.290906] Serial: IMX driver
[    0.291525] 2020000.serial: ttymxc0 at MMIO 0x2020000 (irq = 58, base_baud = 5000000) is a IMX
[    1.026868] console enabled
[    1.031899] serial: Freescale lpuart driver
[    1.039686] imx sema4 driver is registered.
[    1.044086] Initialized drm 1.1.0 20060810
[    1.049986] Initialized vivante 1.0.0 20120216 on minor 0
[    1.077668] brd: module loaded
[    1.092594] loop: module loaded
[    1.100799] CAN device driver inte**ce
[    1.107484] 2188000.ethernet supply phy not found, using dummy regulator
[    1.115520] pps pps0: new PPS source ptp0
[    1.120030] fec 2188000.ethernet (unregistered net_device): Invalid MAC address: 00:00:00:00:00:00
[    1.129165] fec 2188000.ethernet (unregistered net_device): Using random MAC address: 42:bf:b0:f3:4a:a5
[    1.139302] libphy: fec_enet_mii_bus: probed
[    1.146523] fec 2188000.ethernet eth0: registered PHC device 0
[    1.153787] PPP generic driver version 2.4.2
[    1.158779] PPP BSD Compression module registered
[    1.163527] PPP Deflate Compression module registered
[    1.168920] usbcore: registered new inte**ce driver asix
[    1.174475] usbcore: registered new inte**ce driver cdc_ether
[    1.180588] usbcore: registered new inte**ce driver cdc_eem
[    1.186571] usbcore: registered new inte**ce driver cdc_ncm
[    1.192268] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.198936] ehci-mxc: Freescale On-Chip EHCI Host driver
[    1.204848] usbcore: registered new inte**ce driver usb-storage
[    1.211257] usbcore: registered new inte**ce driver usbserial
[    1.217334] usbcore: registered new inte**ce driver usbserial_generic
[    1.223998] usbserial: USB Serial support registered for generic
[    1.230194] usbcore: registered new inte**ce driver ftdi_sio
[    1.236116] usbserial: USB Serial support registered for FTDI USB Serial Device
[    1.243554] usbcore: registered new inte**ce driver option
[    1.249303] usbserial: USB Serial support registered for GSM modem (1-port)
[    1.256437] usbcore: registered new inte**ce driver pl2303
[    1.262138] usbserial: USB Serial support registered for pl2303
[    1.268271] usbcore: registered new inte**ce driver cdc_xr_usb_serial
[    1.274865] xr_usb_serial_common: Exar USB UART (serial port) driver
[    1.281403] usbcore: registered new inte**ce driver usb_ehset_test
[    1.289768] 2184800.usbmisc supply vbus-wakeup not found, using dummy regulator
[    1.305815] 2184200.usb supply vbus not found, using dummy regulator
[    1.316008] ci_hdrc ci_hdrc.1: EHCI Host Controller
[    1.320996] ci_hdrc ci_hdrc.1: new USB bus registered, assigned bus number 1
[    1.344781] ci_hdrc ci_hdrc.1: USB 2.0 started, EHCI 1.00
[    1.352345] hub 1-0:1.0: USB hub found
[    1.356338] hub 1-0:1.0: 1 port detected
[    1.362480] mousedev: PS/2 mouse device common for all mice
[    1.370221] input: 20cc000.snvs-pwrkey as /devices/soc0/soc.0/2000000.aips-bus/20cc000.snvs-pwrkey/input/input0
[    1.381161] snvs_pwrkey 20cc000.snvs-pwrkey: i.MX snvs powerkey probed
[    1.388616] edt_ft5x06 0-0038: touchscreen probe failed
[    1.393920] edt_ft5x06: probe of 0-0038 failed with error -5
[    1.401725] input: iMX6UL TouchScreen Controller as /devices/virtual/input/input2
[    1.411216] <<-GTP-INFO->> GTP driver installing...
[    1.416894] <<-GTP-INFO->> GTP Driver Version: V2.4<2014/11/28>
[    1.422861] <<-GTP-INFO->> GTP Driver Built@09:44:03, Dec 15 2017
[    1.429101] <<-GTP-INFO->> GTP I2C Address: 0x5d
[    1.433811] 0-005d supply vdd_ana not found, using dummy regulator
[    1.440199] 0-005d supply vcc_i2c not found, using dummy regulator
[    1.446596] <<-GTP-INFO->> Guitar reset
[    1.577480] <<-GTP-INFO->> IC Version: 911_1060
[    1.612979] <<-GTP-INFO->> X_MAX: 800, Y_MAX: 480, TRIGGER: 0x01
[    1.634763] <<-GTP-INFO->> create proc entry gt9xx_config success
[    1.640888] <<-GTP-INFO->> Esd started
[    1.645315] input: goodix-ts as /devices/virtual/input/input3
[    1.652110] <<-GTP-INFO->> GTP works in interrupt mode.
[    1.658226] i2c-core: driver using legacy suspend method
[    1.664579] i2c-core: driver using legacy resume method
[    1.679915] rtc-rx8010 0-0032: Update timer was detected
[    1.690871] rtc-rx8010 0-0032: rtc core: registered rx8010 as rtc0
[    1.698434] snvs_rtc 20cc034.snvs-rtc-lp: rtc core: registered 20cc034.snvs-rtc-lp as rtc1
[    1.707095] i2c /dev entries driver
[    1.711444] IR NEC protocol handler initialized
[    1.716092] IR RC5(x) protocol handler initialized
[    1.720916] IR RC6 protocol handler initialized
[    1.725506] IR JVC protocol handler initialized
[    1.730063] IR Sony protocol handler initialized
[    1.734736] IR RC5 (streamzap) protocol handler initialized
[    1.740334] IR SANYO protocol handler initialized
[    1.745092] IR MCE Keyboard/mouse protocol handler initialized
[    1.753533] pxp-v4l2 pxp_v4l2.9: initialized
[    1.758290] usbcore: registered new inte**ce driver uvcvideo
[    1.764075] USB Video Class driver (1.1.1)
[    1.769167] i2c-core: driver using legacy suspend method
[    1.775453] i2c-core: driver using legacy resume method
[    1.782605] imx2-wdt 20bc000.wdog: IMX2+ Watchdog Timer enabled. timeout=60s (nowayout=0)
[    1.791207] Bluetooth: HCI UART driver ver 2.2
[    1.795748] Bluetooth: HCI H4 protocol initialized
[    1.800571] Bluetooth: HCI BCSP protocol initialized
[    1.805596] Bluetooth: HCIATH3K protocol initialized
[    1.810814] usbcore: registered new inte**ce driver bcm203x
[    1.816727] usbcore: registered new inte**ce driver btusb
[    1.822413] usbcore: registered new inte**ce driver ath3k
[    1.828141] usbcore: registered new inte**ce driver rtk_btusb
[    1.834548] sdhci: Secure Digital Host Controller Inte**ce driver
[    1.840817] sdhci: Copyright(c) Pierre Ossman
[    1.845236] sdhci-pltfm: SDHCI platform and OF driver helper
[    1.854894] mmc0: no vqmmc regulator found
[    1.904757] mmc0: SDHCI controller on 2190000.usdhc using ADMA
[    1.928064] nand: device found, Manufacturer ID: 0x2c, Chip ID: 0xda
[    1.934468] nand: Micron MT29F2G08ABAEAWP
[    1.938551] nand: 256MiB, SLC, page size: 2048, OOB size: 64
[    1.944980] gpmi-nand 1806000.gpmi-nand: enable the asynchronous EDO mode 5
[    1.951994] Scanning device for bad blocks
[    2.163322] 6 ofpart partitions found on MTD device gpmi-nand
[    2.169159] Creating 6 MTD partitions on "gpmi-nand":
[    2.174258] 0x000000000000-0x000000400000 : "boot"
[    2.181848] 0x000000400000-0x000000600000 : "logo"
[    2.189383] 0x000000600000-0x000000700000 : "ENV"
[    2.196848] 0x000000700000-0x000000a00000 : "DTB"
[    2.204227] 0x000000a00000-0x000001200000 : "kernel"
[    2.211835] 0x000001200000-0x000010000000 : "rootfs"
[    2.219597] gpmi-nand 1806000.gpmi-nand: driver registered.
[    2.228164] usbcore: registered new inte**ce driver usbhid
[    2.233781] usbhid: USB HID core driver
[    2.244618] fsl-asrc 2034000.asrc: driver registered
[    2.255640] imx-wm8960 sound.13: failed to find SAI platform device
[    2.261987] imx-wm8960: probe of sound.13 failed with error -22
[    2.271044] NET: Registered protocol family 26
[    2.275643] Netfilter messages via NETLINK v0.30.
[    2.280436] nfnl_acct: registering with nfnetlink.
[    2.285436] nf_conntrack version 0.5.0 (3612 buckets, 14448 max)
[    2.292645] ctnetlink v0.93: registering with nfnetlink.
[    2.298337] nf_tables: (c) 2007-2009 Patrick McHardy <kaber@trash.net>
[    2.304979] nf_tables_compat: (c) 2012 Pablo Neira Ayuso <pablo@netfilter.org>
[    2.312729] xt_time: kernel timezone is -0000
[    2.317905] ip_tables: (C) 2000-2006 Netfilter Core Team
[    2.323490] ipt_CLUSTERIP: ClusterIP Version 0.8 loaded successfully
[    2.330073] arp_tables: (C) 2002 David S. Miller
[    2.334945] TCP: cubic registered
[    2.339650] NET: Registered protocol family 10
[    2.346271] sit: IPv6 over IPv4 tunneling driver
[    2.352477] NET: Registered protocol family 17
[    2.357193] can: controller area network core (rev 20120528 abi 9)
[    2.363605] NET: Registered protocol family 29
[    2.368222] can: raw protocol (rev 20120528)
[    2.372533] can: broadcast manager protocol (rev 20120528 t)
[    2.378342] can: netlink gateway (rev 20130117) max_hops=1
[    2.384526] Bluetooth: RFCOMM TTY layer initialized
[    2.389683] Bluetooth: RFCOMM socket layer initialized
[    2.394960] Bluetooth: RFCOMM ver 1.11
[    2.398765] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[    2.404105] Bluetooth: BNEP filters: protocol multicast
[    2.409423] Bluetooth: BNEP socket layer initialized
[    2.414421] Bluetooth: HIDP (Human Inte**ce Emulation) ver 1.2
[    2.420422] Bluetooth: HIDP socket layer initialized
[    2.425548] 8021q: 802.1Q VLAN Support v1.8
[    2.429891] Key type dns_resolver registered
[    2.435837] cpu cpu0: dev_pm_opp_get_opp_count: device OPP not found (-19)
[    2.458820] gpio_dvfs: disabling
[    2.462103] vref-3v3: disabling
[    2.465394] usb_otg1_vbus: disabling
[    2.469001] VSD_3V3: disabling
[    2.472084] regulator-dummy: disabling
[    2.476849] imx mcc test is registered.
[    2.482727] rtc-rx8010 0-0032: setting system clock to 1970-01-04 07:43:31 UTC (287011)
[    2.509545] ALSA device list:
[    2.512557]   No soundcards found.
[    2.517004] yaffs: dev is 32505861 name is "mtdblock5" ro
[    2.522426] yaffs: passed flags ""
[    2.582869] random: nonblocking pool is initialized
[    2.834025] VFS: Mounted root (yaffs2 filesystem) readonly on device 31:5.
[    2.841992] devtmpfs: mounted
[    2.845866] Freeing unused kernel memory: 396K (80a7f000 - 80ae2000)
Mounting /proc and /sys
Starting the hotplug events dispatcher udevd
Synthesizing initial hotplug even[    3.250442] udevd (90): /proc/90/oom_adj is deprecated, please use /proc/90/oom_score_adj instead.
ts
Setting the hostname to freescale
Running depmod
depmod: can't change directory to '3.14.38-6UL_ga-00004-gc2cfa49': No such file or directory
Mounting filesystems
Starting inetd:
Starting syslogd and klogd
Reconfiguring network inte**ces... [    7.935932] fec 2188000.ethernet eth0: Freescale FEC PHY driver (mii_bus:phy_addr=2188000.ethernet:00, irq=-1)
[    7.975395] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
done.
[    8.079208] Trying to free nonexistent resource <0000000087b00000-0000000087cd4bff>
calibrated
1970-01-04 07:43:37: (log.c.166) server started

Copyright (C) 2006-2016 Forlinx Embedded Technology Co., Ltd All Rights Reservedwww.forlinx.com
freescale login: [    9.935271] libphy: 2188000.ethernet:00 - Link is Up - 100/Full
[    9.941251] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[    9.996649] <<-GTP-INFO->> System resume.
[   10.015469] <<-GTP-INFO->> GTP wakeup sleep.





whl 发表于 2021-11-8 08:59:28

你的屏幕分辨率是多大的,logo显示阶段正常不正常,排线有没有接好啊

Chemmy 发表于 2021-11-8 09:09:44

whl 发表于 2021-11-8 08:59
你的屏幕分辨率是多大的,logo显示阶段正常不正常,排线有没有接好啊

排线没问题,用的是7寸的电容屏

whl 发表于 2021-11-8 10:05:43

Chemmy 发表于 2021-11-8 09:09
排线没问题,用的是7寸的电容屏

那你应该是选屏选错了,我看打印信息显示的是10.4寸800x600的屏
页: [1]
查看完整版本: boot设置屏幕分辨率不生效