LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 07-03-2012, 08:53 AM   #1
cphus
LQ Newbie
 
Registered: Jul 2012
Posts: 2

Rep: Reputation: Disabled
Starting with Embedded Linux on a Cortex-M3 board


Hello everybody,

I bought a board with a NXP LPC1768 (512kB flash, 64kB SRAM) on it. It comes with uC-II OS on it, I can easily program and debug it with an IDE from Keil but everything is done on Windows.

I've been playing with 8-bit microcontrollers for a while now but I'd like to start working with an Embedded OS on a smarter 32-bit chip like LPC1768. Since I use almost exclusively Linux on my computer, I'd prefer working with an embedded Linux rather than uC-II.

The first problem is if there is any linux embedded variation that fits into that space and leaves some space for the applications. I searched on the net but the majority require at least a few MB flash.

The second problem is that I don't know where to start from. I guess first of all I should burn a bootloader then compile and burn the kernel and the custom application(s).

Does anyone know of a good start guide?
Even better, has anyone tried to get linux work on an NXP LPC?

I'd appreciate any kind of help.
 
Old 07-03-2012, 09:59 AM   #2
cphus
LQ Newbie
 
Registered: Jul 2012
Posts: 2

Original Poster
Rep: Reputation: Disabled
I searched a bit more, even on this forum and I'm quite convinced that an embedded OS like uClinux or RTOS linux is to big for my MCU. I've downloaded Nuttx RTOS and right now I'm trying to configure it for my board. On it's webpage I red that it can run even on 8-bit MCU's so it would be a good choice.

They also have support for the particular MCU I'm using. (mbed board using the same MCU of Embedded Artist's Board)

Still I need some guide since they don't provide.
 
Old 07-04-2012, 05:31 AM   #3
www.FreeRTOS.org
LQ Newbie
 
Registered: Jul 2012
Posts: 3

Rep: Reputation: Disabled
I have worked with that device extensively (link to featured demo running webserver, telnet and CLI) and can say pretty categorically that the CPU core does not have the features required to run Linux, and the memory available (without an external bus) is but a fragment of that required.
 
Old 07-04-2012, 06:19 AM   #4
anshuman84
Member
 
Registered: May 2008
Location: Bangalore
Posts: 31

Rep: Reputation: 6
Quote:
Originally Posted by cphus View Post
I searched a bit more, even on this forum and I'm quite convinced that an embedded OS like uClinux or RTOS linux is to big for my MCU. I've downloaded Nuttx RTOS and right now I'm trying to configure it for my board. On it's webpage I red that it can run even on 8-bit MCU's so it would be a good choice.

They also have support for the particular MCU I'm using. (mbed board using the same MCU of Embedded Artist's Board)

Still I need some guide since they don't provide.
Does that processor contain MMU ? This question can be asked like this Is that processor is a ARM7 core ?
If yes , you cant run Linux on that. Only you can run ucLinux.
For a Embedded board general process is following:
1> Burn the bootloader first (which will initialise the memory a bit to bootup the linux kernel or any OS kernel)
you can check UBOOT
2> Then your Linux kernel (In your case you need to cross compile for ARM)
3> Then your filesystem (It can be NFS,JFFS2,YAFFS,or from a external storage you can use ext2,ext3,ext4)
3>
 
Old 07-15-2012, 08:56 AM   #5
cnxsoft
Member
 
Registered: Nov 2010
Location: Thailand
Distribution: Fedora 12, Ubuntu 10.10
Posts: 166

Rep: Reputation: 29
(uC)Linux won't with just 64kB SRAM, you need at least 1 MB RAM.
So you'd need another Cortex-M board to run Linux, or simply switch to another freeRTOS.
 
  


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
LXer: Cortex-A8 dev board takes on the BeagleBoard-xM LXer Syndicated Linux News 0 11-18-2011 09:10 AM
LXer: $89 dev board includes Cortex-A8 CPU, Ethernet, JTAG LXer Syndicated Linux News 0 11-01-2011 07:10 PM
LXer: $5 Cortex-A8 SoC aims to take on ARM9 in the embedded market LXer Syndicated Linux News 0 11-01-2011 02:41 PM
clfs/ubuntu desktop on an arm cortex a8 (beagle board) JonathanWilson Linux From Scratch 2 03-06-2010 10:05 AM
problem with NXP LPC1758 ARM Cortex-M3 Board Linux_bird Linux - Newbie 1 10-09-2009 09:38 PM

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

All times are GMT -5. The time now is 01:43 PM.

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