Hello,
2011/10/2 webwillow@thewebwillow.com:
does $device = the boot device such as /dev/mmcblk0 or the partition /dev/mmcblkp1? I would think that might destroy infromation on the partion by writing directly to the partion and not from mounting the partition and writing the information...
I use umounted /dev/sdd, with seek (or skip) you avoid to overwrite the partition table information on the MMC card which it is found in the first 512 bytes. OTOH, I have, as the default MMC card shipped with QSB, 8MB of raw data at the beginning of the card, then I have /dev/sdd1 starting with an 8MB offset from the beginning.
I also noticed that between sheeva plugs and the freescale devices, uboot will only allow you to load from ext2 where the freescale device partitions are ext3....
IIRC, u-boot is able to read from ext2/3/4, so you can instruct your loader to read kernel image from that device.
Regards,