root
c2ce8aee46
add sm712 support
git-svn-id: file:///svn/pmon-all/pmon-all@88 214b0138-1524-0410-9122-e5cb4b5bc56c
18 years ago
root
7417914b30
we use usb function 3 only
git-svn-id: file:///svn/pmon-all/pmon-all@87 214b0138-1524-0410-9122-e5cb4b5bc56c
18 years ago
root
7545776473
test irq ok now.
git-svn-id: file:///svn/pmon-all/pmon-all@86 214b0138-1524-0410-9122-e5cb4b5bc56c
18 years ago
root
e993119225
test psaux
git-svn-id: file:///svn/pmon-all/pmon-all@85 214b0138-1524-0410-9122-e5cb4b5bc56c
18 years ago
root
d7aa49b2a6
add misiing file,test fd in developbd.
git-svn-id: file:///svn/pmon-all/pmon-all@84 214b0138-1524-0410-9122-e5cb4b5bc56c
18 years ago
root
6c67734959
changed pmon compiled method.
git-svn-id: file:///svn/pmon-all/pmon-all@82 214b0138-1524-0410-9122-e5cb4b5bc56c
18 years ago
root
85f39b0426
fix cacheconfig bug.
git-svn-id: file:///svn/pmon-all/pmon-all@78 214b0138-1524-0410-9122-e5cb4b5bc56c
18 years ago
root
d4336716c2
add mydebug_main for test.
git-svn-id: file:///svn/pmon-all/pmon-all@65 214b0138-1524-0410-9122-e5cb4b5bc56c
18 years ago
root
c58c468655
Bonito2emcpu tested on new 4 cpu cpci board.
git-svn-id: file:///svn/pmon-all/pmon-all@61 214b0138-1524-0410-9122-e5cb4b5bc56c
18 years ago
root
5725af0d49
sis315e use x86emu/src can run X,use x86emu/int10 can not run X.
v3xt use x86emu/int10.
math still have bug,should set status bit 26.
git-svn-id: file:///svn/pmon-all/pmon-all@60 214b0138-1524-0410-9122-e5cb4b5bc56c
18 years ago
root
b7e634d4f6
add pci 2G support.
git-svn-id: file:///svn/pmon-all/pmon-all@59 214b0138-1524-0410-9122-e5cb4b5bc56c
18 years ago
root
8e08839623
svn merge -r57:60 file:///mnt/test/pmon-all
git-svn-id: file:///svn/pmon-all/pmon-all@58 214b0138-1524-0410-9122-e5cb4b5bc56c
18 years ago
root
20b21c28b0
fix cpci 64bit flash program bug, fix 16bit flash size define for cpci.
git-svn-id: file:///svn/pmon-all/pmon-all@57 214b0138-1524-0410-9122-e5cb4b5bc56c
18 years ago
root
d9a7ab1311
add 16bit flash support.
git-svn-id: file:///svn/pmon-all/pmon-all@56 214b0138-1524-0410-9122-e5cb4b5bc56c
18 years ago
root
4e3d961de4
fix cpci2c memset,it is 2c.
git-svn-id: file:///svn/pmon-all/pmon-all@55 214b0138-1524-0410-9122-e5cb4b5bc56c
18 years ago
root
bbae3dda89
merge from cpci test.
------------------------------------------------------------------------
r59 | root | 2007-03-18 12:51:36 +0000 (日, 18 3月 2007) | 2 lines
Changed paths:
M /pmon-all/Targets/Bonito/conf/ld.script
M /pmon-all/sys/net/if.c
do not set ifa begin,util ifaddr for cpci.
------------------------------------------------------------------------
r58 | root | 2007-03-18 09:42:03 +0000 (日, 18 3月 2007) | 2 lines
Changed paths:
M /pmon-all/Targets/Bonito/Bonito/start.S
M /pmon-all/Targets/Bonito/Bonito/tgt_machdep.c
cpci2c memsize change to 512M,floate exception is disabled.
------------------------------------------------------------------------
r57 | root | 2007-03-17 13:47:02 +0000 (六, 17 3月 2007) | 2 lines
Changed paths:
M /pmon-all/Targets/Bonito/conf/Bonito
M /pmon-all/sys/dev/usb/usb_uhci.c
M /pmon-all/sys/dev/usb/usb_uhci.h
cpci board usb must use pa->pa_function ==3.
------------------------------------------------------------------------
r56 | root | 2007-03-17 13:12:14 +0000 (六, 17 3月 2007) | 2 lines
Changed paths:
M /pmon-all/pmon/cmds/mycmd.c
M /pmon-all/sys/net/if.c
strange only run once if_attachsetup in if_attach can work well.
------------------------------------------------------------------------
r55 | root | 2007-03-17 06:36:16 +0000 (六, 17 3月 2007) | 2 lines
Changed paths:
M /pmon-all/Targets/Bonito/conf/Bonito
M /pmon-all/pmon/dev/mainbus.c
M /pmon-all/sys/dev/pci/em/if_em.c
M /pmon-all/sys/dev/pci/pciconf.c
pmon now can configure bus 1 devices.
------------------------------------------------------------------------
r54 | root | 2007-03-16 12:17:08 +0000 (五, 16 3月 2007) | 2 lines
Changed paths:
M /pmon-all/Targets/Bonito/conf/ld.script
M /pmon-all/sys/arch/mips/include/newtest/mydebug.S
A /pmon-all/sys/arch/mips/include/newtest/sumrom.S
add sumrom for rom read test.
git-svn-id: file:///svn/pmon-all/pmon-all@54 214b0138-1524-0410-9122-e5cb4b5bc56c
18 years ago
root
9c46c94a65
math still have bugs.
git-svn-id: file:///svn/pmon-all/pmon-all@53 214b0138-1524-0410-9122-e5cb4b5bc56c
18 years ago
root
19928a994b
目前的问题是sin求错,乘法求对了。
git-svn-id: file:///svn/pmon-all/pmon-all@52 214b0138-1524-0410-9122-e5cb4b5bc56c
18 years ago
root
3fcb593c86
libm.a有些函数还用gp,int(1.2*1000)计算的不正确.
uhci qh结构调整使硬件结构在一个cache line中,但还有bug.
git-svn-id: file:///svn/pmon-all/pmon-all@51 214b0138-1524-0410-9122-e5cb4b5bc56c
18 years ago
root
37f886115e
change make obj=file.o output,change zloader to memset frame.
git-svn-id: file:///svn/pmon-all/pmon-all@50 214b0138-1524-0410-9122-e5cb4b5bc56c
18 years ago
root
7c97019236
ext2_read中注释掉memset,并在最后pci_sync_cache(0,read_start,realsize,0);则能load成功,但不一定能跑对。
做了个checksum函数
void checksum(char *p,int count)
{
unsigned long sum=0;
int i;
static unsigned int t=0;
for(i=0;i<count;i++)sum +=p[i];
printf("sum[%d]=%lx\n",t,sum);
t++;
}
在cache 0情况下和普通情况下对ext2_read中read_start内容求和检查比较结果一致的,但普通情况下load会停止不动。
在cache 0情况下和普通情况下对usb_strategy读出的checksum求和检查比较结果一致的,但普通情况下load会停止不动。
在做实验前怀疑ext2读错了,因为二进制能读完,但读不对。
现在也怀疑是否给usb发命令cache会用问题,
但以前做过实验在usb_strategy前cache 1,usb_strategy后cache 0,load非常好。
又似乎usb操作刷cache是对的,
在ext2_read开始cache 0,结束cache 1,load的很好。
很奇怪,
git-svn-id: file:///svn/pmon-all/pmon-all@49 214b0138-1524-0410-9122-e5cb4b5bc56c
18 years ago
root
95c08bf0ca
ext2_read很奇怪,前面的memset一定不能要,后面要读刷cache.
git-svn-id: file:///svn/pmon-all/pmon-all@48 214b0138-1524-0410-9122-e5cb4b5bc56c
18 years ago
root
74bca9a633
fix newmt.
usb still debug.
git-svn-id: file:///svn/pmon-all/pmon-all@47 214b0138-1524-0410-9122-e5cb4b5bc56c
18 years ago
root
8607a2ea7e
in usb_match only func3,then can access usb uncached.
debug.
git-svn-id: file:///svn/pmon-all/pmon-all@46 214b0138-1524-0410-9122-e5cb4b5bc56c
18 years ago
root
66f4ae9076
in usb_match only func3,then can access usb uncached.
git-svn-id: file:///svn/pmon-all/pmon-all@45 214b0138-1524-0410-9122-e5cb4b5bc56c
18 years ago
root
94868c87e2
fix devbd dqs bug.
git-svn-id: file:///svn/pmon-all/pmon-all@44 214b0138-1524-0410-9122-e5cb4b5bc56c
18 years ago
root
cf9596ac5b
usb for 2edev board still not steady.
change element=-1 to element=1.
-1 没有道理。
对于读控制短包最后一个,外设需要给1个状态包,写短包则无所谓。
git-svn-id: file:///svn/pmon-all/pmon-all@43 214b0138-1524-0410-9122-e5cb4b5bc56c
18 years ago
root
b7d6b18dca
import initrd from lemote.
git-svn-id: file:///svn/pmon-all/pmon-all@42 214b0138-1524-0410-9122-e5cb4b5bc56c
18 years ago
root
ca8ab5f002
import elf64 loader from lemote.
git-svn-id: file:///svn/pmon-all/pmon-all@41 214b0138-1524-0410-9122-e5cb4b5bc56c
18 years ago
root
a41ee45d26
set sst flash blocksize to 4k.
git-svn-id: file:///svn/pmon-all/pmon-all@40 214b0138-1524-0410-9122-e5cb4b5bc56c
18 years ago
root
4b0b3dabf9
usb storage can used when usb disk is small,otherwise first load fail,reboot then ok.
目前问题是对
usb dev 0
usb read 0x84000000 0x1ada40 0x10
对block 0x1ada40 的读总不成功。
git-svn-id: file:///svn/pmon-all/pmon-all@39 214b0138-1524-0410-9122-e5cb4b5bc56c
18 years ago
root
3c3a9286ef
usb still in debug.
git-svn-id: file:///svn/pmon-all/pmon-all@38 214b0138-1524-0410-9122-e5cb4b5bc56c
18 years ago
root
5451b5d104
uhci usb still not steady,sometime ok,strange.
git-svn-id: file:///svn/pmon-all/pmon-all@37 214b0138-1524-0410-9122-e5cb4b5bc56c
18 years ago
root
ecbd32ec4d
fix em and load for cpci.
git-svn-id: file:///svn/pmon-all/pmon-all@36 214b0138-1524-0410-9122-e5cb4b5bc56c
18 years ago
root
ab8fe42174
use old x86emu.
git-svn-id: file:///svn/pmon-all/pmon-all@35 214b0138-1524-0410-9122-e5cb4b5bc56c
18 years ago
root
f1bec23f97
git-svn-id: file:///svn/pmon-all/pmon-all@34 214b0138-1524-0410-9122-e5cb4b5bc56c
18 years ago
root
a0709ecf43
git-svn-id: file:///svn/pmon-all/pmon-all@33 214b0138-1524-0410-9122-e5cb4b5bc56c
18 years ago
root
5e5896c270
git-svn-id: file:///svn/pmon-all/pmon-all@32 214b0138-1524-0410-9122-e5cb4b5bc56c
18 years ago
root
da5edf622c
update 8139 driver from lemote.
git-svn-id: file:///svn/pmon-all/pmon-all@31 214b0138-1524-0410-9122-e5cb4b5bc56c
18 years ago
root
5570e6879c
add am29lv160 support.
git-svn-id: file:///svn/pmon-all/pmon-all@30 214b0138-1524-0410-9122-e5cb4b5bc56c
18 years ago
root
0da7929b64
add highmem env var.
git-svn-id: file:///svn/pmon-all/pmon-all@29 214b0138-1524-0410-9122-e5cb4b5bc56c
18 years ago
root
1a6f90f717
git-svn-id: file:///svn/pmon-all/pmon-all@28 214b0138-1524-0410-9122-e5cb4b5bc56c
18 years ago
root
e6cd497171
new sbrk is ok.gzram ld.script.ram's start address to 0x80200000,because pmon size will exceed 1M when add usb support.
git-svn-id: file:///svn/pmon-all/pmon-all@27 214b0138-1524-0410-9122-e5cb4b5bc56c
18 years ago
root
1f0ff9a694
git-svn-id: file:///svn/pmon-all/pmon-all@26 214b0138-1524-0410-9122-e5cb4b5bc56c
18 years ago
root
0225e1728c
import change from lm.
git-svn-id: file:///svn/pmon-all/pmon-all@25 214b0138-1524-0410-9122-e5cb4b5bc56c
18 years ago
root
5de47661c7
usb in nc ok now.
sbrk and heaptop now changed.
git-svn-id: file:///svn/pmon-all/pmon-all@24 214b0138-1524-0410-9122-e5cb4b5bc56c
18 years ago
root
375fa4bfae
delete depends in lib/libc/Makefile.
git-svn-id: file:///svn/pmon-all/pmon-all@23 214b0138-1524-0410-9122-e5cb4b5bc56c
18 years ago
root
b773098f2e
git-svn-id: file:///svn/pmon-all/pmon-all@22 214b0138-1524-0410-9122-e5cb4b5bc56c
18 years ago
root
9af4c0e930
add rtl0 in setup menu.
git-svn-id: file:///svn/pmon-all/pmon-all@21 214b0138-1524-0410-9122-e5cb4b5bc56c
18 years ago
root
83ccde5ed1
turn off cache eanable operation in CPU_ConfigCache.
git-svn-id: file:///svn/pmon-all/pmon-all@20 214b0138-1524-0410-9122-e5cb4b5bc56c
18 years ago