Skip to content

Commit

Permalink
Base "machine" support
Browse files Browse the repository at this point in the history
This generate filesystems that boot on the mini.

Signed-off-by: Michel Pollet <buserror@gmail.com>
  • Loading branch information
buserror authored and Florian Boor committed Jun 4, 2009
1 parent 73c580b commit 23a25ee
Show file tree
Hide file tree
Showing 4 changed files with 1,901 additions and 0 deletions.
34 changes: 34 additions & 0 deletions conf/machine/mini2440.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
#@TYPE: Machine
#@Name: Samsung MINI2440 Dev Board
#@DESCRIPTION: Machine configuration for MINI2440 Dev Board


TARGET_ARCH = "arm"

PREFERRED_PROVIDER_virtual/kernel = "linux-mini2440"

# used by sysvinit_2
SERIAL_CONSOLE = "115200 ttySAC0"

IMAGE_DEVICE_TABLES = "files/device_table-minimal.txt \
files/device_table_add-s3c_serial.txt"

IMAGE_FSTYPES = "jffs2 ext3 tar.gz"

MACHINE_FEATURES = "kernel26 touchscreen screen lcd rgb16"
MACHINE_FEATURES += "usbhost usbgadget"
MACHINE_FEATURES += "i2c spi"
MACHINE_FEATURES += "mmc mmcroot"
MACHINE_FEATURES += "ethernet"
MACHINE_FEATURES += "sound alsa"

KERNEL_IMAGETYPE = "uImage"

require conf/machine/include/tune-arm920t.inc

#FEED_ARCH = "armv4t"
#BASE_PACKAGE_ARCH = "armv4t"
#TARGET_CC_ARCH = "-marm -march=armv4t -mtune=arm920t"
#PACKAGE_EXTRA_ARCHS += "armv4 armv4t"

EXTRA_IMAGECMD_jffs2 = "--pad --little-endian --squash -s 0x200 -n -e 16KiB"
2 changes: 2 additions & 0 deletions files/device_table_add-s3c_serial.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Include nodes for the S3C24XX serial ports on Samsung SoC boards
/dev/ttySAC c 640 0 5 204 64 0 1 3
Loading

0 comments on commit 23a25ee

Please sign in to comment.