[Gta04-owner] [ANN]: Kernel progress

Dr. H. Nikolaus Schaller hns at goldelico.com
Mon Sep 30 14:26:17 CEST 2013


Am 30.09.2013 um 14:23 schrieb Dr. H. Nikolaus Schaller:

> Hi,
> 
> Am 30.09.2013 um 14:16 schrieb Alexander Rumyantsev:
> 
>> 
>>> And 3.12-rc3 is merged!
>>> 
>>> The most significant changes with significance for the GTA04 appear to be in the omap-dss system.
>>> 
>>> We have also integrated the linear charging patch.
>>> 
>>> And, we have discussed with the omap-dss maintainer how to get back the TVout. This turned out to be quite complex since we are the first to use a video amplifier - and therefore need to add a driver for it to setup the tv-out pipeline. And, we will have to enhance the VENC driver to add some rarely used mode setting (for using the external amplifier). This all was previously done in the board file using some hooks - but the hooks have been removed to make the drivers ready for device tree.
>>> 
>>> BR,
>>> Nikolaus
>>> 
>>> Sorry for top-posting, but this is like the git log - the most recent changes come first..
>>> 
>> Hello, Nikolaus.
>> 
>> Try to compile, but get an error at early stage:
> 
> which branch did you try?
> 
>> ran at ubuntu:~/replicant-4.0$ source build/envsetup.sh ; lunch replicant_gta04-eng; make bootimage BOARD_SDCARD_INIT:=true 
> 
> oops - it is a 3.12 mainline kernel. We try to make it compatible to replicant, but it isn't (tested) yet.
> 
>> including device/ti/panda/vendorsetup.sh
>> including vendor/replicant/vendorsetup.sh
>> including sdk/bash_completion/adb.bash
>> 
>> ============================================
>> PLATFORM_VERSION_CODENAME=REL
>> PLATFORM_VERSION=4.0.4
>> TARGET_PRODUCT=replicant_gta04
>> TARGET_BUILD_VARIANT=eng
>> TARGET_BUILD_TYPE=release
>> TARGET_BUILD_APPS=
>> TARGET_ARCH=arm
>> TARGET_ARCH_VARIANT=armv7-a-neon
>> HOST_ARCH=x86
>> HOST_OS=linux
>> HOST_BUILD_TYPE=release
>> BUILD_ID=IMM76L
>> ============================================
>> 
>> ============================================
>> PLATFORM_VERSION_CODENAME=REL
>> PLATFORM_VERSION=4.0.4
>> TARGET_PRODUCT=replicant_gta04
>> TARGET_BUILD_VARIANT=eng
>> TARGET_BUILD_TYPE=release
>> TARGET_BUILD_APPS=
>> TARGET_ARCH=arm
>> TARGET_ARCH_VARIANT=armv7-a-neon
>> HOST_ARCH=x86
>> HOST_OS=linux
>> HOST_BUILD_TYPE=release
>> BUILD_ID=IMM76L
>> ============================================
>> grep: device/goldelico/gta04/recovery.fstab: No such file or directory
>> system/core/toolbox/Android.mk:98: warning: overriding commands for target `out/target/product/gta04/system/bin/lsof'
>> build/core/base_rules.mk:523: warning: ignoring old commands for target `out/target/product/gta04/system/bin/lsof'
>> build/core/Makefile:36: warning: overriding commands for target `out/target/product/gta04/system/app/Superuser.apk'
>> build/core/base_rules.mk:523: warning: ignoring old commands for target `out/target/product/gta04/system/app/Superuser.apk'
>> build/core/Makefile:36: warning: overriding commands for target `out/target/product/gta04/system/etc/mkshrc'
>> build/core/base_rules.mk:523: warning: ignoring old commands for target `out/target/product/gta04/system/etc/mkshrc'
>> No private recovery resources for TARGET_DEVICE gta04
>> No recovery.fstab for TARGET_DEVICE gta04
>> make -C kernel/goldelico/gta04 O=/home/ran/replicant-4.0/out/target/product/gta04/obj/KERNEL_OBJ ARCH=arm CROSS_COMPILE="/home/ran/replicant-4.0/prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/arm-eabi-" gta04_defconfig
>> make[1]: Entering directory `/home/ran/replicant-4.0/kernel/goldelico/gta04'
>> GEN     /home/ran/replicant-4.0/out/target/product/gta04/obj/KERNEL_OBJ/Makefile
>> #
>> # configuration written to .config
>> #
>> make[1]: Leaving directory `/home/ran/replicant-4.0/kernel/goldelico/gta04'
>> make -C kernel/goldelico/gta04 O=/home/ran/replicant-4.0/out/target/product/gta04/obj/KERNEL_OBJ ARCH=arm CROSS_COMPILE="/home/ran/replicant-4.0/prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/arm-eabi-" headers_install
>> make[1]: Entering directory `/home/ran/replicant-4.0/kernel/goldelico/gta04'
>> CHK     include/generated/uapi/linux/version.h
>> make[1]: Leaving directory `/home/ran/replicant-4.0/kernel/goldelico/gta04'
>> make -C kernel/goldelico/gta04 O=/home/ran/replicant-4.0/out/target/product/gta04/obj/KERNEL_OBJ ARCH=arm CROSS_COMPILE="/home/ran/replicant-4.0/prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/arm-eabi-" LOADADDR=0x80008000 uImage
>> make[1]: Entering directory `/home/ran/replicant-4.0/kernel/goldelico/gta04'
>> GEN     /home/ran/replicant-4.0/out/target/product/gta04/obj/KERNEL_OBJ/Makefile
>> scripts/kconfig/conf --silentoldconfig Kconfig
>> CHK     include/config/kernel.release
>> Using /home/ran/replicant-4.0/kernel/goldelico/gta04 as source for kernel
>> GEN     /home/ran/replicant-4.0/out/target/product/gta04/obj/KERNEL_OBJ/Makefile
>> CHK     include/generated/uapi/linux/version.h
>> CHK     include/generated/utsrelease.h
>> make[3]: `include/generated/mach-types.h' is up to date.
>> CALL    /home/ran/replicant-4.0/kernel/goldelico/gta04/scripts/checksyscalls.sh
>> CHK     include/generated/compile.h
>> CC      arch/arm/kernel/suspend.o
>> /tmp/ccX9ddXd.s: Assembler messages:
>> /tmp/ccX9ddXd.s:199: Error: garbage following instruction -- `dsb nshst'
>> /tmp/ccX9ddXd.s:206: Error: garbage following instruction -- `dsb nsh'
> 
> It appears that you are using a gcc-4.4.3 toolchain. Maybe the Linux guys have added something that implicitly requires a newer one.
> 
> I am using a gcc-4.6.3

maybe you could try a clean compile of the kernel (outside of the replicant build system) - just using the same cross-toolchain. This could reveal some more background information.

BR,
Nikolaus




More information about the Gta04-owner mailing list