Wandboard kernel build problem

Development on core packages and the distribution goes on in here.

Wandboard kernel build problem

Postby jernst » Thu Sep 19, 2013 10:09 pm

I'd like to create a kernel for the Wandboard Quad that supports the on-board WiFi.

So far, no luck, even if I make no changes whatsoever to what's on Github. Here's a (slightly simplified) transcript:

(on the Wandboard Quad itself)

$this->bbcode_second_pass_code('', '> uname -a
Linux wandquadeth 3.0.35-2-ARCH #1 SMP PREEMPT Wed Jul 31 15:54:21 CDT 2013 armv7l GNU/Linux
> sudo pacman -S base-devel git
Enter a selection (default=all): all
> git clone http://github.com/archlinuxarm/PKGBUILDs
> cd PKGBUILDs/core/linux-wandboard
> makepkg
==> Making package: linux-wandboard 3.0.35-2 (Thu Sep 19 15:54:34 MDT 2013)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Downloading linux-3.0.35.tar.xz...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 178 100 178 0 0 453 0 --:--:-- --:--:-- --:--:-- 452
100 60.8M 100 60.8M 0 0 2139k 0 0:00:29 0:00:29 --:--:-- 2217k
-> Downloading patch-3.0.35-wand6.diff.gz...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 8438k 100 8438k 0 0 1771k 0 0:00:04 0:00:04 --:--:-- 1771k
-> Found config
==> Validating source files with md5sums...
linux-3.0.35.tar.xz ... Passed
patch-3.0.35-wand6.diff.gz ... Passed
config ... Passed
==> Extracting sources...
-> Extracting linux-3.0.35.tar.xz with bsdtar
-> Extracting patch-3.0.35-wand6.diff.gz with gzip
==> Starting prepare()...
/home/jernst/foo/PKGBUILDs/core/linux-wandboard/src/patch-3.0.35-wand6.diff:30954: trailing whitespace.

/home/jernst/foo/PKGBUILDs/core/linux-wandboard/src/patch-3.0.35-wand6.diff:56670: trailing whitespace.
obj-$(CONFIG_PM) += pm.o
/home/jernst/foo/PKGBUILDs/core/linux-wandboard/src/patch-3.0.35-wand6.diff:56674: trailing whitespace.
obj-$(CONFIG_FEC) += mx6_fec.o
/home/jernst/foo/PKGBUILDs/core/linux-wandboard/src/patch-3.0.35-wand6.diff:56720: trailing whitespace.
*
/home/jernst/foo/PKGBUILDs/core/linux-wandboard/src/patch-3.0.35-wand6.diff:56722: trailing whitespace.
*
warning: squelched 11397 whitespace errors
warning: 11402 lines add whitespace errors.
==> Starting build()...
HOSTCC scripts/basic/fixdep
HOSTCC scripts/kconfig/conf.o
SHIPPED scripts/kconfig/zconf.tab.c
SHIPPED scripts/kconfig/lex.zconf.c
SHIPPED scripts/kconfig/zconf.hash.c
HOSTCC scripts/kconfig/zconf.tab.o
HOSTLD scripts/kconfig/conf
scripts/kconfig/conf --silentoldconfig Kconfig
*
* Restart config...
*
*
* RCU Subsystem
*
RCU Implementation
> 1. Preemptible tree-based hierarchical RCU (TREE_PREEMPT_RCU)
2. UP-only small-memory-footprint RCU (TINY_RCU) (NEW)
3. Preemptible UP-only small-memory-footprint RCU (TINY_PREEMPT_RCU) (NEW)
choice[1-3]:
')
It appears that something in the config file checked into git causes the kernel configurator to essentially "throw it out" and restart. This only seems to happen to some people (me, and WarheadsSE on IRC, but not leming) and it is unclear to me why.

Somebody on IRC (I forgot who, sorry) pointed out this kernel here: http://repo.or.cz/w/wandboard.git/tree/ ... 61ed718891. They said to copy https://github.com/archlinuxarm/PKGBUIL ... ard/config there as .config, and run make. Unfortunately, the behavior seems to be the same: the make starts asking questions starting with the RCU implementation.

I'm stuck, and would appreciate any kinds of suspicions or wild ideas, because I don't have any more!

Wild idea of my own: I'm building on the Wandboard itself. Perhaps others are building somewhere else that runs a different kernel version. Or perhaps different kernel headers. This is what I have:

$this->bbcode_second_pass_code('', '> pacman -Qs header
local/acl 2.2.52-1
Access control list utilities, libraries and headers
local/linux-api-headers 3.10.6-1
Kernel headers sanitized for use in userspace
local/linux-wandboard-headers 3.0.35-2
Header files and scripts for building modules for linux kernel - i.MX6 Wandboard
')
jernst
 
Posts: 75
Joined: Tue Aug 20, 2013 4:22 pm
Location: Silicon Valley

Return to Arch Linux ARM

Who is online

Users browsing this forum: No registered users and 8 guests