Skip to contentSkip to conversation

memory probing

DISCUSSION coly li 2 participants 2 messages May 10, 2005

lore
Share & tools
lore

coly li

author
#0 lore raw

alfred hitch:

It's not so easy to get the proper answer. it depends on your hardware. for I'm not familiar with embedded enviornmnet, I can only give you some idea for x86 platform.

you should know your memory address space layouts. which range is for other peripheral, which range is for real memory. different range use difference detecting scheme. for the range of real memory, the simplest method is "write and verify".

but, for I'm not a embedded programmer, I can't give you more information for non-x86. FYI.

        coly li
        [email protected]
          2005-05-10

======= 2005-05-10 14:36:51 original messages:=======

Quoted 15 lines

---------- Forwarded message ----------
From: alfred hitch <[email protected]>
Date: May 10, 2005 2:13 AM
Subject: Re: memory probing
To: The development of GRUB 2 <[email protected]>

Hi,

thanks for your response,
actually what I am looking for is that does grub and all use bios calls to find out the memory size ?
on my system there is no bios, ixdp425 based plattform,
then can I somehow probe amount of memory and not use a #define'ed one ?

Quoted 53 lines

Cheers,
Alfred

Quoted 47 lines · coly li

alfred hitch:

hi! I guess what you want to know more is the initialization for linux kernel.
I know a guy who wirtes a perfect text named "i386 linux boot howto", you can find out this text on www.tldp.org. also, I sugest you read the linux boot protocol, you can find this text in linux kenrel source code. maybe the name is boot.txt.

good luck;-)

coly li
[email protected]
2005-05-10

======= 2005-05-10 12:08:54 original messages:=======

Quoted 14 lines

Hi All,

I am trying to understand working of bootloaders and have a question (which might be very elementary perhaps).

I wanted to understand how does bootloaders probe memory installed on system and thus pass the correct mem option across to linux kernel say.

Can someone please explain if this is dependant on bios necessarilly, as I am looking for doing something similar on ixdp425 plattform.

Can u please point me to some relavant doc / code ..

Quoted 8 lines

Cheers,
Alfred

_______________________________________________
Grub-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/grub-devel

= = = = = = = = = = = = = = = = = = = =

_______________________________________________
Grub-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/grub-devel

= = = = = = = = = = = = = = = = = = = =

#1 lore raw

thanks,
but what did u mean write and verify,
I thhot grub depends heavilly on bios calls for all this ..

Alfred

Quoted 86 lines · coly li

alfred hitch:

It's not so easy to get the proper answer. it depends on your hardware. for I'm not familiar with embedded enviornmnet, I can only give you some idea for x86 platform.

you should know your memory address space layouts. which range is for other peripheral, which range is for real memory. different range use difference detecting scheme. for the range of real memory, the simplest method is "write and verify".

but, for I'm not a embedded programmer, I can't give you more information for non-x86. FYI.

coly li
[email protected]
2005-05-10

======= 2005-05-10 14:36:51 original messages:=======

Quoted 15 lines

---------- Forwarded message ----------
From: alfred hitch <[email protected]>
Date: May 10, 2005 2:13 AM
Subject: Re: memory probing
To: The development of GRUB 2 <[email protected]>

Hi,

thanks for your response,
actually what I am looking for is that does grub and all use bios calls to find out the memory size ?
on my system there is no bios, ixdp425 based plattform,
then can I somehow probe amount of memory and not use a #define'ed one ?

Quoted 53 lines

Cheers,
Alfred

Quoted 47 lines · coly li

alfred hitch:

hi! I guess what you want to know more is the initialization for linux kernel.
I know a guy who wirtes a perfect text named "i386 linux boot howto", you can find out this text on www.tldp.org. also, I sugest you read the linux boot protocol, you can find this text in linux kenrel source code. maybe the name is boot.txt.

good luck;-)

coly li
[email protected]
2005-05-10

======= 2005-05-10 12:08:54 original messages:=======

Quoted 14 lines

Hi All,

I am trying to understand working of bootloaders and have a question (which might be very elementary perhaps).

I wanted to understand how does bootloaders probe memory installed on system and thus pass the correct mem option across to linux kernel say.

Can someone please explain if this is dependant on bios necessarilly, as I am looking for doing something similar on ixdp425 plattform.

Can u please point me to some relavant doc / code ..

Quoted 8 lines

Cheers,
Alfred

_______________________________________________
Grub-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/grub-devel

= = = = = = = = = = = = = = = = = = = =

_______________________________________________
Grub-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/grub-devel

= = = = = = = = = = = = = = = = = = = =