Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer
User Name
Linux - Embedded & Single-board computer This forum is for the discussion of Linux on both embedded devices and single-board computers (such as the Raspberry Pi, BeagleBoard and PandaBoard). Discussions involving Arduino, plug computers and other micro-controller like devices are also welcome.


  Search this Thread
Old 11-26-2011, 02:24 PM   #1
LQ Newbie
Registered: Dec 2010
Posts: 7

Rep: Reputation: 0
Exclamation Specifying kernel memory regions

Greetings All,

I am running ltib linux on P1022RDK (P1022 Core) platform. I have 512 MB = 0x20000000 memory. I want my linux kernel to use second half of the board memory (i.e from 256 MB to 512 MB) and want first half of memory to be reserved for some other purpose. For this I am building linux kernel using ltib. For that purpose I am setting following kernel configuration.

Please suggest if I am doing it the right way.

CONFIG_LOWMEM_SIZE = 0x10000000 # 256 MB
CONFIG_PHYSICAL_START = 0x10000000 # Starting from 256MB (second half of memory)

On the Uboot I am loading the kernel as following way

setenv loadaddr 0x11000000 # Kernel base = 0x10000000 + 0x01000000 (offset)

setenv fdtaddr 0x10c00000 # Kernel base = 0x10000000 + 0x00c00000 (offset)

bootm $loadaddr - $fdtaddr

My kernel Load address is 0x10000000 & kernel entry point is 0x10000000

Doing above configuration / steps my kernel stuck at following on Uboot

## Booting kernel from Legacy Image at 11000000 ...
Image Name: Linux-
Image Type: PowerPC Linux Kernel Image (gzip compressed)
Data Size: 3352851 Bytes = 3.2 MB
Load Address: 10000000
Entry Point: 10000000
Verifying Checksum ... OK
## Flattened Device Tree blob at 10c00000
Booting using the fdt blob at 0x10c00000
Uncompressing Kernel Image ... OK

================ >> It should uncompress FDT here & continue ==============

Any thoughts ?

Farrukh Arshad



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
SHM Memory Counted as Cache Memory with Kernel 2.6.18? kresyzig Programming 4 08-26-2010 12:06 AM
posix shared memory regions caverdave Linux - Newbie 2 07-09-2009 10:00 AM
kernel: how do pci-memory a conventional memory? vv40in Linux - Newbie 0 06-05-2008 03:55 AM
Memory regions - please describe Enjo Linux - General 1 03-22-2006 09:08 AM
DVD regions TX_metalhead Linux - General 4 02-04-2002 06:10 AM > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer

All times are GMT -5. The time now is 05:26 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration