[Angstrom-devel] BeagleBoard (C3) won't boot

(Adding beagle group to CC:)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I just built Angstrom via oe-core for the BeagleBoard, rev C3 (not xM)
Here were my steps:
  $ git clone git://git.angstrom-distribution.org/setup-scripts angstrom-bb
  $ cd angstrom-bb
  $ git checkout -b local-oe origin/oe-core
  $ MACHINE=beagleboard ./oebb.sh config beagleboard
  $ MACHINE=beagleboard ./oebb.sh bitbake console-image

It doesn't boot at all. I built a bootable SD from the deploy/images,
including MLO and U-Boot. Here's the boot sequence (I broke in to set
the console):
  Texas Instruments X-Loader 1.4.4ss (Jan 29 2011 - 10:54:03)

That should say 1.5.0, but wouldn't cause boot problems.

For reference, this is what I get on my C3:

It seems like every major component (MLO, U-Boot, Linux kernel) differs between
my build and yours.

So what did you do differently? Why is my build so different (and not work)?
I used the stock conf/local.conf - did you make any changes to it?

You're right, my FAT partition was a mess, I recreated the card using OE-core built stuff, log is further below. The one change I have is this one: [dunfell,04/18] expat: fix CVE-2022-25235 - Patchwork which might explain the problems Gary is seeing, but not the problems I'm encountering.

I did some more experiments with some of the boards on my desk:

B6 + zippy:
  uboot fails with mmc, know problem.
  kernel 2.6.32 works
  kernel 2.6.37 works
  kernel 2.6.39 halts booting near the end (around the SR init and mmc messages)

C3 (labeled 'very bad beagle' by gerald due to ehci capacitors) + zippy:
  uboot works
  kernel 2.6.32 works
  kernel 2.6.37 works
  kernel 2.6.39 works (log below)

C4:
  uboot works
  kernel 2.6.32 works
  kernel 2.6.37 works
  kernel 2.6.39 halts booting near the end (around the SR init and mmc messages)

C5 (preproduction sample):
  uboot misdetects ram as 128MiB
  kernel 2.6.32 works
  kernel 2.6.37 works
  kernel 2.6.39 halts booting near the end (around the SR init and mmc messages)

xM-C:
  uboot works
  kernel 2.6.32 works
  kernel 2.6.37 works
  kernel 2.6.39 works

So something in .39 is broken, my knee-jerk reaction is to blame the regulator setup, but I really don't know why it fails completely for Gary, not even producing output on serial. Maybe it's the overrides problem described above.

Joel, can you borrow a C5 from Steve K and play around with that?
Jason, can you try .39 on your C5 as well?
Chase, which models are going to be tested for the sdk?

In any case, it seems that my original test samples (C3 + xM-C) were an unlucky pick, since the other revisions are broken :frowning: For rev B we can revert the mmc commit that gives the huge speedup, for C5 we'll probably need to hack x-loader to get the right amount of RAM setup. As for the kernel, I'll try to build one without all the fancy PM stuff applied.

regards,

Koen

Texas Instruments X-Loader 1.5.0 (May 28 2011 - 09:55:17)
Beagle Rev C1/C2/C3
Reading boot sector
Loading u-boot.bin from mmc

U-Boot 2011.03-rc1-00128-gc797785-dirty (May 28 2011 - 09:55:17)

OMAP3530-GP ES3.0, CPU-OPP2, L3-165MHz, Max CPU Clock 600 mHz
OMAP3 Beagle board + LPDDR/NAND
I2C: ready
DRAM: 256 MiB
NAND: 256 MiB
MMC: OMAP SD/MMC: 0
*** Warning - bad CRC, using default environment

In: serial
Out: serial
Err: serial
Beagle Rev C1/C2/C3
Recognized Tincantools Zippy board (rev 1 )
Die ID #4088000300000000040323090d01c015
Hit any key to stop autoboot: 3  2  1  0
The user button is currently NOT pressed.
SD/MMC found on device 0
reading uEnv.txt

** Unable to read "uEnv.txt" from mmc 0:1 **
Loading file "/boot/uImage" from mmc device 0:2 (xxa2)
** File not found /boot/uImage
Booting from nand ...

NAND read: device 0 offset 0x280000, size 0x400000
4194304 bytes read: OK
Wrong Image Format for bootm command
ERROR: can't get kernel image!
OMAP3 beagleboard.org # run loaduimagefat
reading uImage

3329956 bytes read
OMAP3 beagleboard.org # run mmcargs
OMAP3 beagleboard.org # bootm
## Booting kernel from Legacy Image at 80200000 ...
   Image Name: Angstrom/2.6.39/beagleboard
   Image Type: ARM Linux Kernel Image (uncompressed)
   Data Size: 3329892 Bytes = 3.2 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] Initializing cgroup subsys cpuset
[ 0.000000] Initializing cgroup subsys cpu
[ 0.000000] Linux version 2.6.39+ (koen@dominion) (gcc version 4.5.3 (GCC) ) #2 Thu May 26 17:18:00 CEST 2011
[ 0.000000] CPU: ARMv7 Processor [411fc083] revision 3 (ARMv7), cr=10c53c7f
[ 0.000000] CPU: VIPT nonaliasing data cache, VIPT nonaliasing instruction cache
[ 0.000000] Machine: OMAP3 Beagle Board
[ 0.000000] Beagle expansionboard: zippy
[ 0.000000] Reserving 12582912 bytes SDRAM for VRAM
[ 0.000000] Memory policy: ECC disabled, Data cache writeback
[ 0.000000] OMAP3430/3530 ES3.0 (l2cache iva sgx neon isp )
[ 0.000000] SRAM: Mapped pa 0x40200000 to va 0xfe400000 size: 0x10000
[ 0.000000] Clocking rate (Crystal/Core/MPU): 26.0/332/500 MHz
[ 0.000000] Reprogramming SDRC clock to 332000000 Hz
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 61952
[ 0.000000] Kernel command line: console=ttyO2,115200n8 mpurate=auto buddy=zippy camera=lbcm3m1 vram=12M omapfb.mode=dvi:640x480MR-16@60 omapdss.def_disp=dvi root=/dev/mmcblk0p2 rw rootfstype=ext3 rootwait
[ 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] allocated 1048576 bytes of page_cgroup
[ 0.000000] please try 'cgroup_disable=memory' option if you don't want memory cgroups
[ 0.000000] Memory: 244MB = 244MB total
[ 0.000000] Memory: 239680k/239680k available, 22464k 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] DMA : 0xffc00000 - 0xffe00000 ( 2 MB)
[ 0.000000] vmalloc : 0xd0800000 - 0xf8000000 ( 632 MB)
[ 0.000000] lowmem : 0xc0000000 - 0xd0000000 ( 256 MB)
[ 0.000000] modules : 0xbf000000 - 0xc0000000 ( 16 MB)
[ 0.000000] .init : 0xc0008000 - 0xc003d000 ( 212 kB)
[ 0.000000] .text : 0xc003d000 - 0xc062c7ec (6078 kB)
[ 0.000000] .data : 0xc062e000 - 0xc0679900 ( 303 kB)
[ 0.000000] NR_IRQS: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_hwmod: gpt12_fck: missing clockdomain for gpt12_fck.
[ 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.000244] Calibrating delay loop... 475.76 BogoMIPS (lpj=1855488)
[ 0.044769] pid_max: default: 32768 minimum: 301
[ 0.045013] Mount-cache hash table entries: 512
[ 0.045471] Initializing cgroup subsys ns
[ 0.045501] ns_cgroup deprecated: consider using the 'clone_children' flag without the ns_cgroup.
[ 0.045501] Initializing cgroup subsys cpuacct
[ 0.045562] Initializing cgroup subsys memory
[ 0.045593] Initializing cgroup subsys devices
[ 0.045623] Initializing cgroup subsys freezer
[ 0.045623] Initializing cgroup subsys blkio
[ 0.045654] Initializing cgroup subsys perf_event
[ 0.045776] CPU: Testing write buffer coherency: ok
[ 0.046874] devtmpfs: initialized
[ 0.048431] omap_hwmod: _populate_mpu_rt_base found no _mpu_rt_va for l4_core
[ 0.048461] omap_hwmod: _populate_mpu_rt_base found no _mpu_rt_va for l4_per
[ 0.048492] omap_hwmod: _populate_mpu_rt_base found no _mpu_rt_va for l4_wkup
[ 0.063812] omap_hwmod: i2c1: softreset failed (waited 10000 usec)
[ 0.077850] omap_hwmod: i2c2: softreset failed (waited 10000 usec)
[ 0.091888] omap_hwmod: i2c3: softreset failed (waited 10000 usec)
[ 0.093292] print_constraints: dummy:
[ 0.093597] NET: Registered protocol family 16
[ 0.093811] GPMC revision 5.0
[ 0.095184] OMAP GPIO hardware version 2.5
[ 0.095306] OMAP GPIO hardware version 2.5
[ 0.095428] OMAP GPIO hardware version 2.5
[ 0.095550] OMAP GPIO hardware version 2.5
[ 0.095703] OMAP GPIO hardware version 2.5
[ 0.095825] OMAP GPIO hardware version 2.5
[ 0.097351] omap_mux_init: Add partition: #1: core, flags: 0
[ 0.097503] OMAP3 Beagle Rev: C1/C2/C3
[ 0.099578] omap_device: omap_uart.1: new worst case deactivate latency 0: 30517
[ 0.100006] Beagle expansionboard: initializing enc28j60
[ 0.100158] Beagle expansionboard: assigning GPIO 141 and 162 to MMC1
[ 0.100463] Found NAND on CS0
[ 0.100463] Registering NAND on CS0
[ 0.100616] Unable to get DVI reset GPIO
[ 0.100677] hw-breakpoint: debug architecture 0x4 unsupported.
[ 0.104248] OMAP DMA hardware revision 4.0
[ 0.116394] bio: create slab <bio-0> at 0
[ 0.117858] SCSI subsystem initialized
[ 0.118347] omap_device: omap2_mcspi.1: new worst case deactivate latency 0: 30517
[ 0.119873] usbcore: registered new interface driver usbfs
[ 0.120056] usbcore: registered new interface driver hub
[ 0.120300] usbcore: registered new device driver usb
[ 0.134246] omap_i2c omap_i2c.1: bus 1 rev3.12 at 2600 kHz
[ 0.137084] twl4030: PIH (irq 7) chaining IRQs 368..375
[ 0.137145] twl4030: power (irq 373) chaining IRQs 376..383
[ 0.137664] twl4030: gpio (irq 368) chaining IRQs 384..401
[ 0.140075] print_constraints: VUSB1V5: 1500 mV normal standby
[ 0.140594] print_constraints: VUSB1V8: 1800 mV normal standby
[ 0.141082] print_constraints: VUSB3V1: 3100 mV normal standby
[ 0.157958] twl4030_usb twl4030_usb: Initialized TWL4030 USB module
[ 0.158935] print_constraints: VMMC1: 1850 <--> 3150 mV at 3000 mV normal standby
[ 0.159515] print_constraints: VDAC: 1800 mV normal standby
[ 0.160034] print_constraints: VDVI: 1800 mV normal standby
[ 0.160675] print_constraints: VSIM: 1800 <--> 3000 mV at 1800 mV normal standby
[ 0.161285] print_constraints: VAUX3: 1800 mV normal standby
[ 0.161865] print_constraints: VAUX4: 1800 mV normal standby
[ 0.171478] omap_i2c omap_i2c.2: bus 2 rev3.12 at 100 kHz
[ 0.171844] omap_device: omap_i2c.2: new worst case deactivate latency 0: 30517
[ 0.186340] omap_i2c omap_i2c.3: bus 3 rev3.12 at 100 kHz
[ 0.187286] Advanced Linux Sound Architecture Driver Version 1.0.24.
[ 0.188079] Bluetooth: Core ver 2.16
[ 0.188171] NET: Registered protocol family 31
[ 0.188171] Bluetooth: HCI device and connection manager initialized
[ 0.188201] Bluetooth: HCI socket layer initialized
[ 0.188201] Bluetooth: L2CAP socket layer initialized
[ 0.188415] Bluetooth: SCO socket layer initialized
[ 0.188751] Switching to clocksource 32k_counter
[ 0.193969] Switched to NOHz mode on CPU #0
[ 0.204772] musb-hdrc: version 6.0, musb-dma, otg (peripheral+host), debug=0
[ 0.208496] musb-hdrc musb-hdrc: USB OTG mode controller at fa0ab000 using DMA, IRQ 92
[ 0.209228] NET: Registered protocol family 2
[ 0.209472] IP route cache hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.209960] TCP established hash table entries: 8192 (order: 4, 65536 bytes)
[ 0.210205] TCP bind hash table entries: 8192 (order: 3, 32768 bytes)
[ 0.210327] TCP: Hash tables configured (established 8192 bind 8192)
[ 0.210357] TCP reno registered
[ 0.210388] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.210418] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.210845] NET: Registered protocol family 1
[ 0.212219] RPC: Registered udp transport module.
[ 0.212249] RPC: Registered tcp transport module.
[ 0.212280] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.213684] omap-iommu omap-iommu.0: isp registered
[ 0.215667] VFS: Disk quotas dquot_6.5.2
[ 0.215759] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 0.216522] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.216979] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[ 0.217010] JFFS2 version 2.2. (NAND) (SUMMARY) © 2001-2006 Red Hat, Inc.
[ 0.217864] msgmni has been set to 468
[ 0.220001] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253)
[ 0.220336] io scheduler noop registered
[ 0.220336] io scheduler deadline registered
[ 0.220428] io scheduler cfq registered (default)
[ 0.282684] OMAP DSS rev 2.0
[ 0.613067] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[ 0.619659] omap_uart.0: ttyO0 at MMIO 0x4806a000 (irq = 72) is a OMAP UART0
[ 0.621063] omap_uart.1: ttyO1 at MMIO 0x4806c000 (irq = 73) is a OMAP UART1
[ 0.622406] omap_uart.2: ttyO2 at MMIO 0x49020000 (irq = 74) is a OMAP UART2
[ 1.448211] console [ttyO2] enabled
[ 1.492889] brd: module loaded
[ 1.516326] loop: module loaded
[ 1.525878] omap2-nand driver initializing
[ 1.530944] ONFI flash detected
[ 1.535034] NAND device: Manufacturer ID: 0x2c, Chip ID: 0xba (Micron NAND 256MiB 1,8V 16-bit)
[ 1.545928] cmdlinepart partition parsing not available
[ 1.551727] Creating 5 MTD partitions on "omap2-nand.0":
[ 1.557708] 0x000000000000-0x000000080000 : "X-Loader"
[ 1.569244] 0x000000080000-0x000000260000 : "U-Boot"
[ 1.581024] 0x000000260000-0x000000280000 : "U-Boot Env"
[ 1.592102] 0x000000280000-0x000000680000 : "Kernel"
[ 1.604644] 0x000000680000-0x000010000000 : "File System"
[ 1.728881] enc28j60 spi4.0: enc28j60 Ethernet driver 1.01 loaded
[ 1.749908] enc28j60 spi4.0: eth0: Features changed: 0x00004800 -> 0x00004000
[ 1.758239] net eth0: enc28j60 driver registered
[ 1.763610] usbcore: registered new interface driver catc
[ 1.769653] catc: v2.8:CATC EL1210A NetMate USB Ethernet driver
[ 1.776367] usbcore: registered new interface driver kaweth
[ 1.782623] pegasus: v0.6.14 (2006/09/27), Pegasus/Pegasus II USB Ethernet driver
[ 1.791076] usbcore: registered new interface driver pegasus
[ 1.797393] rtl8150: v0.6.2 (2004/08/27):rtl8150 based usb-ethernet driver
[ 1.805145] usbcore: registered new interface driver rtl8150
[ 1.811553] usbcore: registered new interface driver asix
[ 1.817687] usbcore: registered new interface driver cdc_ether
[ 1.824310] usbcore: registered new interface driver dm9601
[ 1.830657] usbcore: registered new interface driver smsc95xx
[ 1.837158] usbcore: registered new interface driver gl620a
[ 1.843475] usbcore: registered new interface driver net1080
[ 1.849914] usbcore: registered new interface driver plusb
[ 1.856140] usbcore: registered new interface driver rndis_host
[ 1.862854] usbcore: registered new interface driver cdc_subset
[ 1.869537] usbcore: registered new interface driver zaurus
[ 1.875854] usbcore: registered new interface driver MOSCHIP usb-ethernet driver
[ 1.884735] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 1.892150] _regulator_get: ehci-omap.0 supply hsusb0 not found, using dummy regulator
[ 1.901062] _regulator_get: ehci-omap.0 supply hsusb1 not found, using dummy regulator
[ 3.923278] ehci-omap ehci-omap.0: OMAP-EHCI Host Controller
[ 3.929962] ehci-omap ehci-omap.0: new USB bus registered, assigned bus number 1
[ 3.938415] ehci-omap ehci-omap.0: irq 77, io mem 0x48064800
[ 3.954528] ehci-omap ehci-omap.0: USB 2.0 started, EHCI 1.00
[ 3.961059] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[ 3.968658] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 3.976715] usb usb1: Product: OMAP-EHCI Host Controller
[ 3.982666] usb usb1: Manufacturer: Linux 2.6.39+ ehci_hcd
[ 3.988800] usb usb1: SerialNumber: ehci-omap.0
[ 3.994659] hub 1-0:1.0: USB hub found
[ 3.998840] hub 1-0:1.0: 3 ports detected
[ 4.032714] Initializing USB Mass Storage driver...
[ 4.038330] usbcore: registered new interface driver usb-storage
[ 4.045074] USB Mass Storage support registered.
[ 4.050689] mousedev: PS/2 mouse device common for all mice
[ 4.057495] input: gpio-keys as /devices/platform/gpio-keys/input/input0
[ 4.066589] input: twl4030_pwrbutton as /devices/platform/omap/omap_i2c.1/i2c-1/1-0049/twl4030_pwrbutton/input/input1
[ 4.081512] rtc-ds1307 2-0068: rtc core: registered ds1307 as rtc0
[ 4.088470] rtc-ds1307 2-0068: 56 bytes nvram
[ 4.093383] i2c /dev entries driver
[ 4.097961] Linux media interface: v0.10
[ 4.102386] Linux video capture interface: v2.00
[ 4.108062] vpfe_init
[ 4.111267] OMAP Watchdog Timer Rev 0x31: initial timeout 60 sec
[ 4.117980] omap_device: omap_wdt.-1: new worst case deactivate latency 0: 30517
[ 4.126312] Bluetooth: HCI UART driver ver 2.2
[ 4.131286] Bluetooth: HCI H4 protocol initialized
[ 4.136657] Bluetooth: HCI BCSP protocol initialized
[ 4.142211] Bluetooth: HCILL protocol initialized
[ 4.147430] Bluetooth: HCIATH3K protocol initialized
[ 4.152984] Bluetooth: Generic Bluetooth USB driver ver 0.6
[ 4.159362] usbcore: registered new interface driver btusb
[ 4.165557] cpuidle: using governor ladder
[ 4.170135] cpuidle: using governor menu
[ 4.177337] _regulator_get: omap_hsmmc.1 supply vmmc not found, using dummy regulator
[ 4.186187] _regulator_get: omap_hsmmc.1 supply vmmc_aux not found, using dummy regulator
[ 4.198822] usbcore: registered new interface driver usbhid
[ 4.205078] usbhid: USB HID core driver
[ 4.209899] usbcore: registered new interface driver snd-usb-audio
[ 4.217468] OMAP3 Beagle/Devkit8000 SoC init
[ 4.233184] asoc: twl4030-hifi <-> omap-mcbsp-dai.1 mapping ok
[ 4.243255] ALSA device list:
[ 4.246643] #0: omap3beagle
[ 4.249938] oprofile: hardware counters not available
[ 4.255584] oprofile: using timer interrupt.
[ 4.260589] TCP cubic registered
[ 4.264190] NET: Registered protocol family 17
[ 4.269226] NET: Registered protocol family 15
[ 4.274200] lib80211: common routines for IEEE802.11 drivers
[ 4.280548] Registering the dns_resolver key type
[ 4.285919] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 1
[ 4.294586] ThumbEE CPU extension supported.
[ 4.302185] Power Management for TI OMAP3.
[ 4.307586] sr_init: No PMIC hook to init smartreflex
[ 4.313415] smartreflex smartreflex.0: omap_sr_probe: SmartReflex driver initialized
[ 4.322540] smartreflex smartreflex.1: omap_sr_probe: SmartReflex driver initialized
[ 4.331329] SmartReflex Class3 initialized
[ 4.341522] clock: disabling unused clocks to save power
[ 4.353332] registered taskstats version 1
[ 4.358978] fbcvt: 640x480@60: CVT Name - .307M3-R
[ 4.388793] Console: switching to colour frame buffer device 80x30
[ 4.419738] regulator_init_complete: VAUX3: incomplete constraints, leaving on
[ 4.428344] regulator_init_complete: VDAC: incomplete constraints, leaving on
[ 4.438415] rtc-ds1307 2-0068: setting system clock to 2000-01-06 02:46:28 UTC (947126788)
[ 4.447875] omap_vout omap_vout: Buffer Size = 3686400
[ 4.454925] omap_vout omap_vout: : registered and initialized video device 0
[ 4.463500] Waiting for root device /dev/mmcblk0p2...
[ 4.657836] mmc0: new high speed SD card at address aaaa
[ 4.664123] mmcblk0: mmc0:aaaa SD02G 1.84 GiB
[ 4.669525] mmcblk0: detected capacity change from 0 to 1977614336
[ 4.677947] mmcblk0: p1 p2
[ 4.794799] EXT3-fs: barriers not enabled
[ 4.800933] kjournald starting. Commit interval 5 seconds
[ 4.816711] EXT3-fs (mmcblk0p2): using internal journal
[ 4.822265] EXT3-fs (mmcblk0p2): mounted filesystem with writeback data mode
[ 4.829772] VFS: Mounted root (ext3 filesystem) on device 179:2.
[ 4.838439] devtmpfs: mounted
[ 4.841674] Freeing init memory: 212K
[ 5.191986] systemd[1]: systemd 28 running in system mode. (+PAM +LIBWRAP -AUDIT -SELINUX +SYSVINIT -LIBCRYPTSETUP; angstrom)

Welcome to The Ångström Distribution!

(Adding beagle group to CC:)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I just built Angstrom via oe-core for the BeagleBoard, rev C3 (not xM)
Here were my steps:
   $ git clone git://git.angstrom-distribution.org/setup-scripts angstrom-bb
   $ cd angstrom-bb
   $ git checkout -b local-oe origin/oe-core
   $ MACHINE=beagleboard ./oebb.sh config beagleboard
   $ MACHINE=beagleboard ./oebb.sh bitbake console-image

It doesn't boot at all. I built a bootable SD from the deploy/images,
including MLO and U-Boot. Here's the boot sequence (I broke in to set
the console):
   Texas Instruments X-Loader 1.4.4ss (Jan 29 2011 - 10:54:03)

That should say 1.5.0, but wouldn't cause boot problems.

For reference, this is what I get on my C3:

It seems like every major component (MLO, U-Boot, Linux kernel) differs between
my build and yours.

So what did you do differently? Why is my build so different (and not work)?
I used the stock conf/local.conf - did you make any changes to it?

You're right, my FAT partition was a mess, I recreated the card using OE-core built stuff, log is further below. The one change I have is this one: [dunfell,04/18] expat: fix CVE-2022-25235 - Patchwork which might explain the problems Gary is seeing, but not the problems I'm encountering.

I'm trying this now with that patch applied. So far, I can already see signs
of change (fewer strange warnings while parsing recipes, etc). I'm doing a
complete build from scratch, so I won't know the results for a few hours.

Thanks

Sadly, I'm still getting the same results even with this patch.

I'm still curious why my components are different (MLO=1.4.4 vs 1.5 for you, etc)?
I also noticed that U-Boot isn't even firing off the kernel - it hangs
up during the decompression step.

Note: I verified that my board is OK by running the RevC recovery process.

I pressed the user button to force it to read from MMC and see the
correct date. Here are the package versions that were built:
   u-boot-v2011.03+git1+b29fbb347698286935bfc401c08499a6f63479de-r3
   x-load-1.42+r13+git1+6f3a26101303051e0f91b6213735b68ce804e94e-r13
   linux-omap-2.6.39-r0

I am confused by this though. For example, that version of x-load is
coming from
   sources/openembedded-core/meta/recipes-bsp/x-load/x-load_git.bb
not (as I think yours is)
   sources/meta-texasinstruments/recipes-bsp/x-load/x-load_git.bb
It would seem to me that the build should come from the meta-texasinstruments
layer which has priority=10? The list of all packages built by the process
I've described (above) is attached. How does it line up with what you've
built and why the difference(s)?

pkg.list (21.4 KB)

I've also just discovered that my BeagleBoard was in some very strange
state where it would boot and run an older Linux (the RevC validation kernel)
but not anything newer. When I power-cycled the board, it's better, but still
doesn't come up. It now stops (with console output!) here:
   ...
[ 5.271667] lib80211: common routines for IEEE802.11 drivers
[ 5.277801] Registering the dns_resolver key type
[ 5.283264] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 1
[ 5.292327] ThumbEE CPU extension supported.
[ 5.307861] Power Management for TI OMAP3.
[ 5.315765] sr_init: No PMIC hook to init smartreflex

I'm still curious why my build is so different, notice that my kernel is not labelled
the same as yours by U-Boot - mine says:
## Booting kernel from Legacy Image at 80200000 ...
    Image Name: Linux-2.6.39+
    Image Type: ARM Linux Kernel Image (uncompressed)
    Data Size: 3329856 Bytes = 3.2 MB
    Load Address: 80008000
    Entry Point: 80008000
whereas yours said:
## Booting kernel from Legacy Image at 80200000 ...
    Image Name: Angstrom/2.6.39/beagleboard
    Image Type: ARM Linux Kernel Image (uncompressed)
    Data Size: 3329892 Bytes = 3.2 MiB
    Load Address: 80008000
    Entry Point: 80008000

You might have an old copy of the setup-scripts, which revision are you using? I check on my 3 buildhosts and they all build the correct MLO, but I can imagine that using an old bblayers.conf would seriously mess that up.

regards,

Koen
regards,

Koen

Small update:

My C4 and C5 now work with .39, I need to revert all the fixes one by one to see what fixed it. I didn't test the B6 yet

So...... The ondemand governor during boot equals massive breakage. Meta-texasinstruments has the fixes now.

We moved off gitorious as hosting for setup-scripts a long time ago,
which is why http://www.angstrom-distribution.org/building-angstrom
tells you to pull from git.angstrom-distribution.org :slight_smile:

I did indeed have old scripts. Too bad that old gitorious tree is
out there (I'd suggest that it be removed) - I missed the change and
just did a 'git pull', but that obviously wasn't good enough.

I rebuilt from scratch and my build now seems to match yours pretty well.
Sadly, I have no USB devices working. I tried on the EHCI (which I've never
had much luck with on this board) as well as the OTG (I used a miniA cable
which works great on my other OMAP/3530 with OTG) - nothing at all.

How can I diagnose the USB problems? Is there something to do with using
the OTG port, other than using the correct cable/connections?

Note: I'm powering the board from an external +5V supply.

Thanks