lixuefeng
2e12b66bc0
3A82H: Add the reference board support.
Change-Id: Ibed94cfe86588ad11022218889ae2eac0aa965e0
8 years ago
zhuchen
b3732a7317
Fixup X86EMU for new AMD video card
Change-Id: Idc2ef3e9d0b266ce99f23f0c97a5eca3dbee29e3
8 years ago
lixuefeng
ba2f73fe71
Fixup 3A X1BAR for PCIE DEVICE:
1.Add x1bar window 0x0000000040000000 -> 0x00000e50000000f7(1GB) for pcie mem1 space
2.Add x1bar window 0x0000000020000000 -> 0x00000e00000000f7(256MB) for ls2h framebuffer
3.Add TLB table entry 0xe0000000 -> 0x20000000 for ls2h frambuffer,and change framebuffer
base address from 0xc0000000 to 0xe0000000
Change-Id: Ia76c704dbd082cfe00caf4620683ae1e6f51ceae
Target:LS3A2H
8 years ago
lixuefeng
c0fce206d2
Fixup load (usb0,0) command when the usb device is fat filesystem.
Change-Id: Ie8dfdafd6d0c43e9a9a9e2a7610ba8c7b0ddd20d
8 years ago
lixuefeng
f76924eb07
Add load boot_menu_list form /boot.cfg
Change-Id: I4a08a51325f75aa09eba1b680522819a4845be20
8 years ago
lixuefeng
11cea8da0d
Unify file system interface,examples:
command "load (usb0,0)/vmlinuz" may means:
a.load /dev/fs/ext2@usb0/vmlinuz
b.load /dev/fs/fat@usb0/vmlinuz
c.load /dev/fs/iso9660@usb0/vmlinuz
command "load (usb0,1)/vmlinuz" may means:
a.load /dev/fs/ext2@usb0b/vmlinuz
b.load /dev/fs/fat@usb0b/vmlinuz
command "load (cd0,0)/vmlinuz" may means:
a.load /dev/fs/iso9660@cd0/vmlinuz
Change-Id: Ib68aed55dbf1b3d998ad6867192f2100578bf0f7
8 years ago
zhangbaoqi
fa6432197a
Add support board boot from spi or lpc.
Target:3A84W
Change-Id: Ifc02bebf6306bc5ec1ea911c48f6ae13c8e970af
9 years ago
zhangbaoqi
ce205e06ef
Remove the DDR_DLL_BYPASS definition because it cause memory access exception.
Target:3A8
Change-Id: I012d008815bfa68a793520f3ba1f7fc743faab1f
9 years ago
zhangbaoqi
9cb8b73479
change include file for loongson3C_ddr3_leveling.S
Change-Id: I34f29a7055450ca26cde2acffac91ab152bd763e
9 years ago
zhangbaoqi
04a4e905ef
make loongson3C_ddr3_leveling.S a unique file for 3a84w and resume the commit(9887e) for the common same file
because the change for 3a84w will cause 3a8780e stuck(DDR400M, Kingston 2G UDIMM)
Change-Id: I994ab9bf2793ec5263a885c27785bc067fbcaf3b
9 years ago
lixuefeng
45def5a29a
Fixup the info command for memory frequency
Target:LS3A2000780E
Change-Id: I0541a09c2170c548581bfa7149537aaf74bc970a
9 years ago
lixuefeng
53ce8f62db
Fixup the CPU and memory frequency display
Target:LS3A2000780E
Change-Id: Ia87a518a7cf5cd7914f07d50b9e30e68a02a330b
9 years ago
zhangbaoqi
bf5007433f
Add the W83795ADG chip init for through temperature control fan speed.
Change-Id: Ia8fe64a78c62e647c211eeadbfe229288db1f97a
Target:3A84W
9 years ago
zhangbaoqi
eb64bc04fd
Assign irq4/irq5 to bnx0/bnx1(04:00:0/04:00.1)
Change-Id: I95b6bf6b3a4930eb959ffc0aeee78b680cf11711
Target:3A84W
9 years ago
zhangbaoqi
35ad0d396f
Improve the X link frequency to 1.6G.
Enable DDR read interleave improve the the performance.
Change-Id: I373d8f4841abd911f1d45aa6d600717c706b3420
Target:3A84W
9 years ago
zhangbaoqi
a60b3b7429
Program the BNX flash make the net card can be used and add the set MAC function.
Change-Id: I1d40ffeb96f62ee73905c534c643eed7f3a83eb0
Target:3A84W
9 years ago
zhangbaoqi
9887acf4fc
reverse rddqs_lt_half set method to fix ddr stuck problem.
Changed the ddr i2c address for the node get ture infomation.
Change-Id: Ibe3912682d6b1b5cc03787434a40e4e5c7da6893
9 years ago
zhangbaoqi
ab5588e66f
3A8: Fix the ddr freq show error.
Change-Id: Ie2a4bbc88306b12276b93347afbf6f7ec22a7161
9 years ago
zhangbaoqi
9a3298d7ff
3A84W: Add the reboot function,set the gpio 14 output zero for the display shift rs780e VGA.
Change-Id: Ib5266e3e857e51e116765d6f33df7cebbfdcce3e
9 years ago
zhangbaoqi
4e71ace66f
From: Wang Huandong <wanghuandong@loongson.cn>
Target: Bonito3a84w
1. add define for printing DDR params
2. add multi-thread ddr init (but disabled, because boot is soon enough if not printing DDR params)
3. enable the AUTO_DDR_CONFIG
Change-Id: I8f9c6be423750d49a071558a3860a473ca952077
9 years ago
zhangbaoqi
5536aedc3a
From: Wang Huandong <wanghuandong@loongson.cn>
Target: Bonito3a84w
1. add debug HT RX signals in loongson3_HT_init.S (disabled)
2. change clock frequency to 800/533
3. change the DDR3 params and pass the memory test
4. fix the conf files (AUTO_DDR_CONFIG not supported yet)
5. fix the command files about kernel parameters
6. fix the i2c read by GPIO
Change-Id: I6ceba17f5f149e16615caec2fb9e0726d2840b3e
9 years ago
Wang Huandong
f2c9c8d75d
Add 3a2000 4 way
Change-Id: I71978f74f26aca443100136e1e50dd2280f031e3
9 years ago
zhangbaoqi
f0641566e9
Correct the comment about register interface of file detect_node_dimm_all.S
Change-Id: Ic74331a7f712ec32cec77f7af65af94dce6df79c
9 years ago
Huang Shuai
a193d5320f
change DDR DLL to nobypas mode, now reboot and stability test OK
Change-Id: Id5e90de194e1e9ce455e9718eb75dbcd8e8302db
9 years ago
Huang Shuai
60696fe9ae
add support for kingston 2G UDIMM at 400MHz
Change-Id: I96b97ed379698fb3ca3b51e1daca156b232a74c6
9 years ago
zhangbaoqi
e4cf2c1426
update loongson3C_ddr3_leveling.S by huangshuai
Change-Id: Ia5546ed37027805d189497eb77fec9da77eb7935
9 years ago
zhangbaoqi
b89260457b
3A2H/3A82H : Fixup the HD DVI dispaly problem.
Change-Id: I7b373ffa0d73028c38a34a448751c3e3627b067d
9 years ago
zhangbaoqi
721f5b8140
3A82W: Add 3A82W board support.
Change-Id: I072e57b0dd1ce5aac49704735a375a9899090f2c
9 years ago
zhangbaoqi
90fa065c22
3A8:Disable 3A2000 sw combine function.
Change-Id: I3ffa94f5154ed4942d2b8cdc5574fac77c9655f5
9 years ago
lixuefeng
adc54ebc01
Fixup the RTC time check function: resolve the RTC time to be reset
when the month is 1
Change-Id: I034f50b85c061815033f8ce60dcb53d4a92d9f40
Target:LS3A2H
9 years ago
lixuefeng
09aaf61cb7
Add 1368x768 resolution ratio and fixup address alignment problem in
this resolution ratio
Change-Id: Icb94fca5f77b3142599bfbbd7126c35965e0d83f
Target:LS3A2H
9 years ago
Xiaofu Meng
1b4a1f3d18
speedup scache init for 3B5 which cann't shutdown slave cores
All cores race spi bus when pmon bootup. In the case core0 fetch scache initialization instruction is very slowly.
Change-Id: I511aaa5ba5dc5337fbb8ef9c7396311814670f49
Target:3c780e
9 years ago
lixuefeng
cceecf6572
Disable the DMA operation of GMAC before running kernel
Change-Id: I9157d98fbb3c9044551e3a09e22c7a4d07e0681a
Target:LS3A2H
9 years ago
mengtianfang
a73a6fa87e
Add 2F1A support
Change-Id: Iae1c0c1cae9b94e0b3e2b117caa1e30b3b1866e1
Target:2F1A
9 years ago
Zhigang Liang
4291d0e6bc
fixup libc write function bug
Judge the pointer _file[fd].fs && _file[fd].fs->write is NULL at the same time
Change-Id: Ieb1cc54d6fdac2b73fe0088faedc6a19b2afa376
9 years ago
Xiaofu Meng
76ef0b8615
update 3A2H pmon version V3.3.1 which set highmem start address 0x9000_0000
Change-Id: I589e88edbb733bb60b563d7eaee2f36453681a65
Target:LS3A2H
9 years ago
Xiaofu Meng
772c0af0e8
set highmem start address 0x9000_0000 and reserved 256MB for 2H gpu
Change-Id: I550e475f61e96cba3a3381423789dd5f0e3baa68
Target:LS3A2H
9 years ago
lixuefeng
39d5cc8349
Fixup pci config for SATA error when running wget from gmac which in ls1a
Change-Id: I387c6f7a675d072be6cc375d0d183f573889765c
Target:LS2G1A
9 years ago
lixuefeng
cd83412574
Change HT frequence from 200MHz to 400MHz
Change-Id: I46fc1fc77b42c1f6a6099be2ec57f95a45fb373b
Target:LS3A2H
9 years ago
lixuefeng
41d3b60aed
Fix up poweroff function
Change-Id: I8c73314bed4c9ed487034313150c709cb0170a15
Target:LS2G1A
9 years ago
mengtianfang
1d66bf9e67
Fixup memory frequency display
Change-Id: I525e15060da42cca867d8f6683be4241af648a29
Target:LS2G1A
9 years ago
mengtianfang
2dd0304822
Fixup the pciscan command
Change-Id: Ie87bbf9ad37930dd57c7bd88a86600ee6c200a8e
Target:LS2G1A
9 years ago
mengtianfang
d3bc3ed578
Fixup the cpu info, modify GODSON3 to GODSON2
Change-Id: Ic215ad75c80d3f2698a1d5a994d359df779c2d75
Target:LS2G1A
9 years ago
mengtianfang
60c8d492c2
Add logo print output
Change-Id: Ibb2b6f10439bd114d9259d3351873016c8d0d71a
Target:LS2G1A
9 years ago
Huang Pei
d4e423a851
use k0 to save whether it is running on a 3b5 or non-3b5
Change-Id: I4306ec7de6a427d46e1eb476430d50b6d97bef99
9 years ago
Chen Xinke
ede9223bad
Update arb_level code.
fix a possible bug when enable some macro definations.
Change-Id: I11fba1bd9a253a2b7d607581cf9a5f69cc039dfe
9 years ago
Chen Xinke
e522a426f4
Modify the code that gives the MC dimm information when not using SPD auto-detection to provide a easy way for the endusers.
Currently I only update the Bonito3a780e branch, if you want use it in other branches,
please port the code yourself.
Change-Id: I9e4374e7f8de8ab05aa28733e46841778899c937
9 years ago
Huang Pei
71a2292528
enable ecc for 3c780e
previous patch enable uncached accelerated when initializing
ecc ram, which reducing the pmon startup time, enable ecc by default
Change-Id: I64a1b4c3370024c81ec35164904ae30a24c63f89
9 years ago
Huang Pei
e6a25897a0
fix unintended address mapping and two ehci bar issue on 3a780e, 3a8780e,
3cserver, 3c780 and 3aserver
*. pcitlb.S mapped 33 instead of 32 tlb entry, the 33th of which mapped
cpu address 0x0 ~ 0x2000000 to physical address 0x8000 0000 ~ 0x8200 0000.
This COVERS NULL reference
*. ehci device was not enabled, so did not get bar initialized
during PCI bus enumeration
*. value in BAR0 is PCI address space, when need CPU address
tranformation
Change-Id: I576534bf61c7cd374dc2917454b8818e793851a6
9 years ago
zhangbaoqi
db800dcecd
3A780E: Fixup the pciscan hang up.
When the pciscan cammand was called the usb-ohci HcInterruptStatus register WDH
bit would be set,but the code do not clear it.
Change-Id: I3f83895ebac16ee64b5dd3341385d46080b2a6c9
9 years ago