mengtianfang
036b5a7302
Fixup bootparam for kernel
Change-Id: I80766dd057adb3a1f4df72e61cbc06f99e624173
Target:2G5536
10 years ago
lixuefeng
db4e56ba5a
Add 2G5536 support
1.Add Targets/Bonito2g5536 directory
2.Add zloader.2g5536 directory
3.Add Makefile.2g5536 file
4.Add usb and ps2 keyboard functions
5.Modify 2g5536 codes to support gcc4.4
6.Modify gmac code in sys/dev/gmac for net device
Change-Id: I73c343fb4b08a50cb515cd7cbefaf624b6065498
Target:2G5536
10 years ago
Chenming
1a112f647b
open debug_fixinterrupt in pmon and network can work in linux system
Change-Id: I667b114e645801b23c2014f5e21f980cf28482aa
Target: 3c780e
11 years ago
Chenming
6ff4391bd1
modify 3cserver codes to support gcc4.4
Change-Id: I9d790f950ed97e4f68d11c124777383b49c54e72
Target: 3cserver
11 years ago
Huang Pei
f4d3a3db9b
add gcc 4.4.0 support for 3c780e
Change-Id: I7d681c80e51690e4995c198884ee9c9bbae6abd0
11 years ago
Huang Pei
9a069ba7e3
add gcc4.4.0 support for 3b780e
Change-Id: Iccacef403c408d973d4f1a945677e789a88fb604
11 years ago
Chenming
8ecbf74f7c
modify 3aserver codes to support gcc4.4
Change-Id: Ie75ebc59d21a36b5948e68eb739f8b2e78bbe033
Target: 3aserver
11 years ago
Chenming
29c1e1e02b
modify codes to support 3a2h pmon for gcc4.4
Target: 3a2h
Change-Id: I085bc4b59717ed37978a47064d7ce393f4b5632e
11 years ago
Huang Pei
01b2fb8fe1
fixup newmt autorunning bug
* the bug is caused by pmon memory adjust that the test low_addr is
higher than the high_addr
* cleanup newmt. indent and delete unused header file
Change-Id: I8809365f4f62b4cd5aabb3e52a0a843af6bb37ca
11 years ago
Huang Pei
ae5363d73f
use gcc 4.4.0 for pmon's default compiler. This is include both common code and target 3a780e board
change-Id: I98a68f3b7dca19c56bb3d129d58b5ccd9919feb0
11 years ago
Liu Shaozong
ad8205583d
3A2H:RTC: Fixup the error in rtc year setting
Change-Id: Id33675b0b5fa8d0e4b712be11a383332ef9e2fe9
Signed-off-by: Liu Shaozong <liushaozong@loongson.cn>
11 years ago
Liu Shaozong
fff123a004
3A2H: obtain board version from 2H GPIO
1. Read GPIO to get the board version.
2. when it can't get MAC address from eeprom,
a random MAC address will be used.
Change-Id: If334e94dbb3dcacfea6b2f91d874a228ef99d753
Signed-off-by: Liu Shaozong <liushaozong@loongson.cn>
11 years ago
Liu Shaozong
26f4a20dbf
3A2H: Update the pmon version number in smbios and the board name
Change-Id: Ia26f386de596ccd5175646ee67325e7b69846a37
Signed-off-by: Liu Shaozong <liushaozong@loongson.cn>
11 years ago
Liu Shaozong
af1d785ce9
3A2H: Fix up the fdisk command
When using the command 'fdisk usb1', there is continuous print.
This patch resolves the problem.
Change-Id: Idc4d38dc82580694cac02790f241d48ee2762618
Signed-off-by: Liu Shaozong <liushaozong@loongson.cn>
11 years ago
Liu Shaozong
4a5b6955c4
3A2H: Fix up the smbios uuid
Fill the uuid's last six bytes with the mac address.
Change-Id: I606745b2a5bda413d39c5ab2d3c6fc3b44fb3f9b
Signed-off-by: Liu Shaozong <liushaozong@loongson.cn>
11 years ago
Liu Shaozong
eecbf794b7
3A2H: Fix up the mailbox address to program 2H bios
Change-Id: I260f706ee8792d533f60bb243bc520282dfb4367
Signed-off-by: Liu Shaozong <liushaozong@loongson.cn>
11 years ago
Liu Shaozong
09b793f1c5
3A2H: Add Loongson2H RTC init
Change-Id: Ie308632e7cb47d617d5e33335bdef6be9094d938
Signed-off-by: Liu Shaozong <liushaozong@loongson.cn>
11 years ago
Liu Shaozong
6b8aa02e23
3A2H: Fixup the function init_memory_map()
Change-Id: I806cf78633dc9e853b5f7f9668b25663ce3c9590
Signed-off-by: Liu Shaozong <liushaozong@loongson.cn>
11 years ago
Huang Pei
695ce9f9d8
Formally introduce dma_mask_bit to indicating how dma is supported
Change-Id: I21bf1fe35a70b762aa0e77eede9944ce7507b751
Target: 3a780e, 3c780e, 3cserver, 3aserver
11 years ago
Huang Pei
b3187e888b
fix wrong mem size setting
Target: 3cserver
Change-Id: Ic8391f4ef961271eb641595388dc26a06360786e
11 years ago
Huang Pei
b25b6a2e75
fix read_super_block return ok on non ext2/3/4 partition, it should be return error
Signed-off-by: wanghongmei <wanghongmei@loongson.cn>
11 years ago
Liu shaozong
40c286331e
3A2H: Fixup the 2H pcie window configure
Signed-off-by: Liu shaozong <liushaozong@loongson.cn>
11 years ago
Huang Pei
5b76178e64
add ext4 fs read support
11 years ago
Huang Pei
bfd0e93bd4
clean up ext2fs
11 years ago
Huang Pei
d55ed67013
revert previous node address offset, use relative address within the node
Target: 3aserver, 3cserver, 3c780e
11 years ago
huang pei
3d90682ebb
fix bootcore id for 3cserver
11 years ago
huang pei
722be34204
fix single 8G dimm take as 4G on 3a780e,3c780e,3aserver
11 years ago
huang pei
c7c5c2c024
mem: fix one 8G size dimm taken as 4GB on 3cservr
when building emap, highmem size should be 64bit value, we should
use unsigned long long to assure that on 32bit pmon
11 years ago
Chenming
a08628bf73
Fix bug 887 that dmidecode display breakup in 3b2w
Target: 3b2w
11 years ago
huang pei
3440f78b08
mem: fix mem freq display error for 3aserver
only VERY OLD 3aserver board has mem base freq 25Mhz, all the latest 3aserver
board has 33Mhz mem base freq;
11 years ago
huang pei
8fcccaa7e4
smbios: add smbios to emap
In this commit, when we pass emap entry with mem_size < 1MB, we set bit31 to 1
in mem_size to indicate the value in bit30~bit0 is Byte in unit, not MByte
11 years ago
huang pei
56e63128e1
modify emap, from now on, the emap's entry has .start assigned with actual addres instead of the address with regard to the node the entry belong to
11 years ago
huang pei
363fad3f7e
adjust pmon memory usage
1. heap occopy 0x8f40 0000 ~ 0x8f80 0000, memory 0x8f00 0000 ~ 0x8fff ffff
reserved for pmon, and kernel not use it
2. fix uninitialized variable
11 years ago
huang pei
325435f274
fix mem freq disaply
11 years ago
huang pei
2ac0bf2b2f
bootparm: initialize eirq_source->pci_io_start_addr
11 years ago
huang pei
d3c48424a1
fixup bootcore_id value, it should to 0 by default
Target: 3c780e
11 years ago
huang pei
42ebab887a
clean up start.S
delete unused code, #if 0 and #if 1
Target: 3cserver, 3c780e, 3a780e, 3aserver
11 years ago
Chenming
8055558b9a
Fix bug 995: 3b780e and 3bserver print errors when try to genarate gzrom.bin in pmon source code
Targets: 3b780e/3bserver
11 years ago
Liu Shaozong
674b08d371
Make 3A2H DMA keep coherence in range of 4G
-- Modify the 2H windows.
-- Fix the AHCI, OHCI, GMAC DMA map.
Target: 3A2H
Signed-off-by: Liu Shaozong <liushaozong@loongson.cn>
11 years ago
Chenming
13785f2656
Fix bug 839: preserve passwords display in BIOS SETUP that 3B works but 3A can't
11 years ago
Chenming
706c52ae4c
Fix bug 839: preserve passwords display in BIOS SETUP
Target: Bonito3c780e
11 years ago
Chenming
90ba38a85d
Fix bug 834 of dmidecode: 1. change the maximum value of Memory Capacity from 8G to 32G 2. Fix the wrong value of cpu temperature
Target: Bonito3c780e
11 years ago
Chenming
0e894618c3
Fix bug 651: calculate the correct Memory Size in BIOS SETUP
Targets: Bonito3*
11 years ago
Huangshuai
104e185796
Fix a bug about reboot
Target: Bonito3cserver
11 years ago
Huangshuai
21668cd6b9
Fix a bug of leveling when ecc open
Target: Bonito3cserver
11 years ago
Chen Xinke
ca8a3e028e
1. Disable CLK_DELAY auto adjustment according to DIMM number.
2. Set default wr_dq_dly from 0x20 to 0x1c.
3. Update ARB level to better support reduc data width mode.
4. Update 3a780e DDR3 UDIMM parameters(305M stable with 1 kingston 2GB DIMM at each MC--DIMM1/2).
5. Enable MC Interleave mode when each MC has 1GB, 2GB, 4GB(3A2H only) capacity.
Targets: Bonito3a*
11 years ago
Chen Xinke
c88960a3e0
Update 3A780e single cpu board DDR3 RDIMM parameters.
(CPU 900M, MEM 400M, Dual MC each with one SCS 2GB DDR3 RDIMM stable).
Target: Bonito3a780e
11 years ago
Chen Xinke
1829e3d091
Add margin to tRFC and tFAW parameters.
11 years ago
Chen Xinke
398b99c963
Add auto configuration 3 MC parameters according to SDRAM type.
(tfaw/trfc/txsnr)
Target: 3A/3B04*
11 years ago
huang pei
f77e2e3325
Temporarily avoid x11perf hangup on 3cserver
11 years ago