Beagleboard rebooting

Hi, I’m trying to boot my beagleboard xm but it keeps rebooting,

I would apreciate some help, following there is the some minicom captures.

Regards

Luis Specian

with ubuntu image:

U-Boot SPL 2011.12-00005-g0a44c98 (Feb 13 2012 - 18:49:45)
Texas Instruments Revision detection unimplemented
OMAP SD/MMC: 0
timed out in wait_for_bb: I2C_STAT=1000
reading u-boot.img
reading u-boot.img

U-Boot 2011.12-00005-g0a44c98 (Feb 13 2012 - 18:49:45)

OMAP3630/3730-GP ES1.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 A
No EEPROM on expansion board
No EEPROM on expansion board
Die ID #4fbe00019ff80000015eeaa102008020
Net: Net Initialization Skipped
No ethernet found.
Hit any key to stop autoboot: 2 1 0
The user button is currently NOT pressed.
SD/MMC found on device 0
reading uEnv.txt

761 bytes read
Loaded environment from uEnv.txt
Importing environment from mmc …
reading uImage

3014528 bytes read
reading uInitrd

3087353 bytes read
Booting from mmc …

Booting kernel from Legacy Image at 80300000 …

Image Name: 3.2.3-x4
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 3014464 Bytes = 2.9 MiB
Load Address: 80008000
Entry Point: 80008000
Verifying Checksum … OK

Loading init Ramdisk from Legacy Image at 81600000 …

Image Name: initramfs
Image Type: ARM Linux RAMDisk Image (uncompressed)
Data Size: 3087289 Bytes = 2.9 MiB
Load Address: 00000000
Entry Point: 00000000
Verifying Checksum … OK
Loading Kernel Image … OK
OK

Starting kernel …

Uncompressing Linux… done, booting the kernel.
[ 0.000000] Booting Linux on physical CPU 0
[ 0.000000] Initializing cgroup subsys cpuset
[ 0.000000] Initializing cgroup subsys cpu
[ 0.000000] Linux version 3.2.3-x4 (root@panda-a3-1gb) (gcc version 4.6.1 (Ubuntu/Linaro 4.6.1-9ubuntu3) ) #1 SMP Sat Feb 4 10:33:25 UTC 2012
[ 0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c5387d
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[ 0.000000] Machine: OMAP3 Beagle Board
[ 0.000000] Beagle expansionboard: none
[ 0.000000] Beagle second expansionboard: none
[ 0.000000] Reserving 12582912 bytes SDRAM for VRAM
[ 0.000000] Memory policy: ECC disabled, Data cache writeback
[ 0.000000] OMAP3630 ES1.1 (l2cache iva sgx neon isp 192mhz_clk )
[ 0.000000] Clocking rate (Crystal/Core/MPU): 26.0/400/600 MHz
[ 0.000000] PERCPU: Embedded 8 pages/cpu @c0d11000 s10784 r8192 d13792 u32768
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 125440
[ 0.000000] Kernel command line: console=ttyO2,115200n8 console=tty0 mpurate=auto buddy=none buddy2=none camera=none vram=12MB omapfb.mode=tv:ntsc omapdss.def_disp=tv root=/dev/mmcblk0p2 ro rootfstype=ext4 rootwait fixrtc
[ 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] allocated 2097152 bytes of page_cgroup
[ 0.000000] please try ‘cgroup_disable=memory’ option if you don’t want memory cgroups
[ 0.000000] Memory: 494MB = 494MB total
[ 0.000000] Memory: 486984k/486984k available, 37304k 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 : 0xe0800000 - 0xf8000000 ( 376 MB)
[ 0.000000] lowmem : 0xc0000000 - 0xe0000000 ( 512 MB)
[ 0.000000] pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB)
[ 0.000000] modules : 0xbf000000 - 0xbfe00000 ( 14 MB)
[ 0.000000] .text : 0xc0008000 - 0xc078814c (7681 kB)
[ 0.000000] .init : 0xc0789000 - 0xc07dea20 ( 343 kB)
[ 0.000000] .data : 0xc07e0000 - 0xc0848c90 ( 420 kB)
[ 0.000000] .bss : 0xc0848cb4 - 0xc090cd50 ( 785 kB)
[ 0.000000] SLUB: Genslabs=13, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] Hierarchical RCU implementation.
[ 0.000000] NR_IRQS:410 nr_irqs:410 410
[ 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 clockevent source: GPTIMER12 at 32768 Hz
[ 0.000000] sched_clock: 32 bits at 32kHz, resolution 30517ns, wraps every 131071999ms
[ 0.000000] Console: colour dummy device 80x30
[ 0.000000] console [tty0] enabled
[ 0.000671] Calibrating delay loop… 534.63 BogoMIPS (lpj=2088960)
[ 0.034973] pid_max: default: 32768 minimum: 301
[ 0.035247] Security Framework initialized
[ 0.035308] AppArmor: AppArmor initialized
[ 0.035614] Mount-cache hash table entries: 512
[ 0.036590] Initializing cgroup subsys cpuacct
[ 0.036682] Initializing cgroup subsys memory
[ 0.036743] Initializing cgroup subsys devices
[ 0.036773] Initializing cgroup subsys freezer
[ 0.036773] Initializing cgroup subsys blkio
[ 0.036834] Initializing cgroup subsys perf_event
[ 0.036956] CPU: Testing write buffer coherency: ok
[ 0.037231] CPU0: thread -1, cpu 0, socket -1, mpidr 0
[ 0.037872] Brought up 1 CPUs
[ 0.037902] SMP: Total of 1 processors activated (534.63 BogoMIPS).
[ 0.038940] devtmpfs: initialized
[ 0.044860] print_constraints: dummy:
[ 0.045257] NET: Registered protocol family 16
[ 0.045440] GPMC revision 5.0
[ 0.046997] OMAP GPIO hardware version 2.5
[ 0.048706] omap_mux_init: Add partition: #1: core, flags: 0
[ 0.050048] OMAP3 Beagle Rev: xM Ax/Bx
[ 0.053497] Reprogramming SDRC clock to 400000000 Hz
[ 0.053558] dpll3_m2_clk rate change failed: -22
[ 0.055236] Found NAND on CS0
[ 0.055267] Registering NAND on CS0
[ 0.055603] Unable to get DVI reset GPIO
[ 0.055755] hw-breakpoint: debug architecture 0x4 unsupported.
[ 0.056488] Could not look up mcpdm hw_mod
[ 0.059722] omap-mcbsp.2: alias fck already exists
[ 0.059906] omap-mcbsp.3: alias fck already exists
[ 0.061248] OMAP DMA hardware revision 5.0
[ 0.069091] bio: create slab at 0
[ 0.070648] SCSI subsystem initialized
[ 0.072052] usbcore: registered new interface driver usbfs
[ 0.072204] usbcore: registered new interface driver hub
[ 0.072418] usbcore: registered new device driver usb
[ 0.073364] omap_i2c omap_i2c.1: bus 1 rev1.4.0 at 2600 kHz
[ 0.076049] twl4030: PIH (irq 7) chaining IRQs 368…375
[ 0.076202] twl4030: power (irq 373) chaining IRQs 376…383
[ 0.076812] twl4030: gpio (irq 368) chaining IRQs 384…401
[ 0.077239] _omap_mux_init_gpio: Could not set gpio192
[ 0.080047] print_constraints: VUSB1V5: 1500 mV normal standby
[ 0.080535] print_constraints: VUSB1V8: 1800 mV normal standby
[ 0.080993] print_constraints: VUSB3V1: 3100 mV normal standby
[ 0.084869] twl4030_usb twl4030_usb: Initialized TWL4030 USB module
[ 0.085754] print_constraints: VMMC1: 1850 <–> 3150 mV at 3150 mV normal standby
[ 0.086273] print_constraints: VDAC: 1800 mV normal standby
[ 0.086730] print_constraints: VDVI: 1800 mV normal standby
[ 0.087249] print_constraints: VSIM: 1800 <–> 3000 mV at 1800 mV normal standby
[ 0.087615] omap_i2c omap_i2c.2: bus 2 rev1.4.0 at 400 kHz
[ 0.097839] omap_i2c omap_i2c.3: bus 3 rev1.4.0 at 100 kHz
[ 0.099212] NetLabel: Initializing
[ 0.099243] NetLabel: domain hash size = 128
[ 0.099273] NetLabel: protocols = UNLABELED CIPSOv4
[ 0.099334] NetLabel: unlabeled traffic allowed by default
[ 0.099395] Switching to clocksource 32k_counter
[ 0.118713] AppArmor: AppArmor Filesystem Enabled
[ 0.133026] musb-hdrc: version 6.0, ?dma?, otg (peripheral+host)
[ 0.133697] musb-hdrc musb-hdrc: USB OTG mode controller at fa0ab000 using DMA, IRQ 92
[ 0.134124] NET: Registered protocol family 2
[ 0.134552] IP route cache hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.135650] TCP established hash table entries: 16384 (order: 5, 131072 bytes)
[ 0.136047] TCP bind hash table entries: 16384 (order: 5, 131072 bytes)
[ 0.136383] TCP: Hash tables configured (established 16384 bind 16384)
[ 0.136413] TCP reno registered
[ 0.136444] UDP hash table entries: 256 (order: 1, 8192 bytes)
[ 0.136505] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[ 0.136901] NET: Registered protocol family 1
[ 0.137451] RPC: Registered named UNIX socket transport module.
[ 0.137481] RPC: Registered udp transport module.
[ 0.137512] RPC: Registered tcp transport module.
[ 0.137542] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.137969] Trying to unpack rootfs image as initramfs…
[ 0.459075] Freeing initrd memory: 3012K
[ 0.459259] omap_dsp_init: 600000 bytes @ 9ee00000
[ 0.461242] audit: initializing netlink socket (disabled)
[ 0.461334] type=2000 audit(0.468:1): initialized
[ 0.680114] VFS: Disk quotas dquot_6.5.2
[ 0.680664] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 0.685180] nfs4filelayout_init: NFSv4 File Layout Driver Registering…
[ 0.685302] fuse init (API version 7.17)
[ 0.687500] Btrfs loaded
[ 0.687561] msgmni has been set to 957
[ 0.689239] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253)
[ 0.689270] io scheduler noop registered
[ 0.689300] io scheduler deadline registered
[ 0.689361] io scheduler cfq registered (default)
[ 0.690429] OMAP DSS rev 2.0
[ 0.693695] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[ 0.695129] omap_uart.0: ttyO0 at MMIO 0x4806a000 (irq = 72) is a OMAP UART0
[ 0.695465] omap_uart.1: ttyO1 at MMIO 0x4806c000 (irq = 73) is a OMAP UART1
[ 0.695800] omap_uart.2: ttyO2 at MMIO 0x49020000 (irq = 74) is a OMAP UART2
[ 1.461853] console [ttyO2] enabled
[ 1.465850] omap_uart.3: ttyO3 at MMIO 0x49042000 (irq = 80) is a OMAP UART3
[ 1.484497] brd: module loaded
[ 1.493011] loop: module loaded
[ 1.499511] twl4030_madc twl4030_madc: clk disabled, enabling
[ 1.507873] omap2-nand driver initializing
[ 1.512542] No NAND device found
[ 1.516326] No NAND device found
[ 1.519989] OneNAND driver initializing
[ 1.524902] usbcore: registered new interface driver cdc_ether
[ 1.531219] usbcore: registered new interface driver rndis_host
[ 1.537567] cdc_ncm: 04-Aug-2011
[ 1.541015] usbcore: registered new interface driver cdc_ncm
[ 1.547546] ehci_hcd: USB 2.0 ‘Enhanced’ Host Controller (EHCI) Driver
[ 1.554656] _regulator_get: ehci-omap.0 supply hsusb0 not found, using dummy regulator
[ 1.563140] _regulator_get: ehci-omap.0 supply hsusb1 not found, using dummy regulator
[ 3.584045] ehci-omap ehci-omap.0: OMAP-EHCI Host Controller
[ 3.590393] ehci-omap ehci-omap.0: new USB bus registered, assigned bus number 1
[ 3.598388] ehci-omap ehci-omap.0: irq 77, io mem 0x48064800
[ 3.615386] ehci-omap ehci-omap.0: USB 2.0 started, EHCI 1.00
[ 3.621551] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[ 3.628784] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 3.636474] usb usb1: Product: OMAP-EHCI Host Controller
[ 3.642181] usb usb1: Manufacturer: Linux 3.2.3-x4 ehci_hcd
[ 3.648132] usb usb1: SerialNumber: ehci-omap.0
[ 3.653625] hub 1-0:1.0: USB hub found
[ 3.657714] hub 1-0:1.0: 3 ports detected
[ 3.693634] Initializing USB Mass Storage driver…
[ 3.698883] usbcore: registered new interface driver usb-storage
[ 3.705322] USB Mass Storage support registered.
[ 3.710327] usbcore: registered new interface driver libusual
[ 3.716613] udc: OMAP UDC driver, version: 4 October 2004 (iso) (dma)
[ 3.723693] gadget: using random self ethernet address
[ 3.729309] gadget: using random host ethernet address
[ 3.736083] usb0: MAC 9e:ac:c0:87:10:ce
[ 3.740264] usb0: HOST MAC 3a:07:fe:09:1b:d7
[ 3.744781] gadget: Ethernet Gadget, version: Memorial Day 2008
[ 3.751220] gadget: g_ether ready
[ 3.754791] musb-hdrc musb-hdrc: MUSB HDRC host driver
[ 3.760681] musb-hdrc musb-hdrc: new USB bus registered, assigned bus number 2
[ 3.768493] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
[ 3.775756] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 3.783477] usb usb2: Product: MUSB HDRC host driver
[ 3.788787] usb usb2: Manufacturer: Linux 3.2.3-x4 musb-hcd
[ 3.794769] usb usb2: SerialNumber: musb-hdrc
[ 3.800109] hub 2-0:1.0: USB hub found
[ 3.804168] hub 2-0:1.0: 1 port detected
[ 3.809173] mousedev: PS/2 mouse device common for all mice
[ 3.816345] input: twl4030_pwrbutton as /devices/platform/omap/omap_i2c.1/i2c-1/1-0049/twl4030_pwrbutton/input/input0
[ 3.828430] i2c /dev entries driver
[ 3.832763] Linux media interface: v0.10
[ 3.837158] lirc_dev: IR Remote Control driver registered, major 249
[ 3.844055] Driver for 1-wire Dallas network protocol.
[ 3.850311] OMAP Watchdog Timer Rev 0x31: initial timeout 60 sec
[ 3.857543] twl4030_wdt twl4030_wdt: Failed to register misc device
[ 3.864135] twl4030_wdt: probe of twl4030_wdt failed with error -16
[ 3.871948] device-mapper: ioctl: 4.22.0-ioctl (2011-10-19) initialised: dm-devel@redhat.com
[ 3.881469] cpuidle: using governor ladder
[ 3.885742] cpuidle: using governor menu
[ 3.889984] sdhci: Secure Digital Host Controller Interface driver
[ 3.896545] sdhci: Copyright© Pierre Ossman

with test 128 mb sd angstrom:

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 ES2.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 e.

No EEPROM on expansion board
Beagle xM Rev A
Die ID #4fbe00019ff80000015eeaa102008020
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

What is your power source?

Gerald

Is a 5v 1000ma power source

Luis Specian

Got anything laying around in the lab a little bigger, just to test? 5v 2A?

In the lab with that image on my xM B, with just a usb keyboard, i
have seen 750mA/800mA spikes on startup as the ehci bus gets
init/probed late in boot.. If you have a weak supply, i'd expect it
to reboot like your seeing..

Regards,

Too small. Go with a higher current as you are using the USB port. I would go at least 2A.

Gerald

Thank you.

I’m going to look for something bigger, but, lets say that if I disable the usb hub, you guys think that I will be able to boot even with a smaller current? Is there some parameter to disable it? in the For the case in wich I’m don’t need the usb hub and have a small current power source, like a 1A battery or less?

Luis Specian

It really depends on the supply. If it is good, 1A should boot it, but if the voltage drops low or spikes high, it can reset the board. Looking at the printout it looks like it reset around the point the USB was being initialized.

Gerald