[Samsung Galaxy Tab Plus] chip.hughes:
Hi Gary! I got my machine back together again, using the toolchain from NDK since I had to install all the SDK stuff to make ADB work on this thing anyway. I edited the "build_p6210_kernel" file to look for the NDK toolchain instead of the cyanogen one. I stopped getting toolchain issues when I moved the folder to "root", now I'm getting errors dealing with the "initramfs". Could you glance over this output and see if something jumps out at you? I feel like I am really close this time.

chip@ubuntu:~$ su

Password:

root@ubuntu:/home/chip# cd

root@ubuntu:~# cd P6210

root@ubuntu:~/P6210# cd ls

bash: cd: ls: No such file or directory

root@ubuntu:~/P6210# ls

initramfs linux_kernel_GT6210

root@ubuntu:~/P6210# cd linux_kernel_GT6210

root@ubuntu:~/P6210/linux_kernel_GT6210# ./build_p6210_kernel

#

# configuration written to .config

#

scripts/kconfig/conf --silentoldconfig arch/arm/Kconfig

CHK include/linux/version.h

CHK include/generated/utsrelease.h

make[1]: `include/generated/mach-types.h' is up to date.

CALL scripts/checksyscalls.sh

CHK include/generated/compile.h

GEN usr/initramfs_data.cpio.lzma

CC arch/arm/vfp/vfpmodule.o

CC kernel/sched.o

AS arch/arm/vfp/entry.o

In file included from kernel/sched.c:80:

arch/arm/mach-s5pv310/include/mach/sec_debug.h: In function 'sec_debug_init':

arch/arm/mach-s5pv310/include/mach/sec_debug.h:26: warning: no return statement in function returning non-void

AS arch/arm/vfp/vfphw.o

CC arch/arm/vfp/vfpsingle.o

CC arch/arm/vfp/vfpdouble.o

/root/P6210/linux_kernel_GT6210/scripts/gen_initramfs_list.sh: line 297: lzma: command not found

make[1]: *** [usr/initramfs_data.cpio.lzma] Error 1

make: *** [usr] Error 2

make: *** Waiting for unfinished jobs....

CC kernel/fork.o

LD arch/arm/vfp/vfp.o

LD arch/arm/vfp/built-in.o

CC kernel/exec_domain.o

CC kernel/panic.o

CC kernel/printk.o

CC kernel/cpu.o

In file included from kernel/printk.c:44:

arch/arm/mach-s5pv310/include/mach/sec_debug.h: In function 'sec_debug_init':

arch/arm/mach-s5pv310/include/mach/sec_debug.h:26: warning: no return statement in function returning non-void

kernel/cpu.c: In function 'take_cpu_down':

kernel/cpu.c:200: warning: unused variable 'cpu'

CC kernel/exit.o

CC kernel/itimer.o

TIMEC kernel/timeconst.h

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/groups.o

CC kernel/freezer.o

CC kernel/stacktrace.o

CC kernel/irq/handle.o

CC kernel/power/main.o

CC kernel/time/timekeeping.o

In file included from kernel/irq/handle.c:25:

arch/arm/mach-s5pv310/include/mach/sec_debug.h: In function 'sec_debug_init':

arch/arm/mach-s5pv310/include/mach/sec_debug.h:26: warning: no return statement in function returning non-void

CC kernel/irq/manage.o

CC kernel/power/console.o

CC kernel/irq/spurious.o

CC kernel/time/ntp.o

CC kernel/power/process.o

CC kernel/irq/resend.o

CC kernel/power/suspend.o

CC kernel/irq/chip.o

CC kernel/time/clocksource.o

CC kernel/power/nvs.o

CC kernel/power/wakelock.o

CC kernel/irq/devres.o

CC kernel/time/jiffies.o

CC kernel/time/timer_list.o

CC kernel/irq/autoprobe.o

CC kernel/power/userwakelock.o

CC kernel/irq/proc.o

CC kernel/time/timecompare.o

CC kernel/power/earlysuspend.o

CC kernel/irq/pm.o

CC kernel/time/timeconv.o

CC kernel/power/fbearlysuspend.o

LD kernel/irq/built-in.o

CC kernel/futex.o

CC kernel/time/clockevents.o

CC kernel/power/poweroff.o

LD kernel/power/built-in.o

CC kernel/rtmutex.o

CC kernel/time/tick-common.o

CC kernel/time/tick-broadcast.o

CC kernel/smp.o

CC kernel/time/tick-oneshot.o

CC kernel/spinlock.o

CC kernel/uid16.o

CC kernel/time/tick-sched.o

CC kernel/module.o

CC kernel/kallsyms.o

LD kernel/time/built-in.o

CC kernel/cgroup.o

CC kernel/cgroup_freezer.o

GZIP kernel/config_data.gz

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/elfcore.o

CC kernel/sched_cpupri.o

CC kernel/time.o

IKCFG kernel/config_data.h

CC kernel/configs.o

LD kernel/built-in.o

cp: missing destination file operand after `kernel/usr/initramfs/lib/modules/'

Try `cp --help' for more information.

CHK include/linux/version.h

CHK include/generated/utsrelease.h

make[1]: `include/generated/mach-types.h' is up to date.

CALL scripts/checksyscalls.sh

CHK include/generated/compile.h

GEN usr/initramfs_data.cpio.lzma

CC mm/bootmem.o

CC fs/open.o

CC mm/filemap.o

/root/P6210/linux_kernel_GT6210/scripts/gen_initramfs_list.sh: line 297: lzma: command not found

make[1]: *** [usr/initramfs_data.cpio.lzma] Error 1

make: *** [usr] Error 2

make: *** Waiting for unfinished jobs....

CC mm/mempool.o

CC fs/read_write.o

CC mm/oom_kill.o

CC fs/file_table.o

CC mm/fadvise.o

CC mm/maccess.o

CC fs/super.o

CC mm/page_alloc.o

CC mm/page-writeback.o

CC fs/char_dev.o

CC mm/readahead.o

CC fs/stat.o

CC mm/swap.o

CC mm/truncate.o

CC fs/exec.o

CC mm/vmscan.o

CC mm/shmem.o

CC fs/pipe.o

CC fs/namei.o

CC mm/prio_tree.o

CC mm/util.o

CC mm/mmzone.o

CC mm/vmstat.o

CC mm/backing-dev.o

CC mm/page_isolation.o

CC mm/mm_init.o

CC mm/mmu_context.o

CC mm/fremap.o

CC fs/fcntl.o

CC mm/highmem.o

CC mm/madvise.o

CC mm/memory.o

CC mm/mincore.o

CC fs/ioctl.o

CC mm/mlock.o

CC fs/readdir.o

CC fs/select.o

CC mm/mmap.o

CC mm/mprotect.o

CC mm/mremap.o

CC fs/fifo.o

CC mm/msync.o

CC fs/dcache.o

CC mm/rmap.o

CC mm/vmalloc.o

CC mm/pagewalk.o

CC mm/init-mm.o

CC mm/memblock.o

CC fs/inode.o

CC mm/bounce.o

CC mm/dmapool.o

CC mm/ashmem.o

CC fs/attr.o

CC mm/slub.o

CC fs/bad_inode.o

CC mm/percpu.o

CC fs/file.o

CC fs/filesystems.o

CC mm/cma.o

CC fs/namespace.o

CC mm/cma-best-fit.o

CC fs/seq_file.o

LD mm/built-in.o

CC fs/xattr.o

CC fs/libfs.o

CC fs/fs-writeback.o

CC fs/pnode.o

CC fs/drop_caches.o

CC fs/splice.o

CC fs/sync.o

CC fs/utimes.o

CC fs/stack.o

CC fs/fs_struct.o

CC fs/statfs.o

CC fs/buffer.o

CC fs/bio.o

CC fs/block_dev.o

CC fs/direct-io.o

CC fs/mpage.o

CC fs/ioprio.o

CC fs/cramfs/inode.o

CC fs/debugfs/inode.o

CC fs/devpts/inode.o

LD fs/devpts/devpts.o

LD fs/devpts/built-in.o

CC fs/ecryptfs/dentry.o

CC fs/debugfs/file.o

CC fs/cramfs/uncompress.o

LD fs/cramfs/cramfs.o

LD fs/cramfs/built-in.o

CC fs/ecryptfs/file.o

CC fs/ext2/balloc.o

CC fs/ecryptfs/inode.o

LD fs/debugfs/debugfs.o

LD fs/debugfs/built-in.o

CC fs/ext4/balloc.o

CC fs/ext2/dir.o

CC fs/ext2/file.o

CC fs/ecryptfs/main.o

CC fs/ext2/ialloc.o

CC fs/ext4/bitmap.o

fs/ecryptfs/main.c: In function 'parse_enc_filter_parms':

fs/ecryptfs/main.c:319: warning: unused variable 'count'

CC fs/ext4/dir.o

CC fs/ecryptfs/super.o

CC fs/ext2/inode.o

CC fs/ext4/file.o

CC fs/ecryptfs/mmap.o

CC fs/ext2/ioctl.o

CC fs/ext4/fsync.o

CC fs/ext2/namei.o

CC fs/ecryptfs/read_write.o

CC fs/ext4/ialloc.o

CC fs/ecryptfs/crypto.o

CC fs/ext2/super.o

CC fs/ext4/inode.o

CC fs/ext2/symlink.o

LD fs/ext2/ext2.o

LD fs/ext2/built-in.o

CC fs/fat/cache.o

CC fs/ecryptfs/keystore.o

CC fs/fat/dir.o

CC fs/ecryptfs/messaging.o

CC fs/ecryptfs/miscdev.o

fs/fat/dir.c: In function 'fat_add_entries':

fs/fat/dir.c:43: warning: 'de' may be used uninitialized in this function

fs/fat/dir.c:1241: note: 'de' was declared here

CC fs/fat/fatent.o

CC fs/ecryptfs/kthread.o

CC fs/ext4/ioctl.o

CC fs/ecryptfs/debug.o

CC fs/fat/file.o

CC fs/ext4/namei.o

LD fs/ecryptfs/ecryptfs.o

LD fs/ecryptfs/built-in.o

CC fs/fuse/dev.o

CC fs/fat/inode.o

CC fs/ext4/super.o

CC fs/fuse/dir.o

CC fs/fat/misc.o

CC fs/fat/namei_msdos.o

CC fs/fuse/file.o

CC fs/fat/namei_vfat.o

CC fs/ext4/symlink.o

CC fs/ext4/hash.o

LD fs/fat/fat.o

LD fs/fat/vfat.o

LD fs/fat/msdos.o

LD fs/fat/built-in.o

CC fs/jbd2/transaction.o

CC fs/ext4/resize.o

CC fs/fuse/inode.o

CC fs/jbd2/commit.o

CC fs/ext4/extents.o

CC fs/fuse/control.o

LD fs/fuse/fuse.o

LD fs/fuse/built-in.o

CC fs/nls/nls_base.o

CC fs/jbd2/recovery.o

CC fs/nls/nls_cp437.o

CC fs/nls/nls_ascii.o

CC fs/jbd2/checkpoint.o

CC fs/nls/nls_iso8859-1.o

LD fs/nls/built-in.o

CC fs/notify/fsnotify.o

CC fs/jbd2/revoke.o

CC fs/notify/notification.o

CC fs/ext4/ext4_jbd2.o

CC fs/ext4/migrate.o

CC fs/notify/group.o

CC fs/jbd2/journal.o

CC fs/notify/inode_mark.o

CC fs/ext4/mballoc.o

CC fs/notify/mark.o

CC fs/notify/vfsmount_mark.o

LD fs/notify/dnotify/built-in.o

LD fs/notify/fanotify/built-in.o

CC fs/notify/inotify/inotify_fsnotify.o

LD fs/jbd2/jbd2.o

LD fs/jbd2/built-in.o

CC fs/partitions/check.o

CC fs/notify/inotify/inotify_user.o

CC fs/ext4/block_validity.o

LD fs/notify/inotify/built-in.o

LD fs/notify/built-in.o

CC fs/proc/mmu.o

CC fs/partitions/msdos.o

CC fs/ext4/move_extent.o

CC fs/proc/task_mmu.o

CC fs/proc/inode.o

CC fs/partitions/efi.o

CC fs/proc/root.o

LD fs/ext4/ext4.o

LD fs/ext4/built-in.o

LD fs/quota/built-in.o

CC fs/ramfs/inode.o

CC fs/proc/base.o

LD fs/partitions/built-in.o

CC fs/romfs/storage.o

CC fs/ramfs/file-mmu.o

LD fs/ramfs/ramfs.o

LD fs/ramfs/built-in.o

CC fs/sysfs/inode.o

CC fs/romfs/super.o

CC fs/sysfs/file.o

LD fs/romfs/romfs.o

LD fs/romfs/built-in.o

CC fs/eventpoll.o

CC fs/sysfs/dir.o

CC fs/proc/generic.o

CC fs/anon_inodes.o

CC fs/proc/array.o

CC fs/sysfs/symlink.o

CC fs/signalfd.o

CC fs/proc/proc_tty.o

CC fs/sysfs/mount.o

CC fs/timerfd.o

CC fs/proc/cmdline.o

CC fs/sysfs/bin.o

CC fs/proc/cpuinfo.o

CC fs/eventfd.o

CC fs/proc/devices.o

CC fs/proc/interrupts.o

CC fs/sysfs/group.o

CC fs/aio.o

CC fs/proc/loadavg.o

LD fs/sysfs/built-in.o

CC fs/locks.o

CC fs/proc/meminfo.o

CC fs/proc/stat.o

CC fs/proc/uptime.o

CC fs/binfmt_script.o

CC fs/proc/version.o

CC fs/binfmt_elf.o

CC fs/posix_acl.o

CC fs/proc/softirqs.o

CC fs/proc/proc_sysctl.o

CC fs/xattr_acl.o

CC fs/generic_acl.o

CC fs/proc/proc_net.o

CC fs/proc/kmsg.o

CC fs/proc/page.o

LD fs/proc/proc.o

LD fs/proc/built-in.o

LD fs/built-in.o

root@ubuntu:~/P6210/linux_kernel_GT6210# cd arch

root@ubuntu:~/P6210/linux_kernel_GT6210/arch# cd arm

root@ubuntu:~/P6210/linux_kernel_GT6210/arch/arm# cd boot

root@ubuntu:~/P6210/linux_kernel_GT6210/arch/arm/boot# ls

bootp compressed install.sh Makefile