LinuxQuestions.org
Register a domain and help support LQ
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 08-19-2011, 05:22 AM   #1
zawii87
LQ Newbie
 
Registered: Jul 2011
Posts: 23

Rep: Reputation: Disabled
How to save program in Embedded linux based Cobra5329 BSP


Hello Members,

Can any one please explain me that how can we access the in built memory to save our program on embedded Linux based cobra5329 board support package which is based on MCF5329 coldfire processor.

Also there is option to put extra memory card into the board . How Can I access this and save my program on to it because every time I shut down my system I have to download the program again to my board. This is too much time consuming and also rubbish !

There is no manual support comes with this board that how to do this . Can any one please explain me and guide me about this.

Thanks
 
Old 08-23-2011, 05:33 AM   #2
cnxsoft
Member
 
Registered: Nov 2010
Location: Thailand
Distribution: Fedora 12, Ubuntu 10.10
Posts: 166

Rep: Reputation: 29
The cobra5329 has 16 MByte Flash according to the product brief, so you could save your program there.

You could have a partition formatted as JFFS2 (or other file system) in the flash to store your program or create of JFFS2 image (with mkfs.jffs2) and burn it to the flash.
 
Old 08-23-2011, 05:40 AM   #3
zawii87
LQ Newbie
 
Registered: Jul 2011
Posts: 23

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by cnxsoft View Post
The cobra5329 has 16 MByte Flash according to the product brief, so you could save your program there.

You could have a partition formatted as JFFS2 (or other file system) in the flash to store your program or create of JFFS2 image (with mkfs.jffs2) and burn it to the flash.

yup I know that Cobra5239 have 16 MByte flash in it, but I don't know how to access this flash memory to store my files there.

I am on the board terminal and don't know where to go to reach the internal memory and save my program
 
Old 08-24-2011, 02:57 AM   #4
cnxsoft
Member
 
Registered: Nov 2010
Location: Thailand
Distribution: Fedora 12, Ubuntu 10.10
Posts: 166

Rep: Reputation: 29
You could try to list the flash partition:
Quote:
cat /dev/mtd
mtd0 is usually the physical flash and mtd1, mtd2 etc.. the partition.

If you have mtd1, you can format and mount the partition, for example:

Quote:
mkfs.jffs2 /dev/mtd3
mount -t jffs2 /dev/mtdblock3 /mnt/flash
Then edit the startup script (check /etc/inittab to locate it) to mount the partition at boot time and run your program.
 
  


Reply


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
Configuring Middleware for Embedded Linux BSP thirumalesh Linux From Scratch 2 06-13-2008 12:40 AM
Compiling Embedded (BSP) Linux for EP-8248 Board jasonj Linux - General 0 11-13-2007 07:27 PM
LXer: BSP Marathon / BSP in Berlin (Germany) September 22-24 LXer Syndicated Linux News 0 09-06-2006 08:54 PM
LXer: BSP Marathon / BSP in =?iso-8859-1?Q?ich?= (Germany) 15.-17. September LXer Syndicated Linux News 0 08-23-2006 09:54 PM


All times are GMT -5. The time now is 01:50 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration