Quantcast
Channel: Processors forum - Recent Threads
Viewing all articles
Browse latest Browse all 17527

Linux/AM3358: Android bootable SD card

$
0
0

Part Number:AM3358

Tool/software: Linux

I am trying to port Android in my micro SD card (16GB), however the same when used in Sitara couldn't be booted with Android. The following are the sequence of steps followed as per document -

1. Downloaded and unzipped "TI_Android_JB_4.2.2_DevKit_4.1.1_am335xevm.tar.gz"
2. As per "README.txt", I run "mkmmc-android.sh" in privileged mode.
3. There seems to be error, as the Sitara board is not booting up with this micro sd so created.
4. The output of the above command (step 2) is per "mkmmc.log"
5. Created 4 partitions in micro sd using fdisk.
6. Then I tried with the following commands which is as per as per alternate_mkmmc.log.
7. However, micro sd card so created (as per 5), does not show any boot log in console when jacked into Sitara board and powered up. I am assuming, there is some issue in image creation.
8. I have another micro sd card having Linux already running with Sitara board which was shipped by TI. So there is no issue whatsoever in the Sitara target.
 
 
=========================alternate_mkmmc.log=====================
 
sudo mkfs.ext4 -L rootfs /dev/mmcblk0p2
sudo mkfs.ext4 -L usrdata /dev/mmcblk0p3
sudo mkfs.vfat -F 32 -n data /dev/mmcblk0p4
sudo mkfs.vfat -F 32 -n boot /dev/mmcblk0p1

sudo mount /dev/mmcblk0p1 ~/mnt/
sudo cp Boot_Images/MLO ~/mnt/MLO
sudo cp Boot_Images/u-boot.img ~/mnt/u-boot.img
sudo cp Boot_Images/uImage ~/mnt/uImage
sudo cp Boot_Images/uEnv.txt ~/mnt/uEnv.txt
sudo cp -r START_HERE ~/mnt/START_HERE
sudo umount /dev/mmcblk0p1
sudo mount /dev/mmcblk0p2  ~/mnt/
sudo tar jxvf Filesystem/rootfs.tar.bz2 -C ~/mnt
sudo chmod 755 ~/mnt
sudo umount /dev/mmcblk0p2
sudo mount /dev/mmcblk0p4 ~/mnt
sudo cp -r Media_Clips/* ~/mnt
sudo umount /dev/mmcblk0p4
 
===========================================================
 
-----------------------------mkmmc.log-----------------------------------------------------------
$sudo ./mkmmc-android.sh /dev/mmcblk0
Assuming Default Locations for Prebuilt Images
All data on /dev/mmcblk0 now will be destroyed! Continue? [y/n]
y
[Unmounting all existing partitions on the device ]
umount: /dev/mmcblk0: not mounted.
[Partitioning /dev/mmcblk0...]
DISK SIZE - 15728640000 bytes
CYLINDERS - 1912
[Making filesystems...]
[Copying files...]
mount: /mnt: special device /dev/mmcblk0p1 does not exist.
[Copying START_HERE folder to boot partition]
umount: /dev/mmcblk0p1: no mount point specified.
mount: /mnt: special device /dev/mmcblk0p2 does not exist.
umount: /dev/mmcblk0p2: no mount point specified.
[Copying all clips to data partition]
mount: /mnt: special device /dev/mmcblk0p4 does not exist.
umount: /dev/mmcblk0p4: no mount point specified.
[Done]

-------------------------------------------------------------------------------------------
 
Please suggest where I am going wrong.
 
Regards
Ram
 
(Please visit the site to view this file)(Please visit the site to view this file)

Viewing all articles
Browse latest Browse all 17527

Trending Articles