Can't run pre-built image flash script from Adeneo

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

Can't run pre-built image flash script from Adeneo

1,236 Views
EdwinFetzer
Contributor I

I have i.MX53 QSB and have VMware running on my desktop PC with the Linux LTIB image from Freescale.

I am trying to flash my SD card in my desktop PC with the pre-built Adriod image from Adeneo, but the script is failing.

This is the script output:

WARNING: /dev/sdd1 will be entirely erased!

Are you sure you want to continue ("y" to continue) y/*

y

[sudo] password for lucid:

1+0 records in

1+0 records out

1024 bytes (1.0 kB) copied, 0.00890922 s, 115 kB/s

Disk /dev/sdd1 doesn't contain a valid partition table

DISK SIZE - 3221225472 bytes

CYLINDERS - 391

Checking that no-one is using this disk right now ...

BLKRRPART: Invalid argument

OK

Warning: start=13680 - this looks like a partition rather than

the entire disk. Using fdisk on it is probably meaningless.

[Use the --force option if you really want this]

Formatting partitions...

1+0 records in

1+0 records out

512 bytes (512 B) copied, 1.6719e-05 s, 30.6 MB/s

mkfs.vfat 3.0.7 (24 Dec 2009)

mkfs.vfat: Too few blocks for viable file system

mke2fs 1.41.11 (14-Mar-2010)

Could not stat /dev/sdd14 --- No such file or directory

 

The device apparently does not exist; did you specify it correctly?

I am not sure what is going on here.  I would appreciate any help with this topic...

Regards,

Edwin

 

Labels (1)
0 Kudos
5 Replies

812 Views
EdwinFetzer
Contributor I

I am embarrased and clearly showing my lack of linux skills.  The script is working now. 

Thank you very much for your help!

Edwin

0 Kudos

812 Views
NicolasIzquierd
Contributor III

Edwin

my mistake is cat /proc/partitions, here sdb is my SD card (sreenshoot)..  your are using the sdd1 and is a partition in your SD...

0 Kudos

812 Views
arunmitteam
Contributor III

Hi,

I have exactly the same problem. I have a SD card formatted as FAT32 volume. When I do cat proc/partitions, I get the below output -

major minor  #blocks     name

   8        0    3872256     sda

   8        1    3868160     sda1

   8       16   20971520    sdb

   8       17   20051968    sdb1

   8       18          1         sdb2

   8       21     916480     sdb5

/dev/sda is the drive and /dev/sda1 is the volume. When I try with /dev/sda/ I get

ERROR: Forbidden to write to /dev/sda

Syntax:  ./flash_prebuilt_android.sh [device]

Example: ./flash_prebuilt_android.sh /dev/sdg

and /dev/sda1 gives below error -

BLKRRPART: Invalid argument

OK

Warning: start=8192 - this looks like a partition rather than

the entire disk. Using fdisk on it is probably meaningless.

[Use the --force option if you really want this]

Formatting partitions...

1+0 records in

1+0 records out

512 bytes (512 B) copied, 7.5536e-05 s, 6.8 MB/s

mkfs.vfat 3.0.7 (24 Dec 2009)

mkfs.vfat: Too few blocks for viable file system

mke2fs 1.41.11 (14-Mar-2010)

Could not stat /dev/sda14 --- No such file or directory

I'm using the SD card in ubuntu VM on host mac. Please help me identifying where I'm wrong. Any help will be greatly appreciated. Thanks in advance.

0 Kudos

812 Views
EdwinFetzer
Contributor I

Nicolas,

thanks for the reply

when i execute mount is see

/dev/sdd1 on /media/b6efae76-a7bb-4f91-a761-b1db3539e773 type ext3 (rw,nosuid,nodev,uhelper=udisks)

I am very new to using linux and believe this to be the microSD card.  I am also not sure what you mean by '/cat/partitions' as it doesn't do anything when i type it...just says no such file or directory.

kindest regards,

Edwin

0 Kudos

812 Views
NicolasIzquierd
Contributor III

Hi Edwin

I think you should use /dev/sdd instead of the /dev/sdd1, but to be sure type first /cat/partitions to know the correct where is your SD mapped.

hope this can help you.

-ni

0 Kudos