Warning - readenv() failed, using default environment
ROMをSD-CARDに焼いてみた。
起動の途中で以下のエラーになった。
The error message above indicates that there is an issue with the EEPROM or the EEPROM contents. After verifying the EEPROM contents, if any, refer to the am335x_evm_setup function in the arch/arm/mach-omap2/board-am335xevm.c file to modify the board initialization code to match the hardware configuration.
Arch Linux ARM ? View topic - beagle bone?
BeagleBone Black AM335x (ARM Cortex A8 (1GHz) + 3D SGX Accelerator + HDMI display and audio)(Pre-built Images: Kernel Image, boot loader, u-boot.img, uEnv.txt, filesystem, performance benchmark tests, media files, etc) 242520K
こちらのROMにしたら、起動するようになった。
最初に落としたROMがBeagleBoardBlackのものではなかったようだ。(間違えたROMのfilename:beaglebone-jb.tar.gz)
起動しないときの232Cのログ U-Boot SPL 2013.04-dirty (Jun 19 2013 - 09:57:14) musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, HB-ISO Rx, HB-ISO Tx, SoftConn) musb-hdrc: MHDRC RTL version 2.0 musb-hdrc: setup fifo_mode 4 musb-hdrc: 28/31 max ep, 16384/16384 memory USB Peripheral mode controller at 47401000 using PIO, IRQ 0 musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, HB-ISO Rx, HB-ISO Tx, SoftConn) musb-hdrc: MHDRC RTL version 2.0 musb-hdrc: setup fifo_mode 4 musb-hdrc: 28/31 max ep, 16384/16384 memory USB Host mode controller at 47401800 using PIO, IRQ 0 OMAP SD/MMC: 0 mmc_send_cmd : timeout: No status update reading u-boot.img reading u-boot.img U-Boot 2013.04-dirty (Jun 19 2013 - 09:57:14) I2C: ready DRAM: 512 MiB WARNING: Caches not enabled NAND: No NAND device found!!! 0 MiB MMC: OMAP SD/MMC: 0, OMAP SD/MMC: 1 *** Warning - readenv() failed, using default environment musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, HB-ISO Rx, HB-ISO Tx, SoftConn) musb-hdrc: MHDRC RTL version 2.0 musb-hdrc: setup fifo_mode 4 musb-hdrc: 28/31 max ep, 16384/16384 memory USB Peripheral mode controller at 47401000 using PIO, IRQ 0 musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, HB-ISO Rx, HB-ISO Tx, SoftConn) musb-hdrc: MHDRC RTL version 2.0 musb-hdrc: setup fifo_mode 4 musb-hdrc: 28/31 max ep, 16384/16384 memory USB Host mode controller at 47401800 using PIO, IRQ 0 Net: <ethaddr> not set. Validating first E-fuse MAC cpsw, usb_ether Hit any key to stop autoboot: 0 gpio: pin 53 (gpio 53) value is 1 mmc0 is current device micro SD card found mmc0 is current device gpio: pin 54 (gpio 54) value is 1 SD/MMC found on device 0 reading uEnv.txt 226 bytes read in 3 ms (73.2 KiB/s) Loaded environment from uEnv.txt Importing environment from mmc ... Running uenvcmd ... reading uImage 3687224 bytes read in 444 ms (7.9 MiB/s) ## Booting kernel from Legacy Image at 81000000 ... Image Name: Linux-3.2.0-gfe511cc Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 3687160 Bytes = 3.5 MiB 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 3.2.0-gfe511cc (x0146275@psplinux052) (gcc version 4.6.x-google 20120106 (prerelease) (GCC) ) #1 Fri Aug 17 12:18:40 IST 2012 [ 0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c53c7d [ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache [ 0.000000] Machine: am335xevm [ 0.000000] Memory policy: ECC disabled, Data cache writeback [ 0.000000] AM335X ES1.0 (sgx neon ) [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 65024 [ 0.000000] Kernel command line: console=ttyO0,115200n8 androidboot.console=ttyO0 mem=256M root=/dev/mmcblk0p2 rw rootfstype=ext4 rootwait rootdelay=1 init [ 0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes) [ 0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes) [ 0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes) [ 0.000000] Memory: 256MB = 256MB total [ 0.000000] Memory: 251280k/251280k available, 10864k reserved, 0K highmem [ 0.000000] Virtual kernel memory layout: [ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB) [ 0.000000] fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB) [ 0.000000] vmalloc : 0xd0800000 - 0xff000000 ( 744 MB) [ 0.000000] lowmem : 0xc0000000 - 0xd0000000 ( 256 MB) [ 0.000000] modules : 0xbf000000 - 0xc0000000 ( 16 MB) [ 0.000000] .text : 0xc0008000 - 0xc0694000 (6704 kB) [ 0.000000] .init : 0xc0694000 - 0xc06d2000 ( 248 kB) [ 0.000000] .data : 0xc06d2000 - 0xc072e440 ( 370 kB) [ 0.000000] .bss : 0xc072e464 - 0xc085f888 (1222 kB) [ 0.000000] NR_IRQS:396 [ 0.000000] IRQ: Found an INTC at 0xfa200000 (revision 5.0) with 128 interrupts [ 0.000000] Total of 128 interrupts on 1 active controller [ 0.000000] OMAP clockevent source: GPTIMER2 at 24000000 Hz [ 0.000000] OMAP clocksource: GPTIMER1 at 32768 Hz [ 0.000000] sched_clock: 32 bits at 32kHz, resolution 30517ns, wraps every 131071999ms [ 0.000000] Console: colour dummy device 80x30 [ 0.000183] Calibrating delay loop... 548.86 BogoMIPS (lpj=2744320) [ 0.048706] pid_max: default: 32768 minimum: 301 [ 0.048858] Security Framework initialized [ 0.048919] Mount-cache hash table entries: 512 [ 0.049346] CPU: Testing write buffer coherency: ok [ 0.070159] omap_hwmod: pruss: failed to hardreset [ 0.071044] print_constraints: dummy: [ 0.071319] NET: Registered protocol family 16 [ 0.072601] OMAP GPIO hardware version 0.1 [ 0.073852] omap_mux_init: Add partition: #1: core, flags: 0 [ 0.075317] omap_i2c.1: alias fck already exists [ 0.075927] omap2_mcspi.1: alias fck already exists [ 0.076080] omap2_mcspi.2: alias fck already exists [ 0.076263] edma.0: alias fck already exists [ 0.076293] edma.0: alias fck already exists [ 0.076324] edma.0: alias fck already exists [ 0.088439] bio: create slab <bio-0> at 0 [ 0.089599] SCSI subsystem initialized [ 0.090606] usbcore: registered new interface driver usbfs [ 0.090728] usbcore: registered new interface driver hub [ 0.090911] usbcore: registered new device driver usb [ 0.091064] musb-ti81xx musb-ti81xx: musb0, board_mode=0x13, plat_mode=0x3 [ 0.091247] musb-ti81xx musb-ti81xx: musb1, board_mode=0x13, plat_mode=0x1 [ 0.091796] omap_i2c omap_i2c.1: bus 1 rev2.4.0 at 100 kHz [ 0.092742] tps65910 1-002d: could not be detected [ 0.093322] Advanced Linux Sound Architecture Driver Version 1.0.24. [ 0.093994] Bluetooth: Core ver 2.16 [ 0.094055] NET: Registered protocol family 31 [ 0.094085] Bluetooth: HCI device and connection manager initialized [ 0.094085] Bluetooth: HCI socket layer initialized [ 0.094116] Bluetooth: L2CAP socket layer initialized [ 0.094146] Bluetooth: SCO socket layer initialized [ 0.094390] Switching to clocksource gp timer [ 0.104309] musb-hdrc: version 6.0, ?dma?, otg (peripheral+host) [ 0.104553] musb-hdrc musb-hdrc.0: dma type: pio [ 0.104766] MUSB0 controller's USBSS revision = 4ea20800 [ 0.105346] musb-hdrc musb-hdrc.0: USB OTG mode controller at d083c000 using PIO, IRQ 18 [ 0.105590] musb-hdrc musb-hdrc.1: dma type: pio [ 0.105804] MUSB1 controller's USBSS revision = 4ea20800 [ 0.105926] musb-hdrc musb-hdrc.1: MUSB HDRC host driver [ 0.106018] musb-hdrc musb-hdrc.1: new USB bus registered, assigned bus number 1 [ 0.106170] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002 [ 0.106201] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 0.106201] usb usb1: Product: MUSB HDRC host driver [ 0.106231] usb usb1: Manufacturer: Linux 3.2.0-gfe511cc musb-hcd [ 0.106231] usb usb1: SerialNumber: musb-hdrc.1 [ 0.106903] hub 1-0:1.0: USB hub found [ 0.106933] hub 1-0:1.0: 1 port detected [ 0.107421] musb-hdrc musb-hdrc.1: USB Host mode controller at d083e800 using PIO, IRQ 19 [ 0.107788] NET: Registered protocol family 2 [ 0.108001] IP route cache hash table entries: 2048 (order: 1, 8192 bytes) [ 0.108428] TCP established hash table entries: 8192 (order: 4, 65536 bytes) [ 0.108642] TCP bind hash table entries: 8192 (order: 3, 32768 bytes) [ 0.108764] TCP: Hash tables configured (established 8192 bind 8192) [ 0.108795] TCP reno registered [ 0.108795] UDP hash table entries: 256 (order: 0, 4096 bytes) [ 0.108825] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes) [ 0.109069] NET: Registered protocol family 1 [ 0.109405] RPC: Registered named UNIX socket transport module. [ 0.109405] RPC: Registered udp transport module. [ 0.109436] RPC: Registered tcp transport module. [ 0.109436] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 0.109710] NetWinder Floating Point Emulator V0.97 (double precision) [ 0.299591] ashmem: initialized [ 0.299926] VFS: Disk quotas dquot_6.5.2 [ 0.299987] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes) [ 0.301025] msgmni has been set to 490 [ 0.302246] io scheduler noop registered [ 0.302246] io scheduler deadline registered [ 0.302337] io scheduler cfq registered (default) [ 0.303009] Could not set LED4 to fully on [ 0.304290] omap_uart.0: ttyO0 at MMIO 0x44e09000 (irq = 72) is a OMAP UART0 [ 0.891265] console [ttyO0] enabled [ 0.895385] omap_uart.1: ttyO1 at MMIO 0x48022000 (irq = 73) is a OMAP UART1 [ 0.903106] omap_uart.2: ttyO2 at MMIO 0x48024000 (irq = 74) is a OMAP UART2 [ 0.910858] omap_uart.3: ttyO3 at MMIO 0x481a6000 (irq = 44) is a OMAP UART3 [ 0.918579] omap_uart.4: ttyO4 at MMIO 0x481a8000 (irq = 45) is a OMAP UART4 [ 0.926330] omap_uart.5: ttyO5 at MMIO 0x481aa000 (irq = 46) is a OMAP UART5 [ 0.941528] brd: module loaded [ 0.948852] loop: module loaded [ 0.952331] i2c-core: driver [tsl2550] using legacy suspend method [ 0.958831] i2c-core: driver [tsl2550] using legacy resume method [ 0.965301] at24 1-0051: 32768 byte 24c256 EEPROM, writable, 64 bytes/write [ 1.024932] No daughter card found on AM335x EVM [ 1.029815] at24 1-0050: 32768 byte 24c256 EEPROM, writable, 64 bytes/write [ 1.045043] Board name: A335BNLT [ 1.048431] Board version: 0A5C [ 1.051696] SKU: ▒▒▒▒▒▒ [ 1.054260] The error message above indicates that there is an issue with [ 1.054260] the EEPROM or the EEPROM contents. After verifying the EEPROM [ 1.054290] contents, if any, refer to the am335x_evm_setup function in the [ 1.054290] arch/arm/mach-omap2/board-am335xevm.c file to modify the board [ 1.054290] initialization code to match the hardware configuration