1
#@TYPE: Machine
2
#@NAME: NEEK machine
3
TARGET_ARCH = "nios2"
4
5
# This is a machine configuration file for the 
6
# NEEK (NIOS2 Embedded Evaluation Kit)
7
# the sof file used to develop/tst this is from
8
# http://www.nioswiki.com/@api/deki/files/487/=cycloneIII_embedded_evaluation_kit_standard.sof
9
10
PREFERRED_PROVIDER_virtual/kernel = "linux-nios2"
11
12
EXTRA_IMAGECMD_jffs2 = "-lnp "
13
14
# Guesswork
15
SERIAL_CONSOLE = "115200 ttyS2"
16
17
18
# do ubiattach /dev/ubi_ctrl -m 4
19
# From dmesg:
20
# UBI: smallest flash I/O unit:    2048
21
# UBI: logical eraseblock size:    129024 bytes
22
# from ubiattach stdout:
23
# UBI device number 0, total 1996 LEBs
24
MKUBIFS_ARGS = "-m 2048 -e 129024 -c 1996"
25
26
# do ubiattach /dev/ubi_ctrl -m 4
27
# from dmesg:
28
# UBI: smallest flash I/O unit:    2048
29
# UBI: physical eraseblock size:   131072 bytes (128 KiB)
30
# UBI: sub-page size:              512
31
UBINIZE_ARGS = "-m 2048 -p 128KiB -s 512"
32
33
require conf/machine/include/nios2.inc