Hi,would please help me find where goes wrong ?The following is how I do it:
1.
root@ubuntu:/# cat /proc/partitions
major minor #blocks name
7 0 663364 loop0
8 0 20971520 sda
8 1 20049088 sda1
8 2 1 sda2
8 5 915673 sda5
8 48 7885824 sdd
8 49 7885792 sdd1
and then my device is sdd and sdd1,
2.copy the bootloader "u-boot-mx6q-sabresd.bin"
root@ubuntu:/home/alue/L3.0.35_4.1.0_130816_images_MX6# sudo dd if=u-boot-mx6q-sabresd.bin of=/dev/sdd bs=512 seek=2 skip=2 conv=fsync
841+1 records in
841+1 records out
430672 bytes (431 kB) copied, 1.13507 s, 379 kB/s
3.copy the uImage
root@ubuntu:/home/alue/L3.0.35_4.1.0_130816_images_MX6# sudo dd if=uImage of=/dev/sdd bs=512 seek=2048 conv=fsync
7551+1 records in
7551+1 records out
3866508 bytes (3.9 MB) copied, 11.7355 s, 329 kB/s
4.copy the root file system
root@ubuntu:/home/alue/L3.0.35_4.1.0_130816_images_MX6# sudo fdisk /dev/sdd
The number of cylinders for this disk is set to 2139.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs
(e.g., DOS FDISK, OS/2 FDISK)
Command (m for help): u
Changing display/entry units to sectors
Command (m for help): d
Selected partition 1
Command (m for help): d
No partition is defined yet!
Command (m for help): n
Command action
e extended
p primary partition (1-4)
p
Partition number (1-4): 1
First sector (39-15771647, default 39): 16384
Last sector, +sectors or +size{K,M,G} (16384-15771647, default 15771647):
Using default value 15771647
Command (m for help): w
The partition table has been altered!
Calling ioctl() to re-read partition table.
WARNING: Re-reading the partition table failed with error 16: Device or resource busy.
The kernel still uses the old table.
The new table will be used at the next reboot.
Syncing disks.
and then,"sudo mkfs.ext3 /dev/sdd1"
root@ubuntu:/home/alue/L3.0.35_4.1.0_130816_images_MX6# sudo mkfs.ext3 /dev/sdd1
mke2fs 1.41.4 (27-Jan-2009)
/dev/sdd1 is mounted; will not make a filesystem here!
root@ubuntu:/home/alue/L3.0.35_4.1.0_130816_images_MX6# umount /dev/sdd1
root@ubuntu:/home/alue/L3.0.35_4.1.0_130816_images_MX6# sudo mkfs.ext3 /dev/sdd1
mke2fs 1.41.4 (27-Jan-2009)
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
492880 inodes, 1971448 blocks
98572 blocks (5.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=2021654528
61 block groups
32768 blocks per group, 32768 fragments per group
8080 inodes per group
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632
Writing inode tables: done
Creating journal (32768 blocks): done
Writing superblocks and filesystem accounting information: done
This filesystem will be automatically checked every 39 mounts or
180 days, whichever comes first. Use tune2fs -c or -i to override.
after this,
root@ubuntu:/mnt# mkdir /home/user/mountpoint
root@ubuntu:/mnt# sudo mount /dev/sdd1 /home/user/mountpoint
finally,
root@ubuntu:/home/alue# mount -o loop -t ext2 rootfs.ext2 /home/user/rootfs
root@ubuntu:/home/alue# cd /home/user/rootfs
root@ubuntu:/home/user/rootfs# sudo cp -a * /home/user/mountpoint
root@ubuntu:/home/user/rootfs# sudo umount /home/user/mountpoint
but when I
Unplug the SD Card once writing is finished and plug in to Freescale SABRE i.MX6 Series board.
Plug-in the USB Cable for debug and setup a terminal.
Plug in the power cord.
Press the reset button.
At this point there is no response at all on the debug board or indication the LCD screen that something is happening.
Hope to your response!!!