Linux - Embedded & Single-board computerThis 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.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
hai I want to port uClinux in my LPC2129 board(ARM 7).It was successfull with standard kit (embedded artist so dim board )
I want to know what are the essential hardware enhancements to be made to support the porting
spec of my lpc2129 board
cpu =arm 7
crystal freq==12 MHZ.
on chip RAM = 16 KB
onchip flash =256 kB
uart port = 2 ports(16c550 supported)
can = 2 ports
port1 =20 pins approx
port 0 = 32 pins
spec of embedded artists so dimm board
Philips ARM7TDMI LPC2292 microcontroller with 256 KByte program Flash, 16
Kbyte SRAM, external bus interface, and 2 CAN channels.
External 64 Mbit (8 Mbyte) RAM and 16 Mbit FLASH (2 Mbyte)
10Mbps Ethernet interface (ENC28J60) connected to SPI bus
14.745600 MHz crystal for maximum execution speed and standard serial bit rates
− Phase-locked loop (PLL) multiplies frequency with four; about 60 MHz
ESD protected RS232 interface for UART channel #0
− Can be used for ISP program download
64 Kbit I2C E2PROM for storing non-volatile parameters
40 pos connector for Bluetooth module from connectBlue
I am wondering if you unsderstand 'porting' as I would. Porting takes source code for one system and installs it on another (usually non compatible) system. You don't need any hardware. You need software, and a compiling environment. You cannot start with binaries.
Go back to source code. The lpc2129 will not have source code for any of the drivers for the so dimm bioard.
Have you seen Google's Android? Complete development environment, etc and now several variants (e.g. cyanogenmod). My Android is an arm v6 compatible device running cyanogenmod-4.2.4. We're at a few hundred mhz. Compiling with any uclibc based system is challenging. Debian also do an arm port
In the standard kit there were many provisions to download the image files (kernel and filesystem) using ethernet and mmc card.since the size of image files itself was around 10 MB,which can not fit into onchip flash of 256 kb,so the files are booted through mmc cards
glad it was working .
I am sure in the similar way the images for lpc2129 can also be compiled .Now how do i transfer this image file.(images are files required for the os to work) for lpc2129 board where i do not have any ports other than uart.yet we can extend the board for mmc card also.
hence i am not sure to start a project with out knowing whether board can work as such or it requires any external interfacing like mmc or ehernet.
Compiling means using a compiler (gcc or similar) with a libc, kernel headers, includes, etc. and building the source code for a particular system.
I think you want to _load_ the lpc2129 board with some software in the hope it will work. If the uart is all you have, use that.
There are many ways to load data into boards at chip level, but they require an electronic workshop usually. I presume there is software in there. Can you not use that to 'update itself'?
how is it possible to port the image files which are generally extending in terms of MBs together.(around 8 MB) over the chip of 64kb flash.
I beleive i need mmc card or similar setup need to be made on my 2129 board(like the standard board)
With some sort of OS or BIOS that the board would have, you could load it via the uart. Otherwise, hand it to a hardware techie and tell him what you want. At the hardware level, there's programmers, and the like, there's also edge connections or points on the board for some units which are "In Circuit Programmable" to have an IēC connection attached.
In short, what has the lpc board got loaded already?
loading........?.software or the board spec. anyways . the board suppors in circuit programming.as you said in the standard board we used u-boot loader to boot the uClinux .Is that with the same boot loader and modifying my harware (modifications can be done only by adding add-ons for mmc card or anything like that)