【解析新特性】300W单路输出工业电源>>
首页 » 问答 » EDA与制造 » SoC/ASIC » xc7z010配置uart0的问题

xc7z010配置uart0的问题

菜鸟
2014-05-28 18:16:01
请问如何配置uart0 而我配置了UART0并设置MIO14 MIO15为rt,tx,然后编译生成bitstream,编译生成fsbl.elf的 在于uboot.elf生成BOOT.BIN, 设备树中添加 uart@e0000000 { compatible = "xlnx,ps7-uart-1.00.a"; reg = ; interrupts = ; clock = ; }; 启动的系统时并没有出现ttyps1,而是出现了[ 0.230000] MIO pin 15 not assigned(000006e0) [ 0.230000] registering platform dYWk晛'zynq-dvfs' id 0 [ 0.230000] [ 0.230000] ############################################### [ 0.230000] # # [ 0.230000] # Board ZED Init # [ 0.230000] # # [ 0.230000] ############################################### [ 0.230000] [ 0.230000] hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint registers. [ 0.230000] hw-breakpoint: maximum watchpoint size is 4 bytes. [ 0.230000] MIO pin 15 not assigned(000006e0) [ 0.250000] xslcr xslcr.0: at 0xF8000000 mapped to 0xF8000000 [ 0.260000] bio: create slab at 0 [ 0.260000] SCSI subsystem initialized [ 0.270000] usbcore: registered new interface driver usbfs [ 0.270000] usbcore: registered new interface driver hub [ 0.270000] usbcore: registered new device driver usb [ 0.270000] Advanced Linux Sound Architecture Driver Version 1.0.25. [ 0.270000] cfg80211: Calling CRDA to update world regulatory domain [ 0.270000] Switching to clocksource xttcpss_timer1 [ 0.280000] NET: Registered protocol family 2 [ 0.280000] TCP established hash table entries: 16384 (order: 5, 131072 bytes) [ 0.280000] TCP bind hash table entries: 16384 (order: 5, 131072 bytes) [ 0.280000] TCP: Hash tables configured (established 16384 bind 16384) [ 0.280000] TCP: reno registered [ 0.280000] UDP hash table entries: 256 (order: 1, 8192 bytes) [ 0.280000] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes) [ 0.280000] Trying to unpack rootfs image as initramfs... [ 0.280000] rootfs image is not initramfs (no cpio magic); looks like an initrd [ 0.320000] Freeing initrd memory: 8192K [ 0.320000] pl330 dev 0 probe success [ 0.320000] msgmni has been set to 1004 [ 0.320000] io scheduler noop registered [ 0.320000] io scheduler deadline registered [ 0.320000] io scheduler cfq registered (default) [ 0.320000] e0001000.serial: ttyPS0 at MMIO 0xe0001000 (irq = 82) is a xuartps [ 0.820000] console [ttyPS0] enabled [ 0.830000] xdevcfg f8007000.ps7-dev-cfg: ioremap f8007000 to e084e000 with size 1000 [ 0.830000] [drm] Initialized drm 1.1.0 20060810 [ 0.850000] brd: module loaded [ 0.860000] loop: module loaded [ 0.860000] xqspips e000d000.ps7-qspi: master is unqueued, this is deprecated [ 0.870000] xqspips e000d000.ps7-qspi: at 0xE000D000 mapped to 0xE0850000, irq=51 [ 0.880000] libphy: XEMACPS mii bus: probed [ 0.880000] xemacps e000b000.ps7-ethernet: pdev-id -1, baseaddr 0xe000b000, irq 54 [ 0.890000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 0.900000] usb_hcd_xusbps_probe: No OTG assigned! [ 0.900000] usb_hcd_xusbps_probe: OTG now assigned! [ 0.910000] xusbps-ehci xusbps-ehci.0: Xilinx PS USB EHCI Host Controller [ 0.920000] xusbps-ehci xusbps-ehci.0: new USB bus registered, assigned bus number 1 [ 0.950000] xusbps-ehci xusbps-ehci.0: irq 53, io mem 0x00000000 [ 0.970000] xusbps-ehci xusbps-ehci.0: USB 2.0 started, EHCI 1.00 [ 0.970000] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002 [ 0.980000] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 0.990000] usb usb1: Product: Xilinx PS USB EHCI Host Controller [ 0.990000] usb usb1: Manufacturer: Linux 3.6.0-digilent-13.01-svn48 ehci_hcd [ 1.000000] usb usb1: SerialNumber: xusbps-ehci.0 [ 1.000000] hub 1-0:1.0: USB hub found [ 1.010000] hub 1-0:1.0: 1 port detected [ 1.010000] Initializing USB Mass Storage driver... [ 1.020000] usbcore: registered new interface driver usb-storage [ 1.020000] USB Mass Storage support registered. [ 1.030000] mousedev: PS/2 mouse device common for all mice [ 1.030000] sdhci: Secure Digital Host Controller Interface driver [ 1.040000] sdhci: Copyright(c) Pierre Ossman [ 1.040000] sdhci-pltfm: SDHCI platform and OF driver helper [ 1.090000] mmc0: SDHCI controller on e0100000.ps7-sdio [e0100000.ps7-sdio] using ADMA [ 1.100000] usbcore: registered new interface driver usbhid [ 1.110000] usbhid: USB HID core driver [ 1.120000] TCP: cubic registered [ 1.130000] NET: Registered protocol family 17 [ 1.130000] lib80211: common routines for IEEE802.11 drivers [ 1.140000] VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4 [ 1.140000] Registering SWP/SWPBemulation handler [ 1.150000] registered taskstats version 1 [ 1.150000] drivers/rtc/hctosys.c: unable to open rtc device (rtc0) [ 1.160000] ALSA device list: [ 1.160000] No soundcards found. [ 1.170000] RAMDISK: gzip image found at block 0 [ 1.190000] mmc0: new high speed SDHC card at address aaaa [ 1.190000] mmcblk0: mmc0:aaaa SU04G 3.69 GiB [ 1.200000] mmcblk0: p1 [ 1.330000] usb 1-1: new high-speed USB device number 2 using xusbps-ehci [ 1.480000] usb 1-1: New USB device found, idVendor=0bda, idProduct=8194 [ 1.480000] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [ 1.490000] usb 1-1: Product: 802.11n NIC [ 1.500000] usb 1-1: Manufacturer: Realtek [ 1.500000] usb 1-1: SerialNumber: 00e04c000001 [ 1.680000] EXT4-fs (ram0): couldn't mount as ext3 due to feature incompatibilities [ 1.730000] EXT4-fs (ram0): mounting ext2 file system using the ext4 subsystem [ 1.730000] EXT4-fs (ram0): mounted filesystem without journal. Opts: (null) [ 1.740000] VFS: Mounted root (ext2 filesystem) on device 1:0. [ 1.750000] devtmpfs: mounted [ 1.750000] Freeing init memory: 148K [ 1.750000] Failed to execute /init. Attempting defaults...
关键词: arm, linux  

回复

匿名不能发帖!请先 [ 登陆 注册 ]