LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 10-17-2014, 06:18 AM   #1
manavdeep
LQ Newbie
 
Registered: Oct 2014
Posts: 3

Rep: Reputation: Disabled
increase flash memory mpc8569


I am a total newbie to embedded linux and I am in a serious trouble.
I have with me a board with MPC8569E and 256Mb Flash Memory. I need to increase the flash memory to 512 Mb.

The memory map of earlier flash is 0xf000_0000 to 0xffff_ffff
The base address of flash as I can see in Uboot file include/configs/MPC8569MDS.h
#define CONFIG_SYS_FLASH_BASE 0xF0000000

I am not aware of what all changes I should do in Uboot to implement this change. I know I have to do something with Local bus LAWBARs and LAWARs and a lot of other registers. Can somebody help me out.
 
Old 10-18-2014, 04:09 AM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,289

Rep: Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322
Could be handy, could be a major issue. You need an identical chip, and an extra address line in hardware. Have you got it? You also need the 512mb of unallocated space. Have you got that?
 
Old 10-19-2014, 01:00 AM   #3
manavdeep
LQ Newbie
 
Registered: Oct 2014
Posts: 3

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by business_kid View Post
Could be handy, could be a major issue. You need an identical chip, and an extra address line in hardware. Have you got it? You also need the 512mb of unallocated space. Have you got that?
An Identical chip, yes I have got, have got the extra address line too and yeah the unallocated space, 512Mb, I have it. What next. What is that I should change in the file include/configs/MPC8569MDS.h? I am unable to find any reference on how the file is designed or what MACROS mean what. I have a vague Idea from their name though.
The concept of LAWs and MMUs also confuses me now. Damn I am doomed. I am working on it. Any help is appreciated.
 
Old 10-20-2014, 04:20 AM   #4
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,289

Rep: Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322
If you have everything, put it in place, and boot up. There is a basic routine checking of "what sort of box is this?" done as the kernel boots and it will figure out the memory. Write a random digit to several places, and read it. Where there is memory, you will find your random digit; where not, you read back 0xFF.

There may also be space for configuration information in the kernel. There _used_ to be a spot for options for small systems.
 
  


Reply



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
dom0 memory increase shads2k5 Linux - Virtualization and Cloud 1 04-12-2012 05:46 PM
[SOLVED] how to increase physical memory sifaw_sdd Linux - Hardware 2 01-23-2011 10:54 AM
[uboot] MPC8360 increase flash memory fguihot Linux - Embedded & Single-board computer 2 01-05-2010 02:40 AM
how to increase memory for applications in x husrah Linux - Newbie 2 10-29-2006 02:25 PM
want to increase memory shukla_chanchal Linux - General 8 11-02-2005 03:33 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer

All times are GMT -5. The time now is 02:24 AM.

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