Electrum

Getting started

Discussions about Micromint Electrum SBCs based on the the Atmel AT91SAM9 ARM9.

Moderator: support

Getting started

Postby KristinnEs » Wed Feb 22, 2012 7:49 am

Hello

I bought an electrum 100 board recently, and now I am trying to get started with it.. So far I have run into three problems:

1: The getting started section of the manual mentions a cd that I should have gotten with the board. But I didnt get one. Is this something that I have to order seperately?

2: Jtag, I didnt get a jtag cable with the board. Anyone know what type of cable I have to get to use with this board?

3: My development environment is ubuntu 11.10. The very first line of the manual where I should type apt-get gcc c++ make libncurses5-dev is not working, but returns a "E: invalid operation gcc"

..

If anyone knows of a solution to any of these problems I would be very grateful. :)
KristinnEs
 
Posts: 11
Joined: Tue Jan 31, 2012 12:30 pm

Re: Getting started

Postby jalvarez » Wed Feb 22, 2012 9:18 am

Responding to your questions:

1. A CD is no longer shipped with the board. Board software is downloadable from the Wiki. The Wiki has proven to be a much better channel for documentation and software updates. We'll update the documentation to reflect this.

http://wiki.micromint.com/index.php/Ele ... umentation

2. The Electrum uses a standard 20-pin ARM JTAG connector as documented in the manual. Your JTAG should support ARM9 targets and the 20-pin connector.

http://wiki.micromint.com/index.php/Ele ... mpers#JTAG

3. The 'apt' utilities for package management are certainly available in the Ubuntu distribution. Use 'apt-get install'.

There was a recent update to Debian 6 in the board distribution. If your board uses Debian 6 you should be aware that references to "lenny" (Debian 5) in the documentation would refer to "squeeze" (Debian 6).
Regards,
Jesus Alvarez
Micromint USA
jalvarez
 
Posts: 89
Joined: Thu Feb 17, 2011 8:50 am
Location: Lake Mary, FL

Re: Getting started

Postby KristinnEs » Wed Feb 22, 2012 11:44 am

Thank you for your reply :)
KristinnEs
 
Posts: 11
Joined: Tue Jan 31, 2012 12:30 pm

Re: Getting started

Postby KristinnEs » Tue Feb 28, 2012 9:59 am

I have managed to get as far in the getting started document as halfway through the toolchain installation part.

However I have yet another problem

its in the section where you "install the following packages", I have managed to get the following packages installed

"apt-get install linux-libc-dev-armel-cross libc6-armel-cross libc6-dev-armel-cross binutils-arm-linux-gnueabi \
gcc-4.3-arm-linux-gnueabi g++-4.3-arm-linux-gnueabi uboot-mkimage"

however the gdb-arm-linux.gnu cant be found. I get the message "unable to locate package gdb-arm-linux-gnu" and it exits. I cant run the "apt-get install apt-cross dpkg-cross" either.

help :O
KristinnEs
 
Posts: 11
Joined: Tue Jan 31, 2012 12:30 pm

Re: Getting started

Postby jalvarez » Tue Feb 28, 2012 10:32 am

You seem to be mistyping something in the command arguments. The gdb package for ARM is gdb-arm-linux-gnueabi, not gdb-arm-linux-gnu . If you copied and pasted the command from the Wiki, possibly the backslash or the carriage return did not propagate properly. If you already installed the other packages you can install it individually with

Code: Select all
apt-get install gdb-arm-linux-gnueabi

apt-cross and dpkg-cross are used to package ARM applications for redistribution using the 'apt' and 'dpkg' utilities. They are part of the Emdebian tools for Debian 5 (lenny) distributions. As per the the Emdebian web site, in Debian 6 (squeeze) the apt-cross and dpkg-cross functionality is being merged into the base apt and dpkg.

http://www.emdebian.org/tools.html
...dpkg-cross is gradually being merged back into dpkg and apt-cross has been removed from Squeeze....
Regards,
Jesus Alvarez
Micromint USA
jalvarez
 
Posts: 89
Joined: Thu Feb 17, 2011 8:50 am
Location: Lake Mary, FL

Re: Getting started

Postby KristinnEs » Wed Mar 07, 2012 7:31 am

Another newbie question :)

In the http://wiki.micromint.com/index.php/Bli ... ing_Python

There is a line that says that the "CONFIG_GPIO_SYSFS=y" needs to be changed in the board configuration file. Where is that file? :P
KristinnEs
 
Posts: 11
Joined: Tue Jan 31, 2012 12:30 pm

Re: Getting started

Postby jalvarez » Wed Mar 07, 2012 8:40 am

The kernel configuration for ARM boards is in the arch/arm/configs directory of the kernel source code. The Electrum 100 configuration is on file electrum100_defconfig.

You may consider the suggested references in the user's manual. The Embedded Linux Primer is an excellent resource if you are getting started with embedded Linux.

http://wiki.micromint.com/index.php/Ele ... References
Regards,
Jesus Alvarez
Micromint USA
jalvarez
 
Posts: 89
Joined: Thu Feb 17, 2011 8:50 am
Location: Lake Mary, FL


Return to Electrum

Who is online

Users browsing this forum: No registered users and 0 guests

cron

Login Form