2011/4/25 晏华 <y...@lemote.com>: > the kernel > 1. Does not set the memory map properly. or > 2. The address window not set up properly.
I think so. > > Xiangyu: > Could you help to look into this issue. These two files may be related: arch/mips/loongson/common/mem.c and arch/mips/loongson/common/pci.c For the DMA part, we may also need to touch arch/mips/include/asm/mach-loongson/dma-coherence.h and need to revisit the address mapping from PCIDMA to DDR(perhaps need to increase the mapping range, currently, seems it is only the low 256M memory can be used to do DMA operation, then, if the page cache is allocated from higher physical space, then, DMA operation will fail). To RM: for the DMA problem, does libata.force=1:pio4 make the IDE work in pio mode? BTW, the whole address mapping is a little confused, we may need to re-organize it carefully. Regards, Wu Zhangjin > > 2011/4/24 Roman Mamedov <r...@romanrm.ru> >> >> Hello, >> >> I am continuing my experiments with pushing the limits of installed RAM >> size on >> Fuloong/Yeeloong :) >> >> Now I got a 2GB DDR2-800 stick from Hynix, it is a dual-side dual-rank >> module: >> http://www.nix.ru/include/view-photo.html?good_id=87993&pid=2258 >> >> With it installed, the Fuloong does not boot with a very strange symptom: >> it looks like the kernel can't read anything from the HDD(SSD). The error >> is >> "sda: unknown partition table", so no "/dev/sda2" is found, and the root >> can't >> be mounted: http://romanrm.ru/pics/2011/2011-04-24-fuloong-2gb-boot.jpg >> >> The only way I can boot up with this 2GB RAM stick, is if I first go to >> the >> PMON, enter "set -t highmemsize 768", then load and boot the kernel. That >> way >> it boots up and then works perfectly fine, but of course only 1 GB of RAM >> is >> visible to the kernel. >> >> My guess is that RAM areas are not being set up properly by either PMON or >> the >> kernel with more than 1GB of RAM, and specifically here the DMA reads from >> the >> IDE controller can not be performed correctly. >> >> The PMON version is LM6004-1.3.6, kernels tried are 2.6.38.2 and 2.6.38.3. >> >> -- >> With respect, >> Roman > > > > -- > 晏华 > 龙芯梦兰 软件部 > > -- > You received this message because you are subscribed to the Google Groups > "loongson-dev" group. > To post to this group, send email to loongson-dev@googlegroups.com. > To unsubscribe from this group, send email to > loongson-dev+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/loongson-dev?hl=en. > -- You received this message because you are subscribed to the Google Groups "loongson-dev" group. To post to this group, send email to loongson-dev@googlegroups.com. To unsubscribe from this group, send email to loongson-dev+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/loongson-dev?hl=en.