Load uBoot
Here is a u-boot which works for Ubuntu and Ångstrøm: u-boot-f.bin (176.52 kb) find more info at http://elinux.org/BeagleBoardUbuntu
Steps:
- mmcinit (or "mmc init")fatload mmc 0 0x80200000 u-boot-f.bin
- nand unlock
- nandecc sw (or nand ecc sw)
- nand erase 80000 160000nand write.i 0x80200000 80000 160000
- reset
Set boot cmd and args
Steps:
- setenv bootcmd ‘mmc init; fatload mmc 0:1 0x80300000 uImage; bootm 0x80300000’
- setenv bootargs ‘console=ttyS2,115200n8 root=/dev/mmcblk0p2 rw rootdelay=2’
- saveenv
- boot
Backup / restore SD cards on Linux (Ubuntu)
More info about dd
Backup
- sudo dd if=/dev/hdx | gzip > /path/to/image.gz
Restore
- gzip -dc /path/to/image.gz | sudo dd of=/dev/hdx
Leave a Reply