Add the command msqt_lan to test the RTL8111DL Controller's SI. The
msqt_lan command in 1000M mode could work correctly, but could not in
the 100M mode.
Target: Bonito3a780e
1. DDR auto configuration can work correctly now.
2. Four DIMM and up to 4G memory support.
3. Register memory can work in 375 MHz.
FIXME: Occasionally DDR auto detection will fail.
Target: Bonito3adawning
Thanks: This patch is mainly finished by Chen Xinke <chenxinke@ict.ac.cn>
1. Add Macro RS780E, USE_780E_VGA to indicate using 780e's vga with macro SERVER_3A to identify this board
2. Now framebuffer can only be accessed through pci mem address for tlb not configured properly
3. Device 2 and Device 3 should not be opened, otherwise VGA could not work
1. Enable 82574 NIC for Bonito3aserver.
2. Add eeprom and setmac commands for two NIC.
3. FIXME: onboard NIC em1 can work normally only when em0 is up.
Signed-off-by: CAI Wanwei <caiwanwei@ict.ac.cn>
1. Porting the 3A+690E x86emu module to 2G+690e platform and it works
correctly.
2. The HT frequency is adjusted to 800MHz.
3. The start address of PCI IO and memory space are adjusted according
to the 3A+690E platform.
4. The framebuffer address(0xb0000000) doesn't map through TLB. The
pcitlb.c is added in start.S, but it doesn't work.
5. Fix the IO-read/write base from 0xa000_0000 to 0x0000_0000 in
sys/linux/io.h.
1. Modify initializing device code so that two chips could work correctly.
2. Add three commands: readrom, writerom, setmac.
readrom: read content from eeprom.
writerom: write content to eeprom.
setmac: set MAC address to eeprom.
1. Delay time in driver is increased to increase the stability.
2. Fixed the accessing IO space error.
3. Read MAC address from EEPROM.
4. Two chips could be found but only one(rte1) could work normally.
Only one chip on PCIe could work. This driver is based on the Lemote
version, and the following is improved:
1. Delay time in the driver is increased.
2. The IO address is modified according to the Loongson2G.
3. RxConfig register is configured.
4. Work around: We should not get an error interrupt 0x80.