4 As a regular user configure and then build:
6 $ make acmesystems_aria_g25_128mb_defconfig (128MB RAM variant)
8 $ make acmesystems_aria_g25_256mb_defconfig (256MB RAM variant)
12 Writing to the MicroSD card
13 ===========================
15 Assuming your Aria G25 baseboard has a MicroSD socket, for example with
16 the Terra baseboard, you'll need a blank MicroSD (obviously) initialized
17 in a particular way to be able to boot from it.
19 Assuming the card is seen as /dev/sdb in your PC/laptop/other device
20 you'll need to run the following commands as root or via sudo.
22 Make sure all of the card partitions are unmounted before starting.
24 First we'll need to create two partitions:
26 # sfdisk -uM /dev/sdb <<EOF
31 Then we'll need to create the empty filesystems:
33 # mkdosfs -n SD_BOOT /dev/sdb1
34 # mkfs.ext4 -L SD_ROOT /dev/sdb2
36 We'll populate the first partition (boot) with the relevant files:
38 # mount /dev/sdb1 /mnt
39 # cp output/images/at91bootstrap.bin /mnt/BOOT.BIN
40 # cp output/images/zImage /mnt
41 # cp output/images/at91-ariag25.dtb /mnt
44 And the root filesystem afterwards:
46 # mount /dev/sdb2 /mnt
47 # tar -C /mnt output/images/rootfs.tar
50 You're done, insert the MicroSD card in the slot and enjoy.