嵌入式爱好者

查看: 8460|回复: 3

[Linux] qt 版本sd卡启动问题

[复制链接]

6

主题

15

帖子

30

积分

AM335x通行证

扫一扫,手机访问本帖
发表于 2020-4-15 18:56:51 | 显示全部楼层 |阅读模式
目前用sd卡制作启动盘发现用console版本,系统可以正常起来。用qt版本系统也起来了,但进不了控制台:用的是你们提供的image
打印如下:帮忙看看
U-Boot 2011.09 (Jul 02 2019 - 14:27:11)

I2C:   ready
DRAM:  512 MiB
WARNING: Caches not enabled
Did not find a recognized configuration, assuming General purpose EVM in Profile 0 with Daughter board
NAND:  HW ECC BCH16 Selected
ONFI flash detected
ONFI param page 0 valid
HW ECC BCH16 Selected
Detect MT29F8G08
1024 MiB
MMC:   OMAP SD/MMC: 0
*** Warning - bad CRC, using default environment

SEL: 0.
reading logo.bmp

385078 bytes read
Net:   cpsw
Hit any key to stop autoboot:  0
mmc0 is current device
SD/MMC found on device 0
reading uEnv.txt

** Unable to read "uEnv.txt" from mmc 0:1 **

0 bytes read
reading uImage

3566976 bytes read
reading ramdisk.img.u

** Unable to read "ramdisk.img.u" from mmc 0:1 **

0 bytes read
Booting from mmc ...
## Booting kernel from Legacy Image at 80007fc0 ...
   Image Name:   Linux-3.2.0-dirty
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    3566912 Bytes = 3.4 MiB
   Load Address: 80008000
   Entry Point:  80008000
   Verifying Checksum ... OK
   XIP Kernel Image ... OK
OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
[    0.000000] Linux version 3.2.0-dirty (machao@developer-RH2485-V2) (gcc version 4.5.3 20110311 (prerelease) (GCC) ) #1 Tue Jul 2 15:35:20 CST 2019
[    0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c53c7d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] Machine: am335xevm
[    0.000000] Memory policy: ECC disabled, Data cache writeback
[    0.000000] AM335X ES2.1 (sgx neon )
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 130048
[    0.000000] Kernel command line: console=ttyO0,115200n8 root=/dev/mmcblk0p2 ro rootfstype=ext3 rootwait ip=none screentype=R screensize=800x480-7 calibrate=Y laohua=N
[    0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] Memory: 512MB = 512MB total
[    0.000000] Memory: 512328k/512328k available, 11960k 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 : 0xe0800000 - 0xff000000   ( 488 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xe0000000   ( 512 MB)
[    0.000000]     modules : 0xbf000000 - 0xc0000000   (  16 MB)
[    0.000000]       .text : 0xc0008000 - 0xc065d000   (6484 kB)
[    0.000000]       .init : 0xc065d000 - 0xc069d000   ( 256 kB)
[    0.000000]       .data : 0xc069e000 - 0xc070dc90   ( 448 kB)
[    0.000000]        .bss : 0xc070dcb4 - 0xc073fa10   ( 200 kB)
[    0.000000] NR_IRQS:396
[    0.000000] IRQ: Found an INTC at 0xfa200000 (revision 5.0) with 128 interrupts
[    0.000000] Total of 128 interrupts on 1 active controller
[    0.000000] OMAP clockevent source: GPTIMER2 at 24000000 Hz
[    0.000000] omap_dm_timer_switch_src: Switching to HW default clocksource(sys_clkin_ck) for timer1, this may impact timekeeping in low power state
[    0.000000] OMAP clocksource: GPTIMER1 at 24000000 Hz
[    0.000000] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 178956ms
[    0.000000] Console: colour dummy device 80x30
[    0.000199] Calibrating delay loop... 718.02 BogoMIPS (lpj=3590144)
[    0.057152] pid_max: default: 32768 minimum: 301
[    0.057288] Security Framework initialized
[    0.057393] Mount-cache hash table entries: 512
[    0.057802] CPU: Testing write buffer coherency: ok
[    0.058565] devtmpfs: initialized
[    0.078615] omap_hwmod: pruss: failed to hardreset
[    0.079731] print_constraints: dummy:
[    0.080096] NET: Registered protocol family 16
[    0.082255] OMAP GPIO hardware version 0.1
[    0.084790] omap_mux_init: Add partition: #1: core, flags: 0
[    0.086671]  omap_i2c.1: alias fck already exists
[    0.087832]  omap_hsmmc.0: alias fck already exists
[    0.088113]  omap_hsmmc.1: alias fck already exists
[    0.088891]  da8xx_lcdc.0: alias fck already exists
[    0.089185]  omap_i2c.2: alias fck already exists
[    0.090694]  d_can.0: alias fck already exists
[    0.090986]  davinci-mcasp.1: alias fck already exists
[    0.092495]  omap2_mcspi.1: alias fck already exists
[    0.092730]  omap2_mcspi.2: alias fck already exists
[    0.093002]  edma.0: alias fck already exists
[    0.093025]  edma.0: alias fck already exists
[    0.093044]  edma.0: alias fck already exists
[    0.124137] bio: create slab <bio-0> at 0
[    0.126326] SCSI subsystem initialized
[    0.128327] usbcore: registered new inte**ce driver usbfs
[    0.128642] usbcore: registered new inte**ce driver hub
[    0.128844] usbcore: registered new device driver usb
[    0.129166] registerd cppi-dma Intr @ IRQ 17
[    0.129181] Cppi41 Init Done Qmgr-base(e087a000) dma-base(e0878000)
[    0.129191] Cppi41 Init Done
[    0.129219] musb-ti81xx musb-ti81xx: musb0, board_mode=0x13, plat_mode=0x3
[    0.129517] musb-ti81xx musb-ti81xx: musb1, board_mode=0x13, plat_mode=0x1
[    0.130655] omap_i2c omap_i2c.1: bus 1 rev2.4.0 at 100 kHz
[    0.132380] tps65217 1-0024: TPS65217 ID 0xe version 1.2
[    0.134401] print_constraints: DCDC1: 900 <--> 1800 mV at 1500 mV
[    0.136422] print_constraints: DCDC2: 900 <--> 3300 mV at 1100 mV
[    0.138431] print_constraints: DCDC3: 900 <--> 1500 mV at 1100 mV
[    0.140410] print_constraints: LDO1: 1000 <--> 3300 mV at 1800 mV
[    0.142386] print_constraints: LDO2: 900 <--> 3300 mV at 3300 mV
[    0.144361] print_constraints: LDO3: 1800 <--> 3300 mV at 1800 mV
[    0.146364] print_constraints: LDO4: 1800 <--> 3300 mV at 3300 mV
[    0.147031] omap_i2c omap_i2c.2: bus 2 rev2.4.0 at 100 kHz
[    0.149027] Advanced Linux Sound Architecture Driver Version 1.0.24.
[    0.150344] cfg80211: Calling CRDA to update world regulatory domain
[    0.151543] Switching to clocksource gp timer
[    0.169318] musb-hdrc: version 6.0, ?dma?, otg (peripheral+host)
[    0.169523] musb-hdrc musb-hdrc.0: dma type: dma-cppi41
[    0.169854] MUSB0 controller's USBSS revision = 4ea20800
[    0.169889] musb0: Enabled SW babble control
[    0.170829] musb-hdrc musb-hdrc.0: USB OTG mode controller at e083e000 using DMA, IRQ 18
[    0.170988] musb-hdrc musb-hdrc.1: dma type: dma-cppi41
[    0.171301] MUSB1 controller's USBSS revision = 4ea20800
[    0.171329] musb1: Enabled SW babble control
[    0.171832] musb-hdrc musb-hdrc.1: MUSB HDRC host driver
[    0.171924] musb-hdrc musb-hdrc.1: new USB bus registered, assigned bus number 1
[    0.172072] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    0.172087] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    0.172102] usb usb1: Product: MUSB HDRC host driver
[    0.172112] usb usb1: Manufacturer: Linux 3.2.0-dirty musb-hcd
[    0.172124] usb usb1: SerialNumber: musb-hdrc.1
[    0.173075] hub 1-0:1.0: USB hub found
[    0.173107] hub 1-0:1.0: 1 port detected
[    0.173702] musb-hdrc musb-hdrc.1: USB Host mode controller at e084a800 using DMA, IRQ 19
[    0.174140] NET: Registered protocol family 2
[    0.174352] IP route cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.174683] TCP established hash table entries: 16384 (order: 5, 131072 bytes)
[    0.174979] TCP bind hash table entries: 16384 (order: 4, 65536 bytes)
[    0.175154] TCP: Hash tables configured (established 16384 bind 16384)
[    0.175167] TCP reno registered
[    0.175178] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.175202] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.175383] NET: Registered protocol family 1
[    0.175641] RPC: Registered named UNIX socket transport module.
[    0.175654] RPC: Registered udp transport module.
[    0.175663] RPC: Registered tcp transport module.
[    0.175672] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.175886] NetWinder Floating Point Emulator V0.97 (double precision)
[    0.176120] omap-gpmc omap-gpmc: GPMC revision 6.0
[    0.195659] VFS: Disk quotas dquot_6.5.2
[    0.195729] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.196312] msgmni has been set to 1000
[    0.199410] alg: No test for stdrng (krng)
[    0.199483] io scheduler noop registered
[    0.199494] io scheduler deadline registered
[    0.199588] io scheduler cfq registered (default)
[    0.201701] da8xx_lcdc da8xx_lcdc.0: GLCD: Found NHD-7.0-ATXI#-T-1 panel
[    0.202728] LCD Clock: 300000000 Divider: 7 PixClk: 40000000
[    0.217688] Console: switching to colour frame buffer device 100x30
[    0.227473] omap_uart.0: ttyO0 at MMIO 0x44e09000 (irq = 72) is a OMAP UART0
[    0.932403] console [ttyO0] enabled
[    0.936760] omap_uart.1: ttyO1 at MMIO 0x48022000 (irq = 73) is a OMAP UART1
[    0.944658] omap_uart.2: ttyO2 at MMIO 0x48024000 (irq = 74) is a OMAP UART2
[    0.952519] omap_uart.3: ttyO3 at MMIO 0x481a6000 (irq = 44) is a OMAP UART3
[    0.960339] omap_uart.4: ttyO4 at MMIO 0x481a8000 (irq = 45) is a OMAP UART4
[    0.968185] omap_uart.5: ttyO5 at MMIO 0x481aa000 (irq = 46) is a OMAP UART5
[    0.986246] brd: module loaded
[    0.994709] loop: module loaded
[    0.998423] i2c-core: driver [tsl2550] using legacy suspend method
[    1.004921] i2c-core: driver [tsl2550] using legacy resume method
[    1.011653] at24 1-0050: 32768 byte 24c256 EEPROM, writable, 1 bytes/write
[    1.021909] mtdoops: mtd device (mtddev=name/number) must be supplied
[    1.029241] omap2-nand driver initializing
[    1.033645] info->phys_base 8000000
[    1.037343] ONFI flash detected
[    1.040743] ONFI param page 0 valid
[    1.044412] NAND device: Manufacturer ID: 0x2c, Chip ID: 0xd3 (Micron MT29F8G08ABACAWP)
[    1.052770] omap2-nand: detected x8 NAND flash
[    1.057496] Page size 4096 Select ECC BCH16
[    1.061866] Nand ECC BCH16 HW
[    1.065308] Creating 8 MTD partitions on "omap2-nand.0":
[    1.070886] 0x000000000000-0x000000200000 : "SPL"
[    1.077619] 0x000000200000-0x000000400000 : "SPL.backup1"
[    1.084962] 0x000000400000-0x000000600000 : "SPL.backup2"
[    1.092111] 0x000000600000-0x000000800000 : "SPL.backup3"
[    1.099255] 0x000000800000-0x000000a00000 : "U-Boot"
[    1.105999] 0x000000a00000-0x000000c00000 : "U-Boot Env"
[    1.113079] 0x000000c00000-0x000001400000 : "Kernel"
[    1.120347] 0x000001400000-0x000040000000 : "File System"
[    1.217906] OneNAND driver initializing
[    1.223710] CAN device driver inte**ce
[    1.227725] CAN bus driver for Bosch D_CAN controller 1.0
[    1.234272] d_can d_can.0: device registered (irq=52, irq_obj=53)
[    1.278921] usb 1-1: new high-speed USB device number 2 using musb-hdrc
[    1.441874] usb 1-1: New USB device found, idVendor=0424, idProduct=2514
[    1.448867] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    1.504526] hub 1-1:1.0: USB hub found
[    1.517132] hub 1-1:1.0: 4 ports detected
[    2.241601] mcp251x spi2.0: MCP251x didn't enter in conf mode after reset
[    2.248771] mcp251x spi2.0: Probe failed
[    2.252894] mcp251x spi2.0: probe failed
[    2.301606] davinci_mdio davinci_mdio.0: davinci mdio revision 1.6
[    2.308066] davinci_mdio davinci_mdio.0: detected phy mask fffffffc
[    2.316360] davinci_mdio.0: probed
[    2.319912] davinci_mdio davinci_mdio.0: phy[0]: device 0:00, driver unknown
[    2.327293] davinci_mdio davinci_mdio.0: phy[1]: device 0:01, driver unknown
[    2.334832] PPP generic driver version 2.4.2
[    2.339725] PPP BSD Compression module registered
[    2.344656] PPP Deflate Compression module registered
[    2.350139] usbcore: registered new inte**ce driver zd1201
[    2.356183] usbcore: registered new inte**ce driver cdc_ether
[    2.362442] usbcore: registered new inte**ce driver cdc_eem
[    2.368496] usbcore: registered new inte**ce driver dm9601
[    2.374373] cdc_ncm: 04-Aug-2011
[    2.377890] usbcore: registered new inte**ce driver cdc_ncm
[    2.383808] Initializing USB Mass Storage driver...
[    2.389131] usbcore: registered new inte**ce driver usb-storage
[    2.395411] USB Mass Storage support registered.
[    2.400594] usbcore: registered new inte**ce driver usbserial
[    2.406831] USB Serial support registered for generic
[    2.412267] usbcore: registered new inte**ce driver usbserial_generic
[    2.419080] usbserial: USB Serial Driver core
[    2.423771] USB Serial support registered for GSM modem (1-port)
[    2.430432] usbcore: registered new inte**ce driver option
[    2.436269] option: v0.7.2:USB Driver for GSM modems
[    2.441605] USB Serial support registered for Vizzini USB serial port
[    2.448488] usbcore: registered new inte**ce driver vizzini
[    2.454408] USB Driver for Vizzini USB serial port: v.1.1
[    2.460226]  gadget: Mass Storage Function, version: 2009/09/11
[    2.466427]  gadget: Number of LUNs=1
[    2.470249]  lun0: LUN: removable file: (no medium)
[    2.475370]  gadget: Mass Storage Gadget, version: 2009/09/11
[    2.481371]  gadget: userspace failed to provide iSerialNumber
[    2.487471]  gadget: g_mass_storage ready
[    2.491677] musb-hdrc musb-hdrc.0: MUSB HDRC host driver
[    2.497276] musb-hdrc musb-hdrc.0: new USB bus registered, assigned bus number 2
[    2.505109] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
[    2.512209] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.519743] usb usb2: Product: MUSB HDRC host driver
[    2.524929] usb usb2: Manufacturer: Linux 3.2.0-dirty musb-hcd
[    2.531012] usb usb2: SerialNumber: musb-hdrc.0
[    2.536702] hub 2-0:1.0: USB hub found
[    2.540635] hub 2-0:1.0: 1 port detected
[    2.546016] mousedev: PS/2 mouse device common for all mice
[    2.552429] <<-GTP-INFO->> GTP driver installing...
[    2.558032] usbcore: registered new inte**ce driver usbtouchscreen
[    2.564737] [wds tsc probe]x.min=140,x.max=3946,y.min=319,y.max=3865,x.inverted=0,y.inverted=1
[    2.574138] input: ti-tsc as /devices/platform/omap/ti_tscadc/tsc/input/input0
[    2.582565] rtc-ds1307: probe of 2-0068 failed with error -5
[    2.588721] forlinx rx8010_probe
[    2.594026] rtc-rx8010 2-0032: Update timer was detected
[    2.601620] rtc-rx8010 2-0032: rtc core: registered rx8010 as rtc0
[    2.608224] i2c /dev entries driver
[    2.612591] Linux video capture inte**ce: v2.00
[    2.617772] usbcore: registered new inte**ce driver uvcvideo
[    2.623790] USB Video Class driver (1.1.1)
[    2.628982] OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
[    2.636740] cpuidle: using governor ladder
[    2.641502] cpuidle: using governor menu
[    2.652470] usbcore: registered new inte**ce driver usbhid
[    2.658298] usbhid: USB HID core driver
[    2.663297] tiadc tiadc: attached adc driver
[    2.670532] _regulator_get: 2-001b supply IOVDD not found, using dummy regulator
[    2.678365] _regulator_get: 2-001b supply DVDD not found, using dummy regulator
[    2.686049] _regulator_get: 2-001b supply AVDD not found, using dummy regulator
[    2.693718] _regulator_get: 2-001b supply DRVDD not found, using dummy regulator
[    2.704395] asoc: tlv320aic3x-hifi <-> davinci-mcasp.1 mapping ok
[    2.749450] ALSA device list:
[    2.752602]   #0: AM335X EVM
[    2.755603] oprofile: hardware counters not available
[    2.760873] oprofile: using timer interrupt.
[    2.765357] Netfilter messages via NETLINK v0.30.
[    2.770374] nf_conntrack version 0.5.0 (8005 buckets, 32020 max)
[    2.777131] ctnetlink v0.93: registering with nfnetlink.
[    2.783506] xt_time: kernel timezone is -0000
[    2.788300] ip_tables: (C) 2000-2006 Netfilter Core Team
[    2.794089] ipt_CLUSTERIP: ClusterIP Version 0.8 loaded successfully
[    2.800784] arp_tables: (C) 2002 David S. Miller
[    2.805707] TCP cubic registered
[    2.809075] NET: Registered protocol family 17
[    2.813732] can: controller area network core (rev 20090105 abi 8)
[    2.820293] NET: Registered protocol family 29
[    2.824965] can: raw protocol (rev 20090105)
[    2.829422] can: broadcast manager protocol (rev 20090105 t)
[    2.835376] Registering the dns_resolver key type
[    2.840343] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
[    2.848361] ThumbEE CPU extension supported.
[    2.852888] mux: Failed to setup hwmod io irq -22
[    2.858508] Power Management for AM33XX family
[    2.863403] Trying to load am335x-pm-firmware.bin (60 secs timeout)
[    2.870071] Copied the M3 firmware to UMEM
[    2.874443] Cortex M3 Firmware Version = 0x181
[    2.884388] clock: disabling unused clocks to save power
[    2.892267] Detected MACID=f8:36:9b:89:c2:c4
[    2.898002] cpsw: Detected MACID = f8:36:9b:89:c2:c6
[    2.905387] input: gpio-keys as /devices/platform/gpio-keys/input/input1
[    2.914346] rtc-rx8010 2-0032: setting system clock to 2020-04-15 18:51:50 UTC (1586976710)
[    2.923692] Waiting for root device /dev/mmcblk0p2...
[    2.934226] mmc0: host does not support reading read-only switch. assuming write-enable.
[    2.947261] mmc0: new high speed SDHC card at address aaaa
[    2.953650] mmcblk0: mmc0:aaaa SS08G 7.40 GiB
[    2.961742]  mmcblk0: p1 p2
[    3.035174] EXT3-fs (mmcblk0p2): recovery required on readonly filesystem
[    3.042311] EXT3-fs (mmcblk0p2): write access will be enabled during recovery
[    3.124107] kjournald starting.  Commit interval 5 seconds
[    3.129926] EXT3-fs (mmcblk0p2): recovery complete
[    3.139242] EXT3-fs (mmcblk0p2): mounted filesystem with ordered data mode
[    3.146503] VFS: Mounted root (ext3 filesystem) readonly on device 179:2.
[    3.153721] devtmpfs: mounted
[    3.157195] Freeing init memory: 256K
INIT: version 2.88 booting
Starting udev
[    3.591728] udev[792]: starting version 164
Starting Bootlog daemon: bootlogd: cannot allocate pseudo tty: No such file or directory
bootlogd.
[    5.150577] EXT3-fs (mmcblk0p2): using internal journal
ALSA: Restoring mixer settings...
No state is present for card EVM
Found hardware: "AM335X_EVM" "" "" "" ""
Hardware is initialized using a generic method
No state is present for card EVM
Configuring network inte**ces... [    5.584266] net eth0: CPSW phy found : id is : 0x4dd074
done.
INIT: Entering runlevel: 5
Starting system message bus: dbus.
Starting telnet daemon.
Starting inetd daemon.
Starting syslogd/klogd: done
/etc/rc5.d/S97matrix-gui: line 45: /home/root/loop.sh: No such file or directory
xres = 800, yres = 480

回复

使用道具 举报

0

主题

1173

帖子

2203

积分

发表于 2020-4-16 08:10:13 | 显示全部楼层
您这是没校准屏幕,可以接上屏校准一下,或者按照手册跳过校准
点评回复 支持 反对

使用道具 举报

6

主题

15

帖子

30

积分

AM335x通行证

 楼主| 发表于 2020-4-16 10:26:50 | 显示全部楼层
没有显示器可以跳过吗,只有控制台
点评回复 支持 反对

使用道具 举报

6

主题

15

帖子

30

积分

AM335x通行证

 楼主| 发表于 2020-4-16 10:52:23 | 显示全部楼层
可以了:'(:'(:'(
点评回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|小黑屋| 飞凌嵌入式 ( 冀ICP备12004394号-1 )

GMT+8, 2024-12-20 18:28

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表