The modification is in the common file /sys/dev/ata/cd.c .
ERROR:There's a panic when startup by using the sata CD-ROM to install an OS.
Relevancy:Except the 3A2H branch.
Change-Id: I656ba505462c8e7dd525b411062d9ed41ae5813f
Before: The timeout value for sata harddisk was 1000ms, that was too short for
some sata harddisks. It caused the problem as Bug 524 described as
http://www.loongson.org/dev/bugzilla/show_bug.cgi?id=524 showes.
Now: The timeout value is 2000ms, it is long enough for all sata harddisks.
Test: Disconnect power for 30s, then connect power and start up, repeat it for
20 times at least.
Targets: all
Now ohci usb mode support is added, both usb keyboard and usb disk
are ok. However, only DELL usb keyboard pass test. It's said this
is maybe becuase the usb signal is not very good.Thanks ZangJiading.
NOTICE:if BIOS option "INTERFACE_3A780E" is removed, usb keyboard
will fail to use, becuase some usb keyboard poll code won't be executed
if micro "INTERFACE_3A780E" isn't defined. By the way, the option
"INTERFACE_3A780E" has no relation with RS780E, it's used to mean
BIOS MENU and windows interface is enable.
Target:Bonito3a2h
Before: In DMA mode, PMON can not load the small-capacity of hard sata
(0-137G). It caused the problem as Bug 231 described as
http://www.loongson.cn/dev/bugzilla/show_bug.cgi?id=231 showes.
Now: Add the support for small-capacity hard disk,PMON can load the
small capacity of sata(0-137).
Test: Start to pmon state, you observe whether PMON can load the
small-capacity of hard sata (0-137G).
Thanks zhengxingwang@loongson.cn
Targets: all
Before: We can not use large capacity disk.
Now: We can use large capacity disk.
Test: In pmon, you can observe wether we can use large capacity disk by load.
Targets: all
Before: In pmon console,loaded the file system about 13 seconds.
Now: In pmon console, opened DMA mode, loaded the file system about 3 seconds.
Test: In pmon console, You can observe the speed of the file system by load.
Thanks zhengxingwang@loongson.cn
Targets: all
If the disk partion is larger than 120G, these errors will occure:
"There is no linux partion" or "we can't locate root directory in super
block!". Now This bug is fixed. It should be usefull for all branches.
Thanks XuHaoyu <xuhaoyu@loongson.c>