2012年1月10日 星期二

Panda Board ES format SD card

Trey Weaver's Blog: Installing Angstrom on the BeagleBoard-xM: "Setting up the sd-card.

For Angstrom to run you will need to have a sd-card with two partitions; one fat partition to hold the boot files and then a ext3 partition with the root file system on it. Thanks to Graeme Gregory there is a nice script to set up you sd-card. Execute the following commands which will make a working directory, download Graeme's script and execute it. Be sure to substitue your sd-card device directory (from above) for /dev/sdX below.

mkdir ~/angstrom-wrk
cd ~/angstrom-wrk
wget http://cgit.openembedded.org/cgit.cgi/openembedded/plain/contrib/angstrom/omap3-mkcard.sh
chmod +x omap3-mkcard.sh
sudo ./omap3-mkcard.sh /dev/sdX
sync
"


'via Blog this'

mkdir ~/angstrom-wrk
cd ~/angstrom-wrk
wget http://cgit.openembedded.org/cgit.cgi/openembedded/plain/contrib/angstrom/omap3-mkcard.sh
chmod +x omap3-mkcard.sh

larry@larry-Aspire-7741:~/panda/1$ df
檔案系統 1K-區段 已用 可用 已用% 掛載點
/dev/sda6 334721296 45347192 272371208 15% /
none 4019012 83824 3935188 3% /dev
none 4026740 908 4025832 1% /dev/shm
none 4026740 96 4026644 1% /var/run
none 4026740 0 4026740 0% /var/lock
/dev/sdb2 1881684 35612 1750488 2% /media/Angstrom
/dev/sdb1 71133 1 71133 1% /media/boot

larry@larry-Aspire-7741:~/panda/1$ sudo cp -rf ./boot/u-boot.bin /media/boot
larry@larry-Aspire-7741:~/panda/1$ sudo cp -rf ./boot/MLO /media/boot
larry@larry-Aspire-7741:~/panda/1$ sudo cp -rf ./boot/uImage /media/boot


沒有留言: