Android Booting from emmc

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

Android Booting from emmc

3,066 Views
bijeshvm
Contributor I

Hi,

For Android 9 is it possible to flash uboot to to eMMC and Kernel and rootfs to SD card?

My device is configured to boot from eMMC. But it has only 4GB Size. So I want to put uboot to eMMC and rest of binary to SD Card.

I.mx6d is the soc RAM size is 1GB. The board was designed based on sa read.

Regards,

Bijesh

Labels (2)
0 Kudos
Reply
5 Replies

2,977 Views
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Sorry no, for the android 9 you need more than 4GB.

0 Kudos
Reply

2,977 Views
bijeshvm
Contributor I

I.mx6d is the soc RAM size is 1GB. The board was designed based on sabresd.

0 Kudos
Reply

2,977 Views
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello Bijesh,

Just compile or download everything for sdcard

Switching from eMMC build to SD card build and vice versa

When you switch your target MMC device you need to remove the fstab file. This will guarantee that the make system will copy the right one into target.

$ rm out/target/product/var_mx6/recovery/root/fstab* out/target/product/var_mx6/root/fstab*

 Build Android for SD card

$ make -j4 BUILD_TARGET_DEVICE=sd 2>&1 | tee build1-1.log
  • Note: When running Android from an SD card, the eMMC will be detected and presented as an SD card storage

More, please see the Android user guide installed on your documentation directory.

Regards

0 Kudos
Reply

2,977 Views
bijeshvm
Contributor I

Hi,

I think I need to make my question more clear.

My custom board has constraint that it has only 2 boot configurations.

1. Serial download over usb (to download image to eMMC)

2. Boot from eMMC

Where as my device has an SD card interface for additional memory. Please note due to the limitation of boot config ckt in my hardware the SD card cannot be made as first boot device. So I need to boot from eMMC always.

Now I am trying to boot Android 9 in my device. The minimum SDcard/eMMC image size mentioned in user guide of Android 9 is 8GB. But my eMMC has only 4GB.

So my question was that, is it possible to flash the uboot to eMMC whereas zImage and file system to SD card?

If it possible, on reset uboot in eMMC will run first and then it will launch the Kernel in SD card( which has more space store the Android Kernal and file system).

Hope I made the question clear. Thank you for the information on precautions to take while building and flashing image to eMMC. But what I would like to have is the reply for the updated query. In near future for the firmware update I want to keep A/B images of OS so I need to make use of the SD card slot due to the limited size of eMMC.

Regards,

Bijesh V.M.

0 Kudos
Reply

2,977 Views
bijeshvm
Contributor I

Hi,

Expecting valuable suggestions.  I would like to know is it possible to use Android 9 for i.MX6D for the above scenario. Or is it possible by updating Android 9 BSP for i.MX6D. 

Regards,

Bijesh V.M. 

0 Kudos
Reply