UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

cancel
Showing results for 
Search instead for 
Did you mean: 
Visitor omerirmak
Visitor
634 Views
Registered: ‎07-04-2018

Disabling serial console?

Hello,

 

I want to disable serial terminal and only use SSH for terminal access. But when I disable the autooconfig for "Serial Settings" and pass "console=tty0" or empty string as bootargs I cannot get Zynq to boot. The error I get is below;

 

INFO: Launching XSDB for file download and boot.
INFO: This may take a few minutes, depending on the size of your image.
INFO: Configuring the FPGA...
INFO: Downloading bitstream to the target.
INFO: Downloading ELF file to the target.
INFO: Downloading ELF file to the target.
Memory write error at 0x8008000. Cannot access DDR: the controller is held in reset
    invoked from within
"::tcf::eval -progress {
        apply {{info} {
        switch -- [lindex $info 0] {
            "info" {
            puts -nonewline "\r[lindex $info 1]"
            }
            "warning" {
            puts "\n[lindex $info 1]"
            }
            "data" {
            puts -nonewline "\r[lindex $info 1] of [lindex $info 2] complete"
            }
            "done" {
            puts "\n[lindex $info 1]"
            }
        }
        flush stdout
        ::xsdb::abort_check
        }}} {::tcf::cache_enter tcfchan#0 {tcf_cache_eval {download_cache_client ::tcfclient#0::arg}}}"
    (procedure "::tcf::cache_eval_with_progress" line 2)
    invoked from within
"::tcf::cache_eval_with_progress $params(chan) [list download_cache_client $argvar] {
        apply {{info} {
        switch -- [lindex $info 0] {
            "info" ..."
    (procedure "dow" line 77)
    invoked from within
"dow -data "./linux_project/images/linux/system.dtb" 0x08008000"
    (file "/tmp/tmp.kycnOvA6n7" line 26)
INFO: The XSDB log is as follows
attempting to launch hw_server

****** Xilinx hw_server v2018.2
  **** Build date : Jun 14 2018-20:18:37
    ** Copyright 1986-2018 Xilinx, Inc. All Rights Reserved.

INFO: hw_server application started
INFO: Use Ctrl-C to exit hw_server application

INFO: To connect to this hw_server instance use url: TCP:127.0.0.1:3121

100%    3MB   1.8MB/s  00:02    
mctrlval=30800100
Downloading Program -- ./linux_project/images/linux/zynq_fsbl.elf
    section, .text: 0x00000000 - 0x00005c5b
    section, .handoff: 0x00005c5c - 0x00005ca7
    section, .init: 0x00005ca8 - 0x00005cbf
    section, .fini: 0x00005cc0 - 0x00005cd7
    section, .rodata: 0x00005cd8 - 0x00005f4b
    section, .data: 0x00005f50 - 0x00008b97
    section, .eh_frame: 0x00008b98 - 0x00008b9b
    section, .mmu_tbl: 0x0000c000 - 0x0000ffff
    section, .init_array: 0x00010000 - 0x00010003
    section, .fini_array: 0x00010004 - 0x00010007
    section, .rsa_ac: 0x00010008 - 0x0001103f
    section, .bss: 0x00011040 - 0x0001143f
    section, .heap: 0x00011440 - 0x0001343f
    section, .stack: 0xffff0000 - 0xffffd3ff
100%    0MB   0.7MB/s  00:00    
Setting PC to Program Start Address 0x00000000
Successfully downloaded ./linux_project/images/linux/zynq_fsbl.elf
Downloading Program -- ./linux_project/images/linux/u-boot.elf
    section, .text: 0x00400000 - 0x0044038f
    section, .rodata: 0x00440390 - 0x0044e080
    section, .hash: 0x0044e084 - 0x0044e09b
    section, .dtb.init.rodata: 0x0044e0a0 - 0x004515ff
    section, .data: 0x00451600 - 0x00453caf
    section, .got.plt: 0x00453cb0 - 0x00453cbb
    section, .u_boot_list: 0x00453cbc - 0x00454ba3
    section, .efi_runtime: 0x00454ba8 - 0x00454ca7
    section, .efi_runtime_rel: 0x00454ca8 - 0x00454d37
    section, .rel.dyn: 0x00454d38 - 0x0045e5c7
    section, .bss_start: 0x00454d38 - 0x00454d37
    section, .bss: 0x00454d38 - 0x0047571b
    section, .bss_end: 0x0047571c - 0x0047571b
100%    0MB   0.6MB/s  00:00    
Setting PC to Program Start Address 0x00400000
Successfully downloaded ./linux_project/images/linux/u-boot.elf
  0%    0MB   0.0MB/s  ??:?? ETA
Failed to download ./linux_project/images/linux/system.dtb

I am trying to boot via JTAG.

 

Thank you in advance.

0 Kudos
3 Replies
Moderator
Moderator
595 Views
Registered: ‎06-27-2017

Re: Disabling serial console?

Hi @omerirmak,

 

Instead of above changes, you can try in petalinux to disable Uarts in device tree.

 

1. Add below changes to <petalinux project>/project-spec/meta-user/recipes-bsp/device-tree/files/system-user.dtsi

    &Uart1 {

                status = "disabled";

               };

   &Uart0 {

                status = "disabled";

               };

 

Regards
Kranthi
--------------------------
Don't forget to reply, kudo, and accept as solution.

Best Regards
Kranthi
--------------------------
Don't forget to reply, kudo, and accept as solution.
0 Kudos
Visitor omerirmak
Visitor
589 Views
Registered: ‎07-04-2018

Re: Disabling serial console?

Hi @gudishak,
Thank you for the response.
Quick question, would this disable the uart modules alltogether? I want to be able to use them for other purposes.

Regards
Omer

0 Kudos
Moderator
Moderator
535 Views
Registered: ‎06-27-2017

Re: Disabling serial console?

@omerirmak,

They will be disabled by Kernel. I hope you can use for own purpose

 

Regards
Kranthi
--------------------------
Don't forget to reply, kudo, and accept as solution.

Best Regards
Kranthi
--------------------------
Don't forget to reply, kudo, and accept as solution.
0 Kudos