[SOLVED]
Hi,
Thank you Søren, you put me to the track to the solution.
It was a NFS server configuration and rootfs file attribute issue.
I solved the issue, as just saying "issue solved" will not help others
bellow how I solve the issue.
- I am using Beagleboard C3 board.
- First I followed Rowboat wiki for setup
http://code.google.com/p/rowboat/wiki/ConfigureAndBuild.
- I updated omap3_beagle_android_defconfig to enable ethernet over
USB.
Here is my config (I am not sure that all is needed)
CONFIG_USB_GADGET=y
CONFIG_USB_MUSB_PERIPHERAL=y
CONFIG_USB_GADGET_MUSB_HDRC=y
CONFIG_USB_ETH=y
CONFIG_USB_USBNET=y
CONFIG_USB_NET_AX8817X=y
CONFIG_USB_NET_CDCETHER=y
CONFIG_USB_NET_NET1080=y
- Connect ethert over USB adapter to Beagleboard USB connector (not
the Mini USB OTG)
- Boot Android from SD card when boot is complete use a terminal to
check ethernet connection and access to NFS server:
#netcfg eth0 up
#netcfg eth0 dhcp
#netcfg
#ping <NFS_SERVER_IP>&
- Create /dev/nfs directory
#mkdir /dev/nfs
- No problem found until here now rootfs mounting from NFS server.
There was two problems in my configuration:
1) for a reason I don't know /init file was not executable.
I re-ceated a new rootfs and make sure to extract it as root and that /
init is executable.
I created a rootfs.tar.bz2 file using <my abdroid sdk>/build/tools/
mktarball.sh.
In rootfs.tar.bz2 I copied <my android sdk>/out/target/product/
beagleboard/root/* and <my android sdk>/out/target/product/
beagleboard/
system/*
To extract the rootfs on shared nfs director i used the command:
sudo tar jxvf rootfs.tar.bz2 -C ./rootfs
2) My NFS shared directoty configuration was not correct, and
Beagleboard was not able to create files.
On my Ubunut 10.04 NFS server computer /etc/exports file correct
configuration is:
<PATH_TO_SHARED_FOLDER> *(rw,no_root_squash,no_subtree_check,sync)
3) Now the remaining thing is to setup Beagleboard env variable:
setenv bootargs 'mem=128M androidroot.console=ttyS2 console=tty0
console=ttyS2,115200n8 root=/dev/nfs rw init=/init ip=dhcp rootwait
omapfb.video_mode=640x480MR-16@60
nfsroot=<SERVER_IP>:<SHARED_DIRECTORY_PATH>,nolock,rsize=1024,wsize=1024'
bootcmd remain the same as for booting usinf SD card.
saveenv
boot
After that Android and kernel from Rowboat sources are able to boot
with no error.
Regards
Michel
On Aug 11, 5:02 pm, Søren Steen Christensen <
li...@ssc-solutions.dk>
wrote: