Difference between revisions of "User:Batydm"

From eLinux.org
Jump to: navigation, search
(Listings From Embedded Linux Primer: Added output from host)
 
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
[[Category:ECE597]]
 
[[Category:ECE597]]
  
I am currently a Graduate student at Rose-Hulman Institute of Technology pursuing my MECE (Masters of Electrical and Computer Enginnering) degree.  My undergraduate degree was in Computer Engineering, also from Rose-Hulman.  I am the Public Relations officer of the [http://lug.rose-hulman.edu/wiki/Main_Page Rose-Hulman Linux Users' Group]. I am working on another project using the BeagleBoard to control a walking four legged robot.
+
This page was created when I was taking ECE597Now I've graduated Rose with a MECE and a BS CPE. I also worked on another project using the BeagleBoard to control a walking four legged robot.
  
== Listings From Embedded Linux Primer ==
+
== Contributions ==
 
+
Most of my work is with the BeagleBoard hardwareI helped with pages on [[BeagleBoardPWM|PWM on the BeagleBoard]] and [[Interfacing with I2C Devices|I2C on the BeagleBoard]]I created the page on [[BeagleBoard Hardware Interfacing|Interfacing with the BeagleBoard hardware]]This page contains a variety of information on how to make a board to interface with the BeagleBoard, including dealing with power and level shifting.
{|
+
! Number
+
! Page
+
! Caption
+
! Listing
+
! Notes
+
|-
+
| 2-1
+
| 2-6
+
| Initial Bootloader Serial Output
+
| <pre>
+
Texas Instruments X-Loader 1.4.2 (Feb 19 2009 - 12:01:24)
+
Reading boot sector
+
Loading u-boot.bin from mmc
+
 
+
 
+
U-Boot 2009.11-rc1 (Jan 08 2010 - 21:19:52)
+
 
+
OMAP3530-GP ES3.0, CPU-OPP2 L3-165MHz
+
OMAP3 Beagle board + LPDDR/NAND
+
I2C:  ready
+
DRAM:  256 MB
+
NAND:  256 MiB
+
In:    serial
+
Out:  serial
+
Err:  serial
+
Board revision C1/C2/C3
+
Die ID #5160000300000000040323091101f01a
+
Hit any key to stop autoboot:  0
+
OMAP3 beagleboard.org #
+
</pre>
+
| This is from a Revision C3 Beagle.
+
|-
+
| 2-2
+
| 2-7
+
| Loading the Linux Kernel
+
| <pre>
+
3001004 bytes read
+
Booting from mmc ...
+
## Booting kernel from Legacy Image at 82000000 ...
+
  Image Name:  Angstrom/2.6.29/beagleboard
+
  Image Type:  ARM Linux Kernel Image (uncompressed)
+
  Data Size:    3000940 Bytes = 2.9 MB
+
  Load Address: 80008000
+
  Entry Point:  80008000
+
  Verifying Checksum ... OK
+
  Loading Kernel Image ... OK
+
OK
+
 
+
Starting kernel ...
+
 
+
Uncompressing Linux.... done, booting the kernel.
+
</pre>
+
|
+
|-
+
| 2-3
+
| 2-9
+
| Linux Final Boot Messages
+
| <pre>
+
Starting portmap daemon: portmap.
+
Unknown HZ value! (75) Assume 100.
+
net.ipv4.conf.default.rp_filter = 1
+
net.ipv4.conf.all.rp_filter = 1
+
hwclock: can't open '/dev/misc/rtc': No such file or directory
+
Sat Mar 13 23:56:00 GMT 2010
+
hwclock: can't open '/dev/misc/rtc': No such file or directory
+
INIT: Entering runlevel: 5
+
Starting system message bus: dbus.
+
Starting Hardware abstraction layer hald
+
Configuring leds:
+
  beagleboard::usr0: heartbeat
+
  beagleboard::usr1: mmc0
+
Starting Dropbear SSH server: modprobe: FATAL: Could not open '/lib/modules/2.6.29-omap1/kernel/net/ipv6/ipv6.ko': No such file or directory
+
 
+
modprobe: FATAL: Could not open '/lib/modules/2.6.29-omap1/kernel/net/ipv6/ipv6.ko': No such file or directory
+
 
+
dropbear.
+
Starting advanced power management daemon: No APM support in kernel
+
(failed.)
+
Starting Samba: smbd nmbd.
+
Starting syslogd/klogd: done
+
Starting internet superserver: xinetd.
+
* Starting Avahi mDNS/DNS-SD Daemon: avahi-daemon
+
[ ok ]
+
Starting Network connection manager daemon: NetworkManager.
+
Loading kernel modules for gstreamer-ti... FATAL: Could not open '/lib/modules/2.6.29-omap1/kernel/drivers/dsp/cmemk.ko': No such file or directory
+
FATAL: Could not open '/lib/modules/2.6.29-omap1/kernel/drivers/dsp/dsplinkk.ko': No such file or directory
+
WARNING: Could not open '/lib/modules/2.6.29-omap1/kernel/drivers/dsp/dsplinkk.ko': No such file or directory
+
FATAL: Could not open '/lib/modules/2.6.29-omap1/kernel/drivers/dsp/lpm_omap3530.ko': No such file or directory
+
FATAL: Could not open '/lib/modules/2.6.29-omap1/kernel/drivers/dsp/sdmak.ko': No such file or directory
+
  done
+
Loading [g_cdc]
+
FATAL: Could not open '/lib/modules/2.6.29-omap1/kernel/drivers/usb/gadget/g_cdc.ko': No such file or directory
+
Starting web server: apache2.
+
Starting GNOME Display Manager gdm
+
Starting GPE display manager: gpe-dm
+
[ 1486.575927] OMAPFB: Closing fb with plane index 0
+
 
+
.-------.
+
|       |                  .-.
+
|  |  |-----.-----.-----.| |  .----..-----.-----.
+
|      |    | __ | ---'| '--.| .-'|    |    |
+
|  |  |  |  |    |---  ||  --'|  |  |  '  | | | |
+
'---'---'--'--'--.  |-----''----''--'  '-----'-'-'-'
+
                -'  |
+
                '---'
+
 
+
The Angstrom Distribution beagleboar ttyS2
+
 
+
Angstrom 2009.X-test-20100104 beagleboar ttyS2
+
</pre>
+
|
+
|-
+
| 2-4
+
| 2-21
+
| Hello World, Embedded Style
+
| <pre>
+
#include <stdio.h>
+
 
+
int bss_var;        /* Uninitialized global variable */
+
 
+
int data_var = 1;  /* Initialized global variable */
+
 
+
int main(int argc, char **argv)
+
{
+
  void *stack_var;            /* Local variable on the stack */
+
 
+
  stack_var = (void *)main;  /* Don't let the compiler */
+
                              /* optimize it out */
+
 
+
  printf("Hello, World! Main is executing at %p\n", stack_var);
+
  printf("This address (%p) is in our stack frame\n", &stack_var);
+
 
+
  /* bss section contains uninitialized data */
+
  printf("This address (%p) is in our bss section\n", &bss_var);
+
 
+
  /* data section contains initializated data */
+
  printf("This address (%p) is in our data section\n", &data_var);
+
 
+
  return 0;
+
}
+
</pre>
+
|
+
|-
+
| 2-5
+
| 2-22
+
| Hello Output for Host Computer
+
| <pre>
+
Hello, World! Main is executing at 0x400524
+
This address (0x7fff6c261d58) is in our stack frame
+
This address (0x601038) is in our bss section
+
This address (0x601020) is in our data section
+
</pre>
+
| Intel Atom, Ubuntu 9.10 64-bit
+
|-
+
| 2-5
+
| 2-22
+
| Hello Output for Beagle
+
| <pre>
+
Hello, World! Main is executing at 0x8380
+
This address (0xbedddc44) is in our stack frame
+
This address (0x10670) is in our bss section
+
This address (0x10668) is in our data section
+
</pre>
+
| Beagleboard rev C3, Angstrom remote compiled
+
|}
+

Latest revision as of 05:05, 15 March 2011


This page was created when I was taking ECE597. Now I've graduated Rose with a MECE and a BS CPE. I also worked on another project using the BeagleBoard to control a walking four legged robot.

Contributions

Most of my work is with the BeagleBoard hardware. I helped with pages on PWM on the BeagleBoard and I2C on the BeagleBoard. I created the page on Interfacing with the BeagleBoard hardware. This page contains a variety of information on how to make a board to interface with the BeagleBoard, including dealing with power and level shifting.