public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
From: 张建 <zj0659@sina.com>
To: "ecos-discuss" <ecos-discuss@sources.redhat.com>
Subject: [ECOS]  Change redboot console on ep93xx
Date: Thu, 16 Jun 2005 03:55:00 -0000	[thread overview]
Message-ID: <20050616035500.i6JXkg5nVBouQ_2Gv_0wU4mTN6nt7dpKe4z3URmO5L4@z> (raw)

Hi,
	I have a ep9312 board with 3 serial ports.The bootloader is redboot which default console is serial port 1#,
    I want to change the console to serial port2# or port3#.
  	I have browsed the lists of "Redboot console on ep93xx",Manfraed have the same trouble.And I do as Gary say:
  
  	 "You should not have to make these changes at all.  Simply set
    	CYGPKG_REDBOOT_ANY_CONSOLE to 0/false 
	 so RedBoot will only use a single console device.   Then set   
     CYGNUM_HAL_VIRTUAL_VECTOR_CONSOLE_CHANNEL to 1
	 for your desired channel."
	
	 In ecos.ecc I can't change the value of YGNUM_HAL_VIRTUAL_VECTOR_COMM_CHANNELS,
 because "it calculated 1". so I have to change it in packages/hal/arm/arm9/ep93xx/v2_0/cdl/hal_arm_arm9_ep93xx.cdl
  	
  	cdl_option CYGNUM_HAL_VIRTUAL_VECTOR_COMM_CHANNELS {
        display      "Number of communication channels on the board"
        flavor       data
        calculated   1  //here ,I change this item to 3 
       }
       
       And I have inactive CYGNUM_HAL_VIRTUAL_VECTOR_DEBUG_CHANNEL ,so I can set console comm_channel seperately.In 
       packages/redboot/v2_0/src/main.c-->cyg_start(),I change CYGACC_CALL_IF_SET_CONSOLE_COMM(CYGNUM_HAL_VIRTUAL_VECTOR_DEBUG_CHANNEL) into
       CYGACC_CALL_IF_SET_CONSOLE_COMM(CYGNUM_HAL_VIRTUAL_VECTOR_CONSOLE_CHANNEL);
              
      rebuild and download it,but it's frustrated,there is nothing appear on all 3 serial ports. 
      can you help me!
      Thanks !!
        zj0659@sina.com
          2005-06-16

                 reply	other threads:[~2005-06-16  3:55 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20050616035500.i6JXkg5nVBouQ_2Gv_0wU4mTN6nt7dpKe4z3URmO5L4@z \
    --to=zj0659@sina.com \
    --cc=ecos-discuss@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).