First steps with BeagleBoard

In the meanwhile I'd like to ask you if Angstrom is the best choice to do what I described above. I see other OS: Debian, Mamona, Mojo... What are the differences among them? How to select the best for a specific application?

Is there a tutorial which describe how to develop, download and debug C/C++ QT-based application?

I forgot to ask if you suggest to use a Linux OS (as developing system) or a Windows one may be work as well. I have both on my machine, so it isn't a problem use one or the other.

Marco Trapanese
Femtotech
Italy

Marco,

I don't know how to change screen resolution. Someone will probably
chime in soon, or else you could ask over at the IRC.

Ångström has by far the best support for BeagleBoard, especially Koen
Kooi. Ångström is optimized for embedded systems so does better on a
card with only 128 MB of DRAM. It does have Qt-embedded: see
http://groups.google.com/group/beagleboard/browse_thread/thread/17dd128c3f8816cf/db43ffa1c18a8e83?lnk=gst&q=Qt#db43ffa1c18a8e83.

I don't know where there might be a tutorial. I've never used Qt
myself: I avoid C++ whenever possible, especially for embedded
systems.

I forgot to ask if you suggest to use a Linux OS (as developing system)
or a Windows one may be work as well. I have both on my machine, so it
isn't a problem use one or the other.

For development Linux is almost always your best choice since it will
provide the tools you need and you won't have to jump through hoops to
get them to work. I personally use Windows 2000 because I need it for
other work, and just to be ornery. ["To be ornery" means to be
difficult just for the sake of being difficult.]

John

Hello!

Few short questions:

1) http://code.google.com/p/beagleboard/wiki/BeagleBoardDiagnostics

After type "Execute the boot command" I should get

       OMAP3 beagleboard.org # run bootcmd

       reading uImage

       1856680 bytes read
       reading rd-ext2.bin

       3394477 bytes read

instead I get:

  0 bytes read

  reading rd-ext2.bin

  3394477 bytes read

  Wrong Image Format for bootm command

  ERROR: can't get kernel image!

I copied MLO first to the SD. I also downloaded the files twice to be sure they aren't corrupted.

2) http://elinux.org/BeagleBoardBeginners - Angstrom

When I boot with external power supply and USB in host mode I can login with a mouse or a keyboard. When I power the beagleboard from my desktop PC through the USB cable I can login from the serial terminal, but on the screen I see the selection language window and I can't do anything because I can't use neither the mouse nor the keyboard (USB is NOT in host mode now). How to get the Angstrom desktop in this way?

3) Windows detects the "OMAP 3430" when I connect the beagleboard and ask me for drivers. Where could I find them?

4) I'm able to compile code on the host machine using Eclipse + QT. I compile for the processor of the host machine, indeed. How to configure the compiler for OMAP3430 cross-compilation? How to use Eclipse+RSE to download and debug code on beagleboard? I didn't find a tutorial on these concepts.

I thank you very much for any suggestion.

Marco

Hello!

Few short questions:

1) http://code.google.com/p/beagleboard/wiki/BeagleBoardDiagnostics

After type "Execute the boot command" I should get

      OMAP3 beagleboard.org # run bootcmd

      reading uImage

      1856680 bytes read
      reading rd-ext2.bin

      3394477 bytes read

instead I get:

  0 bytes read

  reading rd-ext2.bin

  3394477 bytes read

  Wrong Image Format for bootm command

  ERROR: can't get kernel image!

I copied MLO first to the SD. I also downloaded the files twice to be
sure they aren't corrupted.

Before copying everything again, did you reformat the card? The above
is difficult to explain without some error in the uImage file.

2) http://elinux.org/BeagleBoardBeginners - Angstrom

When I boot with external power supply and USB in host mode I can
login
with a mouse or a keyboard. When I power the beagleboard from my
desktop
PC through the USB cable I can login from the serial terminal, but on
the screen I see the selection language window and I can't do anything
because I can't use neither the mouse nor the keyboard (USB is NOT in
host mode now). How to get the Angstrom desktop in this way?

You can use a serial port connection to use a serial console. You can
also use USB networking and then Synergy (keyboard and mouse) or
X11VNC (keyboard, mouse, and display) to use the keyboard and mouse
from your desktop PC.

3) Windows detects the "OMAP 3430" when I connect the beagleboard and
ask me for drivers. Where could I find them?

http://elinux.org/BeagleBoard#USB_boot points to an application that
uses libusb to download code using the ROM bootloader that you are
seeing. I'm not aware of any drivers per se.

4) I'm able to compile code on the host machine using Eclipse + QT. I
compile for the processor of the host machine, indeed. How to
configure
the compiler for OMAP3430 cross-compilation? How to use Eclipse+RSE to
download and debug code on beagleboard? I didn't find a tutorial on
these concepts.

I'm not familiar with the details of using Eclipse. In general, you
need to configure your compiler to target ARM Cortex-A8 and the
GNUEABI. There are many examples of how to call GCC to build for the
BeagleBoard. Hopefully someone with more Eclipse experience will add
to this.

Jason Kridner ha scritto:

Before copying everything again, did you reformat the card?  The above  
is difficult to explain without some error in the uImage file.
  

Yes, of course. I used the HP USB Disk Storage Format Tool 2.0.6.

You can use a serial port connection to use a serial console.  You can  
also use USB networking and then Synergy (keyboard and mouse) or  
X11VNC (keyboard, mouse, and display) to use the keyboard and mouse  
from your desktop PC.
  

Ok, I’ll investigate on this.

I'm not familiar with the details of using Eclipse.  In general, you  
need to configure your compiler to target ARM Cortex-A8 and the  
GNUEABI.  There are many examples of how to call GCC to build for the  
BeagleBoard.  Hopefully someone with more Eclipse experience will add  
to this.
  

So I need the CodeSourcery GNUEABI?
In this case I should be able to configure it because I used it for Luminary Micro (ARM Cortex-M3).

Anyway, if someone has any tips on this is welcome!

Thanks
Marco

Jason Kridner said the following on 12/22/2008 07:47 AM:

3) Windows detects the "OMAP 3430" when I connect the beagleboard and
ask me for drivers. Where could I find them?
    
http://elinux.org/BeagleBoard#USB_boot points to an application that
uses libusb to download code using the ROM bootloader that you are
seeing. I'm not aware of any drivers per se.

Libusb was successfull in Linux, Not windows.. Windows might need a
filter driver.. See http://libusb-win32.sourceforge.net/ nothing much
has taken place in that community.. so numerous SPx could have made
things differently..

if anyone has experience with libusb-win32 and would like to help in
updating the board-recovery stuff.. do let us know the soln..
Regards,
NM