[uClinux-dev] Some questions about uClinux and bootloader.

Darwin Chen PStudio at 21cn.com
Fri Mar 2 21:38:19 EST 2007


Dear all masters,

I have some questions about uClinux and bootloader, the answer must be  in
the kernel source code, but I can't find it, and google master can't yet.
So, the questions are:
1.The bootloader remaps the SDRAM/Flash address, the different bootloader
has different address mapping, so, is uClinux remaps again to it's own
address mapping? I guess this answer should be "No", but I can't confirm it.

2. How to tell the uClinux about bootloader's address mapping? If I change
the bootloader's address mapping, Which kernel source code should be
changed?

3. I have a W90N740-based boards, there is only 1MB flash and 4MB SDRAM, so
I want to set the address mapping as following:
Before the bootloader remaps the address space:
0x00000000 - 0x0000efff  60KB  bootloader
0x0000f000 - 0x0000ffff  4KB   the parameters of uClinux and bootloaders
0x00010000 - 0x0009ffff  576KB the kernel image
0x000A0000 - 0x000FFFFF  384KB the romfs image.
After the address space is following after the bootloader remaps:
0x00000000 - 0x003fffff  4MB SDRAM
0x7F000000 - 0x7F0FFFFF  1MB Flash. 

Is uclinux must request 32KB space for parameter? I think there is no so
much parameters to boot uclinux.

Which parameters or source codes of uclinux should be changed for my
application?

I'm a fresh man about embedded developing, so I needs the masters.

Thanks very much.

Darwin Chen.




More information about the uClinux-dev mailing list