Create a bootable microSD. Part2: Copy the kernel image and rootfs contents

Mount the parted and formatted microSD (read how to on part 1...) on your Linux PC.

Download the files from the binary repository then:

AcmeBoot

If you are using AcmeBoot:

Copy the Linux Kernel uimage in /media/kernel.

$ sudo cp uimage /media/kernel

Untar and copy the rootfs contens in /media/rootfs:

$ sudo tar xvjpSf rootfs.tar.bz2 -C /media/rootfs

Syncronize the microSD contents:

$ sync

Umount all the microSD partition from your PC:

$ sudo umount /media/kernel
$ sudo umount /media/rootfs

Remove the microSD, insert it in your FOX Board G20 and try to boot.

AT91Bootstrap + u-Boot

If you are not using AcmeBoot AcmeBoot:

Debian

Copy uimage.bin file in /media/kernel.

Copy foxg20-script.bin in /media/kernel.

Untar the rootfs contens in /media/rootfs:

$ sudo tar xvjpSf rootfs.tar.bz2 -C /media/rootfs

Umount all the microSD partition from your PC, remove the microSD and put it in your FOX Board G20 to boot.

OpenWrt

Rename openwrt-at91-uImage in uimage.bin and copy it in in /media/kernel.

Copy foxg20-script.bin in /media/kernel

Untar the rootfs contens in /media/rootfs:

$ sudo tar xvzf openwrt-at91-rootfs.tar.gz -C /media/rootfs

Umount all the microSD partition from your PC, remove the microSD and put it in your FOX Board G20 to boot.

Troubleshooting

If the systems doesn't boot please check the the /etc/fstab file containt the right filesystem type for the rootfs partition:


 
dev/fill_the_microsd.txt · Last modified: 2010/08/27 12:55 by tanzox
 
Except where otherwise noted, content on this wiki is licensed under the following license:CC Attribution-Noncommercial-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki