cmd "make dtb" can create dtb file: Bonito3a3000_7a.dtb, and link with gzrom.bin to create gzrom-dtb.bin
rename Targets/LS2K/conf/ls2k.dts to Targets/LS2K/conf/LS2K.dts
Change-Id: I8ba7dcd6b0e8cc875324666d5774cfd8fa9a10f6
*. 3a780e, 3aserver, 3c780e and 3cserver all use core 0 as BP
and boot all other core, this is compatiable to previous version;
*. When changing the BOOTCORE_ID and/or RESERVED_COREMASK, you
NEED "make cfg", to let it take effect
Change-Id: I8d6485407408baa969fce4f5473cabc4c2ee40af
When you use AST2050' VGA,you should open USE_BMC and VGA_BASE=0xb4000000 options.
Default:
rs780e vga option has been open:
USE_780E_VGA
VGA_BASE=0xbe000000
Targets: Bonito3aserver
Original code has no test command support in PMON command line, it caused the problem as Bug 353
described as http://www.loongson.cn/dev/bugzilla/show_bug.cgi?id=353 showes. Now the command
is added for Bonito3aserver.
Targets: Bonito3aserver
Before this patch, user has to test a lot of options to disable/enable
gpu driver, even some branch fail to pass compilation. Now all options
related with gpu driver selection is placed together. User can disable
or enable them together. It has passed compilation in all branches both
with gpu driver and without gpu driver support. It has pased test on in
ls3a780e branch in both mode with and without gpu driver.
Target:Bonito3a780e, Bonito3b780e, Bonito3c780e,Bonito3aserver,Bonito3bserver
Before:spiprogram can't work,and somebody make mistake "spiprogram" as "spiprogramm"
Now:Add some code from wangyulong,the spiprogram can work .we use the code from wangyulong coverage the origin code.
Test:In pmon console.spiprogram command can work.
Thanks wangyulong@loongson.cn,xiaqichao@ict.ac.cn
Targets:Bonito3aserver
Before: DMA mode for 3aserver not enabled.
Now: DMA mode for 3aserver enabled.
Test: In pmon console, load vmlinux about 3 seconds.
Targets: Bonito3aserver
Before: LSI 8708EM2 SAS RAIDm can not work.
Now: LSI 8708EM2 SAS RAIDm can work.
Test: In pmon, LSI 8708EM2 SAS RAIDm can work.
Thanks wanchao@loongson.cn
Targets:Bonito3asever
the total size of memory buffers
Before: Broadcom 5709 NIC can not work.
Now: Broadcom 5709 NIC can work.
Test: In pmon console, executiving "devls" command, you can find the device name of broadcom 5709
NIC,then Configuring the network, and then checking whether the network can link.
Thanks wanchao@loongson.cn
Targets: 3aserver
Before: In 3aserver board, start to pmon state, you can't see cursor.
Now: In 3aserver board, start to pmon state, you can see cursor.
Test: In 3aserver board, start to pmon state, you observe whether the cursor can display.
Targets: 3aserver
Before: In the 3aserver, the help information of setmac is incorrect.
Now: In the 3aserver, the help information of setmac is correct.
Test: In 3aserver board, start to pmon state, executiving "ifconfig em0 setmac" command, you can observe whether successfully printed.
Targets: all
Disable ARB level function for faster bootup.
The parameter is got under: SCS RDIMM 2G at every slot 1 of 4 MCs.
Before: Boot need several minutes.
Now: Boot faster under certain condition.
Test STD: populate 4 SCS RDIMM 2G at every slot 1 of 4 MC, test memory stability
after OS boot up.
Target: Bonito3aserver
For files:
bootparam.h : structs to hold the interface.
bootparam.c : give the value to interface.
env.c : build this interface as an enviroment.
main.c : put the interface pointer into a2 register which will be passed
to the kernel.
Thanks sizhiying@loongson.cn
Signed-off-by: mengxiaofu <mengxiaofu@ict.ac.cn>
Now, ddr2/ddr3 can use the same codes and can be detected autoly.
Default:
ddr3 option has been open.So,you can use for ddr3-server.
If,you want to use ddr2:
you should close DDR3_DIMM option which is in "Targets/Bonito3aserver/conf/Bonito.3aserver" file.
Thanks chenxinke@ict.ac.cn and sizhiying@loongson.cn
Target:Bonito3aserver
Modify the code of command "ifaddr rte0 lwdhcp" in order to implement the function of
obtaining ip address automatically. This command will be executed before load kernel.
(First, you must configure one dhcp server.)
Mainly works on:
1. Enlarge PCI MEM space from 0x10000000~0x17ffffff to 0x40000000~0x7fffffff
2. Fixup pci/pcie slot and usb/sata interrupt line register, now kernel needn't do this
3. Support more video buffer mode (SP,UMA)X(64M,128M,256M,512M)
4. Add ejtag scan support
Notice: now assume highmemsz means high memory size of node0.
Target:Bonito3aserver
1. Configure Xbar2 to support 1G memory.
2. Modify TOM value to support NB DMA.
3. Disable autoload to debug.
result: single core 256M mem works well,
problem: but is not stable.