You use "address mapping" too widely. If you mean MMU reconfiguration, uClinux is for MMU-less CPUs and uClinux kernel (unlike real Linux) runs in physical memory instead of virtual one. In this sense there is no remapping at all.
Physical memory mapping significantly depends on your HW layout (including your FPGA project if you run soft CPU). Some parameters cannot be changed from SW at all, yet certain things like memory ranges for certain controllers can be changed by the kernel. You should look in board/arch/<your_arch>/platforms/... for your board's specific file. Leonid. -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Darwin Chen Sent: Friday, March 02, 2007 6:38 PM To: 'uClinux development list' Subject: [uClinux-dev] Some questions about uClinux and bootloader. 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. _______________________________________________ uClinux-dev mailing list [email protected] http://mailman.uclinux.org/mailman/listinfo/uclinux-dev This message was resent by [email protected] To unsubscribe see: http://mailman.uclinux.org/mailman/options/uclinux-dev _______________________________________________ uClinux-dev mailing list [email protected] http://mailman.uclinux.org/mailman/listinfo/uclinux-dev This message was resent by [email protected] To unsubscribe see: http://mailman.uclinux.org/mailman/options/uclinux-dev
