Kernel source and config for BB-xM (A2)

Dear All,

I am trying to rebuild linux kernel for BB-xM board from sources
received from omap-git configured with "omap3-beagle-defconfig" plus
some changes to enable SMSC95XX device but can not get ethernet
working. Another issue I see there is oops for 4th uart.
Where I can get kernel source and kernel config for xM version please?

Here is my dmesg output:

Linux version 2.6.35+ (vit@BUILD1) (gcc version 4.2.0 (MontaVista
4.2.0-16.0.32.0801914 2008-08-30)) #14 Tue Sep 14 10:54:12 EDT 2010
CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c53c7f
CPU: VIPT nonaliasing data cache, VIPT nonaliasing instruction cache
Machine: OMAP3 Beagle Board
Memory policy: ECC disabled, Data cache writeback
On node 0 totalpages: 18944
free_area_init_node: node 0, pgdat c0428614, node_mem_map c0444000
  Normal zone: 148 pages used for memmap
  Normal zone: 0 pages reserved
  Normal zone: 18796 pages, LIFO batch:3
OMAP3630 ES1.0 (l2cache iva sgx neon isp 192mhz_clk )
SRAM: Mapped pa 0x40200000 to va 0xfe400000 size: 0x100000
Built 1 zonelists in Zone order, mobility grouping on. Total pages:
18796
Kernel command line: mem=74M console=ttyS2,115200n8 root=/dev/
mmcblk0p3 rootfstype=ext3 rootwait
PID hash table entries: 512 (order: -1, 2048 bytes)
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
Memory: 74MB = 74MB total
Memory: 70704k/70704k available, 5072k reserved, 0K highmem
Virtual kernel memory layout:
    vector : 0xffff0000 - 0xffff1000 ( 4 kB)
    fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB)
    DMA : 0xffc00000 - 0xffe00000 ( 2 MB)
    vmalloc : 0xc5000000 - 0xf8000000 ( 816 MB)
    lowmem : 0xc0000000 - 0xc4a00000 ( 74 MB)
    modules : 0xbf000000 - 0xc0000000 ( 16 MB)
      .init : 0xc0008000 - 0xc002a000 ( 136 kB)
      .text : 0xc002a000 - 0xc03d6000 (3760 kB)
      .data : 0xc03f4000 - 0xc0428c20 ( 212 kB)
Hierarchical RCU implementation.
        RCU-based detection of stalled CPUs is disabled.
        Verbose stalled-CPUs detection is disabled.
NR_IRQS:402
Clocking rate (Crystal/Core/MPU): 26.0/332/600 MHz
(null): no physical address for uart#3, so skipping early_init...
omap_hwmod: l3_hwmod: cannot be enabled (3)
omap_hwmod: l4_core_hwmod: cannot be enabled (3)
omap_hwmod: l4_per_hwmod: cannot be enabled (3)
omap_hwmod: l4_wkup_hwmod: cannot be enabled (3)
Reprogramming SDRC clock to 332000000 Hz
GPMC revision 5.0
IRQ: Found an INTC at 0xfa200000 (revision 4.0) with 96 interrupts
Total of 96 interrupts on 1 active controller
OMAP GPIO hardware version 2.5
OMAP clockevent source: GPTIMER12 at 32768 Hz
Console: colour dummy device 80x30
Calibrating delay loop... 527.27 BogoMIPS (lpj=2060288)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
regulator: core version 0.5
NET: Registered protocol family 16
------------[ cut here ]------------
WARNING: at arch/arm/mach-omap2/serial.c:727 omap_serial_init_port
+0x70/0x310()
(null): can't init uart3, no clocks available
Modules linked in:
[<c003040c>] (unwind_backtrace+0x0/0xec) from [<c004d648>]
(warn_slowpath_common+0x4c/0x64)
[<c004d648>] (warn_slowpath_common+0x4c/0x64) from [<c004d6f4>]
(warn_slowpath_fmt+0x30/0x40)
[<c004d6f4>] (warn_slowpath_fmt+0x30/0x40) from [<c000e0e4>]
(omap_serial_init_port+0x70/0x310)
[<c000e0e4>] (omap_serial_init_port+0x70/0x310) from [<c000e3ac>]
(omap_serial_init+0x28/0x40)
[<c000e3ac>] (omap_serial_init+0x28/0x40) from [<c000f998>]
(omap3_beagle_init+0x4c/0x17c)
[<c000f998>] (omap3_beagle_init+0x4c/0x17c) from [<c000b38c>]
(customize_machine+0x1c/0x2c)
[<c000b38c>] (customize_machine+0x1c/0x2c) from [<c002a394>]
(do_one_initcall+0x54/0x19c)
[<c002a394>] (do_one_initcall+0x54/0x19c) from [<c0008708>]
(kernel_init+0x9c/0x150)
[<c0008708>] (kernel_init+0x9c/0x150) from [<c002be98>]
(kernel_thread_exit+0x0/0x8)
---[ end trace 1b75b31a2719ed1c ]---
Found NAND on CS0
Registering NAND on CS0
Unable to get DVI reset GPIO
OMAP DMA hardware revision 5.0
bio: create slab <bio-0> at 0
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
i2c_omap i2c_omap.1: bus 1 rev4.0 at 2600 kHz
twl4030: PIH (irq 7) chaining IRQs 368..375
twl4030: power (irq 373) chaining IRQs 376..383
twl4030: gpio (irq 368) chaining IRQs 384..401
regulator: VUSB1V5: 1500 mV normal standby
regulator: VUSB1V8: 1800 mV normal standby
regulator: VUSB3V1: 3100 mV normal standby
twl4030_usb twl4030_usb: HW_CONDITIONS 0x40/64; link 0
twl4030_usb twl4030_usb: Initialized TWL4030 USB module
regulator: VMMC1: 1850 <--> 3150 mV at 3000 mV normal standby
regulator: VDAC: 1800 mV normal standby
regulator: VDVI: 1800 mV normal standby
regulator: VSIM: 1800 <--> 3000 mV at 1800 mV normal standby
i2c_omap i2c_omap.3: bus 3 rev4.0 at 100 kHz
Advanced Linux Sound Architecture Driver Version 1.0.23.
Switching to clocksource 32k_counter
musb_hdrc: version 6.0, musb-dma, otg (peripheral+host), debug=0
HS USB OTG: revision 0x40, sysconfig 0x2011, sysstatus 0x1, intrfsel
0x1, simenable 0x0
musb_hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, bulk combine, bulk
split, HB-ISO Rx, HB-ISO Tx, SoftConn)
musb_hdrc: MHDRC RTL version 1.800
musb_hdrc: setup fifo_mode 4
musb_hdrc: 28/31 max ep, 16384/16384 memory
musb_hdrc musb_hdrc: USB OTG mode controller at fa0ab000 using DMA,
IRQ 92
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 4096 (order: 3, 32768 bytes)
TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
TCP: Hash tables configured (established 4096 bind 4096)
TCP reno registered
UDP hash table entries: 256 (order: 0, 4096 bytes)
UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
NET: Registered protocol family 1
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
RPC: Registered tcp NFSv4.1 backchannel transport module.
VFS: Disk quotas dquot_6.5.2
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
JFFS2 version 2.2. (NAND) бL 2001-2006 Red Hat, Inc.
msgmni has been set to 138
alg: No test for stdrng (krng)
io scheduler noop registered
io scheduler deadline registered
io scheduler cfq registered (default)
Serial: 8250/16550 driver, 3 ports, IRQ sharing enabled
serial8250.0: ttyS0 at MMIO 0x4806a000 (irq = 72) is a ST16654
serial8250.1: ttyS1 at MMIO 0x4806c000 (irq = 73) is a ST16654
serial8250.2: ttyS2 at MMIO 0x49020000 (irq = 74) is a ST16654
console [ttyS2] enabled
brd: module loaded
loop: module loaded
usbcore: registered new interface driver cdc_ether
usbcore: registered new interface driver cdc_eem
usbcore: registered new interface driver smsc75xx
usbcore: registered new interface driver smsc95xx
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
ehci_hcd: block sizes: qh 60 qtd 96 itd 160 sitd 96
ehci-omap ehci-omap.0: failed to get ehci port0 regulator
ehci-omap ehci-omap.0: failed to get ehci port1 regulator
ehci-omap ehci-omap.0: starting TI EHCI USB Controller
ehci-omap ehci-omap.0: TLL RESET DONE
ehci-omap ehci-omap.0: OMAP3 ES version > ES2.1
ehci-omap ehci-omap.0: UHH setup done, uhh_hostconfig=31c
ehci-omap ehci-omap.0: reset hcs_params 0x1313 dbg=0 cc=1 pcc=3
ordered ports=3
ehci-omap ehci-omap.0: reset hcc_params 0016 thresh 1 uframes
256/512/1024 park
ehci-omap ehci-omap.0: OMAP-EHCI Host Controller
ehci-omap ehci-omap.0: new USB bus registered, assigned bus number 1
ehci-omap ehci-omap.0: park 0
ehci-omap ehci-omap.0: irq 77, io mem 0x48064800
ehci-omap ehci-omap.0: reset command 080b02 park=3 ithresh=8
period=1024 Reset HALT
ehci-omap ehci-omap.0: init command 010009 (park)=0 ithresh=1
period=256 RUN
ehci-omap ehci-omap.0: USB 2.0 started, EHCI 1.00
usb usb1: default language 0x0409
usb usb1: udev 1, busnum 1, minor = 0
usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb1: Product: OMAP-EHCI Host Controller
usb usb1: Manufacturer: Linux 2.6.35+ ehci_hcd
usb usb1: SerialNumber: ehci-omap.0
usb usb1: usb_probe_device
usb usb1: configuration #1 chosen from 1 choice
usb usb1: adding 1-0:1.0 (config #1, interface 0)
hub 1-0:1.0: usb_probe_interface
hub 1-0:1.0: usb_probe_interface - got id
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 3 ports detected
hub 1-0:1.0: standalone hub
hub 1-0:1.0: individual port power switching
hub 1-0:1.0: individual port over-current protection
hub 1-0:1.0: power on to power good time: 20ms
hub 1-0:1.0: local power source is good
hub 1-0:1.0: enabling power on all ports
ehci-omap ehci-omap.0: ...powerup ports...
ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
ohci_hcd: block sizes: ed 64 td 64
usbcore: registered new interface driver cdc_acm
cdc_acm: v0.26:USB Abstract Control Model driver for USB modems and
ISDN adapters
g_cdc gadget: using random self ethernet address
g_cdc gadget: using random host ethernet address
usb0: MAC 32:97:d2:ba:1e:cf
usb0: HOST MAC fe:41:63:b3:6d:0a
g_cdc gadget: CDC Composite Gadget, version: King Kamehameha Day 2008
g_cdc gadget: g_cdc ready
musb_hdrc musb_hdrc: MUSB HDRC host driver
musb_hdrc musb_hdrc: new USB bus registered, assigned bus number 2
usb usb2: default language 0x0409
usb usb2: udev 1, busnum 2, minor = 128
usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb2: Product: MUSB HDRC host driver
usb usb2: Manufacturer: Linux 2.6.35+ musb-hcd
usb usb2: SerialNumber: musb_hdrc
ehci-omap ehci-omap.0: GetStatus port 2 status 001c03 POWER sig=? CSC
CONNECT
hub 1-0:1.0: port 2: status 0501 change 0001
usb usb2: usb_probe_device
usb usb2: configuration #1 chosen from 1 choice
usb usb2: adding 2-0:1.0 (config #1, interface 0)
hub 2-0:1.0: usb_probe_interface
hub 2-0:1.0: usb_probe_interface - got id
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 1 port detected
hub 2-0:1.0: standalone hub
hub 2-0:1.0: individual port power switching
hub 2-0:1.0: no over-current protection
hub 2-0:1.0: power on to power good time: 10ms
hub 2-0:1.0: 100mA bus power budget for each child
hub 2-0:1.0: local power source is good
hub 2-0:1.0: enabling power on all ports
twl_rtc twl_rtc: rtc core: registered twl_rtc as rtc0
twl_rtc twl_rtc: Power up reset detected.
twl_rtc twl_rtc: Enabling TWL-RTC.
i2c /dev entries driver
cpuidle: using governor ladder
cpuidle: using governor menu
No device for DAI omap-mcbsp-dai-0
No device for DAI omap-mcbsp-dai-1
No device for DAI omap-mcbsp-dai-2
No device for DAI omap-mcbsp-dai-3
No device for DAI omap-mcbsp-dai-4
OMAP3 Beagle/Devkit8000 SoC init
hub 1-0:1.0: state 7 ports 3 chg 0004 evt 0000
hub 1-0:1.0: port 2, status 0501, change 0000, 480 Mb/s
asoc: twl4030 <-> omap-mcbsp-dai-0 mapping ok
twl4030_usb twl4030_usb: HW_CONDITIONS 0xc0/192; link 1
ALSA device list:
  #0: omap3beagle (twl4030)
TCP cubic registered
NET: Registered protocol family 17
NET: Registered protocol family 15
Power Management for TI OMAP3.
VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev
3
regulator_init_complete: incomplete constraints, leaving VDVI on
regulator_init_complete: incomplete constraints, leaving VDAC on
twl_rtc twl_rtc: setting system clock to 2000-01-01 00:00:00 UTC
(946684800)
Waiting for root device /dev/mmcblk0p3...
ehci-omap ehci-omap.0: GetStatus port 2 status 001402 POWER sig=k CSC
hub 1-0:1.0: unable to enumerate USB device on port 2
hub 2-0:1.0: state 7 ports 1 chg 0000 evt 0000
hub 1-0:1.0: state 7 ports 3 chg 0000 evt 0004
twl4030_usb twl4030_usb: HW_CONDITIONS 0x40/64; link 0
mmc0: new high speed SDHC card at address 1234
mmcblk0: mmc0:1234 SA04G 3.68 GiB
mmcblk0: p1 p2 p3
EXT3-fs: barriers not enabled
kjournald starting. Commit interval 5 seconds
EXT3-fs (mmcblk0p3): warning: maximal mount count reached, running
e2fsck is recommended
EXT3-fs (mmcblk0p3): using internal journal
EXT3-fs (mmcblk0p3): mounted filesystem with writeback data mode
VFS: Mounted root (ext3 filesystem) on device 179:3.
Freeing init memory: 136K
EXT3-fs: barriers not enabled
kjournald starting. Commit interval 5 seconds
EXT3-fs (ram0): using internal journal
EXT3-fs (ram0): mounted filesystem with writeback data mode
hub 2-0:1.0: hub_suspend
usb usb2: bus auto-suspend
hub 1-0:1.0: hub_suspend
usb usb1: bus auto-suspend
ehci-omap ehci-omap.0: suspend root hub

I've been following this: http://elinux.org/BeagleBoardLinuxKernel

I'm also looking into using bitbake and a hacked up bb file to pull
from here: http://groups.google.com/group/beagleboard/browse_thread/thread/792893a35b6b1f03,
but I haven't tried it yet.

Take care,
Mark Crichton

may be here?
http://wiki.openembedded.net/index.php/Getting_started

install and find a recipe file for Beagleboard kernel. There you can find all necessary patches.

2010/9/14 MacArrow <vit.macarrow@gmail.com>

may be here?
http://wiki.openembedded.net/index.php/Getting_started

You'd be much better off reading http://www.angstrom-distribution.org/building-angstrom than the above.