ECE497 Listings for Embedded Linux Primer Chapter 2

2-1, page 15, Initial Bootloader Serial Output
Texas Instruments X-Loader 1.5.0 (Mar 27 2011 - 17:37:56) Beagle xM Reading boot sector Loading u-boot.bin from mmc

U-Boot 2011.03-rc1-00000-g9a3cc57-dirty (Apr 01 2011 - 17:41:42)

OMAP3630/3730-GP ES2.1, CPU-OPP2, L3-165MHz, Max CPU Clock 1 Ghz OMAP3 Beagle board + LPDDR/NAND I2C:  ready DRAM: 512 MiB NAND: 0 MiB MMC:  OMAP SD/MMC: 0
 * Warning - readenv failed, using default environment

In:   serial Out:  serial Err:  serial Beagle xM Rev C Recognized Tincantools Trainer board (rev 0 0) Die ID #397600029ff80000015f26ad0f01a010 Hit any key to stop autoboot: 0 OMAP3 beagleboard.org #

2-2, page 16, Loading the Linux Kernel
OMAP3 beagleboard.org # boot The user button is currently NOT pressed. SD/MMC found on device 0 reading uEnv.txt

191 bytes read Loaded environment from uEnv.txt Importing environment from mmc ... Running uenvcmd ... Loading file "/boot/uImage" from mmc device 0:2 (xxa2) 3203088 bytes read Booting from mmc ... Image Name:  Angstrom/2.6.32/beagleboard Image Type:  ARM Linux Kernel Image (uncompressed) Data Size:   3203024 Bytes = 3.1 MiB Load Address: 80008000 Entry Point: 80008000 Verifying Checksum ... OK  Loading Kernel Image ... OK OK
 * 1) Booting kernel from Legacy Image at 80200000 ...

Starting kernel ...

Uncompressing Linux................................................................................................................................................................................................................. done, booting the kernel. [   0.000000] Linux version 2.6.32 (koen@dominion) (gcc version 4.3.3 (GCC) ) #3 PREEMPT Tue May 10 10:06:15 CEST 2011 [   0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c53c7f [   0.000000] CPU: VIPT nonaliasing data cache, VIPT nonaliasing instruction cache [   0.000000] Machine: OMAP3 Beagle Board [   0.000000] Memory policy: ECC disabled, Data cache writeback [   0.000000] OMAP3630/DM3730 ES1.0 (l2cache iva sgx neon isp 192mhz_clk ) [   0.000000] SRAM: Mapped pa 0x40200000 to va 0xfe400000 size: 0x100000 [   0.000000] Reserving 25165824 bytes SDRAM for VRAM [   0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 122624 [   0.000000] Kernel command line: console=tty0 console=ttyS2,115200n8 consoleblank=0 mpurate=auto buddy=trainer camera=lbcm3m1 vram=24M omapfb.mode=dvi:hd720 mem=99M@0x80000000 mem=384M@0x88000000 omapfb.vram=0:12M,1:8M,2:4M omapdss.def_disp=dvi root=/dev/mmcblk0p2 rw rootfstype=ext3 rootwait [   0.000000] Beagle expansionboard: trainer [   0.000000] Beagle cameraboard: lbcm3m1 [   0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes) [   0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes) [   0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes) [   0.000000] Memory: 99MB 384MB = 483MB total [   0.000000] Memory: 458496KB available (5900K code, 673K data, 204K init, 0K highmem) [   0.000000] Hierarchical RCU implementation. [   0.000000] NR_IRQS:402 [   0.000000] Clocking rate (Crystal/Core/MPU): 26.0/332/600 MHz [   0.000000] Reprogramming SDRC clock to 332000000 Hz [    0.000000] GPMC revision 5.0 [   0.000000] IRQ: Found an INTC at 0xfa200000 (revision 4.0) with 96 interrupts [   0.000000] Total of 96 interrupts on 1 active controller [   0.000000] OMAP GPIO hardware version 2.5 [   0.000000] OMAP clockevent source: GPTIMER12 at 32768 Hz [    0.000000] Console: colour dummy device 80x30 [   0.000000] console [tty0] enabled [   0.000000] Calibrating delay loop... 512.57 BogoMIPS (lpj=2002944) [   0.000000] Mount-cache hash table entries: 512 [   0.000000] CPU: Testing write buffer coherency: ok [    0.000000] tmpfs: No value for mount option 'mode' [   0.000000] devtmpfs: initialized [   0.000000] regulator: core version 0.5 [   0.000000] NET: Registered protocol family 16 [   0.000000] OMAP3 Beagle Rev: xM C [    0.000000] Beagle cameraboard: registering i2c2 bus for lbcm3m1 [   0.000000] Beagle expansionboard: exporting GPIOs 130-141,162 to userspace [   0.000000] Found NAND on CS0 [   0.000000] Registering NAND on CS0 [   0.000000] Unable to get DVI reset GPIO [   0.000000] omap_init_mbox: platform not supported [67893.378204] OMAP DMA hardware revision 5.0 [67893.384765] bio: create slab  at 0 [67893.386047] SCSI subsystem initialized [67893.387451] usbcore: registered new interface driver usbfs [67893.387634] usbcore: registered new interface driver hub [67893.387817] usbcore: registered new device driver usb [67893.399810] i2c_omap i2c_omap.1: bus 1 rev4.0 at 2600 kHz [67893.402465] twl4030: PIH (irq 7) chaining IRQs 368..375 [67893.402526] twl4030: power (irq 373) chaining IRQs 376..383 [67893.402832] twl4030: gpio (irq 368) chaining IRQs 384..401 [67893.404571] regulator: VUSB1V5: 1500 mV normal standby [67893.404815] regulator: VUSB1V8: 1800 mV normal standby [67893.405059] regulator: VUSB3V1: 3100 mV normal standby [67893.406341] twl4030_usb twl4030_usb: Initialized TWL4030 USB module [67893.406829] regulator: VMMC1: 1850 <--> 3150 mV normal standby [67893.407104] regulator: VDAC: 1800 mV normal standby [67893.407379] regulator: VPLL2: 1800 mV normal standby [67893.407653] regulator: VSIM: 1800 <--> 3000 mV normal standby [67893.408020] regulator: VAUX3: 1800 mV normal standby [67893.408355] regulator: VAUX4: 1800 mV normal standby [67893.408569] i2c_omap i2c_omap.2: bus 2 rev4.0 at 400 kHz [67893.419860] i2c_omap i2c_omap.3: bus 3 rev4.0 at 100 kHz [67893.421081] Switching to clocksource 32k_counter [67893.430236] musb_hdrc: version 6.0, musb-dma, otg (peripheral+host), debug=0 [67893.433990] musb_hdrc: USB OTG mode controller at fa0ab000 using DMA, IRQ 92 [67893.434051] musb_hdrc musb_hdrc: MUSB HDRC host driver [67893.434204] musb_hdrc musb_hdrc: new USB bus registered, assigned bus number 1 [67893.434356] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002 [67893.434417] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [67893.434448] usb usb1: Product: MUSB HDRC host driver [67893.434478] usb usb1: Manufacturer: Linux 2.6.32 musb-hcd [67893.434509] usb usb1: SerialNumber: musb_hdrc [67893.435150] hub 1-0:1.0: USB hub found [67893.435241] hub 1-0:1.0: 1 port detected [67893.436279] NET: Registered protocol family 2 [67893.436553] IP route cache hash table entries: 4096 (order: 2, 16384 bytes) [67893.437164] TCP established hash table entries: 16384 (order: 5, 131072 bytes) [67893.437591] TCP bind hash table entries: 16384 (order: 4, 65536 bytes) [67893.437805] TCP: Hash tables configured (established 16384 bind 16384) [67893.437866] TCP reno registered [67893.437866] UDP hash table entries: 256 (order: 0, 4096 bytes) [67893.437927] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes) [67893.438201] NET: Registered protocol family 1 [67893.438659] RPC: Registered udp transport module. [67893.438690] RPC: Registered tcp transport module. [67893.438720] RPC: Registered tcp NFSv4.1 backchannel transport module. [67893.439605] omap-iommu omap-iommu.0: isp registered [67893.441345] VFS: Disk quotas dquot_6.5.2 [67893.441497] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes) [67893.442565] squashfs: version 4.0 (2009/01/31) Phillip Lougher [67893.443389] JFFS2 version 2.2. (NAND) (SUMMARY) © 2001-2006 Red Hat, Inc. [67893.444244] msgmni has been set to 896 [67893.448028] alg: No test for stdrng (krng) [67893.448333] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 254) [67893.448394] io scheduler noop registered [67893.448425] io scheduler deadline registered [67893.448608] io scheduler cfq registered (default) [67893.507293] OMAP DSS rev 2.0 [67893.507385] OMAP DISPC rev 3.0 [67893.507446] OMAP VENC rev 2 [67893.507690] OMAP DSI rev 1.0 [67893.844238] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled [67893.862609] serial8250.0: ttyS0 at MMIO 0x4806a000 (irq = 72) is a ST16654 [67893.880371] serial8250.1: ttyS1 at MMIO 0x4806c000 (irq = 73) is a ST16654 [67893.898040] serial8250.2: ttyS2 at MMIO 0x49020000 (irq = 74) is a ST16654 [67894.484802] console [ttyS2] enabled [67894.495178] brd: module loaded [67894.501525] loop: module loaded [67894.505950] omap2-nand driver initializing [67894.510406] No NAND device found!!! [67894.514068] No NAND device found!!! [67894.518615] usbcore: registered new interface driver catc [67894.524139] catc: v2.8:CATC EL1210A NetMate USB Ethernet driver [67894.530212] usbcore: registered new interface driver kaweth [67894.535888] pegasus: v0.6.14 (2006/09/27), Pegasus/Pegasus II USB Ethernet driver [67894.543548] usbcore: registered new interface driver pegasus [67894.549285] rtl8150: v0.6.2 (2004/08/27):rtl8150 based usb-ethernet driver [67894.556335] usbcore: registered new interface driver rtl8150 [67894.562133] usbcore: registered new interface driver asix [67894.567657] usbcore: registered new interface driver cdc_ether [67894.573669] usbcore: registered new interface driver dm9601 [67894.579406] usbcore: registered new interface driver smsc95xx [67894.585327] usbcore: registered new interface driver gl620a [67894.591003] usbcore: registered new interface driver net1080 [67894.596832] usbcore: registered new interface driver plusb [67894.602478] usbcore: registered new interface driver rndis_host [67894.608520] usbcore: registered new interface driver cdc_subset [67894.614593] usbcore: registered new interface driver zaurus [67894.620330] usbcore: registered new interface driver MOSCHIP usb-ethernet driver [67894.628448] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [67894.635314] ehci-omap ehci-omap.0: OMAP-EHCI Host Controller [67894.641357] ehci-omap ehci-omap.0: new USB bus registered, assigned bus number 2 [67894.648986] ehci-omap ehci-omap.0: irq 77, io mem 0x48064800 [67894.663452] ehci-omap ehci-omap.0: USB 2.0 started, EHCI 1.00 [67894.669372] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002 [67894.676239] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [67894.683563] usb usb2: Product: OMAP-EHCI Host Controller [67894.688964] usb usb2: Manufacturer: Linux 2.6.32 ehci_hcd [67894.694427] usb usb2: SerialNumber: ehci-omap.0 [67894.699676] hub 2-0:1.0: USB hub found [67894.703552] hub 2-0:1.0: 3 ports detected [67894.733856] Initializing USB Mass Storage driver... [67894.738952] usbcore: registered new interface driver usb-storage [67894.745056] USB Mass Storage support registered. [67894.750122] mice: PS/2 mouse device common for all mice [67894.755798] input: gpio-keys as /devices/platform/gpio-keys/input/input0 [67894.763641] input: twl4030_pwrbutton as /devices/platform/i2c_omap.1/i2c-1/1-0049/twl4030_pwrbutton/input/input1 [67894.774414] i2c /dev entries driver [67894.778533] Linux video capture interface: v2.00 [67894.783538] omap-iommu omap-iommu.0: isp: version 1.1 [67894.790283] vpfe_init [67894.793151] OMAP Watchdog Timer Rev 0x31: initial timeout 60 sec [67894.799957] cpuidle: using governor ladder [67894.804168] cpuidle: using governor menu [67894.913726] mmci-omap-hs mmci-omap-hs.1: err -16 configuring card detect [67894.920806] Registered led device: beagleboard::usr0 [67894.925994] Registered led device: beagleboard::usr1 [67894.932525] Registered led device: beagleboard::pmu_stat [67894.939544] usbcore: registered new interface driver usbhid [67894.945220] usbhid: USB HID core driver [67894.949249] Advanced Linux Sound Architecture Driver Version 1.0.21. [67894.956207] usbcore: registered new interface driver snd-usb-audio [67895.031890] usb 2-2: new high speed USB device using ehci-omap and address 2 [67895.039703] No device for DAI omap-mcbsp-dai-0 [67895.044219] No device for DAI omap-mcbsp-dai-1 [67895.048736] No device for DAI omap-mcbsp-dai-2 [67895.053222] No device for DAI omap-mcbsp-dai-3 [67895.057739] No device for DAI omap-mcbsp-dai-4 [67895.062255] OMAP3 Beagle SoC init [67895.066406] asoc: twl4030 <-> omap-mcbsp-dai-0 mapping ok [67895.078002] ALSA device list: [67895.081024]  #0: omap3beagle (twl4030) [67895.084991] oprofile: using arm/armv7 [67895.088958] TCP cubic registered [67895.092254] NET: Registered protocol family 17 [67895.096832] NET: Registered protocol family 15 [67895.101440] lib80211: common routines for IEEE802.11 drivers [67895.107177] ThumbEE CPU extension supported. [67895.111541] Power Management for TI OMAP3. [67895.116943] SmartReflex driver initialized [67895.121246] omap3beaglelmb: Driver registration complete [67895.135131] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3 [67895.143402] registered taskstats version 1 [67895.211151] usb 2-2: New USB device found, idVendor=0424, idProduct=9514 [67895.217926] usb 2-2: New USB device strings: Mfr=0, Product=0, SerialNumber=0 [67895.225738] hub 2-2:1.0: USB hub found [67895.229827] hub 2-2:1.0: 5 ports detected [67895.331817] Console: switching to colour frame buffer device 160x45 [67895.353759] regulator_init_complete: incomplete constraints, leaving VAUX4 on [67895.361389] regulator_init_complete: incomplete constraints, leaving VAUX3 on [67895.369354] regulator_init_complete: incomplete constraints, leaving VDAC on [67895.377380] omap_vout omap_vout: probed for an unknown device [67895.383697] Waiting for root device /dev/mmcblk0p2... [67895.554321] usb 2-2.1: new high speed USB device using ehci-omap and address 3 [67895.679718] usb 2-2.1: New USB device found, idVendor=0424, idProduct=ec00 [67895.686889] usb 2-2.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0 [67895.697235] smsc95xx v1.0.4 [67895.754638] usb0: register 'smsc95xx' at usb-ehci-omap.0-2.1, smsc95xx USB 2.0 Ethernet, ea:ac:56:d7:33:08 [67895.851013] mmc0: host does not support reading read-only switch. assuming write-enable. [67895.863037] mmc0: new high speed SDHC card at address b368 [67895.872375] usb 2-2.2: new high speed USB device using ehci-omap and address 4 [67895.883789] mmcblk0: mmc0:b368 G5334 7.45 GiB [67895.892333] mmcblk0: p1 p2 p3 [67895.933349] EXT3-fs (mmcblk0p2): warning: maximal mount count reached, running e2fsck is recommended [67895.946777] kjournald starting. Commit interval 5 seconds [67895.960113] EXT3-fs (mmcblk0p2): using internal journal [67895.969543] EXT3-fs (mmcblk0p2): mounted filesystem with writeback data mode [67895.980957] VFS: Mounted root (ext3 filesystem) on device 179:2. [67895.991638] usb 2-2.2: device descriptor read/64, error 18 [67896.002227] devtmpfs: mounted [67896.009552] Freeing init memory: 204K INIT: version 2.86 booting [67896.202636] usb 2-2.2: device descriptor read/64, error 18 Please wait: booting... Starting udev [67896.406005] usb 2-2.2: new high speed USB device using ehci-omap and address 5 [67896.507385] usb 2-2.2: device descriptor read/64, error 18 [67896.710510] usb 2-2.2: device descriptor read/64, error 18 [67896.736145] udev: starting version 151 [67896.914398] usb 2-2.2: new high speed USB device using ehci-omap and address 6 [67897.304229] usb 2-2.2: device descriptor read/8, error -61 [67898.018005] usb 2-2.2: device descriptor read/8, error -61 Remounting root file system... [67898.640197] usb 2-2.2: new high speed USB device using ehci-omap and address 7 [67898.682220] usb 2-2.2: device descriptor read/8, error -61 [67898.822387] usb 2-2.2: device descriptor read/8, error -61 [67898.937194] hub 2-2:1.0: unable to enumerate USB device on port 2 [67899.187438] usb 2-2.3: new high speed USB device using ehci-omap and address 8 [67899.315307] usb 2-2.3: New USB device found, idVendor=1415, idProduct=2000 [67899.326599] usb 2-2.3: New USB device strings: Mfr=1, Product=2, SerialNumber=0 [67899.338287] usb 2-2.3: Product: USB Camera-B4.04.27.1 [67899.347686] usb 2-2.3: Manufacturer: OmniVision Technologies, Inc. [67899.468444] usb 2-2.4: new low speed USB device using ehci-omap and address 9 [67899.598205] usb 2-2.4: New USB device found, idVendor=046d, idProduct=c016 [67899.609710] usb 2-2.4: New USB device strings: Mfr=1, Product=2, SerialNumber=0 [67899.622039] usb 2-2.4: Product: Optical USB Mouse [67899.631195] usb 2-2.4: Manufacturer: Logitech [67899.653747] input: Logitech Optical USB Mouse as /devices/platform/ehci-omap.0/usb2/2-2/2-2.4/2-2.4:1.0/input/input2 [67899.699218] generic-usb 0003:046D:C016.0001: input: USB HID v1.10 Mouse [Logitech Optical USB Mouse] on usb-ehci-omap.0-2.4/input0 [67899.843414] usb 2-2.5: new low speed USB device using ehci-omap and address 10 [67899.973419] usb 2-2.5: New USB device found, idVendor=04f3, idProduct=0103 [67899.985626] usb 2-2.5: New USB device strings: Mfr=0, Product=0, SerialNumber=0 [67900.010375] input: HID 04f3:0103 as /devices/platform/ehci-omap.0/usb2/2-2/2-2.5/2-2.5:1.0/input/input3 [67900.053283] generic-usb 0003:04F3:0103.0002: input: USB HID v1.10 Keyboard [HID 04f3:0103] on usb-ehci-omap.0-2.5/input0 [67900.103973] input: HID 04f3:0103 as /devices/platform/ehci-omap.0/usb2/2-2/2-2.5/2-2.5:1.1/input/input4 [67900.151824] generic-usb 0003:04F3:0103.0003: input: USB HID v1.10 Device [HID 04f3:0103] on usb-ehci-omap.0-2.5/input1 [67902.766662] gspca: main v2.8.0 registered [67902.803833] gspca: probing 1415:2000 [67902.972869] ov534: Sensor ID: 7721 [67903.074249] ov534: frame_rate: 30 [67903.083465] gspca: /dev/video0 created [67903.093078] usbcore: registered new interface driver ov534 [67903.103271] ov534: registered

udevadm settle - timeout of 8 seconds reached, the event queue contains: /sys/devices/platform/mmci-omap-hs.0/mmc_host/mmc0/mmc0:b368/block/mmcblk0/mmcblk0p1 (631) /sys/devices/platform/mmci-omap-hs.0/mmc_host/mmc0/mmc0:b368/block/mmcblk0/mmcblk0p2 (632) /sys/devices/platform/mmci-omap-hs.0/mmc_host/mmc0/mmc0:b368/block/mmcblk0/mmcblk0p3 (633) Caching udev devnodes Populating dev cache [67909.875183] Bluetooth: Core ver 2.15 [67909.884857] NET: Registered protocol family 31 [67909.894012] Bluetooth: HCI device and connection manager initialized [67909.905029] Bluetooth: HCI socket layer initialized [67910.394256] EXT4-fs (mmcblk0p3): mounted filesystem with ordered data mode [67910.940734] Bluetooth: L2CAP ver 2.14 [67910.949218] Bluetooth: L2CAP socket layer initialized [67910.973052] Bluetooth: HIDP (Human Interface Emulation) ver 1.2 [67911.089294] NET: Registered protocol family 10 [67911.153808] NET: Registered protocol family 23 [67911.177642] IrCOMM protocol (Dag Brattli) [67911.282104] Bluetooth: RFCOMM TTY layer initialized [67911.292144] Bluetooth: RFCOMM socket layer initialized [67911.301910] Bluetooth: RFCOMM ver 1.11 ALSA: Restoring mixer settings... Cleaning: /etc/network/run/ifstate. No state is present for card CameraB404271 /usr/sbin/alsactl: parse:1655: Unable to open file '/usr/share/alsa/init/00main': No such file or directory No state is present for card CameraB404271 Configuring network interfaces... eth0: unknown interface: No such device eth0: unknown interface: No such device eth0     No such device

Internet Systems Consortium DHCP Client 4.1.1-P1 Copyright 2004-2010 Internet Systems Consortium. All rights reserved. For info, please visit https://www.isc.org/software/dhcp/

SIOCSIFADDR: No such device eth0: unknown interface: No such device eth0: unknown interface: No such device Bind socket to interface: No such device

If you did not get this software from ftp.isc.org, please get the latest from ftp.isc.org and install that before requesting help.

If you did get this software from ftp.isc.org and have not yet read the README, please read it before requesting help. If you intend to request help from the dhcp-server@isc.org mailing list, please read the section on the README about submitting bug reports and requests for help.

Please do not under any circumstances send requests for help directly to the authors of this software - please send them to the appropriate mailing list as described in the README file.

exiting. Failed to bring up eth0. usb0     no wireless extensions.

Internet Systems Consortium DHCP Client 4.1.1-P1 Copyright 2004-2010 Internet Systems Consortium. All rights reserved. For info, please visit https://www.isc.org/software/dhcp/

Listening on LPF/usb0/0a:8e:bd:f8:7c:7d Sending on  LPF/usb0/0a:8e:bd:f8:7c:7d Sending on  Socket/fallback DHCPREQUEST on usb0 to 255.255.255.255 port 67 DHCPREQUEST on usb0 to 255.255.255.255 port 67 DHCPREQUEST on usb0 to 255.255.255.255 port 67 DHCPDISCOVER on usb0 to 255.255.255.255 port 67 interval 6 DHCPDISCOVER on usb0 to 255.255.255.255 port 67 interval 9 DHCPDISCOVER on usb0 to 255.255.255.255 port 67 interval 11 DHCPDISCOVER on usb0 to 255.255.255.255 port 67 interval 21 DHCPDISCOVER on usb0 to 255.255.255.255 port 67 interval 8 DHCPDISCOVER on usb0 to 255.255.255.255 port 67 interval 6 No DHCPOFFERS received. Trying recorded lease 192.168.1.104 PING 192.168.1.1 (192.168.1.1): 56 data bytes 64 bytes from 192.168.1.104: Destination Host Unreachable Vr HL TOS Len   ID Flg  off TTL Pro  cks      Src      Dst Data 4 5  00 5400 0000   0 0040  40  01 efb6 192.168.1.104  192.168.1.1 --- 192.168.1.1 ping statistics --- 1 packets transmitted, 0 packets received, 100% packet loss No working leases in persistent database - sleeping. done. Starting portmap daemon: portmap. 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 Thu Dec 29 16:02:00 GMT 2011 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::pmu_stat: none beagleboard::usr0: heartbeat beagleboard::usr1: mmc0 Starting Dropbear SSH server: dropbear. Starting advanced power management daemon: No APM support in kernel (failed.) Starting Vixie-cron. Starting Samba: smbd nmbd. Starting syslog-ng:. Starting internet superserver: xinetd. * Starting Avahi mDNS/DNS-SD Daemon: avahi-daemon [ ok ] Starting Network connection manager daemon: NetworkManager. Starting PVR cups: started scheduler. Starting GNOME Display Manager gdm

.---.                                          '---'---'--'--'--.  |---'  '-'-'-'-'                -'  |                '---'
 * |    | __  |  ---'| '--.|  .-'|     |     |
 * |    | __  |  ---'| '--.|  .-'|     |     |
 * |    | __  |  ---'| '--.|  .-'|     |     |

The Angstrom Distribution beagleboard ttyS2

Angstrom 2010.7-test-20110220 beagleboard ttyS2

beagleboard login: root root@beagleboard:~#

2-X, page X, Shutdown messages
root@beagleboard:~# shutdown -r now �Broadcast message from root (ttyS2) (Thu Dec 29 16:02:35 2011):

The system is going down for reboot NOW! INIT: INIT: Sending processes the TERM signal Deconfiguring leds: beagleboard::pmu_stat: no trigger beagleboard::usr0: no trigger beagleboard::usr1: no trigger Stopping Dropbear SSH server: dropbear. * Stopping Avahi mDNS/DNS-SD Daemon: avahi-daemon [ ok ] Stopping advanced power management daemon: No /usr/sbin/apmd found running; none killed. apmd. Stopping Vixie-cron. Stopping Hardware abstraction layer hald Stopping system message bus: dbus. Stopping GNOME Display Manager gdm Stopping Samba: smbd nmbd. Stopping internet superserver: xinetd. Stopping Network connection manager daemon: NetworkManager. ALSA: Storing mixer settings... /usr/sbin/alsactl: get_control:259: Cannot read control '2,0,0,Mic Capture Volume,0': Invalid argument Deconfiguring network interfaces... Internet Systems Consortium DHCP Client 4.1.1-P1 Copyright 2004-2010 Internet Systems Consortium. All rights reserved. For info, please visit https://www.isc.org/software/dhcp/

Listening on LPF/usb0/92:93:b0:18:e8:b6 Sending on  LPF/usb0/92:93:b0:18:e8:b6 Sending on  Socket/fallback DHCPRELEASE on usb0 to 192.168.1.1 port 67 send_packet: Network is unreachable send_packet: please consult README file regarding broadcast address. done. Stopping PVR Stopping syslog-ng:. Sending all processes the TERM signal... Sending all processes the KILL signal... hwclock: can't open '/dev/misc/rtc': No such file or directory Unmounting remote filesystems... Stopping portmap daemon: portmap. Deactivating swap... Unmounting local filesystems... Rebooting... [67884.488464] Restarting system.

2-X, page X, ifconfig
root@beagleboard:~# ifconfig eth0     Link encap:Ethernet  HWaddr 00:50:B6:06:C4:57 inet addr:137.112.41.87 Bcast:137.112.41.255  Mask:255.255.255.0 inet6 addr: fe80::250:b6ff:fe06:c457/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500  Metric:1 RX packets:114 errors:0 dropped:0 overruns:0 frame:0 TX packets:119 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:20167 (19.6 KiB) TX bytes:18480 (18.0 KiB)

lo       Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436  Metric:1 RX packets:4 errors:0 dropped:0 overruns:0 frame:0 TX packets:4 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:240 (240.0 b) TX bytes:240 (240.0 b)

usb0     Link encap:Ethernet  HWaddr BA:F7:63:C8:BC:A0 inet6 addr: fe80::b8f7:63ff:fec8:bca0/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1492  Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:19 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 b) TX bytes:3656 (3.5 KiB)

root@beagleboard:~#

2-3, page 18, Linux Final Boot Messages
[67895.991638] usb 2-2.2: device descriptor read/64, error 18 [67896.002227] devtmpfs: mounted [67896.009552] Freeing init memory: 204K INIT: version 2.86 booting [67896.202636] usb 2-2.2: device descriptor read/64, error 18 Please wait: booting... Starting udev

2-4, page 29, Hello World, Embedded Style

 * 1) include 

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, page 29, Hello Output for Host Computer
host$ gcc helloWorld.c host$ ./a.out Hello, World! Main is executing at 0x80483e4 This address (0xbfb1890c) is in our stack frame This address (0x804a020) is in our bss section This address (0x804a014) is in our data section

2-5, page 29, Hello Output for Beagle
beagle$ gcc helloWorld.c beagle$ ./a.out Hello, World! Main is executing at 0x8380 This address (0xbea116c4) is in our stack frame This address (0x10670) is in our bss section This address (0x10668) is in our data section