Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hi,
I will be using uCLinux on a refernce Board I have.
I have u-boot,kernel and romfs.
The Board has 32MB SDRAM.
According to the u-boot code, I understand the SDRAM address starts
from 0xA0000000
size 0x02000000 (32 MB).
According to the u-boot code, I can download my Kernel Image at RAM location 0xA1500000.
Then using "bootm 0xA1500000" my kerenl will boot.
Now HOW TO DECIDE THAT I CAN USE RAM FROM 0xA1500000 AND NOT FROM ANYWHERE ELSE.
CAN SOMEBODY PLEASE TELL ME HOW IS THE RAM USED like :
address 0x00000000 to xyz = for Kernel/OS
from xyz to abc = for u-boot
from abc to pqr = data segment of application
from pqr to mno = code segment of application.
This is the little I understand about embedded systems.
You need to configure the bootloader to install the kernel and load the defaults there.
Another thing is: What CPU architecture is it?
You may need to reference boot and memory problems according to that.
Certain ARM x processors have strange memory limitations.
Thanks Mr-Bisquit,
But I understand that there are some strategy like :
1 .Kernel will be loaded at the end (of course with suffient space for kernel) of the available RAM. then for a application the usable RAM area starts from address 0x00000.
OR
2. kernel will be loaded at the start of the RAM , then after some fixed MBs (usually 3-4 MB)application can run.
I believe the kernel need to be loaded first.
You can try the system with qemu.
Even though the machine may not be exactly the same, there will be enough similarity in function.
Have you tried the uClinux forums/mailing lists or the emdebian lists?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.