ECE497 Listings for Embedded Linux Primer Chapter 5

From eLinux.org
Revision as of 19:49, 16 March 2011 by Yoder (Talk | contribs) (Update Listing 5-3 2011)

Jump to: navigation, search
Number Page Caption Listing
5-1 5-2 Final Kernel Build Sequence: ARM/BeagleBoard
$ export OETREE="${HOME}/oe"
$ PATH=${OETREE}/angstrom-dev/staging/i686-linux/usr/bin/:${PATH}
$ PATH=${OETREE}/angstrom-dev/cross/armv7a/bin/:${PATH}
$ make CROSS_COMPILE=arm-angstrom-linux-gnueabi- uImage
... < many build steps omitted for clarity >
  LD      vmlinux
  SYSMAP  System.map
  SYSMAP  .tmp_System.map
  OBJCOPY arch/arm/boot/Image
  Kernel: arch/arm/boot/Image is ready
  GZIP    arch/arm/boot/compressed/piggy.gz
  AS      arch/arm/boot/compressed/piggy.o
  LD      arch/arm/boot/compressed/vmlinux
  OBJCOPY arch/arm/boot/zImage
  Kernel: arch/arm/boot/zImage is ready
  UIMAGE  arch/arm/boot/uImage
Image Name:   Linux-2.6.29-omap1
Created:      Tue Mar  9 12:58:27 2010
Image Type:   ARM Linux Kernel Image (uncompressed)
Data Size:    2991236 Bytes = 2921.13 kB = 2.85 MB
Load Address: 0x80008000
Entry Point:  0x80008000
  Image arch/arm/boot/uImage is ready
5-2 5-5 Assembly File .../arch/arm/boot/compressed/piggy.S
	.section .piggydata,#alloc
	.globl	input_data
input_data:
	.incbin	"arch/arm/boot/compressed/piggy.gz"
	.globl	input_data_end
input_data_end:
5-3 106 Final Kernel Build Sequence: ARM/BeagleBoard
Texas Instruments X-Loader 1.4.4ss (Aug 19 2010 - 02:49:27)
Beagle xM Rev A
Reading boot sector
Loading u-boot.bin from mmc


U-Boot 2010.03-dirty (Aug 20 2010 - 20:50:46)

OMAP3630/3730-GP ES1.0, CPU-OPP2, L3-165MHz, 
OMAP3 Beagle board + LPDDR/NAND
I2C:   ready
DRAM:  512 MB
NAND:  0 MiB
*** Warning - bad CRC or NAND, using default environment

In:    serial
Out:   serial
Err:   serial

Probing for expansion boards, if none are connected you'll see a harmless I2C error.

No EEPROM on expansion board
Beagle xM Rev A
Die ID #34780000061000000156166b0a02300a
Hit any key to stop autoboot:  3 ��� 2 ��� 1 ��� 0 
mmc1 is available
The user button is currently NOT pressed.
reading boot.scr

687 bytes read
Running bootscript from mmc ...
## Executing script at 80200000
mmc1 is available
reading uImage

3193476 bytes read
Booting from mmc ...
## Booting kernel from Legacy Image at 80200000 ...
   Image Name:   Angstrom/2.6.32/beagleboard
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    3193412 Bytes =  3 MB
   Load Address: 80008000
   Entry Point:  80008000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
OK

Starting kernel ...

Uncompressing Linux................................................................................................................................................................................................................ done, booting the kernel.
[    0.000000] Linux version 2.6.32 (daniel@kids-laptop) (gcc version 4.3.3 (GCC) ) #3 PREEMPT Tue Nov 2 18:38:11 CDT 2010
[    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 16777216 bytes SDRAM for VRAM
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 117760
[    0.000000] Kernel command line: console=ttyS2,115200n8 mem=80M@0x80000000 mem=384M@0x88000000 mpurate=1000 buddy=none camera=lbcm3m1 vram=16M omapfb.vram=0:8M,1:4M,2:4M omapfb.mode=dvi:hd720 omapdss.def_disp=dvi root=/dev/mmcblk0p2 rw rootfstype=ext3 rootwait
[    0.000000] Beagle expansionboard: none
[    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: 80MB 384MB = 464MB total
[    0.000000] Memory: 447360KB available (5880K code, 671K 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] Calibrating delay loop... 533.58 BogoMIPS (lpj=2084864)
[    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] Beagle cameraboard: registering i2c2 bus for lbcm3m1
[    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
[    0.000000] Target VDD1 OPP = 4, VDD2 OPP = 2
[36907.893096] OMAP DMA hardware revision 5.0
[36907.899261] bio: create slab <bio-0> at 0
[36907.900482] SCSI subsystem initialized
[36907.901763] usbcore: registered new interface driver usbfs
[36907.901916] usbcore: registered new interface driver hub
[36907.902069] usbcore: registered new device driver usb
[36907.902435] i2c_omap i2c_omap.1: bus 1 rev4.0 at 2600 kHz
[36907.905120] twl4030: PIH (irq 7) chaining IRQs 368..375
[36907.905151] twl4030: power (irq 373) chaining IRQs 376..383
[36907.905426] twl4030: gpio (irq 368) chaining IRQs 384..401
[36907.907104] regulator: VUSB1V5: 1500 mV normal standby
[36907.907348] regulator: VUSB1V8: 1800 mV normal standby
[36907.907562] regulator: VUSB3V1: 3100 mV normal standby
[36907.908782] twl4030_usb twl4030_usb: Initialized TWL4030 USB module
[36907.909149] regulator: VMMC1: 1850 <--> 3150 mV normal standby
[36907.909423] regulator: VDAC: 1800 mV normal standby
[36907.909637] regulator: VPLL2: 1800 mV normal standby
[36907.909881] regulator: VSIM: 1800 <--> 3000 mV normal standby
[36907.910217] regulator: VAUX3: 1800 mV normal standby
[36907.910614] regulator: VAUX4: 1800 mV normal standby
[36907.924316] i2c_omap i2c_omap.2: bus 2 rev4.0 at 400 kHz
[36907.938201] i2c_omap i2c_omap.3: bus 3 rev4.0 at 100 kHz
[36907.939392] Switching to clocksource 32k_counter
[36907.948394] musb_hdrc: version 6.0, musb-dma, otg (peripheral+host), debug=0
[36907.952239] musb_hdrc: USB OTG mode controller at fa0ab000 using DMA, IRQ 92
[36907.952239] musb_hdrc musb_hdrc: MUSB HDRC host driver
[36907.952362] musb_hdrc musb_hdrc: new USB bus registered, assigned bus number 1
[36907.952514] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[36907.952514] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[36907.952545] usb usb1: Product: MUSB HDRC host driver
[36907.952545] usb usb1: Manufacturer: Linux 2.6.32 musb-hcd
[36907.952575] usb usb1: SerialNumber: musb_hdrc
[36907.953186] hub 1-0:1.0: USB hub found
[36907.953216] hub 1-0:1.0: 1 port detected
[36907.954254] NET: Registered protocol family 2
[36907.954467] IP route cache hash table entries: 4096 (order: 2, 16384 bytes)
[36907.955017] TCP established hash table entries: 16384 (order: 5, 131072 bytes)
[36907.955474] TCP bind hash table entries: 16384 (order: 4, 65536 bytes)
[36907.955688] TCP: Hash tables configured (established 16384 bind 16384)
[36907.955688] TCP reno registered
[36907.955718] UDP hash table entries: 256 (order: 0, 4096 bytes)
[36907.955749] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[36907.955993] NET: Registered protocol family 1
[36907.956420] RPC: Registered udp transport module.
[36907.956420] RPC: Registered tcp transport module.
[36907.956451] RPC: Registered tcp NFSv4.1 backchannel transport module.
[36907.957305] omap-iommu omap-iommu.0: isp registered
[36907.959014] VFS: Disk quotas dquot_6.5.2
[36907.959106] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[36907.960144] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[36907.960937] JFFS2 version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
[36907.961730] msgmni has been set to 874
[36907.965515] alg: No test for stdrng (krng)
[36907.965789] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 254)
[36907.965820] io scheduler noop registered
[36907.965850] io scheduler deadline registered
[36907.965972] io scheduler cfq registered (default)
[36908.025604] OMAP DSS rev 2.0
[36908.025665] OMAP DISPC rev 3.0
[36908.025726] OMAP VENC rev 2
[36908.025970] OMAP DSI rev 1.0
[36908.362426] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[36908.381408] serial8250.0: ttyS0 at MMIO 0x4806a000 (irq = 72) is a ST16654
[36908.399780] serial8250.1: ttyS1 at MMIO 0x4806c000 (irq = 73) is a ST16654
[36908.418121] serial8250.2: ttyS2 at MMIO 0x49020000 (irq = 74) is a ST16654
[36908.990447] console [ttyS2] enabled
[36909.000549] brd: module loaded
[36909.006866] loop: module loaded
[36909.011291] omap2-nand driver initializing
[36909.015655] No NAND device found!!!
[36909.019378] No NAND device found!!!
[36909.023864] usbcore: registered new interface driver catc
[36909.029357] catc: v2.8:CATC EL1210A NetMate USB Ethernet driver
[36909.035430] usbcore: registered new interface driver kaweth
[36909.041076] pegasus: v0.6.14 (2006/09/27), Pegasus/Pegasus II USB Ethernet driver
[36909.048675] usbcore: registered new interface driver pegasus
[36909.054382] rtl8150: v0.6.2 (2004/08/27):rtl8150 based usb-ethernet driver
[36909.061401] usbcore: registered new interface driver rtl8150
[36909.067199] usbcore: registered new interface driver asix
[36909.072723] usbcore: registered new interface driver cdc_ether
[36909.078643] usbcore: registered new interface driver dm9601
[36909.084350] usbcore: registered new interface driver smsc95xx
[36909.090240] usbcore: registered new interface driver gl620a
[36909.095947] usbcore: registered new interface driver net1080
[36909.101715] usbcore: registered new interface driver plusb
[36909.107330] usbcore: registered new interface driver rndis_host
[36909.113372] usbcore: registered new interface driver cdc_subset
[36909.119415] usbcore: registered new interface driver zaurus
[36909.125091] usbcore: registered new interface driver MOSCHIP usb-ethernet driver
[36909.133178] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[36909.139984] ehci-omap ehci-omap.0: OMAP-EHCI Host Controller
[36909.146026] ehci-omap ehci-omap.0: new USB bus registered, assigned bus number 2
[36909.153625] ehci-omap ehci-omap.0: irq 77, io mem 0x48064800
[36909.173797] ehci-omap ehci-omap.0: USB 2.0 started, EHCI 1.00
[36909.179687] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
[36909.186553] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[36909.193847] usb usb2: Product: OMAP-EHCI Host Controller
[36909.199218] usb usb2: Manufacturer: Linux 2.6.32 ehci_hcd
[36909.204650] usb usb2: SerialNumber: ehci-omap.0
[36909.209869] hub 2-0:1.0: USB hub found
[36909.213714] hub 2-0:1.0: 3 ports detected
[36909.244354] Initializing USB Mass Storage driver...
[36909.249420] usbcore: registered new interface driver usb-storage
[36909.255523] USB Mass Storage support registered.
[36909.260528] mice: PS/2 mouse device common for all mice
[36909.266174] input: gpio-keys as /devices/platform/gpio-keys/input/input0
[36909.273986] input: twl4030_pwrbutton as /devices/platform/i2c_omap.1/i2c-1/1-0049/twl4030_pwrbutton/input/input1
[36909.284698] i2c /dev entries driver
[36909.288787] Linux video capture interface: v2.00
[36909.293762] omap-iommu omap-iommu.0: isp: version 1.1
[36909.300140] vpfe_init
[36909.303009] OMAP Watchdog Timer Rev 0x31: initial timeout 60 sec
[36909.416534] mmci-omap-hs mmci-omap-hs.1: err -16 configuring card detect
[36909.423553] Registered led device: beagleboard::usr0
[36909.428710] Registered led device: beagleboard::usr1
[36909.435241] Registered led device: beagleboard::pmu_stat
[36909.442291] usbcore: registered new interface driver usbhid
[36909.447967] usbhid: USB HID core driver
[36909.451995] Advanced Linux Sound Architecture Driver Version 1.0.21.
[36909.458923] usbcore: registered new interface driver snd-usb-audio
[36909.541015] usb 2-2: new high speed USB device using ehci-omap and address 2
[36909.548767] No device for DAI omap-mcbsp-dai-0
[36909.553283] No device for DAI omap-mcbsp-dai-1
[36909.557800] No device for DAI omap-mcbsp-dai-2
[36909.562255] No device for DAI omap-mcbsp-dai-3
[36909.566772] No device for DAI omap-mcbsp-dai-4
[36909.571228] OMAP3 Beagle SoC init
[36909.575408] asoc: twl4030 <-> omap-mcbsp-dai-0 mapping ok
[36909.586822] ALSA device list:
[36909.589874]   #0: omap3beagle (twl4030)
[36909.593811] oprofile: using arm/armv7
[36909.597778] TCP cubic registered
[36909.601043] NET: Registered protocol family 17
[36909.605590] NET: Registered protocol family 15
[36909.610137] lib80211: common routines for IEEE802.11 drivers
[36909.615875] ThumbEE CPU extension supported.
[36909.620208] Power Management for TI OMAP3.
[36909.625610] Unable to set L3 frequency (400000000)
[36909.630554] Switched to new clocking rate (Crystal/Core/MPU): 26.0/332/1000 MHz
[36909.637908] IVA2 clocking rate: 800 MHz
[36909.806671] SmartReflex driver initialized
[36909.810913] omap3beaglelmb: Driver registration complete
[36909.821685] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
[36909.829986] registered taskstats version 1
[36909.869476] usb 2-2: New USB device found, idVendor=0424, idProduct=9514
[36909.876220] usb 2-2: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[36909.884613] hub 2-2:1.0: USB hub found
[36909.888610] hub 2-2:1.0: 5 ports detected
[36909.966461] Console: switching to colour frame buffer device 160x45
[36909.988281] regulator_init_complete: incomplete constraints, leaving VAUX4 on
[36909.995666] regulator_init_complete: incomplete constraints, leaving VAUX3 on
[36910.003204] regulator_init_complete: incomplete constraints, leaving VDAC on
[36910.011108] omap_vout omap_vout: probed for an unknown device
[36910.017272] Waiting for root device /dev/mmcblk0p2...
[36910.041046] mmc0: new high speed SDHC card at address 256a
[36910.046905] mmcblk0: mmc0:256a SD04G 3.69 GiB 
[36910.051666]  mmcblk0: p1 p2
[36910.131317] EXT3-fs (mmcblk0p2): warning: maximal mount count reached, running e2fsck is recommended
[36910.140655] kjournald starting.  Commit interval 5 seconds
[36910.205352] usb 2-2.1: new high speed USB device using ehci-omap and address 3
[36910.330596] usb 2-2.1: New USB device found, idVendor=0424, idProduct=ec00
[36910.337524] usb 2-2.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[36910.347656] smsc95xx v1.0.4
[36910.401550] usb0: register 'smsc95xx' at usb-ehci-omap.0-2.1, smsc95xx USB 2.0 Ethernet, 0a:08:ad:97:5f:11
[36910.412902] EXT3-fs (mmcblk0p2): using internal journal
[36910.418243] EXT3-fs (mmcblk0p2): mounted filesystem with writeback data mode
[36910.425445] VFS: Mounted root (ext3 filesystem) on device 179:2.
[36910.433624] devtmpfs: mounted
[36910.436645] Freeing init memory: 204K
INIT: version 2.86 booting
[36910.650848] usb 2-2.2: new high speed USB device using ehci-omap and address 4
[36910.778320] usb 2-2.2: New USB device found, idVendor=1415, idProduct=2000
[36910.785797] usb 2-2.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[36910.793212] usb 2-2.2: Product: USB Camera-B4.04.27.1
[36910.798309] usb 2-2.2: Manufacturer: OmniVision Technologies, Inc.
Please wait: booting...
[36910.900756] usb 2-2.3: new low speed USB device using ehci-omap and address 5
Starting udev
[36911.046051] usb 2-2.3: New USB device found, idVendor=046d, idProduct=c016
[36911.054107] usb 2-2.3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[36911.062255] usb 2-2.3: Product: Optical USB Mouse
[36911.067626] usb 2-2.3: Manufacturer: Logitech
[36911.079711] input: Logitech Optical USB Mouse as /devices/platform/ehci-omap.0/usb2/2-2/2-2.3/2-2.3:1.0/input/input2
[36911.091003] generic-usb 0003:046D:C016.0001: input: USB HID v1.10 Mouse [Logitech Optical USB Mouse] on usb-ehci-omap.0-2.3/input0
[36911.346069] usb 2-2.5: new low speed USB device using ehci-omap and address 6
[36911.514739] usb 2-2.5: New USB device found, idVendor=04f3, idProduct=0103
[36911.730224] usb 2-2.5: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[36912.233825] input: HID 04f3:0103 as /devices/platform/ehci-omap.0/usb2/2-2/2-2.5/2-2.5:1.0/input/input3
[36913.118255] generic-usb 0003:04F3:0103.0002: input: USB HID v1.10 Keyboard [HID 04f3:0103] on usb-ehci-omap.0-2.5/input0
[36914.611968] input: HID 04f3:0103 as /devices/platform/ehci-omap.0/usb2/2-2/2-2.5/2-2.5:1.1/input/input4
[36915.341217] generic-usb 0003:04F3:0103.0003: input: USB HID v1.10 Device [HID 04f3:0103] on usb-ehci-omap.0-2.5/input1
[36918.745086] twl_rtc twl_rtc: rtc core: registered twl_rtc as rtc0
[36919.759979] gspca: main v2.8.0 registered
[36919.772033] gspca: probing 1415:2000
[36919.950317] ov534: Sensor ID: 7721
[36920.024963] ov534: frame_rate: 30
[36920.086822] gspca: /dev/video0 created
[36920.107513] usbcore: registered new interface driver ov534
[36920.174224] ov534: registered
Remounting root file system...
Caching udev devnodes
Populating dev cache
[36925.205932] Bluetooth: Core ver 2.15
[36925.210449] NET: Registered protocol family 31
[36925.214996] Bluetooth: HCI device and connection manager initialized
[36925.221435] Bluetooth: HCI socket layer initialized
[36925.241821] Bluetooth: L2CAP ver 2.14
[36925.245574] Bluetooth: L2CAP socket layer initialized
[36925.264862] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
[36925.382537] NET: Registered protocol family 10
[36925.449066] NET: Registered protocol family 23
[36925.468597] IrCOMM protocol (Dag Brattli)
[36925.565948] Bluetooth: RFCOMM TTY layer initialized
[36925.570861] Bluetooth: RFCOMM socket layer initialized
[36925.576141] Bluetooth: RFCOMM ver 1.11
ALSA: Restoring mixer settings...
Configuring network interfaces... No state is present for card CameraB404271
Unknown hardware: "USB-Audio" "USB Mixer" "USB1415:2000" "" ""
Hardware is initialized using a guess method
/usr/share/alsa/init/default:53: control element not found
/usr/share/alsa/init/default:53: control element not found
No state is present for card CameraB404271
eth0: unknown interface: No such device
eth0: unknown interface: No such device
eth0      No such device

Internet Systems Consortium DHCP Client V3.1.2p1
Copyright 2004-2009 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/
Usage: dhclient [-1dqrx] [-nw] [-p <port>] [-s server]
                [-cf config-file] [-lf lease-file][-pf pid-file] [-e VAR=val]
                [-sf script-file] [interface]

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 V3.1.2p1
Copyright 2004-2009 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/
Usage: dhclient [-1dqrx] [-nw] [-p <port>] [-s server]
                [-cf config-file] [-lf lease-file][-pf pid-file] [-e VAR=val]
                [-sf script-file] [interface]

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 usb0.
done.
Starting portmap daemon: portmap.
net.ipv4.conf.default.rp_filter = 1
net.ipv4.conf.all.rp_filter = 1
INIT: Entering runlevel: 5
Starting system message bus: dbus.
Starting Hardware abstraction layer hald
[36930.477539] usb0: link up, 100Mbps, full-duplex, lpa 0x45E1
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 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... 
Running /usr/share/ti/gst/omap3530/loadmodules.sh[36935.634857] CMEMK module: built on Aug 18 2010 at 15:55:46
[36935.640380]   Reference Linux version 2.6.32
[36935.645050]   File /mnt/angstrom-setup-scripts/build/tmp-angstrom_2008_1/work/beagleboard-angstrom-linux-gnueabi/ti-linuxutils-1_2_25_01_06-r88d/linuxutils_2_25_01_06/packages/ti/sdo/linuxutils/cmem/src/module/cmemk.c
[36935.668823] CMEM Range Overlaps Kernel Physical - allowing overlap
[36935.675384] CMEM phys_start (0x86300000) overlaps kernel (0x80000000 -> 0x9d000000)
[36935.684051] allocated heap buffer 0xe3000000 of size 0x53d000
[36935.690124] cmemk initialized
[36935.720001] DSPLINK Module (1.64) created on Date: Aug 18 2010 Time: 15:59:07
[36935.776153] SDMAK module: built on Aug 18 2010 at 15:56:01
[36935.781677]   Reference Linux version 2.6.32
[36935.786376]   File /mnt/angstrom-setup-scripts/build/tmp-angstrom_2008_1/work/beagleboard-angstrom-linux-gnueabi/ti-linuxutils-1_2_25_01_06-r88d/linuxutils_2_25_01_06/packages/ti/sdo/linuxutils/sdma/src/module/sdmak.c
  done
Starting PVR
[36936.153930] PVRSRV_PIXEL_FORMAT_ARGB8888
/etc/rc5.d/S81cups: line 232: echo_success: not found
cups: started scheduler.
Starting GNOME Display Manager gdm

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

The Angstrom Distribution beagleboard ttyS2

Angstrom 2010.7-test-20100820 beagleboard ttyS2

beagleboard login: root
root@beagleboard:~#  
5-4 5-17 Console Setup Code Snippet from .../kernel/printk.c
/*
 * Set up a list of consoles.  Called from init/main.c
 */
static int __init console_setup(char *str)
{
	char buf[sizeof(console_cmdline[0].name) + 4]; /* 4 for index */
	char *s, *options, *brl_options = NULL;
	int idx;

        ...
        <body omitted for clarity...>
        ...
	return 1;
}
__setup("console=", console_setup);
5-5 5-18 Family of __setup Macro Definitions from .../include/linux/init.h
...
#define __setup_param(str, unique_id, fn, early)			\
	static char __setup_str_##unique_id[] __initdata __aligned(1) = str; \
	static struct obs_kernel_param __setup_##unique_id	\
		__used __section(.init.setup)			\
		__attribute__((aligned((sizeof(long)))))	\
		= { __setup_str_##unique_id, fn, early }

#define __setup(str, fn)					\
	__setup_param(str, fn, fn, 0)
...
5-6 5-19 Kernel Command Line Processing
     1	extern struct obs_kernel_param __setup_start[], __setup_end[];
     2	
     3	static int __init obsolete_checksetup(char *line)
     4	{
     5		struct obs_kernel_param *p;
     6		int had_early_param = 0;
     7	
     8		p = __setup_start;
     9		do {
    10			int n = strlen(p->str);
    11			if (!strncmp(line, p->str, n)) {
    12				if (p->early) {
    13					/* Already done in parse_early_param?
    14					 * (Needs exact match on param part).
    15					 * Keep iterating, as we can have early
    16					 * params and __setups of same names 8( */
    17					if (line[n] == '\0' || line[n] == '=')
    18						had_early_param = 1;
    19				} else if (!p->setup_func) {
    20					printk(KERN_WARNING "Parameter %s is obsolete,"
    21					       " ignored\n", p->str);
    22					return 1;
    23				} else if (p->setup_func(line + n))
    24					return 1;
    25			}
    26			p++;
    27		} while (p < __setup_end);
    28	
    29		return had_early_param;
    30	}
5-7 5-22 Example Initialization Routine - .../arch/arm/kernel/setup.c
static int __init customize_machine(void)
{
	/* customizes platform devices, or adds new ones */
	if (init_machine)
		init_machine();
	return 0;
}
arch_initcall(customize_machine);
5-8 5-22 initcall Family of Macros - .../include/linux/init.h
#define __define_initcall(level,fn,id) \
	static initcall_t __initcall_##fn##id __used \
	__attribute__((__section__(".initcall" level ".init"))) = fn

/*
 * Early initcalls run before initializing SMP.
 *
 * Only for built-in code, not modules.
 */
#define early_initcall(fn)		__define_initcall("early",fn,early)

/*
 * A "pure" initcall has no dependencies on anything else, and purely
 * initializes variables that couldn't be statically initialized.
 *
 * This only exists for built-in code, not for modules.
 */
#define pure_initcall(fn)		__define_initcall("0",fn,0)

#define core_initcall(fn)		__define_initcall("1",fn,1)
#define core_initcall_sync(fn)		__define_initcall("1s",fn,1s)
#define postcore_initcall(fn)		__define_initcall("2",fn,2)
#define postcore_initcall_sync(fn)	__define_initcall("2s",fn,2s)
#define arch_initcall(fn)		__define_initcall("3",fn,3)
#define arch_initcall_sync(fn)		__define_initcall("3s",fn,3s)
#define subsys_initcall(fn)		__define_initcall("4",fn,4)
#define subsys_initcall_sync(fn)	__define_initcall("4s",fn,4s)
#define fs_initcall(fn)			__define_initcall("5",fn,5)
#define fs_initcall_sync(fn)		__define_initcall("5s",fn,5s)
#define rootfs_initcall(fn)		__define_initcall("rootfs",fn,rootfs)
#define device_initcall(fn)		__define_initcall("6",fn,6)
#define device_initcall_sync(fn)	__define_initcall("6s",fn,6s)
#define late_initcall(fn)		__define_initcall("7",fn,7)
#define late_initcall_sync(fn)		__define_initcall("7s",fn,7s)

#define __initcall(fn) device_initcall(fn)
...
5-9 5-24 Creation of Kernel init Thread
static noinline void __init_refok rest_init(void)
	__releases(kernel_lock)
{
	int pid;

	kernel_thread(kernel_init, NULL, CLONE_FS | CLONE_SIGHAND);
	numa_default_policy();
	pid = kernel_thread(kthreadd, NULL, CLONE_FS | CLONE_FILES);
	kthreadd_task = find_task_by_pid_ns(pid, &init_pid_ns);
	unlock_kernel();

	/*
	 * The boot idle thread must execute schedule()
	 * at least once to get things moving:
	 */
	init_idle_bootup_task(current);
	rcu_scheduler_starting();
	preempt_enable_no_resched();
	schedule();
	preempt_disable();

	/* Call into cpu_idle with preempt disabled */
	cpu_idle();
}

5-10 5-25 Initialization via initcalls
extern initcall_t __initcall_start[], __initcall_end[], __early_initcall_end[];

static void __init do_initcalls(void)
{
	initcall_t *call;

	for (call = __early_initcall_end; call < __initcall_end; call++)
		do_one_initcall(*call);

	/* Make sure there is no pending stuff from the initcall sequence */
	flush_scheduled_work();
}
5-11 5-27 Final Boot Steps from main.c
static noinline int init_post(void)
{

<... lines trimmed for clarity ...>

	if (execute_command) {
		run_init_process(execute_command);
		printk(KERN_WARNING "Failed to execute %s.  Attempting "
					"defaults...\n", execute_command);
	}
	run_init_process("/sbin/init");
	run_init_process("/etc/init");
	run_init_process("/bin/init");
	run_init_process("/bin/sh");

	panic("No init found.  Try passing init= option to kernel.");
}