element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
    About the element14 Community
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Japan
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      •  Vietnam
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Avnet Boards Forums
  • Products
  • Dev Tools
  • Avnet & Tria Boards Community
  • Avnet Boards Forums
  • More
  • Cancel
Avnet Boards Forums
Avnet Boards General linux karnal uImage problam cant synchronize with .dtb file
  • Forum
  • Documents
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Avnet Boards Forums to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Not Answered
  • Replies 1 reply
  • Subscribers 367 subscribers
  • Views 439 views
  • Users 0 members are here
  • mini-module
  • minimodule
  • zynq
  • mini-module_plus
Related

linux karnal uImage problam cant synchronize with .dtb file

Former Member
Former Member over 11 years ago

hello every one
   I am using zynq ZC703 and i make a u-boot.elf ,Uimage and system.dts file.
1> i made a u-boot.elf file by following command
        make zynq_zc70x_config
        make all
        cp u-boot u-boot.elf

2> i made a vivardo project and made export hardwear in SDK
     in SDK Xilinx Toos-> Repositories i add device-tree-xlnx- (downloaded from git hub)
     after that File->New->Board Support package i make devicetree system.dts file
     i made system.dtb file by
        dtc -I dts -O dtb -o system.dtb system.dts

3>i downloaded linux-xlnx from git hub and make uImage by
     make ARCH=arm UIMAGE_LOADADDR=0x8000 uImage

bui i thing system.dts and uImage are not synchronize so i change uImage ,turned off the fixed device tree address in the kernel configuration by make ARCH=arm menuconfig

System Type->Xilinx Specific Features -> Device Tree At Fixed Address



But here is terminal output
------------------------------------------------
zynq-uboot> bootm 0x3000000 0x2000000 0x2A00000
## Booting kernel from Legacy Image at 03000000 ...
   Image Name:   Linux-3.3.0-14.2-build1
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    2306904 Bytes = 2.2 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 02000000 ...
   Image Name:
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    5309954 Bytes = 5.1 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
## Flattened Device Tree blob at 02a00000
   Booting using the fdt blob at 0x2a00000
   Loading Kernel Image ... OK
   Loading Ramdisk to 1f61f000, end 1fb2f602 ... OK
   Loading Device Tree to 1f619000, end 1f61e62e ... OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
Booting Linux on physical CPU 0
Linux version 3.3.0-14.2-build1 (gnl@gnl-ThinkPad-Edge-E431) (gcc version 4.8.1 (Sourcery CodeBench Lite 2013.11-53) ) #17 SMP PREEMPT Fri Oct 31 07:10:55 IST 2014
CPU: ARMv7 Processor [413fc090] revision 0 (ARMv7), cr=18c5387d
CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
Machine: Xilinx Zynq Platform, model: Xilinx Zynq
bootconsole [earlycon0] enabled
Memory policy: ECC disabled, Data cache writealloc
PERCPU: Embedded 7 pages/cpu @c0900000 s5696 r8192 d14784 u32768
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 129920
Kernel command line: console=ttyPS0,115200 root=/dev/ram rw earlyprintk
PID hash table entries: 2048 (order: 1, 8192 bytes)
Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
Memory: 512MB = 512MB total
Memory: 509384k/509384k available, 14904k reserved, 0K highmem
Virtual kernel memory layout:
    vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
    vmalloc : 0xe0800000 - 0xff000000   ( 488 MB)
    lowmem  : 0xc0000000 - 0xe0000000   ( 512 MB)
    pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
    modules : 0xbf000000 - 0xbfe00000   (  14 MB)
      .text : 0xc0008000 - 0xc0409194   (4101 kB)
      .init : 0xc040a000 - 0xc042f640   ( 150 kB)
      .data : 0xc0430000 - 0xc045e8a0   ( 187 kB)
       .bss : 0xc045e8c4 - 0xc0478d5c   ( 106 kB)
Preemptible hierarchical RCU implementation.
        Verbose stalled-CPUs detection is disabled.
NR_IRQS:128
Xilinx, no compatible timer found, using default
xlnx,ps7-ttc-1.00.a #0 at 0xe0800000, irq=43
Error, no clock-frequency specified for timer
Error, no clock-frequency specified for timer
Console: colour dummy device 80x30
Calibrating delay loop... 30.92 BogoMIPS (lpj=154624)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
smp_twd: clock not found: -2
Calibrating local timer... 7.97MHz.
hw perfevents: enabled with ARMv7 Cortex-A9 PMU driver, 7 counters available
Setting up static identity map for 0x2f3708 - 0x2f373c
CPU1: Booted secondary processor
CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
Brought up 2 CPUs
SMP: Total of 2 processors activated (62.66 BogoMIPS).
devtmpfs: initialized
NET: Registered protocol family 16
L310 cache controller enabled
l2x0: 8 ways, CACHE_ID 0x410000c8, AUX_CTRL 0x72060000, Cache size: 524288 B
registering platform device 'pl330' id 0
registering platform device 'arm-pmu' id 0
------------[ cut here ]------------
WARNING: at arch/arm/kernel/hw_breakpoint.c:235 enable_monitor_mode+0x30/0xac()
halting debug mode enabled. Unable to access hardware resources.
Modules linked in:
[<c0012bb4>] (unwind_backtrace+0x0/0xe0) from [<c001eaa4>] (warn_slowpath_common+0x4c/0x64)
[<c001eaa4>] (warn_slowpath_common+0x4c/0x64) from [<c001eae8>] (warn_slowpath_fmt+0x2c/0x3c)
[<c001eae8>] (warn_slowpath_fmt+0x2c/0x3c) from [<c00137b0>] (enable_monitor_mode+0x30/0xac)
[<c00137b0>] (enable_monitor_mode+0x30/0xac) from [<c00138a0>] (reset_ctrl_regs+0x74/0x12c)
[<c00138a0>] (reset_ctrl_regs+0x74/0x12c) from [<c00525c0>] (on_each_cpu+0x40/0x80)
[<c00525c0>] (on_each_cpu+0x40/0x80) from [<c040e158>] (arch_hw_breakpoint_init+0x8c/0x20c)
[<c040e158>] (arch_hw_breakpoint_init+0x8c/0x20c) from [<c0008590>] (do_one_initcall+0x8c/0x150)
[<c0008590>] (do_one_initcall+0x8c/0x150) from [<c040a878>] (kernel_init+0x90/0x12c)
[<c040a878>] (kernel_init+0x90/0x12c) from [<c000e188>] (kernel_thread_exit+0x0/0x8)
---[ end trace 1b75b31a2719ed1c ]---
hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint registers.
hw-breakpoint: halting debug mode enabled. Assuming maximum watchpoint size of 4 bytes.
MIO pin 51 not assigned(000016e0)
xslcr xslcr.0: at 0xF8000000 mapped to 0xE080A000
bio: create slab <bio-0> at 0
gpiochip_add: registered GPIOs 0 to 245 on device: xgpiops
xgpiops e000a000.ps7-gpio: gpio at 0xe000a000 mapped to 0xe080c000
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
Switching to clocksource xttcpss_timer1
NET: Registered protocol family 2
IP route cache hash table entries: 4096 (order: 2, 16384 bytes)
TCP established hash table entries: 16384 (order: 5, 131072 bytes)
TCP bind hash table entries: 16384 (order: 5, 196608 bytes)
TCP: Hash tables configured (established 16384 bind 16384)
TCP reno registered
UDP hash table entries: 256 (order: 1, 8192 bytes)
UDP-Lite hash table entries: 256 (order: 1, 8192 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...
rootfs image is not initramfs (no cpio magic); looks like an initrd
Freeing initrd memory: 5184K
xscugtimer xscugtimer.0: ioremap fe00c200 to e080e200 with size 400
pl330 dev 0 probe success
JFFS2 version 2.2. (NAND) (SUMMARY)  u00A9 2001-2006 Red Hat, Inc.
msgmni has been set to 1005
io scheduler noop registered
io scheduler deadline registered
io scheduler cfq registered (default)
42c00000.serial: ttyUL3 at MMIO 0x42c00000 (irq = 88) is a uartlite
e00018u00ADu00BEu00BDu00D8u00EFu00E7 u00B8u00ACkHu00BDu00ADu00BEu00BDu00A8u00EEu00C69u00D8u00EFu00E7 u00B8u00ACkHu00BDu00ADu00BEu00BDu00A8u00EEu00C6u00E4ogo

S                                         ~u00D4u00FBJMu00CDu00EFMJKJu00E8

u00D8u00E6u00C4u00CCMu00B8u00ADu00EBCu00BD=u00F8u00BDu00CD
              u00DEu00CCu00D6u00EBu00CCu00DEu00CEu00E6!J*u00DE;u00EFu00A6u00CAku00EBu00BFu00BEu00D6Cu00F7u00FEu00E3u00FE
                                        HI8ku00DDu00BCu00EDu00BEu00ADs
                                                  @u00F6u00F3u00CCu00D6u00F6Tu00D6u00C3u00B8u00EE! u00BDu00A8u00BF.)wu00BCu00BE
                                                                       u00BEu00EEu00F3ku00D6ou00BCu00A8u00BFwu00ECou00DEO
                                                                                     u00CE)u00CDu00DEu00C3su00CDu00BEu00EEu00F3kGu00CDu00C8u00A8u00FBu00ADu00CFu00ADu00BDu00CDu00F6s
                                                                                                            u00CEH

                                                                                                             u00F8u00DEu00F7u00EB>
                                                                                                                  u00DEu00F7Cou00E7u00C3u00BD??u00ADu00B8u00CEOu00FEu00A6k?u00BF>??JjJ*u00DE;u00A69u00CAku00EBu00BFu00BEu00D6u00C3u00FB
                                                                                                                                                       <??JzJ*u00DE;u00A69u00CAku00EBu00BFu00BEu00D6u00C3u00FB
u00EEu00F3u00C3su00E7Su00F8u00DDu00FEu00CEu00D6!Hu00EFu00F3u00EB                                                                                                                                                          <u00F8u00FDu00BD
                u00BDM?CoJgu00FCu00ADu00BEu00ECu00CDu00FEwu00BCu00BE
                                u00BEu00EEu00F3ku00D6ou00BCu00A8u00BF?=u00F8u00E8u00D6ou00EE!u00F3XYY?u00A6?u00DEu00F6u00D6u00C4??u00BDu00D6ou00BCu00A8u00BF>?
u00C8u00DE)u00D4?u00EDu00BD                                                               u00BCu00DE
       u00AEu00AFu00CDu00D6u00C3Hu00F6s
               u00CDu00F3u00CCwu00BCu00BE
                     u00BEu00EEu00F3ku00D6ou00BCu00A8u00BFw=?M?u00D6u00CAu00BEu00A8u00BF>u00F8u00FC
                                           u00BEu00EEu00F3u00EB

                                               u00BEu00EEu00F3kH?u00A8u00DEu00D6u00BDu00CDu00D8su00CDOY
                                                               u00BFu00ECu00F3u00E6u00C3
                                                                   u00D6u00C3Hu00C8u00EFu00F3u00D8u00CFu00D9u00CF
                                                                             u00EFu00EBu00D6u00EBu00F3u00CCu00CDu00F6u00F3u00C9 u00ECu00DDu00EFu00ACCok

                                                                                               u00BDu00EELu00FEu00D6u00EEu00CAu00E6
                                                                                                       u00DECu00EFku00C3u00AC
                                                                                                             :u00F8u00AFNu00B8u00FDu00EDku00CAsS
u00BDu00BCXJ9u00F8u00BDu00EFu00E6u00FDu00EDu00EBu00CCu00CD?u00DEu00DE1u00F8u00EEu00E6gJ.)u00C4kg                                                                                            u00BDu00DEu00EEu00EFu00C8
                            u00BDu00DEu00EEu00EFu00CCu00DEkSu00CCkg??u00EDu00A8u00CE
u00B9u00EDu00A8u00CE                                        u00BDu00D8gu00D6u00BEu00ECu00FDu00EDu00D6?u00DE)u00C8
    u00BDu00D8gu00D6u00BEu00ECu00CDH{u00B8u00BD?u00F8?u00EEu00D6Cou00EFu00CC?u00EEu00D6Cu00EFu00CC?u00EEu00D6C{u00A8u00DEHu00EEu00D6u00C3u00A8u00DEu00FEu00BCu00E6Ou00FEu00DAZZu00E6u00D7u00B7u00D0

  • Sign in to reply
  • Cancel
Parents
  • Former Member
    0 Former Member over 11 years ago

    I think you are correct that the device tree does not match your hardware design.  There is a device tree generator tool available from Xilinx;  you might try running that and compare the results to the version you are using from the github.   Or you can try using a PetaLinux BSP for the board you are using, and compare the device tree source from there with yours.   Booting the system with PetaLinux will at least give you some confidence there are no issues with the hardware design.

    Ron

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Reply
  • Former Member
    0 Former Member over 11 years ago

    I think you are correct that the device tree does not match your hardware design.  There is a device tree generator tool available from Xilinx;  you might try running that and compare the results to the version you are using from the github.   Or you can try using a PetaLinux BSP for the board you are using, and compare the device tree source from there with yours.   Booting the system with PetaLinux will at least give you some confidence there are no issues with the hardware design.

    Ron

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Children
No Data
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2026 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube