Board: | MacnicaSodiaEvaluationBoard |
---|---|
State: | planned |
Members: | MpressionAdmin |
![]() |
| ![]() |
Item | Download | Note |
---|---|---|
All In One SD Card Image | sd_card_image_sodia_alip.tar.gz | From Linux PC: From Windows PC: Please refer to following page: |
Item | Download | Note |
---|---|---|
HW Reference Design | sodia dvi ghrd v16.1.0 | This Reference Desing is using VIP core, this will need a license to compile a HW Design. |
Linaro ALIP Root File System | https://releases.linaro.org/debian/images/alip-armhf/16.10/linaro-jessie-alip-20160913-31.tar.gz | Linaro ARM linux Internet Platform. This RootFS includes xwindow applications. The default user is linaro , and the password for this user is set to linaro . |
Linux Kernel Soruce | Download Snapshot from GitHub: https://github.com/altera-opensource/linux-socfpga/archive/socfpga-4.1.22-ltsi.zip You can also use git clone. Please refer to following link: |
4.1.22-ltsi |
zImage | zImage | Prebuild Linux Kernel Image (4.1.22-ltsi) |
Preloader | preloader-mkpimage.bin | Genereted by v16.1.0 |
U-Boot | u-boot.img | Genereted by v16.1.0 |
DeviceTree Blob | soc_system.dtb | Genereted by v16.1.0 |
U-Boot Script | u-boot.scr | Configure FPGA from U-Boot & Release a bridge reset before Linux boot |
FPGA Configuration Image data | soc_system.rbf | Compressed RBF |
$ cd ~ $ wget https://releases.linaro.org/components/toolchain/binaries/4.9-2017.01/arm-linux-gnueabihf/gcc-linaro-4.9.4-2017.01-x86_64_arm-linux-gnueabihf.tar.xz $ tar Jxfv gcc-linaro-4.9.4-2017.01-x86_64_arm-linux-gnueabihf.tar.xz $ export CROSS_COMPILE=~/gcc-linaro-4.9.4-2017.01-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-If build tool chain is missed, you can use cross compiler tool chain that is built in SoC EDS.
$ export CROSS_COMPILE=/home/XXXXX/intelFPGA/16.1/embedded/ds-5/sw/gcc/bin/arm-linux-gnueabihf-
$ git clone https://github.com/altera-opensource/linux-socfpgaAdded Framebuffer Driver:
$ cd linux-socfpga
$ git checkout -b test_branch origin/socfpga-4.1.22-ltsi
$ export CROSS_COMPILE=~gcc-linaro-4.9.4-2017.01-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-
$ export ARCH=arm
$ make socfpga_defconfig
$ make menuconfig
$ make zImageSome of the files that are created:
File | Description |
---|---|
vmlinux | Linux Kernel ELF file |
arch/arm/boot/zImage | Linux Kernel image |
$ sudo tar zxf linaro-jessie-alip-20160913-31.tar.gz"binary" directory are created. You need do this step as superuser.
$ sudo gedit binary/etc/network/interfacesAdded following statement for DHCP.
# The loopback network interfaceYou may customize even further if required.
auto lo
iface lo inet loopback
# The primary network interface
auto eth0
iface eth0 inet dhcp
$ sudo ./make_sdimage.py -f \Note: You can download individual compornents from Individual Components section or you can create those binaries by yourself.
-P preloader-mkpimage.bin,u-boot.img,num=3,format=raw,size=10M,type=A2 \
-P binary/*,num=2,format=ext3,size=2500M \
-P zImage,u-boot.scr,soc_system.rbf,soc_system.dtb,num=1,format=vfat,size=500M \
-s 3800M -n sd_card_image_sodia_alip.bin
deb http://ftp.jp.debian.org/debian/ jessie main contrib non-free