#!/bin/sh

#install module
insmod /usr/bin/test_module.ko
#insmod /usr/bin/gpio.ko 
insmod /usr/bin/i2c.ko 
insmod /usr/bin/fmc.ko
insmod /usr/bin/platform_STM32F429.ko

#create node
mknod /dev/test_module c 99 0
#mknod /dev/gpio c 100 0 
mknod /dev/platform c 100 0
mknod /dev/i2c1 c 101 0 
mknod /dev/i2c2 c 101 1 
mknod /dev/i2c3 c 101 2
mknod /dev/fmc_cpld c 102 0
#mknod /dev/spi2 c 153 32
#ifconfig eth0 192.168.0.15
#run bmc_main in background
#./usr/bin/bmc_main &	



