起動ログ(付属SD)
参考までに付属SDの場合の起動ログを載せておきます。
※http://ameblo.jp/elementor/entry-10656348104.html の続きです
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: 256 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 #233e0000061000000156166b0a02502a
Hit any key to stop autoboot: 0
mmc1 is available
The user button is currently NOT pressed.
reading boot.scr
** Unable to read "boot.scr" from mmc 1:1 **
reading user.scr
755 bytes read
Running bootscript from mmc ...
## Executing script at 80200000
mmc1 is available
reading ramdisk.gz
19960110 bytes read
reading uImage
3190568 bytes read
Booting from ramdisk ...
## Booting kernel from Legacy Image at 80200000 ...
Image Name: Angstrom/2.6.32/beagleboard
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 3190504 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 (ubuntu@ip-10-204-115-71) (gcc version 4.3.3 (GCC) ) #3 PREEMPT Wed Aug 18 15:53:03 UTC 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=tty0 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:1024x768MR-16@60 omapdss.def_disp=dvi root=/dev/ram0 rw ramdisk_size=131072 initrd=0x88000000,128M rootfstype=ext2
[ 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: 316288KB 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] console [tty0] enabled
[ 0.000000] Calibrating delay loop... 525.17 BogoMIPS (lpj=2052096)
[ 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
[ 47.490325] OMAP DMA hardware revision 5.0
[ 47.496643] bio: create slab at 0
[ 47.497924] SCSI subsystem initialized
[ 47.499267] usbcore: registered new interface driver usbfs
[ 47.499450] usbcore: registered new interface driver hub
[ 47.499633] usbcore: registered new device driver usb
[ 47.500061] i2c_omap i2c_omap.1: bus 1 rev4.0 at 2600 kHz
[ 47.502777] twl4030: PIH (irq 7) chaining IRQs 368..375
[ 47.502838] twl4030: power (irq 373) chaining IRQs 376..383
[ 47.503143] twl4030: gpio (irq 368) chaining IRQs 384..401
[ 47.504882] regulator: VUSB1V5: 1500 mV normal standby
[ 47.505126] regulator: VUSB1V8: 1800 mV normal standby
[ 47.505340] regulator: VUSB3V1: 3100 mV normal standby
[ 47.506622] twl4030_usb twl4030_usb: Initialized TWL4030 USB module
[ 47.507080] regulator: VMMC1: 1850 <--> 3150 mV normal standby
[ 47.507354] regulator: VDAC: 1800 mV normal standby
[ 47.507598] regulator: VPLL2: 1800 mV normal standby
[ 47.507873] regulator: VSIM: 1800 <--> 3000 mV normal standby
[ 47.508239] regulator: VAUX3: 1800 mV normal standby
[ 47.508605] regulator: VAUX4: 1800 mV normal standby
[ 47.508819] i2c_omap i2c_omap.2: bus 2 rev4.0 at 400 kHz
[ 47.520507] i2c_omap i2c_omap.3: bus 3 rev4.0 at 100 kHz
[ 47.521728] Switching to clocksource 32k_counter
[ 47.530792] musb_hdrc: version 6.0, musb-dma, otg (peripheral+host), debug=0
[ 47.534667] musb_hdrc: USB OTG mode controller at fa0ab000 using DMA, IRQ 92
[ 47.534698] musb_hdrc musb_hdrc: MUSB HDRC host driver
[ 47.534851] musb_hdrc musb_hdrc: new USB bus registered, assigned bus number 1
[ 47.535003] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[ 47.535064] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 47.535095] usb usb1: Product: MUSB HDRC host driver
[ 47.535125] usb usb1: Manufacturer: Linux 2.6.32 musb-hcd
[ 47.535156] usb usb1: SerialNumber: musb_hdrc
[ 47.535827] hub 1-0:1.0: USB hub found
[ 47.535888] hub 1-0:1.0: 1 port detected
[ 47.536926] NET: Registered protocol family 2
[ 47.537200] IP route cache hash table entries: 4096 (order: 2, 16384 bytes)
[ 47.537841] TCP established hash table entries: 16384 (order: 5, 131072 bytes)
[ 47.538269] TCP bind hash table entries: 16384 (order: 4, 65536 bytes)
[ 47.538513] TCP: Hash tables configured (established 16384 bind 16384)
[ 47.538543] TCP reno registered
[ 47.538574] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 47.538635] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 47.538879] NET: Registered protocol family 1
[ 47.539337] RPC: Registered udp transport module.
[ 47.539367] RPC: Registered tcp transport module.
[ 47.539398] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 47.539703] Trying to unpack rootfs image as initramfs...
[ 47.542449] rootfs image is not initramfs (no cpio magic); looks like an initrd
[ 48.233367] Freeing initrd memory: 131072K
[ 48.234222] omap-iommu omap-iommu.0: isp registered
[ 48.236022] VFS: Disk quotas dquot_6.5.2
[ 48.236145] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 48.237243] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 48.238128] JFFS2 version 2.2. (NAND) (SUMMARY) c 2001-2006 Red Hat, Inc.
[ 48.238952] msgmni has been set to 874
[ 48.242858] alg: No test for stdrng (krng)
[ 48.243194] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 254)
[ 48.243255] io scheduler noop registered
[ 48.243286] io scheduler deadline registered
[ 48.243438] io scheduler cfq registered (default)
[ 48.303222] OMAP DSS rev 2.0
[ 48.303314] OMAP DISPC rev 3.0
[ 48.303375] OMAP VENC rev 2
[ 48.303619] OMAP DSI rev 1.0
[ 48.640075] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[ 48.658843] serial8250.0: ttyS0 at MMIO 0x4806a000 (irq = 72) is a ST16654
[ 48.677001] serial8250.1: ttyS1 at MMIO 0x4806c000 (irq = 73) is a ST16654
[ 48.695068] serial8250.2: ttyS2 at MMIO 0x49020000 (irq = 74) is a ST16654
[ 49.295043] console [ttyS2] enabled
[ 49.305419] brd: module loaded
[ 49.311889] loop: module loaded
[ 49.316314] omap2-nand driver initializing
[ 49.320800] NAND device: Manufacturer ID: 0x20, Chip ID: 0xba (ST Micro NAND 256MiB 1,8V 16-bit)
[ 49.330139] cmdlinepart partition parsing not available
[ 49.335479] Creating 5 MTD partitions on "omap2-nand":
[ 49.340667] 0x000000000000-0x000000080000 : "X-Loader"
[ 49.347045] 0x000000080000-0x000000260000 : "U-Boot"
[ 49.353515] 0x000000260000-0x000000280000 : "U-Boot Env"
[ 49.359649] 0x000000280000-0x000000680000 : "Kernel"
[ 49.366882] 0x000000680000-0x000010000000 : "File System"
[ 49.466094] usbcore: registered new interface driver catc
[ 49.471618] catc: v2.8:CATC EL1210A NetMate USB Ethernet driver
[ 49.477691] usbcore: registered new interface driver kaweth
[ 49.483367] pegasus: v0.6.14 (2006/09/27), Pegasus/Pegasus II USB Ethernet driver
[ 49.491027] usbcore: registered new interface driver pegasus
[ 49.496734] rtl8150: v0.6.2 (2004/08/27):rtl8150 based usb-ethernet driver
[ 49.503784] usbcore: registered new interface driver rtl8150
[ 49.509582] usbcore: registered new interface driver asix
[ 49.515167] usbcore: registered new interface driver cdc_ether
[ 49.521118] usbcore: registered new interface driver dm9601
[ 49.526885] usbcore: registered new interface driver smsc95xx
[ 49.532775] usbcore: registered new interface driver gl620a
[ 49.538513] usbcore: registered new interface driver net1080
[ 49.544281] usbcore: registered new interface driver plusb
[ 49.549926] usbcore: registered new interface driver rndis_host
[ 49.555999] usbcore: registered new interface driver cdc_subset
[ 49.562103] usbcore: registered new interface driver zaurus
[ 49.567810] usbcore: registered new interface driver MOSCHIP usb-ethernet driver
[ 49.575897] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 49.582824] ehci-omap ehci-omap.0: OMAP-EHCI Host Controller
[ 49.588867] ehci-omap ehci-omap.0: new USB bus registered, assigned bus number 2
[ 49.596496] ehci-omap ehci-omap.0: irq 77, io mem 0x48064800
[ 49.615722] ehci-omap ehci-omap.0: USB 2.0 started, EHCI 1.00
[ 49.621643] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
[ 49.628540] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 49.635864] usb usb2: Product: OMAP-EHCI Host Controller
[ 49.641235] usb usb2: Manufacturer: Linux 2.6.32 ehci_hcd
[ 49.646697] usb usb2: SerialNumber: ehci-omap.0
[ 49.652008] hub 2-0:1.0: USB hub found
[ 49.655883] hub 2-0:1.0: 3 ports detected
[ 49.686096] Initializing USB Mass Storage driver...
[ 49.691192] usbcore: registered new interface driver usb-storage
[ 49.697296] USB Mass Storage support registered.
[ 49.702331] mice: PS/2 mouse device common for all mice
[ 49.708007] input: gpio-keys as /devices/platform/gpio-keys/input/input0
[ 49.715820] input: twl4030_pwrbutton as /devices/platform/i2c_omap.1/i2c-1/1-0049/twl4030_pwrbutton/input/input1
[ 49.726593] i2c /dev entries driver
[ 49.730712] Linux video capture interface: v2.00
[ 49.735687] omap-iommu omap-iommu.0: isp: version 1.1
[ 49.742095] vpfe_init
[ 49.744995] OMAP Watchdog Timer Rev 0x31: initial timeout 60 sec
[ 49.858276] mmci-omap-hs mmci-omap-hs.1: err -16 configuring card detect
[ 49.865325] Registered led device: beagleboard::usr0
[ 49.870513] Registered led device: beagleboard::usr1
[ 49.877044] Registered led device: beagleboard::pmu_stat
[ 49.884063] usbcore: registered new interface driver usbhid
[ 49.889770] usbhid: USB HID core driver
[ 49.893829] Advanced Linux Sound Architecture Driver Version 1.0.21.
[ 49.900787] usbcore: registered new interface driver snd-usb-audio
[ 49.983642] usb 2-2: new high speed USB device using ehci-omap and address 2
[ 49.991455] No device for DAI omap-mcbsp-dai-0
[ 49.995941] No device for DAI omap-mcbsp-dai-1
[ 50.000457] No device for DAI omap-mcbsp-dai-2
[ 50.004943] No device for DAI omap-mcbsp-dai-3
[ 50.009460] No device for DAI omap-mcbsp-dai-4
[ 50.013977] OMAP3 Beagle SoC init
[ 50.018188] asoc: twl4030 <-> omap-mcbsp-dai-0 mapping ok
[ 50.029815] ALSA device list:
[ 50.032836] #0: omap3beagle (twl4030)
[ 50.036804] oprofile: using arm/armv7
[ 50.040771] TCP cubic registered
[ 50.044067] NET: Registered protocol family 17
[ 50.048614] NET: Registered protocol family 15
[ 50.053253] lib80211: common routines for IEEE802.11 drivers
[ 50.058990] ThumbEE CPU extension supported.
[ 50.063323] Power Management for TI OMAP3.
[ 50.068847] Unable to set L3 frequency (400000000)
[ 50.073760] Switched to new clocking rate (Crystal/Core/MPU): 26.0/332/1000 MHz
[ 50.081146] IVA2 clocking rate: 800 MHz
[ 50.256256] SmartReflex driver initialized
[ 50.260467] omap3beaglelmb: Driver registration complete
[ 50.271301] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
[ 50.279632] registered taskstats version 1
[ 50.284515] fbcvt: 1024x768@60: CVT Name - .786M3-R
[ 50.319122] usb 2-2: New USB device found, idVendor=0424, idProduct=9514
[ 50.325897] usb 2-2: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 50.334320] hub 2-2:1.0: USB hub found
[ 50.338226] hub 2-2:1.0: 5 ports detected
[ 50.409423] Console: switching to colour frame buffer device 128x48
[ 50.425384] regulator_init_complete: incomplete constraints, leaving VAUX3 on
[ 50.433166] regulator_init_complete: incomplete constraints, leaving VDAC on
[ 50.440765] omap_vout omap_vout: probed for an unknown device
[ 50.447814] RAMDISK: gzip image found at block 0
[ 50.632141] usb 2-2.1: new high speed USB device using ehci-omap and address 3
[ 50.663330] mmc0: new high speed SDHC card at address 1234
[ 50.679290] mmcblk0: mmc0:1234 SA04G 3.68 GiB
[ 50.684204] mmcblk0: p1 p2
[ 50.766876] usb 2-2.1: New USB device found, idVendor=0424, idProduct=ec00
[ 50.780914] usb 2-2.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 50.798736] smsc95xx v1.0.4
[ 50.882141] usb0: register 'smsc95xx' at usb-ehci-omap.0-2.1, smsc95xx USB 2.0 Ethernet, fa:a9:57:00:67:1c
[ 53.098052] VFS: Mounted root (ext2 filesystem) on device 1:0.
[ 53.104400] devtmpfs: mounted
[ 53.109954] Freeing init memory: 204K
INIT: version 2.86 booting
Please wait: booting...
Starting udev
[ 55.528198] FAT: bogus number of reserved sectors
[ 55.535491] VFS: Can't find a valid FAT filesystem on dev mmcblk0.
[ 55.938079] FAT: bogus number of reserved sectors
[ 55.945465] VFS: Can't find a valid FAT filesystem on dev mmcblk0p2.
Remounting root file system...
Caching udev devnodes
Populating dev cache
Configuring network interfaces... ifconfig: SIOCGIFFLAGS: No such device
udhcpc (v1.13.2) started
Sending discover...
Sending discover...
Sending discover...
No lease, forking to background
done.
Setting up IP spoofing protection: rp_filter.
hwclock: can't open '/dev/misc/rtc': No such file or directory
Fri Aug 20 20:54:00 UTC 2010
hwclock: can't open '/dev/misc/rtc': No such file or directory
Configuring update-modules.
Configuring ti-dsplink-module.
Configuring ti-lpm-module.
Configuring util-linux-ng.
update-alternatives: Linking //bin/dmesg to dmesg.util-linux-ng
update-alternatives: Linking //bin/kill to kill.util-linux-ng
update-alternatives: Linking //bin/more to more.util-linux-ng
update-alternatives: Linking //sbin/mkswap to mkswap.util-linux-ng
update-alternatives: Linking //sbin/pivot_root to pivot_root.util-linux-ng
update-alternatives: Linking //sbin/sln to sln.util-linux-ng
update-alternatives: Linking //sbin/mkfs.minix to mkfs.minix.util-linux-ng
update-alternatives: Linking //sbin/fsck.minix to fsck.minix.util-linux-ng
update-alternatives: Linking //usr/bin/hexdump to hexdump.util-linux-ng
update-alternatives: Linking //usr/bin/last to last.sysvinit
update-alternatives: Linking //usr/bin/logger to logger.util-linux-ng
update-alternatives: Linking //usr/bin/mesg to mesg.sysvinit
update-alternatives: Linking //usr/bin/renice to renice.util-linux-ng
update-alternatives: Linking //usr/bin/wall to wall.sysvinit
update-alternatives: Linking //usr/bin/chfn to chfn.util-linux-ng
update-alternatives: Linking //usr/bin/newgrp to newgrp.util-linux-ng
update-alternatives: Linking //usr/bin/chsh to chsh.util-linux-ng
update-alternatives: Linking //bin/login to login.util-linux-ng
update-alternatives: Error: not linking //sbin/vipw to vipw.util-linux-ng since //sbin/vipw exists and is not a link
update-alternatives: Linking //sbin/vigr to vigr.util-linux-ng
update-alternatives: Linking //usr/bin/reset to reset.util-linux-ng
update-alternatives: Linking //usr/bin/setsid to setsid.util-linux-ng
update-alternatives: Linking //usr/bin/chrt to chrt.util-linux-ng
update-alternatives: Linking //sbin/hwclock to ../bin/busybox
update-alternatives: Linking //sbin/shutdown to shutdown.sysvinit
update-alternatives: Linking //sbin/reboot to reboot.sysvinit
update-alternatives: Linking //sbin/halt to halt.sysvinit
INIT: Entering runlevel: 5
Creating Dropbear SSH server RSA host key.
Will output 1024 bit rsa secret key to '/etc/dropbear/dropbear_rsa_host_key'
Generating key, this may take a while...
Public key portion is:
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAAAgwCCzCu1yIHzfQxKU/BEunJaEo4zX7tguLVw6iD73u8fO8qruzLwa+QY6zIR2FMoH/kTy4Bzrrj2TSR6vzMFlFX/yAJUlHdA7OL3aePnEFaxBW7YKEkCcCJhw1SHsm1mi9SQLxwSCca6oqtizkzLQmn6jdcXGj7TO+RNfc1tj/CU8S01 root@beagleboard
Fingerprint: md5 36:ca:40:22:63:09:9f:0d:83:b8:01:0a:1a:79:8d:c5
Starting Dropbear SSH server: dropbear.
Starting syslogd/klogd: done
.-------.
| | .-.
| | |-----.-----.-----.| | .----..-----.-----.
| | | __ | ---'| '--.| .-'| | |
| | | | | |--- || --'| | | ' | | | |
'---'---'--'--'--. |-----''----''--' '-----'-'-'-'
-' |
'---'
The Angstrom Distribution beagleboard ttyS2
Angstrom 2010.7-test-20100820 beagleboard ttyS2
beagleboard login:
※http://ameblo.jp/elementor/entry-10656348104.html の続きです
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: 256 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 #233e0000061000000156166b0a02502a
Hit any key to stop autoboot: 0
mmc1 is available
The user button is currently NOT pressed.
reading boot.scr
** Unable to read "boot.scr" from mmc 1:1 **
reading user.scr
755 bytes read
Running bootscript from mmc ...
## Executing script at 80200000
mmc1 is available
reading ramdisk.gz
19960110 bytes read
reading uImage
3190568 bytes read
Booting from ramdisk ...
## Booting kernel from Legacy Image at 80200000 ...
Image Name: Angstrom/2.6.32/beagleboard
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 3190504 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 (ubuntu@ip-10-204-115-71) (gcc version 4.3.3 (GCC) ) #3 PREEMPT Wed Aug 18 15:53:03 UTC 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=tty0 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:1024x768MR-16@60 omapdss.def_disp=dvi root=/dev/ram0 rw ramdisk_size=131072 initrd=0x88000000,128M rootfstype=ext2
[ 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: 316288KB 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] console [tty0] enabled
[ 0.000000] Calibrating delay loop... 525.17 BogoMIPS (lpj=2052096)
[ 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
[ 47.490325] OMAP DMA hardware revision 5.0
[ 47.496643] bio: create slab
[ 47.497924] SCSI subsystem initialized
[ 47.499267] usbcore: registered new interface driver usbfs
[ 47.499450] usbcore: registered new interface driver hub
[ 47.499633] usbcore: registered new device driver usb
[ 47.500061] i2c_omap i2c_omap.1: bus 1 rev4.0 at 2600 kHz
[ 47.502777] twl4030: PIH (irq 7) chaining IRQs 368..375
[ 47.502838] twl4030: power (irq 373) chaining IRQs 376..383
[ 47.503143] twl4030: gpio (irq 368) chaining IRQs 384..401
[ 47.504882] regulator: VUSB1V5: 1500 mV normal standby
[ 47.505126] regulator: VUSB1V8: 1800 mV normal standby
[ 47.505340] regulator: VUSB3V1: 3100 mV normal standby
[ 47.506622] twl4030_usb twl4030_usb: Initialized TWL4030 USB module
[ 47.507080] regulator: VMMC1: 1850 <--> 3150 mV normal standby
[ 47.507354] regulator: VDAC: 1800 mV normal standby
[ 47.507598] regulator: VPLL2: 1800 mV normal standby
[ 47.507873] regulator: VSIM: 1800 <--> 3000 mV normal standby
[ 47.508239] regulator: VAUX3: 1800 mV normal standby
[ 47.508605] regulator: VAUX4: 1800 mV normal standby
[ 47.508819] i2c_omap i2c_omap.2: bus 2 rev4.0 at 400 kHz
[ 47.520507] i2c_omap i2c_omap.3: bus 3 rev4.0 at 100 kHz
[ 47.521728] Switching to clocksource 32k_counter
[ 47.530792] musb_hdrc: version 6.0, musb-dma, otg (peripheral+host), debug=0
[ 47.534667] musb_hdrc: USB OTG mode controller at fa0ab000 using DMA, IRQ 92
[ 47.534698] musb_hdrc musb_hdrc: MUSB HDRC host driver
[ 47.534851] musb_hdrc musb_hdrc: new USB bus registered, assigned bus number 1
[ 47.535003] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[ 47.535064] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 47.535095] usb usb1: Product: MUSB HDRC host driver
[ 47.535125] usb usb1: Manufacturer: Linux 2.6.32 musb-hcd
[ 47.535156] usb usb1: SerialNumber: musb_hdrc
[ 47.535827] hub 1-0:1.0: USB hub found
[ 47.535888] hub 1-0:1.0: 1 port detected
[ 47.536926] NET: Registered protocol family 2
[ 47.537200] IP route cache hash table entries: 4096 (order: 2, 16384 bytes)
[ 47.537841] TCP established hash table entries: 16384 (order: 5, 131072 bytes)
[ 47.538269] TCP bind hash table entries: 16384 (order: 4, 65536 bytes)
[ 47.538513] TCP: Hash tables configured (established 16384 bind 16384)
[ 47.538543] TCP reno registered
[ 47.538574] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 47.538635] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 47.538879] NET: Registered protocol family 1
[ 47.539337] RPC: Registered udp transport module.
[ 47.539367] RPC: Registered tcp transport module.
[ 47.539398] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 47.539703] Trying to unpack rootfs image as initramfs...
[ 47.542449] rootfs image is not initramfs (no cpio magic); looks like an initrd
[ 48.233367] Freeing initrd memory: 131072K
[ 48.234222] omap-iommu omap-iommu.0: isp registered
[ 48.236022] VFS: Disk quotas dquot_6.5.2
[ 48.236145] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 48.237243] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 48.238128] JFFS2 version 2.2. (NAND) (SUMMARY) c 2001-2006 Red Hat, Inc.
[ 48.238952] msgmni has been set to 874
[ 48.242858] alg: No test for stdrng (krng)
[ 48.243194] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 254)
[ 48.243255] io scheduler noop registered
[ 48.243286] io scheduler deadline registered
[ 48.243438] io scheduler cfq registered (default)
[ 48.303222] OMAP DSS rev 2.0
[ 48.303314] OMAP DISPC rev 3.0
[ 48.303375] OMAP VENC rev 2
[ 48.303619] OMAP DSI rev 1.0
[ 48.640075] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[ 48.658843] serial8250.0: ttyS0 at MMIO 0x4806a000 (irq = 72) is a ST16654
[ 48.677001] serial8250.1: ttyS1 at MMIO 0x4806c000 (irq = 73) is a ST16654
[ 48.695068] serial8250.2: ttyS2 at MMIO 0x49020000 (irq = 74) is a ST16654
[ 49.295043] console [ttyS2] enabled
[ 49.305419] brd: module loaded
[ 49.311889] loop: module loaded
[ 49.316314] omap2-nand driver initializing
[ 49.320800] NAND device: Manufacturer ID: 0x20, Chip ID: 0xba (ST Micro NAND 256MiB 1,8V 16-bit)
[ 49.330139] cmdlinepart partition parsing not available
[ 49.335479] Creating 5 MTD partitions on "omap2-nand":
[ 49.340667] 0x000000000000-0x000000080000 : "X-Loader"
[ 49.347045] 0x000000080000-0x000000260000 : "U-Boot"
[ 49.353515] 0x000000260000-0x000000280000 : "U-Boot Env"
[ 49.359649] 0x000000280000-0x000000680000 : "Kernel"
[ 49.366882] 0x000000680000-0x000010000000 : "File System"
[ 49.466094] usbcore: registered new interface driver catc
[ 49.471618] catc: v2.8:CATC EL1210A NetMate USB Ethernet driver
[ 49.477691] usbcore: registered new interface driver kaweth
[ 49.483367] pegasus: v0.6.14 (2006/09/27), Pegasus/Pegasus II USB Ethernet driver
[ 49.491027] usbcore: registered new interface driver pegasus
[ 49.496734] rtl8150: v0.6.2 (2004/08/27):rtl8150 based usb-ethernet driver
[ 49.503784] usbcore: registered new interface driver rtl8150
[ 49.509582] usbcore: registered new interface driver asix
[ 49.515167] usbcore: registered new interface driver cdc_ether
[ 49.521118] usbcore: registered new interface driver dm9601
[ 49.526885] usbcore: registered new interface driver smsc95xx
[ 49.532775] usbcore: registered new interface driver gl620a
[ 49.538513] usbcore: registered new interface driver net1080
[ 49.544281] usbcore: registered new interface driver plusb
[ 49.549926] usbcore: registered new interface driver rndis_host
[ 49.555999] usbcore: registered new interface driver cdc_subset
[ 49.562103] usbcore: registered new interface driver zaurus
[ 49.567810] usbcore: registered new interface driver MOSCHIP usb-ethernet driver
[ 49.575897] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 49.582824] ehci-omap ehci-omap.0: OMAP-EHCI Host Controller
[ 49.588867] ehci-omap ehci-omap.0: new USB bus registered, assigned bus number 2
[ 49.596496] ehci-omap ehci-omap.0: irq 77, io mem 0x48064800
[ 49.615722] ehci-omap ehci-omap.0: USB 2.0 started, EHCI 1.00
[ 49.621643] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
[ 49.628540] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 49.635864] usb usb2: Product: OMAP-EHCI Host Controller
[ 49.641235] usb usb2: Manufacturer: Linux 2.6.32 ehci_hcd
[ 49.646697] usb usb2: SerialNumber: ehci-omap.0
[ 49.652008] hub 2-0:1.0: USB hub found
[ 49.655883] hub 2-0:1.0: 3 ports detected
[ 49.686096] Initializing USB Mass Storage driver...
[ 49.691192] usbcore: registered new interface driver usb-storage
[ 49.697296] USB Mass Storage support registered.
[ 49.702331] mice: PS/2 mouse device common for all mice
[ 49.708007] input: gpio-keys as /devices/platform/gpio-keys/input/input0
[ 49.715820] input: twl4030_pwrbutton as /devices/platform/i2c_omap.1/i2c-1/1-0049/twl4030_pwrbutton/input/input1
[ 49.726593] i2c /dev entries driver
[ 49.730712] Linux video capture interface: v2.00
[ 49.735687] omap-iommu omap-iommu.0: isp: version 1.1
[ 49.742095] vpfe_init
[ 49.744995] OMAP Watchdog Timer Rev 0x31: initial timeout 60 sec
[ 49.858276] mmci-omap-hs mmci-omap-hs.1: err -16 configuring card detect
[ 49.865325] Registered led device: beagleboard::usr0
[ 49.870513] Registered led device: beagleboard::usr1
[ 49.877044] Registered led device: beagleboard::pmu_stat
[ 49.884063] usbcore: registered new interface driver usbhid
[ 49.889770] usbhid: USB HID core driver
[ 49.893829] Advanced Linux Sound Architecture Driver Version 1.0.21.
[ 49.900787] usbcore: registered new interface driver snd-usb-audio
[ 49.983642] usb 2-2: new high speed USB device using ehci-omap and address 2
[ 49.991455] No device for DAI omap-mcbsp-dai-0
[ 49.995941] No device for DAI omap-mcbsp-dai-1
[ 50.000457] No device for DAI omap-mcbsp-dai-2
[ 50.004943] No device for DAI omap-mcbsp-dai-3
[ 50.009460] No device for DAI omap-mcbsp-dai-4
[ 50.013977] OMAP3 Beagle SoC init
[ 50.018188] asoc: twl4030 <-> omap-mcbsp-dai-0 mapping ok
[ 50.029815] ALSA device list:
[ 50.032836] #0: omap3beagle (twl4030)
[ 50.036804] oprofile: using arm/armv7
[ 50.040771] TCP cubic registered
[ 50.044067] NET: Registered protocol family 17
[ 50.048614] NET: Registered protocol family 15
[ 50.053253] lib80211: common routines for IEEE802.11 drivers
[ 50.058990] ThumbEE CPU extension supported.
[ 50.063323] Power Management for TI OMAP3.
[ 50.068847] Unable to set L3 frequency (400000000)
[ 50.073760] Switched to new clocking rate (Crystal/Core/MPU): 26.0/332/1000 MHz
[ 50.081146] IVA2 clocking rate: 800 MHz
[ 50.256256] SmartReflex driver initialized
[ 50.260467] omap3beaglelmb: Driver registration complete
[ 50.271301] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
[ 50.279632] registered taskstats version 1
[ 50.284515] fbcvt: 1024x768@60: CVT Name - .786M3-R
[ 50.319122] usb 2-2: New USB device found, idVendor=0424, idProduct=9514
[ 50.325897] usb 2-2: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 50.334320] hub 2-2:1.0: USB hub found
[ 50.338226] hub 2-2:1.0: 5 ports detected
[ 50.409423] Console: switching to colour frame buffer device 128x48
[ 50.425384] regulator_init_complete: incomplete constraints, leaving VAUX3 on
[ 50.433166] regulator_init_complete: incomplete constraints, leaving VDAC on
[ 50.440765] omap_vout omap_vout: probed for an unknown device
[ 50.447814] RAMDISK: gzip image found at block 0
[ 50.632141] usb 2-2.1: new high speed USB device using ehci-omap and address 3
[ 50.663330] mmc0: new high speed SDHC card at address 1234
[ 50.679290] mmcblk0: mmc0:1234 SA04G 3.68 GiB
[ 50.684204] mmcblk0: p1 p2
[ 50.766876] usb 2-2.1: New USB device found, idVendor=0424, idProduct=ec00
[ 50.780914] usb 2-2.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 50.798736] smsc95xx v1.0.4
[ 50.882141] usb0: register 'smsc95xx' at usb-ehci-omap.0-2.1, smsc95xx USB 2.0 Ethernet, fa:a9:57:00:67:1c
[ 53.098052] VFS: Mounted root (ext2 filesystem) on device 1:0.
[ 53.104400] devtmpfs: mounted
[ 53.109954] Freeing init memory: 204K
INIT: version 2.86 booting
Please wait: booting...
Starting udev
[ 55.528198] FAT: bogus number of reserved sectors
[ 55.535491] VFS: Can't find a valid FAT filesystem on dev mmcblk0.
[ 55.938079] FAT: bogus number of reserved sectors
[ 55.945465] VFS: Can't find a valid FAT filesystem on dev mmcblk0p2.
Remounting root file system...
Caching udev devnodes
Populating dev cache
Configuring network interfaces... ifconfig: SIOCGIFFLAGS: No such device
udhcpc (v1.13.2) started
Sending discover...
Sending discover...
Sending discover...
No lease, forking to background
done.
Setting up IP spoofing protection: rp_filter.
hwclock: can't open '/dev/misc/rtc': No such file or directory
Fri Aug 20 20:54:00 UTC 2010
hwclock: can't open '/dev/misc/rtc': No such file or directory
Configuring update-modules.
Configuring ti-dsplink-module.
Configuring ti-lpm-module.
Configuring util-linux-ng.
update-alternatives: Linking //bin/dmesg to dmesg.util-linux-ng
update-alternatives: Linking //bin/kill to kill.util-linux-ng
update-alternatives: Linking //bin/more to more.util-linux-ng
update-alternatives: Linking //sbin/mkswap to mkswap.util-linux-ng
update-alternatives: Linking //sbin/pivot_root to pivot_root.util-linux-ng
update-alternatives: Linking //sbin/sln to sln.util-linux-ng
update-alternatives: Linking //sbin/mkfs.minix to mkfs.minix.util-linux-ng
update-alternatives: Linking //sbin/fsck.minix to fsck.minix.util-linux-ng
update-alternatives: Linking //usr/bin/hexdump to hexdump.util-linux-ng
update-alternatives: Linking //usr/bin/last to last.sysvinit
update-alternatives: Linking //usr/bin/logger to logger.util-linux-ng
update-alternatives: Linking //usr/bin/mesg to mesg.sysvinit
update-alternatives: Linking //usr/bin/renice to renice.util-linux-ng
update-alternatives: Linking //usr/bin/wall to wall.sysvinit
update-alternatives: Linking //usr/bin/chfn to chfn.util-linux-ng
update-alternatives: Linking //usr/bin/newgrp to newgrp.util-linux-ng
update-alternatives: Linking //usr/bin/chsh to chsh.util-linux-ng
update-alternatives: Linking //bin/login to login.util-linux-ng
update-alternatives: Error: not linking //sbin/vipw to vipw.util-linux-ng since //sbin/vipw exists and is not a link
update-alternatives: Linking //sbin/vigr to vigr.util-linux-ng
update-alternatives: Linking //usr/bin/reset to reset.util-linux-ng
update-alternatives: Linking //usr/bin/setsid to setsid.util-linux-ng
update-alternatives: Linking //usr/bin/chrt to chrt.util-linux-ng
update-alternatives: Linking //sbin/hwclock to ../bin/busybox
update-alternatives: Linking //sbin/shutdown to shutdown.sysvinit
update-alternatives: Linking //sbin/reboot to reboot.sysvinit
update-alternatives: Linking //sbin/halt to halt.sysvinit
INIT: Entering runlevel: 5
Creating Dropbear SSH server RSA host key.
Will output 1024 bit rsa secret key to '/etc/dropbear/dropbear_rsa_host_key'
Generating key, this may take a while...
Public key portion is:
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAAAgwCCzCu1yIHzfQxKU/BEunJaEo4zX7tguLVw6iD73u8fO8qruzLwa+QY6zIR2FMoH/kTy4Bzrrj2TSR6vzMFlFX/yAJUlHdA7OL3aePnEFaxBW7YKEkCcCJhw1SHsm1mi9SQLxwSCca6oqtizkzLQmn6jdcXGj7TO+RNfc1tj/CU8S01 root@beagleboard
Fingerprint: md5 36:ca:40:22:63:09:9f:0d:83:b8:01:0a:1a:79:8d:c5
Starting Dropbear SSH server: dropbear.
Starting syslogd/klogd: done
.-------.
| | .-.
| | |-----.-----.-----.| | .----..-----.-----.
| | | __ | ---'| '--.| .-'| | |
| | | | | |--- || --'| | | ' | | | |
'---'---'--'--'--. |-----''----''--' '-----'-'-'-'
-' |
'---'
The Angstrom Distribution beagleboard ttyS2
Angstrom 2010.7-test-20100820 beagleboard ttyS2
beagleboard login:
Beagleboard-xM Bootプロセスを追ってみた(u-bootまで)
早いものでBeagleboard-xM(以下BB-XM)が届いて3週ほど経過しました。
本来Bootプロセスを追いきってからブログにまとめようかと思っていましたが、途中で進まなくなってしまったので一旦ここでまでの経過として記録に残しておきます。
このブログにまとめた内容をざっとまとめると次の通りです。
・SDカードをフォーマットする
・Xloader(MLO)をビルドして入れ替える
・u-bootをビルドして入れ替える
の3つです。
逆に次のことは実際にしていますがブログには書いていません
・BB-XMの付属SDによる初期動作確認
・VMWare Plaerのインストール
・ubuntu 8.04のインストールおよびバージョンアップ、使い方など
BB-XMとのシリアル接続の環境ですが、私の環境ではUSB-シリアルアダプタが母艦のWin7 x64で動作しないためXP Mode上のXP Proで動作させています。ubuntuでもシリアル通信できるかもしれませんが、不慣れなためUSBシリアルのポート設定のところで進まなくなったのでそうしています
ちなみにUSB-シリアルはELECOMのUC-SGTを使っています。
(Win7 x64対応化のブログなど参考にしましたが、ことごとく失敗でした
さて、前置きが長くなりましたがここからが本番です。
まず写真です。

PCとの接続はUSB-シリアルだけです。
電源はDC5VのACアダプタを使いました(fonルータのACアダプタがちょうどよかったです)
1.SDカードのフォーマット
HP Disk Formatting Toolというものを使います。バージョン(V2.0.6)は特定のものじゃないと私の環境では動作できませんでした。
※BB-XM付属SDカードをフォーマットする場合は、必ずファイルのバックアップを取ることを推奨します。

↑カードさしてない状態で起動したときの画面
File systemはFAT32を指定してください
ちなみにこのアプリケーションは管理者として起動しないと動作しませんので、右クリックメニューから「管理者として実行」で立ち上げてください。
※ディスクフォーマットはフォーマット対象のディスクのデータを全消去しますので、くれくれも注意してくださいね
※この作業は割と時間がかかりました。気長に待ちましょう。
参考にV2.0.6のインストーラーのリンクを載せておきます(リンクはいつまで有効かわかりませんけどね)
http://www.docjelly.com/Blog/content/binary/SP27213.exe
2.ビルド環境の構築(ubuntu上)
次のサイトさんを参考にしました。
http://www.zoids-fan.net/zoids/blogn/index.php?e=67&450abbab45d32ff311d075adf2da0623003c9bc0=q952bgcmfoqa1cnndlo0h8n64l2c1124
コンパイラは、codesourceryを使いますが、これまた特定のバージョンじゃないとビルドできませんので注意してください
私は次のリンクのファイルを使いました
http://www.codesourcery.com/sgpp/lite/arm/portal/package4571/public/arm-none-linux-gnueabi/arm-2009q1-203-arm-none-linux-gnueabi-i686-pc-linux-gnu.tar.bz2
ターミナルで次のようにします
# sudo mkdir -p /opt/omap3evm/toolchain
# sudo cp arm-2009q1-203-arm-none-linux-gnueabi-i686-pc-linux-gnu.tar.bz2 /opt/omap3evm/toolchain
# cd /opt/omap3evm/toolchain
# sudo tar -jxvf arm-2009q1-203-arm-none-linux-gnueabi-i686-pc-linux-gnu.tar.bz2
# sudo rm arm-2009q1-203-arm-none-linux-gnueabi-i686-pc-linux-gnu.tar.bz2
~/.bashrcを編集(追加)します
PATH=/opt/omap3evm/toolchain/arm-2009q1/bin:$PATH
続いてコンパイラのバージョン確認
# arm-none-linux-gnueabi-gcc -v
gcc version 4.3.3 (Sourcery G++ Lite 2009q1-203)
↑と返ってくることを確認
3.Xload
話が脇道にそれますが、Beagleboardの起動プロセスは次のようになっているようです。
Bootrom→Xloader(MLO)→uboot→(Linux等)
BootromはCPUのROM(多分Flashではないと思う)に書きこまれていて書き換え不可になっています。またソースも公開されていません。
Xloader(MLO)は、SDカードに配置しているのでBootRomは起動後SDカードのXloader(MLO)を探して起動させます。
Xloaderは小粒のBootloaderのためLinuxを起動できるだけの力がありません。そこで一旦u-bootを起動することになります。
u-bootはパワフルなブートローダーのためLinuxを起動できます。付属SDではAngstromというOSを起動させています。
さて本題に戻ります。
X-loadは次のサイトさんを参考にしました
http://www16.big.or.jp/~t_sasaki/emblinux/beagledev.html
http://code.google.com/p/beagleboard/wiki/BeagleSourceCode
# git://gitorious.org/x-load-omap3/mainline.git
# sudo apt-get install git-core
# mkdir omap35x-beagle
# cd omap35x-beagle
# git clone git://gitorious.org/x-load-omap3/mainline.git xloader
# cd xloader
# make distclean
# make omap3530beagle_config
# make
ここまでの処理でx-load.binというファイルができました。BB-XMで実行できる形に加工するためにはMLOというファイルに加工しないといけません*1、これにはsinGPというアプリケーションを使用します
次の処理はsinGPの取得から実行までを書いています
# wget http://beagleboard.googlecode.com/files/signGP
# chmod +x signGP
# ./signGP x-load.bin
# #x-load.bin.iftができる
# mv x-load.bin.ift MLO
sinGPのソースも見れるので確認したところこのプログラムは単にx-load.binのサイズとBB-XMの配置先のアドレスをx-load.binのバイナリのヘッダとし追加しているようです。
ちなみに私が付くっだMLOに付加された情報は
サイズ:23672(0x5C78)
RAM:0x40200800
sinGPのソースは次のリンク
http://beagleboard.googlecode.com/files/signGP.c
ちなみにOMAP37xxのアドレスマップは次の通り
Boot ROM:0x4000 0000 - 0x400F FFFF
SRAM:0x4020 0000 - 0x4020 FFFF
SDRAM:0x8000 0000 - 0x9FFF FFFF (512MB)
上記メモリマップでわかるとおりx-loaderはSRAMに配置されることになるようです。
4.u-boot
本ブログの最終工程です
u-bootは複数のgitリポジトリがあるのでどのcloneを落とすかで悩みました。
実際に何パターンか試して最終的にangstromがソースを変更しなくても動作するものを使いました。
u-bootは次のリンクを参考にしました
http://www16.big.or.jp/~t_sasaki/emblinux/beagledev.html
次のように端末で入力します
# git clone git://gitorious.org/beagleboard-validation/u-boot.git u-boot-omap3
# cd u-boot-omap3
# git pull origin validation-20100818
# make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- mrproper
# make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- omap3_beagle_config
# make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi-
※私の環境ではgit cloneには時間がかかりました(20~30分くらい)
makeは10~15程度でした
5.SDカードへコピー
上記作業でできたMLO及びu-boot.binをSDカードに書き込み、その他ファイルを付属SDからのコピペするとangstromが起動します。起動途中のカウントダウンでキーを押すとBB-XMの動作チェックコマンドを打てるようになります。
上記2ファイル以外に付属SDに収録されている。user.scr、ramdisk.gz、ramfs.img、uImage、についても作り方を書きたかったのですが、今のところuser.scrで先に進めなくて少々困り気味、もうちょっと情報が整理できたらブログにアップしたいと思います。
起動時はこんな感じです↓

本来Bootプロセスを追いきってからブログにまとめようかと思っていましたが、途中で進まなくなってしまったので一旦ここでまでの経過として記録に残しておきます。
このブログにまとめた内容をざっとまとめると次の通りです。
・SDカードをフォーマットする
・Xloader(MLO)をビルドして入れ替える
・u-bootをビルドして入れ替える
の3つです。
逆に次のことは実際にしていますがブログには書いていません
・BB-XMの付属SDによる初期動作確認
・VMWare Plaerのインストール
・ubuntu 8.04のインストールおよびバージョンアップ、使い方など
BB-XMとのシリアル接続の環境ですが、私の環境ではUSB-シリアルアダプタが母艦のWin7 x64で動作しないためXP Mode上のXP Proで動作させています。ubuntuでもシリアル通信できるかもしれませんが、不慣れなためUSBシリアルのポート設定のところで進まなくなったのでそうしています

ちなみにUSB-シリアルはELECOMのUC-SGTを使っています。
(Win7 x64対応化のブログなど参考にしましたが、ことごとく失敗でした

さて、前置きが長くなりましたがここからが本番です。
まず写真です。

PCとの接続はUSB-シリアルだけです。
電源はDC5VのACアダプタを使いました(fonルータのACアダプタがちょうどよかったです)
1.SDカードのフォーマット
HP Disk Formatting Toolというものを使います。バージョン(V2.0.6)は特定のものじゃないと私の環境では動作できませんでした。
※BB-XM付属SDカードをフォーマットする場合は、必ずファイルのバックアップを取ることを推奨します。

↑カードさしてない状態で起動したときの画面
File systemはFAT32を指定してください
ちなみにこのアプリケーションは管理者として起動しないと動作しませんので、右クリックメニューから「管理者として実行」で立ち上げてください。
※ディスクフォーマットはフォーマット対象のディスクのデータを全消去しますので、くれくれも注意してくださいね

※この作業は割と時間がかかりました。気長に待ちましょう。
参考にV2.0.6のインストーラーのリンクを載せておきます(リンクはいつまで有効かわかりませんけどね)
http://www.docjelly.com/Blog/content/binary/SP27213.exe
2.ビルド環境の構築(ubuntu上)
次のサイトさんを参考にしました。
http://www.zoids-fan.net/zoids/blogn/index.php?e=67&450abbab45d32ff311d075adf2da0623003c9bc0=q952bgcmfoqa1cnndlo0h8n64l2c1124
コンパイラは、codesourceryを使いますが、これまた特定のバージョンじゃないとビルドできませんので注意してください
私は次のリンクのファイルを使いました
http://www.codesourcery.com/sgpp/lite/arm/portal/package4571/public/arm-none-linux-gnueabi/arm-2009q1-203-arm-none-linux-gnueabi-i686-pc-linux-gnu.tar.bz2
ターミナルで次のようにします
# sudo mkdir -p /opt/omap3evm/toolchain
# sudo cp arm-2009q1-203-arm-none-linux-gnueabi-i686-pc-linux-gnu.tar.bz2 /opt/omap3evm/toolchain
# cd /opt/omap3evm/toolchain
# sudo tar -jxvf arm-2009q1-203-arm-none-linux-gnueabi-i686-pc-linux-gnu.tar.bz2
# sudo rm arm-2009q1-203-arm-none-linux-gnueabi-i686-pc-linux-gnu.tar.bz2
~/.bashrcを編集(追加)します
PATH=/opt/omap3evm/toolchain/arm-2009q1/bin:$PATH
続いてコンパイラのバージョン確認
# arm-none-linux-gnueabi-gcc -v
gcc version 4.3.3 (Sourcery G++ Lite 2009q1-203)
↑と返ってくることを確認
3.Xload
話が脇道にそれますが、Beagleboardの起動プロセスは次のようになっているようです。
Bootrom→Xloader(MLO)→uboot→(Linux等)
BootromはCPUのROM(多分Flashではないと思う)に書きこまれていて書き換え不可になっています。またソースも公開されていません。
Xloader(MLO)は、SDカードに配置しているのでBootRomは起動後SDカードのXloader(MLO)を探して起動させます。
Xloaderは小粒のBootloaderのためLinuxを起動できるだけの力がありません。そこで一旦u-bootを起動することになります。
u-bootはパワフルなブートローダーのためLinuxを起動できます。付属SDではAngstromというOSを起動させています。
さて本題に戻ります。
X-loadは次のサイトさんを参考にしました
http://www16.big.or.jp/~t_sasaki/emblinux/beagledev.html
http://code.google.com/p/beagleboard/wiki/BeagleSourceCode
# git://gitorious.org/x-load-omap3/mainline.git
# sudo apt-get install git-core
# mkdir omap35x-beagle
# cd omap35x-beagle
# git clone git://gitorious.org/x-load-omap3/mainline.git xloader
# cd xloader
# make distclean
# make omap3530beagle_config
# make
ここまでの処理でx-load.binというファイルができました。BB-XMで実行できる形に加工するためにはMLOというファイルに加工しないといけません*1、これにはsinGPというアプリケーションを使用します
次の処理はsinGPの取得から実行までを書いています
# wget http://beagleboard.googlecode.com/files/signGP
# chmod +x signGP
# ./signGP x-load.bin
# #x-load.bin.iftができる
# mv x-load.bin.ift MLO
sinGPのソースも見れるので確認したところこのプログラムは単にx-load.binのサイズとBB-XMの配置先のアドレスをx-load.binのバイナリのヘッダとし追加しているようです。
ちなみに私が付くっだMLOに付加された情報は
サイズ:23672(0x5C78)
RAM:0x40200800
sinGPのソースは次のリンク
http://beagleboard.googlecode.com/files/signGP.c
ちなみにOMAP37xxのアドレスマップは次の通り
Boot ROM:0x4000 0000 - 0x400F FFFF
SRAM:0x4020 0000 - 0x4020 FFFF
SDRAM:0x8000 0000 - 0x9FFF FFFF (512MB)
上記メモリマップでわかるとおりx-loaderはSRAMに配置されることになるようです。
4.u-boot
本ブログの最終工程です
u-bootは複数のgitリポジトリがあるのでどのcloneを落とすかで悩みました。
実際に何パターンか試して最終的にangstromがソースを変更しなくても動作するものを使いました。
u-bootは次のリンクを参考にしました
http://www16.big.or.jp/~t_sasaki/emblinux/beagledev.html
次のように端末で入力します
# git clone git://gitorious.org/beagleboard-validation/u-boot.git u-boot-omap3
# cd u-boot-omap3
# git pull origin validation-20100818
# make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- mrproper
# make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- omap3_beagle_config
# make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi-
※私の環境ではgit cloneには時間がかかりました(20~30分くらい)
makeは10~15程度でした
5.SDカードへコピー
上記作業でできたMLO及びu-boot.binをSDカードに書き込み、その他ファイルを付属SDからのコピペするとangstromが起動します。起動途中のカウントダウンでキーを押すとBB-XMの動作チェックコマンドを打てるようになります。
上記2ファイル以外に付属SDに収録されている。user.scr、ramdisk.gz、ramfs.img、uImage、についても作り方を書きたかったのですが、今のところuser.scrで先に進めなくて少々困り気味、もうちょっと情報が整理できたらブログにアップしたいと思います。
起動時はこんな感じです↓

EFM32開発ボード無事到着
7月末に発注したEFM32開発ボード(EFM32-G8xx-DK)が本日届きました。
このボードを簡単に紹介すると次のようなボードです。
・超低消費電力MCUのEFM32(Cortex-M3ベース)を搭載した開発ボード
・消費電力のモニタの3.5inchTFTカラーLCDがマザーボードについています。
・周辺機器は個別に電源ON/OFFできます。
・周辺機器は
ADC、Line-in(Stereo)、Line-out(Stereo)、RS232×2、3軸加速度センサ、SPI Flash、microSD(SPI mode)、EEPROM、温度センサ、IrDA、SRAM 256k*16bit、光センサ、可変抵抗、5方向ジョイスティック、スイッチ×4、DIPスイッチ×8、UserLED×16、7セグLCD
・ユニバーサル基板付き
ユーザーマニュアルの図を転載します

今日は開封→環境のインストール→起動の3ステップのみ行いました
写真と画面キャプチャを記録として残しておきますのでご参考までに
まずは写真から、energumicroでもいくつかの写真やビデオが掲載されていますのでそれほど目新しいものでもないかと思います。
写真1.開発ボードの箱

写真2.開発ボード

写真3.開発ボード(別アングル)

写真4.付属CD

開発キットにはIARの機能限定版が付属していました32kバイトの縛りがあるようです。期限は2035年なのに問題ないでしょう。気が向いたらCodeSourceryのコンパイラが使えないか調べたいと思います。
では、枚数がかなりありますが順番にIAR機能減退版のインストール中の様子をご紹介します。
IARインストール画面1

IARインストール画面2

※ここでIARのWebサイトへ移動してライセンスを登録してください
IARインストール画面3

IARインストール画面4

IARインストール画面5

IARインストール画面6

IARインストール画面7

IARインストール画面8

IARインストール画面9

IARインストール画面10

IARインストール画面11

IARインストール画面12

ここまでがIARのインストールです
続いてIAR Embedded Worksの起動です
起動画面1(言語選択)

起動画面2

Quick start guideにはIARがインストールが終わったら続いてはJLink(Segger)のdllをダウンロードするよう書いてありますが私はJlinkを持っていないのでここは飛ばします
つづいてUSBでホストPCと開発ボードを接続します
ただし私の環境ではUSBドライバが認識されませんでした(Win7 Pro x64、XP Modeでも同様)
また、USBで接続すると何ができるのかはQuick start guideおよびユーザーマニュアルを読んでもよくわかりませんでした
さてではいよいよ電源の投入です。
投入後の様子はビデオでご確認ください(ピントと光量がイマイチでわかりづらいですが
最後にenergyMicroのEFM32_Gecko_DK_Installerを入れます(これを入れるとドキュメントとEnergyAwareというツールがインストールされます)
このツールはEnergyMicroのWebサイトからダウンロードします。

DKInstaller画面1
だ
DKInstaller画面2

DKInstaller画面3

DKInstaller画面4

DKInstaller画面5

DKInstaller画面6

DKInstaller画面7

これで、Jlink以外の環境はひととおり整いました。
ちなみにJlinkを使いますがJATGではなくシリアル接続として使うだけなので他の機器(USBProgとか)で代用できないか調べてみたいところです。
それからUSBドライバの認識の問題は厄介かもしれません。
それからROMの焼き方、もしかしてBootローダー?そのあたりも確認が必要です。
当面調べ事をしないとなんにもできない感じですね。
このボードを簡単に紹介すると次のようなボードです。
・超低消費電力MCUのEFM32(Cortex-M3ベース)を搭載した開発ボード
・消費電力のモニタの3.5inchTFTカラーLCDがマザーボードについています。
・周辺機器は個別に電源ON/OFFできます。
・周辺機器は
ADC、Line-in(Stereo)、Line-out(Stereo)、RS232×2、3軸加速度センサ、SPI Flash、microSD(SPI mode)、EEPROM、温度センサ、IrDA、SRAM 256k*16bit、光センサ、可変抵抗、5方向ジョイスティック、スイッチ×4、DIPスイッチ×8、UserLED×16、7セグLCD
・ユニバーサル基板付き
ユーザーマニュアルの図を転載します

今日は開封→環境のインストール→起動の3ステップのみ行いました
写真と画面キャプチャを記録として残しておきますのでご参考までに
まずは写真から、energumicroでもいくつかの写真やビデオが掲載されていますのでそれほど目新しいものでもないかと思います。
写真1.開発ボードの箱

写真2.開発ボード

写真3.開発ボード(別アングル)

写真4.付属CD

開発キットにはIARの機能限定版が付属していました32kバイトの縛りがあるようです。期限は2035年なのに問題ないでしょう。気が向いたらCodeSourceryのコンパイラが使えないか調べたいと思います。
では、枚数がかなりありますが順番にIAR機能減退版のインストール中の様子をご紹介します。
IARインストール画面1

IARインストール画面2

※ここでIARのWebサイトへ移動してライセンスを登録してください
IARインストール画面3

IARインストール画面4

IARインストール画面5

IARインストール画面6

IARインストール画面7

IARインストール画面8

IARインストール画面9

IARインストール画面10

IARインストール画面11

IARインストール画面12

ここまでがIARのインストールです
続いてIAR Embedded Worksの起動です
起動画面1(言語選択)

起動画面2

Quick start guideにはIARがインストールが終わったら続いてはJLink(Segger)のdllをダウンロードするよう書いてありますが私はJlinkを持っていないのでここは飛ばしますつづいてUSBでホストPCと開発ボードを接続します
ただし私の環境ではUSBドライバが認識されませんでした(Win7 Pro x64、XP Modeでも同様)
また、USBで接続すると何ができるのかはQuick start guideおよびユーザーマニュアルを読んでもよくわかりませんでした

さてではいよいよ電源の投入です。
投入後の様子はビデオでご確認ください(ピントと光量がイマイチでわかりづらいですが

最後にenergyMicroのEFM32_Gecko_DK_Installerを入れます(これを入れるとドキュメントとEnergyAwareというツールがインストールされます)
このツールはEnergyMicroのWebサイトからダウンロードします。

DKInstaller画面1
だ

DKInstaller画面2

DKInstaller画面3

DKInstaller画面4

DKInstaller画面5

DKInstaller画面6

DKInstaller画面7

これで、Jlink以外の環境はひととおり整いました。
ちなみにJlinkを使いますがJATGではなくシリアル接続として使うだけなので他の機器(USBProgとか)で代用できないか調べてみたいところです。
それからUSBドライバの認識の問題は厄介かもしれません。
それからROMの焼き方、もしかしてBootローダー?そのあたりも確認が必要です。
当面調べ事をしないとなんにもできない感じですね。