I am wondering what is the maximum amount of RAM supported by Loongson 2F.
I know 1GB is supported. But there are now also 2048 MB and 4096 MB sticks of
SODIMM DDR2-800 available for purchase. Should these work in Yeeloong/Fuloong?
Xiang Yu (Software Department)
Tel : 0512-52308631
Jiangsu Lemote Technology Corporation Limited
Menglan, Yushan, Changshu City, Jiangsu Province, China
I got a fuulong upgraded to 2Gb without problem.
I now got a 4GB stick which has the following on its label:
Hynix KOREA 08
4GB 2Rx8 PC2-6400S-666-12
Looks like this:
Unfortunately I can't get it to work:
- The Yeeloong (PMON LM8089-1.4.9) does not power-up: when the power button is
pressed, it briefly turns on the power LED and the fan at a slow speed, then
while not displaying anything on the screen, just turns off after about 10
- The Fuloong (PMON LM6004-1.3.6) when powered on displays the SiS video card
BIOS message, then after a long delay (maybe 10 seconds) it shows the full
screen Lemote logo; then after some seconds it gets to the PMON boot menu.
Looks like it works a lot slower than with its 512MB stick.
Then I select a kernel to boot (126.96.36.199), menu disappears, the HDD led
lights up for 2-3 seconds, then the LED turns off and nothing else happens
(no more LED activity, blank screen).
Is there anything I can try to make this work?
Looks to me it could be a PMON problem, but if so, are there newer PMON
versions than 1.4.9 (and were there changes for large RAM support in it)?
I vaguely remember some discussions in the past about PMON problems
related to RAM upgrades. Can't offer much help unfortunately. :-(
No problem :)
But can you please tell which PMON version do you use (it can be checked in
kernel command-line, which appears in the beginning of "dmesg").
And which brand of 2GB RAM stick do you use (if you remember).
Will check, but probably not until tuesday.
>> I now got a 4GB stick which has the following on its label:
>> Unfortunately I can't get it to work:
>I vaguely remember some discussions in the past about PMON problems
>related to RAM upgrades. Can't offer much help unfortunately. :-(
>You received this message because you are subscribed to the Google Groups "loongson-dev" group.
>To post to this group, send email to loongs...@googlegroups.com.
>To unsubscribe from this group, send email to loongson-dev...@googlegroups.com.
>For more options, visit this group at http://groups.google.com/group/loongson-dev?hl=en.
> - The Fuloong (PMON LM6004-1.3.6) when powered on displays the SiS video card
> BIOS message, then after a long delay (maybe 10 seconds) it shows the full
> screen Lemote logo; then after some seconds it gets to the PMON boot menu.
> Looks like it works a lot slower than with its 512MB stick.
> Then I select a kernel to boot (188.8.131.52), menu disappears, the HDD led
> lights up for 2-3 seconds, then the LED turns off and nothing else happens
> (no more LED activity, blank screen).
I did some more experiments, and here's what I found so far.
1) PMON LM6004-1.3.6 does report all the RAM. It sets memsize=256,
highmemsize=3712, and shows 4 GB in the "BIOS setup" called via "main".
2) Starting memory test in PMON via "mt" runs for considerable time with no
3) Starting the "newmt" memory test fails immediately with a "TLB miss on
store" error: http://romanrm.ru/pics/2011/2011-04-22-fuloong-4gb-memtest.jpg
4) I managed to have the kernel start booting, by issuing
"highmemsize=256" (or even 768) in PMON, then loading the kernel. But it
fails very early at boot, it is tricky to read the messages there, but at
first it's "IRQ 14: nobody cared", then "Unable to handle kernel paging
request". I may try netconsole a bit later, though not sure if it will work
this early at boot.
5) Even when the kernel starts booting in the above manner, it is SLOW - I
can see how the text redraws and scrolls. So it confirms the delays before
PMON, with 4GB installed the machine (or the video card) runs very slowly
for some reason.
I do not think it is an electrical-level problem, because the above behavior
is completely consistent (everything happens 100% reproducible).
My wild guess: PMON cannot properly do a complete initialization of hardware
(IRQ, DMA?) because it is confused by this much system RAM. Maybe it can't map
some I/O area into below 4GB, when there are actual 4GB of RAM present?
I have noticed there is a 64-bit PMON branch available in the git repository
- how do I check if my PMONs are already compiled to 64-bit?
I need to decide pretty soon if I am going to return this memory stick to the
shop, so if anyone has ideas to try, don't hesitate to post ideas over this
couple of days... I think it'd be quite useful to find and fix the problem
with 4GB of RAM rather than just giving up on it, especially since it "almost
Thanks... also some more questions:
- which kernel version and please post your /boot/config-*
- does the RAM stick have 1 or 2 rows of chips on each side (i.e. 8 or 16
Is anyone else successfully using 2GB of RAM in Fuloong? Please post your
details too. :)
> 5) Even when the kernel starts booting in the above manner, it is SLOW - I
> can see how the text redraws and scrolls. So it confirms the delays before
> PMON, with 4GB installed the machine (or the video card) runs very slowly
> for some reason.
This slowness is completely gone after changing from a 4GB stick to a 2GB one.
I remembered correctly having upgraded the RAM on the fuulong,
although now that I have opened the fuulong and removed the RAM
stick to take a picture of it, it occurred that it was only 1Gb and not
Sorry for the false hope. Like everything I say you'd better wait for
the facts check rather than trust my memories.
No problem, at least we now have the kernel issue with memory areas found
and patched. :)
I am going to look for a single-rank 2GB module to test, it seems they are
Also, does anyone know how to limit the kernel to using just 1GB of RAM from
2GB installed? I tried using the "memmap=1G$$1G"(double $ due to PMON seeing
a single $ as a variable reference) and "memmap=1G#1G" kernel parameters, but
they seem to be ignored. Did not check the source code yet.
I assume the simple mem=1G does not work as expected?