검색결과 리스트
글
루트 파일 시스템 busybox 구성하기(nfs)
출처 : http://blog.naver.com/PostView.nhn?blogId=bright81&logNo=40123098033
1 boot cmd( at uboot )
#setenv bootargs console=ttySAC2,115200 user_debug=31 root=/dev/nfs rw nfsroot=192.168.1.15:/home/da/nfsroot ip=192.168.1.85:192.168.1.15:192.168.1.1:255.255.255.0::eth0:off init=/linuxrc
#saveenv
2. busybox configration(version 1.12.0)
make menuconfig
2.1 Networking Utility --> RPC Support 를 체크
busybox Settings -> General Configuration -> RPC Support 를 체크해야만 NFS MOUNT Option 을 확인할 수 있다.
2.2 Linux System Utilities -> mount -> Support mounting NFS file systems Check
2.3 compile
# make CONFIG_PREFIX=../_inst install
3. copy file to nfsroot directory
# cp -a _inst/* ../../nfsroot/.
4. error
[ 5.697951] request_module: runaway loop modprobe binfmt-464c
[ 5.702242] request_module: runaway loop modprobe binfmt-464c
[ 5.708640] request_module: runaway loop modprobe binfmt-464c
---> /bin/busybox file이 x86 기반으로 컴파일됨
---> Make file 수정
CROSS_COMPILE ?= arm-none-linux-gnueabi-
5. ok 결과
성공!!!!!
메이크 파일 잘못 수정해서 컴파일이 x86으로 되어 삽질 하루 하고 Arm설정,컴파일 설정 다시 하고 성공!!!! 수고
'os > linux' 카테고리의 다른 글
SCP 명령 (0) | 2013.09.05 |
---|---|
password change (0) | 2013.09.04 |
디바이스 드라이버 등록 과정(2) (0) | 2013.01.08 |
디바이스 드라이버 등록 과정(부트부터) (0) | 2013.01.07 |