Difference between revisions of "User:Batydm"
From eLinux.org
(→Listings From Embedded Linux Primer) |
|||
| Line 209: | Line 209: | ||
Hit any key to stop autoboot: 0 | Hit any key to stop autoboot: 0 | ||
DB, TM and MJ -- OMAP3 beagleboard.org # | DB, TM and MJ -- OMAP3 beagleboard.org # | ||
| + | </pre> | ||
| + | |- | ||
| + | | 4-3 | ||
| + | | 4-15 | ||
| + | | | ||
| + | | <pre> | ||
| + | total 423 | ||
| + | drwxr-xr-x 3 batydm students 776 2010-04-28 00:05 . | ||
| + | drwxr-xr-x 87 batydm students 2696 2010-04-28 00:05 .. | ||
| + | -rw-r--r-- 1 batydm students 11124 2010-04-28 00:05 clock.c | ||
| + | -rw-r--r-- 1 batydm students 8805 2010-04-28 00:05 common.c | ||
| + | -rw-r--r-- 1 batydm students 4033 2010-04-28 00:05 cpu-omap.c | ||
| + | -rw-r--r-- 1 batydm students 2192 2010-04-28 00:05 debug-devices.c | ||
| + | -rw-r--r-- 1 batydm students 7170 2010-04-28 00:05 debug-leds.c | ||
| + | -rw-r--r-- 1 batydm students 10914 2010-04-28 00:05 devices.c | ||
| + | -rw-r--r-- 1 batydm students 52795 2010-04-28 00:05 dma.c | ||
| + | -rw-r--r-- 1 batydm students 22660 2010-04-28 00:05 dmtimer.c | ||
| + | -rw-r--r-- 1 batydm students 10055 2010-04-28 00:05 fb.c | ||
| + | -rw-r--r-- 1 batydm students 61383 2010-04-28 00:05 gpio.c | ||
| + | -rw-r--r-- 1 batydm students 5568 2010-04-28 00:05 i2c.c | ||
| + | drwxr-xr-x 3 batydm students 72 2010-04-28 00:05 include | ||
| + | -rw-r--r-- 1 batydm students 6265 2010-04-28 00:05 io.c | ||
| + | -rw-r--r-- 1 batydm students 20789 2010-04-28 00:05 iommu.c | ||
| + | -rw-r--r-- 1 batydm students 9141 2010-04-28 00:05 iommu-debug.c | ||
| + | -rw-r--r-- 1 batydm students 2745 2010-04-28 00:05 iopgtable.h | ||
| + | -rw-r--r-- 1 batydm students 19344 2010-04-28 00:05 iovmm.c | ||
| + | -rw-r--r-- 1 batydm students 4819 2010-04-28 00:05 Kconfig | ||
| + | -rw-r--r-- 1 batydm students 8546 2010-04-28 00:05 mailbox.c | ||
| + | -rw-r--r-- 1 batydm students 882 2010-04-28 00:05 Makefile | ||
| + | -rw-r--r-- 1 batydm students 43754 2010-04-28 00:05 mcbsp.c | ||
| + | -rw-r--r-- 1 batydm students 2263 2010-04-28 00:05 mux.c | ||
| + | -rw-r--r-- 1 batydm students 2739 2010-04-28 00:05 ocpi.c | ||
| + | -rw-r--r-- 1 batydm students 21421 2010-04-28 00:05 omap_device.c | ||
| + | -rw-r--r-- 1 batydm students 7069 2010-04-28 00:05 omap-pm-noop.c | ||
| + | -rw-r--r-- 1 batydm students 12878 2010-04-28 00:05 sram.c | ||
| + | -rw-r--r-- 1 batydm students 18770 2010-04-28 00:05 usb.c | ||
</pre> | </pre> | ||
|} | |} | ||
Revision as of 03:48, 21 May 2010
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 Rose-Hulman Linux Users' Group. I am working 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.
Listings From Embedded Linux Primer
| Number | Page | Caption | Listing | Notes |
|---|---|---|---|---|
| 2-1 | 2-6 | Initial Bootloader Serial Output | 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 # |
This is from a Revision C3 Beagle. |
| 2-2 | 2-7 | Loading the Linux Kernel | 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. |
|
| 2-3 | 2-9 | Linux Final Boot Messages |
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
|
|
| 2-4 | 2-21 | Hello World, Embedded Style |
#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;
}
|
|
| 2-5 | 2-22 | Hello Output for Host Computer | 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 |
Intel Atom, Ubuntu 9.10 64-bit |
| 2-5 | 2-22 | Hello Output for Beagle | 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 |
Beagleboard rev C3, Angstrom remote compiled |
U-Boot 2009.06-rc2 (Apr 13 2010 - 17:33:55) OMAP3530-GP ES3.0, CPU-OPP2 L3-165MHz OMAP3 Beagle board + LPDDR/NAND DRAM: 256 MB NAND: 256 MiB In: serial Out: serial Err: serial 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.06-rc2 (Apr 13 2010 - 17:33:55) OMAP3530-GP ES3.0, CPU-OPP2 L3-165MHz OMAP3 Beagle board + LPDDR/NAND DRAM: 256 MB NAND: 256 MiB In: serial Out: serial Err: serial Board revision C Die ID #5160000300000000040323091101f01a Hit any key to stop autoboot: 0 DB, TM and MJ -- OMAP3 beagleboard.org # | ||||
| 4-3 | 4-15 | total 423 drwxr-xr-x 3 batydm students 776 2010-04-28 00:05 . drwxr-xr-x 87 batydm students 2696 2010-04-28 00:05 .. -rw-r--r-- 1 batydm students 11124 2010-04-28 00:05 clock.c -rw-r--r-- 1 batydm students 8805 2010-04-28 00:05 common.c -rw-r--r-- 1 batydm students 4033 2010-04-28 00:05 cpu-omap.c -rw-r--r-- 1 batydm students 2192 2010-04-28 00:05 debug-devices.c -rw-r--r-- 1 batydm students 7170 2010-04-28 00:05 debug-leds.c -rw-r--r-- 1 batydm students 10914 2010-04-28 00:05 devices.c -rw-r--r-- 1 batydm students 52795 2010-04-28 00:05 dma.c -rw-r--r-- 1 batydm students 22660 2010-04-28 00:05 dmtimer.c -rw-r--r-- 1 batydm students 10055 2010-04-28 00:05 fb.c -rw-r--r-- 1 batydm students 61383 2010-04-28 00:05 gpio.c -rw-r--r-- 1 batydm students 5568 2010-04-28 00:05 i2c.c drwxr-xr-x 3 batydm students 72 2010-04-28 00:05 include -rw-r--r-- 1 batydm students 6265 2010-04-28 00:05 io.c -rw-r--r-- 1 batydm students 20789 2010-04-28 00:05 iommu.c -rw-r--r-- 1 batydm students 9141 2010-04-28 00:05 iommu-debug.c -rw-r--r-- 1 batydm students 2745 2010-04-28 00:05 iopgtable.h -rw-r--r-- 1 batydm students 19344 2010-04-28 00:05 iovmm.c -rw-r--r-- 1 batydm students 4819 2010-04-28 00:05 Kconfig -rw-r--r-- 1 batydm students 8546 2010-04-28 00:05 mailbox.c -rw-r--r-- 1 batydm students 882 2010-04-28 00:05 Makefile -rw-r--r-- 1 batydm students 43754 2010-04-28 00:05 mcbsp.c -rw-r--r-- 1 batydm students 2263 2010-04-28 00:05 mux.c -rw-r--r-- 1 batydm students 2739 2010-04-28 00:05 ocpi.c -rw-r--r-- 1 batydm students 21421 2010-04-28 00:05 omap_device.c -rw-r--r-- 1 batydm students 7069 2010-04-28 00:05 omap-pm-noop.c -rw-r--r-- 1 batydm students 12878 2010-04-28 00:05 sram.c -rw-r--r-- 1 batydm students 18770 2010-04-28 00:05 usb.c |