1.修改Makefile:ARCH ?= armCROSS_COMPILE ?= arm-linux-2.修改串口时钟:在/arch/arm/mach-s3c24xx/mach-smdk2440.c改为12Ms3c24xx_init_clocks(12000000);/* by zhutao */3...
分类:
系统相关 时间:
2014-10-09 21:51:47
阅读次数:
279
mount/dev/sdx/mnt/gentoo
mount-tprocnone/mnt/gentoo/proc/
或
mount-tprocproc/mnt/gentoo/proc/
mount--rbind/sys/mnt/gentoo/sys/
mount--rbind/dev/mnt/gentoo/dev/
mount--rbind/tmp/mnt/gentoo/tmp(gentoo)
可选:mount--rbind/run/mnt/arch/run(arch)
DNS:cp/etc/reso..
分类:
其他好文 时间:
2014-10-09 16:06:18
阅读次数:
172
arch=$(uname-m)if["$arch"=="i686"-o"$arch"=="i386"-o"$arch"=="i486"-o"$arch"=="i586"];thenflag=1elseflag=0fiecho"InstallingOpenCV2.4.2"mkdirOpenCVcdOpenCVecho"Removinganypre-installedffmpegandx264"sudoapt-getremoveffmpegx264libx264-devecho"InstallingDepende..
分类:
系统相关 时间:
2014-10-04 04:24:46
阅读次数:
382
转载自奶牛博客本来感觉Arch Linux用个国内的源就很给力了,可是到了学校移动的cmcc-edu超级不稳定,而且单线程速度就二三十k,无奈,开多线程下载.在Ubuntu下面可以用apt-fast来做加速,arch下面加速的方式很多,因为arch的pacman.conf文件提供了直接调用外部下载程...
分类:
编程语言 时间:
2014-10-02 03:40:32
阅读次数:
304
内核版本 : linux-2.6.22.6内核编译的简单说明(不完全表达)1、/work/jz2440/kernel/linux-2.6.22.6/arch/arm/configs# ls |grep s3c*s3c2410_defconfig #cd /work/jz2440/kernel/li....
分类:
其他好文 时间:
2014-09-28 17:32:54
阅读次数:
187
系统信息 arch 显示机器的处理器架构(1) uname -m 显示机器的处理器架构(2) uname -r 显示正在使用的内核版本 dmidecode -q 显示硬件系统部件 - (SMBIOS / DMI) hdparm -i /dev/hda 罗列一个磁盘的架构特性 hdparm -tT /...
分类:
系统相关 时间:
2014-09-27 11:53:09
阅读次数:
313
error: No architectures to compile for (ONLY_ACTIVE_ARCH=YES, active arch=x86_64, VALID_ARCHS=i386).解决方法:set the "Build Active Architecture Only" and ...
分类:
其他好文 时间:
2014-09-26 23:28:08
阅读次数:
233
这里将介绍Arch Linux使用问题的解决方法,在这里拿出来和大家分享一下Linux目前较适用于小型的网络,Arch Linux 是个针对 i686i686/x86-64 优化的 Linux 发行版。Arch Linux基本理念是快速、轻巧、弹性与简单。它只安装最小化的基本系统,用户可以根据自己的...
分类:
系统相关 时间:
2014-09-26 18:45:28
阅读次数:
235
mkimage -A arm -O linux -T kernel -C none -a 30007fc0 -e 30007fc0 -n uImage -d /work/jz2440/kernel/linux-2.6.22.6/arch/arm/boot/zImage uImage我的内核目录:/....
分类:
其他好文 时间:
2014-09-26 13:26:48
阅读次数:
241
内核文件 arch/x86/kernel/syscall_64.c 文件中包含了一个头文件 arch/x86/include/asm/asm-offset.h ,这个文件在内核构建之初是不存在的,是在构建过程中生成的。下面我们来看看它是如何生成的。1.include/linux/kbuild.h#d...
分类:
其他好文 时间:
2014-09-25 20:18:57
阅读次数:
220