안드로이드 루트 파일시스템에서
/etc/ 폴더가 보이지 않습니다만, 부팅시에/system/etc/ 를 /etc/로 마운팅 합니다.
때문에 필요한 파일들은 /system/폴더 아래 쪽에 보면 됩니다.
그리고 네트웍은 기본 고정 IP로 설정되어 있는데,
192.168.1.230으로 잡혀있습니다.
이설정은 /system/etc/shine/net.conf 파일에 있습니다.(부팅 후는 /etc/shine/net.conf)
여기서 IP,GW,DNS를 재설정하면 됩니다.
그리고 나서 supervivi에서 아래와 같이 nfs를 설정해 주었습니다.
param set linux_cmd_line "console=ttySAC0 root=/dev/nfs nfsroot=192.168.11.103:/opt/nfs/fs ip=192.168.11.200:192.168.11.103:192.168.11.1:255.255.255.0:ubuntu:eth0:off"
그런데
IP-Config: Complete:device=eth0, addr=192.168.11.200, mask=255.255.255.0, gw=192.168.11.1,host=ubuntu, domain=, nis-domain=(none),bootserver=192.168.11.103, rootserver=192.168.11.103, rootpath=Looking up port of RPC 100003/2 on 192.168.11.103eth0: link up, 100Mbps, full-duplex, lpa 0xC5E1Looking up port of RPC 100005/1 on 192.168.11.103VFS: Mounted root (nfs filesystem).Freeing init memory: 116KWarning: unable to open an initial console.
라고 나오고 난 뒤, 멈춰버리는군요.
"Warning:" 부분은 MTD로 부팅해도 나오는 메시지이고,
이 다음에는 터치스크린 calibration으로 들어가는데, 멈춰있습니다.
현재 확인 중입니다.
일단 MTD로 부팅후,
/ # mount -t nfs 192.168.11.103:/opt/nfs/fs/ /mnt/
로 수동 마운트 시켜봤습니다.
그런데, nfs마운트가 안되는군요.
원본 소스자체가 문제가 좀 있는 것 같습니다.
/ # mount -t nfs 192.168.11.103:/opt/nfs/fs /mntrpcbind: server localhost not responding, timed outRPC: failed to contact local rpcbind server (errno 5).rpcbind: server localhost not responding, timed outRPC: failed to contact local rpcbind server (errno 5).lockd_up: makesock failed, error=-5rpcbind: server localhost not responding, timed outRPC: failed to contact local rpcbind server (errno 5).mount: mounting 192.168.11.103:/opt/nfs/fs on /mnt failed: Input/output error/ #
때문에 마운트하는데서 멈춰서 더이상 진행하지 못하였던 것이군요.
근데 이상한 것은 터미널 상에서는 에러메시지가 나오는데
부트시에는 아무 메시지도 안나온다는 것입니다.
어쨌거나 다시 작업해야겠습니다.