Hi All,
I have a BB xM rev c and I want to compile a new kernel, because I need
S-video.
I use buildroot to build system. S-video is working well, but ethernet
cannot. I checked a working Ubuntu distrib which modules is loaded?
( Unfortunately all my checked working kernel didn’t contains
/proc/config.gz, so I couldn’t get a good .config for kernel compile. )
I found only 4 modules:
- smsc95xx
- rtc_twl
- twl_4030_madc_hwmon
- gpio_keys
I found 3 config settings (I couldn’t found gpio_keys , but I think so
it isn’t relevant) in kernel config, but when I compiled it, ethernet
couldn’t works
My question is that: what magic is in ethernet config in BB xM rev C?
What modules do I need to use for Ethernet?
Well you should at-least post your current .config... 
Double check that these are enabled... (smsc95xx is on the ehci port)
CONFIG_USB_ARCH_HAS_EHCI=y
CONFIG_USB_EHCI_HCD=y
CONFIG_USB_EHCI_TT_NEWSCHED=y
CONFIG_USB_EHCI_HCD_OMAP=y
Regards,
hello,
thx for your reply,
2011/8/15 Robert Nelson <robertcnelson@gmail.com>
Well you should at-least post your current .config… 
Double check that these are enabled… (smsc95xx is on the ehci port)
CONFIG_USB_ARCH_HAS_EHCI=y
CONFIG_USB_EHCI_HCD=y
CONFIG_USB_EHCI_TT_NEWSCHED=y
CONFIG_USB_EHCI_HCD_OMAP=y
Yes, all of them is set to y.
here is my .config:
.config (63.4 KB)
Nothing obvious, the .config looks fine when compared to mine..
Any chance are you using a gcc-4.6 based arm cross compiler?
Regards,
hello,
2011/8/15 Robert Nelson <robertcnelson@gmail.com>
Nothing obvious, the .config looks fine when compared to mine…
Any chance are you using a gcc-4.6 based arm cross compiler?
No, I am using gcc 4.5. I can select
gcc4.2
gcc4.3
gcc4.4
gcc4.5
gcc4.6
or gcc snapshot
Buildroot can use external toolchain (codesourcery). I switched to it, but its result is very buggy, I cannot login as root 
[ 9.643402] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[ 9.652557] VFS: Mounted root (ext4 filesystem) on device 179:2.
[ 9.672515] devtmpfs: mounted
[ 9.676055] Freeing init memory: 300K
[ 11.804504] EXT4-fs (mmcblk0p2): re-mounted. Opts:
/bin/sh: can’t handle reloc type 0x13
Welcome to Beagleboard
buildroot login: root
-bash: can’t handle r
Welcome to Beagleboard
buildroot login:
Do I need to change another gcc?