i.MX6q SabreSDB: Android JB 4.3 via NFS issue

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

i.MX6q SabreSDB: Android JB 4.3 via NFS issue

Jump to solution
1,546 Views
Igor
Contributor III

Hello folks,

I looked for some solutions in other threads but I have not found appropriate answers.

My goal is to boot Android 4.3 OS via TFTP and NFS but unfortunately I can't do that.

Target device is a MX6Q SabreSD Board.

I think my Ubuntu server (version: 12.04 LTS 64bit) is properly configured:

 

1) I have installed the software required for the TFTP and NFS servers.

 

2) I have created one directory /android_fs/nfs and I copied Freescale's android root directory contains into that nfs directory.

Further I have copied system directory into nfs/system.

 

3) I add following line at the end of /etc/exports file:

/android_fs/nfs *(rw,no_subtree_check,async,no_root_squash,insecure)

 

4) I modified nfs folder permissions:

sudo chmod 777 -R /android_fs/nfs

 

5)I started Xinetd and NFS server:

sudo /etc/init.d/xinetd restart

sudo /etc/init.d/nfs-kernel-server restart

 

6) Target Device is connected directly to the Ubuntu server via ethernet adapter.

 

In the attached files it is possible to see "uboot-vars" and "booting-up prints" of the SabreSDB device.

 

Why does the system hang at "freeing init memory" point?

How do I have to modify "init.rc" and "init.freescale.rc" files for booting Android 4.3 via NFS properly? Are Freescale NFS release files "ready to use"?

 

I wish to specify I'm using Freescale release files (Android root system NFS, uImage and uboot_6q.bin)

 

Thank you in advance,

 

Igor Ferrara

Original Attachment has been moved to: uboot-vars.log.zip

Original Attachment has been moved to: Booting-up-prints.log.zip

Labels (2)
0 Kudos
Reply
1 Solution
1,263 Views
Igor
Contributor III

Hello,

I solved that issue.

The problem was with permissions of "nfs" folder in the Ubuntu NFS-Server: they were not set in the correct manner.

I had to compare the permissions of the Android file system released by Freescale with the one created by me and modify them where necessary.

I hope this will be useful.

Igor

View solution in original post

0 Kudos
Reply
3 Replies
1,263 Views
jgn763
Contributor I

Hi Igor, 

Can you give the steps to set up nfs server? We need help right now. What exactly was the fix. Which permissions we need to set?

Regards,

Saran

0 Kudos
Reply
1,264 Views
Igor
Contributor III

Hello,

I solved that issue.

The problem was with permissions of "nfs" folder in the Ubuntu NFS-Server: they were not set in the correct manner.

I had to compare the permissions of the Android file system released by Freescale with the one created by me and modify them where necessary.

I hope this will be useful.

Igor

0 Kudos
Reply
1,263 Views
Igor
Contributor III

Any tips or ideas on how to solve that problem? I'm stuck.

Thanks in advance,


Igor

0 Kudos
Reply