LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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-04-2011, 09:00 AM   #16
imperialbeachdude
LQ Newbie
 
Registered: Jul 2007
Posts: 25

Original Poster
Rep: Reputation: 0

I am not using the LCD touchscreen, so I can't help you there, sorry. We tested the LCD touchscreen with the Android image for the Pico, and it worked, but I have no need for the LCD touchscreen.

It's definitely possible to put your app into the pre-built image, but, so far, I have not worked on this, so I do not how to do it yet. You can use the "scp" command instead, it can load your app to the sd card - then you can duplicate the sd card as needed.


Quote:
Originally Posted by magickernel View Post
Hi,

I would to use the linux pre-build image, if possible, to put inside the sdcard, some "app", like "helloworld.c", so that they can be performed on board, and the output can be visible on the lcd touch. The app is stand-alone. So, I see in the angstrom, is available the arm-eabi-gcc, it's is the only mode to run the app ? So, the file app can be load on a subdir of the pre-build image ?

Please, can you help me, thanks ?
 
Old 07-12-2011, 03:25 AM   #17
magickernel
LQ Newbie
 
Registered: Jun 2011
Posts: 8

Rep: Reputation: Disabled
Question help about dhcp...

Hi Jeff, how are you ?
So, regarding the point 3, can you explain the steps to acquire the ip board ? I try with the wireshark software, but the tool not visible the ip address of the board...or maybe I forgotten any step before ?

From windows xp, I try with dhcploc command....: it's possible, but, howto define the range ip in the command ?

Thanks.
I'm waiting your suggestions... :-)


Quote:
Originally Posted by imperialbeachdude View Post
Hi Marco -

I understand that you have built the simple helloworld app, and now you need to get it on the board. I am responding here so others may see the steps we took. There are several options possible, I will list them below.

1. Have you successfully built the SD card image using the instructions from the pico wiki page? You must get this done for anything to work. We finally used WinImage on a Windows XP box to do this, but there are several ways. You cannot get anything done unless you get this completed correctly.

2. Have you built a TTL to RS232 converter to attach to J7 on the board? It's not very hard, but it is not my area of expertise, you will have to find someone else to help with that. I do recommend building the converter, as it is the debug port used by the kernel. This is not absolutely required, but helpful. When the board is booting, you will see output on this port, so you will know if you got step 1 done properly, as it will boot correctly, and you can login as root from the debug port.

3. Even if you do not get #2 done, the board will still boot if you got step 1 done, and you can connect to it through your local network. To do this you will need the IP address of the board, by default the board uses DHCP. You can look at your DHCP server after the board boots - it will be listed in the DHCP client table. Or, you could use Wireshark with a port monitor switch and watch the IP traffic from the device, and discover it's IP address that way. After you discover the IP address, it is a normal Linux login, for example ssh root@192.168.1.113 (assuming the board came up at 113). Then you can use scp to load programs to the board.

Let us know if you get the app loaded - good luck!

Jeff

P.S. Have you considered using the BeagleBoard instead? My understanding is there is a lot more support and documentation for the BeagleBoard than the pico board.
 
Old 07-12-2011, 08:33 AM   #18
imperialbeachdude
LQ Newbie
 
Registered: Jul 2007
Posts: 25

Original Poster
Rep: Reputation: 0
Hi there -

The easiest way to discover the IP address of a device on your network is to look at the DHCP client list in the router on your network. This is simple to do on a small network - login to your router, and look at the DHCP client list, and identify all the devices connected to your network. If the pico board is working correctly, it will be one of the devices, and you can "ssh" to the device. If you are on a large corporate or academic network, this may be impossible without help from your IT department. In that case you should purchase an inexpensive router and make your own private network, with just your computer and the pico board attached. It's also possible to run a dhcp server directly on your computer, and then plug the pico board directly to your computer - but I think that is more complicated than the first solution.

Jeff

Quote:
Originally Posted by magickernel View Post
Hi Jeff, how are you ?
So, regarding the point 3, can you explain the steps to acquire the ip board ? I try with the wireshark software, but the tool not visible the ip address of the board...or maybe I forgotten any step before ?

From windows xp, I try with dhcploc command....: it's possible, but, howto define the range ip in the command ?

Thanks.
I'm waiting your suggestions... :-)
 
  


Reply

Tags
arm, linker


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
Problem in using both load time linking and runtime linking durgaprasad_j Linux - General 0 08-01-2006 03:49 AM
Linking problem kalleanka Programming 2 07-13-2006 07:02 AM
Problem linking f77 and f90 object files Make problem (I think) TheBrick Programming 1 05-22-2006 06:17 AM
Pico problem ust Linux - Software 0 08-06-2003 08:07 PM
linking problem with ld ! gluon Programming 2 05-19-2002 01:59 PM

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

All times are GMT -5. The time now is 09:14 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