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
root
e0765b91ce
add reverse write mem test now.
git-svn-id: file:///svn/pmon-all/pmon-all@19 214b0138-1524-0410-9122-e5cb4b5bc56c
18 years ago
root
d1255f77f7
add info cmd.
git-svn-id: file:///svn/pmon-all/pmon-all@18 214b0138-1524-0410-9122-e5cb4b5bc56c
18 years ago
root
8f44bdb721
2e pmon support big mem now.
git-svn-id: file:///svn/pmon-all/pmon-all@17 214b0138-1524-0410-9122-e5cb4b5bc56c
18 years ago
root
3cd87735ad
godson2e's cache file can not be applied in godson 2c.
do not know why.
git-svn-id: file:///svn/pmon-all/pmon-all@16 214b0138-1524-0410-9122-e5cb4b5bc56c
18 years ago
root
e13fa874f5
memset adapter after been allocate in em.
git-svn-id: file:///svn/pmon-all/pmon-all@15 214b0138-1524-0410-9122-e5cb4b5bc56c
18 years ago
root
7b5a9d8cf9
git-svn-id: file:///svn/pmon-all/pmon-all@14 214b0138-1524-0410-9122-e5cb4b5bc56c
18 years ago
root
70831e99cb
add ldl ldr lwl lwr for debug.
git-svn-id: file:///svn/pmon-all/pmon-all@13 214b0138-1524-0410-9122-e5cb4b5bc56c
18 years ago
root
49d000935e
fix iso9660 list dir bugs.
git-svn-id: file:///svn/pmon-all/pmon-all@12 214b0138-1524-0410-9122-e5cb4b5bc56c
18 years ago
root
6bb89f19cb
make Makefiles support both x86emu/int10 and x86emu/src.
git-svn-id: file:///svn/pmon-all/pmon-all@11 214b0138-1524-0410-9122-e5cb4b5bc56c
18 years ago
root
77b9140525
biosemu io 40 timer.
git-svn-id: file:///svn/pmon-all/pmon-all@10 214b0138-1524-0410-9122-e5cb4b5bc56c
18 years ago
root
379171ec7e
import some changes from lm.
git-svn-id: file:///svn/pmon-all/pmon-all@9 214b0138-1524-0410-9122-e5cb4b5bc56c
18 years ago
root
5d576d96e4
fb 256 color.
git-svn-id: file:///svn/pmon-all/pmon-all@8 214b0138-1524-0410-9122-e5cb4b5bc56c
18 years ago
root
102f4c99f4
import fb support from lm.
git-svn-id: file:///svn/pmon-all/pmon-all@7 214b0138-1524-0410-9122-e5cb4b5bc56c
18 years ago
root
143df1b490
mcpu can not get env on init
when msize is 0,use default
git-svn-id: file:///svn/pmon-all/pmon-all@6 214b0138-1524-0410-9122-e5cb4b5bc56c
18 years ago
root
df1992351a
git-svn-id: file:///svn/pmon-all/pmon-all@5 214b0138-1524-0410-9122-e5cb4b5bc56c
18 years ago
root
6fa21d3573
add old x86emu code for support ati xl.
git-svn-id: file:///svn/pmon-all/pmon-all@4 214b0138-1524-0410-9122-e5cb4b5bc56c
18 years ago
root
61ef2daf52
git-svn-id: file:///svn/pmon-all/pmon-all@3 214b0138-1524-0410-9122-e5cb4b5bc56c
18 years ago