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 Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • 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
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • 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 Boards Community
  • Avnet Boards Forums
  • More
  • Cancel
Avnet Boards Forums
Software Application Development Boot hangs saying "turn off boot console earlycon0 "
  • 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 3 replies
  • Subscribers 310 subscribers
  • Views 493 views
  • Users 0 members are here
Related

Boot hangs saying "turn off boot console earlycon0 "

Former Member
Former Member over 12 years ago

Hello everyone,

when I try to boot the zedboard, it hangs at this line and I got this error. Has this happened to someone else?

turn off boot console earlycon0 

In order to create the boot image and the required files I followed the tutorial here(http://wiki.xilinx.com/open-source-linux). Using the linux kernel from  git://git.xilinx.com/linux-xlnx.git.
I have created my own dtb from SDK, boot.bin using my own fsbl from sdk and building the root filesystem also as indicated in the wiki. Also using uImage for the linux kernel. I am using the 14.4 tools.
Any suggestions?
Thanks!

I also include all the log here
Copying Linux from SD to RAM...                                                
Device: SDHCI                                                                  
Manufacturer ID: 3                                                             
OEM: 5344                                                                      
Name: SU04G                                                                    
Tran Speed: 50000000                                                           
Rd Block Len: 512                                                              
SD version 2.0                                                                 
High Capacity: Yes                                                             
Capacity: 3.7 GiB                                                              
Bus Width: 4-bit                                                               
reading uImage                                                                 
                                                                               
2883984 bytes read                                                             
reading devicetree.dtb                                                         
                                                                               
6607 bytes read                                                                
reading uramdisk.image.gz                                                      
                                                                               
3223565 bytes read                                                             
## Booting kernel from Legacy Image at 03000000 ...                            
   Image Name:   Linux-3.6.0-xilinx                                            
   Image Type:   ARM Linux Kernel Image (uncompressed)                         
   Data Size:    2883920 Bytes = 2.8 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:    3223501 Bytes = 3.1 MiB                                       
   Load Address: 00000000                                                      
   Entry Point:  00000000                                                      
   Verifying Checksum ... OK                                                   
## Flattened Device Tree blob at 02a00000                                      
   Booting using the fdt blob at 0x02a00000                                    
   Loading Kernel Image ... OK                                                 
OK                                                                             
   Loading Ramdisk to 1f841000, end 1fb53fcd ... OK                            
   Loading Device Tree to 1f83c000, end 1f8409ce ... OK                        
                                                                               
Starting kernel ...                                                            
                                                                               
Uncompressing Linux... done, booting the kernel.                               
Booting Linux on physical CPU 0                                                
Linux version 3.6.0-xilinx (cecilia@cecilia-Inspiron-5520) (gcc version 4.6.1 (3
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                                                
cma: CMA: reserved 16 MiB at 1e800000                                          
Memory policy: ECC disabled, Data cache writealloc                             
PERCPU: Embedded 7 pages/cpu @c1c06000 s7488 r8192 d12992 u32768               
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 130048    
Kernel command line: console=ttyPS0,115200n8 root=/dev/ram rw initrd=0x00800000)
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: 478084k/478084k available, 46204k 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 - 0xc04e6d98   (4988 kB)                              
      .init : 0xc04e7000 - 0xc050dd40   ( 156 kB)                              
      .data : 0xc050e000 - 0xc0554800   ( 282 kB)                              
       .bss : 0xc0554824 - 0xc057ea30   ( 169 kB)                              
Preemptible hierarchical RCU implementation.                                   
        Dump stacks of tasks blocking RCU-preempt GP.                          
        RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2.                   
NR_IRQS:512                                                                    
Zynq clock init                                                                
xlnx,ps7-ttc-1.00.a #0 at 0xe0800000, irq=43                                   
sched_clock: 32 bits at 100 Hz, resolution 10000000ns, wraps every 4294967286ms
Console: colour dummy device 80x30                                             
Calibrating delay loop... 1332.01 BogoMIPS (lpj=6660096)                       
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                               
hw perfevents: enabled with ARMv7 Cortex-A9 PMU driver, 7 counters available   
Setting up static identity map for 0x38c348 - 0x38c37c                         
L310 cache controller enabled                                                  
l2x0: 8 ways, CACHE_ID 0x410000c8, AUX_CTRL 0x72360000, Cache size: 524288 B   
Map SLCR registers                                                             
CPU1: Booted secondary processor                                               
CPU1: thread -1, cpu 1, socket 0, mpidr 80000001                               
Brought up 2 CPUs                                                              
SMP: Total of 2 processors activated (2664.03 BogoMIPS).                       
devtmpfs: initialized                                                          
NET: Registered protocol family 16                                             
DMA: preallocated 256 KiB pool for atomic coherent allocations                 
xgpiops e000a000.ps7-gpio: gpio at 0xe000a000 mapped to 0xe0808000             
registering platform device 'pl330' id 0                                       
registering platform device 'arm-pmu' id 0                                     
registering platform device 'zynq-dvfs' id 0                                   
hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint registers.    
hw-breakpoint: maximum watchpoint size is 4 bytes.                             
xslcr xslcr.0: at 0xF8000000 mapped to 0xF8000000                              
bio: create slab <bio-0> at 0                                                  
vgaarb: loaded                                                                 
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                                              
TCP established hash table entries: 16384 (order: 5, 131072 bytes)             
TCP bind hash table entries: 16384 (order: 5, 131072 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 (junk in compressed archive); looks like an initrd
Freeing initrd memory: 16384K                                                  
pl330 dev 0 probe success                                                      
jffs2: version 2.2. (NAND) (SUMMARY)  uFFFDu00A9 2001-2006 Red Hat, Inc.               
msgmni has been set to 997                                                     
io scheduler noop registered                                                   
io scheduler deadline registered                                               
io scheduler cfq registered (default)                                          
e0001000.serial: ttyPS1 at MMIO 0xe0001000 (irq = 82) is a xuartps             
xdevcfg f8007000.ps7-dev-cfg: ioremap f8007000 to e085c000 with size 1000      
brd: module loaded                                                             
loop: module loaded                                                            
xqspips e000d000.ps7-qspi: master is unqueued, this is deprecated              
xqspips e000d000.ps7-qspi: at 0xE000D000 mapped to 0xE085E000, irq=51          
e1000e: Intel(R) PRO/1000 Network Driver - 2.0.0-k                             
e1000e: Copyright(c) 1999 - 2012 Intel Corporation.                            
libphy: XEMACPS mii bus: probed                                                
xemacps e000b000.ps7-ethernet: pdev->id -1, baseaddr 0xe000b000, irq 54        
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver                     
ULPI transceiver vendor/product ID 0x0451/0x1507                               
Found TI TUSB1210 ULPI transceiver.                                            
ULPI integrity check: passed.                                                  
xusbps-ehci xusbps-ehci.0: Xilinx PS USB EHCI Host Controller                  
xusbps-ehci xusbps-ehci.0: new USB bus registered, assigned bus number 1       
xusbps-ehci xusbps-ehci.0: irq 53, io mem 0x00000000                           
xusbps-ehci xusbps-ehci.0: USB 2.0 started, EHCI 1.00                          
hub 1-0:1.0: USB hub found                                                     
hub 1-0:1.0: 1 port detected                                                   
Initializing USB Mass Storage driver...                                        
usbcore: registered new interface driver usb-storage                           
USB Mass Storage support registered.                                           
mousedev: PS/2 mouse device common for all mice                                
i2c /dev entries driver                                                        
sdhci: Secure Digital Host Controller Interface driver                         
sdhci: Copyright(c) Pierre Ossman                                              
sdhci-pltfm: SDHCI platform and OF driver helper                               
mmc0: Invalid maximum block size, assuming 512 bytes                           
mmc0: SDHCI controller on e0100000.ps7-sdio [e0100000.ps7-sdio] using ADMA     
usbcore: registered new interface driver usbhid                                
usbhid: USB HID core driver                                                    
TCP: cubic registered                                                          
NET: Registered protocol family 17                                             
VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4        
Registering SWP/SWPB emulation handler                                         
turn off boot console earlycon0                                                
                                  

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

    Hi

    I don't think the boot is hanging.  The line 'turn off boot console earlycon0' indicates that the boot console is being turned off.  Normally the main console will start in its place, but in this case it hasn't.  Could you check that you have the correct hardware layout for UART1 (enabled on MIO 48-49, address 0xE0001000).  If you used the Zedboard xml config file this should already be set up for you.

    You say you have created a devicetree from SDK, my question is how did you do that?  The device tree generator for SDK is not currently compatible with Zynq.  This is mentioned in the tutorial you posted a link to:
    "There is no device tree generator yet for Zynq yet such that hand editing the device tree is the current method."

    Finally, I think there might be a problem with running the Xilinx kernel on the Zedboard.  You can get the Digilent kernel using git:
    git clone git://github.com/Digilent/linux-digilent.git

    Matthew

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

    Hello Matthew,

    I just replace my device tree with the one provided in the 14.3 release and it boots now.
    thanks!

    Cecilia

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

    I'm having the same problem you did. Where did you get the device tree provided with the 14.3 release?

    What kind of system are you running? I'm trying an AMP configuration (Linux on cpu0 and B.M on cpu1).

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
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 © 2025 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