...
If this test fails, verify that you have the 32bit libraries installed on your development system.
Info | ||
---|---|---|
| ||
|
Generating SSH Keys
...
We recommend you use SSH keys to establish a secure connection between your computer and Embedian Gitlab server. The steps below will walk you through generating an SSH key and then adding the public key to our Gitlab account.
...
Note | ||
---|---|---|
| ||
If Boot up from eMMC, change #define CONFIG_SYS_MMC_ENV_DEV from 0 to 1 in include/configs/smarct335x_evm.h file and compile again. |
...
You can simply install the mkimage by:
Info | ||
---|---|---|
| ||
|
and make the kernel again.
...
Info | ||
---|---|---|
| ||
$ wget -c ftp://ftp.embedian.com/public/dev/minfs/arago/smarct335x-rootfs-image-smarct335x-sdk2.tar.gz |
Verify:
Info | ||
---|---|---|
| ||
|
SDK7 Download:
Info | ||
---|---|---|
| ||
$ wget -c ftp://ftp.embedian.com/public/dev/minfs/arago/smarct335x-rootfs-image-smarct335x-sdk7.tar.gz |
Verify:
Info | ||
---|---|---|
| ||
|
SDK6 Download:
Info | ||
---|---|---|
| ||
$ wget -c ftp://ftp.embedian.com/public/dev/minfs/arago/smarct335x-rootfs-image-smarct335x-sdk6.tar.gz |
Verify:
Info | ||
---|---|---|
| ||
|
Ubuntu 14.04:
User | Password |
---|---|
root | root |
ubuntu | temppwd |
...
Info | ||
---|---|---|
| ||
$ wget -c ftp://ftp.embedian.com/public/dev/minfs/trusty/smarct3x-ubuntu-14.04.tar.gz |
Verify:
Info | ||
---|---|---|
| ||
|
Setup SD Card
...
For these instruction, we are assuming: DISK=/dev/mmcblk0, "lsblk" is very useful for determining the device id.
Info | ||
---|---|---|
| ||
|
Erase SD card:
Info | ||
---|---|---|
| ||
$ |
...
Copy uEnv.txt to the boot partition:
Info | ||||
---|---|---|---|---|
| ||||
|
Install Kernel zImage
Copy zImage to the boot partition:
Info | ||||
---|---|---|---|---|
| ||||
|
Only for v3.12.y or after:
Install Kernel Device Tree Binary
Info | ||
---|---|---|
| ||
|
Install Root File System and Kernel Modules
...
Info | ||||
---|---|---|---|---|
| ||||
|
Arago SDK6:
Info | ||||
---|---|---|---|---|
| ||||
|
Ubuntu 14.04:
Info | ||||
---|---|---|---|---|
| ||||
|
Copy Kernel Modules:
Info | ||||
---|---|---|---|---|
| ||||
|
Networking:
Edit: /etc/network/interfaces
Info | ||
---|---|---|
| ||
|
Add:
Info | ||||
---|---|---|---|---|
| ||||
auto lo iface lo inet loopback auto eth0 iface eth0 inet dhcp |
...
For these instruction, we are assuming: DISK=/dev/mmcblk0, "lsblk" is very useful for determining the device id.
Info | ||
---|---|---|
| ||
|
Mount Partitions:
On some systems, these partitions may be auto-mounted...
...
Copy zImage to rootfs partition:
Info | ||
---|---|---|
| ||
|
Note | ||
---|---|---|
| ||
|
Copy zImage to rootfs partition:
Info | ||
---|---|---|
| ||
|
For kernel v3.12.y or later:
Info | ||
---|---|---|
| ||
|
Copy uEnv.txt to rootfs partition:
...
Copy real rootfs to rootfs partition:
Info | ||
---|---|---|
| ||
|
Remove SD card:
Info | ||
---|---|---|
| ||
$ sync $ sudo umount /media/boot $ sudo umount /media/rootfs |
...
Now it will be almost the same as you did when setup your SD card, but the eMMC device descriptor is /dev/mmcblk0 now.
Info | ||
---|---|---|
| ||
|
Erase eMMC Flash:
Info | ||
---|---|---|
| ||
$ |
...
Install Kernel Device Tree Binary
Info | ||
---|---|---|
| ||
|
Install Root File System
...
Info | ||
---|---|---|
| ||
|
Unmount eMMC:
Info | ||
---|---|---|
| ||
$ sync $ sudo umount /media/boot $ sudo umount /media/rootfs |
Note |
---|
If your rootfs id Ubuntu, you need to modify /media/rootfs/etc/fstab and change the mount point from /dev/mmcblk1p2 to /dev/mmcblk0p2 before un-mounting it. |
Switch your Boot Select to eMMC and you will be able to boot up from eMMC now.
Last updated 2018-02-09