OpenWrt Forum Archive

Topic: Serial Console Issues with the WGU624 Board

The content of this topic has been archived on 6 May 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

I am having trouble getting the serial console up and running on my WGU624 (running VxWorks /Nucleus /Delta Networks code). Console TXD is working, but console RCV is a problem. I have verified, using OCD Commander, that I can strobe characters into the on-chip UART, but I am not able to kick off an ISR to service the device. I have tried to reenable the UART FIFO, UART Rcv Data Irq - and this will set the MISC UART0 bit in the ISR [0xbc003010 = 0x10], but the interupt never gets serviced.

Here are the control areas (which I believe are OS agnostic) -

>word 0xbc003000 0x38 - AR5312_SYSREG_Base
BC003000: CE62DCEF FFFFFFFF 00000000 00000000 
BC003010: 00000040 00000000 00000029 00000000 
BC003020: 00000000 00000000 00000000 00000000 
BC003030: 00000007 00000000 00000000 00000000 
BC003040: 00000000 00000000 00000000 00000000 
BC003050: 00000000 00000000 00000000 00000000 
BC003060: 0000000F 00000B15 10000010 0D1CEF00 
BC003070: 00000000 00000000 00000000 00000000 
BC003080: 0000001F 00000000 00000000 00000000 
BC003090: 00005742 00000000 00000000 00000000 
BC0030A0: 00000000 00000000 00000000 00000000 
BC0030B0: 00000002 00000000 00000000 00000000 
BC0030C0: 00000000 00000000 00000000 00000000 
BC0030D0: 00000000 00000000 00000000 00000000

>word 0xbc000000 0x8 - AR5312_UART0_Base
BC000000: 00000000 00000000 00000001 00000003 
BC000010: 00000000 00000060 00000000 00000000

>word 0xbc002000 0x8 - AR5312_GPIO_BASE
BC002000: 00000000 00000F00 00000040 00030FFF 
BC002010: 00000000 00000000 00000000 00000000

>word 0xbc004000 0x18 -AR5312_UARTDMA_BASE
BC004000: FF7FFEFF 7FEFFFFF 00020000 00000000 
BC004010: 00000000 00000000 00000000 00000000 
BC004020: FFFFDFB8 7FFFFD1C 00020000 00000000 
BC004030: 00000000 00000000 000FFFFF 00000000 
BC004040: 00000000 0000001F 00000000 00000000 
BC004050: 00000000 00000000 00000000 00000000

[I must say that OCD Commander is a pretty nifty tool. Kudos to Macraigor Systems for making this tool available.]

Without a serial console (and a reliable JTAG recovery mechanism) I am reluctant to flash the firmware.

Any ideas?

-nih

(Last edited by nih on 27 Jan 2007, 13:48)

Is there anyone with expertise in this area who can help me to enable the CLI?

-nih

(Last edited by nih on 1 Jan 2007, 09:54)

Great to hear that Kamikaze now supports the AR2315 wiSoc. Nice work.

However, a few us would really like to see OpenWrt on the WGU624. Can anyone tell me what is in the crticial path for this to happen?

I am assuming that ideally, the unit needs to have a functioning console port and a JTAG recovery mechanism to allow users to revert back to the factory firmware. Am I correct?

Is it absolutely necessary to rip out the Atheros/vxworks bootloader and install redboot?

Currently, I cannot get a CLI up and running (and have very little control over the TFTP downloads  - anything that gets downloaded, get's flashed if the loader likes the image)

I have also noticed that the "boot rom" executive, loader code, and decompression routine are not included in the vendor update packages, so they need to be recovered from flash or dumped from RAM.

So, who needs to do what work to make this happen and what can I do to assist, now that I've gotten my feet wet?

(Last edited by nih on 27 Jan 2007, 13:51)

The discussion might have continued from here.