Over Macho Grande

Sunday, March 27, 2011

If it builds, ship it...

I've finally gotten a working build.  It turns out what I really needed was to get up @ 0630, take a shower, and just plug away.

Anyhow, the source is up on github:  https://github.com/coredog64

I still need to get it to build an image for the Streak before I can actually test it.

Sunday, March 20, 2011

More progress

On St. Patrick's Day, Dell released an early alpha version of a Streak gingerbread kernel.  They're working from a CodeAurora drop from last year and they're using Broadcom provided brcm4325 drivers instead of the brcm4329 drivers that support both chipsets.

So, I merged the Dell alpha into the current CodeAurora tree and have something that almost builds.

The last piece fell into place today when I found a streak device tree for froyo.  There have been some breaking changes in the build files between froyo and gingerbread, so I need to touch all the make files to get any further.

Still, I might actually have my own gingerbread ROM right around the time Google drops Honeycomb and Dell releases their own version of gingerbread...

Saturday, March 12, 2011

Almost there

All the Dell files compile correctly.  All I have to do now is work out the config changes so that
the correct object files are built and linked into the final kernel.

Friday, March 11, 2011

PEBKAC

It turns out the reason it wasn't building the object files into the built-in was that I had neglected to copy the source files for them into the CodeAurora tree.

I finished merging the Dell and CodeAurora board files into an appropriate version for the Streak.  It still doesn't finish building, but I'm much closer.

Thursday, March 10, 2011

Roadblocks

Mostly roadblocks tonight, although I did learn how to remove the "-Werror" flag from the set of flags used to compile a specific object.

As of right now, I'm not understanding why my driver object files aren't being pulled into the built-in driver object file.  I suspect I'm going to have to dig deeper into the top level makefile.

Saturday, March 05, 2011

Getting closer

Discovered that the "toucan" config is distinct from the "austin" config and so can dump a bunch of
drivers.

Unfortunately it looks like I have to merge the Dell board config (board-qsd8x50_austin.c) with the latest generic board config from CodeAurora (board-qsd8x50.c).

Here's where I'm at so far:

corey@patches:~/msm$ git status
# On branch gingerbread_rel
# Changed but not updated:
#   (use "git add ..." to update what will be committed)
#   (use "git checkout -- ..." to discard changes in working directory)
#
# modified:   arch/arm/mach-msm/Kconfig
# modified:   arch/arm/mach-msm/Makefile
# modified:   arch/arm/mach-msm/include/mach/board.h
# modified:   arch/arm/mach-msm/include/mach/camera.h
# modified:   drivers/input/keyboard/Kconfig
# modified:   drivers/input/keyboard/Makefile
# modified:   drivers/input/misc/Makefile
# modified:   drivers/input/touchscreen/Kconfig
# modified:   drivers/input/touchscreen/Makefile
# modified:   drivers/leds/Kconfig
# modified:   drivers/leds/Makefile
# modified:   drivers/media/video/msm/Kconfig
# modified:   drivers/media/video/msm/Makefile
# modified:   drivers/media/video/msm/msm_camera.c
# modified:   drivers/media/video/msm/msm_io8x.c
# modified:   drivers/media/video/msm/msm_vfe8x_proc.c
# modified:   drivers/misc/Makefile
# modified:   drivers/power/Kconfig
# modified:   drivers/serial/msm_serial.c
#
# Untracked files:
#   (use "git add ..." to include in what will be committed)
#
# arch/arm/configs/austin-perf_defconfig
# arch/arm/configs/current_defconfig
# arch/arm/mach-msm/board-msm8x60-smmu.c
# arch/arm/mach-msm/board-qsd8x50_austin.c
# arch/arm/mach-msm/bootloader.c
# arch/arm/mach-msm/bt-rfkill.c
# arch/arm/mach-msm/cust_mproc.c
# arch/arm/mach-msm/filter.c
# arch/arm/mach-msm/include/mach/auo_touch.h
# arch/arm/mach-msm/include/mach/austin_hwid.h
# arch/arm/mach-msm/include/mach/bcom_fm.h
# arch/arm/mach-msm/include/mach/cover.h
# arch/arm/mach-msm/include/mach/custmproc.h
# arch/arm/mach-msm/include/mach/gsensor.h
# arch/arm/mach-msm/include/mach/lsensor.h
# arch/arm/mach-msm/include/mach/qsd_battery.h
# arch/arm/mach-msm/include/mach/sensors_daemon.h
# arch/arm/mach-msm/smd_rpc_sym.c
# arch/arm/mach-msm/smmu_driver.c
# arch/arm/mach-msm/smmu_driver_enum.c
# arch/arm/mach-msm/tlmm-msm7200a.c
# arch/arm/mach-msm/tlmm-msm8660.c
# arch/arm/mach-msm/tlmm-msm8660.h
# drivers/input/keyboard/i2ccapkbd.c
# drivers/input/keyboard/mutekey.c
# drivers/input/misc/cover.c
# drivers/input/misc/lsensor_austin.c
# drivers/input/misc/lsensor_austin.h
# drivers/input/misc/psensor-cm3603.c
# drivers/input/touchscreen/auo_touch.c
# drivers/media/video/msm/ov5642.c
# drivers/media/video/msm/ov5642.h
# drivers/media/video/msm/ov5642_1C.c
# drivers/media/video/msm/ov5642_1D.c
# drivers/media/video/msm/ov5642_af.h
# drivers/media/video/msm/ov5642_comm.c
# drivers/media/video/msm/ov7690.c
# drivers/media/video/msm/ov7690.h
# drivers/media/video/msm/ov7690_comm.c
# drivers/misc/pmem_kernel_test.c
# drivers/misc/reset/
# drivers/power/qsd_battery.c
# drivers/power/qsd_battery.h
# drivers/video/msm_austin/

Labels:

Thursday, March 03, 2011

No gingerbread work tonight

I spent tonight working on a super secret project.  Hopefully I'll be able to say more in a few weeks.

Tuesday, March 01, 2011

Some driver progress...

I diff'd the Dell source release against 2.6.35 from CodeAurora.  A lot of the changes were noise -- Intel wireless driver headers that got renamed, or Zaurus support that's gone away.

What I'm left with is stuff in the following directories:
/drivers/i2c/chips
/drivers/input/keyboard
/drivers/input/misc
/drivers/input/touchscreen
/drivers/leds
/drivers/media/video
/drivers/media/video/msm
/drivers/misc
/drivers/misc/reset
/drivers/mmc/host
/drivers/mtd/devices
/drivers/net/msm_rmnet_*
/drivers/power/qsd_batter.*
/drivers/staging/android
/drivers/video/msm_austin
/drivers/video/msm
/drivers/video/msm_toucan
/drivers/watchdog

Another help is that someone else posted a mention that the Streak's codename was "Austin", so a grep through the Dell source tree turned up a bunch of files that have Streak specific changes.

Labels: