[Samsung Epic 4G Touch] rujelus22:
Here is what I have so far. Can someone let me know if they see something wrong.

Kerenel: Source

initramfs: Agats_optimized

toolchain: arm-eabi-4.4.3

$ export CROSS_COMPILE=/media/Android/Kernel-Base/xda-base/toolchain/prebuilt/arm-eabi-4.4.3/bin/arm-eabi-

$ export ARCH=arm

$ export USE_SEC_FIPS_MODE=true

$ make clean

$ make u1_na_spr_defconfig

$ make

This builds just fine but the zImage is only just over 3MB - (I did not flash this)

If I add the modules

$ export CROSS_COMPILE=/media/Android/Kernel-Base/xda-base/toolchain/prebuilt/arm-eabi-4.4.3/bin/arm-eabi-

$ export ARCH=arm

$ export USE_SEC_FIPS_MODE=true

$ make clean

$ make u1_na_spr_defconfig

$ make modules

$ cp drivers/staging/westbridge/astoria/switch/cyasswitch.ko initramfs/lib/modules

$ cp drivers/net/wireless/bcmdhd/dhd.ko initramfs/lib/modules

$ cp drivers/scsi/scsi_wait_scan.ko initramfs/lib/modules

$ make

it builds and the zImage size is 4MB - (I did not flash this)

If I add agats newest iniramfs - it builds and the zImage is 7MB

$ export CROSS_COMPILE=/media/Android/Kernel-Base/xda-base/toolchain/prebuilt/arm-eabi-4.4.3/bin/arm-eabi-

$ export ARCH=arm

$ export USE_SEC_FIPS_MODE=true

$ make clean

$ make u1_na_spr_defconfig

$ make modules

$ cp drivers/staging/westbridge/astoria/switch/cyasswitch.ko initramfs/lib/modules

$ cp drivers/net/wireless/bcmdhd/dhd.ko initramfs/lib/modules

$ cp drivers/scsi/scsi_wait_scan.ko initramfs/lib/modules

$ make -j5 zImage CONFIG_INITRAMFS_SOURCE=/media/Android/Kernel-Base/xda-base/kernels/stock_samsung_ics/initramfs

When I flash this it just gets to the samsung logo and no further.

Ran make CONFIG_DEBUG_SECTION_MISMATCH=y

and got this

drivers/input/touchscreen/mxt224_u1.o

drivers/input/touchscreen/mxt224_u1.c: In function 'mxt224_ta_probe':

drivers/input/touchscreen/mxt224_u1.c:437: warning: unused variable 'movfilter' [-Wunused-variable]

drivers/input/touchscreen/mxt224_u1.c: At top level:

drivers/input/touchscreen/mxt224_u1.c:2332: warning: 'mxt224_optical_gain' defined but not used [-Wunused-function]

cc1: warnings being treated as errors

drivers/input/touchscreen/mxt224_u1.c: In function 'median_err_setting':

drivers/input/touchscreen/mxt224_u1.c:1615: error: 'obj_address' may be used uninitialized in this function [-Wuninitialized]

make[3]: *** [drivers/input/touchscreen/mxt224_u1.o] Error 1

make[2]: *** [drivers/input/touchscreen] Error 2

make[1]: *** [drivers/input] Error 2

make: *** [drivers] Error 2

Anyone see something I am missing or messing up?

---------- Post added at 10:00 AM ---------- Previous post was at 10:00 AM ----------

Here is the entire output

make CONFIG_DEBUG_SECTION_MISMATCH=y
CHK include/linux/version.h
CHK include/generated/utsrelease.h
make[1]: `include/generated/mach-types.h' is up to date.
CC kernel/bounds.s
GEN include/generated/bounds.h
CC arch/arm/kernel/asm-offsets.s
GEN include/generated/asm-offsets.h
CALL scripts/checksyscalls.sh
CC scripts/mod/empty.o
MKELF scripts/mod/elfconfig.h
HOSTCC scripts/mod/file2alias.o
HOSTCC scripts/mod/modpost.o
HOSTCC scripts/mod/sumversion.o
HOSTLD scripts/mod/modpost
CC init/main.o
CHK include/generated/compile.h
CC init/version.o
CC init/do_mounts.o
CC init/do_mounts_rd.o
CC init/do_mounts_initrd.o
LD init/mounts.o
CC init/initramfs.o
CC init/calibrate.o
LD init/built-in.o
GEN usr/initramfs_data.cpio
AS usr/initramfs_data.o
LD usr/built-in.o
CC arch/arm/vfp/vfpmodule.o
AS arch/arm/vfp/entry.o
AS arch/arm/vfp/vfphw.o
CC arch/arm/vfp/vfpsingle.o
CC arch/arm/vfp/vfpdouble.o
LD arch/arm/vfp/vfp.o
LD arch/arm/vfp/built-in.o
CC arch/arm/kernel/elf.o
AS arch/arm/kernel/entry-armv.o
AS arch/arm/kernel/entry-common.o
CC arch/arm/kernel/irq.o
CC arch/arm/kernel/process.o
CC arch/arm/kernel/ptrace.o
CC arch/arm/kernel/return_address.o
CC arch/arm/kernel/setup.o
CC arch/arm/kernel/signal.o
CC arch/arm/kernel/sys_arm.o
CC arch/arm/kernel/stacktrace.o
CC arch/arm/kernel/time.o
CC arch/arm/kernel/traps.o
CC arch/arm/kernel/armksyms.o
CC arch/arm/kernel/module.o
AS arch/arm/kernel/sleep.o
CC arch/arm/kernel/smp.o
CC arch/arm/kernel/smp_tlb.o
CC arch/arm/kernel/smp_scu.o
CC arch/arm/kernel/ftrace.o
CC arch/arm/kernel/sys_oabi-compat.o
CC arch/arm/kernel/swp_emulate.o
CC arch/arm/kernel/hw_breakpoint.o
CC arch/arm/kernel/pmu.o
CC arch/arm/kernel/perf_event.o
CC arch/arm/kernel/io.o
LD arch/arm/kernel/built-in.o
AS arch/arm/kernel/head.o
CC arch/arm/kernel/init_task.o
CC arch/arm/mm/extable.o
CC arch/arm/mm/fault.o
CC arch/arm/mm/iomap.o
CC arch/arm/mm/dma-mapping.o
CC arch/arm/mm/init.o
CC arch/arm/mm/fault-armv.o
CC arch/arm/mm/flush.o
CC arch/arm/mm/idmap.o
CC arch/arm/mm/ioremap.o
CC arch/arm/mm/mmap.o
CC arch/arm/mm/pgd.o
CC arch/arm/mm/vmregion.o
CC arch/arm/mm/mmu.o
CC arch/arm/mm/proc-syms.o
CC arch/arm/mm/alignment.o
CC arch/arm/mm/highmem.o
AS arch/arm/mm/cache-v7.o
CC arch/arm/mm/copypage-v6.o
CC arch/arm/mm/context.o
AS arch/arm/mm/tlb-v7.o
AS arch/arm/mm/proc-v7.o
CC arch/arm/mm/cache-l2x0.o
LD arch/arm/mm/built-in.o
CC arch/arm/common/gic.o
CC arch/arm/common/pl330.o
LD arch/arm/common/built-in.o
CC arch/arm/mach-exynos/init.o
CC arch/arm/mach-exynos/irq-combiner.o
CC arch/arm/mach-exynos/dma.o
CC arch/arm/mach-exynos/irq-eint.o
CC arch/arm/mach-exynos/ppmu.o
CC arch/arm/mach-exynos/cpu-exynos4.o
CC arch/arm/mach-exynos/clock-exynos4.o
arch/arm/mach-exynos/clock-exynos4.c:457: warning: 'exynos4_clk_aclk_c2c' defined but not used [-Wunused-variable]
CC arch/arm/mach-exynos/pmu-exynos4.o
arch/arm/mach-exynos/pmu-exynos4.c: In function 'exynos4_pmu_init':
arch/arm/mach-exynos/pmu-exynos4.c:384: warning: unused variable 'i' [-Wunused-variable]
CC arch/arm/mach-exynos/ppc.o
CC arch/arm/mach-exynos/clock-domain.o
CC arch/arm/mach-exynos/clock-exynos4210.o
CC arch/arm/mach-exynos/pm-exynos4.o
CC arch/arm/mach-exynos/cpufreq.o
CC arch/arm/mach-exynos/asv.o
CC arch/arm/mach-exynos/asv-4210.o
CC arch/arm/mach-exynos/asv-4x12.o
CC arch/arm/mach-exynos/cpufreq-4210.o
CC arch/arm/mach-exynos/cpufreq-4x12.o
CC arch/arm/mach-exynos/cpuidle-exynos4.o
arch/arm/mach-exynos/cpuidle-exynos4.c:174: warning: 'exynos4212_gpio_conpdn_reg' defined but not used [-Wunused-function]
arch/arm/mach-exynos/cpuidle-exynos4.c:321: warning: 'check_usbotg_op' defined but not used [-Wunused-function]
CC arch/arm/mach-exynos/busfreq.o
CC arch/arm/mach-exynos/platsmp.o
CC arch/arm/mach-exynos/mct.o
CC arch/arm/mach-exynos/hotplug.o
CC arch/arm/mach-exynos/stand-hotplug.o
CC arch/arm/mach-exynos/mach-u1.o
arch/arm/mach-exynos/mach-u1.c: In function 'm5mo_flash_power':
arch/arm/mach-exynos/mach-u1.c:804: warning: label 'torch_exit' defined but not used [-Wunused-label]
arch/arm/mach-exynos/mach-u1.c: In function 'cam_cfg_gpio':
arch/arm/mach-exynos/mach-u1.c:1525: warning: unused variable 'ret' [-Wunused-variable]
arch/arm/mach-exynos/mach-u1.c: In function 'max8997_muic_usb_cb':
arch/arm/mach-exynos/mach-u1.c:3244: warning: unused variable 'ret' [-Wunused-variable]
arch/arm/mach-exynos/mach-u1.c: At top level:
arch/arm/mach-exynos/mach-u1.c:3071: warning: 'max8997_muic_set_safeout' defined but not used [-Wunused-function]
arch/arm/mach-exynos/mach-u1.c:4271: warning: 'sec_bat_initial_check' defined but not used [-Wunused-function]
CC arch/arm/mach-exynos/sec-common.o
CC arch/arm/mach-exynos/sec-switch_max8997.o
arch/arm/mach-exynos/sec-switch_max8997.c:50: warning: 'switch_dock' defined but not used [-Wunused-variable]
CC arch/arm/mach-exynos/dev-u1-phone.o
CC arch/arm/mach-exynos/u1-gpio.o
CC arch/arm/mach-exynos/u1-wlan.o
CC arch/arm/mach-exynos/u1-wimax.o
CC arch/arm/mach-exynos/u1-na-spr-panel.o
CC arch/arm/mach-exynos/u1_regulator_consumer.o
CC arch/arm/mach-exynos/sec-reboot.o
arch/arm/mach-exynos/include/mach/system.h:18: warning: 'arch_idle' defined but not used [-Wunused-function]
CC arch/arm/mach-exynos/dev-audio.o
CC arch/arm/mach-exynos/dev-pd.o
CC arch/arm/mach-exynos/dev-pd-exynos4.o
arch/arm/mach-exynos/dev-pd-exynos4.c: In function 'exynos_pd_restore':
arch/arm/mach-exynos/dev-pd-exynos4.c:52: warning: unused variable 'pdata' [-Wunused-variable]
CC arch/arm/mach-exynos/dev-sysmmu.o
CC arch/arm/mach-exynos/setup-fimc0.o
CC arch/arm/mach-exynos/setup-fimc1.o
CC arch/arm/mach-exynos/setup-fimc2.o
CC arch/arm/mach-exynos/setup-fimc3.o
CC arch/arm/mach-exynos/setup-csis.o
CC arch/arm/mach-exynos/setup-fimd0.o
CC arch/arm/mach-exynos/setup-i2c0.o
CC arch/arm/mach-exynos/setup-i2c1.o
CC arch/arm/mach-exynos/setup-i2c3.o
CC arch/arm/mach-exynos/setup-i2c4.o
CC arch/arm/mach-exynos/setup-i2c5.o
CC arch/arm/mach-exynos/setup-i2c6.o
CC arch/arm/mach-exynos/setup-i2c7.o
CC arch/arm/mach-exynos/setup-mfc.o
CC arch/arm/mach-exynos/setup-sdhci.o
CC arch/arm/mach-exynos/setup-sdhci-gpio.o
arch/arm/mach-exynos/setup-sdhci-gpio.c: In function 'exynos4_setup_sdhci3_cfg_gpio':
arch/arm/mach-exynos/setup-sdhci-gpio.c:156: warning: unused variable 'pdata' [-Wunused-variable]
CC arch/arm/mach-exynos/setup-mshci.o
CC arch/arm/mach-exynos/setup-mshci-gpio.o
CC arch/arm/mach-exynos/setup-usb-phy.o
CC arch/arm/mach-exynos/setup-fb-s5p.o
CC arch/arm/mach-exynos/setup-tvout.o
CC arch/arm/mach-exynos/tmu.o
CC arch/arm/mach-exynos/sec_debug.o
CC arch/arm/mach-exynos/sec_getlog.o
CC arch/arm/mach-exynos/sec_gaf.o
CC arch/arm/mach-exynos/sec_watchdog.o
CC arch/arm/mach-exynos/sec_log.o
CC arch/arm/mach-exynos/board-bluetooth-bcm4330.o
CC arch/arm/mach-exynos/sec_thermistor.o
LD arch/arm/mach-exynos/built-in.o
CC arch/arm/plat-s5p/dev-pmu.o
CC arch/arm/plat-s5p/dev-uart.o
CC arch/arm/plat-s5p/cpu.o
CC arch/arm/plat-s5p/clock.o
CC arch/arm/plat-s5p/irq.o
CC arch/arm/plat-s5p/reset.o
CC arch/arm/plat-s5p/reserve_mem.o
CC arch/arm/plat-s5p/irq-gpioint.o
CC arch/arm/plat-s5p/sysmmu.o
CC arch/arm/plat-s5p/pm.o
CC arch/arm/plat-s5p/irq-pm.o
CC arch/arm/plat-s5p/dev-fimc-s5p.o
CC arch/arm/plat-s5p/dev-mfc.o
CC arch/arm/plat-s5p/dev-fimd0.o
CC arch/arm/plat-s5p/dev-fimd-s5p.o
CC arch/arm/plat-s5p/dev-tvout.o
CC arch/arm/plat-s5p/dev-fimg2d.o
CC arch/arm/plat-s5p/dev-csis-s5p.o
CC arch/arm/plat-s5p/dev-jpeg.o
CC arch/arm/plat-s5p/dev-ehci.o
CC arch/arm/plat-s5p/dev-usbgadget.o
CC arch/arm/plat-s5p/dev-tmu.o
CC arch/arm/plat-s5p/s5p_iommu.o
LD arch/arm/plat-s5p/built-in.o
CC arch/arm/plat-samsung/init.o
CC arch/arm/plat-samsung/cpu.o
CC arch/arm/plat-samsung/clock.o
CC arch/arm/plat-samsung/pwm-clock.o
CC arch/arm/plat-samsung/gpio.o
CC arch/arm/plat-samsung/gpio-config.o
CC arch/arm/plat-samsung/dev-asocdma.o
CC arch/arm/plat-samsung/clock-clksrc.o
CC arch/arm/plat-samsung/irq-uart.o
CC arch/arm/plat-samsung/irq-vic-timer.o
CC arch/arm/plat-samsung/adc.o
CC arch/arm/plat-samsung/platformdata.o
CC arch/arm/plat-samsung/dev-hsmmc2.o
CC arch/arm/plat-samsung/dev-hsmmc3.o
CC arch/arm/plat-samsung/dev-mshc.o
CC arch/arm/plat-samsung/dev-i2c0.o
CC arch/arm/plat-samsung/dev-i2c1.o
CC arch/arm/plat-samsung/dev-i2c3.o
CC arch/arm/plat-samsung/dev-i2c4.o
CC arch/arm/plat-samsung/dev-i2c5.o
CC arch/arm/plat-samsung/dev-i2c6.o
CC arch/arm/plat-samsung/dev-i2c7.o
CC arch/arm/plat-samsung/dev-uart.o
CC arch/arm/plat-samsung/dev-wdt.o
CC arch/arm/plat-samsung/dev-rtc.o
CC arch/arm/plat-samsung/dev-adc.o
CC arch/arm/plat-samsung/dev-ts.o
CC arch/arm/plat-samsung/dev-ts1.o
CC arch/arm/plat-samsung/dev-pwm.o
CC arch/arm/plat-samsung/s3c-pl330.o
CC arch/arm/plat-samsung/pm.o
CC arch/arm/plat-samsung/pm-gpio.o
CC arch/arm/plat-samsung/pd.o
CC arch/arm/plat-samsung/pwm.o
LD arch/arm/plat-samsung/built-in.o
CC kernel/sched.o
CC kernel/fork.o
CC kernel/exec_domain.o
CC kernel/panic.o
CC kernel/printk.o
CC kernel/cpu.o
CC kernel/exit.o
CC kernel/itimer.o
CC kernel/time.o
CC kernel/softirq.o
CC kernel/resource.o
CC kernel/sysctl.o
CC kernel/sysctl_binary.o
CC kernel/capability.o
CC kernel/ptrace.o
CC kernel/timer.o
CC kernel/user.o
CC kernel/signal.o
CC kernel/sys.o
CC kernel/kmod.o
CC kernel/workqueue.o
CC kernel/pid.o
CC kernel/rcupdate.o
CC kernel/extable.o
CC kernel/params.o
CC kernel/posix-timers.o
CC kernel/kthread.o
CC kernel/wait.o
CC kernel/kfifo.o
CC kernel/sys_ni.o
CC kernel/posix-cpu-timers.o
CC kernel/mutex.o
CC kernel/hrtimer.o
CC kernel/rwsem.o
CC kernel/nsproxy.o
CC kernel/srcu.o
CC kernel/semaphore.o
CC kernel/notifier.o
CC kernel/ksysfs.o
CC kernel/pm_qos_params.o
CC kernel/sched_clock.o
CC kernel/cred.o
CC kernel/async.o
CC kernel/range.o
CC kernel/jump_label.o
CC kernel/groups.o
CC kernel/freezer.o
CC kernel/profile.o
CC kernel/sysctl_check.o
CC kernel/stacktrace.o
CC kernel/events/core.o
CC kernel/events/hw_breakpoint.o
LD kernel/events/built-in.o
CC kernel/irq/irqdesc.o
CC kernel/irq/handle.o
CC kernel/irq/manage.o
CC kernel/irq/spurious.o
CC kernel/irq/resend.o
CC kernel/irq/chip.o
CC kernel/irq/dummychip.o
CC kernel/irq/devres.o
CC kernel/irq/generic-chip.o
CC kernel/irq/autoprobe.o
CC kernel/irq/proc.o
CC kernel/irq/pm.o
LD kernel/irq/built-in.o
CC kernel/power/main.o
CC kernel/power/console.o
CC kernel/power/process.o
CC kernel/power/suspend.o
CC kernel/power/wakelock.o
CC kernel/power/userwakelock.o
CC kernel/power/earlysuspend.o
CC kernel/power/fbearlysuspend.o
CC kernel/power/poweroff.o
LD kernel/power/built-in.o
CC kernel/time/timekeeping.o
CC kernel/time/ntp.o
CC kernel/time/clocksource.o
CC kernel/time/jiffies.o
CC kernel/time/timer_list.o
CC kernel/time/timecompare.o
CC kernel/time/timeconv.o
CC kernel/time/posix-clock.o
CC kernel/time/clockevents.o
CC kernel/time/tick-common.o
CC kernel/time/tick-broadcast.o
CC kernel/time/tick-oneshot.o
CC kernel/time/tick-sched.o
LD kernel/time/built-in.o
CC kernel/trace/trace_selftest_dynamic.o
CC kernel/trace/trace_clock.o
CC kernel/trace/ftrace.o
LD kernel/trace/libftrace.o
CC kernel/trace/ring_buffer.o
CC kernel/trace/trace.o
CC kernel/trace/trace_output.o
CC kernel/trace/trace_stat.o
CC kernel/trace/trace_printk.o
CC kernel/trace/trace_sched_switch.o
CC kernel/trace/trace_functions.o
CC kernel/trace/trace_nop.o
CC kernel/trace/trace_functions_graph.o
CC kernel/trace/blktrace.o
CC kernel/trace/trace_events.o
CC kernel/trace/trace_export.o
CC kernel/trace/trace_event_perf.o
CC kernel/trace/trace_events_filter.o
CC kernel/trace/power-traces.o
LD kernel/trace/built-in.o
CC kernel/mutex-debug.o
CC kernel/futex.o
CC kernel/rtmutex.o
CC kernel/smp.o
CC kernel/spinlock.o
CC kernel/uid16.o
CC kernel/module.o
CC kernel/kallsyms.o
CC kernel/cgroup.o
CC kernel/cgroup_freezer.o
CC kernel/res_counter.o
CC kernel/stop_machine.o
CC kernel/hung_task.o
CC kernel/watchdog.o
CC kernel/rcutree.o
CC kernel/utsname_sysctl.o
CC kernel/tracepoint.o
CC kernel/elfcore.o
CC kernel/sched_cpupri.o
CC kernel/irq_work.o