Closed scr34m closed 11 years ago
root@Cubian[/usr/src]>make -j2 -C ./linux-sunxi ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- uImage modules
/usr/Toolchain/bin/arm-none-linux-gnueabi-gcc: 1: /usr/Toolchain/bin/arm-none-linux-gnueabi-gcc: Syntax error: "(" unexpected
make: Entering directory /usr/src/linux-sunxi' CHK include/linux/version.h CC scripts/mod/empty.o /usr/Toolchain/bin/arm-none-linux-gnueabi-gcc: 1: /usr/Toolchain/bin/arm-none-linux-gnueabi-gcc: Syntax error: "(" unexpected make[2]: *** [scripts/mod/empty.o] Error 2 make[1]: *** [scripts/mod] Error 2 make: *** [scripts] Error 2 make: Leaving directory
/usr/src/linux-sunxi'
root@Cubian[/usr/src]>
root@Cubian[/usr/src]>dpkg --add-architecture i386 [2:12]
apt-get update
apt-get install ia32-libs libncurses5-dev make build-essential uboot-mkimage# root@Cubian[/usr/src]>apt-get update [2:12]
Hit http://security.debian.org wheezy/updates Release.gpg
Hit http://security.debian.org wheezy/updates Release
Hit http://packages.cubian.org wheezy Release.gpg
Get:1 http://http.debian.net wheezy Release.gpg [1,672 B]
Hit http://packages.cubian.org wheezy Release
Hit http://security.debian.org wheezy/updates/main armhf Packages
Hit http://http.debian.net wheezy Release
Hit http://packages.cubian.org wheezy/main armhf Packages
Hit http://security.debian.org wheezy/updates/contrib armhf Packages
Hit http://security.debian.org wheezy/updates/non-free armhf Packages
Hit http://security.debian.org wheezy/updates/main i386 Packages
Hit http://http.debian.net wheezy/main armhf Packages
Hit http://security.debian.org wheezy/updates/contrib i386 Packages
Hit http://http.debian.net wheezy/contrib armhf Packages
Hit http://security.debian.org wheezy/updates/non-free i386 Packages
Hit http://http.debian.net wheezy/non-free armhf Packages
Hit http://security.debian.org wheezy/updates/contrib Translation-en
Hit http://security.debian.org wheezy/updates/main Translation-en
Get:2 http://http.debian.net wheezy/main i386 Packages [5,864 kB]
Hit http://security.debian.org wheezy/updates/non-free Translation-en
Get:3 http://http.debian.net wheezy/contrib i386 Packages [42.3 kB]
Get:4 http://http.debian.net wheezy/contrib Translation-en [34.8 kB]
Get:5 http://http.debian.net wheezy/main Translation-en [3,852 kB]
Get:6 http://http.debian.net wheezy/non-free i386 Packages [77.6 kB]
Get:7 http://http.debian.net wheezy/non-free Translation-en [66.1 kB]
Fetched 9,939 kB in 52s (191 kB/s)
W: Failed to fetch http://packages.cubian.org/dists/wheezy/Release Unable to find expected entry 'main/binary-i386/Packages' in Release file (Wrong sources.list entry or malformed file)
E: Some index files failed to download. They have been ignored, or old ones used instead.
root@Cubian[/usr/src]>apt-get install ia32-libs libncurses5-dev make build-essential uboot-mkimage [2:13]
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package ia32-libs is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'ia32-libs' has no installation candidate
To build a kernel you have to do these instructions under an 32/64 bit release not on cubian/cubiboard.
root@ubuntu:/home/user# uname -a Linux ubuntu 3.2.0-29-generic-pae #46-Ubuntu SMP Fri Jul 27 17:25:43 UTC 2012 i686 i686 i386 GNU/Linux root@ubuntu:/home/user# root@ubuntu:/home/user# dpkg --add-architecture i386 dpkg: error: unknown option --add-architecture
Type dpkg --help for help about installing and deinstalling packages [];
Use dselect' or
aptitude' for user-friendly package management;
Type dpkg -Dhelp for a list of dpkg debug flag values;
Type dpkg --force-help for a list of forcing options;
Type dpkg-deb --help for help about manipulating .deb files;
Options marked [*] produce a lot of output - pipe it through less' or
more' !
root@ubuntu:/home/user#
root@ubuntu:/home/user#
root@ubuntu:/home/user# apt-get install ia32-libs libncurses5-dev make build-essential uboot-mkimage
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package ia32-libs is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'ia32-libs' has no installation candidate root@ubuntu:/home/user#
in which the distribution is to be accurately compiled and run?
Debian because cubian is a debian distributin so wheezy is needed.
Thanks for sharing, I will create a wiki talking about the kernel compile stuff.
]# git clone https://github.com/mmplayer/linux-sunxi.git
Cloning into 'linux-sunxi'...
remote: Counting objects: 712855, done.
remote: Listing bitmap objects: 3173054, done.
remote: Compressing objects: 100% (538435/538435), done.
error: RPC failed; result=18, HTTP code = 2005.25 MiB | 224 KiB/s
fatal: The remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed
There are some network issue in GitHub at the moment, open in your browser https://github.com/mmplayer/linux-sunxi.git then you will see.
I have using git to easily update changes and switching branche, if that's the same code base then you could use that.
i have hummingbird kit (allwinner a20), but NIC Realtek RTL8201CP, this sources need for build modules (sis900, sis190)
root@debian[/home/user]>uname -a
Linux debian 3.2.0-4-686-pae #1 SMP Debian 3.2.46-1+deb7u1 i686 GNU/Linux
make -j2 -C ./linux-sunxi ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- uImage modules
.....
CC fs/aio.o
CC fs/reiserfs/lock.o
LD fs/reiserfs/reiserfs.o
LD fs/reiserfs/built-in.o
CC fs/locks.o
CC fs/binfmt_misc.o
CC fs/binfmt_script.o
CC fs/binfmt_elf.o
CC fs/mbcache.o
CC fs/posix_acl.o
CC fs/xattr_acl.o
CC fs/generic_acl.o
LD fs/built-in.o
make: Leaving directory `/home/user/linux-sunxi'
root@debian[/home/user]>
root@debian[/home/user]>ls -laF ./linux-sunxi/arch/arm/boot/
total 32
drwxrwxrwx 5 user user 4096 Sep 2 08:13 ./
drwxrwxrwx 87 user user 4096 Sep 2 08:14 ../
drwxrwxrwx 2 user user 4096 Sep 2 08:13 bootp/
drwxrwxrwx 2 user user 4096 Sep 2 08:13 compressed/
drwxrwxrwx 3 user user 4096 Sep 2 08:13 dts/
-rwxrwxrwx 1 user user 46 Sep 2 08:13 .gitignore
-rwxrwxrwx 1 user user 1274 Sep 2 08:13 install.sh
-rwxrwxrwx 1 user user 3542 Sep 2 08:13 Makefile*
root@debian[/home/user]>
please tell how-to compile and add realtek8187L chipset!!
Deopmen, after build make it
your building process have errors
root@debian[/home/user]>echo $? [13:45] 0 root@debian[/home/user]>echo $ [13:45] $ root@debian[/home/user]>
after building process
CC drivers/ata/libata-pmp.o
LD drivers/ata/libata.o
CC drivers/ata/ahci_platform.o
CC drivers/ata/libahci.o
CC drivers/ata/sw_ahci_platform.o
drivers/ata/sw_ahci_platform.c:42:29: fatal error: plat/sys_config.h: No such file or directory
compilation terminated.
make[2]: * [drivers/ata/sw_ahci_platform.o] Error 1
make[1]: * [drivers/ata] Error 2
make: *\ [drivers] Error 2
make: Leaving directory `/home/user/2/linux-sunxi'
root@debian[~user/2]>echo $?
2
download with git new kernel and run compile again:
root@debian[/home/user/1]>la [15:34]
total 92
drwxr-xr-x 3 root root 4096 Sep 3 15:33 ./
drwxr-xr-x 7 user user 4096 Sep 3 15:32 ../
-rw-r--r-- 1 root root 78650 Sep 3 15:33 config-cubian-base-sun7i-3.4
drwxr-xr-x 27 root root 4096 Sep 3 15:32 linux-sunxi/
root@debian[/home/user/1]>cp config-cubian-base-sun7i-3.4 linux-sunxi/.config [15:34]
root@debian[/home/user/1]>make -j2 -C ./linux-sunxi ARCH=arm CROSSCOMPILE=arm-none-linux-gnueabi- uImage modules [15:34]
make: Entering directory `/home/user/1/linux-sunxi'
HOSTLD scripts/kconfig/conf
scripts/kconfig/conf --silentoldconfig Kconfig
| | Generic Driver Options ---> | |
| | <> Connector - unified userspace <-> kernelspace linker ---> | |
| | < > Memory Technology Device (MTD) support ---> | |
| | < > Parallel port support ---> | |
| | [] Block devices ---> | |
| | Misc devices ---> | |
| | SCSI device support ---> | |
| | <> Serial ATA and Parallel ATA drivers ---> | |
| | [ ] Multiple devices driver support (RAID and LVM) ---> | |
| | < > Generic Target Core Mod (TCM) and ConfigFS Infrastructure ---> | |
| | [] Network device support ---> | |
| | [ ] ISDN support ---> | |
| | Input device support ---> | |
| | [] Gsensor support ---> | |
| | Character devices ---> | |
| | {} I2C support ---> | |
| | [] SPI support ---> | |
| | < > HSI support ---> | |
| | PPS support ---> | |
| | PTP clock support ---> | |
| | [] GPIO Support ---> | |
| | < > Dallas's 1-wire support ---> | |
| | <> Power supply class support ---> | |
| | --- Network device support | |
| | [_] Network core driver support | |
| |
.config - Linux/arm 3.4.43 Kernel Configuration
+----------------------------------------------------------+
| Do you wish to save your new configuration ? <ESC><ESC> |
| to continue. |
+----------------------------------------------------------+
| < Yes > < No > |
+----------------------------------------------------------+
#
#
* End of the configuration. * Execute 'make' to start the build or try 'make help'.
make: Leaving directory /home/user/1/linux-sunxi' root@debian[/home/user/1]>make -j2 -C ./linux-sunxi ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- uImage modules [15:36] make: Entering directory
/home/user/1/linux-sunxi'
scripts/kconfig/conf --silentoldconfig Kconfig
#
#
make: Leaving directory /home/user/1/linux-sunxi' make: Entering directory
/home/user/1/linux-sunxi'
WRAP arch/arm/include/generated/asm/auxvec.h
WRAP arch/arm/include/generated/asm/bitsperlong.h
WRAP arch/arm/include/generated/asm/cputime.h
WRAP arch/arm/include/generated/asm/emergency-restart.h
WRAP arch/arm/include/generated/asm/errno.h
WRAP arch/arm/include/generated/asm/ioctl.h
WRAP arch/arm/include/generated/asm/irq_regs.h
WRAP arch/arm/include/generated/asm/kdebug.h
WRAP arch/arm/include/generated/asm/local.h
WRAP arch/arm/include/generated/asm/local64.h
WRAP arch/arm/include/generated/asm/percpu.h
WRAP arch/arm/include/generated/asm/poll.h
WRAP arch/arm/include/generated/asm/resource.h
WRAP arch/arm/include/generated/asm/sections.h
WRAP arch/arm/include/generated/asm/siginfo.h
WRAP arch/arm/include/generated/asm/sizes.h
CHK include/linux/version.h
UPD include/linux/version.h
CHK include/generated/utsrelease.h
UPD include/generated/utsrelease.h
HOSTCC scripts/genksyms/genksyms.o
Generating include/generated/mach-types.h
CC kernel/bounds.s
GEN include/generated/bounds.h
CC arch/arm/kernel/asm-offsets.s
SHIPPED scripts/genksyms/lex.lex.c
SHIPPED scripts/genksyms/keywords.hash.c
SHIPPED scripts/genksyms/parse.tab.h
SHIPPED scripts/genksyms/parse.tab.c
HOSTCC scripts/genksyms/lex.lex.o
GEN include/generated/asm-offsets.h
CALL scripts/checksyscalls.sh
HOSTCC scripts/genksyms/parse.tab.o
HOSTLD scripts/genksyms/genksyms
CC scripts/mod/empty.o
HOSTCC scripts/kallsyms
HOSTCC scripts/mod/mk_elfconfig
MKELF scripts/mod/elfconfig.h
HOSTCC scripts/mod/file2alias.o
HOSTCC scripts/pnmtologo
HOSTCC scripts/conmakehash
HOSTCC scripts/mod/modpost.o
HOSTCC scripts/bin2c
HOSTCC scripts/mod/sumversion.o
HOSTLD scripts/mod/modpost
CC init/main.o
HOSTCC usr/gen_init_cpio
GEN usr/initramfs_data.cpio
AS usr/initramfs_data.o
LD usr/built-in.o
CC arch/arm/vfp/vfpmodule.o
CHK include/generated/compile.h
AS arch/arm/vfp/entry.o
AS arch/arm/vfp/vfphw.o
UPD include/generated/compile.h
CC init/do_mounts.o
CC arch/arm/vfp/vfpsingle.o
CC arch/arm/vfp/vfpdouble.o
CC init/do_mounts_rd.o
CC init/do_mounts_initrd.o
LD arch/arm/vfp/vfp.o
LD arch/arm/vfp/built-in.o
CC arch/arm/kernel/elf.o
CC init/initramfs.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/opcodes.o
CC init/calibrate.o
CC arch/arm/kernel/process.o
CC init/version.o
LD init/mounts.o
LD init/built-in.o
CC arch/arm/mm/dma-mapping.o
CC arch/arm/kernel/ptrace.o
CC arch/arm/mm/extable.o
CC arch/arm/kernel/return_address.o
CC arch/arm/mm/fault.o
arch/arm/kernel/return_address.c:62:2: warning: #warning "TODO: return_address should use unwind tables"
arch/arm/kernel/return_address.c:62:2: warning: #warning "TODO: return_address should use unwind tables"
CC arch/arm/kernel/sched_clock.o
CC arch/arm/kernel/setup.o
CC arch/arm/mm/init.o
CC arch/arm/kernel/signal.o
CC arch/arm/mm/iomap.o
CC arch/arm/mm/fault-armv.o
CC arch/arm/kernel/stacktrace.o
CC arch/arm/mm/flush.o
CC arch/arm/kernel/sys_arm.o
CC arch/arm/mm/idmap.o
CC arch/arm/kernel/time.o
CC arch/arm/kernel/traps.o
CC arch/arm/mm/ioremap.o
CC arch/arm/mm/mmap.o
CC arch/arm/kernel/cpuidle.o
CC arch/arm/kernel/armksyms.o
CC arch/arm/mm/pgd.o
CC arch/arm/mm/mmu.o
CC arch/arm/kernel/module.o
AS arch/arm/kernel/sleep.o
CC arch/arm/kernel/suspend.o
CC arch/arm/kernel/jump_label.o
CC arch/arm/kernel/insn.o
CC arch/arm/mm/vmregion.o
CC arch/arm/kernel/patch.o
CC arch/arm/kernel/machine_kexec.o
CC arch/arm/mm/proc-syms.o
AS arch/arm/kernel/relocate_kernel.o
CC arch/arm/mm/alignment.o
CC arch/arm/kernel/atags.o
CC arch/arm/kernel/unwind.o
CC arch/arm/mm/highmem.o
CC arch/arm/kernel/io.o
AS arch/arm/kernel/debug.o
AS arch/arm/kernel/head.o
CC arch/arm/kernel/init_task.o
AS arch/arm/mm/abort-ev5tj.o
AS arch/arm/mm/pabort-legacy.o
CC arch/arm/mm/copypage-v4wb.o
AS arch/arm/mm/tlb-v4wbi.o
AS arch/arm/mm/proc-arm926.o
LD arch/arm/mm/built-in.o
LDS arch/arm/kernel/vmlinux.lds
CC arch/arm/common/vic.o
LD arch/arm/kernel/built-in.o
LD arch/arm/net/built-in.o
CC arch/arm/mach-versatile/core.o
CC arch/arm/common/icst.o
CC arch/arm/mach-versatile/versatile_pb.o
CC arch/arm/common/timer-sp.o
LD arch/arm/mach-versatile/built-in.o
LD arch/arm/common/built-in.o
CC arch/arm/plat-versatile/clock.o
CC kernel/fork.o
CC arch/arm/plat-versatile/clcd.o
CC arch/arm/plat-versatile/fpga-irq.o
CC arch/arm/plat-versatile/leds.o
CC arch/arm/plat-versatile/sched-clock.o
LD arch/arm/plat-versatile/built-in.o
CC mm/filemap.o
CC kernel/exec_domain.o
CC kernel/panic.o
CC kernel/printk.o
CC mm/mempool.o
CC mm/oom_kill.o
CC kernel/cpu.o
CC kernel/exit.o
CC mm/fadvise.o
CC mm/maccess.o
CC mm/page_alloc.o
CC kernel/itimer.o
TIMEC kernel/timeconst.h
CC kernel/softirq.o
CC mm/page-writeback.o
CC kernel/resource.o
CC kernel/sysctl.o
CC mm/readahead.o
CC mm/swap.o
CC kernel/sysctl_binary.o
CC kernel/capability.o
CC mm/truncate.o
CC kernel/ptrace.o
CC mm/vmscan.o
mm/vmscan.c: In function 'debug_shrinker_show':
mm/vmscan.c:217:8: warning: unused variable 'name'
CC kernel/timer.o
CC kernel/user.o
CC kernel/signal.o
CC mm/shmem.o
CC kernel/sys.o
CC mm/prio_tree.o
CC mm/util.o
CC mm/mmzone.o
CC mm/vmstat.o
CC kernel/kmod.o
CC mm/backing-dev.o
CC kernel/workqueue.o
CC mm/page_isolation.o
CC mm/mm_init.o
CC mm/mmu_context.o
CC mm/percpu.o
CC kernel/pid.o
CC kernel/rcupdate.o
CC mm/fremap.o
CC kernel/extable.o
CC kernel/params.o
CC mm/highmem.o
CC mm/madvise.o
CC kernel/posix-timers.o
CC mm/memory.o
CC kernel/kthread.o
CC kernel/wait.o
CC kernel/kfifo.o
CC mm/mincore.o
CC kernel/sys_ni.o
CC kernel/posix-cpu-timers.o
CC mm/mlock.o
CC kernel/mutex.o
CC mm/mmap.o
CC kernel/hrtimer.o
CC kernel/rwsem.o
CC mm/mprotect.o
CC kernel/nsproxy.o
CC mm/mremap.o
CC kernel/srcu.o
CC kernel/semaphore.o
CC mm/msync.o
CC kernel/notifier.o
CC mm/rmap.o
CC kernel/ksysfs.o
CC kernel/cred.o
CC mm/vmalloc.o
CC kernel/async.o
CC kernel/range.o
CC kernel/groups.o
CC kernel/events/core.o
CC mm/pagewalk.o
CC mm/pgtable-generic.o
CC mm/process_vm_access.o
CC mm/init-mm.o
CC mm/bootmem.o
CC mm/memblock.o
CC mm/bounce.o
CC mm/page_io.o
CC kernel/events/ring_buffer.o
CC mm/swap_state.o
CC kernel/events/callchain.o
CC mm/swapfile.o
LD kernel/events/built-in.o
CC kernel/irq/irqdesc.o
CC kernel/irq/handle.o
CC kernel/irq/manage.o
CC mm/thrash.o
CC kernel/irq/spurious.o
CC mm/dmapool.o
CC kernel/irq/resend.o
CC kernel/irq/chip.o
CC mm/compaction.o
CC kernel/irq/dummychip.o
CC kernel/irq/devres.o
CC mm/ksm.o
CC kernel/irq/autoprobe.o
CC kernel/irq/irqdomain.o
CC kernel/irq/proc.o
CC mm/slub.o
CC kernel/irq/pm.o
LD kernel/irq/built-in.o
CC kernel/power/qos.o
CC kernel/power/main.o
CC kernel/power/console.o
kernel/power/console.c:15:12: warning: 'orig_fgconsole' defined but not used
kernel/power/console.c:15:28: warning: 'orig_kmsg' defined but not used
CC kernel/power/process.o
CC kernel/power/suspend.o
CC mm/migrate.o
CC kernel/power/poweroff.o
LD kernel/power/built-in.o
CC kernel/sched/core.o
CC mm/memcontrol.o
CC kernel/sched/clock.o
CC kernel/sched/idle_task.o
CC kernel/sched/fair.o
CC mm/page_cgroup.o
LD mm/built-in.o
CC fs/open.o
CC kernel/sched/rt.o
CC kernel/sched/stop_task.o
CC fs/read_write.o
CC kernel/sched/stats.o
CC kernel/sched/debug.o
CC fs/file_table.o
LD kernel/sched/built-in.o
CC kernel/time/timekeeping.o
CC fs/super.o
CC kernel/time/ntp.o
CC kernel/time/clocksource.o
CC fs/char_dev.o
CC kernel/time/jiffies.o
CC fs/stat.o
CC kernel/time/timer_list.o
CC kernel/time/timecompare.o
CC fs/exec.o
CC kernel/time/timeconv.o
CC kernel/time/posix-clock.o
CC kernel/time/alarmtimer.o
CC fs/pipe.o
CC kernel/time/clockevents.o
CC kernel/time/tick-common.o
CC kernel/time/tick-oneshot.o
CC fs/namei.o
CC kernel/time/tick-sched.o
CC kernel/time/timer_stats.o
LD kernel/time/built-in.o
CC kernel/freezer.o
CC kernel/stacktrace.o
CC kernel/futex.o
CC fs/fcntl.o
CC fs/ioctl.o
CC kernel/rtmutex.o
CC fs/readdir.o
CC kernel/up.o
CC kernel/uid16.o
CC fs/select.o
CC kernel/module.o
CC fs/fifo.o
CC fs/dcache.o
CC kernel/kallsyms.o
CC kernel/acct.o
CC fs/inode.o
CC kernel/kexec.o
CC kernel/cgroup.o
CC fs/attr.o
CC fs/bad_inode.o
CC fs/file.o
CC fs/filesystems.o
CC fs/namespace.o
CC kernel/cgroup_freezer.o
CC kernel/cpuset.o
CC fs/seq_file.o
CC fs/xattr.o
CC kernel/utsname.o
CC kernel/user_namespace.o
CC kernel/pid_namespace.o
CC fs/libfs.o
GZIP kernel/config_data.gz
CC kernel/res_counter.o
CC kernel/audit.o
CC fs/fs-writeback.o
CC fs/pnode.o
CC kernel/auditfilter.o
CC fs/drop_caches.o
CC fs/splice.o
CC kernel/hung_task.o
CC kernel/rcutiny.o
CC fs/sync.o
CC kernel/relay.o
CC fs/utimes.o
CC fs/stack.o
CC kernel/utsname_sysctl.o
CC fs/fs_struct.o
CC kernel/delayacct.o
CC fs/statfs.o
CC kernel/taskstats.o
CC fs/buffer.o
CC kernel/tsacct.o
CC kernel/elfcore.o
CC kernel/irq_work.o
CC kernel/cpu_pm.o
CC kernel/jump_label.o
CC kernel/time.o
CHK kernel/config_data.h
UPD kernel/config_data.h
CC kernel/configs.o
LD kernel/built-in.o
CC fs/bio.o
CC ipc/util.o
CC ipc/msgutil.o
CC ipc/msg.o
CC fs/block_dev.o
CC ipc/sem.o
CC fs/direct-io.o
CC ipc/shm.o
CC ipc/ipcns_notifier.o
CC ipc/syscall.o
CC ipc/ipc_sysctl.o
CC ipc/namespace.o
CC fs/mpage.o
LD ipc/built-in.o
CC security/keys/gc.o
CC security/keys/key.o
CC fs/ioprio.o
CC security/keys/keyring.o
CC fs/proc_namespace.o
CC fs/bio-integrity.o
CC security/keys/keyctl.o
CC fs/autofs4/init.o
CC fs/autofs4/inode.o
CC security/keys/permission.o
CC security/keys/process_keys.o
CC fs/autofs4/root.o
CC security/keys/request_key.o
CC fs/autofs4/symlink.o
CC security/keys/request_key_auth.o
CC fs/autofs4/waitq.o
CC security/keys/user_defined.o
CC security/keys/proc.o
CC fs/autofs4/expire.o
CC security/keys/sysctl.o
LD security/keys/built-in.o
CC security/commoncap.o
CC fs/autofs4/dev-ioctl.o
CC security/min_addr.o
LD fs/autofs4/autofs4.o
LD fs/autofs4/built-in.o
CC fs/cachefiles/bind.o
CC security/inode.o
CC fs/cachefiles/daemon.o
CC security/lsm_audit.o
CC fs/cachefiles/interface.o
CC security/device_cgroup.o
CC fs/cachefiles/key.o
LD security/built-in.o
CC crypto/api.o
CC fs/cachefiles/main.o
CC fs/cachefiles/namei.o
CC crypto/cipher.o
CC crypto/compress.o
CC fs/cachefiles/rdwr.o
CC crypto/algapi.o
CC fs/cachefiles/security.o
CC fs/cachefiles/xattr.o
CC crypto/scatterwalk.o
LD fs/cachefiles/cachefiles.o
LD fs/cachefiles/built-in.o
CC fs/cifs/cifsfs.o
CC crypto/proc.o
CC crypto/ablkcipher.o
CC fs/cifs/cifssmb.o
CC crypto/blkcipher.o
CC crypto/ahash.o
CC crypto/shash.o
CC crypto/algboss.o
CC crypto/testmgr.o
CC fs/cifs/cifs_debug.o
CC fs/cifs/connect.o
CC crypto/crypto_wq.o
LD crypto/crypto_algapi.o
CC crypto/aead.o
LD crypto/crypto_blkcipher.o
CC crypto/chainiv.o
CC crypto/eseqiv.o
CC crypto/seqiv.o
LD crypto/crypto_hash.o
CC crypto/pcompress.o
CC fs/cifs/dir.o
LD crypto/cryptomgr.o
CC crypto/hmac.o
CC crypto/md4.o
CC fs/cifs/file.o
CC crypto/md5.o
CC crypto/sha1_generic.o
CC crypto/gf128mul.o
CC crypto/ecb.o
CC crypto/cbc.o
CC fs/cifs/inode.o
CC crypto/des_generic.o
CC crypto/aes_generic.o
CC fs/cifs/link.o
CC fs/cifs/misc.o
CC crypto/arc4.o
CC crypto/deflate.o
CC crypto/zlib.o
CC fs/cifs/netmisc.o
CC crypto/crc32c.o
CC crypto/authenc.o
CC fs/cifs/smbencrypt.o
CC crypto/authencesn.o
CC fs/cifs/transport.o
CC crypto/lzo.o
CC crypto/rng.o
CC fs/cifs/asn1.o
CC crypto/krng.o
CC [M] crypto/sha256_generic.o
CC fs/cifs/cifs_unicode.o
CC fs/cifs/nterr.o
CC fs/cifs/xattr.o
CC [M] crypto/sha512_generic.o
CC fs/cifs/cifsencrypt.o
CC [M] crypto/pcbc.o
CC fs/cifs/readdir.o
CC [M] crypto/fcrypt.o
LD crypto/crypto.o
LD crypto/built-in.o
CC block/elevator.o
CC fs/cifs/ioctl.o
CC fs/cifs/sess.o
CC block/blk-core.o
CC fs/cifs/export.o
CC fs/cifs/dns_resolve.o
CC fs/cifs/cifs_dfs_ref.o
CC block/blk-tag.o
LD fs/cifs/cifs.o
LD fs/cifs/built-in.o
CC fs/configfs/inode.o
CC block/blk-sysfs.o
CC fs/configfs/file.o
CC block/blk-flush.o
CC fs/configfs/dir.o
CC block/blk-settings.o
CC fs/configfs/symlink.o
CC block/blk-ioc.o
CC fs/configfs/mount.o
CC fs/configfs/item.o
CC block/blk-map.o
LD fs/configfs/configfs.o
LD fs/configfs/built-in.o
CC fs/debugfs/inode.o
CC block/blk-exec.o
CC fs/debugfs/file.o
CC block/blk-merge.o
LD fs/debugfs/debugfs.o
LD fs/debugfs/built-in.o
CC fs/devpts/inode.o
CC block/blk-softirq.o
LD fs/devpts/devpts.o
LD fs/devpts/built-in.o
LD fs/exofs/built-in.o
LD fs/exportfs/built-in.o
CC [M] fs/exportfs/expfs.o
CC block/blk-timeout.o
LD [M] fs/exportfs/exportfs.o
CC fs/ext2/balloc.o
CC block/blk-iopoll.o
CC block/blk-lib.o
CC fs/ext2/dir.o
CC block/ioctl.o
CC fs/ext2/file.o
CC block/genhd.o
CC fs/ext2/ialloc.o
CC fs/ext2/inode.o
CC block/scsi_ioctl.o
CC fs/ext2/ioctl.o
CC block/partition-generic.o
CC fs/ext2/namei.o
CC fs/ext2/super.o
CC block/partitions/check.o
CC block/partitions/amiga.o
CC block/partitions/mac.o
CC fs/ext2/symlink.o
LD fs/ext2/ext2.o
LD fs/ext2/built-in.o
CC fs/ext3/balloc.o
CC block/partitions/msdos.o
CC block/partitions/osf.o
CC fs/ext3/bitmap.o
CC block/partitions/sgi.o
CC fs/ext3/dir.o
CC block/partitions/sun.o
CC fs/ext3/file.o
CC block/partitions/efi.o
CC fs/ext3/fsync.o
CC fs/ext3/ialloc.o
CC block/partitions/karma.o
LD block/partitions/built-in.o
CC block/bsg.o
CC fs/ext3/inode.o
CC block/bsg-lib.o
CC block/blk-cgroup.o
CC fs/ext3/ioctl.o
CC fs/ext3/namei.o
CC block/noop-iosched.o
CC block/deadline-iosched.o
CC block/cfq-iosched.o
CC fs/ext3/super.o
CC fs/ext3/symlink.o
CC block/blk-integrity.o
CC fs/ext3/hash.o
LD block/built-in.o
CC fs/ext3/resize.o
CC drivers/amba/bus.o
LD drivers/amba/built-in.o
CC drivers/ata/libata-core.o
CC fs/ext3/ext3_jbd.o
CC fs/ext3/xattr.o
CC fs/ext3/xattr_user.o
CC fs/ext3/xattr_trusted.o
LD fs/ext3/ext3.o
LD fs/ext3/built-in.o
CC fs/ext4/balloc.o
CC fs/ext4/bitmap.o
CC drivers/ata/libata-scsi.o
CC fs/ext4/dir.o
CC fs/ext4/file.o
CC fs/ext4/fsync.o
CC fs/ext4/ialloc.o
CC drivers/ata/libata-eh.o
CC fs/ext4/inode.o
CC drivers/ata/libata-transport.o
CC drivers/ata/libata-sff.o
CC fs/ext4/page-io.o
CC fs/ext4/ioctl.o
CC drivers/ata/libata-pmp.o
CC fs/ext4/namei.o
CC drivers/ata/ahci_platform.o
CC drivers/ata/libahci.o
CC fs/ext4/super.o
CC drivers/ata/sw_ahci_platform.o
drivers/ata/sw_ahci_platform.c:42:29: fatal error: plat/sys_config.h: No such file or directory
compilation terminated.
make[2]: * [drivers/ata/sw_ahci_platform.o] Error 1
make[1]: * [drivers/ata] Error 2
make: * [drivers] Error 2
make: * Waiting for unfinished jobs....
CC fs/ext4/symlink.o
CC fs/ext4/hash.o
CC fs/ext4/resize.o
fs/ext4/resize.c: In function 'ext4_update_super':
fs/ext4/resize.c:1153:9: warning: unused variable 'ret'
CC fs/ext4/extents.o
CC fs/ext4/ext4_jbd2.o
CC fs/ext4/migrate.o
CC fs/ext4/mballoc.o
fs/ext4/extents.c: In function 'ext4_ext_map_blocks':
fs/ext4/extents.c:2094:24: warning: 'cex$ec_start' may be used uninitialized in this function
fs/ext4/extents.c:2094:24: warning: 'cex$ec_block' may be used uninitialized in this function
fs/ext4/extents.c:2094:24: warning: 'cex$ec_len' may be used uninitialized in this function
CC fs/ext4/block_validity.o
CC fs/ext4/move_extent.o
CC fs/ext4/mmp.o
CC fs/ext4/indirect.o
CC fs/ext4/xattr.o
CC fs/ext4/xattr_user.o
CC fs/ext4/xattr_trusted.o
CC fs/ext4/acl.o
CC fs/ext4/xattr_security.o
CC fs/fat/cache.o
LD fs/ext4/ext4.o
LD fs/ext4/built-in.o
CC fs/fscache/cache.o
CC fs/fat/dir.o
CC fs/fscache/cookie.o
CC fs/fscache/fsdef.o
CC fs/fat/fatent.o
CC fs/fscache/main.o
CC fs/fscache/netfs.o
CC fs/fscache/object.o
CC fs/fat/file.o
CC fs/fat/inode.o
CC fs/fscache/operation.o
CC fs/fscache/page.o
CC fs/fat/misc.o
CC fs/fat/namei_msdos.o
CC fs/fscache/proc.o
CC fs/fscache/stats.o
CC fs/fat/namei_vfat.o
LD fs/fscache/fscache.o
LD fs/fscache/built-in.o
CC fs/fuse/dev.o
LD fs/fat/fat.o
LD fs/fat/vfat.o
LD fs/fat/msdos.o
LD fs/fat/built-in.o
CC fs/hfs/bitmap.o
CC fs/hfs/bfind.o
CC fs/hfs/bnode.o
CC fs/fuse/dir.o
CC fs/hfs/brec.o
CC fs/fuse/file.o
CC fs/hfs/btree.o
CC fs/hfs/catalog.o
CC fs/hfs/dir.o
CC fs/hfs/extent.o
CC fs/fuse/inode.o
CC fs/hfs/inode.o
CC fs/hfs/attr.o
CC fs/fuse/control.o
CC fs/hfs/mdb.o
CC fs/fuse/cuse.o
CC fs/hfs/part_tbl.o
LD fs/fuse/fuse.o
LD fs/fuse/built-in.o
CC fs/hfsplus/super.o
CC fs/hfs/string.o
CC fs/hfs/super.o
CC fs/hfsplus/options.o
CC fs/hfs/sysdep.o
CC fs/hfsplus/inode.o
CC fs/hfs/trans.o
LD fs/hfs/hfs.o
LD fs/hfs/built-in.o
CC fs/isofs/namei.o
CC fs/isofs/inode.o
CC fs/hfsplus/ioctl.o
CC fs/hfsplus/extents.o
CC fs/isofs/dir.o
CC fs/isofs/util.o
CC fs/hfsplus/catalog.o
CC fs/isofs/rock.o
CC fs/hfsplus/dir.o
CC fs/isofs/export.o
CC fs/isofs/joliet.o
CC fs/hfsplus/btree.o
CC fs/isofs/compress.o
CC fs/hfsplus/bnode.o
LD fs/isofs/isofs.o
LD fs/isofs/built-in.o
CC fs/jbd/transaction.o
CC fs/hfsplus/brec.o
CC fs/jbd/commit.o
CC fs/hfsplus/bfind.o
CC fs/hfsplus/tables.o
CC fs/hfsplus/unicode.o
CC fs/jbd/recovery.o
CC fs/jbd/checkpoint.o
CC fs/hfsplus/wrapper.o
CC fs/hfsplus/bitmap.o
CC fs/jbd/revoke.o
CC fs/hfsplus/part_tbl.o
CC fs/jbd/journal.o
LD fs/hfsplus/hfsplus.o
LD fs/hfsplus/built-in.o
CC fs/jbd2/transaction.o
LD fs/jbd/jbd.o
LD fs/jbd/built-in.o
CC fs/lockd/clntlock.o
CC fs/jbd2/commit.o
CC fs/lockd/clntproc.o
CC fs/jbd2/recovery.o
CC fs/jbd2/checkpoint.o
CC fs/lockd/clntxdr.o
CC fs/jbd2/revoke.o
CC fs/lockd/host.o
CC fs/jbd2/journal.o
CC fs/lockd/svc.o
CC fs/lockd/svclock.o
LD fs/jbd2/jbd2.o
LD fs/jbd2/built-in.o
CC fs/nfs/client.o
CC fs/lockd/svcshare.o
CC fs/lockd/svcproc.o
CC fs/lockd/svcsubs.o
CC fs/nfs/dir.o
CC fs/lockd/mon.o
CC fs/lockd/xdr.o
CC fs/nfs/file.o
CC fs/lockd/grace.o
CC fs/nfs/getroot.o
CC fs/lockd/clnt4xdr.o
CC fs/nfs/inode.o
CC fs/lockd/xdr4.o
CC fs/lockd/svc4proc.o
LD fs/lockd/lockd.o
LD fs/lockd/built-in.o
CC fs/nfs_common/nfsacl.o
CC fs/nfs/super.o
LD fs/nfs_common/nfs_acl.o
LD fs/nfs_common/built-in.o
LD fs/nfsd/built-in.o
CC [M] fs/nfsd/nfssvc.o
CC [M] fs/nfsd/nfsctl.o
CC fs/nfs/nfs2xdr.o
CC [M] fs/nfsd/nfsproc.o
CC [M] fs/nfsd/nfsfh.o
CC fs/nfs/direct.o
CC [M] fs/nfsd/vfs.o
CC fs/nfs/pagelist.o
CC fs/nfs/proc.o
CC [M] fs/nfsd/export.o
CC fs/nfs/read.o
CC [M] fs/nfsd/auth.o
CC [M] fs/nfsd/lockd.o
CC [M] fs/nfsd/nfscache.o
CC fs/nfs/symlink.o
CC [M] fs/nfsd/nfsxdr.o
CC fs/nfs/unlink.o
CC [M] fs/nfsd/stats.o
CC [M] fs/nfsd/fault_inject.o
CC fs/nfs/write.o
CC [M] fs/nfsd/nfs2acl.o
CC [M] fs/nfsd/nfs3proc.o
CC [M] fs/nfsd/nfs3xdr.o
CC fs/nfs/namespace.o
CC [M] fs/nfsd/nfs3acl.o
CC fs/nfs/mount_clnt.o
CC [M] fs/nfsd/nfs4proc.o
CC fs/nfs/dns_resolve.o
CC [M] fs/nfsd/nfs4xdr.o
CC fs/nfs/cache_lib.o
CC fs/nfs/nfsroot.o
CC fs/nfs/nfs3proc.o
CC fs/nfs/nfs3xdr.o
CC [M] fs/nfsd/nfs4state.o
CC fs/nfs/nfs3acl.o
CC fs/nfs/nfs4proc.o
CC [M] fs/nfsd/nfs4idmap.o
CC [M] fs/nfsd/nfs4acl.o
CC fs/nfs/nfs4xdr.o
CC [M] fs/nfsd/nfs4callback.o
CC [M] fs/nfsd/nfs4recover.o
LD [M] fs/nfsd/nfsd.o
CC fs/nls/nls_base.o
CC fs/nls/nls_cp437.o
CC fs/nls/nls_cp932.o
CC fs/nls/nls_euc-jp.o
CC fs/nls/nls_cp936.o
CC fs/nls/nls_cp949.o
CC fs/nfs/nfs4state.o
CC fs/nls/nls_cp950.o
CC fs/nls/nls_ascii.o
CC fs/nls/nls_iso8859-1.o
CC fs/nls/nls_utf8.o
LD fs/nls/built-in.o
CC fs/notify/fsnotify.o
CC fs/nfs/nfs4renewd.o
CC fs/notify/notification.o
CC fs/nfs/delegation.o
CC fs/notify/group.o
CC fs/notify/inode_mark.o
CC fs/notify/mark.o
CC fs/nfs/idmap.o
CC fs/notify/vfsmount_mark.o
CC fs/notify/dnotify/dnotify.o
CC fs/nfs/callback.o
LD fs/notify/dnotify/built-in.o
LD fs/notify/fanotify/built-in.o
CC fs/notify/inotify/inotify_fsnotify.o
CC fs/notify/inotify/inotify_user.o
CC fs/nfs/callback_xdr.o
LD fs/notify/inotify/built-in.o
LD fs/notify/built-in.o
CC fs/ntfs/aops.o
CC fs/nfs/callback_proc.o
CC fs/ntfs/attrib.o
CC fs/nfs/nfs4namespace.o
CC fs/nfs/pnfs.o
CC fs/ntfs/collate.o
CC fs/ntfs/compress.o
CC fs/nfs/pnfs_dev.o
CC fs/ntfs/debug.o
CC fs/ntfs/dir.o
CC fs/nfs/sysctl.o
CC fs/nfs/nfs4filelayout.o
CC fs/ntfs/file.o
CC fs/nfs/nfs4filelayoutdev.o
LD fs/nfs/nfs.o
LD fs/nfs/nfs_layout_nfsv41_files.o
LD fs/nfs/built-in.o
CC fs/proc/mmu.o
CC fs/ntfs/index.o
CC fs/proc/task_mmu.o
CC fs/ntfs/inode.o
CC fs/proc/inode.o
CC fs/proc/root.o
CC fs/proc/base.o
CC fs/ntfs/mft.o
CC fs/proc/generic.o
CC fs/ntfs/mst.o
CC fs/proc/array.o
CC fs/ntfs/namei.o
CC fs/ntfs/runlist.o
CC fs/proc/proc_tty.o
CC fs/proc/cmdline.o
CC fs/proc/consoles.o
CC fs/proc/cpuinfo.o
CC fs/proc/devices.o
CC fs/proc/interrupts.o
CC fs/proc/loadavg.o
CC fs/ntfs/super.o
CC fs/proc/meminfo.o
CC fs/proc/stat.o
CC fs/proc/uptime.o
CC fs/proc/version.o
CC fs/proc/softirqs.o
CC fs/proc/namespaces.o
CC fs/ntfs/sysctl.o
CC fs/ntfs/unistr.o
CC fs/proc/proc_sysctl.o
CC fs/ntfs/upcase.o
CC fs/ntfs/bitmap.o
CC fs/ntfs/lcnalloc.o
CC fs/proc/proc_net.o
CC fs/ntfs/logfile.o
CC fs/proc/kmsg.o
CC fs/proc/page.o
CC fs/ntfs/quota.o
CC fs/ntfs/usnjrnl.o
LD fs/proc/proc.o
LD fs/proc/built-in.o
CC fs/quota/dquot.o
LD fs/ntfs/ntfs.o
LD fs/ntfs/built-in.o
CC fs/ramfs/inode.o
CC fs/ramfs/file-mmu.o
LD fs/ramfs/ramfs.o
LD fs/ramfs/built-in.o
CC fs/reiserfs/bitmap.o
CC fs/reiserfs/do_balan.o
CC fs/quota/quota_v2.o
CC fs/quota/quota_tree.o
CC fs/quota/quota.o
CC fs/reiserfs/namei.o
CC fs/quota/netlink.o
LD fs/quota/built-in.o
CC fs/sysfs/inode.o
CC fs/reiserfs/inode.o
CC fs/sysfs/file.o
CC fs/sysfs/dir.o
CC fs/sysfs/symlink.o
CC fs/sysfs/mount.o
CC fs/reiserfs/file.o
CC fs/sysfs/bin.o
CC fs/reiserfs/dir.o
CC fs/sysfs/group.o
LD fs/sysfs/built-in.o
CC fs/reiserfs/fix_node.o
CC fs/udf/balloc.o
CC fs/udf/dir.o
CC fs/udf/file.o
fs/reiserfs/fix_node.c: In function 'fix_nodes':
fs/reiserfs/fix_node.c:2463:20: warning: array subscript is above array bounds
fs/reiserfs/fix_node.c:2470:19: warning: array subscript is above array bounds
CC fs/udf/ialloc.o
CC fs/reiserfs/super.o
CC fs/udf/inode.o
CC fs/reiserfs/prints.o
CC fs/udf/lowlevel.o
CC fs/udf/namei.o
CC fs/reiserfs/objectid.o
CC fs/reiserfs/lbalance.o
CC fs/udf/partition.o
CC fs/reiserfs/ibalance.o
CC fs/udf/super.o
CC fs/reiserfs/stree.o
CC fs/udf/truncate.o
CC fs/udf/symlink.o
CC fs/udf/directory.o
CC fs/reiserfs/hashes.o
CC fs/udf/misc.o
CC fs/reiserfs/tail_conversion.o
CC fs/udf/udftime.o
CC fs/reiserfs/journal.o
CC fs/udf/unicode.o
LD fs/udf/udf.o
LD fs/udf/built-in.o
CC fs/eventpoll.o
CC fs/anon_inodes.o
CC fs/signalfd.o
CC fs/timerfd.o
CC fs/reiserfs/resize.o
CC fs/eventfd.o
CC fs/reiserfs/item_ops.o
CC fs/aio.o
CC fs/reiserfs/ioctl.o
CC fs/reiserfs/xattr.o
CC fs/reiserfs/lock.o
LD fs/reiserfs/reiserfs.o
LD fs/reiserfs/built-in.o
CC fs/locks.o
CC fs/binfmt_misc.o
CC fs/binfmt_script.o
CC fs/binfmt_elf.o
CC fs/mbcache.o
CC fs/posix_acl.o
CC fs/xattr_acl.o
CC fs/generic_acl.o
LD fs/built-in.o
make: Leaving directory `/home/user/1/linux-sunxi'
root@debian[/home/user/1]>echo $? [15:42]
2
root@debian[/home/user/1]>echo $? [15:43]
0
root@debian[/home/user/1]>ls -laF [15:43]
total 92
drwxr-xr-x 3 root root 4096 Sep 3 15:33 ./
drwxr-xr-x 7 user user 4096 Sep 3 15:32 ../
-rw-r--r-- 1 root root 78650 Sep 3 15:33 config-cubian-base-sun7i-3.4
drwxr-xr-x 28 root root 4096 Sep 3 15:36 linux-sunxi/
root@debian[/home/user/1]>du -hs . [15:43]
2.0G .
root@debian[/home/user/1]>la /lib/modules [15:44]
total 12
drwxr-xr-x 3 root root 4096 Sep 2 08:11 ./
drwxr-xr-x 13 root root 4096 Sep 1 15:19 ../
drwxr-xr-x 3 root root 4096 Sep 1 15:05 3.2.0-4-686-pae/
root@debian[/home/user/1]>la /boot [15:44]
total 14048
drwxr-xr-x 3 root root 4096 Sep 1 15:07 ./
drwxr-xr-x 22 root root 4096 Sep 1 14:58 ../
-rw-r--r-- 1 root root 134580 Aug 13 14:43 config-3.2.0-4-686-pae
drwxr-xr-x 3 root root 12288 Sep 1 15:09 grub/
-rw-r--r-- 1 root root 9865778 Sep 1 15:05 initrd.img-3.2.0-4-686-pae
-rw-r--r-- 1 root root 1664706 Aug 13 14:43 System.map-3.2.0-4-686-pae
-rw-r--r-- 1 root root 2693824 Aug 13 14:39 vmlinuz-3.2.0-4-686-pae
root@debian[/home/user/1]>la ./linux-sunxi/arch/arm/boot/ [15:44]
total 32
drwxr-xr-x 5 root root 4096 Sep 3 15:26 ./
drwxr-xr-x 90 root root 4096 Sep 3 15:26 ../
drwxr-xr-x 2 root root 4096 Sep 3 15:26 bootp/
drwxr-xr-x 2 root root 4096 Sep 3 15:26 compressed/
drwxr-xr-x 3 root root 4096 Sep 3 15:26 dts/
-rw-r--r-- 1 root root 56 Sep 3 15:26 .gitignore
-rw-r--r-- 1 root root 1274 Sep 3 15:26 install.sh
-rw-r--r-- 1 root root 3641 Sep 3 15:26 Makefile
root@debian[/home/user/1]>la ./linux-sunxi/arch/arm/boot/compressed [15:44]
total 156
drwxr-xr-x 2 root root 4096 Sep 3 15:26 ./
drwxr-xr-x 5 root root 4096 Sep 3 15:26 ../
-rw-r--r-- 1 root root 2700 Sep 3 15:26 atags_to_fdt.c
-rw-r--r-- 1 root root 304 Sep 3 15:26 big-endian.S
-rw-r--r-- 1 root root 1396 Sep 3 15:26 decompress.c
-rw-r--r-- 1 root root 186 Sep 3 15:26 .gitignore
-rw-r--r-- 1 root root 30880 Sep 3 15:26 head.S
-rw-r--r-- 1 root root 1238 Sep 3 15:26 head-sa1100.S
-rw-r--r-- 1 root root 3537 Sep 3 15:26 head-shark.S
-rw-r--r-- 1 root root 3564 Sep 3 15:26 head-sharpsl.S
-rw-r--r-- 1 root root 2322 Sep 3 15:26 head-shmobile.S
-rw-r--r-- 1 root root 810 Sep 3 15:26 head-vt8500.S
-rw-r--r-- 1 root root 992 Sep 3 15:26 head-xscale.S
-rw-r--r-- 1 root root 380 Sep 3 15:26 libfdt_env.h
-rw-r--r-- 1 root root 2868 Sep 3 15:26 ll_char_wr.S
-rw-r--r-- 1 root root 5534 Sep 3 15:26 Makefile
-rw-r--r-- 1 root root 2954 Sep 3 15:26 misc.c
-rw-r--r-- 1 root root 2561 Sep 3 15:26 mmcif-sh7372.c
-rw-r--r-- 1 root root 5289 Sep 3 15:26 ofw-shark.c
-rw-r--r-- 1 root root 145 Sep 3 15:26 piggy.gzip.S
-rw-r--r-- 1 root root 145 Sep 3 15:26 piggy.lzma.S
-rw-r--r-- 1 root root 144 Sep 3 15:26 piggy.lzo.S
-rw-r--r-- 1 root root 147 Sep 3 15:26 piggy.xzkern.S
-rw-r--r-- 1 root root 2717 Sep 3 15:26 sdhi-sh7372.c
-rw-r--r-- 1 root root 10373 Sep 3 15:26 sdhi-shmobile.c
-rw-r--r-- 1 root root 265 Sep 3 15:26 sdhi-shmobile.h
-rw-r--r-- 1 root root 1885 Sep 3 15:26 string.c
-rw-r--r-- 1 root root 1639 Sep 3 15:26 vmlinux.lds.in
root@debian[/home/user/1]> [15:45]
then run compile again
root@debian[/home/user/1]>make -j2 -C ./linux-sunxi ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- uImage modules [15:45]
make: Entering directory /home/user/1/linux-sunxi' 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
CHK kernel/config_data.h
LD drivers/ata/libata.o
CC drivers/ata/sw_ahci_platform.o
drivers/ata/sw_ahci_platform.c:42:29: fatal error: plat/sys_config.h: No such file or directory
compilation terminated.
make[2]: * [drivers/ata/sw_ahci_platform.o] Error 1
make[1]: * [drivers/ata] Error 2
make: * [drivers] Error 2
make: * Waiting for unfinished jobs....
make: Leaving directory `/home/user/1/linux-sunxi'
iam swith off many redundant item now this bug in compile:
CC init/version.o
LD init/built-in.o
LD .tmp_vmlinux1
arch/arm/common/built-in.o: In function sp804_get_clock_rate': /home/user/1/linux-sunxi/arch/arm/common/timer-sp.c:38: undefined reference to
clk_get_sys'
/home/user/1/linux-sunxi/arch/arm/common/timer-sp.c:56: undefined reference to clk_put' /home/user/1/linux-sunxi/arch/arm/common/timer-sp.c:65: undefined reference to
clk_put'
arch/arm/mach-versatile/built-in.o: In function versatile_init_early': /home/user/1/linux-sunxi/arch/arm/mach-versatile/core.c:763: undefined reference to
clkdev_add_table'
drivers/built-in.o: In function amba_get_enable_pclk': /home/user/1/linux-sunxi/drivers/amba/bus.c:324: undefined reference to
clk_get'
/home/user/1/linux-sunxi/drivers/amba/bus.c:341: undefined reference to clk_put' drivers/built-in.o: In function
amba_put_disable_pclk':
/home/user/1/linux-sunxi/drivers/amba/bus.c:353: undefined reference to clk_put' drivers/built-in.o: In function
enable_clock':
/home/user/1/linux-sunxi/drivers/base/power/clock_ops.c:398: undefined reference to clk_get' /home/user/1/linux-sunxi/drivers/base/power/clock_ops.c:401: undefined reference to
clk_put'
drivers/built-in.o: In function disable_clock': /home/user/1/linux-sunxi/drivers/base/power/clock_ops.c:415: undefined reference to
clk_get'
/home/user/1/linux-sunxi/drivers/base/power/clock_ops.c:418: undefined reference to clk_put' drivers/built-in.o: In function
mmc_io_rw_extended':
/home/user/1/linux-sunxi/drivers/mmc/core/sdio_ops.c:185: undefined reference to `sunximmc_check_r1_ready'
make: *\ [.tmp_vmlinux1] Error 1
Hi scr43m,
Could you tell me how to "Copy and install kernel-rootfs.tar.gz, kernel-vfat.tar.gz to cubie" ? I wonder if I just decompress them or after decompressing, install it. But I don't know how to install ? .
@diemlt4 you should copy it in compressed format and decompress on cubie of course, so kernel-rootfs will contain the kernel modules and headers and kernel-vfat includes kernel itself.
Install packages for kernel build
Fetch toolchain for cubie (ps.: i was putting files under /cubie/)
Switch to 3.3.0+
Get a20 kernel config
Packaging /boot and /lib/modules
Copy and install kernel-rootfs.tar.gz, kernel-vfat.tar.gz to cubie.