|
@@ -1,51 +1,44 @@
|
|
|
+Acme Systems Aria G25
|
|
|
+
|
|
|
Build instructions
|
|
|
==================
|
|
|
|
|
|
-As a regular user configure and then build:
|
|
|
-
|
|
|
-$ make acmesystems_aria_g25_128mb_defconfig (128MB RAM variant)
|
|
|
- or...
|
|
|
-$ make acmesystems_aria_g25_256mb_defconfig (256MB RAM variant)
|
|
|
+To build an image for the Aria G25 choose the configuration
|
|
|
+corresponding to the Aria variant.
|
|
|
|
|
|
-$ make
|
|
|
+For 128MB RAM variant type:
|
|
|
|
|
|
-Writing to the MicroSD card
|
|
|
-===========================
|
|
|
+$ make acmesystems_aria_g25_128mb_defconfig
|
|
|
|
|
|
-Assuming your Aria G25 baseboard has a MicroSD socket, for example with
|
|
|
-the Terra baseboard, you'll need a blank MicroSD (obviously) initialized
|
|
|
-in a particular way to be able to boot from it.
|
|
|
+else for 256MB RAM variant type:
|
|
|
|
|
|
-Assuming the card is seen as /dev/sdb in your PC/laptop/other device
|
|
|
-you'll need to run the following commands as root or via sudo.
|
|
|
+$ make acmesystems_aria_g25_256mb_defconfig
|
|
|
|
|
|
-Make sure all of the card partitions are unmounted before starting.
|
|
|
+To customize the configuration choosed type:
|
|
|
|
|
|
-First we'll need to create two partitions:
|
|
|
+$ make menuconfig
|
|
|
|
|
|
-# sfdisk -uM /dev/sdb <<EOF
|
|
|
-,32,6
|
|
|
-;
|
|
|
-EOF
|
|
|
+When you are ready to start building Buildroot type:
|
|
|
|
|
|
-Then we'll need to create the empty filesystems:
|
|
|
+$ make
|
|
|
|
|
|
-# mkdosfs -n SD_BOOT /dev/sdb1
|
|
|
-# mkfs.ext4 -L SD_ROOT /dev/sdb2
|
|
|
+How to write the microSD card
|
|
|
+=============================
|
|
|
|
|
|
-We'll populate the first partition (boot) with the relevant files:
|
|
|
+Once the build process is finished you will have an image called
|
|
|
+"sdcard.img" in the output/images/ directory.
|
|
|
|
|
|
-# mount /dev/sdb1 /mnt
|
|
|
-# cp output/images/at91bootstrap.bin /mnt/BOOT.BIN
|
|
|
-# cp output/images/zImage /mnt
|
|
|
-# cp output/images/at91-ariag25.dtb /mnt
|
|
|
-# umount /mnt
|
|
|
+Write the bootable SD card image "sdcard.img" onto an SD card with
|
|
|
+"dd" command:
|
|
|
|
|
|
-And the root filesystem afterwards:
|
|
|
+ $ sudo dd if=output/images/sdcard.img of=/dev/sdX
|
|
|
|
|
|
-# mount /dev/sdb2 /mnt
|
|
|
-# tar -C /mnt output/images/rootfs.tar
|
|
|
-# umount /mnt
|
|
|
+Assuming your Aria G25 baseboard has a MicroSD socket, for example
|
|
|
+with the Terra baseboard, insert the microSD card into the baseboard
|
|
|
+slot and power it.
|
|
|
|
|
|
-You're done, insert the MicroSD card in the slot and enjoy.
|
|
|
+To get the kernel log messages you can use a DPI cable
|
|
|
+(http://www.acmesystems.it/DPI)
|
|
|
|
|
|
+You can find additional informations, tutorials and a very
|
|
|
+comprehensive documentation on http://www.acmesystems.it/aria.
|