Bringup Zybo-Z7-20 Board Using Petalinux

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/haifeng_gu/article/details/86627482

OS: Ubuntu 16.04 LTS

To create a petalinux project from a given .bsp file, download a released .bsp file from here firstly. I am using Petalinux-Zybo-Z7-20-2017.4-2.bsp.

//1. Init petalinux environment to enable its commands
jeremy@j-XPS-8700:~/workspace/zybo-z7-20$ source /opt/pkg/petalinux/settings.sh
PetaLinux environment set to '/opt/pkg/petalinux'
INFO: Checking free disk space
INFO: Checking installed tools
INFO: Checking installed development libraries
INFO: Checking network and other services
WARNING: No tftp server found - please refer to "PetaLinux SDK Installation Guide" for its impact and solution

//2. Create a petalinux project based on a BoardSupportPackage (.bsp file)
jeremy@j-XPS-8700:~/workspace/zybo-z7-20$ petalinux-create --type project -s ./Petalinux-Zybo-Z7-20-2017.4-2.bsp --name hf-petalinux
INFO: Create project: hf-petalinux
INFO: New project successfully created in /home/jeremy/workspace/zybo-z7-20/hf-petalinux

//3. Go into the project path
jeremy@j-XPS-8700:~/workspace/zybo-z7-20$ cd hf-petalinux/

jeremy@j-XPS-8700:~/workspace/zybo-z7-20/hf-petalinux$ find . -name *.hdf
./components/plnx_workspace/device-tree/device-tree-generation/hardware_description.hdf
./components/plnx_workspace/fsbl/.Xil/-27586-ubuntu/system_2.hdf
./components/plnx_workspace/fsbl/.Xil/-27586-ubuntu/system.hdf
./components/plnx_workspace/fsbl/.Xil/-82400-ubuntu/system4977696269316939875_2.hdf
./components/plnx_workspace/fsbl/.Xil/-82400-ubuntu/system4977696269316939875.hdf
./components/plnx_workspace/fsbl/.Xil/-82400-ubuntu/system_2.hdf
./components/plnx_workspace/fsbl/.Xil/-82400-ubuntu/system.hdf
./components/plnx_workspace/fsbl/.Xil/-82400-ubuntu/system_4.hdf
./components/plnx_workspace/fsbl/.Xil/-82400-ubuntu/system_3.hdf
./components/plnx_workspace/fsbl/.Xil/-34784-ubuntu/system3225159500462406109.hdf
./components/plnx_workspace/fsbl/.Xil/-34784-ubuntu/system_2.hdf
./components/plnx_workspace/fsbl/.Xil/-34784-ubuntu/system.hdf
./components/plnx_workspace/fsbl/.Xil/-34784-ubuntu/system_4.hdf
./components/plnx_workspace/fsbl/.Xil/-34784-ubuntu/system3225159500462406109_2.hdf
./components/plnx_workspace/fsbl/.Xil/-34784-ubuntu/system_3.hdf
./components/plnx_workspace/fsbl/.Xil/-115205-ubuntu/system9006040107705128330_2.hdf
./components/plnx_workspace/fsbl/.Xil/-115205-ubuntu/system_2.hdf
./components/plnx_workspace/fsbl/.Xil/-115205-ubuntu/system9006040107705128330.hdf
./components/plnx_workspace/fsbl/.Xil/-115205-ubuntu/system.hdf
./components/plnx_workspace/fsbl/.Xil/-115205-ubuntu/system_4.hdf
./components/plnx_workspace/fsbl/.Xil/-115205-ubuntu/system_3.hdf
./components/plnx_workspace/fsbl/fsbl_hwproj/system.hdf
./project-spec/hw-description/system.hdf

//4. Configure this petalinux project with the Hardware Description File (*.hdf file)
jeremy@j-XPS-8700:~/workspace/zybo-z7-20/hf-petalinux$ petalinux-config 
[INFO] generating Kconfig for project       
[INFO] menuconfig project
/home/jeremy/workspace/zybo-z7-20/hf-petalinux/build/misc/config/Kconfig.syshw:30:warning: defaults for choice values not supported
/home/jeremy/workspace/zybo-z7-20/hf-petalinux/build/misc/config/Kconfig:568:warning: config symbol defined without type
*** End of the configuration.
*** Execute 'make' to start the build or try 'make help'.
[INFO] sourcing bitbake
[INFO] generating plnxtool conf
[INFO] generating meta-plnx-generated layer
~/workspace/zybo-z7-20/hf-petalinux/build/misc/plnx-generated ~/workspace/zybo-z7-20/hf-petalinux
~/workspace/zybo-z7-20/hf-petalinux
[INFO] generating machine configuration
[INFO] generating bbappends for project . This may take time ! 
~/workspace/zybo-z7-20/hf-petalinux/build/misc/plnx-generated ~/workspace/zybo-z7-20/hf-petalinux
~/workspace/zybo-z7-20/hf-petalinux
[INFO] generating u-boot configuration files       
[INFO] generating kernel configuration files
[INFO] generating kconfig for Rootfs
Generate rootfs kconfig
[INFO] oldconfig rootfs
[INFO] generating petalinux-user-image.bb
[INFO] successfully configured project
webtalk failed:PetaLinux statistics:extra lines detected:notsent_nofile!
webtalk failed:Failed to get PetaLinux usage statistics!

//5. configure U-boot
jeremy@j-XPS-8700:~/workspace/zybo-z7-20/hf-petalinux$ petalinux-config -c u-boot
[INFO] generating Kconfig for project        
[INFO] sourcing bitbake
[INFO] generating plnxtool conf
[INFO] generating meta-plnx-generated layer
~/workspace/zybo-z7-20/hf-petalinux/build/misc/plnx-generated ~/workspace/zybo-z7-20/hf-petalinux
~/workspace/zybo-z7-20/hf-petalinux
[INFO] generating machine configuration
[INFO] configuring: u-boot
[INFO] generating u-boot configuration files
[INFO] bitbake virtual/bootloader -c menuconfig
Loading cache: 100% |#####################################################################| Time: 0:00:00
Loaded 3258 entries from dependency cache.
Parsing recipes: 100% |###################################################################| Time: 0:00:01
Parsing of 2473 .bb files complete (2430 cached, 43 parsed). 3266 targets, 226 skipped, 0 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies
Initialising tasks: 100% |################################################################| Time: 0:00:04
Checking sstate mirror object availability: 100% |########################################| Time: 0:00:00
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
NOTE: Tasks Summary: Attempted 275 tasks of which 270 didn't need to be rerun and all succeeded.
bitbake -c diffconfig virtual/bootloader
Parsing recipes...done.
Parsing of 2473 .bb files complete (0 cached, 2473 parsed). 3266 targets, 226 skipped, 0 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies
Initialising tasks...done.
NOTE: Executing RunQueue Tasks
NOTE: Running task 1 of 1 (/opt/pkg/petalinux/components/yocto/source/arm/layers/meta-xilinx/recipes-bsp/u-boot/u-boot-xlnx_2017.01.bb:do_diffconfig)
NOTE: recipe u-boot-xlnx-v2017.01-xilinx-v2017.4+gitAUTOINC+42deb242f9-r0: task do_diffconfig: Started
NOTE: recipe u-boot-xlnx-v2017.01-xilinx-v2017.4+gitAUTOINC+42deb242f9-r0: task do_diffconfig: Succeeded
NOTE: Tasks Summary: Attempted 1 tasks of which 0 didn't need to be rerun and all succeeded.
[INFO] successfully configured u-boot
webtalk failed:PetaLinux statistics:extra lines detected:notsent_nofile!
webtalk failed:Failed to get PetaLinux usage statistics!
jeremy@j-XPS-8700:~/workspace/zybo-z7-20/hf-petalinux$ ls
build  components  config.project  pre-built  project-spec
jeremy@j-XPS-8700:~/workspace/zybo-z7-20/hf-petalinux$ find . -name u-boot.config
./build/tmp/work/plnx_arm-xilinx-linux-gnueabi/u-boot-xlnx/v2017.01-xilinx-v2017.4+gitAUTOINC+42deb242f9-r0/build/u-boot.config

//6. Configure Kernel
jeremy@j-XPS-8700:~/workspace/zybo-z7-20/hf-petalinux$ petalinux-config -c kernel
[INFO] generating Kconfig for project
[INFO] sourcing bitbake
[INFO] generating plnxtool conf
[INFO] generating meta-plnx-generated layer
~/workspace/zybo-z7-20/hf-petalinux/build/misc/plnx-generated ~/workspace/zybo-z7-20/hf-petalinux
~/workspace/zybo-z7-20/hf-petalinux
[INFO] generating machine configuration
[INFO] configuring: kernel
[INFO] generating kernel configuration files
[INFO] bitbake virtual/kernel -c menuconfig
Loading cache: 100% |#####################################################################| Time: 0:00:00
Loaded 3257 entries from dependency cache.
Parsing recipes: 100% |###################################################################| Time: 0:00:01
Parsing of 2473 .bb files complete (2434 cached, 39 parsed). 3266 targets, 226 skipped, 0 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies
Initialising tasks: 100% |################################################################| Time: 0:00:04
NOTE: Executing RunQueue Tasks
NOTE: Tasks Summary: Attempted 2 tasks of which 0 didn't need to be rerun and all succeeded.
Loading cache: 100% |#####################################################################| Time: 0:00:00
Loaded 3257 entries from dependency cache.
Parsing recipes: 100% |###################################################################| Time: 0:00:01
Parsing of 2473 .bb files complete (2434 cached, 39 parsed). 3266 targets, 226 skipped, 0 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies
Initialising tasks: 100% |################################################################| Time: 0:00:04
Checking sstate mirror object availability: 100% |########################################| Time: 0:00:00
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
NOTE: Tasks Summary: Attempted 318 tasks of which 302 didn't need to be rerun and all succeeded.
bitbake -c diffconfig virtual/kernel
Loading cache...done.
Loaded 3257 entries from dependency cache.
Parsing recipes...done.
Parsing of 2473 .bb files complete (2434 cached, 39 parsed). 3266 targets, 226 skipped, 0 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies
Initialising tasks...done.
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
NOTE: Running task 22 of 22 (/opt/pkg/petalinux/components/yocto/source/arm/layers/meta-xilinx/recipes-kernel/linux/linux-xlnx_4.9.bb:do_diffconfig)
NOTE: recipe linux-xlnx-4.9-xilinx-v2017.4+gitAUTOINC+1496c680c6-r0: task do_diffconfig: Started
NOTE: recipe linux-xlnx-4.9-xilinx-v2017.4+gitAUTOINC+1496c680c6-r0: task do_diffconfig: Succeeded
NOTE: Tasks Summary: Attempted 22 tasks of which 21 didn't need to be rerun and all succeeded.
Loading cache: 100% |#####################################################################| Time: 0:00:00
Loaded 3257 entries from dependency cache.
Parsing recipes: 100% |###################################################################| Time: 0:00:01
Parsing of 2473 .bb files complete (2434 cached, 39 parsed). 3266 targets, 226 skipped, 0 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies
Initialising tasks: 100% |################################################################| Time: 0:00:04
NOTE: Executing RunQueue Tasks
NOTE: Tasks Summary: Attempted 2 tasks of which 0 didn't need to be rerun and all succeeded.
[INFO] successfully configured kernel
webtalk failed:PetaLinux statistics:extra lines detected:notsent_nofile!
webtalk failed:Failed to get PetaLinux usage statistics!

//7. Configure Root File System
jeremy@j-XPS-8700:~/workspace/zybo-z7-20/hf-petalinux$ petalinux-config -c rootfs
[INFO] sourcing bitbake
[INFO] generating plnxtool conf
[INFO] generating meta-plnx-generated layer
~/workspace/zybo-z7-20/hf-petalinux/build/misc/plnx-generated ~/workspace/zybo-z7-20/hf-petalinux
~/workspace/zybo-z7-20/hf-petalinux
[INFO] generating machine configuration
[INFO] configuring: rootfs
[INFO] generating kconfig for Rootfs
Generate rootfs kconfig
[INFO] menuconfig rootfs
*** End of the configuration.
*** Execute 'make' to start the build or try 'make help'.
[INFO] generating petalinux-user-image.bb
[INFO] successfully configured rootfs
webtalk failed:PetaLinux statistics:extra lines detected:notsent_nofile!
webtalk failed:Failed to get PetaLinux usage statistics!

//8. [Ignore!] Configure Device Tree Source (*.dts file already provided by *.bsp file)
//9. Build the project to generate files under images/linux/ folder
jeremy@j-XPS-8700:~/workspace/zybo-z7-20/hf-petalinux$ petalinux-build 
[INFO] building project
[INFO] sourcing bitbake
INFO: bitbake petalinux-user-image
Loading cache: 100% |#####################################################################| Time: 0:00:00
Loaded 3257 entries from dependency cache.
Parsing recipes: 100% |###################################################################| Time: 0:00:01
Parsing of 2473 .bb files complete (2434 cached, 39 parsed). 3266 targets, 226 skipped, 0 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies
Initialising tasks: 100% |################################################################| Time: 0:00:07
Checking sstate mirror object availability: 100% |########################################| Time: 0:00:07
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
fsbl-2017.4+gitAUTOINC+77448ae629-r0 do_compile: NOTE: fsbl: compiling from external source tree /opt/pkg/petalinux/tools/hsm/data/embeddedsw
NOTE: Tasks Summary: Attempted 3376 tasks of which 2622 didn't need to be rerun and all succeeded.
INFO: Copying Images from deploy to images
INFO: Creating images/linux directory
NOTE: Failed to copy built images to tftp dir:  /var/lib/tftpboot
[INFO] successfully built project
webtalk failed:PetaLinux statistics:extra lines detected:notsent_nofile!
webtalk failed:Failed to get PetaLinux usage statistics!
jeremy@j-XPS-8700:~/workspace/zybo-z7-20/hf-petalinux$ ls images/linux/
image.ub               rootfs.ext4            system.dtb             vmlinux
rootfs.cpio            rootfs.ext4.gz         System.map.linux       zImage
rootfs.cpio.gz         rootfs.jffs2           system_wrapper.bit     zynq_fsbl.elf
rootfs.cpio.gz.u-boot  rootfs.manifest        u-boot.bin             
rootfs.ext3            rootfs.tar.gz          u-boot.elf 

//10. Package FSBL, Bitstream and U-boot files into BOOT.BIN file under images/linux/
jeremy@j-XPS-8700:~/workspace/zybo-z7-20/hf-petalinux$ petalinux-package --boot --format BIN --fsbl images/linux/zynq_fsbl.elf --fpga images/linux/system_wrapper.bit --u-boot images/linux/u-boot.elf 
INFO: File in BOOT BIN: "/home/jeremy/workspace/zybo-z7-20/hf-petalinux/images/linux/zynq_fsbl.elf"
INFO: File in BOOT BIN: "/home/jeremy/workspace/zybo-z7-20/hf-petalinux/images/linux/system_wrapper.bit"
INFO: File in BOOT BIN: "/home/jeremy/workspace/zybo-z7-20/hf-petalinux/images/linux/u-boot.elf"
INFO: Generating zynq binary package BOOT.BIN...
INFO: Binary is ready.
WARNING: Unable to access the TFTPBOOT folder /var/lib/tftpboot!!!
WARNING: Skip file copy to TFTPBOOT folder!!!
webtalk failed:Invalid tool in the statistics file:petalinux-yocto!
webtalk failed:Failed to get PetaLinux usage statistics!
jeremy@j-XPS-8700:~/workspace/zybo-z7-20/hf-petalinux$ ls images/linux/
BOOT.BIN        rootfs.cpio.gz.u-boot  rootfs.jffs2     System.map.linux    vmlinux
image.ub        rootfs.ext3            rootfs.manifest  system_wrapper.bit  zImage
rootfs.cpio     rootfs.ext4            rootfs.tar.gz    u-boot.bin          zynq_fsbl.elf   rootfs.cpio.gz  rootfs.ext4.gz         system.dtb       u-boot.elf

Finally, copy the BOOT.BIN and image.ub files into SD Card’s first partition (FAT32 format) to boot.

U-Boot 2017.01 (Jan 22 2019 - 22:36:12 -0800)

Model: Zynq Zybo Z7 Development Board
Board: Xilinx Zynq
I2C:   ready
DRAM:  ECC disabled 1 GiB        l keys                         
MMC:   sdhci@e0100000: 0 (SD)                                   
Using default environment                                       
                                                                
In:    serial                                                   
Out:   serial
Err:   serial
Net:   ZYNQ GEM: e000b000, phyaddr 1, interface rgmii-id
SF: Detected s25fl128s_64k with page size 256 Bytes, erase size 64 KiB, total 16 MiB

Warning: ethernet@e000b000 using MAC address from ROM
eth0: ethernet@e000b000
U-BOOT for Zybo Z7
ethernet@e000b000 Waiting for PHY auto negotiation to complete......... TIMEOUT !
Hit any key to stop autoboot:  0 
Device: sdhci@e0100000
Manufacturer ID: 3
OEM: 5344
Name: SL32G 
Tran Speed: 50000000
Rd Block Len: 512
SD version 3.0
High Capacity: Yes
Capacity: 29.7 GiB
Bus Width: 4-bit
Erase Group Size: 512 Bytes
reading image.ub
55393188 bytes read in 4608 ms (11.5 MiB/s)
## Loading kernel from FIT Image at 10000000 ...
   Using 'conf@1' configuration
   Verifying Hash Integrity ... OK
   Trying 'kernel@0' kernel subimage
     Description:  Linux Kernel
     Type:         Kernel Image
     Compression:  uncompressed
     Data Start:   0x100000d4
     Data Size:    3878584 Bytes = 3.7 MiB
     Architecture: ARM
     OS:           Linux
     Load Address: 0x00008000
     Entry Point:  0x00008000
     Hash algo:    sha1
     Hash value:   85c2ca9a30252828885c2c1c1f704ed1ef249cc4
   Verifying Hash Integrity ... sha1+ OK
## Loading ramdisk from FIT Image at 10000000 ...
   Using 'conf@1' configuration
   Trying 'ramdisk@0' ramdisk subimage
     Description:  ramdisk
     Type:         RAMDisk Image
     Compression:  uncompressed
     Data Start:   0x103ba9f4
     Data Size:    51482048 Bytes = 49.1 MiB
     Architecture: ARM
     OS:           Linux
     Load Address: unavailable
     Entry Point:  unavailable
     Hash algo:    sha1
     Hash value:   d8be76e5b9b9f089f9002bba25eae6d98f3c0d6d
   Verifying Hash Integrity ... sha1+ OK
## Loading fdt from FIT Image at 10000000 ...
   Using 'conf@1' configuration
   Trying 'fdt@0' fdt subimage
     Description:  Flattened Device Tree blob
     Type:         Flat Device Tree
     Compression:  uncompressed
     Data Start:   0x103b3080
     Data Size:    30915 Bytes = 30.2 KiB
     Architecture: ARM
     Hash algo:    sha1
     Hash value:   b229130affcadb2365e0b70ea1bf51f0f9eb33cb
   Verifying Hash Integrity ... sha1+ OK
   Booting using the fdt blob at 0x103b3080
   Loading Kernel Image ... OK
   Loading Ramdisk to 04ee7000, end 07fffdc0 ... OK
   Loading Device Tree to 04edc000, end 04ee68c2 ... OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
Booting Linux on physical CPU 0x0
Linux version 4.9.0-xilinx-v2017.4 (jeremy@j-XPS-8700) (gcc version 6.2.1 20161016 (Linaro GCC 69
CPU: ARMv7 Processor [413fc090] revision 0 (ARMv7), cr=18c5387d
CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
OF: fdt: Machine model: Zynq Zybo Z7 Development Board
bootconsole [earlycon0] enabled
Memory policy: Data cache writealloc
cma: Reserved 128 MiB at 0x38000000
random: fast init done
percpu: Embedded 16 pages/cpu @ef7c5000 s34764 r8192 d22580 u65536
Built 1 zonelists, mobility grouping on.  Total pages: 260608
Kernel command line: console=ttyPS0,115200 earlyprintk uio_pdrv_genirq.of_id=generic-uio
PID hash table entries: 4096 (order: 2, 16384 bytes)
Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
Memory: 847760K/1048576K available (6144K kernel code, 237K rwdata, 1544K rodata, 1024K init, 26)
Virtual kernel memory layout:
    vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
    vmalloc : 0xf0800000 - 0xff800000   ( 240 MB)
    lowmem  : 0xc0000000 - 0xf0000000   ( 768 MB)
    pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
    modules : 0xbf000000 - 0xbfe00000   (  14 MB)
      .text : 0xc0008000 - 0xc0700000   (7136 kB)
      .init : 0xc0900000 - 0xc0a00000   (1024 kB)
      .data : 0xc0a00000 - 0xc0a3b600   ( 238 kB)
       .bss : 0xc0a3b600 - 0xc0a7d884   ( 265 kB)
Preemptible hierarchical RCU implementation.
        RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2.
        Tasks RCU enabled.
RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
efuse mapped to f0802000
slcr mapped to f0804000
L2C: platform modifies aux control register: 0x72360000 -> 0x72760000
L2C: DT/platform modifies aux control register: 0x72360000 -> 0x72760000
L2C-310 erratum 769419 enabled
L2C-310 enabling early BRESP for Cortex-A9
L2C-310 full line of zeros enabled for Cortex-A9
L2C-310 ID prefetch enabled, offset 1 lines
L2C-310 dynamic clock gating enabled, standby mode enabled
L2C-310 cache controller enabled, 8 ways, 512 kB
L2C-310: CACHE_ID 0x410000c8, AUX_CTRL 0x76760001
zynq_clock_init: clkc starts at f0804100
Zynq clock init
sched_clock: 64 bits at 333MHz, resolution 3ns, wraps every 4398046511103ns
clocksource: arm_global_timer: mask: 0xffffffffffffffff max_cycles: 0x4ce07af025, max_idle_ns: 4s
Switching to timer-based delay loop, resolution 3ns
clocksource: ttc_clocksource: mask: 0xffff max_cycles: 0xffff, max_idle_ns: 537538477 ns
timer #0 at f080c000, irq=17
Console: colour dummy device 80x30
Calibrating delay loop (skipped), value calculated using timer frequency.. 666.66 BogoMIPS (lpj=)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
CPU: Testing write buffer coherency: ok
CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
Setting up static identity map for 0x100000 - 0x100060
Hierarchical SRCU implementation.
smp: Bringing up secondary CPUs ...
CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
smp: Brought up 1 node, 2 CPUs
SMP: Total of 2 processors activated (1333.33 BogoMIPS).
CPU: All CPU(s) started in SVC mode.
devtmpfs: initialized
VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
futex hash table entries: 512 (order: 3, 32768 bytes)
pinctrl core: initialized pinctrl subsystem
NET: Registered protocol family 16
DMA: preallocated 256 KiB pool for atomic coherent allocations
cpuidle: using governor menu
hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint registers.
hw-breakpoint: maximum watchpoint size is 4 bytes.
zynq-ocm f800c000.ocmc: ZYNQ OCM pool: 256 KiB @ 0xf0880000
zynq-pinctrl 700.pinctrl: zynq pinctrl initialized
e0001000.serial: ttyPS0 at MMIO 0xe0001000 (irq = 27, base_baud = 6249999) is a xuartps
`��k�ˋ��+W/Ҫ*LW�Y�X��ed
console [ttyPS0] enabled
bootconsole [earlycon0] disabled
bootconsole [earlycon0] disabled
XGpio: /amba_pl/gpio@41230000: registered, base is 1023
vgaarb: loaded
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
media: Linux media interface: v0.10
Linux video capture interface: v2.00
pps_core: LinuxPPS API ver. 1 registered
pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <[email protected]>
PTP clock support registered
EDAC MC: Ver: 3.0.0
FPGA manager framework
fpga-region fpga-full: FPGA Region probed
clocksource: Switched to clocksource arm_global_timer
NET: Registered protocol family 2
TCP established hash table entries: 8192 (order: 3, 32768 bytes)
TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
TCP: Hash tables configured (established 8192 bind 8192)
UDP hash table entries: 512 (order: 2, 16384 bytes)
UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
NET: Registered protocol family 1
RPC: Registered named UNIX socket transport module.
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
RPC: Registered tcp NFSv4.1 backchannel transport module.
Trying to unpack rootfs image as initramfs...
Freeing initrd memory: 50276K
hw perfevents: no interrupt-affinity property for /pmu@f8891000, guessing.
hw perfevents: enabled with armv7_cortex_a9 PMU driver, 7 counters available
workingset: timestamp_bits=30 max_order=18 bucket_order=0
jffs2: version 2.2. (NAND) (SUMMARY)  �© 2001-2006 Red Hat, Inc.
bounce: pool size: 64 pages
io scheduler noop registered
io scheduler deadline registered
io scheduler cfq registered (default)
io scheduler mq-deadline registered
io scheduler kyber registered
dma-pl330 f8003000.dmac: Loaded driver for PL330 DMAC-241330
dma-pl330 f8003000.dmac:        DBUFF-128x8bytes Num_Chans-8 Num_Peri-4 Num_Events-16
xilinx-vdma 43010000.dma: Xilinx AXI VDMA Engine Driver Probed!!
xilinx-frmbuf 43c80000.v_frmbuf_wr: Xilinx AXI frmbuf DMA_DEV_TO_MEM
xilinx-frmbuf 43c80000.v_frmbuf_wr: Xilinx AXI FrameBuffer Engine Driver Probed!!
[drm] load() is defered & will be called again
brd: module loaded
loop: module loaded
m25p80 spi0.0: found s25fl128s, expected m25p80
m25p80 spi0.0: s25fl128s (16384 Kbytes)
4 ofpart partitions found on MTD device spi0.0
Creating 4 MTD partitions on "spi0.0":
0x000000000000-0x000000500000 : "boot"
0x000000500000-0x000000520000 : "bootenv"
0x000000520000-0x000000fa0000 : "kernel"
0x000000fa0000-0x000001000000 : "spare"
libphy: Fixed MDIO Bus: probed
CAN device driver interface
libphy: MACB_mii_bus: probed
macb e000b000.ethernet eth0: Cadence GEM rev 0x00020118 at 0xe000b000 irq 29 (00:18:3e:02:c8:d1)
RTL8211E Gigabit Ethernet e000b000.ethernet-ffffffff:01: attached PHY driver [RTL8211E Gigabit E)
e1000e: Intel(R) PRO/1000 Network Driver - 3.2.6-k
e1000e: Copyright(c) 1999 - 2015 Intel Corporation.
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
ehci-pci: EHCI PCI platform driver
usbcore: registered new interface driver usb-storage
chipidea-usb2 e0002000.usb: e0002000.usb supply vbus not found, using dummy regulator
ULPI transceiver vendor/product ID 0x0424/0x0007
Found SMSC USB3320 ULPI transceiver.
ULPI integrity check: passed.
ci_hdrc ci_hdrc.0: EHCI Host Controller
ci_hdrc ci_hdrc.0: new USB bus registered, assigned bus number 1
ci_hdrc ci_hdrc.0: USB 2.0 started, EHCI 1.00
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
i2c /dev entries driver
cdns-i2c e0004000.i2c: 400 kHz mmio e0004000 irq 23
cdns-i2c e0005000.i2c: 400 kHz mmio e0005000 irq 24
ov5640 2-003c: ov5640_read_reg: error: reg=300a
ov5640 2-003c: ov5640_check_chip_id: failed to read chip identifier
ov5640: probe of 2-003c failed with error -5
IR NEC protocol handler initialized
IR RC5(x/sz) protocol handler initialized
IR RC6 protocol handler initialized
IR JVC protocol handler initialized
IR Sony protocol handler initialized
IR SANYO protocol handler initialized
IR Sharp protocol handler initialized
IR MCE Keyboard/mouse protocol handler initialized
IR XMP protocol handler initialized
xilinx-video amba_pl:video_cap: device registered
xilinx-csi2rxss 43c60000.mipi_csi2_rx_subsystem: Xilinx CSI2 Rx Subsystem device found!
xilinx-video amba_pl:video_cap: Entity type for entity 43c60000.mipi_csi2_rx_subsystem was not i!
cdns-wdt f8005000.watchdog: Xilinx Watchdog Timer at f096a000 with timeout 10s
EDAC MC: ECC not enabled
Xilinx Zynq CpuIdle Driver started
sdhci: Secure Digital Host Controller Interface driver
sdhci: Copyright(c) Pierre Ossman
sdhci-pltfm: SDHCI platform and OF driver helper
mmc0: SDHCI controller on e0100000.sdhci [e0100000.sdhci] using ADMA
ledtrig-cpu: registered to indicate activity on CPUs
usbcore: registered new interface driver usbhid
usbhid: USB HID core driver
fpga_manager fpga0: Xilinx Zynq FPGA Manager registered
NET: Registered protocol family 10
Segment Routing with IPv6
sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
NET: Registered protocol family 17
can: controller area network core (rev 20170425 abi 9)
NET: Registered protocol family 29
can: raw protocol (rev 20170425)
can: broadcast manager protocol (rev 20170425 t)
can: netlink gateway (rev 20170425) max_hops=1
Registering SWP/SWPB emulation handler
[drm] No max horizontal width in DT, using default 1920
mmc0: new high speed SDHC card at address aaaa
mmcblk0: mmc0:aaaa SL32G 29.7 GiB 
 mmcblk0: p1 p2
[drm] No max vertical height in DT, using default 1080
OF: graph: no port node found in /amba_pl/xilinx_drm
[drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[drm] No driver support for vblank timestamp query.
[drm] Cannot find any crtc or sizes
[drm] Initialized xilinx_drm 1.0.0 20130509 for amba_pl:xilinx_drm on minor 0
hctosys: unable to open rtc device (rtc0)
of_cfs_init
of_cfs_init: OK
DOVDD_reg: disabling
AVDD_reg: disabling
�Freeing unused kernel memory: 1024K
INIT: version 2.88 booting
Starting udev
udevd[806]: starting version 3.2
udevd[807]: starting eudev-3.2
asoc-simple-card amba_pl:sound: ssm2602-hifi <-> 43c40000.axi_i2s_adi mapping ok
[drm] Cannot find any crtc or sizes
...
Found hardware: "Zybo-Z7-Sound-C" "" "" "" ""
Hardware is initialized using a generic method
/usr/share/alsa/init/default:26: value write error: Input/output error
/usr/share/alsa/init/default:26: value write error: Input/output error
/usr/share/alsa/init/default:263: value write error: Input/output error
/usr/share/alsa/init/default:263: value write error: Input/output error
/usr/share/alsa/init/default:265: value write error: Input/output error
No state is present for card ZyboZ7SoundCard
hwclock: can't open '/dev/misc/rtc': No such file or directory
Wed Jan 23 06:39:47 UTC 2019
hwclock: can't open '/dev/misc/rtc': No such file or directory
Starting internet superserver: inetd.
Running postinst /etc/rpm-postinsts/100-sysvinit-inittab...
update-rc.d: /etc/init.d/run-postinsts exists during rc.d purge (continuing)
 Removing any system startup links for run-postinsts ...
  /etc/rcS.d/S99run-postinsts
INIT: Entering runlevel: 5
Configuring network interfaces... IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
udhcpc (v1.24.1) started
Sending discover...
Sending discover...
Sending discover...
No lease, forking to background
done.
Starting system message bus: dbus.
Starting Dropbear SSH server: Generating key, this may take a while...
Public key portion is:
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCJG5shHrRB/x6kBkD5i+0Oi0vK6SgOUN9vgHwXI5cFnGwD2ulgMkNWzjcz0
Fingerprint: md5 50:63:da:06:d6:4d:97:6e:35:61:99:72:d8:b5:67:9e
dropbear.
hwclock: can't open '/dev/misc/rtc': No such file or directory
Starting syslogd/klogd: done
Starting tcf-agent: OK
root@Zybo-Z7-20:~# ls
root@Zybo-Z7-20:~# pwd
/home/root
root@Zybo-Z7-20:~# ls /
bin    dev    home   lib    mnt    root   sbin   tmp    var
boot   etc    init   media  proc   run    sys    usr
root@Zybo-Z7-20:~#

猜你喜欢

转载自blog.csdn.net/haifeng_gu/article/details/86627482